update manage web services list add access
This commit is contained in:
parent
d82d138c76
commit
dfd20c97dc
1 changed files with 18 additions and 1 deletions
|
|
@ -37,6 +37,7 @@ const visibleColumns = ref<string[]>([
|
|||
"amount",
|
||||
"createdAt",
|
||||
"createdFullName",
|
||||
"accessType",
|
||||
]);
|
||||
const columns = ref<QTableProps["columns"]>([
|
||||
{
|
||||
|
|
@ -62,6 +63,22 @@ const columns = ref<QTableProps["columns"]>([
|
|||
.join("");
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "accessType",
|
||||
align: "left",
|
||||
label: "การเข้าถึง",
|
||||
sortable: true,
|
||||
field: "accessType",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
format(val, row) {
|
||||
if (val === "ALL") {
|
||||
return `ทั้งหมด`;
|
||||
} else {
|
||||
return `${val} (${row.orgName})`;
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "amount",
|
||||
align: "left",
|
||||
|
|
@ -147,7 +164,7 @@ function serchDataTable() {
|
|||
rows.value = onSearchDataTable(
|
||||
keyword.value,
|
||||
rowsMain.value,
|
||||
columns.value ? columns.value : []
|
||||
columns.value ? columns.value : [],
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue