no message
This commit is contained in:
parent
767da19e0a
commit
5875590145
1 changed files with 11 additions and 7 deletions
|
|
@ -109,7 +109,7 @@ const fecthAgency = async () => {
|
|||
messageError($q, err);
|
||||
})
|
||||
.finally(() => {
|
||||
loading.value = true;
|
||||
// loading.value = true;
|
||||
hideLoader();
|
||||
});
|
||||
};
|
||||
|
|
@ -129,7 +129,7 @@ const fecthType = async () => {
|
|||
messageError($q, err);
|
||||
})
|
||||
.finally(() => {
|
||||
loading.value = true;
|
||||
// loading.value = true;
|
||||
});
|
||||
};
|
||||
|
||||
|
|
@ -159,13 +159,17 @@ const fecthInsigniaByOc = async (
|
|||
await http
|
||||
.get(config.API.insigniaList(roundId, ocId, role, status))
|
||||
.then(async (res) => {
|
||||
requestNote.value = res.data.result.requestNote;
|
||||
requestStatus.value = res.data.result.requestStatus;
|
||||
await DataStore.fetchData(res.data.result.items);
|
||||
await DataStore.fetchDataInsignia(res.data.result);
|
||||
console.log(res.data.result.items);
|
||||
if (res.data.result.items.length !== 0) {
|
||||
requestNote.value = res.data.result.requestNote;
|
||||
requestStatus.value = res.data.result.requestStatus;
|
||||
await DataStore.fetchData(res.data.result.items);
|
||||
await DataStore.fetchDataInsignia(res.data.result);
|
||||
loading.value = true;
|
||||
}
|
||||
|
||||
// DataStore.isLock = await res.data.result.isLock;
|
||||
// DataStore.requestId = await res.data.result.requestId;
|
||||
loading.value = true;
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue