diff --git a/src/modules/04_registryPerson/components/detail/Achievement/05_ResultsPerformance.vue b/src/modules/04_registryPerson/components/detail/Achievement/05_ResultsPerformance.vue
index 04a4964d3..13fdf2f1c 100644
--- a/src/modules/04_registryPerson/components/detail/Achievement/05_ResultsPerformance.vue
+++ b/src/modules/04_registryPerson/components/detail/Achievement/05_ResultsPerformance.vue
@@ -418,7 +418,7 @@ async function getDevelop() {
/**
* บันทึกข้อมูลผลการประเมินการปฏิบัติราชการ
- * @param editStatus แก่ไข,เพิ่ม
+ * @param editStatus แก้ไข,เพิ่ม
*/
async function addEditData(editStatus: boolean = false) {
if (!profileId.value) return;
@@ -706,7 +706,9 @@ onMounted(async () => {
icon="mdi-history"
@click="clickHistory(props.row)"
>
-
ประวัติแก้ไขเครื่องราชอิสริยาภรณ์
+
ประวัติแก้ไขผลการประเมินการปฏิบัติราชการ
{
icon="edit"
@click.stop.prevent="onClickOpenDialog(true, props.row)"
>
- แก่ไขข้อมุล
+ แก้ไขข้อมุล
diff --git a/src/modules/04_registryPerson/components/requestEdit/01_TabInformation.vue b/src/modules/04_registryPerson/components/requestEdit/01_TabInformation.vue
index 2d4833055..777a65404 100644
--- a/src/modules/04_registryPerson/components/requestEdit/01_TabInformation.vue
+++ b/src/modules/04_registryPerson/components/requestEdit/01_TabInformation.vue
@@ -2,15 +2,12 @@
import { ref, onMounted, watch } from "vue";
import { useQuasar } from "quasar";
-import { useRouter } from "vue-router";
-import config from "@/app.config";
-import http from "@/plugins/http";
import { useRequestEditStore } from "@/modules/04_registryPerson/stores/RequestEdit";
import { useCounterMixin } from "@/stores/mixin";
+import config from "@/app.config";
+import http from "@/plugins/http";
-/**
- * importType
- */
+/** importType*/
import type { QTableProps } from "quasar";
import type {
DataOption,
@@ -18,22 +15,14 @@ import type {
} from "@/modules/04_registryPerson/interface/index/Main";
import type { DateRequest } from "@/modules/04_registryPerson/interface/response/Main";
-/**
- * importComponents
- */
+/** importComponents*/
import DialogStatus from "@/modules/04_registryPerson/components/requestEdit/Dialog01_EditStatus.vue";
-/**
- * use
- */
const $q = useQuasar();
-const router = useRouter();
const store = useRequestEditStore();
const { showLoader, hideLoader, messageError, date2Thai } = useCounterMixin();
-/**
- * Table
- */
+//Table
const rows = ref
([]); //รายการข้อมูลคำร้องขอแก้ไขทะเบียนประวัติ
const page = ref(1); //หน้า
const pageSize = ref(10); //จำนวนต่อหน้า
@@ -119,18 +108,14 @@ const visibleColumns = ref([
"remark",
]);
-/**
- * ตัวแปร
- */
+//ตัวแปร
const status = ref("PENDING"); //ค้นหาตามสถานะ
const keyword = ref(""); //คำค้นหา
const statusOption = ref(store.optionStatus); //รายการสถานะ
const modalStatus = ref(false); //แก้ไขสถานะคำร้อง
const requestId = ref(""); //id รายการแก้ไข
-/**
- * function fetch รายการคำร้องขอแก้ไขทะเบียนประวัติ
- */
+/** function fetch รายการคำร้องขอแก้ไขทะเบียนประวัติ*/
function fetchListRequset() {
showLoader();
http
@@ -156,18 +141,14 @@ function fetchListRequset() {
});
}
-/**
- * function เลือกสถานะคำร้อง
- */
+/** function เลือกสถานะคำร้อง*/
function updateStatusValue() {
page.value = 1;
// fetch รายการคำร้องขอแก้ไขทะเบียนประวัติ
fetchListRequset();
}
-/**
- * function เคลียร์ สถานะคำร้อง
- */
+/** function เคลียร์ สถานะคำร้อง*/
function clearStatus() {
status.value = "";
statusOption.value = store.optionStatus;
@@ -260,7 +241,6 @@ async function downloadUrl(id: string, fileName: string) {
/**
* ดูการเปลี่ยนแปลงของ pageSize
- *
* เมื่อมีการเปลี่ยนแปลงจำทำการ ดึงช้อมูลรายการคำร้องขอแก้ไขทะเบียนประวัติตามจำนวน pageSize
*/
watch(
diff --git a/src/modules/04_registryPerson/components/requestEdit/02_TabIDP.vue b/src/modules/04_registryPerson/components/requestEdit/02_TabIDP.vue
index 8cffe9722..f34761819 100644
--- a/src/modules/04_registryPerson/components/requestEdit/02_TabIDP.vue
+++ b/src/modules/04_registryPerson/components/requestEdit/02_TabIDP.vue
@@ -1,18 +1,22 @@
-
+
-
-
-
-
-
-
-
+
+
+
+ สถานะคำร้อง
+
+
+
+
+
+ filterOption(inputValue, doneFn
) "
- >
-
-
-
- ไม่มีข้อมูล
-
-
-
-
-
+ >
+
+
+
+ ไม่มีข้อมูล
+
+
+
+
+
-
-
-
-
+
+
+
-
-
-
-
+
+ บันทึก
+
+
+
+
+
+
+
+
+ รายละเอียด
+
+
+
+
+
+
+
+
+
+ วิธีการพัฒนา
+
+
+
+
+ 70 การลงมือปฏิบัติ (โดยผู้บังคับบัญชามอบหมาย)
+
+
-
-
วิธีการพัฒนา
-
-
-
-
-
70 การลงมือปฏิบัติ (โดยผู้บังคับบัญชามอบหมาย)
-
-
-
-
-
-
-
20 การเรียนรู้จากผู้อื่น
- (Coach/Mentor/Consulting)
-
-
-
-
-
-
+
+
+
+ 20 การเรียนรู้จากผู้อื่น (Coach/Mentor/Consulting)
+
+
+
+
-
-
-
10 การฝึกอบรมอื่นๆ
-
-
-
-
-
-
+
+
+
+ 10 การฝึกอบรมอื่นๆ
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
-
+
-
-
-
-
- บันทึก
-
diff --git a/src/modules/04_registryPerson/interface/request/Main.ts b/src/modules/04_registryPerson/interface/request/Main.ts
index 178cb0ece..97556ceb6 100644
--- a/src/modules/04_registryPerson/interface/request/Main.ts
+++ b/src/modules/04_registryPerson/interface/request/Main.ts
@@ -68,15 +68,15 @@ interface FormChangeName {
interface FormDataIDP {
topic: string;
- development: string[];
- otherAction: string;
- otherPerson: string;
- otherTraining: string;
+ developmentProjects: string[];
+ reasonDevelopment70: string;
+ reasonDevelopment20: string;
+ reasonDevelopment10: string;
developmentTarget: string;
developmentResults: string;
developmentReport: string;
status: string;
- remark: string;
+ reason: string;
}
export type {
diff --git a/src/modules/04_registryPerson/interface/response/Main.ts b/src/modules/04_registryPerson/interface/response/Main.ts
index 2e740320e..95f0abf69 100644
--- a/src/modules/04_registryPerson/interface/response/Main.ts
+++ b/src/modules/04_registryPerson/interface/response/Main.ts
@@ -152,6 +152,30 @@ interface DataLeaveType {
refCommandDate: string;
}
+interface DataListsIDP {
+ createdAt: string;
+ createdFullName: string;
+ createdUserId: string;
+ developmentReport: string;
+ developmentResults: string;
+ developmentTarget: string;
+ id: string;
+ isDevelopment10: boolean;
+ isDevelopment20: boolean;
+ isDevelopment70: boolean;
+ lastUpdateFullName: string;
+ lastUpdateUserId: string;
+ lastUpdatedAt: string;
+ name: string;
+ profileEmployeeId: string;
+ profileId: string;
+ reason: string;
+ reasonDevelopment10: string;
+ reasonDevelopment20: string;
+ reasonDevelopment70: string;
+ status: string;
+}
+
export type {
DataType,
DataLevel,
@@ -160,4 +184,5 @@ export type {
DataProfile,
DataLeave,
DataLeaveType,
+ DataListsIDP,
};
diff --git a/src/modules/04_registryPerson/stores/RequestEdit.ts b/src/modules/04_registryPerson/stores/RequestEdit.ts
index 118b17db3..32e889d20 100644
--- a/src/modules/04_registryPerson/stores/RequestEdit.ts
+++ b/src/modules/04_registryPerson/stores/RequestEdit.ts
@@ -20,6 +20,13 @@ export const useRequestEditStore = defineStore("requestEditStore", () => {
{ id: "REJECT", name: "ไม่อนุมัตการแก้ไข" },
]);
+ const optionStatusIDP = ref
([
+ { id: "", name: "ทั้งหมด" },
+ { id: "PENDING", name: "รอดำเนินการ" },
+ { id: "APPROVE", name: "อนุมัติ" },
+ { id: "REJECT", name: "ไม่อนุมัติ" },
+ ]);
+
function convertStatus(val: string) {
switch (val) {
case "PENDING":
@@ -32,5 +39,24 @@ export const useRequestEditStore = defineStore("requestEditStore", () => {
return "-";
}
}
- return { convertStatus, optionTopic, optionStatus };
+
+ function convertStatusIDP(val: string) {
+ switch (val) {
+ case "PENDING":
+ return "รอดำเนินการ";
+ case "APPROVE":
+ return "อนุมัติ";
+ case "REJECT":
+ return "ไม่อนุมัติ";
+ default:
+ return "-";
+ }
+ }
+ return {
+ convertStatus,
+ optionTopic,
+ optionStatus,
+ optionStatusIDP,
+ convertStatusIDP,
+ };
});
diff --git a/src/modules/15_development/components/Record.vue b/src/modules/15_development/components/Record.vue
index d56649358..e64ad1c9b 100644
--- a/src/modules/15_development/components/Record.vue
+++ b/src/modules/15_development/components/Record.vue
@@ -1,5 +1,5 @@