From 2daa54cc53396fb5f5b64a6b0a5b5c814b2bae2d Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 27 三月 2025 17:56:02 +0800 Subject: [PATCH] 测试完成 --- src/views/followvisit/discharge/index.vue | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/src/views/followvisit/discharge/index.vue b/src/views/followvisit/discharge/index.vue index 9587017..a17a3f0 100644 --- a/src/views/followvisit/discharge/index.vue +++ b/src/views/followvisit/discharge/index.vue @@ -953,6 +953,16 @@ label: "宸插畬鎴�", }, ], + sextype: [ + { + value: 1, + label: "鐢�", + }, + { + value: 2, + label: "濂�", + }, + ], topicoptionsyj: [ { value: 1, @@ -963,6 +973,7 @@ label: "姝e父", }, ], + amendtag:false, errtype: "", leavehospitaldistrictcode: "", serviceState: [], @@ -1006,10 +1017,16 @@ /** 鏌ヨ闅忚鏈嶅姟鍒楄〃 */ getList(refresh) { // 榛樿鍏ㄩ儴 + console.log(this.topqueryParams,'topqueryParams'); + console.log(store.getters.belongDepts,'store.getters.belongDepts'); + + if (this.topqueryParams.searchscope == 3) { this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map( (obj) => obj.deptCode ); + console.log('3'); + this.topqueryParams.leavehospitaldistrictcodes = store.getters.belongWards.map((obj) => obj.districtCode); } @@ -1192,11 +1209,14 @@ this.topqueryParams.leavehospitaldistrictcodes = store.getters.belongWards.map((obj) => obj.districtCode); } + console.log('1'); + this.topqueryParams.pageNum = 1; this.topqueryParams.startOutHospTime = this.dateRange[0]; this.topqueryParams.endOutHospTime = this.dateRange[1]; this.topqueryParams.startSendDateTime = this.dateRangefs[0]; this.topqueryParams.endSendDateTime = this.dateRangefs[1]; + console.log('2'); this.getList(refresh); }, // 鎮h�呰寖鍥村鐞� -- Gitblit v1.9.3