fix(medicine): 移除未使用的响应式变量并修复会诊确认逻辑
- 移除了 medicineDialog.vue 中未使用的 supplierListOptions、statusRestrictedOptions、 partAttributeEnumOptions 和 tempOrderSplitPropertyOptions 响应式变量 - 修复了 consultationconfirmation/index.vue 中加载会诊意见时缺少 consultationId 验证的问题 - 防止在会诊 ID 不存在时尝试加载会诊意见导致的潜在错误
This commit is contained in:
@@ -1020,10 +1020,6 @@ const statusFlagOptions = ref(undefined);
|
||||
const domainEnumOptions = ref(undefined);
|
||||
const deptOptions = ref(undefined); // 部门树选项
|
||||
const locationOptions = ref(undefined); // 地点树选项
|
||||
const supplierListOptions = ref(undefined); // 供应商列表选项
|
||||
const statusRestrictedOptions = ref(undefined); // 权限级别选项
|
||||
const partAttributeEnumOptions = ref(undefined); // 部位属性选项
|
||||
const tempOrderSplitPropertyOptions = ref(undefined); // 临时订单拆分属性选项
|
||||
const activeName = ref('basic');
|
||||
const data = reactive({
|
||||
form: {},
|
||||
|
||||
@@ -554,7 +554,7 @@ const handleRowChange = async (row) => {
|
||||
currentRow.value = row
|
||||
|
||||
// 先加载会诊意见列表
|
||||
if (row) {
|
||||
if (row && row.consultationId) {
|
||||
await loadConsultationOpinions(row.consultationId)
|
||||
} else {
|
||||
opinionList.value = []
|
||||
|
||||
Reference in New Issue
Block a user