no message
This commit is contained in:
parent
adcff8a09d
commit
7d0c2217d4
13 changed files with 262 additions and 114 deletions
|
|
@ -45,6 +45,7 @@ const visibleColumns = ref<string[]>([
|
|||
"fullname",
|
||||
"organizationName",
|
||||
"dateOfBirth",
|
||||
"createdAt",
|
||||
"statusText",
|
||||
"btn",
|
||||
]);
|
||||
|
|
@ -114,6 +115,16 @@ const columns = ref<QTableProps["columns"]>([
|
|||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
},
|
||||
{
|
||||
name: "createdAt",
|
||||
align: "left",
|
||||
label: "วันที่ดำเนินการ",
|
||||
sortable: true,
|
||||
field: "createdAt",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
},
|
||||
|
||||
{
|
||||
name: "statusText",
|
||||
align: "left",
|
||||
|
|
@ -248,7 +259,7 @@ const getData = async () => {
|
|||
positionLevelOld: item.positionLevelOld,
|
||||
positionNumberOld: item.positionNumberOld,
|
||||
organizationPositionOld: item.organizationPositionOld,
|
||||
createdAt: item.createdAt,
|
||||
createdAt:date2Thai(item.createdAt),
|
||||
}));
|
||||
console.log(rows.value);
|
||||
})
|
||||
|
|
@ -459,6 +470,13 @@ onMounted(async () => {
|
|||
props.row.dateOfBirth !== null ? props.row.dateOfBirth : "-"
|
||||
}}
|
||||
</q-td>
|
||||
<q-td
|
||||
key="createdAt"
|
||||
:props="props"
|
||||
@click="openDetail(props.row.id)"
|
||||
>
|
||||
{{ props.row.createdAt }}
|
||||
</q-td>
|
||||
<q-td
|
||||
key="organizationPositionOld"
|
||||
:props="props"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue