Fix Bug #472: 住院医生工作站-手术申请单:勾选手术项目无效,导致无法正常开立医嘱

surgery.vue 中 ref 和 watch 未从 vue 导入,导致 transferValue 不是响应式变量,
el-transfer 勾选复选框时状态无法更新,修复 import 语句补充 ref、watch。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-08 08:46:35 +08:00
parent 47a12e03e3
commit 06f257f4be

View File

@@ -78,7 +78,7 @@
</div>
</template>
<script setup name="Surgery">
import {getCurrentInstance, onBeforeMount, onMounted, reactive, watch} from 'vue';
import {getCurrentInstance, onBeforeMount, onMounted, reactive, ref, watch} from 'vue';
import {patientInfo} from '../../../store/patient.js';
import {getDepartmentList} from '@/api/public.js';
import {getEncounterDiagnosis} from '../../api.js';