From 2b1cfeacf31e505d00a3613dd020fe14926950cd Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 10 三月 2025 16:27:32 +0800 Subject: [PATCH] 测试完成 --- src/views/followvisit/discharge/index.vue | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/followvisit/discharge/index.vue b/src/views/followvisit/discharge/index.vue index 4d25298..c1c47d8 100644 --- a/src/views/followvisit/discharge/index.vue +++ b/src/views/followvisit/discharge/index.vue @@ -480,7 +480,7 @@ label="鎿嶄綔" align="center" fixed="right" - width="200" + width="300" class-name="small-padding fixed-width" > <template slot-scope="scope"> @@ -972,8 +972,12 @@ console.log(this.topqueryParams.leavehospitaldistrictcodes, "11"); } this.loading = true; - this.topqueryParams.deptOrDistrict=2, - getTaskservelist(this.topqueryParams).then((response) => { + if (this.topqueryParams.leavehospitaldistrictcodes[0]&&this.topqueryParams.leaveldeptcodes[0]) { + this.topqueryParams.deptOrDistrict=2; + }else{ + this.topqueryParams.deptOrDistrict=1; + } + getTaskservelist(this.topqueryParams).then((response) => { this.userList = response.rows[0].serviceSubtaskList; this.total = response.total; if (refresh) { @@ -1348,8 +1352,6 @@ getTaskservelist({ patid: row.patid, taskid: row.taskid, - deptOrDistrict:2, - }).then((res) => { if (res.code == 200) { objson.sendstate = 4; -- Gitblit v1.9.3