This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-07-24 18:01:28 +07:00
parent 8cdae92009
commit aac95d17e4

View file

@ -199,8 +199,10 @@ watch(
? store.draftId
: store.historyId;
fetchOrgChart();
fetchAgencyData(rootOrgID.value);
if (rootOrgID.value) {
fetchAgencyData(rootOrgID.value);
fetchOrgChart();
}
}
);
@ -258,7 +260,7 @@ onBeforeMount(() => {
@clear="() => (agencyId = '')"
@update:model-value="onSelectAgency"
@filter="(inputValue:any,doneFn:Function) => filterOption(inputValue, doneFn) "
style="width: 400px;"
style="width: 400px"
>
<template v-slot:no-option>
<q-item>