refactor(appoint-promote): add profileId to /pos/placement/search payload
This commit is contained in:
parent
9e83ff02fa
commit
136a17ce8c
1 changed files with 1 additions and 1 deletions
|
|
@ -263,6 +263,7 @@ async function getDataTable(id: string, level: number = 0) {
|
||||||
posType: posType.value ? posType.value : "",
|
posType: posType.value ? posType.value : "",
|
||||||
isAll: isAll.value,
|
isAll: isAll.value,
|
||||||
isBlank: isBlank.value,
|
isBlank: isBlank.value,
|
||||||
|
profileId: type.value === "MOVE" ? props.dataRows.profileId : undefined,
|
||||||
};
|
};
|
||||||
|
|
||||||
await http
|
await http
|
||||||
|
|
@ -520,7 +521,6 @@ function onSubmit() {
|
||||||
positionExecutiveField: selectedPos.value[0].positionExecutiveField, //ด้านทางการบริหาร
|
positionExecutiveField: selectedPos.value[0].positionExecutiveField, //ด้านทางการบริหาร
|
||||||
positionArea: selectedPos.value[0].positionArea, //ด้าน/สาขา
|
positionArea: selectedPos.value[0].positionArea, //ด้าน/สาขา
|
||||||
};
|
};
|
||||||
console.log(body);
|
|
||||||
|
|
||||||
await props.onSubmit?.(body);
|
await props.onSubmit?.(body);
|
||||||
close();
|
close();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue