" " เลขที่ตำแหน่ง
This commit is contained in:
parent
8a5a9f3e20
commit
a3bfe8dd51
3 changed files with 4 additions and 4 deletions
|
|
@ -104,7 +104,7 @@ function getData() {
|
|||
|
||||
const dataMap = dataList.map((item: any) => ({
|
||||
id: item.id,
|
||||
name: `${item.orgShortname}${
|
||||
name: `${item.orgShortname} ${
|
||||
item.posMasterNoPrefix ? item.posMasterNoPrefix : ""
|
||||
}${item.posMasterNo ? item.posMasterNo : ""}${
|
||||
item.posMasterNoSuffix ? item.posMasterNoSuffix : ""
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ export const usePositionEmp = defineStore("positionEmpStore", () => {
|
|||
posMasterNo:
|
||||
e.orgShortname +
|
||||
(e.posMasterNoPrefix ? e.posMasterNoPrefix : "") +
|
||||
(e.posMasterNo ? e.posMasterNo : "") +
|
||||
(e.posMasterNo ? ` ${e.posMasterNo}` : "") +
|
||||
(e.posMasterNoSuffix ? e.posMasterNoSuffix : ""),
|
||||
positionName: e.isSit ? e.profilePosition : e.positionName,
|
||||
posTypeName: e.isSit ? e.profilePostype : e.posTypeName,
|
||||
|
|
|
|||
|
|
@ -65,8 +65,8 @@ const columns = ref<QTableProps["columns"]>([
|
|||
field: "posMasterNo",
|
||||
format(val, row) {
|
||||
return row.isSit
|
||||
? `${row.orgShortname}${row.posMasterNo}(นั่งทับตำแหน่ง)`
|
||||
: `${row.orgShortname}${row.posMasterNo}`;
|
||||
? `${row.orgShortname} ${row.posMasterNo}(นั่งทับตำแหน่ง)`
|
||||
: `${row.orgShortname} ${row.posMasterNo}`;
|
||||
},
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue