From 2e7af0b75961455e49be3e57a2887844079b15bd 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:57:21 +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 | 10 ++++++++++ src/views/system/order/index.vue | 7 +++++-- src/views/system/order/indexjs.js | 19 +++++++++++-------- 3 files changed, 26 insertions(+), 10 deletions(-) diff --git a/src/api/system/order.js b/src/api/system/order.js index 2d32ff4..1a2c29d 100644 --- a/src/api/system/order.js +++ b/src/api/system/order.js @@ -68,4 +68,14 @@ export function confirmCancel(appointmentOrderId) { url: `/system/appointmentOrder/confirmCancel?appointmentOrderId=${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 fa4fdfb..6ab4447 100644 --- a/src/views/system/order/index.vue +++ b/src/views/system/order/index.vue @@ -276,9 +276,12 @@ style="width:600px;display: inline-block;height:100px;line-height:25px; overflow: hidden; display: -webkit-box;-webkit-line-clamp:4;-webkit-box-orient: vertical;" >{{ nursePersonlist.geniusItem }} - +
-
+
{ this.dispatchlist = res.rows; @@ -284,7 +285,7 @@ export default { this.nursePersonNameinfo = true; }); }, - // 姓名弹框确定按钮 + // 护理员姓名弹框确定按钮 submitForm() { let params = { nurseStationPersonId: this.nursePersonid, @@ -302,12 +303,14 @@ export default { // 选择姓名按钮 nursePersonclick(row) { this.nursePersonid = row.nurseStationPersonId; - this.nurseName = row.nursePersonName; - this.nursePersonNameinfo = false; - this.nursePersonlist = row - row.nurseStationPersonCheckList.forEach(e => { - 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) + }); + }) }, // 确认取消预约 cencel(row) {