+
+
([
"citizenId",
"caseType",
"caseNumber",
+ "description",
"lastUpdatedAt",
"status",
]);
@@ -136,6 +137,17 @@ const columns = ref([
sort: (a: string, b: string) =>
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
},
+ {
+ name: "description",
+ align: "left",
+ label: "รายละเอียด",
+ sortable: true,
+ field: "description",
+ headerStyle: "font-size: 14px",
+ style: "font-size: 14px",
+ sort: (a: string, b: string) =>
+ a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
+ },
{
name: "lastUpdatedAt",
align: "left",
@@ -185,10 +197,8 @@ function editPage(id: string) {
router.push(`/discipline-appealcomplain/${id}`);
}
function filterFn() {
-
- console.log("enter", filterKeyword.value);
- getData();
-
+ console.log("enter", filterKeyword.value);
+ getData();
}
function close() {
@@ -440,7 +450,13 @@ onMounted(async () => {
1
}}
-
+
+ {{ props.row.description }}
+
+
{{ col.value }}
diff --git a/src/modules/11_discipline/store/AppealComplainStore.ts b/src/modules/11_discipline/store/AppealComplainStore.ts
index b2b329734..82c84d1c2 100644
--- a/src/modules/11_discipline/store/AppealComplainStore.ts
+++ b/src/modules/11_discipline/store/AppealComplainStore.ts
@@ -70,6 +70,7 @@ export const useAppealComplainStore = defineStore(
status: statusTothai(e.status)
}));
rows.value = dataList;
+ console.log(rows.value)
}
function getRow(data: RowAddList[]) {
if (data) {
diff --git a/src/modules/11_discipline/store/main.ts b/src/modules/11_discipline/store/main.ts
index b7df02016..ce0066f3a 100644
--- a/src/modules/11_discipline/store/main.ts
+++ b/src/modules/11_discipline/store/main.ts
@@ -109,7 +109,6 @@ export const useDisciplineMainStore = defineStore("disciplineMainStore", () => {
/** หัวข้อที่เเสดงในตารางผู้ถูกร้องเรียน */
const visibleColumnsRespondent = ref
([
- "info",
"no",
"idcard",
"name",