fix ===> ระบบการลาและลงเวลา >> แก้ไขรอบการปฏิบัติงาน (ลูกจ้าง) (ข้อมูลรายชื่อ ขรก. แสดงในหน้าแก้ไขของลูกจ้าง)

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-07-21 15:23:12 +07:00
parent f15883195c
commit d7dc720d10
2 changed files with 11 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<script setup lang="ts"> <script setup lang="ts">
import { ref, watch, reactive } from "vue"; import { ref, watch, reactive, onMounted } from "vue";
import { useQuasar } from "quasar"; import { useQuasar } from "quasar";
import http from "@/plugins/http"; import http from "@/plugins/http";
@ -134,6 +134,10 @@ watch(
searchData(); searchData();
} }
); );
onMounted(() => {
dataStore.rows = [];
});
</script> </script>
<template> <template>
<div class="toptitle text-dark col-12 row items-center"> <div class="toptitle text-dark col-12 row items-center">
@ -293,7 +297,7 @@ watch(
</q-td> </q-td>
<q-td v-for="col in props.cols" :key="col.name" :props="props"> <q-td v-for="col in props.cols" :key="col.name" :props="props">
<div> <div>
{{ col.value ?? '-' }} {{ col.value ?? "-" }}
</div> </div>
</q-td> </q-td>
</q-tr> </q-tr>

View file

@ -1,5 +1,5 @@
<script setup lang="ts"> <script setup lang="ts">
import { ref, watch, reactive } from "vue"; import { ref, watch, reactive, onMounted } from "vue";
import { useQuasar } from "quasar"; import { useQuasar } from "quasar";
import http from "@/plugins/http"; import http from "@/plugins/http";
@ -134,6 +134,10 @@ watch(
searchData(); searchData();
} }
); );
onMounted(() => {
dataStore.rows = [];
});
</script> </script>
<template> <template>
<div class="toptitle text-dark col-12 row items-center"> <div class="toptitle text-dark col-12 row items-center">