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/login.vue | 2 +- src/api/patient/homepage.js | 1 + src/views/followvisit/discharge/index.vue | 20 ++++++++++++++++++++ 3 files changed, 22 insertions(+), 1 deletions(-) diff --git a/src/api/patient/homepage.js b/src/api/patient/homepage.js index 19cb4a3..f40660b 100644 --- a/src/api/patient/homepage.js +++ b/src/api/patient/homepage.js @@ -80,6 +80,7 @@ data: data }) }; + // 鐥呭彶鍒楄〃 export function getmedicalhistory(data) { return request({ 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�呰寖鍥村鐞� diff --git a/src/views/login.vue b/src/views/login.vue index 8bfe9b0..b3cfc30 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -116,7 +116,7 @@ }, options: [ { value: "47255004333112711A1001", label: "鏅畞鐣叉棌鑷不鍘夸汉姘戝尰闄�" }, - { value: "2", label: "涓芥按甯備腑鍖婚櫌" }, + { value: "47231022633110211A2101", label: "涓芥按甯備腑鍖婚櫌" }, ], loginRules: { username: [ -- Gitblit v1.9.3