This commit is contained in:
曹辉 2023-04-12 13:57:21 +08:00
parent 5a25a46716
commit 2e7af0b759
3 changed files with 26 additions and 10 deletions

View File

@ -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'
})
}

View File

@ -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 }}</div>
</el-form-item>
<el-form-item label="资质证书图片" v-if="nursePersonlist.nurseStationPersonCheckList">
<el-form-item label="资质证书图片" v-if="nursePersonlist.nurseStationPersonCertificateList">
<div style="width:780px;display: flex;flex-wrap: wrap;">
<div v-for="(item,index) in nursePersonlist.nurseStationPersonCheckList" :key="index">
<div
v-for="(item,index) in nursePersonlist.nurseStationPersonCertificateList"
:key="index"
>
<el-image
style="width: 120px; height: 120px;margin-right:10px"
:src="baseurl+item.certificateUrl"

View File

@ -6,6 +6,7 @@ import {
dispatchsubmit,
xylWeChatRefundNotify,
appointmentOrderDetails,
getPersonInfo
} from "@/api/system/order";
import { getListByUser } from "@/api/system/userlist.js";
import baseurl from '@/api/baseurl.js'
@ -276,7 +277,7 @@ export default {
this.nursePersonid = "";
this.querynursePersonname.pageNum = 1;
},
// 姓名弹框
// 护理员姓名弹框
clicknursePersonName() {
getPerson(this.querynursePersonname).then((res) => {
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) {