From 2d55ed180fddd028bf4f839345bf0ef4d2f032e7 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 07 三月 2025 13:34:31 +0800
Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/lims-ruoyi-before into dev

---
 src/components/Table/value-table.vue |   27 +--------------------------
 1 files changed, 1 insertions(+), 26 deletions(-)

diff --git a/src/components/Table/value-table.vue b/src/components/Table/value-table.vue
index 4b81343..1d50835 100644
--- a/src/components/Table/value-table.vue
+++ b/src/components/Table/value-table.vue
@@ -699,10 +699,6 @@
           }
         )
         .then((res) => {
-          if (res.code === 201) {
-            this.loading = false;
-            return;
-          }
           this.total = res.data.body.total;
           this.tableHead = res.data.head;
           this.tableData = res.data.records;
@@ -947,9 +943,6 @@
                   id: row.id,
                 })
                 .then((res) => {
-                  if (res.code === 201) {
-                    return;
-                  }
                   this.$message.success("鍒犻櫎鎴愬姛");
                   this.selectList("page");
                   this.$emit("delete");
@@ -1024,10 +1017,6 @@
           },
         })
         .then((res) => {
-          if (res.code === 201) {
-            this.upLoad = false;
-            return;
-          }
           this.$message.success("淇敼鎴愬姛");
           this.upDia = false;
           this.selectList("page");
@@ -1131,10 +1120,6 @@
           },
         })
         .then((res) => {
-          if (res.code === 201) {
-            this.addLoad = false;
-            return;
-          }
           this.$message.success("娣诲姞鎴愬姛");
           this.addDia = false;
           this.selectList("page");
@@ -1173,10 +1158,6 @@
           }
         )
         .then((res) => {
-          if (res.code === 201) {
-            this.loading = false;
-            return;
-          }
           this.downDia = false;
           this.loading = false;
           this.$message.success("瀵煎嚭鎴愬姛");
@@ -1224,7 +1205,7 @@
       this.$refs.upload.clearFiles();
       this.uploadDia = false;
       this.uploading = false;
-      if (response.code == 201) {
+      if (response.code != 200) {
         this.$message.error(response.message);
         return;
       }
@@ -1326,9 +1307,6 @@
                 ),
               })
               .then((res) => {
-                if (res.code === 201) {
-                  return;
-                }
                 this.$message.success("鍒犻櫎鎴愬姛");
                 this.selectList("page");
               })
@@ -1363,9 +1341,6 @@
             }
           )
           .then((res) => {
-            if (res.code === 201) {
-              return;
-            }
             this.$parent.submitBatchCheckDialog();
             this.$message.success("鎿嶄綔鎴愬姛");
           });

--
Gitblit v1.9.3