diff --git a/src/api/02_organizational/api.treelist.ts b/src/api/02_organizational/api.treelist.ts index 215036604..063b8af04 100644 --- a/src/api/02_organizational/api.treelist.ts +++ b/src/api/02_organizational/api.treelist.ts @@ -89,4 +89,6 @@ export default { organizationEmployeePositionId: (profileId: string) => `${organizationEmployee}position/${profileId}`, + organizationEmployeeSendOrder: `${organizationEmployee}report`, + }; diff --git a/src/api/07_insignia/api.insignia.ts b/src/api/07_insignia/api.insignia.ts index f05e19bca..41ccd6778 100644 --- a/src/api/07_insignia/api.insignia.ts +++ b/src/api/07_insignia/api.insignia.ts @@ -3,12 +3,19 @@ */ import env from "../index"; const insignia = `${env.API_URI}/insignia`; +const Organization = `${env.API_URI}/Organization` export default { getRoundInsignia: (id: string) => `${insignia}/period/${id}`, listRoundInsignia: (type: string) => `${insignia}/period/${type}`, editRoundInsignia: (id: string) => `${insignia}/period/${id}`, RoundInsignia: (id: string) => `${insignia}/period/${id}`, + requestInsignia: (insigniaPeriodId: string) => `${insignia}/request/${insigniaPeriodId}`, + // Type + typeOc: () => `${Organization}/history/type/หน่วยงาน`, + + // manage insigniaManage: (type: string) => `${insignia}/manage/${type}`, + insigniaList: (insigniaPeriodId: any, ocId: string, role: string, status: any) => `${insignia}/request/${insigniaPeriodId}/${ocId}/${role}/${status}` }; diff --git a/src/modules/04_registry/components/Profile.vue b/src/modules/04_registry/components/Profile.vue index 760fb47bd..7e27f7f76 100644 --- a/src/modules/04_registry/components/Profile.vue +++ b/src/modules/04_registry/components/Profile.vue @@ -495,7 +495,7 @@ dense outlined v-model="reasonDeath" - label="เหตุผลการเสีบชีวิต" + label="เหตุผลการเสียชีวิต" type="textarea" /> diff --git a/src/modules/05_placement/components/AppointMent/Main.vue b/src/modules/05_placement/components/AppointMent/Main.vue index 3104f9c59..3f0854ee7 100644 --- a/src/modules/05_placement/components/AppointMent/Main.vue +++ b/src/modules/05_placement/components/AppointMent/Main.vue @@ -131,32 +131,8 @@ const fecthTypeOption = async () => { }); }; -const rows = ref([ - // { - // personalId: "08db721d-add6-47b0-8a13-5f45d106e8d1", - // citizenId: "1234444332222", - // fullname: "นางสาวอย พชช", - // organizationName: "นักจัดการงานทั่วไป", - // orgName: "กลุ่มงานช่วยนักบริหาร", - // organizationShortName: "สกจ.", - // positionNumber: "กก. 1", - // positionPath: "นักจัดการงานทั่วไป", - // birthday: dateText(new Date("1989-09-03")), - // }, -]); -const rows2 = ref([ - // { - // personalId: "08db721d-add6-47b0-8a13-5f45d106e8d1", - // citizenId: "1234444332222", - // fullname: "นางสาวอย พชช", - // organizationName: "นักจัดการงานทั่วไป", - // orgName: "กลุ่มงานช่วยนักบริหาร", - // organizationShortName: "สกจ.", - // positionNumber: "กก. 1", - // positionPath: "นักจัดการงานทั่วไป", - // birthday: dateText(new Date("1989-09-03")), - // }, -]); +const rows = ref([]); +const rows2 = ref([]); const columns = ref([ { name: "no", @@ -714,7 +690,7 @@ const status = (val: string) => { - + /> -->
diff --git a/src/modules/05_placement/components/probation/MainDetail.vue b/src/modules/05_placement/components/probation/MainDetail.vue index b5059231d..7872a1f65 100644 --- a/src/modules/05_placement/components/probation/MainDetail.vue +++ b/src/modules/05_placement/components/probation/MainDetail.vue @@ -17,15 +17,6 @@ const TabsTemplate2Format2 = defineAsyncComponent( const TabsTemplate3 = defineAsyncComponent( () => import("@/modules/05_placement/components/probation/FormEvaluation/Template3.vue") ); -// const Tabs2 = defineAsyncComponent( -// () => import("@/modules/05_placement/components/probation/tabs/tabs2.vue") -// ); -const Tabs3 = defineAsyncComponent( - () => import("@/modules/05_placement/components/probation/tabs/tabs3.vue") -); -const Tabs4 = defineAsyncComponent( - () => import("@/modules/05_placement/components/probation/tabs/tabs4.vue") -); const router = useRouter(); const drawer = ref(true); @@ -76,7 +67,7 @@ const activeTab = ref("tab1"); --> - แบบประเมินผล
(ผู้บังคับบัญชา) + แบบประเมินผล
(ผู้บังคับบัญชา)
@@ -87,7 +78,7 @@ const activeTab = ref("tab1"); --> - แบบประเมินผล
(คณะกรรมการ) + แบบประเมินผล
(คณะกรรมการ)
@@ -98,9 +89,15 @@ const activeTab = ref("tab1"); --> - แบบรายงาน
การประเมินฯ + แบบรายงาน
การประเมินฯ
+ + + ผลการประเมินการทดลองปฏิบัติหน้าที่ราชการ + + + @@ -112,7 +109,7 @@ const activeTab = ref("tab1"); - + diff --git a/src/modules/07_insignia/components/1_Proposals/listProposals.vue b/src/modules/07_insignia/components/1_Proposals/listProposals.vue index c558d3d48..74139883e 100644 --- a/src/modules/07_insignia/components/1_Proposals/listProposals.vue +++ b/src/modules/07_insignia/components/1_Proposals/listProposals.vue @@ -20,6 +20,7 @@ const { dateToISO, showLoader, hideLoader, + dialogConfirm, } = mixin; const route = useRoute(); const $q = useQuasar(); //ใช้ noti quasar @@ -232,6 +233,32 @@ const clickProposals = (file: string) => { window.open(file); } }; +const clickListInsignia = async (propsId: string) => { + dialogConfirm( + $q, + async () => { + await getRequest(propsId); + }, + "ยืนยันการคำนวณราชชื่อผู้ได้รับเครื่องราช", + "ต้องการยืนยันการคำนวณราชชื่อผู้ได้รับเครื่องราชนี้หรือไม่ ?" + ); +}; +const getRequest = async (id: string) => { + showLoader(); + await http + .get(config.API.requestInsignia(id)) + .then((res) => { + console.log(res); + success($q, "ยืนยันสำเร็จ"); + }) + .catch((err) => { + console.log(err); + messageError($q, err); + }) + .finally(async () => { + await fetchData(); + }); +}; // ค้นหาในตาราง const filterKeyword = ref(""); @@ -338,6 +365,7 @@ const paginationLabel = (start: string, end: string, total: string) => { + - -