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}`, url: `/system/appointmentOrder/confirmCancel?appointmentOrderId=${appointmentOrderId}`,
method: 'post' 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;" 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> >{{ nursePersonlist.geniusItem }}</div>
</el-form-item> </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 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 <el-image
style="width: 120px; height: 120px;margin-right:10px" style="width: 120px; height: 120px;margin-right:10px"
:src="baseurl+item.certificateUrl" :src="baseurl+item.certificateUrl"

View File

@ -6,6 +6,7 @@ import {
dispatchsubmit, dispatchsubmit,
xylWeChatRefundNotify, xylWeChatRefundNotify,
appointmentOrderDetails, appointmentOrderDetails,
getPersonInfo
} from "@/api/system/order"; } from "@/api/system/order";
import { getListByUser } from "@/api/system/userlist.js"; import { getListByUser } from "@/api/system/userlist.js";
import baseurl from '@/api/baseurl.js' import baseurl from '@/api/baseurl.js'
@ -276,7 +277,7 @@ export default {
this.nursePersonid = ""; this.nursePersonid = "";
this.querynursePersonname.pageNum = 1; this.querynursePersonname.pageNum = 1;
}, },
// 姓名弹框 // 护理员姓名弹框
clicknursePersonName() { clicknursePersonName() {
getPerson(this.querynursePersonname).then((res) => { getPerson(this.querynursePersonname).then((res) => {
this.dispatchlist = res.rows; this.dispatchlist = res.rows;
@ -284,7 +285,7 @@ export default {
this.nursePersonNameinfo = true; this.nursePersonNameinfo = true;
}); });
}, },
// 姓名弹框确定按钮 // 护理员姓名弹框确定按钮
submitForm() { submitForm() {
let params = { let params = {
nurseStationPersonId: this.nursePersonid, nurseStationPersonId: this.nursePersonid,
@ -302,12 +303,14 @@ export default {
// 选择姓名按钮 // 选择姓名按钮
nursePersonclick(row) { nursePersonclick(row) {
this.nursePersonid = row.nurseStationPersonId; this.nursePersonid = row.nurseStationPersonId;
this.nurseName = row.nursePersonName; getPersonInfo(row.nurseStationPersonId).then(res => {
this.nursePersonNameinfo = false; this.nurseName = res.data.nursePersonName;
this.nursePersonlist = row this.nursePersonNameinfo = false;
row.nurseStationPersonCheckList.forEach(e => { this.nursePersonlist = res.data
this.PersonChecksrcList.push(this.baseurl + e.certificateUrl) res.data.nurseStationPersonCertificateList.forEach(e => {
}); this.PersonChecksrcList.push(this.baseurl + e.certificateUrl)
});
})
}, },
// 确认取消预约 // 确认取消预约
cencel(row) { cencel(row) {