Compare commits

..

No commits in common. "dev" and "v1.0.24" have entirely different histories.
dev ... v1.0.24

4 changed files with 11 additions and 21 deletions

View file

@ -508,15 +508,9 @@ onMounted(() => {
multiple multiple
hide-bottom-space hide-bottom-space
bg-color="white" bg-color="white"
:rules=" :rules="typeForm == 'LV-001' && formDataSick.leaveTotal >= 30 ?[
typeForm == 'LV-001' && formDataSick.leaveTotal >= 30 (val:string) => !!val && val.length >= 30 || `${'กรุณาแนบเอกสารประกอบ หรือ ใบรับรองแพทย์ กรณีลาป่วยตั้งเเต่ 30 วันขึ้นไป'}`,
? [ ]:[]"
(val) =>
(val && val.length > 0) ||
'กรุณาแนบเอกสารประกอบ หรือ ใบรับรองแพทย์ กรณีลาป่วยตั้งเเต่ 30 วันขึ้นไป',
]
: []
"
> >
<template v-slot:prepend> <template v-slot:prepend>
<q-icon name="attach_file" color="primary" /> <q-icon name="attach_file" color="primary" />

View file

@ -491,7 +491,7 @@ onMounted(async () => {
</div> </div>
</div> </div>
<div class="row col-12"> <!-- <div class="row col-12">
<q-space /> <q-space />
<q-input <q-input
v-if="mode" v-if="mode"
@ -522,9 +522,9 @@ onMounted(async () => {
:options="columns" :options="columns"
:display-value="$q.lang.table.columns" :display-value="$q.lang.table.columns"
/> />
</div> </div> -->
<div class="col-12 q-mt-sm"> <!-- <div class="col-12 q-mt-sm">
<d-table <d-table
flat flat
dense dense
@ -649,7 +649,7 @@ onMounted(async () => {
</div> </div>
</template> </template>
</d-table> </d-table>
</div> </div> -->
</div> </div>
<DialogHistory <DialogHistory

View file

@ -25,7 +25,7 @@ const router = useRouter();
</div> </div>
<div :class="`row q-my-sm ${$q.screen.gt.xs ? '' : 'mobileClass'}`"> <div :class="`row q-my-sm ${$q.screen.gt.xs ? '' : 'mobileClass'}`">
<Salary /> <!-- <Salary /> -->
<Nopaid /> <Nopaid />
</div> </div>
</template> </template>

View file

@ -277,7 +277,7 @@ function handleDeleteNotification() {
} }
}, },
"ยืนยันการล้างการแจ้งเตือนทั้งหมด", "ยืนยันการล้างการแจ้งเตือนทั้งหมด",
`ต้องการล้างการแจ้งเตือนทั้งหมด (${totalInbox.value} รายการ) ใช่หรือไม่? การกระทำนี้ไม่สามารถย้อนกลับได้`, "ต้องการยืนยันการล้างการแจ้งเตือนทั้งหมดใช่หรือไม่?",
); );
} }
@ -393,13 +393,9 @@ watch(
v-if="totalInbox !== 0" v-if="totalInbox !== 0"
flat flat
dense dense
no-caps round
size="12px" color="grey-7"
color="red-7"
icon="mdi-trash-can-outline" icon="mdi-trash-can-outline"
label="ล้างทั้งหมด"
class="q-ml-sm"
aria-label="ล้างการแจ้งเตือนทั้งหมด"
@click.stop.prevent="handleDeleteNotification" @click.stop.prevent="handleDeleteNotification"
> >
<q-tooltip>างการแจงเตอนทงหมด</q-tooltip> <q-tooltip>างการแจงเตอนทงหมด</q-tooltip>