feat: add position and salary review

This commit is contained in:
Warunee Tamkoo 2026-01-27 16:21:25 +07:00
parent 226469dd85
commit 9f5d1f7913
9 changed files with 1589 additions and 79 deletions

View file

@ -52,11 +52,11 @@ async function onClickDownloadKp7(type: string) {
type === "FULL"
? config.API.profileReportId(
store.profileId,
dataStore.officerType == "OFFICER" ? "profile" : "profile-employee"
dataStore.officerType == "OFFICER" ? "profile" : "profile-employee",
)
: config.API.profileKp7ShortId(
store.profileId,
dataStore.officerType == "OFFICER" ? "profile" : "profile-employee"
dataStore.officerType == "OFFICER" ? "profile" : "profile-employee",
);
const fileName = type === "FULL" ? "ทปอ. สามัญ" : "ประวัติแบบย่อ";
await http
@ -78,11 +78,6 @@ const clickBack = () => {
router.push(`/`);
};
/** ฟังก์ชัน redirect ไปหน้ารายการคำร้องขอแก้ไขข้อมูล*/
function redirectToPagePetition() {
router.push(`/registry/request-edit`);
}
function onMobile(type: string) {
router.push(`/registry/${type}`);
}
@ -103,10 +98,20 @@ function onMobile(type: string) {
@click="clickBack"
/>
อมลทะเบยนประว <q-space />
<q-btn
color="blue-6"
icon="mdi-eye"
label="ตรวจสอบข้อมูลตำแหน่งและเงินเดือน"
class="q-mr-sm"
@click="() => router.push('/registry/position-review')"
>
<q-tooltip>ไปยงหนาตรวจสอบขอมลตำแหนงและเงนเดอน</q-tooltip>
</q-btn>
<q-btn
color="primary"
label="ยื่นคำร้องขอแก้ไขข้อมูล"
@click="redirectToPagePetition"
@click="() => router.push('/registry/request-edit')"
>
<q-tooltip>นคำรองขอแกไขขอม</q-tooltip>
</q-btn>