เพิ่ม columns posNumCodeSit
This commit is contained in:
parent
f2378ff1c7
commit
fd239fbf5b
2 changed files with 51 additions and 0 deletions
|
|
@ -88,6 +88,22 @@ const baseColumns = ref<QTableColumn[]>([
|
|||
.toString()
|
||||
.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||
},
|
||||
{
|
||||
name: "posNumCodeSit",
|
||||
align: "left",
|
||||
label: "หน่วยงานที่ออกคำสั่ง",
|
||||
sortable: false,
|
||||
field: "posNumCodeSit",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
format(val, row) {
|
||||
return row.posNumCodeSitAbb && row.posNumCodeSit
|
||||
? `${row.posNumCodeSit} (${row.posNumCodeSitAbb})`
|
||||
: row.posNumCodeSit
|
||||
? row.posNumCodeSit
|
||||
: "-";
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "posNo",
|
||||
align: "left",
|
||||
|
|
@ -277,6 +293,7 @@ const baseColumns = ref<QTableColumn[]>([
|
|||
]);
|
||||
const baseVisibleColumns = ref<string[]>([
|
||||
"commandDateAffect",
|
||||
"posNumCodeSit",
|
||||
"posNo",
|
||||
"positionName",
|
||||
"positionType",
|
||||
|
|
|
|||
|
|
@ -72,6 +72,22 @@ const baseColumns = ref<QTableColumn[]>([
|
|||
.toString()
|
||||
.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||
},
|
||||
{
|
||||
name: "posNumCodeSit",
|
||||
align: "left",
|
||||
label: "หน่วยงานที่ออกคำสั่ง",
|
||||
sortable: false,
|
||||
field: "posNumCodeSit",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
format(val, row) {
|
||||
return row.posNumCodeSitAbb && row.posNumCodeSit
|
||||
? `${row.posNumCodeSit} (${row.posNumCodeSitAbb})`
|
||||
: row.posNumCodeSit
|
||||
? row.posNumCodeSit
|
||||
: "-";
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "posNo",
|
||||
align: "left",
|
||||
|
|
@ -290,6 +306,7 @@ const baseColumns = ref<QTableColumn[]>([
|
|||
]);
|
||||
const visibleColumns = ref<string[]>([
|
||||
"commandDateAffect",
|
||||
"posNumCodeSit",
|
||||
"posNo",
|
||||
"positionName",
|
||||
"positionType",
|
||||
|
|
@ -322,6 +339,7 @@ const columns = computed(() => {
|
|||
|
||||
const visibleColumnsHistory = ref<string[]>([
|
||||
"commandDateAffect",
|
||||
"posNumCodeSit",
|
||||
"posNo",
|
||||
"positionName",
|
||||
"positionType",
|
||||
|
|
@ -381,6 +399,22 @@ const baseColumnsHistory = ref<QTableColumn[]>([
|
|||
.toString()
|
||||
.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||
},
|
||||
{
|
||||
name: "posNumCodeSit",
|
||||
align: "left",
|
||||
label: "หน่วยงานที่ออกคำสั่ง",
|
||||
sortable: false,
|
||||
field: "posNumCodeSit",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
format(val, row) {
|
||||
return row.posNumCodeSitAbb && row.posNumCodeSit
|
||||
? `${row.posNumCodeSit} (${row.posNumCodeSitAbb})`
|
||||
: row.posNumCodeSit
|
||||
? row.posNumCodeSit
|
||||
: "-";
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "posNo",
|
||||
align: "left",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue