update 字典表增加扩展字段

This commit is contained in:
2021-05-20 17:49:52 +08:00
parent 4e733db8ed
commit e7fea323bd
5 changed files with 56 additions and 8 deletions

View File

@@ -28,6 +28,9 @@
<Auth auth="sysDictData:edit" slot="code" slot-scope="text, record">
<a-input placeholder="请输入字典值" v-model="record.code" />
</Auth>
<Auth auth="sysDictData:edit" slot="extCode" slot-scope="text, record">
<a-input placeholder="请输入扩展值" v-model="record.extCode" />
</Auth>
<Auth auth="sysDictData:edit" slot="sort" slot-scope="text, record">
<a-input-number
:min="0"
@@ -108,6 +111,13 @@ export default {
scopedSlots: { customRender: 'code' },
width: '15%',
},
{
title: '扩展值',
dataIndex: 'extCode',
sorter: true,
scopedSlots: { customRender: 'extCode' },
width: '15%',
},
{
title: '排序',
dataIndex: 'sort',