|
@@ -532,8 +532,8 @@ export default {
|
|
|
handleNodeClick(data) {
|
|
|
this.queryParams.deptId = data.deptId
|
|
|
this.searchDeptName = data.deptName
|
|
|
- this.$set(this.form, 'deptId', data.deptId)
|
|
|
- this.$set(this.form, 'deptName', data.deptName)
|
|
|
+ // this.$set(this.form, 'deptId', data.deptId)
|
|
|
+ // this.$set(this.form, 'deptName', data.deptName)
|
|
|
},
|
|
|
// setSelectTreeData(){
|
|
|
// this.$refs.selectTree.init(this.deptList)
|
|
@@ -580,6 +580,8 @@ export default {
|
|
|
},
|
|
|
/** 重置按钮操作 */
|
|
|
resetQuery() {
|
|
|
+ this.queryParams.deptId = null;
|
|
|
+ this.searchDeptName = ''
|
|
|
this.resetForm("queryForm");
|
|
|
this.handleQuery();
|
|
|
},
|