mirror of
https://github.com/yudaocode/yudao-ui-admin-vue3.git
synced 2026-03-30 01:43:30 +00:00
!828 update src/views/system/dict/data/index.vue.
Merge pull request !828 from AKING/N/A
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
label-width="68px"
|
||||
>
|
||||
<el-form-item label="字典名称" prop="dictType">
|
||||
<el-select v-model="queryParams.dictType" class="!w-240px">
|
||||
<el-select v-model="queryParams.dictType" class="!w-240px" @change="dictChange">
|
||||
<el-option
|
||||
v-for="item in dictTypeList"
|
||||
:key="item.type"
|
||||
@@ -171,6 +171,12 @@ const handleQuery = () => {
|
||||
getList()
|
||||
}
|
||||
|
||||
/** 字典类型更改同时更新列表数据 */
|
||||
const dictChange = (v) => {
|
||||
queryParams.dictType = v
|
||||
handleQuery()
|
||||
}
|
||||
|
||||
/** 重置按钮操作 */
|
||||
const resetQuery = () => {
|
||||
queryFormRef.value.resetFields()
|
||||
|
||||
Reference in New Issue
Block a user