update 优化 重置时取消部门选中

feature/model
疯狂的狮子li 2 years ago
parent 5830c3c96d
commit a127eaa0e9

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

Loading…
Cancel
Save