From 60e5b16ec6d1c8a4fbb9c714b2066a5dc5202b46 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期二, 15 四月 2025 18:14:12 +0800 Subject: [PATCH] 测试完成 --- src/views/patient/physical/index.vue | 55 ++++++++++--------------------------------------------- 1 files changed, 10 insertions(+), 45 deletions(-) diff --git a/src/views/patient/physical/index.vue b/src/views/patient/physical/index.vue index eed2493..4f50729 100644 --- a/src/views/patient/physical/index.vue +++ b/src/views/patient/physical/index.vue @@ -780,12 +780,10 @@ topqueryParams: { pageNum: 1, pageSize: 10, - serviceType: 1, - searchscope: 3, + serviceType: 12, sendstate:2, scopetype: [], - leaveldeptcodes: [], - leavehospitaldistrictcodes: [], + }, propss: { multiple: true }, options: [], @@ -869,26 +867,11 @@ /** 鏌ヨ褰卞儚闅忚鏈嶅姟鍒楄〃 */ getList(refresh) { // 榛樿鍏ㄩ儴 - if (this.topqueryParams.searchscope == 3) { - this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map( - (obj) => obj.deptCode - ); - this.topqueryParams.leavehospitaldistrictcodes = - store.getters.belongWards.map((obj) => obj.districtCode); - } + // 鎺ュ彈寮傚父璺宠浆 - if (this.errtype) { - this.topqueryParams.leavehospitaldistrictcodes.push( - this.leavehospitaldistrictcode - ); - console.log(this.topqueryParams.leavehospitaldistrictcodes, "11"); - } + this.loading = true; - 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; @@ -988,13 +971,7 @@ }, /** 鎼滅储鎸夐挳鎿嶄綔 */ handleQuery(refresh) { - if (this.topqueryParams.searchscope == 3) { - this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map( - (obj) => obj.deptCode - ); - this.topqueryParams.leavehospitaldistrictcodes = - store.getters.belongWards.map((obj) => obj.districtCode); - } + this.topqueryParams.pageNum = 1; this.topqueryParams.startOutHospTime = this.dateRange[0]; this.topqueryParams.endOutHospTime = this.dateRange[1]; @@ -1005,20 +982,9 @@ handleChange(value) { let type = value[0]; let code = value.slice(-1)[0]; - this.topqueryParams.leavehospitaldistrictcodes = []; - this.topqueryParams.leaveldeptcodes = []; - if (type == 1) { - this.topqueryParams.leaveldeptcodes.push(code); - this.topqueryParams.leavehospitaldistrictcodes = []; - this.topqueryParams.searchscope = 1; - } else if (type == 2) { - this.topqueryParams.leavehospitaldistrictcodes.push(code); - this.topqueryParams.leaveldeptcodes = []; - this.topqueryParams.searchscope = 2; - } else { - this.topqueryParams.searchscope = 3; - } + + }, /** 閲嶇疆鎸夐挳鎿嶄綔 */ resetQuery() { @@ -1026,8 +992,7 @@ this.topqueryParams = { pageNum: 1, pageSize: 10, - serviceType: 1, - searchscope: 2, + serviceType: 12, sendstate:2, }; this.handleQuery(1); @@ -1064,7 +1029,7 @@ path: "/followvisit/QuestionnaireTask", query: { type: 2, - serviceType: 1, + serviceType: 12, }, }); }, -- Gitblit v1.9.3