|
|
@ -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') |
|
|
|