From 3f5692e426fccdc682571fb264494c0b39c6c953 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 21 九月 2026 13:27:38 +0800
Subject: [PATCH] 新疆——新聚lims 1.委托下单标签打印样式及展示字段修改 2.原始记录模板分页跳转bug修改

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

diff --git a/src/views/standard/model/index.vue b/src/views/standard/model/index.vue
index 5fa3ec2..dcdfef6 100644
--- a/src/views/standard/model/index.vue
+++ b/src/views/standard/model/index.vue
@@ -245,7 +245,7 @@
                   this.isShowCopyTem = false;
                   this.submitCopyInfoLoading = false;
                   this.$message.success("淇敼鎴愬姛");
-                  this.refreshTable("page");
+                  this.getList();
                 })
                 .catch((err) => {
                   console.log("copyTemplate----", err);
@@ -258,7 +258,7 @@
                   this.isShowCopyTem = false;
                   this.submitCopyInfoLoading = false;
                   this.$message.success("澶嶅埗鎴愬姛");
-                  this.refreshTable("page");
+                  this.getList();
                 })
                 .catch((err) => {
                   console.log("copyTemplate----", err);
@@ -286,7 +286,10 @@
         .then(() => {
           delStandardTemplate({ id: row.id }).then((res) => {
             this.$message.success("鍒犻櫎鎴愬姛");
-            this.refreshTable("page");
+            if (this.tableData.length === 1 && this.page.current > 1) {
+              this.page.current -= 1;
+            }
+            this.getList();
           });
         })
         .catch(() => { });

--
Gitblit v1.9.3