|
@@ -4,6 +4,7 @@ import { h } from 'vue'; |
|
@@ -4,6 +4,7 @@ import { h } from 'vue'; |
4
|
import { Switch } from 'ant-design-vue';
|
4
|
import { Switch } from 'ant-design-vue';
|
5
|
import { setRoleStatus } from '/@/api/system/system';
|
5
|
import { setRoleStatus } from '/@/api/system/system';
|
6
|
import { useMessage } from '/@/hooks/web/useMessage';
|
6
|
import { useMessage } from '/@/hooks/web/useMessage';
|
|
|
7
|
+import { RoleEnum } from '/@/enums/roleEnum';
|
7
|
export const columns: BasicColumn[] = [
|
8
|
export const columns: BasicColumn[] = [
|
8
|
{
|
9
|
{
|
9
|
title: '角色名称',
|
10
|
title: '角色名称',
|
|
@@ -73,6 +74,18 @@ export const searchFormSchema: FormSchema[] = [ |
|
@@ -73,6 +74,18 @@ export const searchFormSchema: FormSchema[] = [ |
73
|
},
|
74
|
},
|
74
|
|
75
|
|
75
|
{
|
76
|
{
|
|
|
77
|
+ field: 'roleType',
|
|
|
78
|
+ label: '',
|
|
|
79
|
+ component: 'Input',
|
|
|
80
|
+ colProps: { span: 8 },
|
|
|
81
|
+ defaultValue: RoleEnum.TENANT_ADMIN,
|
|
|
82
|
+ ifShow: false,
|
|
|
83
|
+ componentProps: {
|
|
|
84
|
+ maxLength: 20,
|
|
|
85
|
+ },
|
|
|
86
|
+ },
|
|
|
87
|
+
|
|
|
88
|
+ {
|
76
|
field: 'status',
|
89
|
field: 'status',
|
77
|
label: '状态',
|
90
|
label: '状态',
|
78
|
component: 'Select',
|
91
|
component: 'Select',
|