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

View file

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