แก้ข้อความ

This commit is contained in:
Warunee Tamkoo 2024-08-14 11:15:30 +07:00
parent 8a150642b5
commit 638154beba
3 changed files with 8 additions and 5 deletions

View file

@ -84,7 +84,7 @@ const columns = ref<QTableProps["columns"]>([
field: "createdAt",
headerStyle: "font-size: 14px",
format(val, row) {
return date2Thai(val);
return date2Thai(val, false, true);
},
style: "font-size: 14px",
},
@ -380,7 +380,7 @@ onMounted(() => {
:paging="true"
:visible-columns="visibleColumns"
>
<template v-slot:header-selection="scope" v-if="tab === 'COMPLETE'">
<template v-slot:header-selection="scope" v-if="tab === 'COMPLETE'">
<q-checkbox
v-if="tab === 'COMPLETE' && checkPermission($route)?.attrIsUpdate"
keep-color

View file

@ -53,7 +53,7 @@ const columns = ref<QTableProps["columns"]>([
field: "createdAt",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
format: (v) => date2Thai(v),
format: (v) => date2Thai(v, false, true),
sort: (a: string, b: string) =>
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
},
@ -364,7 +364,10 @@ onMounted(async () => {
<q-tooltip>รายละเอยด</q-tooltip>
</q-btn>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate && checkPermission($route)?.attrIsGet"
v-if="
checkPermission($route)?.attrIsUpdate &&
checkPermission($route)?.attrIsGet
"
@click="redirectViewDetail(props.row.id)"
round
color="edit"

View file

@ -567,7 +567,7 @@ defineExpose({
<div
class="col-xs-12 col-sm-12 text-weight-medium bg-grey-1 q-py-xs q-px-md"
>
เวลาและสถานทดำเนนการ
ระยะเวลาและสถานทดำเนนการ
</div>
<q-separator />
<q-card-section>