From 3542df9c09e469386d03574ec73364384fa9aa00 Mon Sep 17 00:00:00 2001 From: Oat Date: Tue, 5 Mar 2024 10:51:02 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A=E0=B8=B5?= =?UTF-8?q?=E0=B8=A2=E0=B8=99=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1?= =?UTF-8?q?=E0=B8=95=E0=B8=B4:=20=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88?= =?UTF-8?q?=E0=B8=A1dropdown+=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=E0=B8=82?= =?UTF-8?q?=E0=B9=89=E0=B8=AD=E0=B8=A1=E0=B8=B9=E0=B8=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/registry/Search.vue | 205 +++++++++++++++++- .../components/registry/TableView.vue | 4 +- src/modules/04_registryNew/views/list.vue | 4 +- 3 files changed, 209 insertions(+), 4 deletions(-) diff --git a/src/modules/04_registryNew/components/registry/Search.vue b/src/modules/04_registryNew/components/registry/Search.vue index 1d581afd3..2b8d5b540 100644 --- a/src/modules/04_registryNew/components/registry/Search.vue +++ b/src/modules/04_registryNew/components/registry/Search.vue @@ -1,6 +1,18 @@ + + diff --git a/src/modules/04_registryNew/components/registry/TableView.vue b/src/modules/04_registryNew/components/registry/TableView.vue index 8bcbe3a28..b9a9fd044 100644 --- a/src/modules/04_registryNew/components/registry/TableView.vue +++ b/src/modules/04_registryNew/components/registry/TableView.vue @@ -11,6 +11,7 @@ const rows = [ { no: 1, fullName: "นางสาวกัณฐิมา กานสิน", + citizenId: "1231231231234", posNo: "สกก.1", position: "นักบริหาร", posPath: "บริหาร", @@ -23,6 +24,7 @@ const rows = [ { no: 2, fullName: "นายธามไทย คนคูเมือง", + citizenId: "5555555555555", posNo: "สกก.5", position: "นักจัดการงานทั่วไป", posPath: "จัดการงานทั่วไป", @@ -73,7 +75,7 @@ const rows = [
{{ props.row.fullName }}
-
123123123123123
+
{{ props.row.citizenId }}
diff --git a/src/modules/04_registryNew/views/list.vue b/src/modules/04_registryNew/views/list.vue index 9caf5c801..ec351e066 100644 --- a/src/modules/04_registryNew/views/list.vue +++ b/src/modules/04_registryNew/views/list.vue @@ -4,7 +4,7 @@ import Search from "@/modules/04_registryNew/components/registry/Search.vue"; import TableView from "@/modules/04_registryNew/components/registry/TableView.vue"; import CardView from "@/modules/04_registryNew/components/registry/CardView.vue"; import { useQuasar } from "quasar"; -import type { QTableColumn, QTableProps } from "quasar"; +import type { QTableColumn } from "quasar"; const $q = useQuasar(); const mode = ref<"table" | "card">("table"); @@ -33,7 +33,7 @@ const columns = [ }, { name: "posNo", - align: "center", + align: "left", label: "ตำแหน่งเลขที่", sortable: true, field: "posNo",