fix: เพิ่ม เเสดง ดาว
This commit is contained in:
parent
b08dddd50a
commit
52e9a326d9
2 changed files with 14 additions and 1 deletions
|
|
@ -147,6 +147,9 @@ function onSubmit() {
|
|||
positionName: items.position,
|
||||
profileId: items.id,
|
||||
keycloakId: items.keycloakId,
|
||||
...(items.posExecutiveName
|
||||
? { PositionExecutiveName: items.posExecutiveName }
|
||||
: {}),
|
||||
}));
|
||||
showLoader();
|
||||
const profileSuffix =
|
||||
|
|
@ -155,7 +158,8 @@ function onSubmit() {
|
|||
: "-employee";
|
||||
|
||||
const apiEndpoint =
|
||||
routeName.value === "resignReject" || routeName.value === "resignRejectEMP"
|
||||
routeName.value === "resignReject" ||
|
||||
routeName.value === "resignRejectEMP"
|
||||
? config.API.addResignCancel(
|
||||
profileSuffix,
|
||||
props.type?.toLocaleLowerCase() as string,
|
||||
|
|
|
|||
|
|
@ -502,6 +502,15 @@ onMounted(async () => {
|
|||
<div v-if="col.name === 'no'">
|
||||
{{ props.rowIndex + 1 }}
|
||||
</div>
|
||||
<div v-else-if="col.name == 'posNo'">
|
||||
{{ props.row.posNo ? props.row.posNo : "-" }}
|
||||
<q-icon
|
||||
v-if="props.row.posNo && props.row.isDirector"
|
||||
name="mdi-star"
|
||||
color="primary"
|
||||
>
|
||||
</q-icon>
|
||||
</div>
|
||||
<div v-else>
|
||||
{{ col.value ? col.value : "-" }}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue