|
|
@@ -484,7 +484,7 @@ |
|
|
|
return { |
|
|
|
list1: [], |
|
|
|
images:['../../../static/images/onlineHome/tab.jpg'], |
|
|
|
deptName:"", |
|
|
|
deptName:this.$store.state.user.deptName, |
|
|
|
queryParams: { |
|
|
|
pageNum: 1, |
|
|
|
pageSize: 100, |
|
|
@@ -508,22 +508,10 @@ |
|
|
|
}; |
|
|
|
}, |
|
|
|
created() { |
|
|
|
// getInfo().then(response => { |
|
|
|
// console.log(response) |
|
|
|
// this.deptName = response.user.deptName |
|
|
|
// }); |
|
|
|
treeselectByUser().then((res) => { |
|
|
|
if (res.code == 200) { |
|
|
|
let content = res.data; |
|
|
|
this.hcAreaInfoOption = content; |
|
|
|
if ( |
|
|
|
this.deptName == "" || |
|
|
|
this.deptName == undefined |
|
|
|
) { |
|
|
|
this.deptName = this.$store.state.user.deptName; |
|
|
|
} else { |
|
|
|
this.deptName = this.$store.state.user.allDeptName; |
|
|
|
} |
|
|
|
} |
|
|
|
}), |
|
|
|
ListTodo(this.queryParams).then((response) => { |
|
|
@@ -531,9 +519,6 @@ |
|
|
|
}) |
|
|
|
}, |
|
|
|
methods:{ |
|
|
|
villageVisbileFun() { |
|
|
|
this.villageVisbile = true; |
|
|
|
}, |
|
|
|
selectDept(){ |
|
|
|
this.villageVisbile = true; |
|
|
|
}, |
|
|
|