refs #6694 perf: remove unnecessary api calls
This commit is contained in:
parent
84b53131c7
commit
7a7622023c
|
@ -51,18 +51,18 @@ function handleLocation(data, { city, postcode, provinceFk, countryFk }) {
|
||||||
auto-load
|
auto-load
|
||||||
url="Workers/search?departmentCodes"
|
url="Workers/search?departmentCodes"
|
||||||
/>
|
/>
|
||||||
<FetchData
|
<!-- <FetchData
|
||||||
ref="postcodeFetchDataRef"
|
ref="postcodeFetchDataRef"
|
||||||
url="Postcodes/location"
|
url="Postcodes/location"
|
||||||
@on-fetch="(data) => (postcodesOptions = data)"
|
@on-fetch="(data) => (postcodesOptions = data)"
|
||||||
auto-load
|
auto-load
|
||||||
/>
|
/> -->
|
||||||
<FetchData
|
<FetchData
|
||||||
@on-fetch="(data) => (businessTypesOptions = data)"
|
@on-fetch="(data) => (businessTypesOptions = data)"
|
||||||
auto-load
|
auto-load
|
||||||
url="BusinessTypes"
|
url="BusinessTypes"
|
||||||
/>
|
/>
|
||||||
<FetchData
|
<!-- <FetchData
|
||||||
@on-fetch="(data) => (citiesLocationOptions = data)"
|
@on-fetch="(data) => (citiesLocationOptions = data)"
|
||||||
auto-load
|
auto-load
|
||||||
url="Towns/location"
|
url="Towns/location"
|
||||||
|
@ -76,7 +76,7 @@ function handleLocation(data, { city, postcode, provinceFk, countryFk }) {
|
||||||
@on-fetch="(data) => (countriesOptions = data)"
|
@on-fetch="(data) => (countriesOptions = data)"
|
||||||
auto-load
|
auto-load
|
||||||
url="Countries"
|
url="Countries"
|
||||||
/>
|
/>-->
|
||||||
<QPage>
|
<QPage>
|
||||||
<VnSubToolbar />
|
<VnSubToolbar />
|
||||||
<FormModel
|
<FormModel
|
||||||
|
|
Loading…
Reference in New Issue