[fix 87239] 角色管理-用户 查询条件不支持快捷键查询

This commit is contained in:
danshihao
2024-07-29 09:46:20 +08:00
parent 6c7229e795
commit cf6b6a907b
+6 -2
View File
@@ -94,7 +94,7 @@
<div class="user-top-box"> <div class="user-top-box">
<!-- 查询区域 --> <!-- 查询区域 -->
<div class="table-page-search-wrapper"> <div class="table-page-search-wrapper">
<a-form layout="inline"> <a-form layout="inline" @keyup.enter.native="searchQuery2">
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :md="12" :sm="12"> <a-col :md="12" :sm="12">
<a-form-item :label="$t('user.userAccount')"> <a-form-item :label="$t('user.userAccount')">
@@ -484,7 +484,11 @@ export default {
} }
}) })
}, },
searchReset () {
this.queryParam = {}
this.loadData(1)
this.onClearSelected1()
},
handleAddUserRole () { handleAddUserRole () {
if (!this.currentRoleId) { if (!this.currentRoleId) {
this.$message.warning(this.$t('roleManage.pleaseSelectARole')) this.$message.warning(this.$t('roleManage.pleaseSelectARole'))