重置时取消部门选中

Signed-off-by: 也曾为你、像超人 <1553592282@qq.com>
This commit is contained in:
也曾为你、像超人 2022-10-21 23:24:35 +00:00 committed by Gitee
parent e21396870f
commit 4517dea98d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,7 @@
:expand-on-click-node="false" :expand-on-click-node="false"
:filter-node-method="filterNode" :filter-node-method="filterNode"
ref="tree" ref="tree"
node-key="id"
default-expand-all default-expand-all
highlight-current highlight-current
@node-click="handleNodeClick" @node-click="handleNodeClick"
@ -536,6 +537,8 @@ export default {
resetQuery() { resetQuery() {
this.dateRange = []; this.dateRange = [];
this.resetForm("queryForm"); this.resetForm("queryForm");
this.queryParams.deptId = undefined;
this.$refs.tree.setCurrentKey(null);
this.handleQuery(); this.handleQuery();
}, },
// //