From c1bb3651ab3f400784e7151ab0d9aa412003a111 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 26 Jun 2024 14:15:54 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=A5=E0=B8=82=E0=B8=97=E0=B8=B5?= =?UTF-8?q?=E0=B9=88=E0=B8=95=E0=B8=B3=E0=B9=81=E0=B8=AB=E0=B8=99=E0=B9=88?= =?UTF-8?q?=E0=B8=87=20=3D>=20=E0=B8=95=E0=B8=B3=E0=B9=81=E0=B8=AB?= =?UTF-8?q?=E0=B8=99=E0=B9=88=E0=B8=87=E0=B9=80=E0=B8=A5=E0=B8=82=E0=B8=97?= =?UTF-8?q?=E0=B8=B5=E0=B9=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/05_placement/api.placement.ts | 1 + src/components/Dialogs/DialogOrgSelect.vue | 20 ++++++++----- .../Dialogs/DialogOrgSelectEmployee.vue | 10 +++---- .../Dialogs/DialogOrgSelectOneStep.vue | 2 +- src/interface/response/listPerson.ts | 2 +- .../views/MainTreeEmployee.vue | 6 ++-- .../02_organizational/views/TreeTest.vue | 2 +- .../components/DialogFormPosition.vue | 14 ++++----- .../components/DialogHistoryPos.vue | 6 ++-- .../components/DialogPositionDetail.vue | 6 ++-- .../components/DialogSelectPerson.vue | 12 ++++---- .../components/DialogSuccession.vue | 2 +- .../components/TreeTable.vue | 2 +- .../interface/response/organizational.ts | 18 ++++++------ .../04_registry/components/PopupHistory.vue | 8 ++--- src/modules/04_registry/components/Salary.vue | 4 +-- .../components/DialogHistory.vue | 8 ++--- .../detail/GovernmentInformation/01_Info.vue | 6 ++-- .../detail/Salary/01_PositionSalary.vue | 6 ++-- .../components/AppointEmployee/Main.vue | 2 +- .../AppointMent/AppointmentModal.vue | 4 +-- .../components/ChangePosition/Modal.vue | 4 +-- .../components/PersonalList/CardPosition.vue | 8 ++--- .../PersonalList/DialogSelectOrg.vue | 29 +++++++++++++++++-- .../components/Repatriate/Dialogbody.vue | 2 +- .../components/Repatriate/RepatriateMain.vue | 2 +- .../components/helpgovernment/Dialogbody.vue | 2 +- .../components/helpgovernment/mainHelp.vue | 2 +- .../components/DialogSelectPos.vue | 8 ++--- .../08_registryEmployee/views/MainOld.vue | 2 +- .../10_order/components/PopupHistory.vue | 2 +- .../components/7_ListSuspend/DetailPage.vue | 4 +-- .../interface/request/director.ts | 2 +- .../interface/request/disciplinary.ts | 6 ++-- .../interface/response/investigate.ts | 2 +- .../Tab/Dialog/DialogGovernment.vue | 2 +- src/modules/14_KPI/interface/index/Main.ts | 2 +- .../components/history/AddPage.vue | 2 +- .../components/historyEmployee/AddPage.vue | 2 +- .../components/DialogFormPosition.vue | 14 ++++----- .../components/DialogHistoryPos.vue | 6 ++-- .../components/DialogPositionDetail.vue | 2 +- .../components/DialogSelectPerson.vue | 12 ++++---- .../components/DialogSuccession.vue | 2 +- .../components/TreeTable.vue | 2 +- .../interface/response/organizational.ts | 18 ++++++------ src/views/TestManagement.vue | 2 +- 47 files changed, 155 insertions(+), 127 deletions(-) diff --git a/src/api/05_placement/api.placement.ts b/src/api/05_placement/api.placement.ts index 1c1e7b4a3..a5ac04908 100644 --- a/src/api/05_placement/api.placement.ts +++ b/src/api/05_placement/api.placement.ts @@ -55,6 +55,7 @@ export default { placementEducationId: (id: string) => `${placement}/education/${id}`, // position placementPosition: () => `${placement}/position/use`, + placementPositionUse: () => `${placement}/use`, // putPositiom putPosition: (id: any) => `${placement}/position/${id}`, // clear Position diff --git a/src/components/Dialogs/DialogOrgSelect.vue b/src/components/Dialogs/DialogOrgSelect.vue index e6b7280be..336409cfa 100644 --- a/src/components/Dialogs/DialogOrgSelect.vue +++ b/src/components/Dialogs/DialogOrgSelect.vue @@ -98,7 +98,7 @@ const columns = ref([ { name: "posMasterNo", align: "left", - label: "เลขที่ตำแหน่ง", + label: "ตำแหน่งเลขที่", sortable: true, field: "posMasterNo", headerStyle: "font-size: 14px", @@ -379,7 +379,7 @@ function filterItemsTaps(data: TreeMain[]) { } /** - * function เลือกเลขที่ตำแหน่ง + * function เลือกตำแหน่งเลขที่ * @param id เลชที่ตำแหน่ง */ async function onClickSelectPos(id: string) { @@ -435,6 +435,8 @@ watch( async (n) => { if (n == true) { getActive(); + console.log(props.dataRows); + if (props?.dataRows?.node !== null && props?.dataRows?.nodeId !== null) { await fetchPosFind(props?.dataRows?.node, props?.dataRows?.nodeId); if (positionId.value) { @@ -491,7 +493,7 @@ function onSubmit() { nodeId: dataPosMaster.nodeId, orgRevisionId: formActive.activeId, positionId: selectedPos.value[0].id, - posMasterNo: dataPosMaster.posMasterNo, //เลขที่ตำแหน่ง(เลขอย่่างเดียว) + posMasterNo: dataPosMaster.posMasterNo, //ตำแหน่งเลขที่(เลขอย่่างเดียว) positionName: selectedPos.value[0].positionName, //ชื่อตำแหน่ง positionField: selectedPos.value[0].positionField, //ชื่อตำแหน่ง posTypeId: selectedPos.value[0].posTypeId, //ชื่อตำแหน่ง @@ -586,8 +588,8 @@ function onSubmit() { :key="index" :name="item" > -
- +
+
- เลือกเลขที่ตำแหน่ง + เลือกตำแหน่งเลขที่
@@ -860,10 +862,12 @@ function onSubmit() {
{{ - props.row.positionArea ? props.row.positionArea:'-' + props.row.positionArea + ? props.row.positionArea + : "-" }}
diff --git a/src/components/Dialogs/DialogOrgSelectEmployee.vue b/src/components/Dialogs/DialogOrgSelectEmployee.vue index b4f942fdf..c174ad165 100644 --- a/src/components/Dialogs/DialogOrgSelectEmployee.vue +++ b/src/components/Dialogs/DialogOrgSelectEmployee.vue @@ -97,7 +97,7 @@ const columns = ref([ { name: "posMasterNo", align: "left", - label: "เลขที่ตำแหน่ง", + label: "ตำแหน่งเลขที่", sortable: true, field: "posMasterNo", headerStyle: "font-size: 14px", @@ -360,7 +360,7 @@ function filterItemsTaps(data: TreeMain[]) { } /** - * function เลือกเลขที่ตำแหน่ง + * function เลือกตำแหน่งเลขที่ * @param id เลชที่ตำแหน่ง */ async function onClickSelectPos(id: string) { @@ -472,7 +472,7 @@ function onSubmit() { nodeId: dataPosMaster.nodeId, orgRevisionId: formActive.activeId, positionId: selectedPos.value[0].id, - posMasterNo: dataPosMaster.posMasterNo, //เลขที่ตำแหน่ง(เลขอย่่างเดียว) + posMasterNo: dataPosMaster.posMasterNo, //ตำแหน่งเลขที่(เลขอย่่างเดียว) positionName: selectedPos.value[0].positionName, //ชื่อตำแหน่ง positionField: selectedPos.value[0].positionField, //ชื่อตำแหน่ง posTypeId: selectedPos.value[0].posTypeId, //ชื่อตำแหน่ง @@ -568,7 +568,7 @@ function onSubmit() { :name="item" >
- +
- เลือกเลขที่ตำแหน่ง + เลือกตำแหน่งเลขที่
diff --git a/src/components/Dialogs/DialogOrgSelectOneStep.vue b/src/components/Dialogs/DialogOrgSelectOneStep.vue index 7feab2306..0534af84e 100644 --- a/src/components/Dialogs/DialogOrgSelectOneStep.vue +++ b/src/components/Dialogs/DialogOrgSelectOneStep.vue @@ -279,7 +279,7 @@ function filterItemsTaps(data: TreeMain[]) { } /** - * function เลือกเลขที่ตำแหน่ง + * function เลือกตำแหน่งเลขที่ * @param id เลชที่ตำแหน่ง */ async function onClickSelectPos(id: string) { diff --git a/src/interface/response/listPerson.ts b/src/interface/response/listPerson.ts index 1f7f4b14a..110d7410b 100644 --- a/src/interface/response/listPerson.ts +++ b/src/interface/response/listPerson.ts @@ -4,7 +4,7 @@ interface ResponsePreson { prefix: string; //คำนำหน้า firstName: string; //ชื่อ lastName: string; //นามสกุล - posNo: string; //เลขที่ตำแหน่ง + posNo: string; //ตำแหน่งเลขที่ position: string; //ตำแหน่ง positionLevel: string; //ระดับ salaries: number; //เงินเดือน diff --git a/src/modules/02_organizational/views/MainTreeEmployee.vue b/src/modules/02_organizational/views/MainTreeEmployee.vue index 5d1e9dba2..638089399 100644 --- a/src/modules/02_organizational/views/MainTreeEmployee.vue +++ b/src/modules/02_organizational/views/MainTreeEmployee.vue @@ -633,8 +633,8 @@ dense lazy-rules v-model="posNo" - :label="`${'เลขที่ตำแหน่ง'}`" - :rules="[(val:any) => !!val || `${'กรุณากรอกเลขที่ตำแหน่ง'}`]" + :label="`${'ตำแหน่งเลขที่'}`" + :rules="[(val:any) => !!val || `${'กรุณากรอกตำแหน่งเลขที่'}`]" />
@@ -948,7 +948,7 @@ const columns = ref([ { name: "posNo", align: "left", - label: "เลขที่ตำแหน่ง", + label: "ตำแหน่งเลขที่", sortable: true, field: "posNo", headerStyle: "font-size: 14px", diff --git a/src/modules/02_organizational/views/TreeTest.vue b/src/modules/02_organizational/views/TreeTest.vue index 58e446b5f..b4b5fb291 100644 --- a/src/modules/02_organizational/views/TreeTest.vue +++ b/src/modules/02_organizational/views/TreeTest.vue @@ -277,7 +277,7 @@ const columns = ref([ { name: "positionNo", align: "left", - label: "เลขที่ตำแหน่ง", + label: "ตำแหน่งเลขที่", field: "positionNo", sortable: true, }, diff --git a/src/modules/02_organizationalNew/components/DialogFormPosition.vue b/src/modules/02_organizationalNew/components/DialogFormPosition.vue index fd47fe739..43521a7b9 100644 --- a/src/modules/02_organizationalNew/components/DialogFormPosition.vue +++ b/src/modules/02_organizationalNew/components/DialogFormPosition.vue @@ -368,10 +368,10 @@ function onSubmit() { positionIsSelected: e.positionIsSelected, })); const body = { - posMasterNoPrefix: formData.prefixNo, //*Prefix นำหน้าเลขที่ตำแหน่ง เป็น Optional (ไม่ใช่อักษรย่อของหน่วยงาน/ส่วนราชการ) - posMasterNo: Number(formData.positionNo), //*เลขที่ตำแหน่ง เป็นตัวเลข - posMasterNoSuffix: formData.suffixNo, //Suffix หลังเลขที่ตำแหน่ง เช่น ช. - reason: formData.reason, //Suffix หลังเลขที่ตำแหน่ง เช่น ช. + posMasterNoPrefix: formData.prefixNo, //*Prefix นำหน้าตำแหน่งเลขที่ เป็น Optional (ไม่ใช่อักษรย่อของหน่วยงาน/ส่วนราชการ) + posMasterNo: Number(formData.positionNo), //*ตำแหน่งเลขที่ เป็นตัวเลข + posMasterNoSuffix: formData.suffixNo, //Suffix หลังตำแหน่งเลขที่ เช่น ช. + reason: formData.reason, //Suffix หลังตำแหน่งเลขที่ เช่น ช. isDirector: formData.isDirector, isOfficer: formData.isOfficer ? formData.isOfficer : false, orgRootId: props.orgLevel === 0 ? props.treeId : null, //Id สำนัก @@ -670,11 +670,11 @@ async function emitSearch(keyword: string, typeSelect: string) { dense outlined for="#positionNo" - label="เลขที่ตำแหน่ง" + label="ตำแหน่งเลขที่" lazy-rules hide-bottom-space :rules="[ - (val) => !!val || `${'กรุณากรอกเลขที่ตำแหน่ง'}`, + (val) => !!val || `${'กรุณากรอกตำแหน่งเลขที่'}`, ]" mask="########################" /> @@ -686,7 +686,7 @@ async function emitSearch(keyword: string, typeSelect: string) { dense outlined for="#suffixNo" - label="Suffix เลขที่ตำแหน่ง" + label="Suffix ตำแหน่งเลขที่" />
diff --git a/src/modules/02_organizationalNew/components/DialogHistoryPos.vue b/src/modules/02_organizationalNew/components/DialogHistoryPos.vue index 6a69a3504..f99463770 100644 --- a/src/modules/02_organizationalNew/components/DialogHistoryPos.vue +++ b/src/modules/02_organizationalNew/components/DialogHistoryPos.vue @@ -46,7 +46,7 @@ const columns = ref([ { name: "posMasterNoPrefix", align: "left", - label: " Prefix เลขที่ตำแหน่ง", + label: " Prefix ตำแหน่งเลขที่", sortable: true, field: "posMasterNoPrefix", headerStyle: "font-size: 14px", @@ -55,7 +55,7 @@ const columns = ref([ { name: "posMasterNo", align: "left", - label: "เลขที่ตำแหน่ง", + label: "ตำแหน่งเลขที่", sortable: true, field: "posMasterNo", headerStyle: "font-size: 14px", @@ -64,7 +64,7 @@ const columns = ref([ { name: "posMasterNoSuffix", align: "left", - label: "Suffix เลขที่ตำแหน่ง", + label: "Suffix ตำแหน่งเลขที่", sortable: true, field: "posMasterNoSuffix", headerStyle: "font-size: 14px", diff --git a/src/modules/02_organizationalNew/components/DialogPositionDetail.vue b/src/modules/02_organizationalNew/components/DialogPositionDetail.vue index 4d8c4cbaa..1a2e8e37e 100644 --- a/src/modules/02_organizationalNew/components/DialogPositionDetail.vue +++ b/src/modules/02_organizationalNew/components/DialogPositionDetail.vue @@ -32,7 +32,7 @@ const prosp = defineProps({ /** formData*/ const formData = reactive({ - positionNo: "", //*เลขที่ตำแหน่ง + positionNo: "", //*ตำแหน่งเลขที่ positionType: "", //*ประเภทตำแหน่ง positionPathSide: "", //*ตำแหน่งในสายงาน positionLine: "", //*สายงาน @@ -124,7 +124,7 @@ function close() { modal.value = false; } -/** callblack function ทำเมื่อเปิด popup set เลขที่ตำแหน่ง และสถานะตำแหน่ง */ +/** callblack function ทำเมื่อเปิด popup set ตำแหน่งเลขที่ และสถานะตำแหน่ง */ watch( () => modal.value, () => { @@ -180,7 +180,7 @@ watch(
-

เลขที่ตำแหน่ง

+

ตำแหน่งเลขที่

diff --git a/src/modules/02_organizationalNew/components/DialogSelectPerson.vue b/src/modules/02_organizationalNew/components/DialogSelectPerson.vue index 348be8ed2..034445d6d 100644 --- a/src/modules/02_organizationalNew/components/DialogSelectPerson.vue +++ b/src/modules/02_organizationalNew/components/DialogSelectPerson.vue @@ -70,11 +70,11 @@ const selected = ref([]); const isSit = ref(false); const formData = reactive({ - positionNo: "", //*เลขที่ตำแหน่ง - positionType: "", //*เลขที่ตำแหน่ง - positionLevel: "", //*เลขที่ตำแหน่ง - personal: "", //*เลขที่ตำแหน่ง - position: "", //*เลขที่ตำแหน่ง + positionNo: "", //*ตำแหน่งเลขที่ + positionType: "", //*ตำแหน่งเลขที่ + positionLevel: "", //*ตำแหน่งเลขที่ + personal: "", //*ตำแหน่งเลขที่ + position: "", //*ตำแหน่งเลขที่ status: "", }); @@ -427,7 +427,7 @@ watch([() => page.value, () => pageSize.value], () => {
-

เลขที่ตำแหน่ง

+

ตำแหน่งเลขที่

{{ formData.positionNo }}

diff --git a/src/modules/02_organizationalNew/components/DialogSuccession.vue b/src/modules/02_organizationalNew/components/DialogSuccession.vue index 6180f17fa..288de4717 100644 --- a/src/modules/02_organizationalNew/components/DialogSuccession.vue +++ b/src/modules/02_organizationalNew/components/DialogSuccession.vue @@ -97,7 +97,7 @@ const columns = ref([ { name: "posMasterNo", align: "left", - label: "เลขที่ตำแหน่ง", + label: "ตำแหน่งเลขที่", sortable: true, field: "posMasterNo", headerStyle: "font-size: 14px", diff --git a/src/modules/02_organizationalNew/components/TreeTable.vue b/src/modules/02_organizationalNew/components/TreeTable.vue index 88ccb2738..fc4f74303 100644 --- a/src/modules/02_organizationalNew/components/TreeTable.vue +++ b/src/modules/02_organizationalNew/components/TreeTable.vue @@ -134,7 +134,7 @@ const columns = ref([ { name: "posMasterNo", align: "left", - label: "เลขที่ตำแหน่ง", + label: "ตำแหน่งเลขที่", sortable: false, field: "posMasterNo", headerStyle: "font-size: 14px", diff --git a/src/modules/02_organizationalNew/interface/response/organizational.ts b/src/modules/02_organizationalNew/interface/response/organizational.ts index d674b5773..34b1dc941 100644 --- a/src/modules/02_organizationalNew/interface/response/organizational.ts +++ b/src/modules/02_organizationalNew/interface/response/organizational.ts @@ -94,9 +94,9 @@ interface Position { interface PosMaster { id: string; // id อัตรากำลัง posmaster orgShortname: string; // อักษรย่อตำแหน่ง - posMasterNoPrefix: string; // Prefix นำหน้าเลขที่ตำแหน่ง เป็น Optional (ไม่ใช่อักษรย่อของหน่วยงาน/ส่วนราชการ) - posMasterNo: number | string; // เลขที่ตำแหน่ง เป็นตัวเลข - posMasterNoSuffix: string | null; // Suffix หลังเลขที่ตำแหน่ง เช่น ช. + posMasterNoPrefix: string; // Prefix นำหน้าตำแหน่งเลขที่ เป็น Optional (ไม่ใช่อักษรย่อของหน่วยงาน/ส่วนราชการ) + posMasterNo: number | string; // ตำแหน่งเลขที่ เป็นตัวเลข + posMasterNoSuffix: string | null; // Suffix หลังตำแหน่งเลขที่ เช่น ช. positionName: string; // ชื่อตำแหน่งในสายงาน (ชื่อตำแหน่ง) positionField: string; // สายงาน posTypeId: string; // ประเภทตำแหน่ง @@ -134,9 +134,9 @@ interface Position2 { interface PosMaster2 { id: string; // id อัตรากำลัง posmaster orgShortname: string; // อักษรย่อตำแหน่ง - posMasterNoPrefix: string; // Prefix นำหน้าเลขที่ตำแหน่ง เป็น Optional (ไม่ใช่อักษรย่อของหน่วยงาน/ส่วนราชการ) - posMasterNo: number | string; // เลขที่ตำแหน่ง เป็นตัวเลข - posMasterNoSuffix: string | null; // Suffix หลังเลขที่ตำแหน่ง เช่น ช. + posMasterNoPrefix: string; // Prefix นำหน้าตำแหน่งเลขที่ เป็น Optional (ไม่ใช่อักษรย่อของหน่วยงาน/ส่วนราชการ) + posMasterNo: number | string; // ตำแหน่งเลขที่ เป็นตัวเลข + posMasterNoSuffix: string | null; // Suffix หลังตำแหน่งเลขที่ เช่น ช. positionName: string; // ชื่อตำแหน่งในสายงาน (ชื่อตำแหน่ง) positionField: string; // สายงาน posTypeId: string; // ประเภทตำแหน่ง @@ -155,9 +155,9 @@ interface HistoryPos { id: string; //id node orgShotName: string; //ชื่อย่อส่วนราชการ lastUpdatedAt: Date; //วันที่แก้ไข - posMasterNoPrefix: string; //Prefix นำหน้าเลขที่ตำแหน่ง เป็น Optional (ไม่ใช่อักษรย่อของหน่วยงาน/ส่วนราชการ) - posMasterNo: number; //เลขที่ตำแหน่ง เป็นตัวเลข - posMasterNoSuffix: string; //Suffix หลังเลขที่ตำแหน่ง เช่น ช. + posMasterNoPrefix: string; //Prefix นำหน้าตำแหน่งเลขที่ เป็น Optional (ไม่ใช่อักษรย่อของหน่วยงาน/ส่วนราชการ) + posMasterNo: number; //ตำแหน่งเลขที่ เป็นตัวเลข + posMasterNoSuffix: string; //Suffix หลังตำแหน่งเลขที่ เช่น ช. } interface SelectPerson { diff --git a/src/modules/04_registry/components/PopupHistory.vue b/src/modules/04_registry/components/PopupHistory.vue index 91c766f9a..218b92ea8 100644 --- a/src/modules/04_registry/components/PopupHistory.vue +++ b/src/modules/04_registry/components/PopupHistory.vue @@ -24,7 +24,7 @@ const employeeClassOps = ref([ { id: "perm", name: "ลูกจ้างประจำ" }, ]); const typeKeywordOps = ref([ - { id: "no", name: "เลขที่ตำแหน่ง" }, + { id: "no", name: "ตำแหน่งเลขที่" }, { id: "position", name: "ตำแหน่ง" }, ]); const positionOps = ref([]); @@ -56,7 +56,7 @@ const columns = ref([ { name: "posNo", align: "left", - label: "เลขที่ตำแหน่ง", + label: "ตำแหน่งเลขที่", field: "posNo", headerStyle: "font-size: 14px", style: "font-size: 14px", @@ -283,8 +283,8 @@ const paginationLabel = (start: number, end: number, total: number) => { dense debounce="300" v-model="Keyword" - placeholder="เลขที่ตำแหน่ง" - :rules="[(val:string) => !!val || `${'กรุณากรอก เลขที่ตำแหน่ง'}`]" + placeholder="ตำแหน่งเลขที่" + :rules="[(val:string) => !!val || `${'กรุณากรอก ตำแหน่งเลขที่'}`]" /> diff --git a/src/modules/04_registryNew/components/DialogHistory.vue b/src/modules/04_registryNew/components/DialogHistory.vue index 9b8e78bf0..1879c65e4 100644 --- a/src/modules/04_registryNew/components/DialogHistory.vue +++ b/src/modules/04_registryNew/components/DialogHistory.vue @@ -31,7 +31,7 @@ const employeeClassOps = ref([ { id: "perm", name: "ลูกจ้างประจำ" }, ]); const typeKeywordOps = ref([ - { id: "no", name: "เลขที่ตำแหน่ง" }, + { id: "no", name: "ตำแหน่งเลขที่" }, { id: "position", name: "ตำแหน่ง" }, ]); const positionOps = ref([]); @@ -63,7 +63,7 @@ const columns = ref([ { name: "posNo", align: "left", - label: "เลขที่ตำแหน่ง", + label: "ตำแหน่งเลขที่", field: "posNo", headerStyle: "font-size: 14px", style: "font-size: 14px", @@ -274,8 +274,8 @@ const paginationLabel = (start: number, end: number, total: number) => { dense debounce="300" v-model="Keyword" - placeholder="เลขที่ตำแหน่ง" - :rules="[(val:string) => !!val || `${'กรุณากรอก เลขที่ตำแหน่ง'}`]" + placeholder="ตำแหน่งเลขที่" + :rules="[(val:string) => !!val || `${'กรุณากรอก ตำแหน่งเลขที่'}`]" hide-bottom-space /> ({ positionId: "", //ตำแหน่ง positionLine: "", //สายงาน positionLevel: "", //ระดับ - numberId: "", //เลขที่ตำแหน่ง + numberId: "", //ตำแหน่งเลขที่ positionExecutive: "", //ตำแหน่งทางการบริหาร positionExecutiveSide: "", //ด้านตำแหน่งทางการบริหาร positionType: "", //ประเภท @@ -360,7 +360,7 @@ function getData() { formMain.positionId = data.position ?? "-"; //ตำแหน่ง formMain.positionLine = data.positionField ?? "-"; //สายงาน formMain.positionLevel = data.posLevel ?? "-"; //ระดับ - formMain.numberId = data.posMasterNo ?? "-"; //เลขที่ตำแหน่ง + formMain.numberId = data.posMasterNo ?? "-"; //ตำแหน่งเลขที่ formMain.positionType = data.posType ?? "-"; //ประเภท formMain.positionExecutive = data.posExecutive ?? "-"; //ตำแหน่งทางการ บริหาร formMain.positionPathSide = data.positionArea ?? "-"; //ด้านสาขา @@ -472,7 +472,7 @@ onMounted(() => {
-
เลขที่ตำแหน่ง
+
ตำแหน่งเลขที่
{{ formMain.numberId }}
diff --git a/src/modules/04_registryNew/components/detail/Salary/01_PositionSalary.vue b/src/modules/04_registryNew/components/detail/Salary/01_PositionSalary.vue index 8316e30a7..a58185bd1 100644 --- a/src/modules/04_registryNew/components/detail/Salary/01_PositionSalary.vue +++ b/src/modules/04_registryNew/components/detail/Salary/01_PositionSalary.vue @@ -354,7 +354,7 @@ async function submit() { profileId: !isStatusEdit.value && empType.value === "" ? profileId.value : undefined, date: formDataSalary.date, // วันที่ - posNo: formDataSalary.posNo, //เลขที่ตำแหน่ง + posNo: formDataSalary.posNo, //ตำแหน่งเลขที่ position: formDataSalary.position, //ตำแหน่ง positionLine: empType.value === "" ? formDataSalary.positionLine : undefined, //สายงาน @@ -719,8 +719,8 @@ onMounted(() => { borderless v-model="formDataSalary.posNo" hide-bottom-space - :label="`${'เลขที่ตำแหน่ง'}`" - :rules="[(val: string) => !!val || `${'กรุณากรอกเลขที่ตำแหน่ง'}`]" + :label="`${'ตำแหน่งเลขที่'}`" + :rules="[(val: string) => !!val || `${'กรุณากรอกตำแหน่งเลขที่'}`]" >
diff --git a/src/modules/05_placement/components/AppointEmployee/Main.vue b/src/modules/05_placement/components/AppointEmployee/Main.vue index e822a7eb8..df0c5845e 100644 --- a/src/modules/05_placement/components/AppointEmployee/Main.vue +++ b/src/modules/05_placement/components/AppointEmployee/Main.vue @@ -174,7 +174,7 @@ const columnsPosition = ref([ { name: "posNo", align: "left", - label: "เลขที่ตำแหน่ง", + label: "ตำแหน่งเลขที่", sortable: true, field: "posNo", headerStyle: "font-size: 14px", diff --git a/src/modules/05_placement/components/AppointMent/AppointmentModal.vue b/src/modules/05_placement/components/AppointMent/AppointmentModal.vue index 77eb544e1..1f96cca6e 100644 --- a/src/modules/05_placement/components/AppointMent/AppointmentModal.vue +++ b/src/modules/05_placement/components/AppointMent/AppointmentModal.vue @@ -214,7 +214,7 @@ const closeAndClear = async () => { dataForm.positionPathSideId = ""; dataForm.positionTypeId = ""; }; -// เลขที่ตำแหน่ง +// ตำแหน่งเลขที่ const posNoOptions = ref([ { label: "", @@ -600,7 +600,7 @@ onMounted(async () => { lazy-rules :options="posNoOptions" v-model="dataForm.posNoId" - :label="`${'เลขที่ตำแหน่ง'}`" + :label="`${'ตำแหน่งเลขที่'}`" map-options />
diff --git a/src/modules/05_placement/components/ChangePosition/Modal.vue b/src/modules/05_placement/components/ChangePosition/Modal.vue index 4347ae153..16cfa69ba 100644 --- a/src/modules/05_placement/components/ChangePosition/Modal.vue +++ b/src/modules/05_placement/components/ChangePosition/Modal.vue @@ -215,7 +215,7 @@ const closeAndClear = async () => { dataForm.positionPathSideId = ""; dataForm.positionTypeId = ""; }; -// เลขที่ตำแหน่ง +// ตำแหน่งเลขที่ const posNoOptions = ref([ { label: "", @@ -601,7 +601,7 @@ onMounted(async () => { lazy-rules :options="posNoOptions" v-model="dataForm.posNoId" - :label="`${'เลขที่ตำแหน่ง'}`" + :label="`${'ตำแหน่งเลขที่'}`" map-options />
diff --git a/src/modules/05_placement/components/PersonalList/CardPosition.vue b/src/modules/05_placement/components/PersonalList/CardPosition.vue index bf09df2fb..ae04dac0c 100644 --- a/src/modules/05_placement/components/PersonalList/CardPosition.vue +++ b/src/modules/05_placement/components/PersonalList/CardPosition.vue @@ -47,7 +47,7 @@ const columns = ref([ { name: "posMasterNo", align: "left", - label: "เลขที่ตำแหน่ง", + label: "ตำแหน่งเลขที่", sortable: true, field: "posMasterNo", headerStyle: "font-size: 14px", @@ -177,7 +177,7 @@ const visibleColumns = ref([ ]); /** - * function เลือกเลขที่ตำแหน่ง + * function เลือกตำแหน่งเลขที่ * @param id เลชที่ตำแหน่ง */ async function onClickSelectPos(id: string) { @@ -210,11 +210,11 @@ onMounted(async () => {