แก้ข้อความ
This commit is contained in:
parent
8a150642b5
commit
638154beba
3 changed files with 8 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue