diff --git a/src/modules/13_salary/store/SalaryListsStore.ts b/src/modules/13_salary/store/SalaryListsStore.ts index c601e168b..d94245e00 100644 --- a/src/modules/13_salary/store/SalaryListsStore.ts +++ b/src/modules/13_salary/store/SalaryListsStore.ts @@ -134,15 +134,15 @@ export const useSalaryListSDataStore = defineStore("salaryListStore", () => { name: "แบบ 3 กท บัญชีแสดงวันลาครึ่งปี ขรก. (เกษียณอายุราชการ)", }, { - id: "gov-07", + id: "gov-07-01", name: "แนบท้ายคำสั่งเลื่อนเงินเดือนข้าราชการเกษียณ", }, { - id: "gov-08", + id: "gov-07", name: "แนบท้ายคำสั่งเลื่อนเงินเดือน รอบตุลาคม", }, { - id: "gov-09", + id: "gov-08", name: "แนบท้ายคำสั่งค่าตอบแทนพิเศษ และผู้ไม่ได้เลื่อนเงินเดือน รอบตุลาคม", }, ]); diff --git a/src/modules/14_KPI/components/competency/AddPage.vue b/src/modules/14_KPI/components/competency/AddPage.vue index bb02d44a5..ec5f9284e 100644 --- a/src/modules/14_KPI/components/competency/AddPage.vue +++ b/src/modules/14_KPI/components/competency/AddPage.vue @@ -86,33 +86,33 @@ function onSubmit() { เพิ่มสมรรถนะ - - -
-
- -
- - - - + + +
+
+ - +
- - -
-
- - - + diff --git a/src/modules/14_KPI/components/competency/Forms/01_FormMain.vue b/src/modules/14_KPI/components/competency/Forms/01_FormMain.vue index d2fe1fd39..ff81b77d8 100644 --- a/src/modules/14_KPI/components/competency/Forms/01_FormMain.vue +++ b/src/modules/14_KPI/components/competency/Forms/01_FormMain.vue @@ -1,5 +1,160 @@ +div + + \ No newline at end of file + + + + diff --git a/src/modules/14_KPI/components/competency/Forms/03_FormExecutive.vue b/src/modules/14_KPI/components/competency/Forms/03_FormExecutive.vue index c170c3da3..68d522f34 100644 --- a/src/modules/14_KPI/components/competency/Forms/03_FormExecutive.vue +++ b/src/modules/14_KPI/components/competency/Forms/03_FormExecutive.vue @@ -1,5 +1,275 @@ + + \ No newline at end of file + + + + diff --git a/src/modules/14_KPI/components/competency/Forms/04_FormExecutivePosition.vue b/src/modules/14_KPI/components/competency/Forms/04_FormExecutivePosition.vue index 212191a98..105cc93e5 100644 --- a/src/modules/14_KPI/components/competency/Forms/04_FormExecutivePosition.vue +++ b/src/modules/14_KPI/components/competency/Forms/04_FormExecutivePosition.vue @@ -1,5 +1,211 @@ + + \ No newline at end of file +
+ +
+ +
+ +
+ +
+
+
+ + +
+
ระบบตำแหน่ง
+
+ คำอธิบายระดับ/พฤติกรรมที่คาดหวัง/พฤติกรรมย่อย +
+
+
+
+ + + L1 ระดับ หัวหน้าฝ่ายในสังกัด + + + +
+ +
+
+
+
+ + + L2 ระดับ ผู้ช่วยผู้อำนวยการเขต + + + +
+ +
+
+
+
+ + + L3 ระดับ ผู้อำนวยการเขต + + + +
+ +
+
+
+
+ + + + บันทึกข้อมูล + + +
+
+
+ diff --git a/src/modules/14_KPI/components/competency/Forms/05_FormExecutiveLevel.vue b/src/modules/14_KPI/components/competency/Forms/05_FormExecutiveLevel.vue index 55efbd5f5..a4a0f6b24 100644 --- a/src/modules/14_KPI/components/competency/Forms/05_FormExecutiveLevel.vue +++ b/src/modules/14_KPI/components/competency/Forms/05_FormExecutiveLevel.vue @@ -1,5 +1,173 @@ + + \ No newline at end of file +
+ +
+ +
+ +
+ +
+
+
+ + +
+
ระบบตำแหน่ง
+
+ คำอธิบายระดับ/พฤติกรรมที่คาดหวัง/พฤติกรรมย่อย +
+
+
+
+ + + L1 ประเภทอำนวยการ ระดับสูง + + + +
+ +
+
+
+
+ + + L2 ประเภทบริหาร ระดับสูง + + + +
+ +
+
+
+
+ + + + บันทึกข้อมูล + + +
+
+
+ diff --git a/src/modules/15_development/components/MainTab.vue b/src/modules/15_development/components/MainTab.vue index 0d5fd5193..7d4c29b18 100644 --- a/src/modules/15_development/components/MainTab.vue +++ b/src/modules/15_development/components/MainTab.vue @@ -53,15 +53,16 @@ function fetchDataProject(id: string) { store.formAddProject.projectName = data.projectName; store.formAddProject.reason = data.reason; store.formAddProject.objective = data.objective; - /**เป้าหมาย*/ - const plannedGoals = data.plannedGoals.map((e: ResPlannedGoals) => ({ + const plannedGoals = data.plannedGoals.map((e: any) => ({ groupTarget: e.groupTarget, groupTargetSub: e.groupTargetSub, - position: e.position, - posTypePlannedId: e.posTypePlannedId, - posLevelPlannedId: e.posLevelPlannedId, - type: e.type, + positions: e.plannedGoalPositions.map((v: any) => ({ + position: v.position, + posTypePlannedId: v.posTypePlannedId, + posLevelPlannedId: v.posLevelPlannedId, + })), + type: e.type ? e.type : null, amount: e.amount, })); const plannedPeoples = data.plannedPeoples.map((e: ResPeople) => ({ @@ -116,7 +117,11 @@ function fetchDataProject(id: string) { store.formAddProject.dateEnd = data.dateEnd; store.formAddProject.totalDate = data.totalDate; store.formAddProject.address = data.address; - store.formAddProject.provinceIds = data.provinceIds; + + const provinces = data.provinces.map((e: any) => e.id); + const provincesId = [...provinces]; + store.formAddProject.provinceIds = provincesId; + store.formAddProject.budget = data.budget; store.formAddProject.accept = data.accept; store.formAddProject.receive = data.receive; diff --git a/src/modules/15_development/components/ProjectDetail.vue b/src/modules/15_development/components/ProjectDetail.vue index a564464ac..d3f44a818 100644 --- a/src/modules/15_development/components/ProjectDetail.vue +++ b/src/modules/15_development/components/ProjectDetail.vue @@ -9,30 +9,26 @@ import { useDevelopmentDataStore } from "@/modules/15_development/store/developm const store = useDevelopmentDataStore(); const projectTypeOp = ref([ - { id: "1", name: "โครงการตามยุทธศาสตร์" }, - { id: "2", name: "โครงการตามภารกิจประจำของหน่วยงาน" }, - { id: "3", name: "โครงการใหม่" }, - { id: "4", name: "โครงการต่อเนื่อง" }, + { id: "STRATEGIC_PROJECT", name: "โครงการตามยุทธศาสตร์" }, + { id: "MISSION_PROJECT", name: "โครงการตามภารกิจประจำของหน่วยงาน" }, + { id: "NEW_PROJECT", name: "โครงการใหม่" }, + { id: "ONGOING_PROJEC", name: "โครงการต่อเนื่อง" }, ]); const projectCharacteristicsOp = ref([ - { id: "1", name: "ไป-กลับ" }, - { id: "2", name: "พักค้าง" }, - { id: "3", name: "ไป-กลับและพักค้าง" }, + { id: "GO_BACK", name: "ไป-กลับ" }, + { id: "HOLD", name: "พักค้าง" }, + { id: "GO_BACK_HOLD", name: "ไป-กลับและพักค้าง" }, ]); const projectTechniquesOp = ref([ - { id: "1", name: "การอบรม" }, - { id: "2", name: "การประชุม" }, - { id: "3", name: "การสัมมนา" }, - { id: "4", name: "การศึกษาดูงาน" }, - { id: "5", name: "การสัมมนาทางวิชาการ" }, - { id: "6", name: "การสัมมนาเชิงปฏิบัติการ" }, - { id: "7", name: "การบรรยายพิเศษ" }, - { id: "8", name: "การฝึกศึกษา" }, + { id: "TRAINING", name: "การอบรม" }, + { id: "MEETING", name: "การประชุม" }, + { id: "SEMINAR", name: "การสัมมนา" }, + { id: "STUDY_TOUR", name: "การศึกษาดูงาน" }, + { id: "ACADEMIC_SEMINAR", name: "การสัมมนาทางวิชาการ" }, + { id: "WORKSHOP", name: "การสัมมนาเชิงปฏิบัติการ" }, + { id: "SPECIAL_LECTURE", name: "การบรรยายพิเศษ" }, + { id: "STUDY_TRAINING", name: "การฝึกศึกษา" }, ]); - -onMounted(() => { - console.log("ลักษณะโครงการ"); -});