ปรับ Columns ประวัติข้อมูลการจ้าง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-10-25 17:40:38 +07:00
parent 45dfe838da
commit 49bbf92b4f

View file

@ -223,28 +223,28 @@ const columnsHis = ref<QTableProps["columns"]>([
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
{
name: "createdFullName",
align: "left",
label: "ผู้สร้าง",
sortable: false,
field: "createdFullName",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
{
name: "createdAt",
align: "left",
label: "วันที่สร้าง",
sortable: false,
field: "createdAt",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
// {
// name: "createdFullName",
// align: "left",
// label: "",
// sortable: false,
// field: "createdFullName",
// headerStyle: "font-size: 14px",
// style: "font-size: 14px",
// },
// {
// name: "createdAt",
// align: "left",
// label: "",
// sortable: false,
// field: "createdAt",
// headerStyle: "font-size: 14px",
// style: "font-size: 14px",
// },
{
name: "lastUpdateFullName",
align: "left",
label: "ผู้แก้ไข",
label: "ผู้ดำเนินการ",
sortable: false,
field: "lastUpdateFullName",
headerStyle: "font-size: 14px",
@ -263,14 +263,15 @@ const columnsHis = ref<QTableProps["columns"]>([
const visibleColumnsHis = ref<string[]>([
"dateEmployment",
"orderEmployment",
"createdFullName",
"createdAt",
// "createdFullName",
// "createdAt",
"lastUpdateFullName",
"lastUpdatedAt",
]);
const filterHis = ref<string>();
async function openPopupHistory(id: string) {
modalHistory.value = true;
filterHis.value = "";
showLoader();
await http
.get(config.API.employmentHistoryId(id))
@ -540,7 +541,7 @@ const paginationHis = ref({
</q-dialog>
<q-dialog v-model="modalHistory">
<q-card style="width: 700px; max-width: 80vw">
<q-card style="width: 800px; max-width: 80vw">
<q-toolbar>
<q-toolbar-title class="text-subtitle1 text-weight-bold">
<span style="margin-right: 0"> ประวอมลการจาง </span>
@ -557,7 +558,7 @@ const paginationHis = ref({
</q-toolbar>
<q-separator />
<q-card-section class="q-pt-none q-mt-md">
<q-card-section class="q-pt-none q-mt-sm">
<q-toolbar class="q-pa-none">
<q-space />
<div class="q-gutter-sm" style="display: flex">