From 1100a06fdf4e596b7b60c8bc3a61f7fc365a4805 Mon Sep 17 00:00:00 2001 From: yujk <990961482@qq.com> Date: Thu, 14 Oct 2021 14:01:32 +0800 Subject: [PATCH] =?UTF-8?q?=E9=93=B6=E5=86=9Capp=20=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E7=BB=84=E7=BB=87=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/onlineHome/workbench.vue | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/views/onlineHome/workbench.vue b/src/views/onlineHome/workbench.vue index 042a7304..027c62c9 100644 --- a/src/views/onlineHome/workbench.vue +++ b/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; },