diff --git a/web/src/views/system/dept/api.ts b/web/src/views/system/dept/api.ts
index 0779ffe..41b2c7f 100644
--- a/web/src/views/system/dept/api.ts
+++ b/web/src/views/system/dept/api.ts
@@ -1,5 +1,5 @@
import { request } from '/@/utils/service';
-import { UserPageQuery, AddReq, DelReq, EditReq, InfoReq, PageQuery } from '@fast-crud/fast-crud';
+import { UserPageQuery, AddReq, EditReq, InfoReq, PageQuery } from '@fast-crud/fast-crud';
export const apiPrefix = '/api/system/dept/';
diff --git a/web/src/views/system/dept/components/DeptFormCom.vue b/web/src/views/system/dept/components/DeptFormCom.vue
index b19fb56..989c0f6 100644
--- a/web/src/views/system/dept/components/DeptFormCom.vue
+++ b/web/src/views/system/dept/components/DeptFormCom.vue
@@ -1,40 +1,29 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ deptFormData.id ? '保存' : '新增' }}
-
- 取消
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ deptFormData.id ? '保存' : '新增' }}
+
+ 取消
+
+
\ No newline at end of file
+
diff --git a/web/src/views/system/dept/components/TreeCom.vue b/web/src/views/system/dept/components/TreeCom.vue
index ef869c6..1c16edb 100644
--- a/web/src/views/system/dept/components/TreeCom.vue
+++ b/web/src/views/system/dept/components/TreeCom.vue
@@ -1,70 +1,78 @@
-
-
-
-
-
-
- 部门架构
- showTotalNum = !showTotalNum" class="tc-head-icon">
-
-
-
-
+
+
+
+
+
+
+ 部门架构
+ (showTotalNum = !showTotalNum)" class="tc-head-icon">
+
+
+
+
-
-
-
-
- {{ node.label }}
- (10人)
-
-
- {{ node.label }}
-
-
-
-
+
+
+
+
+ {{ node.label }}
+ (10人)
+
+ {{ node.label }}
+
+
+
-
+
+
+
+
+
+
+
\ No newline at end of file
+
diff --git a/web/src/views/system/dept/types.ts b/web/src/views/system/dept/types.ts
index 6b0c30f..90d1653 100644
--- a/web/src/views/system/dept/types.ts
+++ b/web/src/views/system/dept/types.ts
@@ -40,14 +40,12 @@ export interface TreeItemType {
}
export interface DeptFormDataType {
- id: string | number;
+ id?: string | number;
key: string;
parent: string | number;
name: string;
owner: string;
- phone: string;
- email: string;
- sort: number;
+ remark: string;
is_catalog?: boolean;
}
diff --git a/web/src/views/system/menu/components/menuButton/crud.tsx b/web/src/views/system/menu/components/menuButton/crud.tsx
index 512952c..e70e8ab 100644
--- a/web/src/views/system/menu/components/menuButton/crud.tsx
+++ b/web/src/views/system/menu/components/menuButton/crud.tsx
@@ -1,12 +1,4 @@
-import {
- AddReq,
- DelReq,
- EditReq,
- dict,
- CreateCrudOptionsRet,
- CreateCrudOptionsProps,
- UserPageQuery,
-} from '@fast-crud/fast-crud';
+import { AddReq, DelReq, EditReq, dict, CreateCrudOptionsRet, CreateCrudOptionsProps, UserPageQuery } from '@fast-crud/fast-crud';
import * as api from './api';
import { request } from '/@/utils/service';
@@ -185,7 +177,7 @@ export const createCrudOptions = function ({ crudExpose, context }: CreateCrudOp
},
}),
column: {
- minWidth: 200,
+ minWidth: 250,
sortable: true,
},
form: {
diff --git a/web/src/views/system/menu/index.vue b/web/src/views/system/menu/index.vue
index 8fd3e37..173b19e 100644
--- a/web/src/views/system/menu/index.vue
+++ b/web/src/views/system/menu/index.vue
@@ -10,16 +10,28 @@
菜单列表
-
+
-
+
@@ -75,8 +87,7 @@
-
+