Browse Source

数据字典新增和编辑页面增加数据分组字段

master
yunuo970428 3 years ago
parent
commit
155b11b2a9
  1. 10
      anrui-system-ui/src/views/dictManage/dictCommon.vue

10
anrui-system-ui/src/views/dictManage/dictCommon.vue

@ -58,6 +58,12 @@
{{ form.dictType }}
</td>
</tr>
<tr>
<td>数据分组</td>
<td>
<el-input v-model="form.groupName"></el-input>
</td>
</tr>
<tr>
<td>数据key</td>
<td>
@ -96,6 +102,7 @@ export default {
form: {
dictKey: '',
dictType: '',
groupName: '',
dictValue: '',
parentSid: ''
},
@ -120,6 +127,7 @@ export default {
handler(val) {
this.form.parentSid = val.sid
this.form.dictType = val.dictType
this.form.groupName = val.groupName
this.page.params.parentSid = val.sid
this.page.params.dictType = val.dictType
this.getPageList(this.page)
@ -172,12 +180,14 @@ export default {
this.dialogTitle = '新增'
this.editDialog = true
this.form.dictKey = ''
this.form.groupName = ''
this.form.dictValue = ''
this.form.sid = ''
},
closeDict() {
this.form.parentSid = ''
this.form.dictType = ''
this.form.groupName = ''
this.page.params.parentSid = ''
this.page.params.dictType = ''
this.$emit('doback')

Loading…
Cancel
Save