diff --git a/src/modules/08_registryEmployee/router.ts b/src/modules/08_registryEmployee/router.ts
index 2dd0550c8..ce8e0d3c2 100644
--- a/src/modules/08_registryEmployee/router.ts
+++ b/src/modules/08_registryEmployee/router.ts
@@ -11,6 +11,9 @@ const Main = defineAsyncComponent(
const Detail = defineAsyncComponent(
() => import("@/modules/08_registryEmployee/views/Detail.vue")
);
+const EditDetail = defineAsyncComponent(
+ () => import("@/modules/08_registryEmployee/views/EditDetail.vue")
+);
export default [
{
@@ -43,4 +46,14 @@ export default [
Role: "registryEmployee",
},
},
+ {
+ path: "/registryEmployee/Edit/:Id",
+ name: "registryEmployeeEdit",
+ component: EditDetail,
+ meta: {
+ Auth: true,
+ Key: [11],
+ Role: "registryEmployee",
+ },
+ },
];
diff --git a/src/modules/08_registryEmployee/views/Assessment.vue b/src/modules/08_registryEmployee/views/Assessment.vue
new file mode 100644
index 000000000..5d42ad985
--- /dev/null
+++ b/src/modules/08_registryEmployee/views/Assessment.vue
@@ -0,0 +1,981 @@
+
+
+
+
+
+
+
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ textPoint(props.row.pointSum) }}
+ {{ textRangePoint(props.row.pointSum) }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ผลการประเมิน:
+
+ {{ textPoint(pointSum) }}
+
+ {{ textRangePoint(pointSum) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ textPoint(props.row.pointSum) }}
+ {{ textRangePoint(props.row.pointSum) }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
diff --git a/src/modules/08_registryEmployee/views/Detail.vue b/src/modules/08_registryEmployee/views/Detail.vue
index 4819f4d54..9bff1cb28 100644
--- a/src/modules/08_registryEmployee/views/Detail.vue
+++ b/src/modules/08_registryEmployee/views/Detail.vue
@@ -284,157 +284,6 @@
-
-
-
-
- ประเภทการพ้นราชการ
-
-
-
-
-
-
-
-
-
-
-
-
- {{ year + 543 }}
- {{
- parseInt(value + 543)
- }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ year + 543 }}
- {{
- parseInt(value + 543)
- }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/src/modules/08_registryEmployee/views/Document.vue b/src/modules/08_registryEmployee/views/Document.vue
new file mode 100644
index 000000000..4b6bfe21b
--- /dev/null
+++ b/src/modules/08_registryEmployee/views/Document.vue
@@ -0,0 +1,272 @@
+
+
+
+
+
+
+
+
+
+ {{ file.fileName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ลบทั้งหมด
+
+
+ ลบไฟล์ที่อัปโหลด
+
+
+
+
+ {{ "[ไฟล์ jpg,png,pdf,csv,doc ขนาดไม่เกิน 10MB]" }}
+
+
+ {{ scope.uploadSizeLabel }} / {{ scope.uploadProgressLabel }}
+
+
+
+
+ เลือกไฟล์
+
+
+ ยกเลิกการอัปโหลด
+
+
+
+
+
+
+
+
diff --git a/src/modules/08_registryEmployee/views/EditDetail.vue b/src/modules/08_registryEmployee/views/EditDetail.vue
new file mode 100644
index 000000000..401ae0b9f
--- /dev/null
+++ b/src/modules/08_registryEmployee/views/EditDetail.vue
@@ -0,0 +1,997 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ อัปเดตรูปภาพ
+
+
+
+
+
+
+
+
+
+ อัปเดตรูปภาพ
+
+
+
+
+
+
+
+
+ {{ "แก้ไข้ข้อมูลทะเบียนประวัติลูกจ้างชั่วคราว" }}
+
+
+ {{ "ลูกจ้างชั่วคราว" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ เลือกรูปภาพ
+
+
+ ปิดหน้านี้
+
+
+
+
+
+
+
+
+
+
+
+ {{ date2Thai(n.createdDate) }}
+
+
+
+
+
+
+
+
+
+
+
+
+ เลือกรูปภาพ
+
+
+
+
+
+
+
+
+ ประเภทการพ้นราชการ
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/modules/08_registryEmployee/views/Education.vue b/src/modules/08_registryEmployee/views/Education.vue
new file mode 100644
index 000000000..e3c38afce
--- /dev/null
+++ b/src/modules/08_registryEmployee/views/Education.vue
@@ -0,0 +1,1567 @@
+
+
+
+
+
+
+
+
+
+ {{
+ props.row.isDate == "true"
+ ? date2Thai(props.row.startDate2)
+ : col.value + 543
+ }}
+
+
+ {{
+ props.row.isDate == "true"
+ ? date2Thai(props.row.endDate2)
+ : col.value + 543
+ }}
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ col.value ? "ใช่" : "ไม่ใช่" }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn,'levelOptions'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn,'positionPathOptions'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ props.row.isDate == true
+ ? date2Thai(props.row.startDate2)
+ : col.value + 543
+ }}
+
+
+ {{
+ props.row.isDate == true
+ ? date2Thai(props.row.endDate2)
+ : col.value + 543
+ }}
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ col.value ? "ใช่" : "ไม่ใช่" }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
diff --git a/src/modules/08_registryEmployee/views/Information/Address.vue b/src/modules/08_registryEmployee/views/Information/Address.vue
new file mode 100644
index 000000000..8b8ffbf67
--- /dev/null
+++ b/src/modules/08_registryEmployee/views/Information/Address.vue
@@ -0,0 +1,877 @@
+
+
+
+
+
+
+
+
+
+ selectProvince(value, '1')"
+ use-input
+ input-debounce="0"
+ @filter="(inputValue:string,
+ doneFn:Function) => filterSelector(inputValue, doneFn,'provinceOps'
+ ) "
+ />
+
+
+ selectDistrict(value, '1')"
+ use-input
+ input-debounce="0"
+ @filter="(inputValue:string,
+ doneFn:Function) => filterSelector(inputValue, doneFn,'districtOps'
+ ) "
+ />
+
+
+ selectSubDistrict(value, '1')"
+ use-input
+ input-debounce="0"
+ @filter="(inputValue:string,
+ doneFn:Function) => filterSelector(inputValue, doneFn,'subdistrictOps'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ selectProvince(value, '2')"
+ use-input
+ input-debounce="0"
+ @filter="(inputValue:string,
+ doneFn:Function) => filterSelector(inputValue, doneFn,'provinceOps'
+ ) "
+ />
+
+
+ selectDistrict(value, '2')"
+ use-input
+ input-debounce="0"
+ @filter="(inputValue:string,
+ doneFn:Function) => filterSelector(inputValue, doneFn,'districtCOps'
+ ) "
+ />
+
+
+ selectSubDistrict(value, '2')"
+ use-input
+ input-debounce="0"
+ @filter="(inputValue:string,
+ doneFn:Function) => filterSelector(inputValue, doneFn,'subdistrictCOps'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ col.value ? "ใช่" : "ไม่" }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
diff --git a/src/modules/08_registryEmployee/views/Information/Certicate.vue b/src/modules/08_registryEmployee/views/Information/Certicate.vue
new file mode 100644
index 000000000..d08e8c3b2
--- /dev/null
+++ b/src/modules/08_registryEmployee/views/Information/Certicate.vue
@@ -0,0 +1,830 @@
+
+
+
+
+
+
+
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
diff --git a/src/modules/08_registryEmployee/views/Information/Family.vue b/src/modules/08_registryEmployee/views/Information/Family.vue
new file mode 100644
index 000000000..8b9eaf90c
--- /dev/null
+++ b/src/modules/08_registryEmployee/views/Information/Family.vue
@@ -0,0 +1,1514 @@
+
+
+
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn,'prefixOps'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn,'prefixOps'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
• คู่สมรส
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn,'prefixOps'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ เพิ่มข้อมูล
+
+
+
+
+
+
+ {{ index + 1 }}
+
+
+
+
+
+ ลบข้อมูล {{ index + 1 }}
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn,'prefixOps'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ `${
+ familyDataHistory.length > 0 &&
+ familyDataHistory[indexRow].createdAt != null
+ ? date2Thai(familyDataHistory[indexRow].createdAt, false, true)
+ : ""
+ }`
+ }}
+
+
+ • บิดา
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn,'prefixOps'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ • มารดา
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn,'prefixOps'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn,'prefixOps'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn,'prefixOps'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ indexRow + 1 }}/{{ familyDataHistory.length }}
+
+
+
+
+
diff --git a/src/modules/08_registryEmployee/views/Information/Government.vue b/src/modules/08_registryEmployee/views/Information/Government.vue
new file mode 100644
index 000000000..35d6fca2a
--- /dev/null
+++ b/src/modules/08_registryEmployee/views/Information/Government.vue
@@ -0,0 +1,763 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+
+
+ {{ parseInt(value + 543) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+
+
+ {{ parseInt(value + 543) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
diff --git a/src/modules/08_registryEmployee/views/Information/Information.vue b/src/modules/08_registryEmployee/views/Information/Information.vue
new file mode 100644
index 000000000..ec7a1440b
--- /dev/null
+++ b/src/modules/08_registryEmployee/views/Information/Information.vue
@@ -0,0 +1,1132 @@
+
+
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn,'prefixOps'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+
+
+ {{ parseInt(value + 543) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn,'genderOps'
+ ) "
+ />
+
+
+ filterSelector(inputValue, doneFn,'statusOps'
+ ) "
+ />
+
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn,'religionOps'
+ ) "
+ />
+
+
+ filterSelector(inputValue, doneFn,'bloodOps'
+ ) "
+ clearable
+ />
+
+
+
+
+
+ filterSelector(inputValue, doneFn,'employeeTypeOps'
+ ) "
+ />
+
+
+ filterSelector(inputValue, doneFn,'employeeClassOps'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
diff --git a/src/modules/08_registryEmployee/views/Information/OldName.vue b/src/modules/08_registryEmployee/views/Information/OldName.vue
new file mode 100644
index 000000000..6c6cefadc
--- /dev/null
+++ b/src/modules/08_registryEmployee/views/Information/OldName.vue
@@ -0,0 +1,973 @@
+
+
+
+
+
+
+
+
+
+
+ {{ typeChangeName(col.value) }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn,'statusOps'
+ ) "
+ />
+
+
+
+ filterSelector(inputValue, doneFn,'prefixOps'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+ ลบทั้งหมด
+
+
+ ลบไฟล์ที่อัปโหลด
+
+
+
+
+ {{ "[ไฟล์ jpg,png,pdf,csv,doc ขนาดไม่เกิน 10MB]" }}
+
+
+ {{ scope.uploadSizeLabel }} /
+ {{ scope.uploadProgressLabel }}
+
+
+
+
+ เลือกไฟล์
+
+
+ ยกเลิกการอัปโหลด
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ typeChangeName(col.value) }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/modules/08_registryEmployee/views/Leave.vue b/src/modules/08_registryEmployee/views/Leave.vue
new file mode 100644
index 000000000..1c3ecf5fe
--- /dev/null
+++ b/src/modules/08_registryEmployee/views/Leave.vue
@@ -0,0 +1,1270 @@
+
+
+
+
+
+
+
+
+
+ {{ props.rowIndex + 1 }}
+
+
+ {{
+ dateThaiRange([
+ props.row.dateStartLeave,
+ props.row.dateEndLeave,
+ ])
+ }}
+
+
+ {{ statusLeave(col.value) }}
+
+
+
+ {{ col.value == null ? "" : col.value.toLocaleString("en-US") }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn,'typeLeaveOption'
+ ) "
+ />
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn,'statLeaveOption'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ props.rowIndex + 1 }}
+
+
+ {{
+ col.value == null
+ ? ""
+ : col.value.toLocaleString("en-US")
+ }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ props.rowIndex + 1 }}
+
+
+ {{
+ dateThaiRange([props.row.dateStartLeave, props.row.dateEndLeave])
+ }}
+
+
+
+ {{ col.value == null ? "" : col.value.toLocaleString("en-US") }}
+
+
+ {{ statusLeave(col.value) }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
diff --git a/src/modules/08_registryEmployee/views/Main.vue b/src/modules/08_registryEmployee/views/Main.vue
index 8235acbe0..c89d46bee 100644
--- a/src/modules/08_registryEmployee/views/Main.vue
+++ b/src/modules/08_registryEmployee/views/Main.vue
@@ -7,6 +7,13 @@
เพิ่มข้อมูล
+
@@ -57,7 +64,7 @@
:columns="columns"
:visible-columns="visibleColumnsEmployeeTemp"
:filter="filter"
- row-key="name"
+ row-key="id"
class="custom-header-table"
:pagination-label="paginationLabel"
v-model:pagination="pagination"
@@ -72,58 +79,122 @@
-
+
{{ props.rowIndex + 1 }}
-
+
{{ props.row.fullname }}
-
+
{{ props.row.positionEmployeePosition }}
-
+
{{ props.row.positionEmployeePositionSide }}
-
+
{{ props.row.positionLine }}
-
+
{{ props.row.positionEmployeeGroup }}
-
+
{{ props.row.oc }}
-
+
{{ props.row.amount }}
-
+
{{ props.row.govAge }}
-
+
{{ props.row.dateAppoint }}
-
+
{{ props.row.dateStart }}
-
+
{{ props.row.salaryDate }}
-
+
{{ props.row.refSalary }}
-
+
{{ props.row.age }}
-
+
{{ props.row.fullnameOld }}
-
+
{{ props.row.createdAt }}
-
+
{{ props.row.isLeave }}
-
+
{{ props.row.leaveDateOrder }}
@@ -232,10 +303,143 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ props.rowIndex + 1 }}
+
+
+ {{ props.row.fullname }}
+
+
+ {{ props.row.positionEmployeePosition }}
+
+
+ {{ props.row.positionEmployeePositionSide }}
+
+
+ {{ props.row.positionLine }}
+
+
+ {{ props.row.positionEmployeeGroup }}
+
+
+ {{ props.row.oc }}
+
+
+ {{ props.row.amount }}
+
+
+ {{ props.row.govAge }}
+
+
+ {{ props.row.dateAppoint }}
+
+
+ {{ props.row.dateStart }}
+
+
+ {{ props.row.salaryDate }}
+
+
+ {{ props.row.refSalary }}
+
+
+ {{ props.row.age }}
+
+
+ {{ props.row.fullnameOld }}
+
+
+ {{ props.row.createdAt }}
+
+
+ {{ props.row.isLeave }}
+
+
+ {{ props.row.leaveDateOrder }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/modules/08_registryEmployee/views/Record.vue b/src/modules/08_registryEmployee/views/Record.vue
new file mode 100644
index 000000000..37ad44982
--- /dev/null
+++ b/src/modules/08_registryEmployee/views/Record.vue
@@ -0,0 +1,825 @@
+
+
+
+
+
+
+
+
+
+ {{ col.value == null ? null : date2Thai(col.value) }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ col.value == null ? null : date2Thai(col.value) }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
diff --git a/src/modules/08_registryEmployee/views/Salary.vue b/src/modules/08_registryEmployee/views/Salary.vue
new file mode 100644
index 000000000..1f2a9c562
--- /dev/null
+++ b/src/modules/08_registryEmployee/views/Salary.vue
@@ -0,0 +1,2070 @@
+
+
+
+
+
+
+
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ col.value == null ? "" : col.value.toLocaleString("en-US") }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ prop.node.label }}
+
+
+ {{ prop.node.label }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn,'1'
+ ) "
+ />
+
+
+ filterSelector(inputValue, doneFn,'2'
+ ) "
+ />
+
+
+
+ filterSelector(inputValue, doneFn,'3'
+ ) "
+ />
+
+
+ filterSelector(inputValue, doneFn,'4'
+ ) "
+ />
+
+
+ filterSelector(inputValue, doneFn,'5'
+ ) "
+ />
+
+
+ filterSelector(inputValue, doneFn,'6'
+ ) "
+ />
+
+
+ filterSelector(inputValue, doneFn,'7'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn,'8'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ col.value == null ? "" : col.value.toLocaleString("en-US") }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
diff --git a/src/modules/08_registryEmployee/views/SalaryEmployee.vue b/src/modules/08_registryEmployee/views/SalaryEmployee.vue
new file mode 100644
index 000000000..b38af4d3d
--- /dev/null
+++ b/src/modules/08_registryEmployee/views/SalaryEmployee.vue
@@ -0,0 +1,2009 @@
+
+
+
+
+
+
+
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ col.value == null ? "" : col.value.toLocaleString("en-US") }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ prop.node.label }}
+
+
+ {{ prop.node.label }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn,'employeePosition'
+ ) "
+ />
+
+
+ filterSelector(inputValue, doneFn,'employeePositionSide'
+ ) "
+ />
+
+
+ filterSelector(inputValue, doneFn,'employeeLevel'
+ ) "
+ />
+
+
+ filterSelector(inputValue, doneFn,'employeeGroup'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn,'ref'
+ ) "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ col.value == null ? "" : col.value.toLocaleString("en-US") }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
diff --git a/src/modules/08_registryEmployee/views/Talent.vue b/src/modules/08_registryEmployee/views/Talent.vue
new file mode 100644
index 000000000..c964bd194
--- /dev/null
+++ b/src/modules/08_registryEmployee/views/Talent.vue
@@ -0,0 +1,684 @@
+
+
+
+
+
+
+
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
diff --git a/src/modules/08_registryEmployee/views/Train.vue b/src/modules/08_registryEmployee/views/Train.vue
new file mode 100644
index 000000000..284272588
--- /dev/null
+++ b/src/modules/08_registryEmployee/views/Train.vue
@@ -0,0 +1,1130 @@
+
+
+
+
+
+
+
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ col.value + 543 }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ col.value + 543 }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
diff --git a/src/modules/08_registryEmployee/views/Work.vue b/src/modules/08_registryEmployee/views/Work.vue
new file mode 100644
index 000000000..14f78c39b
--- /dev/null
+++ b/src/modules/08_registryEmployee/views/Work.vue
@@ -0,0 +1,908 @@
+
+
+
+
+
+
+
+
+
+ {{ col.value == null ? null : date2Thai(col.value) }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ col.value == null ? null : date2Thai(col.value) }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
diff --git a/src/modules/08_registryEmployee/views/information.vue b/src/modules/08_registryEmployee/views/information.vue
index 6c0367fb4..ade1f0cfd 100644
--- a/src/modules/08_registryEmployee/views/information.vue
+++ b/src/modules/08_registryEmployee/views/information.vue
@@ -11,6 +11,7 @@
:historyClick="clickHistory"
:addEmployee="statusAdd()"
/>
+
@@ -18,21 +19,23 @@
:class="getClass(edit)"
hide-bottom-space
:outlined="edit"
+ v-model="informaData.cardid"
dense
+ @update:model-value="changeCardID"
lazy-rules
+ :rules="[
+ (val:string) => !!val || `${'กรุณากรอก เลขบัตรประจำตัวประชาชน'}`,
+ (val:string) =>
+ val.length >= 13 ||
+ `${'กรุณากรอกเลขบัตรประจำตัวประชาชนให้ครบ'}`,
+ ]"
:readonly="!edit"
:borderless="!edit"
- @update:model-value="changeCardID"
- :rules="[
- (val:string) => !!val || `${'กรุณากรอก เลขบัตรประจำตัวประชาชน'}`,
- (val:string) =>
- val.length >= 13 ||
- `${'กรุณากรอกเลขบัตรประจำตัวประชาชนให้ครบ'}`,
- ]"
label="เลขบัตรประจำตัวประชาชน"
maxlength="13"
mask="#############"
/>
+
+
+
+
+
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
- {{ date2Thai(col.value) }}
-
-
- {{ col.value }}
-
-
-
-
-
+