- แก้ไขการแสดงผลหน้ารายการลงเวลาพิเศษ โดยปิดแสดงสถานะ
- coment code
This commit is contained in:
parent
373d36199d
commit
b24f4461ab
8 changed files with 146 additions and 130 deletions
|
|
@ -47,10 +47,7 @@ function functionFetch() {
|
|||
stores.tab === 'history' ? fetchlistHistory() : fetchlistTime()
|
||||
}
|
||||
|
||||
/**
|
||||
* ฟังก์ชั่นดึงข้อมูลรายการประวัติการลงเวลาจาก api มาแสดง
|
||||
* @param loading แสดง loading ไหม true คือแสดง, false คือไม่แสดง
|
||||
*/
|
||||
/*** ฟังก์ชั่นดึงข้อมูลรายการประวัติการลงเวลาจาก api มาแสดง */
|
||||
async function fetchlistHistory() {
|
||||
showLoader()
|
||||
await http
|
||||
|
|
@ -74,6 +71,7 @@ async function fetchlistHistory() {
|
|||
})
|
||||
}
|
||||
|
||||
/** ฟังก์ชั่นดึงรายการลงเวลากรณีพิเศษ */
|
||||
async function fetchlistTime() {
|
||||
showLoader()
|
||||
await http
|
||||
|
|
@ -124,6 +122,7 @@ watch(
|
|||
}
|
||||
)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="col-12 row justify-center">
|
||||
<div class="col-xs-12 col-sm-12 col-md-12">
|
||||
|
|
@ -211,4 +210,4 @@ watch(
|
|||
</q-card>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</template>
|
||||
Loading…
Add table
Add a link
Reference in a new issue