Merge branch 'develop' into devTee

This commit is contained in:
setthawutttty 2025-04-08 14:59:17 +07:00
commit 4b2e332849
4 changed files with 15 additions and 15 deletions

View file

@ -193,7 +193,7 @@ async function confirmApprove() {
data
)
.then(async () => {
updateEvaluationResult();
await updateEvaluationResult();
await nextStep();
modalConfirm.value = false;
})
@ -328,18 +328,18 @@ async function fetchDataSigner() {
});
}
function updateEvaluationResult() {
async function updateEvaluationResult() {
http
.put(config.API.updateEvaluationResult(id.value), {
result: checkBox.value,
})
.then((res) => {
hideLoader();
})
.then(() => {})
.catch((e) => {
messageError($q, e);
})
.finally(() => {});
.finally(() => {
hideLoader();
});
}
onMounted(async () => {

View file

@ -453,7 +453,7 @@ watch(
}}
</div>
<div v-else-if="col.name === 'posNo'">
{{ `${props.row.orgShortName}${props.row.posMasterNo}` }}
{{ `${props.row.orgShortName} ${props.row.posMasterNo}` }}
</div>
<div v-else-if="col.name === 'fullName'">
{{

View file

@ -464,7 +464,7 @@ watch(
}}
</div>
<div v-else-if="col.name === 'posNo'">
{{ `${props.row.orgShortName}${props.row.posMasterNo}` }}
{{ `${props.row.orgShortName} ${props.row.posMasterNo}` }}
</div>
<div v-else-if="col.name === 'fullName'">
{{

View file

@ -233,7 +233,7 @@ const activeBtn = () => {
};
const isSsoToken = ref<boolean>(false);
const interval = ref<any>(null);
// const interval = ref<any>(null);
/**
* เมอเรมตนโปรแกรมให event resize และ function myEventHandler
* set function myEventHandler เพราะ state งไมเซ , state เซทเม หนาจอเร ขยบหนาจอ
@ -259,9 +259,9 @@ onMounted(async () => {
fetchmsgNoread();
// fetch noread noti every 15 seconds
interval.value = setInterval(() => {
fetchmsgNoread();
}, 15000);
// interval.value = setInterval(() => {
// fetchmsgNoread();
// }, 15000);
myEventHandler(null, false);
window.addEventListener("resize", (e: any) => {
@ -276,9 +276,9 @@ onUnmounted(() => {
window.removeEventListener("resize", (e: any) => {
myEventHandler(e, true);
});
if (interval.value) {
clearInterval(interval.value);
}
// if (interval.value) {
// clearInterval(interval.value);
// }
});
/**