แก้ ไอคอน / awitt

This commit is contained in:
STW_TTTY\stwtt 2024-08-20 17:56:26 +07:00
parent 5f334a6340
commit cd924009c1
2 changed files with 6 additions and 8 deletions

View file

@ -44,8 +44,6 @@ const fetchData = async () => {
const data = res.data.result;
dataProfile.value = data as DataProfile;
detail.value = data;
console.log(detail.value?.firstName);
fullName.value = `${data.prefix}${data.firstName} ${data.lastName}`;
})
.catch((e) => {
@ -74,20 +72,20 @@ const fileDownload = async (type: string) => {
showLoader();
await http
.get(config.API.DeceasedReport(type, profileId.value))
.then((res) => {
.then(async (res) => {
const data = res.data.result;
genReport(
await genReport(
data,
`รายละเอียดบันทึกเวียนแจ้งการถึงแก่กรรม-${fullName.value}`,
type
);
hideLoader();
})
.catch(async (e) => {
messageError($q, JSON.parse(await e.response.data.text()));
})
.finally(() => {
hideLoader();
});
})
.finally(() => {});
};
</script>

View file

@ -1552,7 +1552,7 @@ onMounted(async () => {
flat
round
color="blue"
icon="mdi-download-outline"
icon="mdi-download"
@click="
downloadRenameFileByLink(
file.pathName,