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 () => {
|
||||
await fetchOrganization(selected.value);
|
||||
|
||||
salaryClass.value = "";
|
||||
|
||||
if (ocId.value != "") {
|
||||
salaryClass.value = salaryClass.value + `สังกัด${ocId.value} `;
|
||||
}
|
||||
|
|
@ -265,7 +267,22 @@ const appoint = ref<any>({
|
|||
});
|
||||
|
||||
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 = () => {
|
||||
|
|
@ -1156,26 +1173,22 @@ const listKeyId = (data: any) => {
|
|||
</div>
|
||||
<div v-else-if="col.name == 'Name'" class="table_ellipsis">
|
||||
{{ col.value }}
|
||||
<div class="row col-12 text-no-wrap items-center">
|
||||
<img
|
||||
v-if="props.row.avatar == null"
|
||||
src="@/assets/avatar_user.jpg"
|
||||
class="col-4 img-info"
|
||||
/>
|
||||
<img
|
||||
v-else
|
||||
:src="props.row.avatar"
|
||||
class="col-4 img-info"
|
||||
/>
|
||||
<div class="col-4">
|
||||
<div class="text-weight-medium">
|
||||
{{ props.row.fullName }}
|
||||
</div>
|
||||
<div class="text-weight-light">
|
||||
{{ props.row.profileID }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row col-12 text-no-wrap items-center">
|
||||
<img
|
||||
v-if="props.row.avatar == null"
|
||||
src="@/assets/avatar_user.jpg"
|
||||
class="col-4 img-info"
|
||||
/>
|
||||
<img v-else :src="props.row.avatar" class="col-4 img-info" />
|
||||
<div class="col-4">
|
||||
<div class="text-weight-medium">
|
||||
{{ props.row.fullName }}
|
||||
</div>
|
||||
<div class="text-weight-light">
|
||||
{{ props.row.profileID }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else-if="col.name == 'Unit'" class="table_ellipsis">
|
||||
<div v-if="editvisible && props.row.Status == 'ยังไม่บรรจุ'">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue