From f2fbb3b07155274408d68084e2d607760c765ad6 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 14 三月 2025 11:09:51 +0800
Subject: [PATCH] 前端跳转路由修改

---
 src/views/CNAS/process/reportResults/index.vue |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/src/views/CNAS/process/reportResults/index.vue b/src/views/CNAS/process/reportResults/index.vue
index a34f9fa..9cf49ca 100644
--- a/src/views/CNAS/process/reportResults/index.vue
+++ b/src/views/CNAS/process/reportResults/index.vue
@@ -118,6 +118,7 @@
   selectUserCondition,
 } from "@/api/business/inspectionTask.js";
 export default {
+  name: 'ReportResults',
   components: {
     limsTable
   },
@@ -261,9 +262,6 @@
       if (this.title == '鏂板') {
         addProcessReport(addInfo).then(res => {
           this.addLoading = false
-          if (res.code == 201) {
-            return
-          }
           this.addDialogVisible = false
           this.$message({
             type: 'success',
@@ -274,9 +272,6 @@
       } else {
         doProcessReport(addInfo).then(res => {
           this.addLoading = false
-          if (res.code == 201) {
-            return
-          }
           this.addDialogVisible = false
           this.$message({
             type: 'success',
@@ -304,7 +299,6 @@
       })
         .then(() => {
           delProcessReport({ id: row.id }).then((res) => {
-            if (res.code == 201) return;
             this.$message.success("鍒犻櫎鎴愬姛");
             this.refresh();
           });

--
Gitblit v1.9.3