ทะเบียนประวัติ: ประวัติการเปลี่ยนชื่อ-สกุล (แก้หัวข้อ popup)

This commit is contained in:
puriphatt 2024-03-13 17:12:17 +07:00
parent 6986523bb2
commit 073e1ef8f3

View file

@ -32,7 +32,7 @@ const filterSearch = ref("");
const filterHistory = ref<string>("");
const modalHistory = ref<boolean>(false);
const rowsHistory = ref<RequestItemsObject[]>([]);
const tittleHistory = ref<string>("ประวัติแก้ไขประวัติการเปลี่ยนชื่อ-นามสกุล");
const tittleHistory = ref<string>("ประวัติการเปลี่ยนชื่อ-นามสกุล");
const visibleColumns = ref<string[]>([
"prefix",
"firstName",
@ -281,7 +281,6 @@ onMounted(async () => {
dense
outlined
debounce="300"
class="q-ml-sm"
ref="filterRef"
v-model="filterSearch"
placeholder="ค้นหา"
@ -307,7 +306,7 @@ onMounted(async () => {
option-value="name"
v-model="visibleColumns"
:options="columns"
class="gt-xs q-ml-sm"
class="q-ml-sm"
style="min-width: 150px"
:display-value="$q.lang.table.columns"
/>
@ -418,35 +417,4 @@ onMounted(async () => {
</history-table>
</template>
<style scoped>
.custom-header-table {
max-height: 64vh;
.q-table tr:nth-child(odd) td {
background: white;
}
.q-table tr:nth-child(even) td {
background: #f8f8f8;
}
.q-table thead tr {
background: #ecebeb;
}
.q-table thead tr th {
position: sticky;
z-index: 1;
}
/* this will be the loading indicator */
.q-table thead tr:last-child th {
/* height of all previous header rows */
top: 48px;
}
.q-table thead tr:first-child th {
top: 0;
}
}
</style>
<style scoped></style>