Commit d6d65980 by yuzhenWang

修复新单跟进关联记录跳转到关联预约,预约信息详情不展示

parent cc636dca
......@@ -728,6 +728,7 @@ function getAppointmentInfo(appointmentBizId, changeTab) {
activeName.value = 'appointmentInfo'
}
}
console.log('详情请求完')
}
})
}
......@@ -1068,17 +1069,7 @@ const handleSubmit = async type => {
submitAppointmentObj.value.source = 2
}
submitLoading.value = true
// 编辑预约单
// editAppointmentDetail(submitAppointmentObj.value).then(res => {
// if (res.code == 200) {
// submitLoading.value = false
// editStatus.value = true
// getAppointmentInfo(idsObj.value.appointmentBizId)
// proxy.$message.success('修改预约单成功')
// } else {
// submitLoading.value = false
// }
// })
try {
const res = await editAppointmentDetail(submitAppointmentObj.value)
if (res.code == 200) {
......@@ -1130,17 +1121,7 @@ const handleSubmit = async type => {
// 编辑状态下预约暂存
if (type == 'editStorage') {
submitLoading.value = true
// 暂存预约单
// appointmentEditStorage(submitAppointmentObj.value).then(res => {
// if (res.code == 200) {
// submitLoading.value = false
// proxy.$message.success('预约暂存提交成功')
// editStatus.value = true
// getAppointmentInfo(idsObj.value.appointmentBizId)
// } else {
// submitLoading.value = false
// }
// })
try {
const res = await appointmentEditStorage(submitAppointmentObj.value)
if (res.code == 200) {
......@@ -1274,8 +1255,6 @@ watch(
})
} else {
activeName.value = ''
getAppointmentInfo(idsObj.value.appointmentBizId)
tabsList.value = [
{
label: '签约信息',
......@@ -1347,10 +1326,12 @@ watch(
key: 'fnaBizId'
}
]
getAppointmentInfo(idsObj.value.appointmentBizId, true)
}
nextTick(() => {
activeName.value = 'appointmentInfo'
})
// nextTick(() => {
// activeName.value = 'appointmentInfo'
// })
}
}
)
......@@ -1366,6 +1347,7 @@ const getPolicyDetail = tabName => {
...followRes.data,
...infoRes.data
}
if (route.query.source == 'policyList') {
appointmentSummeryInfo.value.apiAppointmentInfoDto = JSON.parse(
JSON.stringify(
......
......@@ -1183,6 +1183,8 @@ const processFormData = async () => {
}
// 编辑状态下回显值
if (props.idsObj.appointmentBizId) {
console.log('预约详情', props.apiAppointmentInfoDto)
setFormValue(props.apiAppointmentInfoDto, processedData)
return
} else {
......
......@@ -1279,7 +1279,8 @@ const viewRecordDetail = e => {
type: 'edit',
status: newOrderData.value.status,
source: 'newOrder',
appointmentBizId: newOrderData.value.appointmentBizId
appointmentBizId: newOrderData.value.appointmentBizId,
appointmentNo: newOrderData.value.appointmentNo
}
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment