@@ -507,16 +507,11 @@ const { specimen_code, unit_code, med_chrgitm_type, fin_type_code, activity_cate
);
const isTemplateActive = ref(true);
const title = ref('');
const visible = ref(false);
const emits = defineEmits(['submit']); // 声明自定义事件
const deptOptions = ref(undefined); // 部门树选项
const bodyOptions = ref(undefined); // 身体部位树选项
const locationOptions = ref(undefined); // 地点树选项
const diagnosisCategoryOptions = ref(undefined);
const statusFlagOptions = ref(undefined);
const exeOrganizations = ref(undefined);
const typeEnumOptions = ref(undefined);
const diagnosisTreatmentList = ref([]);
// 使用单位过滤后的选项
const filteredUnitCode = ref([]);
@@ -639,12 +634,6 @@ function show() {
filteredUnitCode.value = [];
isFilteringUnitCode.value = false;
title.value = '';
title.value = props.title;
diagnosisCategoryOptions.value = props.diagnosisCategoryOptions;
statusFlagOptions.value = props.statusFlagOptions;
exeOrganizations.value = props.exeOrganizations;
typeEnumOptions.value = props.typeEnumOptions;
form.value.categoryCode = props.currentCategoryEnum;
form.value.isEditInfoDisable = props.isEditInfoDisable;
visible.value = true;
@@ -669,8 +658,6 @@ function edit() {
// 重置使用单位过滤
filteredUnitCode.value = [];
isFilteringUnitCode.value = false;
title.value = '';
title.value = props.title;
form.value = props.item;
form.value.chrgitmLv = form.value.chrgitmLv ? form.value.chrgitmLv.toString() : undefined;
// 所属科室: 如果后端无法翻译科室名称( orgId_dictText为空) , 则清空orgId,
@@ -697,10 +684,6 @@ function edit() {
form . value . permittedUnitCode = form . value . permittedUnitCode
? form . value . permittedUnitCode . toString ( )
: undefined ;
diagnosisCategoryOptions . value = props . diagnosisCategoryOptions ;
statusFlagOptions . value = props . statusFlagOptions ;
exeOrganizations . value = props . exeOrganizations ;
typeEnumOptions . value = props . typeEnumOptions ;
visible . value = true ;
// 编辑时计算初始总价