diff --git a/src/modules/04_registryPerson/interface/index/Edit.ts b/src/modules/04_registryPerson/interface/index/Edit.ts index c30fdac09..a128377f9 100644 --- a/src/modules/04_registryPerson/interface/index/Edit.ts +++ b/src/modules/04_registryPerson/interface/index/Edit.ts @@ -8,4 +8,23 @@ interface DataProfile { org: string; } -export type { DataProfile }; +interface FormDataSalary { + positionLevel: string; + positionCee: string; + amount: number; + amountSpecial: number; + posNoAbb: string; + posNo: string; + orgRoot: string; + orgChild1: string; + orgChild2: string; + orgChild3: string; + orgChild4: string; + commandCode: string; + posNumCodeSit: string; + posNumCodeSitAbb: string; + commandNo: string; + commandYear: null | number; +} + +export type { DataProfile, FormDataSalary }; diff --git a/src/modules/04_registryPerson/interface/response/Edit.ts b/src/modules/04_registryPerson/interface/response/Edit.ts index f27f8e890..8af17bae8 100644 --- a/src/modules/04_registryPerson/interface/response/Edit.ts +++ b/src/modules/04_registryPerson/interface/response/Edit.ts @@ -27,8 +27,8 @@ interface DataPosition { amount: number; amountSpecial: number; commandCode: string; - commandDateAffect: string; - commandDateSign: string; + commandDateAffect: Date; + commandDateSign: Date; commandId: string; commandName: string; commandNo: string; @@ -68,6 +68,8 @@ interface DataPosition { remark: string; salaryId: string; status: string; + posNumCodeSitAbb: string; + posNumCodeSit: string; } export type { DataSalaryPos, DataPosition }; diff --git a/src/modules/04_registryPerson/views/edit/components/FormPosition.vue b/src/modules/04_registryPerson/views/edit/components/FormPosition.vue index 2beb7b820..8e6df441c 100644 --- a/src/modules/04_registryPerson/views/edit/components/FormPosition.vue +++ b/src/modules/04_registryPerson/views/edit/components/FormPosition.vue @@ -370,7 +370,7 @@ function classInput(val: boolean) { lazy-rules borderless v-model="formData.positionType" - :label="empType === 'officer' ? 'ประเภทตำแหน่ง' : 'กลุ่มงาน'" + :label="empType === 'officer' ? 'ตำแหน่งประเภท' : 'กลุ่มงาน'" emit-value map-options option-label="name" diff --git a/src/modules/04_registryPerson/views/edit/components/Table.vue b/src/modules/04_registryPerson/views/edit/components/Table.vue index 1d88103f3..1b9f722f1 100644 --- a/src/modules/04_registryPerson/views/edit/components/Table.vue +++ b/src/modules/04_registryPerson/views/edit/components/Table.vue @@ -1,6 +1,7 @@ @@ -427,6 +777,17 @@ onMounted(() => { จัดลำดับข้อมูล +
+ +
+ { }} + {
{{ props.rowIndex + 1 }}
+ +
+ {{ col.value ?? "-" }} + +
+ {{ `แก้ไข${col.label}` }} +
+
+ + + + +
+ +
+ + +
+ +
+ + + + +
+ +
+ + + +
+ +
+ + + + + + + +
+ +
+ + + +
+ +
+ + + +
+
+
+
{{ findOrgNameHtml({ @@ -564,13 +1189,225 @@ onMounted(() => { child4: props.row.orgChild4, }) }} + + +
+ {{ `แก้ไข${col.label}` }} +
+ +
+ + + + + + + +
+
+ + + +
+
-
- {{ col.value ? col.value : "-" }} -
{{ col.value ? col.value : "-" }} + +
+ {{ `แก้ไข${col.label}` }} +
+ + + + + + + + + + + + + + + +