From 5e92f53b70f3f02dc66542ebc9ee781c38281c47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Tue, 7 Nov 2023 17:18:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=BE=E6=96=87=E9=97=AE?= =?UTF-8?q?=E8=AF=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesB/createnewconsultation/createnewconsultation.vue | 1 + pagesB/imagetextConsultation/imagetextConsultation.vue | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pagesB/createnewconsultation/createnewconsultation.vue b/pagesB/createnewconsultation/createnewconsultation.vue index b113ca3..a1319dd 100644 --- a/pagesB/createnewconsultation/createnewconsultation.vue +++ b/pagesB/createnewconsultation/createnewconsultation.vue @@ -215,6 +215,7 @@ this.info(); }, info() { + this.formdata.consultationType='IMAGE_TEXT_CONSULTATION' consultationInfo(this.formdata).then(res => { if (res.code == 200) { this.$refs.uToast.show({ diff --git a/pagesB/imagetextConsultation/imagetextConsultation.vue b/pagesB/imagetextConsultation/imagetextConsultation.vue index 878654d..0636d80 100644 --- a/pagesB/imagetextConsultation/imagetextConsultation.vue +++ b/pagesB/imagetextConsultation/imagetextConsultation.vue @@ -55,7 +55,7 @@ formdata: { pageNum: 1, pageSize: 10, - patientId: 1, + patientId: '', consultationType: 'IMAGE_TEXT_CONSULTATION', status: '', }, @@ -64,6 +64,7 @@ }; }, onShow() { + this.formdata.patientId=uni.getStorageSync('patientId') this.info(); }, methods: {