提交者
Gitee
重置时取消部门选中
Signed-off-by: 也曾为你、像超人 <1553592282@qq.com>
正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -20,6 +20,7 @@ | @@ -20,6 +20,7 @@ | ||
| 20 | :expand-on-click-node="false" | 20 | :expand-on-click-node="false" |
| 21 | :filter-node-method="filterNode" | 21 | :filter-node-method="filterNode" |
| 22 | ref="tree" | 22 | ref="tree" |
| 23 | + node-key="id" | ||
| 23 | default-expand-all | 24 | default-expand-all |
| 24 | highlight-current | 25 | highlight-current |
| 25 | @node-click="handleNodeClick" | 26 | @node-click="handleNodeClick" |
| @@ -536,6 +537,8 @@ export default { | @@ -536,6 +537,8 @@ export default { | ||
| 536 | resetQuery() { | 537 | resetQuery() { |
| 537 | this.dateRange = []; | 538 | this.dateRange = []; |
| 538 | this.resetForm("queryForm"); | 539 | this.resetForm("queryForm"); |
| 540 | + this.queryParams.deptId = undefined; | ||
| 541 | + this.$refs.tree.setCurrentKey(null); | ||
| 539 | this.handleQuery(); | 542 | this.handleQuery(); |
| 540 | }, | 543 | }, |
| 541 | // 多选框选中数据 | 544 | // 多选框选中数据 |
-
请 注册 或 登录 后发表评论