fix Columns Org
This commit is contained in:
parent
5a47f5be5b
commit
b8b812c319
8 changed files with 72 additions and 59 deletions
|
|
@ -31,6 +31,7 @@ const {
|
|||
findOrgNameOld,
|
||||
findPosMasterNoOld,
|
||||
onSearchDataTable,
|
||||
findOrgNameOldHtml,
|
||||
} = mixin;
|
||||
|
||||
/** Table*/
|
||||
|
|
@ -111,8 +112,8 @@ const columns = ref<QTableProps["columns"]>([
|
|||
align: "left",
|
||||
label: "สังกัด",
|
||||
sortable: true,
|
||||
field: "organization",
|
||||
headerStyle: "font-size: 14px",
|
||||
field: "organizationPositionOld",
|
||||
headerStyle: "font-size: 14px;min-width: 280px",
|
||||
style: "font-size: 14px",
|
||||
format: (val, row) => findOrgNameOld(row),
|
||||
},
|
||||
|
|
@ -405,14 +406,13 @@ onMounted(async () => {
|
|||
</div>
|
||||
|
||||
<div
|
||||
v-else
|
||||
:class="
|
||||
col.name === 'organizationPositionOld' ||
|
||||
col.name === 'organization'
|
||||
? 'table_ellipsis'
|
||||
: ''
|
||||
"
|
||||
v-else-if="col.name === 'organizationPositionOld'"
|
||||
class="text-html"
|
||||
>
|
||||
{{ findOrgNameOldHtml(props.row) }}
|
||||
</div>
|
||||
|
||||
<div v-else>
|
||||
{{
|
||||
col.value == null ? "" : col.value == "" ? "-" : col.value
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue