no message

This commit is contained in:
setthawutttty 2024-01-23 17:51:12 +07:00
parent 8fce35bf13
commit 2ea6298bed

View file

@ -1141,7 +1141,6 @@ const appointPost = async () => {
}; };
const appointEmployeePost = async () => { const appointEmployeePost = async () => {
console.log("post Employee");
const formData = new FormData(); const formData = new FormData();
formData.append("id", profileId.value); formData.append("id", profileId.value);
dialogConfirm($q, async () => { dialogConfirm($q, async () => {
@ -1503,7 +1502,8 @@ const clickSaveDeceased = async () => {
watch( watch(
() => profileStore.isLoad, () => profileStore.isLoad,
() => { () => {
profileStore.isLoad >= 33 && hideLoader(); const num = profileType.value === 'officer' ? 33:employeeClass.value === 'temp' ? 30:32
profileStore.isLoad >= num && hideLoader();
} }
); );
onUnmounted(() => (profileStore.isLoad = 0)); onUnmounted(() => (profileStore.isLoad = 0));