diff --git a/openhis-ui-vue3/src/views/doctorstation/components/surgery/surgeryApplication.vue b/openhis-ui-vue3/src/views/doctorstation/components/surgery/surgeryApplication.vue
index cc3b369e..a21f1933 100755
--- a/openhis-ui-vue3/src/views/doctorstation/components/surgery/surgeryApplication.vue
+++ b/openhis-ui-vue3/src/views/doctorstation/components/surgery/surgeryApplication.vue
@@ -627,10 +627,10 @@ function getList() {
pageSize: 100,
encounterId: props.patientInfo.encounterId
}).then((res) => {
+ console.log('[手术申请] 列表查询 - encounterId:', props.patientInfo.encounterId, '返回记录数:', res.data?.records?.length || 0)
surgeryList.value = res.data.records || []
}).catch(error => {
- console.error('获取手术列表失败:', error)
- proxy.$modal.msgError('数据加载失败,请稍后重试')
+ console.warn('[手术申请] 列表加载失败(可能无权限或接口异常):', error?.message || error)
surgeryList.value = []
}).finally(() => {
loading.value = false
@@ -1140,8 +1140,7 @@ function submitForm() {
proxy.$modal.msgError(res.msg || '新增手术失败,请检查表单信息')
}
}).catch(error => {
- console.error('新增手术失败:', error)
- proxy.$modal.msgError('新增手术失败,请检查表单信息')
+ console.warn('[手术申请] 新增接口异常:', error?.message || error)
})
} else {
// 修改手术
@@ -1160,8 +1159,7 @@ function submitForm() {
proxy.$modal.msgError(res.msg || '更新手术失败,请检查表单信息')
}
}).catch(error => {
- console.error('更新手术失败:', error)
- proxy.$modal.msgError('更新手术失败,请检查表单信息')
+ console.warn('[手术申请] 更新接口异常:', error?.message || error)
})
}
} else {
diff --git a/openhis-ui-vue3/src/views/doctorstation/index.vue b/openhis-ui-vue3/src/views/doctorstation/index.vue
index 8d81c4f6..c1960987 100755
--- a/openhis-ui-vue3/src/views/doctorstation/index.vue
+++ b/openhis-ui-vue3/src/views/doctorstation/index.vue
@@ -151,8 +151,8 @@
@saved="() => prescriptionRef?.getListInfo()" />
- prescriptionRef?.getListInfo()" />
+ { prescriptionRef?.getListInfo(); surgeryRef?.getList() }" />