From 62b6a7fac3f2acde70b578431147c4a01f19c182 Mon Sep 17 00:00:00 2001
From: 黎星凯 <13949086503@163.com>
Date: 星期一, 15 四月 2024 09:07:05 +0800
Subject: [PATCH] bug修改

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

diff --git a/admin-web/src/views/systemSetting/department/index.vue b/admin-web/src/views/systemSetting/department/index.vue
index 676cb7d..e5642b5 100644
--- a/admin-web/src/views/systemSetting/department/index.vue
+++ b/admin-web/src/views/systemSetting/department/index.vue
@@ -89,14 +89,14 @@
           dataIndex: 'status',
           label: '鐘舵��',
           placeholder: '璇烽�夋嫨',
-          defaultValue: '0',
+          defaultValue: '1',
           options: [
             {
-              value: '0',
+              value: '1',
               label: '鍚敤',
             },
             {
-              value: '1',
+              value: '0',
               label: '绂佺敤',
             },
           ],
@@ -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