ข้อมูลทะเบียนประวัติ => loader
This commit is contained in:
parent
3d59d4ed2b
commit
fe713eea70
2 changed files with 32 additions and 21 deletions
|
|
@ -8,9 +8,9 @@ import config from "@/app.config";
|
|||
import { useRegistryInFormationStore } from "@/modules/10_registry/store/registry";
|
||||
|
||||
interface ArrayFileList {
|
||||
id:string
|
||||
pathName:string
|
||||
fileName:string
|
||||
id: string;
|
||||
pathName: string;
|
||||
fileName: string;
|
||||
}
|
||||
const fileList = ref<ArrayFileList[]>([]);
|
||||
const store = useRegistryInFormationStore();
|
||||
|
|
@ -48,7 +48,9 @@ function getData() {
|
|||
messageError($q, e);
|
||||
})
|
||||
.finally(() => {
|
||||
hideLoader();
|
||||
setTimeout(() => {
|
||||
hideLoader();
|
||||
}, 1500);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -56,7 +58,7 @@ function getData() {
|
|||
* ดาวน์โหลดลิงค์ไฟล์
|
||||
* @param fileName file name
|
||||
*/
|
||||
function downloadFile(fileName: string) {
|
||||
function downloadFile(fileName: string) {
|
||||
showLoader();
|
||||
http
|
||||
.get(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue