salary
This commit is contained in:
parent
02f0eac63a
commit
70d0975463
2 changed files with 11 additions and 7 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { onMounted, ref, computed, nextTick } from "vue";
|
import { onMounted, ref, nextTick } from "vue";
|
||||||
import { useQuasar } from "quasar";
|
import { useQuasar } from "quasar";
|
||||||
import config from "@/app.config";
|
import config from "@/app.config";
|
||||||
import http from "@/plugins/http";
|
import http from "@/plugins/http";
|
||||||
|
|
@ -88,9 +88,11 @@ function getRound() {
|
||||||
store.roundMainCode = roundFilter.value.shortCode;
|
store.roundMainCode = roundFilter.value.shortCode;
|
||||||
store.isClosedRound = roundFilter.value.isClose;
|
store.isClosedRound = roundFilter.value.isClose;
|
||||||
|
|
||||||
await getSnap(roundFilter.value.shortCode);
|
await Promise.all([
|
||||||
await getAgency(roundFilter.value.revisionId);
|
getSnap(roundFilter.value.shortCode),
|
||||||
await getAgencyPosition(roundFilter.value.revisionId);
|
getAgency(roundFilter.value.revisionId),
|
||||||
|
getAgencyPosition(roundFilter.value.revisionId),
|
||||||
|
]);
|
||||||
} else {
|
} else {
|
||||||
isLoad.value = false;
|
isLoad.value = false;
|
||||||
roundFilter.value = "ไม่มีข้อมูล";
|
roundFilter.value = "ไม่มีข้อมูล";
|
||||||
|
|
|
||||||
|
|
@ -86,9 +86,11 @@ function getRound() {
|
||||||
store.roundYear = roundFilter.value.year;
|
store.roundYear = roundFilter.value.year;
|
||||||
store.isClosedRound = roundFilter.value.isClose;
|
store.isClosedRound = roundFilter.value.isClose;
|
||||||
|
|
||||||
await getSnap(roundFilter.value.shortCode);
|
await Promise.all([
|
||||||
await getAgency(roundFilter.value.revisionId);
|
getSnap(roundFilter.value.shortCode),
|
||||||
await getAgencyPosition(roundFilter.value.revisionId);
|
getAgency(roundFilter.value.revisionId),
|
||||||
|
getAgencyPosition(roundFilter.value.revisionId),
|
||||||
|
]);
|
||||||
} else {
|
} else {
|
||||||
isLoad.value = false;
|
isLoad.value = false;
|
||||||
roundFilter.value = "ไม่มีข้อมูล";
|
roundFilter.value = "ไม่มีข้อมูล";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue