src/views/officeProcessAutomation/ApproveManage/approve-template/useSelectOptionSources.js
@@ -6,12 +6,13 @@ resolveSelectDisplayLabel, } from "./selectOptionSource.js"; /** 下拉动态选项:人员 / 部门缓存与解析 */ /** 下拉动态选项:人员 / 部门 / 车辆缓存与解析 */ export function useSelectOptionSources() { const loading = ref(false); const caches = reactive({ users: [], deptOptions: [], vehicles: [], }); async function ensureForFields(fields) { @@ -22,6 +23,7 @@ const next = await fetchSelectOptionCaches(sources); caches.users = next.users; caches.deptOptions = next.deptOptions; caches.vehicles = next.vehicles; } finally { loading.value = false; }