Commit 99c21e52c8e7f6267d936feeb60a6f7ee3d42d73
1 parent
f59a6883
fix: vue3 role schema
Showing
1 changed file
with
17 additions
and
1 deletions
yudao-ui-admin-vue3/src/views/system/role/role.data.ts
| @@ -28,7 +28,8 @@ const crudSchemas = reactive<VxeCrudSchema>({ | @@ -28,7 +28,8 @@ const crudSchemas = reactive<VxeCrudSchema>({ | ||
| 28 | title: '角色类型', | 28 | title: '角色类型', |
| 29 | field: 'type', | 29 | field: 'type', |
| 30 | dictType: DICT_TYPE.SYSTEM_ROLE_TYPE, | 30 | dictType: DICT_TYPE.SYSTEM_ROLE_TYPE, |
| 31 | - dictClass: 'number' | 31 | + dictClass: 'number', |
| 32 | + isForm: false | ||
| 32 | }, | 33 | }, |
| 33 | { | 34 | { |
| 34 | title: '角色标识', | 35 | title: '角色标识', |
| @@ -40,6 +41,21 @@ const crudSchemas = reactive<VxeCrudSchema>({ | @@ -40,6 +41,21 @@ const crudSchemas = reactive<VxeCrudSchema>({ | ||
| 40 | field: 'sort' | 41 | field: 'sort' |
| 41 | }, | 42 | }, |
| 42 | { | 43 | { |
| 44 | + title: t('form.remark'), | ||
| 45 | + field: 'remark', | ||
| 46 | + isTable: false, | ||
| 47 | + form: { | ||
| 48 | + component: 'Input', | ||
| 49 | + componentProps: { | ||
| 50 | + type: 'textarea', | ||
| 51 | + rows: 4 | ||
| 52 | + }, | ||
| 53 | + colProps: { | ||
| 54 | + span: 24 | ||
| 55 | + } | ||
| 56 | + } | ||
| 57 | + }, | ||
| 58 | + { | ||
| 43 | title: t('common.status'), | 59 | title: t('common.status'), |
| 44 | field: 'status', | 60 | field: 'status', |
| 45 | dictType: DICT_TYPE.COMMON_STATUS, | 61 | dictType: DICT_TYPE.COMMON_STATUS, |