Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
贷
贷超管理后台
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhanhai
贷超管理后台
Commits
9b6756bd
Commit
9b6756bd
authored
Nov 10, 2022
by
caimeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into master
parents
399771c6
13269b1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
6 deletions
+15
-6
Dockerfile
Dockerfile
+7
-0
edit.vue
src/views/prod/edit.vue
+8
-6
No files found.
Dockerfile
0 → 100644
View file @
9b6756bd
FROM
nginx:stable-alpine
# 使用--from把上面产生的静态文件复制到nginx的运行目录
COPY
dist usr/share/nginx/html
# nginx容器内部暴露的端口
EXPOSE
8064
# 运行的命令
CMD
[nginx, -g, daemon off;]
\ No newline at end of file
src/views/prod/edit.vue
View file @
9b6756bd
...
...
@@ -274,12 +274,14 @@ export default {
//form.tenantNo = this.tenantNo;
//form.abutmentWay = 'API'
let
result
;
if
(
this
.
appNo
){
form
.
appNo
=
this
.
appNo
;
result
=
await
API
.
prod_update
({
...
form
});
}
else
{
result
=
await
API
.
prod_add
({
...
form
});
}
form
.
appNo
=
this
.
appNo
;
result
=
await
API
.
prod_update
({
...
form
});
// if(this.appNo){
// form.appNo = this.appNo;
// result = await API.prod_update({ ...form });
// }else{
// result = await API.prod_add({ ...form });
// }
if
(
result
.
success
)
{
this
.
$baseMessage
(
"产品保存成功"
,
"success"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment