From b2429057ae17e9f5b357435b0bff5f6cc0040b69 Mon Sep 17 00:00:00 2001
From: 石广澎 <shiguangpeng@163.com>
Date: 星期五, 05 一月 2024 10:09:22 +0800
Subject: [PATCH] 1、分页查询问题修复 2、库管员选择问题修复

---
 admin-web/src/views/systemSetting/department/index.vue |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/admin-web/src/views/systemSetting/department/index.vue b/admin-web/src/views/systemSetting/department/index.vue
index 676cb7d..406c861 100644
--- a/admin-web/src/views/systemSetting/department/index.vue
+++ b/admin-web/src/views/systemSetting/department/index.vue
@@ -138,7 +138,7 @@
             align: 'center',
             width: 100,
             formatter: (row) => {
-              return { value: row.status === 0 ? '鍚敤' : '绂佺敤' };
+              return { value: row.status === 1 ? '鍚敤' : '绂佺敤' };
             },
           },
         ],
@@ -187,7 +187,6 @@
       });
     },
     nodeClick(param) {
-      console.log(param, 'param');
       this.p = Object.assign(
         {},
         {
@@ -211,7 +210,7 @@
     // 鏌ヨtable鍒楄〃
     search(pageNum) {
       if (pageNum != undefined) {
-        this.$refs.myTable.search(pageNum);
+        this.$refs.myTable.search({pageNum});
       } else {
         this.$refs.myTable.search();
       }

--
Gitblit v1.9.1