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);
|
messageError($q, err);
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
loading.value = true;
|
// loading.value = true;
|
||||||
hideLoader();
|
hideLoader();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
@ -129,7 +129,7 @@ const fecthType = async () => {
|
||||||
messageError($q, err);
|
messageError($q, err);
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
loading.value = true;
|
// loading.value = true;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -159,13 +159,17 @@ const fecthInsigniaByOc = async (
|
||||||
await http
|
await http
|
||||||
.get(config.API.insigniaList(roundId, ocId, role, status))
|
.get(config.API.insigniaList(roundId, ocId, role, status))
|
||||||
.then(async (res) => {
|
.then(async (res) => {
|
||||||
requestNote.value = res.data.result.requestNote;
|
console.log(res.data.result.items);
|
||||||
requestStatus.value = res.data.result.requestStatus;
|
if (res.data.result.items.length !== 0) {
|
||||||
await DataStore.fetchData(res.data.result.items);
|
requestNote.value = res.data.result.requestNote;
|
||||||
await DataStore.fetchDataInsignia(res.data.result);
|
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.isLock = await res.data.result.isLock;
|
||||||
// DataStore.requestId = await res.data.result.requestId;
|
// DataStore.requestId = await res.data.result.requestId;
|
||||||
loading.value = true;
|
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
messageError($q, err);
|
messageError($q, err);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue