This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-05-15 09:57:13 +07:00
parent 4340eb5e02
commit d9eb9c7e8b
3 changed files with 21 additions and 21 deletions

View file

@ -356,12 +356,7 @@ onMounted(async () => {
</script> </script>
<template> <template>
<q-card <q-card bordered flat class="col-12 bg-grey-2 shadow-0">
bordered
flat
class="col-12 bg-grey-2 shadow-0"
:style="$q.screen.gt.xs ? ';' : 'border-radius: 20px'"
>
<div id="mapViewDisplay" style="height: 35vh"></div> <div id="mapViewDisplay" style="height: 35vh"></div>
<div <div

View file

@ -192,7 +192,11 @@ onMounted(() => {
</script> </script>
<template> <template>
<q-card-section :horizontal="$q.screen.gt.md" style="padding: 0px"> <q-card-section
:horizontal="$q.screen.gt.md"
style="max-height: 65vh; padding: 0px"
class="scroll"
>
<div class="col-12"> <div class="col-12">
<div class="row q-col-q-gutter-sm"> <div class="row q-col-q-gutter-sm">
<div class="q-pa-md col-md-5 col-xs-12"> <div class="q-pa-md col-md-5 col-xs-12">
@ -202,7 +206,7 @@ onMounted(() => {
:class="$q.screen.gt.xs ? 'col-12 bg-grey-1' : 'col-12 '" :class="$q.screen.gt.xs ? 'col-12 bg-grey-1' : 'col-12 '"
> >
<q-card-section class="bg-primary text-white q-pa-sm"> <q-card-section class="bg-primary text-white q-pa-sm">
<div class="text-center text-bold">เวลาป</div> <div class="text-center text-bold">เวลาปasdasdas</div>
</q-card-section> </q-card-section>
<q-card-section class="text-center q-pa-sm"> <q-card-section class="text-center q-pa-sm">
@ -320,25 +324,25 @@ onMounted(() => {
</q-card> </q-card>
</div> </div>
<q-separator vertical /> <q-separator vertical />
<div class="q-pa-md col">
<div class="row q-col-gutter-sm"> <div
<q-card flat bordered class="q-pa-sm col-12 q-mt-sm"> class="q-pa-md col"
<MapCheck @update:location="updateLocation" /> :style="!$q.screen.gt.sm ? 'padding-top: 0;' : ''"
</q-card> >
</div> <q-card flat bordered class="col-12">
<MapCheck @update:location="updateLocation" />
</q-card>
</div> </div>
<!-- :style="action == 'special' ? 'margin-bottom: 120px' : ''" --> <!-- :style="action == 'special' ? 'margin-bottom: 120px' : ''" -->
</div> </div>
</div> </div>
</q-card-section> </q-card-section>
<div class="col-12">
<div class="col-12"><q-separator /></div> <q-separator />
<div class="row col-12 q-pa-sm"> <q-card-actions align="right">
<q-space /> <q-btn color="secondary" label="บันทึก" @click="onCkickSave" />
<q-btn color="secondary" label="บันทึก" @click="onCkickSave" /> </q-card-actions>
</div>
</div>
</template> </template>
<style scoped></style> <style scoped></style>

View file

@ -42,6 +42,7 @@ async function changePage(pageVal: number, pageSizeVal: number, key: string) {
* งกนสำหรบดงขอมลตามประเภทแทบทเลอก * งกนสำหรบดงขอมลตามประเภทแทบทเลอก
*/ */
async function functionFetch() { async function functionFetch() {
stores.rows = []
stores.tab === 'history' ? await fetchlistHistory() : await fetchlistTime() stores.tab === 'history' ? await fetchlistHistory() : await fetchlistTime()
} }