เพิ่มข้อมูลหลักตำแหน่งลูกจ้างประจำ, เพิ่ม page เลื่อนเงินเดือนลูกจ้างประจำ
This commit is contained in:
parent
799cd7ce08
commit
f16d7e100e
18 changed files with 2265 additions and 44 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue