แก้บันทึกผลเครื่องราชทะเบียนประวัติไม่ได้
This commit is contained in:
parent
b93a03d0d2
commit
a8b3b0dcb0
1 changed files with 10 additions and 9 deletions
|
|
@ -23,17 +23,18 @@
|
|||
@click="selectData(props)"
|
||||
class="cursor-pointer"
|
||||
>
|
||||
<!-- <div
|
||||
<div
|
||||
v-if="
|
||||
col.name == 'receiveDate' ||
|
||||
col.name == 'dateAnnounce' ||
|
||||
col.name == 'createdAt' ||
|
||||
col.name == 'refCommandDate'
|
||||
"
|
||||
class="table_ellipsis"
|
||||
>
|
||||
{{ col.value == null ? null : date2Thai(col.value) }}
|
||||
</div> -->
|
||||
<div v-if="col.name == 'year'" class="table_ellipsis">
|
||||
</div>
|
||||
<div v-else-if="col.name == 'year'" class="table_ellipsis">
|
||||
{{ col.value + 543 }}
|
||||
</div>
|
||||
<div v-else class="table_ellipsis">
|
||||
|
|
@ -550,7 +551,7 @@ profileData.insignia.columns.length == 0
|
|||
"dateAnnounce",
|
||||
"refCommandNo",
|
||||
"refCommandDate",
|
||||
"createdAt"
|
||||
"createdAt",
|
||||
])
|
||||
: (visibleColumns.value = profileData.insignia.columns);
|
||||
const columns = ref<QTableProps["columns"]>([
|
||||
|
|
@ -953,7 +954,7 @@ const fetchData = async () => {
|
|||
rows.value.push({
|
||||
id: e.id,
|
||||
insignia: e.insignia == null ? null : e.insignia.name,
|
||||
insigniaId: e.insigniaId,
|
||||
insigniaId: e.insignia == null ? null : e.insignia.id,
|
||||
insigniaType: e.insigniaType,
|
||||
year: e.year,
|
||||
no: e.no,
|
||||
|
|
@ -962,13 +963,13 @@ const fetchData = async () => {
|
|||
volume: e.volume,
|
||||
section: e.section,
|
||||
page: e.page,
|
||||
receiveDate: date2Thai(e.receiveDate),
|
||||
dateAnnounce: date2Thai(e.dateAnnounce),
|
||||
receiveDate: new Date(e.receiveDate),
|
||||
dateAnnounce: new Date(e.dateAnnounce),
|
||||
refCommandNo: e.refCommandNo,
|
||||
refCommandDate:
|
||||
e.refCommandDate == null ? null : date2Thai(e.refCommandDate),
|
||||
e.refCommandDate == null ? null : new Date(e.refCommandDate),
|
||||
createdFullName: e.createdFullName,
|
||||
createdAt: date2Thai(e.createdAt),
|
||||
createdAt: new Date(e.createdAt),
|
||||
});
|
||||
});
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue