From d873c5ee1eb9218341b73c116c02a456d0f2973a Mon Sep 17 00:00:00 2001
From: qx <1084500556@qq.com>
Date: 星期四, 12 六月 2025 16:52:12 +0800
Subject: [PATCH] qx

---
 src/views/hosp/rules/index.vue |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/views/hosp/rules/index.vue b/src/views/hosp/rules/index.vue
index 4d36047..992eec9 100644
--- a/src/views/hosp/rules/index.vue
+++ b/src/views/hosp/rules/index.vue
@@ -178,10 +178,10 @@
           >瀵煎嚭
         </el-button>
       </el-col> -->
-            <right-toolbar
+            <!-- <right-toolbar
               :showSearch.sync="showSearch"
               @queryTable="getList"
-            ></right-toolbar>
+            ></right-toolbar> -->
           </el-row>
 
           <div style="width: 100%;">
@@ -1102,10 +1102,10 @@
       this.loading = true;
       // this.List = true;
       listAdvice(this.queryParam).then((response) => {
-        response.data.list.forEach((item, index) => {
-          item.newID =
-            (this.queryParam.page - 1) * this.queryParam.pageSize + index + 1;
-        });
+        // response.data.list.forEach((item, index) => {
+        //   item.newID =
+        //     (this.queryParam.page - 1) * this.queryParam.pageSize + index + 1;
+        // });
 
         this.adviceList = response.data.list;
         this.total = response.data.total;
@@ -1123,16 +1123,16 @@
     getListByXmId() {
       this.loading = true;
       listRules(this.queryParams).then((response) => {
-        response.rows.forEach((item, index) => {
+        response.data.rows.forEach((item, index) => {
           item.newID =
             (this.queryParams.pageNum - 1) * this.queryParams.pageSize +
             index +
             1;
         });
-        this.rulesList = response.rows;
+        this.rulesList = response.data.rows;
         console.log(this.rulesList, 999);
 
-        this.total = response.total;
+        this.total = response.data.total;
         this.loading = false;
       });
     },
@@ -1339,7 +1339,7 @@
 }
 
 .scrollable-container {
-  width: 260px;
+  width: 200px;
   /* 璁剧疆瀹瑰櫒鐨勫搴� */
   height: 629px;
   /* 璁剧疆瀹瑰櫒鐨勯珮搴� */

--
Gitblit v1.8.0