เผยแพร่ข้อมูลโครงสร้าง
This commit is contained in:
parent
4f8bc677a0
commit
149be41373
3 changed files with 118 additions and 19 deletions
|
|
@ -1680,22 +1680,22 @@ export class OrganizationController extends Controller {
|
|||
: item != null && item?.orgRoot != null
|
||||
? `${item.orgRoot.orgRootShortName}${item.posMasterNo}`
|
||||
: null;
|
||||
// await new CallAPI().PostData(request, "org/profile/salary", {
|
||||
// profileId: item.next_holderId,
|
||||
// date: new Date(),
|
||||
// amount: profileSalary?.amount ?? null,
|
||||
// positionSalaryAmount: profileSalary?.positionSalaryAmount ?? null,
|
||||
// mouthSalaryAmount: profileSalary?.mouthSalaryAmount ?? null,
|
||||
// posNo: shortName,
|
||||
// position: position?.positionName ?? _null,
|
||||
// positionLine: position?.positionField ?? _null,
|
||||
// positionPathSide: position?.positionArea ?? _null,
|
||||
// positionExecutive: position?.posExecutive?.posExecutiveName ?? _null,
|
||||
// positionType: position?.posType?.posTypeName ?? _null,
|
||||
// positionLevel: position?.posLevel?.posLevelName ?? _null,
|
||||
// refCommandNo: null,
|
||||
// templateDoc: "ปรับโครงสร้าง",
|
||||
// });
|
||||
await new CallAPI().PostData(request, "org/profile/salary", {
|
||||
profileId: item.next_holderId,
|
||||
date: new Date(),
|
||||
amount: profileSalary?.amount ?? null,
|
||||
positionSalaryAmount: profileSalary?.positionSalaryAmount ?? null,
|
||||
mouthSalaryAmount: profileSalary?.mouthSalaryAmount ?? null,
|
||||
posNo: shortName,
|
||||
position: position?.positionName ?? _null,
|
||||
positionLine: position?.positionField ?? _null,
|
||||
positionPathSide: position?.positionArea ?? _null,
|
||||
positionExecutive: position?.posExecutive?.posExecutiveName ?? _null,
|
||||
positionType: position?.posType?.posTypeName ?? _null,
|
||||
positionLevel: position?.posLevel?.posLevelName ?? _null,
|
||||
refCommandNo: null,
|
||||
templateDoc: "ปรับโครงสร้าง",
|
||||
});
|
||||
}
|
||||
item.current_holderId = item.next_holderId;
|
||||
item.next_holderId = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue