feat: add position and salary review
This commit is contained in:
parent
226469dd85
commit
9f5d1f7913
9 changed files with 1589 additions and 79 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue