fix bug display & popup confirm เกษียณ

This commit is contained in:
Warunee Tamkoo 2023-07-25 18:13:44 +07:00
parent 51ed7a2613
commit 1084f4bde2

View file

@ -141,7 +141,7 @@
{{ props.row.Date }}
</q-td>
<q-td key="retireNumber" :props="props">
{{ props.row.retireNumber }}
{{ props.row.total }}
</q-td>
<!-- <q-td auto-width>
<q-btn
@ -299,7 +299,7 @@ const columns2 = ref<QTableProps["columns"]>([
align: "left",
label: "จำนวนผู้เกษียณ",
sortable: true,
field: "position",
field: "total",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
@ -361,7 +361,21 @@ const rows2 = ref<FormMainProbation2[]>([
const clickAdd = () => {
// modal.value = true;
router.push(`/retirement/list/${type.value}/${currentYear}`);
$q.dialog({
title: "ยืนยันการเพิ่มข้อมูลประกาศเกษียณ",
message: "ต้องการเพิ่มข้อมูลประกาศเกษียณใช่หรือไม่?",
cancel: {
flat: true,
color: "negative",
},
persistent: true,
})
.onOk(async () => {
router.push(`/retirement/list/${type.value}/${currentYear}`);
})
.onCancel(() => {})
.onDismiss(() => {});
};
const clickClose = async () => {
modal.value = false;