246 手术管理-》门诊手术安排:点击【编辑】填写手术过程的相关时间字段值点击【保存】报错

251 手术管理-》门诊手术安排:【新增手术安排】界面安排时间字段的时分秒无法选值和未显示
252 手术管理-》门诊手术安排:【新增手术安排】界面的麻醉方法字段未默认取值于手术申请的麻醉方式字段的值
254 手术管理-》门诊手术管理:【新增手术安排】界面的切口类型字段下拉选项未取值
This commit is contained in:
Ranyunqiao
2026-03-24 17:22:16 +08:00
parent b03f563df4
commit 03d980e0cf
6 changed files with 21 additions and 8 deletions

View File

@@ -1048,6 +1048,8 @@ function submitForm() {
// 新增手术
addSurgery(form.value).then((res) => {
proxy.$modal.msgSuccess('新增成功')
//保存麻醉方式
seesionStorage.setItem('anesthesiaType', form.value.anesthesiaTypeEnum)
open.value = false
getList()
}).catch(error => {
@@ -1058,6 +1060,7 @@ function submitForm() {
// 修改手术
updateSurgery(form.value).then((res) => {
proxy.$modal.msgSuccess('修改成功')
seesionStorage.setItem('anesthesiaType', form.value.anesthesiaTypeEnum)
open.value = false
getList()
}).catch(error => {

View File

@@ -1023,15 +1023,20 @@ function mapOperatingRoomToOption(item) {
const {
surgical_site: surgerySiteList,
anesthesia_type: anesthesiaList,
incision_type: incisionTypeList,
incision_level: incisionTypeList,
isolation_type: isolationTypeList,
surgery_type,
surgery_level,
surgery_nature: surgeryNatureList
} = useDict('surgical_site', 'anesthesia_type', 'incision_type', 'isolation_type', 'surgery_type', 'surgery_level', 'surgery_nature')
} = useDict('surgical_site', 'anesthesia_type', 'incision_level', 'isolation_type', 'surgery_type', 'surgery_level', 'surgery_nature')
// 加载数据
onMounted(() => {
const anesthesiaType = sessionStorage.getItem('anesthesiaType')
if (anesthesiaType) {
form.anesMethod = anesthesiaType
sessionStorage.removeItem('anesthesiaType')
}
getPageList()
loadOrgList()
loadDeptList()