This commit is contained in:
sjl
2024-11-14 19:24:36 +08:00
parent 7efaa253a2
commit 534cc0ab76
8 changed files with 49 additions and 45 deletions

View File

@@ -44,31 +44,47 @@
{
prop: 'name',
label: '名称',
minWidth: 200,
search: { el: 'input', tooltip: '我是搜索提示' },
minWidth: 150,
search: { el: 'input' },
},
{
prop: 'code',
label: '资源标识',
label: '编码',
minWidth: 100,
},
{
prop: 'path',
label: '路径',
minWidth: 200,
},
{
prop: 'type',
label: '类型',
width: 150,
width: 100,
enum: dictStore.getDictData('resourceType'),
search: { el: 'select', props: { filterable: true } },
fieldNames: { label: 'label', value: 'code' },
},
},
{
prop: 'icon',
label: '图标',
minWidth: 100,
},
{
prop: 'path',
label: '路由地址',
minWidth: 200,
},
{
prop: 'component',
label: '组件地址',
minWidth: 200,
},
{
prop: 'sort',
label: '排序',
width: 70,
},
{
prop: 'state',
label: '权限资源状态',
minWidth: 120,
minWidth: 100,
enum: dictStore.getDictData('status'),
fieldNames: { label: 'label', value: 'code' },
render: scope => {
@@ -77,7 +93,7 @@
)
},
},
{ prop: 'operation', label: '操作', fixed: 'right',minWidth: 200 },
{ prop: 'operation', label: '操作', fixed: 'right',width: 200 },
])