From 4c9eab7cd2f92e6ebee76f38f1616cb3e5855697 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 10 四月 2025 10:46:27 +0800 Subject: [PATCH] 测试完成 --- src/views/followvisit/tasklist/index.vue | 31 ++++++++++++++++++------------- 1 files changed, 18 insertions(+), 13 deletions(-) diff --git a/src/views/followvisit/tasklist/index.vue b/src/views/followvisit/tasklist/index.vue index 7045925..a5ce6e6 100644 --- a/src/views/followvisit/tasklist/index.vue +++ b/src/views/followvisit/tasklist/index.vue @@ -142,7 +142,7 @@ <el-table-column label="浠诲姟鍚嶇О" fixed - width="120" + width="200" align="center" key="taskName" prop="taskName" @@ -165,13 +165,18 @@ :show-overflow-tooltip="true" /> <el-table-column - label="寰呮墽琛�/鎬讳换鍔�" + label="鎬讳换鍔�/宸查殢璁�" align="center" key="nickName" + width="120" prop="nickName" > <template slot-scope="scope"> - <span>{{ scope.row.wfs }}/{{ scope.row.yfs }}</span> + <span + >{{ scope.row.wfs ? scope.row.wfs + scope.row.yfs : "" }}/{{ + scope.row.yfs + }}</span + > </template> </el-table-column> <el-table-column @@ -225,7 +230,7 @@ label="鎿嶄綔" fixed="right" align="center" - width="180" + width="240" class-name="small-padding fixed-width" > <template slot-scope="scope"> @@ -269,7 +274,7 @@ label="浠诲姟璇︽儏" fixed="right" align="center" - width="200" + width="240" class-name="small-padding fixed-width" > <template slot-scope="scope"> @@ -657,11 +662,11 @@ }, watch: {}, created() { - this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map( - (obj) => obj.deptCode - ); - this.topqueryParams.leavehospitaldistrictcodes = - store.getters.belongWards.map((obj) => obj.districtCode); + // this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map( + // (obj) => obj.deptCode + // ); + // this.topqueryParams.leavehospitaldistrictcodes = + // store.getters.belongWards.map((obj) => obj.districtCode); this.tasktopic = this.$route.query.tasktopic ? this.$route.query.tasktopic : this.tasktopic; @@ -694,7 +699,7 @@ this.tasktopic == 7 || this.tasktopic == 6 ) { - if (!this.topqueryParams.type) this.topqueryParams.type = '2'; + if (!this.topqueryParams.type) this.topqueryParams.type = "2"; this.longtermlist = [ { value: 1, @@ -706,7 +711,7 @@ }, ]; } else if (this.tasktopic == 4 || this.tasktopic == 8) { - if (!this.topqueryParams.type) this.topqueryParams.type = '3'; + if (!this.topqueryParams.type) this.topqueryParams.type = "3"; this.longtermlist = [ { value: 3, @@ -714,7 +719,7 @@ }, ]; } else if (this.tasktopic == 5) { - if (!this.topqueryParams.type) this.topqueryParams.type = '1'; + if (!this.topqueryParams.type) this.topqueryParams.type = "1"; this.longtermlist = [ { value: 1, -- Gitblit v1.9.3