Merge branch 'working' into develop
This commit is contained in:
commit
a0e3007221
5 changed files with 17 additions and 47 deletions
|
|
@ -117,17 +117,10 @@
|
||||||
</div>
|
</div>
|
||||||
<q-separator color="blue-1" />
|
<q-separator color="blue-1" />
|
||||||
<div class="dialog-card-contain">
|
<div class="dialog-card-contain">
|
||||||
<q-card-section class="q-pa-md">
|
<q-card-section class="q-pa-sm">
|
||||||
<div class="row col-12 q-col-gutter-sm">
|
<div class="row col-12 q-col-gutter-xs">
|
||||||
<div
|
|
||||||
:class="
|
|
||||||
$q.screen.lt.md
|
|
||||||
? ' row col-12 q-col-gutter-xs'
|
|
||||||
: 'no-wrap row col-12 q-col-gutter-xs'
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<selector
|
<selector
|
||||||
class="col-3"
|
class="col-4"
|
||||||
hide-bottom-space
|
hide-bottom-space
|
||||||
:rules="[(val:string) => !!val || `${'กรุณาเลือก ประเภท'}`]"
|
:rules="[(val:string) => !!val || `${'กรุณาเลือก ประเภท'}`]"
|
||||||
outlined
|
outlined
|
||||||
|
|
@ -160,7 +153,7 @@
|
||||||
type="number"
|
type="number"
|
||||||
/>
|
/>
|
||||||
<q-input
|
<q-input
|
||||||
class="col-2"
|
class="col-3"
|
||||||
clearable
|
clearable
|
||||||
dense
|
dense
|
||||||
outlined
|
outlined
|
||||||
|
|
@ -187,7 +180,7 @@
|
||||||
}}</template>
|
}}</template>
|
||||||
<template #trigger>
|
<template #trigger>
|
||||||
<q-input
|
<q-input
|
||||||
class="inputgreen cursor-pointer q-mb-sm"
|
class="inputgreen cursor-pointer"
|
||||||
hide-bottom-space
|
hide-bottom-space
|
||||||
outlined
|
outlined
|
||||||
dense
|
dense
|
||||||
|
|
@ -223,15 +216,6 @@
|
||||||
type="number"
|
type="number"
|
||||||
@update:model-value="updateGovAge"
|
@update:model-value="updateGovAge"
|
||||||
/>
|
/>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div
|
|
||||||
:class="
|
|
||||||
$q.screen.lt.md
|
|
||||||
? ' row col-12 q-col-gutter-xs'
|
|
||||||
: 'no-wrap row col-12 q-col-gutter-xs'
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<q-input
|
<q-input
|
||||||
v-if="employeeClass == 'officer'"
|
v-if="employeeClass == 'officer'"
|
||||||
clearable
|
clearable
|
||||||
|
|
@ -266,7 +250,7 @@
|
||||||
hide-bottom-space
|
hide-bottom-space
|
||||||
label="ตำแหน่งทางการบริหาร"
|
label="ตำแหน่งทางการบริหาร"
|
||||||
@update:model-value="updatePositionExecutive"
|
@update:model-value="updatePositionExecutive"
|
||||||
class="col-3"
|
class="col-4"
|
||||||
/>
|
/>
|
||||||
<q-input
|
<q-input
|
||||||
v-if="employeeClass != 'officer'"
|
v-if="employeeClass != 'officer'"
|
||||||
|
|
@ -290,7 +274,7 @@
|
||||||
hide-bottom-space
|
hide-bottom-space
|
||||||
label="ระดับชั้นงาน"
|
label="ระดับชั้นงาน"
|
||||||
@update:model-value="updateEmployeeLevel"
|
@update:model-value="updateEmployeeLevel"
|
||||||
class="col-3"
|
class="col-4"
|
||||||
/>
|
/>
|
||||||
<q-input
|
<q-input
|
||||||
clearable
|
clearable
|
||||||
|
|
@ -303,14 +287,6 @@
|
||||||
@update:model-value="updatePosNo"
|
@update:model-value="updatePosNo"
|
||||||
class="col-3"
|
class="col-3"
|
||||||
/>
|
/>
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
:class="
|
|
||||||
$q.screen.lt.md
|
|
||||||
? ' row col-12 q-col-gutter-xs'
|
|
||||||
: 'no-wrap row col-12 q-col-gutter-xs'
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<datepicker
|
<datepicker
|
||||||
class="col-2"
|
class="col-2"
|
||||||
menu-class-name="modalfix"
|
menu-class-name="modalfix"
|
||||||
|
|
@ -372,10 +348,9 @@
|
||||||
hide-bottom-space
|
hide-bottom-space
|
||||||
label="ประเภทคำสั่ง"
|
label="ประเภทคำสั่ง"
|
||||||
@update:model-value="updateReportType"
|
@update:model-value="updateReportType"
|
||||||
class="col-3"
|
class="col-4"
|
||||||
/>
|
/>
|
||||||
</div>
|
|
||||||
<div class="col-12 row items-center">
|
|
||||||
<q-toggle
|
<q-toggle
|
||||||
dense
|
dense
|
||||||
:model-value="isShowRetire"
|
:model-value="isShowRetire"
|
||||||
|
|
@ -437,7 +412,6 @@
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div> -->
|
</div> -->
|
||||||
</div>
|
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -239,10 +239,9 @@ const paginationLabel = (start: number, end: number, total: number) => {
|
||||||
>
|
>
|
||||||
|
|
||||||
<q-dialog v-model="modal">
|
<q-dialog v-model="modal">
|
||||||
<q-card style="width: 850px; max-width: 80vw" class="q-px-sm q-pb-md">
|
<q-card style="width: 850px; max-width: 80vw" class="q-pb-md">
|
||||||
<q-toolbar class="q-py-md">
|
<q-toolbar class="q-py-md">
|
||||||
<q-toolbar-title class="header-text text-weight-bolder"
|
<q-toolbar-title class="text-h6">เพิ่มรายชื่อ
|
||||||
>เพิ่มรายชื่อ
|
|
||||||
</q-toolbar-title>
|
</q-toolbar-title>
|
||||||
<q-btn
|
<q-btn
|
||||||
icon="close"
|
icon="close"
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ export default [
|
||||||
component: Main,
|
component: Main,
|
||||||
meta: {
|
meta: {
|
||||||
Auth: true,
|
Auth: true,
|
||||||
Key: [9],
|
Key: [11],
|
||||||
Role: "registryEmployee",
|
Role: "registryEmployee",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -991,12 +991,12 @@ const Retire = async () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-name {
|
.text-name {
|
||||||
font-size: 1.5em;
|
font-size: 1.3em;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-sub {
|
.text-sub {
|
||||||
font-size: 1.5em;
|
font-size: 1.3em;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
color: var(--q-primary);
|
color: var(--q-primary);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,7 @@
|
||||||
:historyClick="clickHistory"
|
:historyClick="clickHistory"
|
||||||
:addEmployee="statusAdd()"
|
:addEmployee="statusAdd()"
|
||||||
/>
|
/>
|
||||||
<q-separator />
|
<q-form ref="myform" class="col-12 q-pt-md">
|
||||||
<q-form ref="myform" class="col-12">
|
|
||||||
<div class="row col-12 items-center q-col-gutter-x-sm q-col-gutter-y-sm">
|
<div class="row col-12 items-center q-col-gutter-x-sm q-col-gutter-y-sm">
|
||||||
<div class="col-xs-6 col-sm-3 col-md-3">
|
<div class="col-xs-6 col-sm-3 col-md-3">
|
||||||
<q-input
|
<q-input
|
||||||
|
|
@ -346,10 +345,9 @@
|
||||||
) "
|
) "
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 q-pt-md q-pb-sm"><q-separator /></div>
|
|
||||||
</div>
|
</div>
|
||||||
</q-form>
|
</q-form>
|
||||||
|
<div class="col-12 q-pt-md q-pb-sm"><q-separator /></div>
|
||||||
<HistoryTable
|
<HistoryTable
|
||||||
:rows="rowsHistory"
|
:rows="rowsHistory"
|
||||||
:columns="columnsHistory"
|
:columns="columnsHistory"
|
||||||
|
|
@ -376,7 +374,7 @@
|
||||||
</q-tr>
|
</q-tr>
|
||||||
</template>
|
</template>
|
||||||
</HistoryTable>
|
</HistoryTable>
|
||||||
<div class="row col-12 q-pa-sm">
|
<div class="row col-12">
|
||||||
<q-space />
|
<q-space />
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
|
|
@ -387,7 +385,6 @@
|
||||||
@click="saveData"
|
@click="saveData"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<q-separator />
|
|
||||||
</q-card>
|
</q-card>
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue