From 083bc7004fa08f6eebd3003d421db5045ca78d5f Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期五, 07 三月 2025 15:54:36 +0800 Subject: [PATCH] 删除无用代码 --- src/views/CNAS/process/uncertainty/index.vue | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/src/views/CNAS/process/uncertainty/index.vue b/src/views/CNAS/process/uncertainty/index.vue index 1ec4859..f5dc83f 100644 --- a/src/views/CNAS/process/uncertainty/index.vue +++ b/src/views/CNAS/process/uncertainty/index.vue @@ -148,7 +148,6 @@ this.outLoading = true exportProcessEvaluate(this.queryParams).then(res => { this.outLoading = false - if (res.code === 201) return const blob = new Blob([res], { type: 'application/octet-stream' }); this.$download.saveAs(blob, '娴嬮噺涓嶇‘瀹氬害鐨勮瘎瀹�.xlsx'); }) @@ -194,10 +193,6 @@ evaluateUser: this.userId }).then((res) => { this.addLoading = false; - if (res.code == 201) { - this.$message.error('璇勪环澶辫触'); - return; - } this.$message.success('璇勪环鎴愬姛'); this.addDialogVisible = false; this.refreshTable() @@ -245,7 +240,6 @@ }) .then(() => { delProcessEvaluate({ id: row.id }).then((res) => { - if (res.code == 201) return; this.$message.success("鍒犻櫎鎴愬姛"); this.refresh(); }); -- Gitblit v1.9.3