Pre Merge pull request !193 from HuangXin/N/A

This commit is contained in:
HuangXin 2022-07-02 07:09:25 +00:00 committed by Gitee
commit 25c534f66d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="字典名称" prop="dictType">
<el-select v-model="queryParams.dictType">
<el-select v-model="queryParams.dictType" @change="handleDictTypeChange">
<el-option
v-for="item in typeOptions"
:key="item.dictId"
@ -358,6 +358,12 @@ export default {
this.title = "修改字典数据";
});
},
/** 字典类型 下拉框变更事件 */
handleDictTypeChange(val) {
this.queryParams.dictType = val
this.getList();
},
/** 提交按钮 */
submitForm: function() {
this.$refs["form"].validate(valid => {