diff --git a/src/api/06_retirement/api.retirement.ts b/src/api/06_retirement/api.retirement.ts
index 24aea972b..8fff353c7 100644
--- a/src/api/06_retirement/api.retirement.ts
+++ b/src/api/06_retirement/api.retirement.ts
@@ -28,9 +28,9 @@ export default {
resignReject: (id: string) => `${retirement}/resign/reject/${id}`,
// ปลดออก
retirementDischarge,
- listDischared: () => `${retirement}/dischared`,
- discharedByid: (id: string) => `${retirement}/dischared/${id}`,
- discharedReport: `${retirement}/dischared/report`,
+ listDischarge: () => `${retirement}/discharge`,
+ dischargeByid: (id: string) => `${retirement}/discharge/${id}`,
+ dischargeReport: `${retirement}/discharge/report`,
// ไล่ออก
retirementExpulsion,
diff --git a/src/modules/04_registry/components/TableProfile.vue b/src/modules/04_registry/components/TableProfile.vue
index 0e722ed28..a946465f2 100644
--- a/src/modules/04_registry/components/TableProfile.vue
+++ b/src/modules/04_registry/components/TableProfile.vue
@@ -117,17 +117,10 @@
diff --git a/src/modules/05_placement/components/probation/FormEvaluation/Header.vue b/src/modules/05_placement/components/probation/FormEvaluation/Header.vue
index fb3aeb8e0..3052c883c 100644
--- a/src/modules/05_placement/components/probation/FormEvaluation/Header.vue
+++ b/src/modules/05_placement/components/probation/FormEvaluation/Header.vue
@@ -6,7 +6,6 @@ const router = useRouter();
const route = useRoute();
const assignId = ref(route.params.form.toString());
const personalId = ref(route.params.personalId.toString());
-
const tabHead = ref("save1");
const props = defineProps({
@@ -39,7 +38,7 @@ const nextPage = () => {
- |{{tabHead}}|
+ |{{ tabHead }}|
{
indicator-color="grey-1"
class="text-grey-7"
>
-
-
-
- ดาวน์โหลด
-
-
-
-
- ไฟล์ .PDF
-
-
-
- ไฟล์ .docx
-
-
-
-
-
+
+
+ ดาวน์โหลด
+
+
+
+
+ ไฟล์ .PDF
+
+
+
+ ไฟล์ .docx
+
+
+
+
+
-
+
-
-
+
diff --git a/src/modules/05_placement/components/probation/FormEvaluation/Template2.vue b/src/modules/05_placement/components/probation/FormEvaluation/Template2.vue
index 16d721f29..2726711d9 100644
--- a/src/modules/05_placement/components/probation/FormEvaluation/Template2.vue
+++ b/src/modules/05_placement/components/probation/FormEvaluation/Template2.vue
@@ -43,9 +43,9 @@ const fecthAssign = async (id: string) => {
await http
.get(config.API.evaluateCreate(id))
.then((res: any) => {
- if (res.data.data.evaluate_no > 2) {
+ if (res.data.data.evaluate_no > 0) {
tabs.value = res.data.data.evaluate;
- } else tabs.value.push({ no: 1 }, { no: 2 });
+ }
})
.catch((e: any) => {
console.log(e);
@@ -56,7 +56,9 @@ const fecthAssign = async (id: string) => {
});
};
const addData = () => {
- router.push(`/probation/detail/addevalua/${personalId.value}/${assignId.value}`);
+ router.push(
+ `/probation/detail/addevalua/${personalId.value}/${assignId.value}`
+ );
};
@@ -66,6 +68,7 @@ const addData = () => {
:activeTab="activeTab"
:loop="tabs.length"
:add-data="addData"
+ v-if="tabs.length > 0"
/>
@@ -188,6 +188,175 @@
+
+
+
+
+
+
+ ตำแหน่งและหน่วยงานเดิม
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+