From 3f205977b0e831f3d55122f9c29a277f6d9cbcde Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Fri, 15 Mar 2024 17:37:42 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=9C=E0=B8=B9=E0=B8=81=20API=20(**?= =?UTF-8?q?=E0=B8=A3=E0=B8=AD=20API=20=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88?= =?UTF-8?q?=E0=B8=A1=E0=B9=80=E0=B8=95=E0=B8=B4=E0=B8=A1)=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=E0=B8=AD=E0=B8=99=E0=B8=B8=E0=B8=A1=E0=B8=B1?= =?UTF-8?q?=E0=B8=95=E0=B8=B4=20=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=E0=B9=80=E0=B8=A5=E0=B8=B7=E0=B9=88=E0=B8=AD?= =?UTF-8?q?=E0=B8=99=E0=B9=80=E0=B8=87=E0=B8=B4=E0=B8=99=E0=B9=80=E0=B8=94?= =?UTF-8?q?=E0=B8=B7=E0=B8=AD=E0=B8=99=E0=B8=82=E0=B9=89=E0=B8=B2=E0=B8=A3?= =?UTF-8?q?=E0=B8=B2=E0=B8=8A=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/13_salary/api.salary.ts | 6 ++- .../components/SalaryLists/ProcessStep.vue | 50 +++++++++++++++---- src/modules/13_salary/views/salaryLists.vue | 3 +- 3 files changed, 45 insertions(+), 14 deletions(-) diff --git a/src/api/13_salary/api.salary.ts b/src/api/13_salary/api.salary.ts index 4c106ad34..c99cdd567 100644 --- a/src/api/13_salary/api.salary.ts +++ b/src/api/13_salary/api.salary.ts @@ -49,5 +49,9 @@ export default { salaryFormula:()=>`${salaryFormula}`, salaryFormulaById:(id:string)=>`${salaryFormula}/${id}`, salaryEmployeePositionType:(key:string)=>`${salaryOrg}/pos/position?keyword=${key}&type=positionType`, - salaryEmployeeActive :()=>`${salary}/employee/active` + salaryEmployeeActive :()=>`${salary}/employee/active`, + + + salaryPeriodStatus:(type:string,periodId:string,rootId:string)=>`${salaryPeriod}/${type}/approve/${periodId}/${rootId}`, + salaryPeriodStatusComment:(type:string,periodId:string,rootId:string)=>`${salaryPeriod}/${type}/comment/${periodId}/${rootId}` }; diff --git a/src/modules/13_salary/components/SalaryLists/ProcessStep.vue b/src/modules/13_salary/components/SalaryLists/ProcessStep.vue index ce53168f7..6bda13d2c 100644 --- a/src/modules/13_salary/components/SalaryLists/ProcessStep.vue +++ b/src/modules/13_salary/components/SalaryLists/ProcessStep.vue @@ -1,20 +1,25 @@ @@ -128,7 +156,7 @@ function sendAndRecommend(title: string) { unelevated color="public" label="ส่งเอกสารให้ ผอ. ตรวจสอบ" - @click="sendToDirector('ส่งเอกสารให้ ผอ. ตรวจสอบ')" + @click="sendToDirector('ส่งเอกสารให้ ผอ. ตรวจสอบ','officer')" /> @@ -137,7 +165,7 @@ function sendAndRecommend(title: string) { unelevated color="public" label="ยืนยันและส่งเอกสารให้ สกจ." - @click="sendToDirector('ยืนยันและส่งเอกสารให้ สกจ.')" + @click="sendToDirector('ยืนยันและส่งเอกสารให้ สกจ.','head')" /> @@ -146,7 +174,7 @@ function sendAndRecommend(title: string) { unelevated color="green" label="ยืนยันการตรวจสอบ" - @click="sendToDirector('ยืนยันการตรวจสอบ')" + @click="sendToDirector('ยืนยันการตรวจสอบ','owner')" /> @@ -156,7 +184,7 @@ function sendAndRecommend(title: string) { unelevated color="warning" label="ส่งคำแนะนำให้ ผอ. ตรวจสอบ" - @click="sendAndRecommend('ส่งคำแนะนำให้ ผอ. ตรวจสอบ')" + @click="sendAndRecommend('ส่งคำแนะนำให้ ผอ. ตรวจสอบ','owner')" /> @@ -165,7 +193,7 @@ function sendAndRecommend(title: string) { unelevated color="public" label="ส่งคำแนะนำให้การเจ้าหน้าที่หน่วยงาน" - @click="sendAndRecommend('ส่งคำแนะนำให้ ผอ. ตรวจสอบ')" + @click="sendAndRecommend('ส่งคำแนะนำให้ ผอ. ตรวจสอบ','head')" /> { รายการเลื่อนเงินเดือนข้าราชการฯ - { bordered class="row col-12 q-mt-xs" > - +