|
@@ -15,8 +15,8 @@ export const columns: BasicColumn[] = [
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: t('routes.system.component'),
|
|
title: t('routes.system.component'),
|
|
- dataIndex: 'path',//component
|
|
|
|
- width: 80,
|
|
|
|
|
|
+ dataIndex: 'path', //component
|
|
|
|
+ width: 250,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: t('routes.system.menuName'),
|
|
title: t('routes.system.menuName'),
|
|
@@ -39,11 +39,11 @@ export const columns: BasicColumn[] = [
|
|
},
|
|
},
|
|
},
|
|
},
|
|
// permission
|
|
// permission
|
|
- {
|
|
|
|
- title: t('routes.system.perms'),
|
|
|
|
- dataIndex: 'perms',
|
|
|
|
- width: 250,
|
|
|
|
- },
|
|
|
|
|
|
+ // {
|
|
|
|
+ // title: t('routes.system.perms'),
|
|
|
|
+ // dataIndex: 'perms',
|
|
|
|
+ // width: 250,
|
|
|
|
+ // },
|
|
{
|
|
{
|
|
title: t('routes.system.type.title'),
|
|
title: t('routes.system.type.title'),
|
|
dataIndex: 'type',
|
|
dataIndex: 'type',
|
|
@@ -110,11 +110,10 @@ const isButton = (type: number) => type === 2;
|
|
const idShowExt = (isExt: number) => isExt === 1;
|
|
const idShowExt = (isExt: number) => isExt === 1;
|
|
|
|
|
|
export const searchFormSchema: FormSchema[] = [
|
|
export const searchFormSchema: FormSchema[] = [
|
|
-
|
|
|
|
{
|
|
{
|
|
field: 'id',
|
|
field: 'id',
|
|
label: 'id',
|
|
label: 'id',
|
|
- show:false,
|
|
|
|
|
|
+ show: false,
|
|
component: 'Input',
|
|
component: 'Input',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -204,9 +203,9 @@ export const formSchema: FormSchema[] = [
|
|
defaultValue: 1,
|
|
defaultValue: 1,
|
|
component: 'InputNumber',
|
|
component: 'InputNumber',
|
|
componentProps: {
|
|
componentProps: {
|
|
- min:0
|
|
|
|
|
|
+ min: 0,
|
|
},
|
|
},
|
|
- required: true,
|
|
|
|
|
|
+ required: true,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
field: 'icon',
|
|
field: 'icon',
|