แก้ เเสดงผล วินัย

This commit is contained in:
setthawutttty 2024-12-19 16:38:20 +07:00
parent 769d946a73
commit 56d1bacc09
3 changed files with 7 additions and 7 deletions

View file

@ -132,11 +132,11 @@ const columns = ref<QTableProps["columns"]>([
style: "font-size: 14px",
},
{
name: "positionLevel",
name: "posLevelName",
align: "left",
label: "ระดับ",
sortable: true,
field: "positionLevel",
field: "posLevelName",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
@ -171,7 +171,7 @@ const visibleColumns = ref<string[]>([
"name",
"posNo",
"position",
"positionLevel",
"posLevelName",
"salary",
"organization",
]);

View file

@ -223,7 +223,7 @@ watch(
}}
</div>
<div v-else>
{{ col.value }}
{{ col.value ? col.value:'-' }}
</div>
</q-td>
</q-tr>

View file

@ -201,11 +201,11 @@ export const useDisciplineMainStore = defineStore("disciplineMainStore", () => {
style: "font-size: 14px",
},
{
name: "positionLevel",
name: "posLevelName",
align: "left",
label: "ระดับ",
sortable: true,
field: "positionLevel",
field: "posLevelName",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
format(val, row) {
@ -248,7 +248,7 @@ export const useDisciplineMainStore = defineStore("disciplineMainStore", () => {
"name",
"posNo",
"position",
"positionLevel",
"posLevelName",
"salary",
"organization",
]);