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" > - +