@@ -323,7 +337,7 @@ const dialogVisible = ref(false) // 弹窗的是否展示
const dialogTitle = ref('') // 弹窗的标题
const formLoading = ref(false) // 表单的加载中:1)修改时的数据加载;2)提交的按钮禁用
const examineFormVO = ref
({} as PatientexamlistVO)
-const savedisabled = ref(true) //保存按钮是否可用
+const savedisabled = ref(false) //保存按钮是否可用
const examinedisabled = ref(false) //审核按钮是否可见
const dataLoaded = ref(false) //是否加载网页
const tagLoaded = ref(true) //是否加载影像标签
@@ -404,8 +418,6 @@ const examine = async () => {
const response = await PatientexamlistApi.examine(ID.toString())
if (response) {
message.alertSuccess('审核成功')
-
- //查询患者信息 根据ID
getPatientexamlist(ID)
emit('success')
}
@@ -694,7 +706,12 @@ const getPatientexamlist = async (id: number) => {
notes.value = applyFormVO.value.notes
calculateAge(applyFormVO.value.birthday)
- if (applyFormVO.value.reportstatus == '已分检' || applyFormVO.value.reportstatus == '待分析') {
+ if (
+ applyFormVO.value.reportstatus &&
+ (applyFormVO.value.reportstatus == '已分析' ||
+ applyFormVO.value.reportstatus == '已分检' ||
+ applyFormVO.value.reportstatus == '待分析')
+ ) {
savedisabled.value = false
} else {
savedisabled.value = true
@@ -742,7 +759,7 @@ const resetForm = () => {
}
-