diff --git a/src/modules/06_retirement/components/ListRetirement/TableList.vue b/src/modules/06_retirement/components/ListRetirement/TableList.vue
index cad8e9cb8..0a6065621 100644
--- a/src/modules/06_retirement/components/ListRetirement/TableList.vue
+++ b/src/modules/06_retirement/components/ListRetirement/TableList.vue
@@ -327,19 +327,20 @@ const uploadFile = async (event: any, signDate: any) => {
config.API.fileRetirement(retireld.value.toString()),
formdata
)
- .then(() => {
+ .then(async(res) => {
+ fileUpload.value = null;
+ signDate.value = null;
+ modalUpload.value = false;
+ await fecthlistprofile(retireld.value);
+ await fecthCheck(retireld.value);
+ hideLoader();
success($q, "เพิ่มไฟล์สำเร็จ");
})
.catch((err) => {
messageError($q, err);
})
.finally(() => {
- fileUpload.value = null;
- signDate.value = null;
- modalUpload.value = false;
- fecthlistprofile(retireld.value);
- fecthCheck(retireld.value);
- hideLoader();
+
});
},
"ยืนยันการอัปโหลดเอกสาร",
diff --git a/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue b/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue
index 9cf25adfc..1690dd99b 100644
--- a/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue
+++ b/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue
@@ -1657,7 +1657,7 @@ onMounted(async () => {
flat
round
color="blue"
- icon="mdi-download-outline"
+ icon="mdi-download"
@click="downloadRenameFileByLink(file.pathName, file.fileName)"
>