yyb
11 小时以前 be85a121031530d69865fd30d0dfb2fe0998a6a3
src/views/officeProcessAutomation/ApproveManage/approve-shared/useApprovalInstanceModule.js
@@ -57,11 +57,13 @@
  const moduleConfig = computed(() => getApprovalModuleConfig(moduleKey));
  const businessTypeOptions = ref([]);
  /** 与审批列表一致:优先用 TypeEnums 的 value,匹配不到再回退 approvalType */
  /** 列表查询 businessType:优先 registry 写死枚举,再回退 TypeEnums */
  const defaultListBusinessType = computed(() => {
    const fixed = getModuleListBusinessType(moduleKey);
    if (fixed != null && fixed !== "") return fixed;
    const resolved = resolveModuleBusinessType(moduleKey, businessTypeOptions.value);
    if (resolved != null && resolved !== "") return resolved;
    return getModuleListBusinessType(moduleKey);
    return "";
  });
  async function loadBusinessTypeOptions() {