From 28972c351ea79b4721750f6970e88263b64c64aa Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 13 三月 2025 16:03:36 +0800
Subject: [PATCH] 表格样式整体修改

---
 src/views/standard/model/index.vue |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/src/views/standard/model/index.vue b/src/views/standard/model/index.vue
index f6eccfd..418c55b 100644
--- a/src/views/standard/model/index.vue
+++ b/src/views/standard/model/index.vue
@@ -112,7 +112,7 @@
               type: "text",
               clickFun: (row) => {
                 this.title = "缂栬緫";
-                this.copyForm = row;
+                this.copyForm = this.HaveJson(row);
                 this.isShowCopyTem = true;
               },
               showHide: (row) => {
@@ -226,7 +226,6 @@
               delete params.id;
               addStandardTemplate(params)
                 .then((res) => {
-                  if (res.code == 201) return;
                   this.isShowCopyTem = false;
                   this.submitCopyInfoLoading = false;
                   this.$message.success("鏂板鎴愬姛");
@@ -241,7 +240,6 @@
               params.thing = this.copyForm.thing ? this.copyForm.thing : "";
               upStandardTemplate(params)
                 .then((res) => {
-                  if (res.code == 201) return;
                   this.isShowCopyTem = false;
                   this.submitCopyInfoLoading = false;
                   this.$message.success("淇敼鎴愬姛");
@@ -255,7 +253,6 @@
             case "澶嶅埗妯$増":
               copyStandardTemplate(params)
                 .then((res) => {
-                  if (res.code == 201) return;
                   this.isShowCopyTem = false;
                   this.submitCopyInfoLoading = false;
                   this.$message.success("澶嶅埗鎴愬姛");
@@ -286,7 +283,6 @@
       })
         .then(() => {
           delStandardTemplate({ id: row.id }).then((res) => {
-            if (res.code == 201) return;
             this.$message.success("鍒犻櫎鎴愬姛");
             this.refreshTable("page");
           });
@@ -360,7 +356,6 @@
         thing: JSON.stringify(data),
         name: luckysheet.getWorkbookName(["name"]),
       }).then((res) => {
-        if (res.code == 201) return;
         this.loading = false;
         this.$message.success("宸蹭繚瀛�");
         this.isShow = false;

--
Gitblit v1.9.3