From 03a3eff92cca176222ff62d314df188d913ef048 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期二, 11 三月 2025 13:28:23 +0800 Subject: [PATCH] 测试完成 --- src/views/followvisit/discharge/index.vue | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/views/followvisit/discharge/index.vue b/src/views/followvisit/discharge/index.vue index 4d25298..b89c873 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"> @@ -869,6 +869,7 @@ topqueryParams: { pageNum: 1, pageSize: 10, + sort:1, serviceType: 2, searchscope: 3, scopetype: [], @@ -972,8 +973,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) { @@ -1173,6 +1178,7 @@ pageSize: 10, serviceType: 2, searchscope: 2, + sort:1, }; this.handleQuery(1); }, @@ -1314,7 +1320,6 @@ if (row.preachformson) { if (row.preachformson.includes("3")) { type = 1; - console.log(type, "rwo"); } } this.$router.push({ @@ -1348,8 +1353,6 @@ getTaskservelist({ patid: row.patid, taskid: row.taskid, - deptOrDistrict:2, - }).then((res) => { if (res.code == 200) { objson.sendstate = 4; -- Gitblit v1.9.3