|
@@ -9,17 +9,22 @@ import { useI18n } from '/@/hooks/web/useI18n';
|
|
const { t } = useI18n();
|
|
const { t } = useI18n();
|
|
|
|
|
|
export const columns: BasicColumn[] = [
|
|
export const columns: BasicColumn[] = [
|
|
- {
|
|
|
|
- title: 'ID',
|
|
|
|
- dataIndex: 'id',
|
|
|
|
- width: 80,
|
|
|
|
- },
|
|
|
|
|
|
+ // {
|
|
|
|
+ // title: 'ID',
|
|
|
|
+ // dataIndex: 'id',
|
|
|
|
+ // width: 80,
|
|
|
|
+ // },
|
|
{
|
|
{
|
|
title: t('common.roleNameText'),
|
|
title: t('common.roleNameText'),
|
|
dataIndex: 'roleName',
|
|
dataIndex: 'roleName',
|
|
width: 200,
|
|
width: 200,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
|
|
+ title: t('routes.system.description'),
|
|
|
|
+ dataIndex: 'description',
|
|
|
|
+ width: 180,
|
|
|
|
+ },
|
|
|
|
+ {
|
|
title: '系统用户数',
|
|
title: '系统用户数',
|
|
dataIndex: 'adminCount',
|
|
dataIndex: 'adminCount',
|
|
width: 100,
|
|
width: 100,
|
|
@@ -28,11 +33,6 @@ export const columns: BasicColumn[] = [
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: t('routes.system.description'),
|
|
|
|
- dataIndex: 'description',
|
|
|
|
- width: 180,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
title: '创建人',
|
|
title: '创建人',
|
|
dataIndex: 'createUserName',
|
|
dataIndex: 'createUserName',
|
|
width: 100,
|
|
width: 100,
|
|
@@ -146,6 +146,7 @@ export const formSchema: FormSchema[] = [
|
|
label: t('routes.system.description'),
|
|
label: t('routes.system.description'),
|
|
field: 'description',
|
|
field: 'description',
|
|
component: 'InputTextArea',
|
|
component: 'InputTextArea',
|
|
|
|
+ required: true,
|
|
componentProps:{
|
|
componentProps:{
|
|
rows:4,
|
|
rows:4,
|
|
maxLength: 200,
|
|
maxLength: 200,
|