Преглед изворни кода

银农app 切换组织结构

wulanhaote
yujk пре 3 година
родитељ
комит
1100a06fdf
1 измењених фајлова са 1 додато и 16 уклоњено
  1. +1
    -16
      src/views/onlineHome/workbench.vue

+ 1
- 16
src/views/onlineHome/workbench.vue Прегледај датотеку

@@ -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;
},


Loading…
Откажи
Сачувај