【update】-数据字典样式的修改
This commit is contained in:
@@ -110,7 +110,7 @@ export default {
|
|||||||
title: '序号',
|
title: '序号',
|
||||||
dataIndex: '',
|
dataIndex: '',
|
||||||
key: 'rowIndex',
|
key: 'rowIndex',
|
||||||
width: 120,
|
width: 60,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
customRender: function (t, r, index) {
|
customRender: function (t, r, index) {
|
||||||
return parseInt(index) + 1
|
return parseInt(index) + 1
|
||||||
@@ -119,18 +119,21 @@ export default {
|
|||||||
{
|
{
|
||||||
title: '字典名称',
|
title: '字典名称',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 120,
|
||||||
dataIndex: 'dictName',
|
dataIndex: 'dictName',
|
||||||
scopedSlots: { customRender: 'text' }
|
scopedSlots: { customRender: 'text' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '字典编号',
|
title: '字典编号',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 120,
|
||||||
dataIndex: 'dictCode',
|
dataIndex: 'dictCode',
|
||||||
scopedSlots: { customRender: 'text' }
|
scopedSlots: { customRender: 'text' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '描述',
|
title: '描述',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 300,
|
||||||
dataIndex: 'description',
|
dataIndex: 'description',
|
||||||
scopedSlots: { customRender: 'text' }
|
scopedSlots: { customRender: 'text' }
|
||||||
},
|
},
|
||||||
@@ -138,6 +141,7 @@ export default {
|
|||||||
title: '操作',
|
title: '操作',
|
||||||
dataIndex: 'action',
|
dataIndex: 'action',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: 200,
|
||||||
scopedSlots: { customRender: 'action' }
|
scopedSlots: { customRender: 'action' }
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user