From dca78d5fd0c67fd841d6841ef2cd94a10669c356 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 21 二月 2024 15:40:48 +0800
Subject: [PATCH] #

---
 zy-asrs-flow/src/pages/system/dept/index.jsx |   25 ++++---------------------
 1 files changed, 4 insertions(+), 21 deletions(-)

diff --git a/zy-asrs-flow/src/pages/system/dept/index.jsx b/zy-asrs-flow/src/pages/system/dept/index.jsx
index f22950a..6b689dc 100644
--- a/zy-asrs-flow/src/pages/system/dept/index.jsx
+++ b/zy-asrs-flow/src/pages/system/dept/index.jsx
@@ -12,17 +12,7 @@
 import Edit from './components/edit'
 import { TextFilter, SelectFilter, DatetimeRangeFilter, LinkFilter } from '@/components/TableSearch'
 import { transformTreeData } from '@/utils/tree-util'
-
-const statusMap = {
-    1: {
-        color: 'green',
-        text: '姝e父',
-    },
-    0: {
-        color: 'red',
-        text: '绂佺敤',
-    },
-};
+import { statusMap } from '@/utils/enum-util'
 
 const handleSave = async (val) => {
     const hide = message.loading('姝e湪娣诲姞');
@@ -115,18 +105,11 @@
 
     const columns = [
         {
-            title: 'No',
-            dataIndex: 'index',
-            valueType: 'indexBorder',
-            width: 48,
-        },
-        {
             title: '閮ㄩ棬鍚嶇О',
             dataIndex: 'name',
             valueType: 'text',
             hidden: false,
-            width: 140,
-            copyable: true,
+            width: 240,
             filterDropdown: (props) => <TextFilter
                 name='name'
                 {...props}
@@ -135,7 +118,7 @@
             />,
         },
         {
-            title: '涓婄骇閮ㄩ棬鍚�',
+            title: '涓婄骇閮ㄩ棬',
             dataIndex: 'parentName',
             valueType: 'text',
             hidden: true,
@@ -356,7 +339,7 @@
                     cardBordered
                     scroll={{ x: 1300 }}
                     dateFormatter="string"
-                    pagination={{ pageSize: 20 }}
+                    pagination={{ pageSize: 100 }}
                     search={false}
                     toolbar={{
                         search: {

--
Gitblit v1.9.1