| @@ -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(); | ||||||
|     }, |     }, | ||||||
|     // 多选框选中数据 |     // 多选框选中数据 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user