โครงสร้างอัตรากำลัง => ปรับ form Dialog

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-06-11 13:57:52 +07:00
parent 65647f79f0
commit a2b8dfa308
4 changed files with 14 additions and 10 deletions

View file

@ -121,7 +121,7 @@ watch(
"
/>
<q-separator />
<q-card-section class="q-pt-none q-pa-sm">
<q-card-section>
<d-table
flat
bordered

View file

@ -95,14 +95,13 @@ watch(
<template>
<q-dialog v-model="modal" persistent>
<q-card style="min-width: 50vw">
<!-- <form @submit.prevent="validateForm"> -->
<DialogHeader
:tittle="`จัดลำดับ${type == 0 ? 'หน่วยงาน' : 'ส่วนราชการ'}`"
:close="() => (modal = false)"
/>
<q-separator />
<q-card-section>
<q-card-section style="max-height: 70vh" class="scroll">
<q-table
v-draggable-table="{
options: {
@ -124,10 +123,11 @@ watch(
/>
</q-card-section>
<q-separator />
<q-card-actions align="right" class="bg-white text-teal">
<q-btn type="submit" :label="`บันทึก`" color="public" @click="save" />
<q-card-actions align="right">
<q-btn type="submit" :label="`บันทึก`" color="public" @click="save" >
<q-tooltip>นทกขอม</q-tooltip>
</q-btn>
</q-card-actions>
<!-- </form> -->
</q-card>
</q-dialog>
</template>

View file

@ -396,8 +396,10 @@ function clearForm() {
<q-separator />
<q-card-actions align="right" class="bg-white text-teal">
<q-btn label="สืบทอดตำแหน่ง" color="public" @click="onClickConfirm" />
<q-card-actions align="right">
<q-btn label="สืบทอดตำแหน่ง" color="public" @click="onClickConfirm">
<q-tooltip>บทอดตำแหน</q-tooltip></q-btn
>
</q-card-actions>
</q-card>
</q-dialog>

View file

@ -393,8 +393,10 @@ function clearForm() {
<q-separator />
<q-card-actions align="right" class="bg-white text-teal">
<q-btn label="สืบทอดตำแหน่ง" color="public" @click="onClickConfirm" />
<q-card-actions align="right">
<q-btn label="สืบทอดตำแหน่ง" color="public" @click="onClickConfirm">
<q-tooltip>บทอดตำแหน</q-tooltip>
</q-btn>
</q-card-actions>
</q-card>
</q-dialog>