From fe53187de649ff276bae8ecf160dc89c4b60e35b Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 04 三月 2025 13:54:59 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-before-ruoyi

---
 src/views/standard/model/index.vue |   25 +++++++++++++------------
 src/api/standard/model.js          |   12 ++++++------
 2 files changed, 19 insertions(+), 18 deletions(-)

diff --git a/src/api/standard/model.js b/src/api/standard/model.js
index 52707ad..5bbe405 100644
--- a/src/api/standard/model.js
+++ b/src/api/standard/model.js
@@ -1,11 +1,11 @@
 import request from "@/utils/request";
 
 // 鏌ヨ瀹㈡埛鍒楄〃
-export function selectStandardTemplatePageList(data) {
+export function selectStandardTemplatePageList(query) {
   return request({
     url: "/StandardTemplate/selectStandardTemplatePageList",
-    method: "post",
-    data: data,
+    method: "get",
+    params: query,
   });
 }
 
@@ -37,11 +37,11 @@
 }
 
 // 鍒犻櫎妫�楠屾ā鏉�
-export function delStandardTemplate(data) {
+export function delStandardTemplate(query) {
   return request({
     url: "/StandardTemplate/delStandardTemplate",
-    method: "post",
-    data: data,
+    method: "delete",
+    params: query,
   });
 }
 
diff --git a/src/views/standard/model/index.vue b/src/views/standard/model/index.vue
index 375cd35..2cfb231 100644
--- a/src/views/standard/model/index.vue
+++ b/src/views/standard/model/index.vue
@@ -177,16 +177,16 @@
                 return this.checkPermi(["standard:model:del"]);
               },
             },
-            {
-              name: "澶嶅埗妯℃澘",
-              type: "text",
-              clickFun: (row) => {
-                this.copyTemplate(row);
-              },
-              showHide: (row) => {
-                return this.checkPermi(["standard:model:copy"]);
-              },
-            },
+            // {
+            //   name: "澶嶅埗妯℃澘",
+            //   type: "text",
+            //   clickFun: (row) => {
+            //     this.copyTemplate(row);
+            //   },
+            //   showHide: (row) => {
+            //     return this.checkPermi(["standard:model:copy"]);
+            //   },
+            // },
             {
               name: "妯℃澘缂栧埗",
               type: "text",
@@ -234,8 +234,9 @@
           this.tableLoading = false;
         });
     },
-    pagination(current, size) {
-      this.page.current = current;
+    pagination({ page, limit }) {
+      this.page.current = page;
+      this.page.size = limit;
       this.getList();
     },
     refreshTable(e) {

--
Gitblit v1.9.3