From 2cb11a74455df203d9a260236d2d5a8155e5ab5b Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 24 Apr 2025 14:38:39 +0700 Subject: [PATCH 1/8] =?UTF-8?q?=E0=B9=80=E0=B8=A5=E0=B8=B7=E0=B9=88?= =?UTF-8?q?=E0=B8=AD=E0=B8=99=E0=B8=82=E0=B8=B1=E0=B9=89=E0=B8=99=E0=B8=82?= =?UTF-8?q?=E0=B8=AD=E0=B8=87=E0=B8=A5=E0=B8=B9=E0=B8=81=E0=B8=88=E0=B9=89?= =?UTF-8?q?=E0=B8=B2=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../04_salaryLists/DialogMoveLevelMulti.vue | 5 - .../04_salaryLists/TableTypePending.vue | 21 +- .../DialogMoveLevelMulti.vue | 383 ++++++++++++++++++ .../05_salaryListsEmployee/TabMain.vue | 5 +- .../05_salaryListsEmployee/TableTypeOther.vue | 8 +- .../TableTypePending.vue | 75 +++- 6 files changed, 457 insertions(+), 40 deletions(-) create mode 100644 src/modules/13_salary/components/05_salaryListsEmployee/DialogMoveLevelMulti.vue diff --git a/src/modules/13_salary/components/04_salaryLists/DialogMoveLevelMulti.vue b/src/modules/13_salary/components/04_salaryLists/DialogMoveLevelMulti.vue index 0777f5f88..16fa30827 100644 --- a/src/modules/13_salary/components/04_salaryLists/DialogMoveLevelMulti.vue +++ b/src/modules/13_salary/components/04_salaryLists/DialogMoveLevelMulti.vue @@ -309,11 +309,6 @@ watch(
{{ props.rowIndex + 1 }}
-
- {{ - `${props.row.prefix}${props.row.firstName} ${props.row.lastName}` - }} -
([ label: "ชื่อ-นามสกุล", sortable: false, field: "fullName", + format(val, row) { + return `${row.prefix}${row.firstName} ${row.lastName}`; + }, headerStyle: "font-size: 14px", style: "font-size: 14px", }, @@ -331,11 +333,7 @@ function onProperties(data: any) { isLeave.value = data.isLeave; } -/** - * function openPopup ย้ายกขั้น - * @param id profileId - * - */ +/** function openPopup ย้ายกขั้น*/ function onClickMoveLevelMulti() { modalDialogMoveLeveMulti.value = !modalDialogMoveLeve.value; } @@ -381,11 +379,7 @@ function onClickViewInfo(type: string, id: string) { -
- {{ - `${props.row.prefix}${props.row.firstName} ${props.row.lastName}` - }} -
{{ findOrgNameHtml(props.row) }}
diff --git a/src/modules/13_salary/components/05_salaryListsEmployee/DialogMoveLevelMulti.vue b/src/modules/13_salary/components/05_salaryListsEmployee/DialogMoveLevelMulti.vue new file mode 100644 index 000000000..705a5404d --- /dev/null +++ b/src/modules/13_salary/components/05_salaryListsEmployee/DialogMoveLevelMulti.vue @@ -0,0 +1,383 @@ + + + + + diff --git a/src/modules/13_salary/components/05_salaryListsEmployee/TabMain.vue b/src/modules/13_salary/components/05_salaryListsEmployee/TabMain.vue index 8cef3686d..eb7675cf3 100644 --- a/src/modules/13_salary/components/05_salaryListsEmployee/TabMain.vue +++ b/src/modules/13_salary/components/05_salaryListsEmployee/TabMain.vue @@ -40,7 +40,7 @@ const props = defineProps({ const splitterModel = ref(13); const modalDialogInfoCriteria = ref(false); //popup หลักเกณฑ์การพิจารณาเลื่อนขั้นเงินข้าราชการ -const isRetire = ref(false); //แสดงเฉพาะผู้เกษียณอายุราชการ +const isRetire = ref(false); //แสดงเฉพาะผู้เกษียณอายุราชการ const rows = ref([]); //ข้อมูลรายชื่อ const total = ref(0); //จำนวนรายการ const maxPage = ref(1); //จำนวนหน้า @@ -515,6 +515,8 @@ onMounted(() => { :rows="rows" :total="total" :snap-shot="props?.snapShot" + :is-retire="isRetire" + :is-close="props.periodLatest?.group1IsClose ?? false" /> { :total="total" :type="item.type" :snap-shot="props?.snapShot" + :is-close="props.periodLatest?.group1IsClose ?? false" /> diff --git a/src/modules/13_salary/components/05_salaryListsEmployee/TableTypeOther.vue b/src/modules/13_salary/components/05_salaryListsEmployee/TableTypeOther.vue index 306e3ce17..74fe96c70 100644 --- a/src/modules/13_salary/components/05_salaryListsEmployee/TableTypeOther.vue +++ b/src/modules/13_salary/components/05_salaryListsEmployee/TableTypeOther.vue @@ -28,6 +28,7 @@ const { dialogRemove, messageError, showLoader, hideLoader, success } = /** props*/ const formFilter = defineModel("formFilter", { required: true }); const maxPage = defineModel("maxPage", { required: true }); +const isClose = defineModel("isClose", { required: true }); const snapShot = defineModel("snapShot"); const props = defineProps({ rows: { type: Array }, @@ -311,7 +312,11 @@ watch( ("formFilter", { required: true }); const maxPage = defineModel("maxPage", { required: true }); +const isClose = defineModel("isClose", { required: true }); const snapShot = defineModel("snapShot"); const props = defineProps({ @@ -49,10 +52,13 @@ const props = defineProps({ total: { type: Number, }, + isRetire: { + type: Boolean, + }, }); /** ข้อมูล Table*/ -const columns = ref([ +const columns = ref([ { name: "no", align: "left", @@ -68,6 +74,9 @@ const columns = ref([ label: "ชื่อ-นามสกุล", sortable: false, field: "fullName", + format(val, row) { + return `${row.prefix}${row.firstName} ${row.lastName}`; + }, headerStyle: "font-size: 14px", style: "font-size: 14px", }, @@ -149,6 +158,9 @@ const columns = ref([ label: "สังกัด", sortable: false, field: "organization", + format(val, row) { + return findOrgName(row); + }, headerStyle: "font-size: 14px;min-width:280px", style: "font-size: 14px", }, @@ -223,6 +235,7 @@ const modalDialogMoveGroup = ref(false); //popup ย้ายกลุ const modalDialogMoveLeve = ref(false); //popup เลื่อนขั้น const modalDialogProperties = ref(false); //popup คุณสมบัติ const modalDialogInfo = ref(false); //popup ข้อมูลส่วนตัว +const modalDialogMoveLeveMulti = ref(false); //popup เลื่อนขั้น /** ตัวแปร*/ const profileId = ref(""); //id คน @@ -256,9 +269,7 @@ function onClickDelete(id: string) { }); } -/** - * function openPopup เพิ่มคนเลื่อนค่าจ้าง - */ +/** function openPopup เพิ่มคนเลื่อนค่าจ้าง*/ function onClickAddPerson() { modalDialogAddPerson.value = !modalDialogAddPerson.value; } @@ -297,9 +308,7 @@ function onClickMoveLevel(id: string, typeVal: string, isReserveVal: boolean) { isReserve.value = isReserveVal; } -/** - * function updatePageTable - */ +/** function updatePageTable*/ function updatePagePagination() { props.fetchDataTable?.(); } @@ -312,9 +321,7 @@ function updatePageSizePagination(newPagination: NewPagination) { formFilter.value.pageSize = newPagination.rowsPerPage; } -/** - * function ค้นหาข้อมูล Table - */ +/** function ค้นหาข้อมูล Table*/ function searchData() { formFilter.value.page = 1; props.fetchDataTable?.(); @@ -345,6 +352,11 @@ function onClickViewInfo(type: string, id: string) { modalDialogInfo.value = true; } +/** function openPopup ย้ายกขั้น*/ +function onClickMoveLevelMulti() { + modalDialogMoveLeveMulti.value = !modalDialogMoveLeve.value; +} + /** * callblack function เรียกข้อมูลรายชื่อใหม่ เมื่อมีการเปลี่ยน PageSize */ @@ -361,7 +373,11 @@ watch( เพิ่ม + + + เลื่อนขั้น + -
- {{ - `${props.row.prefix}${props.row.firstName} ${props.row.lastName}` - }} -
{{ findOrgNameHtml(props.row) }}
@@ -600,6 +624,23 @@ watch( :type="infoType" :employee-class="'-employee'" /> + + + From 543ae775bd448dab3de77e5bb662fc64d960991d Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 24 Apr 2025 15:06:32 +0700 Subject: [PATCH 2/8] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=20Eva?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Detail/step/step2.vue | 59 +++++++---------- .../components/Detail/step/step5.vue | 33 ++++------ .../components/Detail/step/step6.vue | 64 +++++++------------ 3 files changed, 59 insertions(+), 97 deletions(-) diff --git a/src/modules/12_evaluatePersonal/components/Detail/step/step2.vue b/src/modules/12_evaluatePersonal/components/Detail/step/step2.vue index 122218c2e..8c82e9109 100644 --- a/src/modules/12_evaluatePersonal/components/Detail/step/step2.vue +++ b/src/modules/12_evaluatePersonal/components/Detail/step/step2.vue @@ -136,7 +136,6 @@ onMounted(async () => { outlined v-model="formCommand.elementaryFullName" label="ชื่อ-นามสกุล" - lazy-rules hide-bottom-space /> @@ -144,42 +143,38 @@ onMounted(async () => {
- +
@@ -202,50 +197,44 @@ onMounted(async () => { outlined v-model="formCommand.abovelevelFullname" label="ชื่อ-นามสกุล" - :rules="[(val:string) => !!val || `${'กรุณากรอกชื่อ-นามสกุล'}`]" - lazy-rules hide-bottom-space />
- +
diff --git a/src/modules/12_evaluatePersonal/components/Detail/step/step5.vue b/src/modules/12_evaluatePersonal/components/Detail/step/step5.vue index f2ea25601..5c01eaa20 100644 --- a/src/modules/12_evaluatePersonal/components/Detail/step/step5.vue +++ b/src/modules/12_evaluatePersonal/components/Detail/step/step5.vue @@ -72,17 +72,17 @@ async function save() { ) { dialogConfirm($q, async () => { showLoader(); - http + await http .put(config.API.evaluationNext5To6(id.value)) .then(() => { success($q, "บันทึกแจ้งผลการประกาศคัดเลือกสำเร็จ"); + store.step = 6; + store.currentStep = 6; }) .catch((e) => { messageError($q, e); }) .finally(() => { - store.step = 6; - store.currentStep = 6; hideLoader(); }); }); @@ -164,7 +164,6 @@ async function copyLink(name: string) { /** function เรียกข้อมูลวันที่ประกาศ */ async function getDate() { - showLoader(); await http .get(config.API.evaluationDateAnnounce(id.value)) .then((res) => { @@ -174,11 +173,6 @@ async function getDate() { }) .catch((e) => { messageError($q, e); - }) - .finally(() => { - setTimeout(() => { - hideLoader(); - }, 1500); }); } @@ -186,7 +180,6 @@ const download10Url = ref(""); /** function เช็คไฟล์อัปโหลด*/ async function checkDocResult() { - showLoader(); await http .get( config.API.evaluationPatchData( @@ -197,11 +190,6 @@ async function checkDocResult() { ) .then((res: any) => { download10Url.value = res.data.downloadUrl; - }) - .finally(() => { - setTimeout(() => { - hideLoader(); - }, 1500); }); } @@ -209,7 +197,6 @@ async function checkDocResult() { * function เรียกข้อมูลผลงาน */ async function fetchDataSigner() { - showLoader(); await http .get(config.API.evaluationSigner(id.value, 1)) .then((res) => { @@ -221,16 +208,18 @@ async function fetchDataSigner() { }) .catch((e) => { messageError($q, e); - }) - .finally(() => { - setTimeout(() => { - hideLoader(); - }, 1500); }); } onMounted(async () => { - await Promise.all([getDate(), checkDocResult(), fetchDataSigner()]); + try { + showLoader(); + await Promise.all([getDate(), checkDocResult(), fetchDataSigner()]); + } catch (error) { + console.log(error); + } finally { + hideLoader(); + } }); diff --git a/src/modules/12_evaluatePersonal/components/Detail/step/step6.vue b/src/modules/12_evaluatePersonal/components/Detail/step/step6.vue index 29227328f..4af879af6 100644 --- a/src/modules/12_evaluatePersonal/components/Detail/step/step6.vue +++ b/src/modules/12_evaluatePersonal/components/Detail/step/step6.vue @@ -179,52 +179,44 @@ onMounted(async () => { outlined label="ชื่อ-นามสกุล" v-model="formCommand.elementaryFullName" - lazy-rules hide-bottom-space />
- - - +
@@ -247,8 +239,6 @@ onMounted(async () => { outlined v-model="formCommand.abovelevelFullname" label="ชื่อ-นามสกุล" - :rules="[(val:string) => !!val || `${'กรุณากรอกชื่อ-นามสกุล'}`]" - lazy-rules hide-bottom-space /> @@ -256,45 +246,39 @@ onMounted(async () => {
- - +
From b090d8fe9b46a7989a4efb84e9e08b7dfb95659a Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Fri, 25 Apr 2025 09:30:37 +0700 Subject: [PATCH 3/8] fixing display phone org --- .../components/DialogStructureDetail.vue | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/modules/02_organization/components/DialogStructureDetail.vue b/src/modules/02_organization/components/DialogStructureDetail.vue index 14e9dc543..aaaa56ba4 100644 --- a/src/modules/02_organization/components/DialogStructureDetail.vue +++ b/src/modules/02_organization/components/DialogStructureDetail.vue @@ -156,19 +156,13 @@ watch(
เบอร์โทร
-

+

{{ `ภายนอก ${formData.orgPhoneEx}` }}

-

+

{{ `ภายใน ${formData.orgPhoneIn}` }}

-

- - -

+

-

From debfd5b45995362933ae5ae741f27f2a996c7d9f Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Fri, 25 Apr 2025 11:17:45 +0700 Subject: [PATCH 4/8] =?UTF-8?q?=E0=B9=81=E0=B8=AA=E0=B8=94=E0=B8=87=20posi?= =?UTF-8?q?tion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../16_positionEmployee/components/DialogSelectPerson.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/16_positionEmployee/components/DialogSelectPerson.vue b/src/modules/16_positionEmployee/components/DialogSelectPerson.vue index e378803f7..e1a171523 100644 --- a/src/modules/16_positionEmployee/components/DialogSelectPerson.vue +++ b/src/modules/16_positionEmployee/components/DialogSelectPerson.vue @@ -93,6 +93,7 @@ const visibleColumnsResult = ref([ "no", "citizenId", "name", + "positionName", "posTypeName", "posLevelName", ]); @@ -621,7 +622,6 @@ watch( map-options :options="columnsResult" option-value="name" - style="min-width: 140px" class="col-xs-12 col-sm-3 col-md-2" /> From 9d1955b5aa9b7114c9231a80835f42ef041ebe4d Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 25 Apr 2025 13:58:59 +0700 Subject: [PATCH 5/8] =?UTF-8?q?UI=20API=20=E0=B8=82=E0=B9=89=E0=B8=AD?= =?UTF-8?q?=E0=B8=A1=E0=B8=B9=E0=B8=A5=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=A5=E0=B8=B2?= =?UTF-8?q?=E0=B8=A2=E0=B9=89=E0=B8=AD=E0=B8=99=E0=B8=AB=E0=B8=A5=E0=B8=B1?= =?UTF-8?q?=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/09_leave/api.leave.ts | 1 + .../components/07_LeaveHistory/DialogForm.vue | 505 ++++++++++++++++++ src/modules/09_leave/interface/index/Main.ts | 9 +- .../interface/response/leaveHistory.ts | 32 ++ src/modules/09_leave/router.ts | 14 +- .../09_leave/stores/LeaveHistoryStore.ts | 16 + .../09_leave/views/07_LeaveHistoryMain.vue | 420 +++++++++++++++ 7 files changed, 995 insertions(+), 2 deletions(-) create mode 100644 src/modules/09_leave/components/07_LeaveHistory/DialogForm.vue create mode 100644 src/modules/09_leave/interface/response/leaveHistory.ts create mode 100644 src/modules/09_leave/stores/LeaveHistoryStore.ts create mode 100644 src/modules/09_leave/views/07_LeaveHistoryMain.vue diff --git a/src/api/09_leave/api.leave.ts b/src/api/09_leave/api.leave.ts index 6fc2d10a2..e290a261b 100644 --- a/src/api/09_leave/api.leave.ts +++ b/src/api/09_leave/api.leave.ts @@ -38,6 +38,7 @@ export default { leaveReportReject: (id: string) => `${leave}/report/reject/${id}`, leaveDeleteApprove: (id: string) => `${leave}/admin/delete/approve/${id}`, leaveDeleteReject: (id: string) => `${leave}/admin/delete/reject/${id}`, + leaveBeginning: `${leave}-beginning`, /**รายงาน */ leaveReportTimeRecords: (type: string) => diff --git a/src/modules/09_leave/components/07_LeaveHistory/DialogForm.vue b/src/modules/09_leave/components/07_LeaveHistory/DialogForm.vue new file mode 100644 index 000000000..c71aee677 --- /dev/null +++ b/src/modules/09_leave/components/07_LeaveHistory/DialogForm.vue @@ -0,0 +1,505 @@ + + + + + diff --git a/src/modules/09_leave/interface/index/Main.ts b/src/modules/09_leave/interface/index/Main.ts index 0f0a59dd5..ff9221e9f 100644 --- a/src/modules/09_leave/interface/index/Main.ts +++ b/src/modules/09_leave/interface/index/Main.ts @@ -11,4 +11,11 @@ interface DataDateMonthObject { month: number; year: number; } -export type { DataOption, DataOption2, DataDateMonthObject }; + +interface DataPagination { + descending: boolean; + page: number; + rowsPerPage: number; + sortBy: string; +} +export type { DataOption, DataOption2, DataDateMonthObject, DataPagination }; diff --git a/src/modules/09_leave/interface/response/leaveHistory.ts b/src/modules/09_leave/interface/response/leaveHistory.ts new file mode 100644 index 000000000..502cae1ea --- /dev/null +++ b/src/modules/09_leave/interface/response/leaveHistory.ts @@ -0,0 +1,32 @@ +interface DataLeaveType { + code?: string; + createdAt?: string; + createdFullName?: string; + createdUserId?: string; + id: string; + lastUpdateFullName?: string; + lastUpdateUserId?: string; + lastUpdatedAt?: string; + limit?: number; + name: string; +} + +interface DataLeaveBeginning { + createdAt: string; + createdFullName: string; + firstName: string; + id: string; + lastName: string; + lastUpdateFullName: string; + lastUpdatedAt: string; + leaveDays: number; + leaveDaysUsed: number; + leaveType: string; + leaveTypeCode: string; + leaveTypeId: string; + leaveYear: number; + prefix: string; + profileId: string; +} + +export type { DataLeaveType, DataLeaveBeginning }; diff --git a/src/modules/09_leave/router.ts b/src/modules/09_leave/router.ts index 5ec1f7604..8c745e47d 100644 --- a/src/modules/09_leave/router.ts +++ b/src/modules/09_leave/router.ts @@ -13,6 +13,9 @@ const leaveReport = () => import("@/modules/09_leave/views/06_ReportMain.vue"); // const CheckinReport = () => // import("@/modules/09_leave/views/!07_ReportCheckin.vue"); + +const LeaveHistoryMain = () => + import("@/modules/09_leave/views/07_LeaveHistoryMain.vue"); export default [ { path: "/round-time", @@ -94,7 +97,6 @@ export default [ Role: "STAFF", }, }, - { path: "/checkin-report", name: "checkinReport", @@ -105,4 +107,14 @@ export default [ Role: "STAFF", }, }, + { + path: "/leave-history", + name: "leaveHistory", + component: LeaveHistoryMain, + meta: { + Auth: true, + Key: "SYS_LEAVE_HISTORY", + Role: "STAFF", + }, + }, ]; diff --git a/src/modules/09_leave/stores/LeaveHistoryStore.ts b/src/modules/09_leave/stores/LeaveHistoryStore.ts new file mode 100644 index 000000000..bafe489a7 --- /dev/null +++ b/src/modules/09_leave/stores/LeaveHistoryStore.ts @@ -0,0 +1,16 @@ +import { defineStore } from "pinia"; +import { ref } from "vue"; + +import type { DataLeaveType } from "@/modules/09_leave/interface/response/leaveHistory"; + +export const useLeaveHistoryDataStore = defineStore("leaveHistory", () => { + const leaveTypeData = ref([ + { + id: "00000000-0000-0000-0000-000000000000", + name: "ทั้งหมด", + }, + ]); + return { + leaveTypeData, + }; +}); diff --git a/src/modules/09_leave/views/07_LeaveHistoryMain.vue b/src/modules/09_leave/views/07_LeaveHistoryMain.vue new file mode 100644 index 000000000..06da571b3 --- /dev/null +++ b/src/modules/09_leave/views/07_LeaveHistoryMain.vue @@ -0,0 +1,420 @@ + + + + + From bf29f6d058278cd3873bbfab0ac10a5ca0b38684 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 25 Apr 2025 14:45:52 +0700 Subject: [PATCH 6/8] =?UTF-8?q?fix=20=E0=B9=80=E0=B8=A5=E0=B8=B7=E0=B9=88?= =?UTF-8?q?=E0=B8=AD=E0=B8=99=E0=B8=82=E0=B8=B1=E0=B9=89=E0=B8=99=E0=B9=80?= =?UTF-8?q?=E0=B8=87=E0=B8=B4=E0=B8=99=E0=B9=80=E0=B8=94=E0=B8=B7=E0=B8=AD?= =?UTF-8?q?=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../04_salaryLists/DialogMoveLevelMulti.vue | 44 +++++-------------- .../DialogMoveLevelMulti.vue | 43 +++++------------- 2 files changed, 21 insertions(+), 66 deletions(-) diff --git a/src/modules/13_salary/components/04_salaryLists/DialogMoveLevelMulti.vue b/src/modules/13_salary/components/04_salaryLists/DialogMoveLevelMulti.vue index 16fa30827..1f2c3b884 100644 --- a/src/modules/13_salary/components/04_salaryLists/DialogMoveLevelMulti.vue +++ b/src/modules/13_salary/components/04_salaryLists/DialogMoveLevelMulti.vue @@ -166,6 +166,11 @@ function inputEdit(val: boolean) { }; } +const pagination = ref({ + page: 1, + rowsPerPage: 50, +}); + watch( () => modal.value, () => { @@ -177,6 +182,8 @@ watch( keyword.value = ""; type.value = ""; selectedData.value = []; + pagination.value.page = 1; + pagination.value.rowsPerPage = 50; } } ); @@ -267,8 +274,7 @@ watch(
ทั้งหมด {{ rows.length }} รายการ
- - +
@@ -353,31 +358,4 @@ watch( - + diff --git a/src/modules/13_salary/components/05_salaryListsEmployee/DialogMoveLevelMulti.vue b/src/modules/13_salary/components/05_salaryListsEmployee/DialogMoveLevelMulti.vue index 705a5404d..bb4bc9ca9 100644 --- a/src/modules/13_salary/components/05_salaryListsEmployee/DialogMoveLevelMulti.vue +++ b/src/modules/13_salary/components/05_salaryListsEmployee/DialogMoveLevelMulti.vue @@ -83,6 +83,10 @@ const typeRangeOps = computed(() => { }); const keyword = ref(""); +const pagination = ref({ + page: 1, + rowsPerPage: 50, +}); /** * function เรียกข้อมูลรายชื่อ @@ -177,6 +181,8 @@ watch( keyword.value = ""; type.value = ""; selectedData.value = []; + pagination.value.page = 1; + pagination.value.rowsPerPage = 50; } } ); @@ -267,8 +273,7 @@ watch(
ทั้งหมด {{ rows.length }} รายการ
- - +
@@ -353,31 +357,4 @@ watch( - + From 50a8f9c5feb6254758c9b0e27ef26567b028fbaf Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 25 Apr 2025 16:01:15 +0700 Subject: [PATCH 7/8] =?UTF-8?q?fix=20=E0=B8=AB=E0=B8=99=E0=B9=88=E0=B8=A7?= =?UTF-8?q?=E0=B8=A2=E0=B8=87=E0=B8=B2=E0=B8=99=20Staff?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/13_salary/views/04_salaryLists.vue | 10 +++++++++- src/modules/13_salary/views/05_salaryListsEmployee.vue | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/modules/13_salary/views/04_salaryLists.vue b/src/modules/13_salary/views/04_salaryLists.vue index 62646e971..c1ceebf50 100644 --- a/src/modules/13_salary/views/04_salaryLists.vue +++ b/src/modules/13_salary/views/04_salaryLists.vue @@ -4,6 +4,7 @@ import { useQuasar } from "quasar"; import { useSalaryListSDataStore } from "@/modules/13_salary/store/SalaryListsStore"; import { useCounterMixin } from "@/stores/mixin"; +import { checkPermission } from "@/utils/permissions"; import config from "@/app.config"; import http from "@/plugins/http"; @@ -542,6 +543,7 @@ onMounted(async () => { /> { ไม่มีข้อมูล -