click active ใน popup หน่วยงานที่รับการบรรจุ
This commit is contained in:
parent
96bc1df18c
commit
3ecf2f9803
1 changed files with 34 additions and 21 deletions
|
|
@ -175,7 +175,9 @@ const fetchOrganization = async (id: string) => {
|
||||||
};
|
};
|
||||||
const templateDetail = async () => {
|
const templateDetail = async () => {
|
||||||
await fetchOrganization(selected.value);
|
await fetchOrganization(selected.value);
|
||||||
|
|
||||||
salaryClass.value = "";
|
salaryClass.value = "";
|
||||||
|
|
||||||
if (ocId.value != "") {
|
if (ocId.value != "") {
|
||||||
salaryClass.value = salaryClass.value + `สังกัด${ocId.value} `;
|
salaryClass.value = salaryClass.value + `สังกัด${ocId.value} `;
|
||||||
}
|
}
|
||||||
|
|
@ -265,7 +267,22 @@ const appoint = ref<any>({
|
||||||
});
|
});
|
||||||
|
|
||||||
const saveAppoint = () => {
|
const saveAppoint = () => {
|
||||||
console.log("save appoint===>", appoint.value);
|
const dataAppoint = {
|
||||||
|
date : date.value,
|
||||||
|
posNoId: posNoId.value,
|
||||||
|
positionId: positionId.value,
|
||||||
|
positionPathSideId: positionPathSideId.value,
|
||||||
|
positionTypeId: positionTypeId.value,
|
||||||
|
positionLineId: positionLineId.value,
|
||||||
|
positionLevelId: positionLevelId.value,
|
||||||
|
amount : amount.value,
|
||||||
|
positionSalaryAmount : positionSalaryAmount.value,
|
||||||
|
mouthSalaryAmount : mouthSalaryAmount.value,
|
||||||
|
salaryClass : salaryClass.value,
|
||||||
|
refSelected : refSelected.value,
|
||||||
|
salaryRef : salaryRef.value
|
||||||
|
};
|
||||||
|
console.log("save appoint===>", dataAppoint);
|
||||||
};
|
};
|
||||||
|
|
||||||
const savePostpone = () => {
|
const savePostpone = () => {
|
||||||
|
|
@ -1156,26 +1173,22 @@ const listKeyId = (data: any) => {
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="col.name == 'Name'" class="table_ellipsis">
|
<div v-else-if="col.name == 'Name'" class="table_ellipsis">
|
||||||
{{ col.value }}
|
{{ col.value }}
|
||||||
<div class="row col-12 text-no-wrap items-center">
|
<div class="row col-12 text-no-wrap items-center">
|
||||||
<img
|
<img
|
||||||
v-if="props.row.avatar == null"
|
v-if="props.row.avatar == null"
|
||||||
src="@/assets/avatar_user.jpg"
|
src="@/assets/avatar_user.jpg"
|
||||||
class="col-4 img-info"
|
class="col-4 img-info"
|
||||||
/>
|
/>
|
||||||
<img
|
<img v-else :src="props.row.avatar" class="col-4 img-info" />
|
||||||
v-else
|
<div class="col-4">
|
||||||
:src="props.row.avatar"
|
<div class="text-weight-medium">
|
||||||
class="col-4 img-info"
|
{{ props.row.fullName }}
|
||||||
/>
|
</div>
|
||||||
<div class="col-4">
|
<div class="text-weight-light">
|
||||||
<div class="text-weight-medium">
|
{{ props.row.profileID }}
|
||||||
{{ props.row.fullName }}
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-weight-light">
|
</div>
|
||||||
{{ props.row.profileID }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="col.name == 'Unit'" class="table_ellipsis">
|
<div v-else-if="col.name == 'Unit'" class="table_ellipsis">
|
||||||
<div v-if="editvisible && props.row.Status == 'ยังไม่บรรจุ'">
|
<div v-if="editvisible && props.row.Status == 'ยังไม่บรรจุ'">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue