From c70ffa07e49c0711b79156f00f80b1883d07450f Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期二, 15 四月 2025 10:44:35 +0800
Subject: [PATCH] 11

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

diff --git a/src/views/hosp/rules/index.vue b/src/views/hosp/rules/index.vue
index 4d36047..a0f3a50 100644
--- a/src/views/hosp/rules/index.vue
+++ b/src/views/hosp/rules/index.vue
@@ -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;
       });
     },

--
Gitblit v1.8.0