From dff06a910634a9026f7b242d5da5b31502f05187 Mon Sep 17 00:00:00 2001 From: czx <28353131@qq.com> Date: Wed, 20 Jan 2021 13:45:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E4=BB=98=E8=B4=B9=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/fantang/prepayment/index.vue | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/ruoyi-ui/src/views/fantang/prepayment/index.vue b/ruoyi-ui/src/views/fantang/prepayment/index.vue index ddc23c2ec..c64c21adf 100644 --- a/ruoyi-ui/src/views/fantang/prepayment/index.vue +++ b/ruoyi-ui/src/views/fantang/prepayment/index.vue @@ -264,6 +264,7 @@ created() { this.getList(); + this.buildSuggestionList(); this.myGetUser(); }, mounted() { @@ -316,6 +317,21 @@ }; }, + buildSuggestionList() { + listNoPrepayment(this.queryParams).then(response => { + let prepaymentList = response.data.records; + this.suggestionList = prepaymentList.map(item => { + return { + "value": item.hospitalId, + "departName": item.departName, + "name": item.name, + "bedId": item.bedId, + "patientId": item.patientId, + } + }); + }); + }, + // 填充所有待缴预付伙食费的病人清单 getDefaultNoPrepayment() { this.loading = true;