เพิ่ม 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()
|
.toString()
|
||||||
.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
.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",
|
name: "posNo",
|
||||||
align: "left",
|
align: "left",
|
||||||
|
|
@ -277,6 +293,7 @@ const baseColumns = ref<QTableColumn[]>([
|
||||||
]);
|
]);
|
||||||
const baseVisibleColumns = ref<string[]>([
|
const baseVisibleColumns = ref<string[]>([
|
||||||
"commandDateAffect",
|
"commandDateAffect",
|
||||||
|
"posNumCodeSit",
|
||||||
"posNo",
|
"posNo",
|
||||||
"positionName",
|
"positionName",
|
||||||
"positionType",
|
"positionType",
|
||||||
|
|
|
||||||
|
|
@ -72,6 +72,22 @@ const baseColumns = ref<QTableColumn[]>([
|
||||||
.toString()
|
.toString()
|
||||||
.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
.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",
|
name: "posNo",
|
||||||
align: "left",
|
align: "left",
|
||||||
|
|
@ -290,6 +306,7 @@ const baseColumns = ref<QTableColumn[]>([
|
||||||
]);
|
]);
|
||||||
const visibleColumns = ref<string[]>([
|
const visibleColumns = ref<string[]>([
|
||||||
"commandDateAffect",
|
"commandDateAffect",
|
||||||
|
"posNumCodeSit",
|
||||||
"posNo",
|
"posNo",
|
||||||
"positionName",
|
"positionName",
|
||||||
"positionType",
|
"positionType",
|
||||||
|
|
@ -322,6 +339,7 @@ const columns = computed(() => {
|
||||||
|
|
||||||
const visibleColumnsHistory = ref<string[]>([
|
const visibleColumnsHistory = ref<string[]>([
|
||||||
"commandDateAffect",
|
"commandDateAffect",
|
||||||
|
"posNumCodeSit",
|
||||||
"posNo",
|
"posNo",
|
||||||
"positionName",
|
"positionName",
|
||||||
"positionType",
|
"positionType",
|
||||||
|
|
@ -381,6 +399,22 @@ const baseColumnsHistory = ref<QTableColumn[]>([
|
||||||
.toString()
|
.toString()
|
||||||
.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
.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",
|
name: "posNo",
|
||||||
align: "left",
|
align: "left",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue