+
+
-
+
+
+
-
+
+
+
-
-
+
+
+
+
+
+
+
+ เงินเดือนตำแหน่งและหน่วยงานที่รับโอน
{
lazy-rules
:readonly="!edit"
:borderless="!edit"
- v-model="reason"
- :rules="[(val) => !!val || `${'กรุณากรอกหมายเหตุ '}`]"
+ v-model="salaryNew"
+ :rules="[(val) => !!val || `${'กรุณากรอกเงินเดือน'}`]"
hide-bottom-space
- :label="`${'หมายเหตุ '}`"
- type="textarea"
+ :label="`${'เงินเดือน'}`"
+ type="number"
/>
+
+
+
-
-
-
+
+
+
+
-
-
\ No newline at end of file
+
diff --git a/src/modules/05_placement/components/Repatriate/RepatriateMain.vue b/src/modules/05_placement/components/Repatriate/RepatriateMain.vue
index 2deb571b2..c678620e9 100644
--- a/src/modules/05_placement/components/Repatriate/RepatriateMain.vue
+++ b/src/modules/05_placement/components/Repatriate/RepatriateMain.vue
@@ -534,7 +534,7 @@ onMounted(async () => {
:columns="columns2"
:rows="rows2"
:filter="filterKeyword2"
- row-key="personalId"
+ row-key="id"
class="custom-header-table"
:visible-columns="visibleColumns2"
selection="multiple"
diff --git a/src/modules/05_placement/components/Repatriate/RepatriatebyId.vue b/src/modules/05_placement/components/Repatriate/RepatriatebyId.vue
index 2f214ec16..0d7bf023a 100644
--- a/src/modules/05_placement/components/Repatriate/RepatriatebyId.vue
+++ b/src/modules/05_placement/components/Repatriate/RepatriatebyId.vue
@@ -439,10 +439,11 @@
positionLevelOld: positionLevelOld.value,
positionNumberOld: posNo.value,
amountOld: salary.value,
+
};
showLoader();
await http
- .put(config.API.transferId(personId.toString()), body)
+ .put(config.API.repatriationMainEdit(personId.toString()), body)
.then((res: any) => {
// const data = res.data.result;
// console.log(data);
diff --git a/src/modules/05_placement/components/helpgovernment/governmentDetail.vue b/src/modules/05_placement/components/helpgovernment/governmentDetail.vue
index 716269933..944de9a45 100644
--- a/src/modules/05_placement/components/helpgovernment/governmentDetail.vue
+++ b/src/modules/05_placement/components/helpgovernment/governmentDetail.vue
@@ -442,7 +442,7 @@ const saveData = async () => {
};
showLoader();
await http
- .put(config.API.transferId(personId.toString()), body)
+ .put(config.API.officerMainEdit(personId.toString()), body)
.then((res: any) => {
// const data = res.data.result;
// console.log(data);
diff --git a/src/modules/05_placement/components/helpgovernment/mainHelp.vue b/src/modules/05_placement/components/helpgovernment/mainHelp.vue
index 26c1e5a24..0b66418ce 100644
--- a/src/modules/05_placement/components/helpgovernment/mainHelp.vue
+++ b/src/modules/05_placement/components/helpgovernment/mainHelp.vue
@@ -534,7 +534,7 @@ onMounted(async () => {
:columns="columns2"
:rows="rows2"
:filter="filterKeyword2"
- row-key="personalId"
+ row-key="id"
class="custom-header-table"
:visible-columns="visibleColumns2"
selection="multiple"
diff --git a/src/modules/05_placement/router.ts b/src/modules/05_placement/router.ts
index e599f38a0..7596d1944 100644
--- a/src/modules/05_placement/router.ts
+++ b/src/modules/05_placement/router.ts
@@ -33,12 +33,12 @@ const RepatriationOrder = () =>
import("@/modules/05_placement/components/RepatriationOrder/List.vue");
const RepatriationOrderAdd = () =>
import("@/modules/05_placement/components/RepatriationOrder/AddOrder.vue");
- const helpgovernment = () => import("@/modules/05_placement/components/helpgovernment/mainHelp.vue")
- const helpgovernmentbyId = () => import("@/modules/05_placement/components/helpgovernment/governmentDetail.vue")
- const repatriate = () => import("@/modules/05_placement/components/Repatriate/RepatriateMain.vue")
- const repatriatebyId = () => import("@/modules/05_placement/components/Repatriate/RepatriatebyId.vue")
- const relocation = () => import("@/modules/05_placement/components/Relocation/RelocationMain.vue")
- const relocationbyId = () => import("@/modules/05_placement/components/Relocation/RelocationbyId.vue")
+const helpgovernment = () => import("@/modules/05_placement/components/helpgovernment/mainHelp.vue")
+const helpgovernmentbyId = () => import("@/modules/05_placement/components/helpgovernment/governmentDetail.vue")
+const repatriate = () => import("@/modules/05_placement/components/Repatriate/RepatriateMain.vue")
+const repatriatebyId = () => import("@/modules/05_placement/components/Repatriate/RepatriatebyId.vue")
+const relocation = () => import("@/modules/05_placement/components/Relocation/RelocationMain.vue")
+const relocationbyId = () => import("@/modules/05_placement/components/Relocation/RelocationbyId.vue")
//รับโอน
const receiveMain = () =>
import("@/modules/05_placement/components/Receive/receiveMain.vue");
@@ -53,6 +53,12 @@ const FormSaveResultAdd = () =>
import(
"@/modules/05_placement/components/probation/FormEvaluation/FormSaveResultAdd.vue"
);
+//แต่งตั้ง-เลื่อน
+const AppointmentMain = () => import("@/modules/05_placement/components/AppointMent/Main.vue");
+const AppointmentDetail = () => import("@/modules/05_placement/components/AppointMent/Detail.vue");
+//อื่นๆ
+const OtherMain = () => import("@/modules/05_placement/components/Other/Main.vue")
+const OthertDetail = () => import("@/modules/05_placement/components/Other/Detail.vue");
export default [
{
@@ -266,6 +272,35 @@ export default [
},
},
{
+ path: "appoint-promote",
+ name: "appoint-promote",
+ component: AppointmentMain,
+ meta: {
+ Auth: true,
+ Key: [6.8],
+ Role: "placement",
+ },
+ },
+ {
+ path: "appoint-promote/detail/:id",
+ name: "appoint-promote-detail",
+ component: AppointmentDetail,
+ meta: {
+ Auth: true,
+ Key: [6.8],
+ Role: "placement",
+ },
+ },
+ {
+ path: "other",
+ name: "other",
+ component: OtherMain,
+ meta: {
+ Auth: true,
+ Key: [6.9],
+ Role: "placement",
+ },
+ }, {
path: "/relocation",
name: "relocation",
component: relocation,
@@ -276,6 +311,15 @@ export default [
},
},
{
+ path: "other/detail/:id",
+ name: "other-detail",
+ component: OthertDetail,
+ meta: {
+ Auth: true,
+ Key: [6.9],
+ Role: "placement",
+ },
+ }, {
path: "/relocation/detail/:id",
name: "relocationId",
component: relocationbyId,