|
@ -726,17 +726,7 @@ export default { |
|
|
deptName(val) { |
|
|
deptName(val) { |
|
|
this.$refs.tree.filter(val); |
|
|
this.$refs.tree.filter(val); |
|
|
}, |
|
|
}, |
|
|
$route:{ |
|
|
|
|
|
handler: function (newVal, oldVal) { |
|
|
|
|
|
console.log(newVal); |
|
|
|
|
|
if (newVal.query) { |
|
|
|
|
|
this.queryParams.idCard = newVal.query.idCard; |
|
|
|
|
|
this.handleQuery() |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
immediate: true, |
|
|
|
|
|
deep: true, |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
}, |
|
|
created() { |
|
|
created() { |
|
|
this.getList(); |
|
|
this.getList(); |
|
|