เพิ่มข้อมูลหลักตำแหน่งลูกจ้างประจำ, เพิ่ม page เลื่อนเงินเดือนลูกจ้างประจำ

This commit is contained in:
Warunee Tamkoo 2024-03-11 17:42:27 +07:00
parent 799cd7ce08
commit f16d7e100e
18 changed files with 2265 additions and 44 deletions

View file

@ -27,7 +27,7 @@ const isShowFilter = ref<boolean>(false);
const isShowBtnFilter = ref<boolean>(true);
const labelOption = reactive({
type: "ข้าราชการทั้งหมด",
type: "ประเภททั้งหมด",
posType: "ทั้งหมด",
posLevel: "ทั้งหมด",
retireYear: "",
@ -170,7 +170,7 @@ function selectRetireYear(item: DataOption) {
function clearSelect(t: string) {
if (t === "type") {
labelOption.type = "ข้าราชการทั้งหมด";
labelOption.type = "ประเภททั้งหมด";
} else if (t === "posType") {
labelOption.posType = "ทั้งหมด";
} else if (t === "posLevel") {
@ -259,7 +259,7 @@ onMounted(async () => {
round
color="white"
icon="close"
v-if="labelOption.type !== 'ข้าราชการทั้งหมด'"
v-if="labelOption.type !== 'ประเภททั้งหมด'"
@click.stop.prevent="clearSelect('type')"
/>
</template>
@ -285,7 +285,11 @@ onMounted(async () => {
class="custom-btn"
>
<template v-slot:label>
{{ `ประเภทตำแหน่ง${labelOption.posType}` }}
{{
labelOption.posType !== "ทั้งหมด"
? labelOption.posType
: `ประเภทตำแหน่ง${labelOption.posType}`
}}
<q-btn
size="10px"
flat
@ -318,7 +322,11 @@ onMounted(async () => {
label-color="white"
>
<template v-slot:label>
{{ `ระดับตำแหน่ง${labelOption.posLevel}` }}
{{
labelOption.posLevel !== "ทั้งหมด"
? labelOption.posLevel
: `ระดับตำแหน่ง${labelOption.posLevel}`
}}
<q-btn
size="10px"
flat