ปรับ Columns ประวัติข้อมูลการจ้าง
This commit is contained in:
parent
45dfe838da
commit
49bbf92b4f
1 changed files with 24 additions and 23 deletions
|
|
@ -223,28 +223,28 @@ const columnsHis = ref<QTableProps["columns"]>([
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
name: "createdFullName",
|
// name: "createdFullName",
|
||||||
align: "left",
|
// align: "left",
|
||||||
label: "ผู้สร้าง",
|
// label: "ผู้สร้าง",
|
||||||
sortable: false,
|
// sortable: false,
|
||||||
field: "createdFullName",
|
// field: "createdFullName",
|
||||||
headerStyle: "font-size: 14px",
|
// headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
// style: "font-size: 14px",
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
name: "createdAt",
|
// name: "createdAt",
|
||||||
align: "left",
|
// align: "left",
|
||||||
label: "วันที่สร้าง",
|
// label: "วันที่สร้าง",
|
||||||
sortable: false,
|
// sortable: false,
|
||||||
field: "createdAt",
|
// field: "createdAt",
|
||||||
headerStyle: "font-size: 14px",
|
// headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
// style: "font-size: 14px",
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
name: "lastUpdateFullName",
|
name: "lastUpdateFullName",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ผู้แก้ไข",
|
label: "ผู้ดำเนินการ",
|
||||||
sortable: false,
|
sortable: false,
|
||||||
field: "lastUpdateFullName",
|
field: "lastUpdateFullName",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
|
|
@ -263,14 +263,15 @@ const columnsHis = ref<QTableProps["columns"]>([
|
||||||
const visibleColumnsHis = ref<string[]>([
|
const visibleColumnsHis = ref<string[]>([
|
||||||
"dateEmployment",
|
"dateEmployment",
|
||||||
"orderEmployment",
|
"orderEmployment",
|
||||||
"createdFullName",
|
// "createdFullName",
|
||||||
"createdAt",
|
// "createdAt",
|
||||||
"lastUpdateFullName",
|
"lastUpdateFullName",
|
||||||
"lastUpdatedAt",
|
"lastUpdatedAt",
|
||||||
]);
|
]);
|
||||||
const filterHis = ref<string>();
|
const filterHis = ref<string>();
|
||||||
async function openPopupHistory(id: string) {
|
async function openPopupHistory(id: string) {
|
||||||
modalHistory.value = true;
|
modalHistory.value = true;
|
||||||
|
filterHis.value = "";
|
||||||
showLoader();
|
showLoader();
|
||||||
await http
|
await http
|
||||||
.get(config.API.employmentHistoryId(id))
|
.get(config.API.employmentHistoryId(id))
|
||||||
|
|
@ -540,7 +541,7 @@ const paginationHis = ref({
|
||||||
</q-dialog>
|
</q-dialog>
|
||||||
|
|
||||||
<q-dialog v-model="modalHistory">
|
<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>
|
||||||
<q-toolbar-title class="text-subtitle1 text-weight-bold">
|
<q-toolbar-title class="text-subtitle1 text-weight-bold">
|
||||||
<span style="margin-right: 0"> ประวัติข้อมูลการจ้าง </span>
|
<span style="margin-right: 0"> ประวัติข้อมูลการจ้าง </span>
|
||||||
|
|
@ -557,7 +558,7 @@ const paginationHis = ref({
|
||||||
</q-toolbar>
|
</q-toolbar>
|
||||||
<q-separator />
|
<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-toolbar class="q-pa-none">
|
||||||
<q-space />
|
<q-space />
|
||||||
<div class="q-gutter-sm" style="display: flex">
|
<div class="q-gutter-sm" style="display: flex">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue