From 8bc6842091de2fc5f76c4404d92eaa9ccfed4812 Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Thu, 11 Jan 2024 18:10:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E5=B7=A5=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- default - 副本.conf | 21 +++++++++++++++++++++ src/views/mes/reportWork/index.vue | 19 +++++++++++++------ src/views/quality/qcProduce/index.vue | 5 +++++ 3 files changed, 39 insertions(+), 6 deletions(-) create mode 100644 default - 副本.conf diff --git a/default - 副本.conf b/default - 副本.conf new file mode 100644 index 0000000..4e317c7 --- /dev/null +++ b/default - 副本.conf @@ -0,0 +1,21 @@ +server { + listen 80; + server_name localhost; + default_type 'text/html'; + charset utf-8; + + location @fallback{ + rewrite .* /index.html break; + } + + location / { + root /usr/share/nginx/html; + index index.html index.htm; + try_files $uri /index.html; + } + + error_page 500 502 503 504 /50x.html; + location = /50x.html { + root /usr/share/nginx/html; + } +} diff --git a/src/views/mes/reportWork/index.vue b/src/views/mes/reportWork/index.vue index 33a14bb..4f2db09 100644 --- a/src/views/mes/reportWork/index.vue +++ b/src/views/mes/reportWork/index.vue @@ -177,7 +177,7 @@ - + { + if(response.code ==200){ + _this.$modal.msgSuccess("报工成功"); + } + _this.loading = false; + }); }).then(() => { - this.getList(); - //this.$modal.msgSuccess("报工成功"); - }).catch(() => {}); + + }).catch(() => { + + }); }, /** 报工详情按钮操作 */ handleReportHz(row) { diff --git a/src/views/quality/qcProduce/index.vue b/src/views/quality/qcProduce/index.vue index 3dc1d04..a16f56f 100644 --- a/src/views/quality/qcProduce/index.vue +++ b/src/views/quality/qcProduce/index.vue @@ -196,6 +196,11 @@ + + +