ประเมินบุคคล ==> ปรับ load
This commit is contained in:
parent
bb79dded69
commit
87f3209073
4 changed files with 71 additions and 34 deletions
|
|
@ -193,8 +193,8 @@ const formDataStep1 = ref<PersonInformation>();
|
|||
* @param id id ประเมิน
|
||||
*/
|
||||
async function fetchDataStep1(id: string) {
|
||||
showLoadStatus.value = false;
|
||||
showLoader();
|
||||
showLoadStatus.value = false;
|
||||
await http
|
||||
.get(config.API.evaluationCheckspecByid(id))
|
||||
.then((res) => {
|
||||
|
|
@ -206,7 +206,9 @@ async function fetchDataStep1(id: string) {
|
|||
})
|
||||
.finally(() => {
|
||||
showLoadStatus.value = true;
|
||||
hideLoader();
|
||||
setTimeout(() => {
|
||||
hideLoader();
|
||||
}, 3000);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue