From 4bee1aa0a212982f73f2b99ca46c6424c915de65 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 30 Apr 2021 12:06:09 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- src/components/CaseTable/CaseTable.vue | 7 ++++--- src/views/PatientInfo/PatientInfo.vue | 11 +++++++++-- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/App.vue b/src/App.vue index 743fec1..905cb03 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,7 +3,7 @@ * @email: 18603454788@163.com * @Date: 2021-02-22 09:20:03 * @LastEditors: wally - * @LastEditTime: 2021-04-26 18:12:14 + * @LastEditTime: 2021-04-28 09:57:13 --> @@ -120,7 +120,7 @@ export default { }, methods: { - ...mapMutations('home', ['setPatientId', 'setHospitalization']), + ...mapMutations('home', ['setPatientId', 'setHospitalization', 'setRecordCode']), // 选择病患 chooseItem(id) { @@ -130,9 +130,10 @@ export default { const { current } = pagination; this.$emit('setData', current); }, - details(Id, hospitalization) { + details(Id, hospitalization, code) { this.setPatientId(Id); this.setHospitalization(hospitalization); + this.setRecordCode(code); this.$router.push('/patientInfo'); }, showEditModal(id, inputStatus) { diff --git a/src/views/PatientInfo/PatientInfo.vue b/src/views/PatientInfo/PatientInfo.vue index bceb100..12a971e 100644 --- a/src/views/PatientInfo/PatientInfo.vue +++ b/src/views/PatientInfo/PatientInfo.vue @@ -1319,7 +1319,7 @@ - +