From 36a30a262c16b6c37be7d1817c46d6693a324cc4 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期四, 19 十二月 2024 13:15:57 +0800 Subject: [PATCH] 完成管理评审搬迁 --- src/components/do/b1-inspect-order-plan/Inspection.vue | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue index 0497449..3334450 100644 --- a/src/components/do/b1-inspect-order-plan/Inspection.vue +++ b/src/components/do/b1-inspect-order-plan/Inspection.vue @@ -3328,8 +3328,12 @@ this.$message.error('璇疯緭鍏ユ箍搴�') return } + this.loading = true if(this.sonLaboratory === '鐢佃矾璇曢獙'&&!(await this.$refs.CircuitParameters.saveAll())){ + this.loading = false return + }else{ + this.loading = false } this.experimentDia = true this.newUserInfo = [] @@ -3732,6 +3736,8 @@ this.currentSample.insProduct = this.HaveJson(list) this.currentNum++ } + }else { + this.$message.error(response.message); } }, beforeUpload(file) { @@ -3739,9 +3745,9 @@ this.$message.error('涓婁紶闄勪欢鍓嶈鍏堝~鍐欏苟淇濆瓨棰戞'); return false }else{ - if(file.name.includes('浜よ皟')||file.name.includes('浜掕皟')){ - this.$refs.CircuitParameters.saveAll() - } + // if(file.name.includes('浜よ皟')||file.name.includes('浜掕皟')){ + // this.$refs.CircuitParameters.saveAll() + // } if (file.size > 1024 * 1024 * 10) { this.$message.error('涓婁紶鏂囦欢涓嶈秴杩�10M'); this.$refs.upload.clearFiles() @@ -3849,8 +3855,12 @@ cancelButtonText: '鍙栨秷', type: 'warning' }).then(async () => { + this.loading = true if(await this.$refs.CircuitParameters.saveAll()){ this.$emit('goback') + this.loading = false + }else{ + this.loading = false } }) }else{ -- Gitblit v1.9.3