新增
This commit is contained in:
@@ -193,7 +193,7 @@
|
||||
size="small"
|
||||
@click="handleViewCase(row)"
|
||||
>
|
||||
病例
|
||||
病历
|
||||
</el-button>
|
||||
<template v-if="row.status === 1">
|
||||
<el-button
|
||||
@@ -911,7 +911,7 @@ const handleMiniProgramQRCode = async (row: any) => {
|
||||
}
|
||||
}
|
||||
|
||||
// 处方保存成功(刷新列表,并刷新编辑抽屉中的病例列表)
|
||||
// 处方保存成功(刷新列表,并刷新编辑抽屉中的病历列表)
|
||||
const onPrescriptionSuccess = () => {
|
||||
loadData()
|
||||
editRef.value?.refreshCaseList?.()
|
||||
@@ -926,7 +926,7 @@ const handlePrescription = (row: any) => {
|
||||
prescriptionRef.value?.open(row)
|
||||
}
|
||||
|
||||
// 查看病例(开方后显示)
|
||||
// 查看病历(开方后显示)
|
||||
const handleViewCase = async (row: any) => {
|
||||
if (!row.id) {
|
||||
feedback.msgWarning('预约信息不完整')
|
||||
@@ -937,10 +937,10 @@ const handleViewCase = async (row: any) => {
|
||||
if (prescription?.id) {
|
||||
prescriptionRef.value?.openById(prescription.id)
|
||||
} else {
|
||||
feedback.msgWarning('该预约暂无病例记录,请先开方')
|
||||
feedback.msgWarning('该预约暂无病历记录,请先开方')
|
||||
}
|
||||
} catch (error: any) {
|
||||
feedback.msgError(error?.msg || '获取病例失败')
|
||||
feedback.msgError(error?.msg || '获取病历失败')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user