เพิ่มแสดงหมายเหตุในหน้า ลงเวลา
This commit is contained in:
parent
38d10dab94
commit
c78cc9b0bd
4 changed files with 21 additions and 6 deletions
|
|
@ -17,10 +17,10 @@ const props = defineProps({
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
defualt: false,
|
defualt: false,
|
||||||
},
|
},
|
||||||
selected: {
|
// selected: {
|
||||||
type: Array,
|
// type: Array,
|
||||||
defualt: [],
|
// defualt: [],
|
||||||
},
|
// },
|
||||||
pageSize: {
|
pageSize: {
|
||||||
type: Number,
|
type: Number,
|
||||||
defualt: 10,
|
defualt: 10,
|
||||||
|
|
@ -281,6 +281,7 @@ const checkRequestEdit = (checkInStatus: string, checkOutStatus: string) => {
|
||||||
v-model:selected="selected"
|
v-model:selected="selected"
|
||||||
:virtual-scroll-sticky-size-start="48"
|
:virtual-scroll-sticky-size-start="48"
|
||||||
:style="$q.screen.gt.xs ? 'max-height: 64vh' : ''"
|
:style="$q.screen.gt.xs ? 'max-height: 64vh' : ''"
|
||||||
|
:rows-per-page-options="[10, 25, 50, 100]"
|
||||||
:grid="$q.screen.gt.xs ? false : true"
|
:grid="$q.screen.gt.xs ? false : true"
|
||||||
:pagination="initialPagination"
|
:pagination="initialPagination"
|
||||||
@update:pagination="updatePagination"
|
@update:pagination="updatePagination"
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ function onClickClose() {
|
||||||
<datepicker
|
<datepicker
|
||||||
menu-class-name="modalfix"
|
menu-class-name="modalfix"
|
||||||
v-model="filterYear"
|
v-model="filterYear"
|
||||||
class="col-2"
|
class="col-xs-5 col-sm-3 col-md-2"
|
||||||
:locale="'th'"
|
:locale="'th'"
|
||||||
autoApply
|
autoApply
|
||||||
year-picker
|
year-picker
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,9 @@ async function fetchlistHistory(loading = true) {
|
||||||
await http
|
await http
|
||||||
.get(
|
.get(
|
||||||
config.API.history() +
|
config.API.history() +
|
||||||
`?year=${year.value}&page=${page.value}&pageSize=${pageSize.value}&keyword=${filter.value}`
|
`?year=${year.value}&page=${page.value}&pageSize=${
|
||||||
|
pageSize.value
|
||||||
|
}&keyword=${filter.value ? filter.value : ''}`
|
||||||
)
|
)
|
||||||
.then(async (res) => {
|
.then(async (res) => {
|
||||||
const data = res.data.result.data
|
const data = res.data.result.data
|
||||||
|
|
|
||||||
|
|
@ -489,6 +489,18 @@ onMounted(async () => {
|
||||||
</div>
|
</div>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
|
||||||
|
<q-card bordered flat class="q-pa-sm">
|
||||||
|
<div class="col-12">
|
||||||
|
<q-input
|
||||||
|
outlined
|
||||||
|
v-model="remark"
|
||||||
|
label="หมายเหตุ"
|
||||||
|
lazy-rules
|
||||||
|
dense
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</q-card>
|
||||||
|
|
||||||
<div class="col-12 text-right">
|
<div class="col-12 text-right">
|
||||||
<q-separator />
|
<q-separator />
|
||||||
<div class="col-12 q-pa-md">
|
<div class="col-12 q-pa-md">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue