From 3fbc4829a3bdc17dad3306fef4685232222fe33f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Wed, 12 Apr 2023 13:58:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/order.js | 11 ++++++++++- src/views/system/order/index.vue | 22 ++++++++++++++-------- 2 files changed, 24 insertions(+), 9 deletions(-) diff --git a/src/api/system/order.js b/src/api/system/order.js index b6b3568..711661d 100644 --- a/src/api/system/order.js +++ b/src/api/system/order.js @@ -13,7 +13,7 @@ export function Detailed(id) { return request({ url: `/system/appointmentOrderDetails/getCancelOrderInfo` + `?orderNo=${id}`, method: 'get', - + }) } @@ -69,3 +69,12 @@ export function confirmCancel(appointmentOrderId) { method: 'post' }) } + +//派单点击护理员获取信息 + +export function getPersonInfo(nurseStationPersonId) { + return request({ + url: `/system/appointmentOrder/getPersonInfo?nurseStationPersonId=${nurseStationPersonId}`, + method: 'get' + }) +} \ No newline at end of file diff --git a/src/views/system/order/index.vue b/src/views/system/order/index.vue index e57a1c2..4c7241f 100644 --- a/src/views/system/order/index.vue +++ b/src/views/system/order/index.vue @@ -280,9 +280,12 @@ >{{ nursePersonlist.geniusItem }} - +
-
+
{ - this.PersonChecksrcList.push(this.baseurl + e.certificateUrl); + getPersonInfo(row.nurseStationPersonId).then(res => { + this.nurseName = res.data.nursePersonName; + this.nursePersonNameinfo = false; + this.nursePersonlist = res.data; + res.data.nurseStationPersonCertificateList.forEach(e => { + this.PersonChecksrcList.push(this.baseurl + e.certificateUrl); + }); }); }, // 确认取消预约