diff --git a/src/modules/10_registry/02_Government/07_Position.vue b/src/modules/10_registry/02_Government/07_Position.vue index 8ee5ed1..f981efb 100644 --- a/src/modules/10_registry/02_Government/07_Position.vue +++ b/src/modules/10_registry/02_Government/07_Position.vue @@ -27,7 +27,7 @@ const { } = useCounterMixin(); const checkType = ref( - dataPerson.officerType == "OFFICER" ? true : false + dataPerson.officerType == "OFFICER" ? true : false, ); // เช็คประเภทผู้ใช้งาน const mode = ref($q.screen.gt.xs); // เช็คขนาดหน้าจอ ถ้าเป็นขนาดใหญ่กว่า xs จะเป็นโหมดแสดงตาราง const isLoading = reactive({ @@ -320,25 +320,25 @@ const columns = computed(() => { (column) => column.name !== "positionExecutive" && column.name !== "lastUpdateFullName" && - column.name !== "lastUpdatedAt" + column.name !== "lastUpdatedAt", ); } } return baseColumns.value.filter( (e: QTableColumn) => - e.name !== "lastUpdateFullName" && e.name !== "lastUpdatedAt" + e.name !== "lastUpdateFullName" && e.name !== "lastUpdatedAt", ); }); const visibleColumns = ref( baseVisibleColumns.value.filter( - (e: string) => e !== "lastUpdateFullName" && e !== "lastUpdatedAt" - ) + (e: string) => e !== "lastUpdateFullName" && e !== "lastUpdatedAt", + ), ); const columnsHistory = computed(() => { if (!checkType.value) { if (baseColumns.value) { return baseColumns.value.filter( - (column) => column.name !== "positionExecutive" + (column) => column.name !== "positionExecutive", ); } } @@ -445,7 +445,7 @@ function onSearch() { rows.value = onSearchDataTable( filter.value, rowsData.value, - columns.value ? columns.value : [] + columns.value ? columns.value : [], ); } @@ -491,7 +491,7 @@ onMounted(async () => { -
+ -
+
- +