字典项新增上级编号
This commit is contained in:
parent
5f1d3922de
commit
942c97016b
|
@ -17,7 +17,7 @@
|
|||
</a-row>
|
||||
<a-row>
|
||||
<a-col :span="12">
|
||||
<a-form-model-item ref="parentid" label="所属上级" prop="parentid">
|
||||
<a-form-model-item ref="parentid" label="上级编号" prop="parentid">
|
||||
<a-input-number v-if="operable" v-model="form.parentid" :min="0"/>
|
||||
<span v-else>{{ form.parentid }}</span>
|
||||
</a-form-model-item>
|
||||
|
|
|
@ -66,10 +66,11 @@ export default {
|
|||
selectedRowKeys: [], // 选中行的key 出选择框时需要配置
|
||||
selectedRows: [], // 选中行的数据
|
||||
columns: [
|
||||
{ title: '编号', width: 30, dataIndex: 'id', key: 'id' },
|
||||
{ title: '词典项名称', width: 30, dataIndex: 'name', key: 'name' },
|
||||
{ title: '词典项值', width: 30, dataIndex: 'value', key: 'value' },
|
||||
{ title: '词典标识', width: 30, dataIndex: 'dictionaryCode', key: 'dictionaryCode' },
|
||||
{ title: '上级', width: 30, dataIndex: 'parentid', key: 'parentid' },
|
||||
{ title: '上级编号', width: 30, dataIndex: 'parentid', key: 'parentid' },
|
||||
{ title: '排序', width: 30, dataIndex: 'sortid', key: 'sortid' }
|
||||
],
|
||||
loadData: parameter => {
|
||||
|
|
Loading…
Reference in New Issue