โครงสร้างอัตรากำลัง => ปรับ form Dialog
This commit is contained in:
parent
65647f79f0
commit
a2b8dfa308
4 changed files with 14 additions and 10 deletions
|
|
@ -121,7 +121,7 @@ watch(
|
|||
"
|
||||
/>
|
||||
<q-separator />
|
||||
<q-card-section class="q-pt-none q-pa-sm">
|
||||
<q-card-section>
|
||||
<d-table
|
||||
flat
|
||||
bordered
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue