|
|
|
|
@ -71,6 +71,7 @@
|
|
|
|
|
let tj_date = ref(null);
|
|
|
|
|
let tj_time = ref(null);
|
|
|
|
|
let tj_plan_id = ref(null); //体检号源id
|
|
|
|
|
let yytjInfo = ref({}); // 预约信息
|
|
|
|
|
|
|
|
|
|
let weekList = ref(null);
|
|
|
|
|
|
|
|
|
|
@ -136,7 +137,14 @@
|
|
|
|
|
itemSelected.value.type = 'tj'
|
|
|
|
|
selectedTime.value = orderInfo.value.appointment_time
|
|
|
|
|
selectedDate.value = orderInfo.value.appointment_date
|
|
|
|
|
|
|
|
|
|
yytjInfo.value.nmr_list=[]
|
|
|
|
|
yytjInfo.value.nmr_list.push({
|
|
|
|
|
item_id: -1,
|
|
|
|
|
name: "体检时间",
|
|
|
|
|
time:selectedDate.value+' '+selectedTime.value,
|
|
|
|
|
id: orderInfo.value.plan_id,
|
|
|
|
|
});
|
|
|
|
|
$store.setYytjInfo(yytjInfo.value);
|
|
|
|
|
GetDayPlanListFunc()
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
@ -379,7 +387,11 @@ const DateChange=(date)=>{
|
|
|
|
|
if (itemSelected.value.type == 'tj') {
|
|
|
|
|
tj_time.value = null
|
|
|
|
|
tj_date.value = date
|
|
|
|
|
temp = $store.getYytjInfo()
|
|
|
|
|
if(date!=temp.doctor_date){
|
|
|
|
|
doctor_name.value = null //清空体检医生
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
GetDayPlanListFunc()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@ -390,7 +402,7 @@ const DateChange=(date)=>{
|
|
|
|
|
temp = $store.getYytjInfo()
|
|
|
|
|
temp.doctor_name = ""
|
|
|
|
|
$store.setYytjInfo(temp)
|
|
|
|
|
|
|
|
|
|
yytjInfo.value = $store.getYytjInfo();
|
|
|
|
|
GetOrderInfo()
|
|
|
|
|
});
|
|
|
|
|
let OrderId=ref(0)
|
|
|
|
|
@ -403,6 +415,16 @@ const DateChange=(date)=>{
|
|
|
|
|
if (temp.doctor_name != null && temp.doctor_name != '') {
|
|
|
|
|
doctor_name.value = temp.doctor_name
|
|
|
|
|
}
|
|
|
|
|
if(temp.nmr_list && temp.nmr_list[0].name=='体检时间' && temp.nmr_list[0].time==''){
|
|
|
|
|
tj_time.value = null
|
|
|
|
|
tj_date.value = null
|
|
|
|
|
tj_plan_id.value=null
|
|
|
|
|
}
|
|
|
|
|
if(temp.doctor_date){
|
|
|
|
|
selectedTime.value = null
|
|
|
|
|
DateChange(temp.doctor_date)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|
|