Merge branch 'nice_dev' into develop
This commit is contained in:
commit
1aceedf3d9
4 changed files with 15 additions and 6 deletions
|
|
@ -553,9 +553,12 @@ async function onClickDownloadReport(val: string, name: string) {
|
||||||
1
|
1
|
||||||
}}
|
}}
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else-if="col.name === 'posMasterNo'">
|
||||||
|
{{ props.row.isSit ? col.value + " " + "(ทับที่)" : col.value }}
|
||||||
|
</div>
|
||||||
|
|
||||||
<div v-else>
|
<div v-else>
|
||||||
{{ col.value }}
|
{{ col.value ? col.value : "-" }}
|
||||||
</div>
|
</div>
|
||||||
</q-td>
|
</q-td>
|
||||||
<q-td>
|
<q-td>
|
||||||
|
|
|
||||||
|
|
@ -65,6 +65,7 @@ async function fetchDataTree(id: string) {
|
||||||
nodeTree.value = data;
|
nodeTree.value = data;
|
||||||
selected.value = "";
|
selected.value = "";
|
||||||
nodeId.value = "";
|
nodeId.value = "";
|
||||||
|
store.treeId = "";
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
messageError($q, err);
|
messageError($q, err);
|
||||||
|
|
|
||||||
|
|
@ -111,6 +111,10 @@ interface PosMaster {
|
||||||
fullNameCurrentHolder: string | null;
|
fullNameCurrentHolder: string | null;
|
||||||
fullNameNextHolder: string | null;
|
fullNameNextHolder: string | null;
|
||||||
positions: Position[]; // ตำแหน่ง
|
positions: Position[]; // ตำแหน่ง
|
||||||
|
isSit: boolean;
|
||||||
|
profilePosition: string;
|
||||||
|
profilePostype: string;
|
||||||
|
profilePoslevel: string;
|
||||||
}
|
}
|
||||||
interface Position2 {
|
interface Position2 {
|
||||||
id: string; // id ตำแหน่ง
|
id: string; // id ตำแหน่ง
|
||||||
|
|
@ -196,5 +200,4 @@ export type {
|
||||||
HistoryPos,
|
HistoryPos,
|
||||||
SelectPerson,
|
SelectPerson,
|
||||||
TypePos,
|
TypePos,
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -79,11 +79,13 @@ export const useOrganizational = defineStore("organizationalStore", () => {
|
||||||
e.posMasterNoPrefix +
|
e.posMasterNoPrefix +
|
||||||
e.posMasterNo +
|
e.posMasterNo +
|
||||||
e.posMasterNoSuffix,
|
e.posMasterNoSuffix,
|
||||||
positionName: e.positionName ? e.positionName : "-",
|
positionName: e.isSit ? e.profilePosition : e.positionName,
|
||||||
posTypeName: e.posTypeName ? e.posTypeName : "-",
|
posTypeName: e.isSit ? e.profilePostype : e.posTypeName,
|
||||||
posLevelName: e.posLevelName ? e.posLevelName : "-",
|
posLevelName: e.isSit ? e.profilePoslevel : e.posLevelName,
|
||||||
posExecutiveName: e.posExecutiveName ? e.posExecutiveName : "-",
|
posExecutiveName: e.posExecutiveName,
|
||||||
|
isSit: e.isSit,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
return newPosMaster;
|
return newPosMaster;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue