diff --git a/src/modules/04_registryNew/components/detail/GovernmentInformation/02_Discipline.vue b/src/modules/04_registryNew/components/detail/GovernmentInformation/02_Discipline.vue index c75cbed7e..cbec7399f 100644 --- a/src/modules/04_registryNew/components/detail/GovernmentInformation/02_Discipline.vue +++ b/src/modules/04_registryNew/components/detail/GovernmentInformation/02_Discipline.vue @@ -416,7 +416,6 @@ function getData() { rows.value = data; } - onMounted(() => { getData(); }); @@ -586,40 +585,40 @@ onMounted(() => {
-
+
ระดับการลงโทษทางวินัย
-
+
{{ props.row.level !== "" ? props.row.level : "-" }}
-
วัน/เดือน/ปี
-
+
+ วัน/เดือน/ปี +
+
{{ props.row.date ? date2Thai(props.row.date) : "-" }}
-
รายละเอียด
-
- {{ props.row.detail !== "" ? props.row.detail : "-" }} -
-
ล้างมลทิน
-
+
ล้างมลทิน
+
{{ props.row.unStigma !== "" ? props.row.unStigma : "-" }}
-
- -
-
เลขที่คำสั่ง
-
+
+ เลขที่คำสั่ง +
+
{{ props.row.refCommandNo !== "" ? props.row.refCommandNo : "-" }}
-
+
+ +
+
เอกสารอ้างอิง (ลงวันที่)
-
+
{{ props.row.refCommandDate ? date2Thai(props.row.refCommandDate) @@ -627,7 +626,13 @@ onMounted(() => { }}
- + +
+
รายละเอียด
+
+ {{ props.row.detail !== "" ? props.row.detail : "-" }} +
+
diff --git a/src/modules/04_registryNew/components/detail/GovernmentInformation/03_Leave.vue b/src/modules/04_registryNew/components/detail/GovernmentInformation/03_Leave.vue index fe0608daa..48762bef5 100644 --- a/src/modules/04_registryNew/components/detail/GovernmentInformation/03_Leave.vue +++ b/src/modules/04_registryNew/components/detail/GovernmentInformation/03_Leave.vue @@ -642,45 +642,47 @@ onMounted(() => {
-
ประเภทการลา
-
+
+ ประเภทการลา +
+
{{ props.row.typeLeave !== "" ? props.row.typeLeave : "-" }}
-
+
+ +
+
วัน/เดือน/ปี ที่ลา
-
+
{{ props.row.dateStartLeave ? date2Thai(props.row.dateStartLeave) : "-" }}
-
- -
-
จำนวนวันลา
-
+
จำนวนวันลา
+
{{ props.row.numLeave ? props.row.numLeave : "-" }}
-
ลามาเเล้ว
-
- {{ props.row.sumLeave ? props.row.sumLeave : "-" }} -
-
รวมเป็น
-
- {{ props.row.totalLeave ? props.row.totalLeave : "-" }} +
ลามาเเล้ว
+
+ {{ props.row.sumLeave ? props.row.sumLeave : "-" }}
-
สถานะ
-
- {{ props.row.status ? statusLeave(props.row.status) : "-" }} +
รวมเป็น
+
+ {{ props.row.totalLeave ? props.row.totalLeave : "-" }}
+
สถานะ
+
+ {{ props.row.status ? statusLeave(props.row.status) : "-" }} +
เหตุผล
{{ props.row.reason !== "" ? props.row.reason : "-" }} diff --git a/src/modules/04_registryNew/components/detail/GovernmentInformation/04_PerformSpecialWork.vue b/src/modules/04_registryNew/components/detail/GovernmentInformation/04_PerformSpecialWork.vue index 271606f40..b55530391 100644 --- a/src/modules/04_registryNew/components/detail/GovernmentInformation/04_PerformSpecialWork.vue +++ b/src/modules/04_registryNew/components/detail/GovernmentInformation/04_PerformSpecialWork.vue @@ -483,32 +483,38 @@ onMounted(() => {
-
+
เอกสารอ้างอิง
-
+
{{ props.row.reference ? props.row.reference : "-" }}
-
รายละเอียด
-
- {{ props.row.detail ? props.row.detail : "-" }} -
-
- -
เลขที่คำสั่ง
{{ props.row.refCommandNo ? props.row.refCommandNo : "-" }}
-
+
+ +
+
เอกสารอ้างอิง (ลงวันที่)
-
- {{ props.row.refCommandDate ? date2Thai(props.row.refCommandDate) : "-" }} +
+ {{ + props.row.refCommandDate + ? date2Thai(props.row.refCommandDate) + : "-" + }} +
+
+ +
+
รายละเอียด
+
+ {{ props.row.detail ? props.row.detail : "-" }}
-
diff --git a/src/modules/13_salary/components/SalaryRound/DialogForm.vue b/src/modules/13_salary/components/SalaryRound/DialogForm.vue index 619bf5f29..c153da265 100644 --- a/src/modules/13_salary/components/SalaryRound/DialogForm.vue +++ b/src/modules/13_salary/components/SalaryRound/DialogForm.vue @@ -21,7 +21,7 @@ const effective = defineModel("effective", { const isRead = defineModel("isRead", { required: true }); const year = defineModel("year"); const mixin = useCounterMixin(); -const { dialogConfirm, date2Thai, messageError } = mixin; +const { dialogConfirm, date2Thai, messageError,success } = mixin; const isReadonly = ref(false); // อ่านได้อย่างเดียว const effectiveDate = ref(null); /** ตัวแปร validate */ @@ -98,6 +98,7 @@ function editSummit() { modal.value = false; clearForm(); props.getData?.(); + success($q,'บันทึกข้อมูลสำเร็จ') }) .catch((e) => { messageError($q, e); @@ -119,6 +120,7 @@ function onSubmit() { .then((res) => { modal.value = false; clearForm(); + success($q,'บันทึกข้อมูลสำเร็จ') props.getData?.(); }) .catch((e) => { diff --git a/src/modules/13_salary/views/salaryRound.vue b/src/modules/13_salary/views/salaryRound.vue index 99776a592..d6b4be995 100644 --- a/src/modules/13_salary/views/salaryRound.vue +++ b/src/modules/13_salary/views/salaryRound.vue @@ -22,6 +22,7 @@ const { date2Thai, dateToISO, dialogConfirm, + success } = mixin; const dataStore = useSalaryDataStore(); const year = ref(0); @@ -151,6 +152,7 @@ function deleteData(id: string) { .delete(config.API.salaryPeriod() + `/${id}`) .then((res) => { getData(); + success($q,'ลบข้อมูลสำเร็จ') }) .catch((e) => { messageError($q, e);