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,
|
positionName: items.position,
|
||||||
profileId: items.id,
|
profileId: items.id,
|
||||||
keycloakId: items.keycloakId,
|
keycloakId: items.keycloakId,
|
||||||
|
...(items.posExecutiveName
|
||||||
|
? { PositionExecutiveName: items.posExecutiveName }
|
||||||
|
: {}),
|
||||||
}));
|
}));
|
||||||
showLoader();
|
showLoader();
|
||||||
const profileSuffix =
|
const profileSuffix =
|
||||||
|
|
@ -155,7 +158,8 @@ function onSubmit() {
|
||||||
: "-employee";
|
: "-employee";
|
||||||
|
|
||||||
const apiEndpoint =
|
const apiEndpoint =
|
||||||
routeName.value === "resignReject" || routeName.value === "resignRejectEMP"
|
routeName.value === "resignReject" ||
|
||||||
|
routeName.value === "resignRejectEMP"
|
||||||
? config.API.addResignCancel(
|
? config.API.addResignCancel(
|
||||||
profileSuffix,
|
profileSuffix,
|
||||||
props.type?.toLocaleLowerCase() as string,
|
props.type?.toLocaleLowerCase() as string,
|
||||||
|
|
|
||||||
|
|
@ -502,6 +502,15 @@ onMounted(async () => {
|
||||||
<div v-if="col.name === 'no'">
|
<div v-if="col.name === 'no'">
|
||||||
{{ props.rowIndex + 1 }}
|
{{ props.rowIndex + 1 }}
|
||||||
</div>
|
</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>
|
<div v-else>
|
||||||
{{ col.value ? col.value : "-" }}
|
{{ col.value ? col.value : "-" }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue