Commit 7d53eba5 authored by 姬鋆屾's avatar 姬鋆屾

推修改员工管理点击分页后再点击其他部门查询不到数据得问题;

parent 97cca737
......@@ -293,10 +293,15 @@ export default {
},
handleNodeClick(node) {
delete this.$route.query.page;
this.currentNode = node;
this.query = Object.assign({}, this.query, { deptId: node.id });
this.query.page = 1;
this.$router.push({
path: this.$route.path,
query: {
page: 1,
},
});
this.getData();
},
doExport() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment