แก้ space ขึ้นบรรทัดใหม่ เเก้คำ พ้นราชการ
This commit is contained in:
parent
90ed596dec
commit
b8f971e251
23 changed files with 377 additions and 170 deletions
|
|
@ -52,6 +52,7 @@ const {
|
|||
hideLoader,
|
||||
date2Thai,
|
||||
onSearchDataTable,
|
||||
textTranForm,
|
||||
} = mixin;
|
||||
|
||||
/** คอลัมน์ */
|
||||
|
|
@ -80,7 +81,7 @@ const columns = ref<QTableProps["columns"]>([
|
|||
{
|
||||
name: "positionLevel",
|
||||
align: "left",
|
||||
label: "ประเภทตำแหน่ง",
|
||||
label: "ตำแหน่งประเภท",
|
||||
sortable: true,
|
||||
field: "positionLevel",
|
||||
headerStyle: "font-size: 14px",
|
||||
|
|
@ -105,6 +106,9 @@ const columns = ref<QTableProps["columns"]>([
|
|||
field: "organizationPositionOld",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
format(val, row) {
|
||||
return `${row.organizationPositionOld.replace(/\n/g, " ")}`;
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "createdAt",
|
||||
|
|
@ -256,10 +260,14 @@ watchEffect(() => {
|
|||
{{ props.rowIndex + 1 }}
|
||||
</div>
|
||||
|
||||
<div
|
||||
v-else
|
||||
:class="col.name === 'org' ? 'table_ellipsis' : ''"
|
||||
>
|
||||
<div v-else-if="col.name == 'org'" class="text-html">
|
||||
{{
|
||||
props.row.organizationPositionOld
|
||||
? textTranForm(props.row.organizationPositionOld)
|
||||
: "-"
|
||||
}}
|
||||
</div>
|
||||
<div v-else>
|
||||
{{ col.value ? col.value : "-" }}
|
||||
</div>
|
||||
</q-td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue