no message
This commit is contained in:
parent
4f54040982
commit
1c42a242c0
4 changed files with 4 additions and 29 deletions
|
|
@ -66,7 +66,6 @@ export class kpiRoleController extends Controller {
|
|||
kpiRole.child4ShortName = requestBody.node <= 3 ? null : x.child4ShortName;
|
||||
})
|
||||
.catch((x) => {});
|
||||
kpiRole.round = requestBody.round.trim().toUpperCase();
|
||||
kpiRole.createdUserId = request.user.sub;
|
||||
kpiRole.createdFullName = request.user.name;
|
||||
kpiRole.lastUpdateUserId = request.user.sub;
|
||||
|
|
@ -94,7 +93,6 @@ export class kpiRoleController extends Controller {
|
|||
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลตัวชี้วัดตามตำแหน่งนี้");
|
||||
}
|
||||
|
||||
kpiRole.round = requestBody.round.trim().toUpperCase();
|
||||
Object.assign(kpiRole, requestBody);
|
||||
await new CallAPI()
|
||||
.PostData(request, "org/find/all", {
|
||||
|
|
@ -160,7 +158,7 @@ export class kpiRoleController extends Controller {
|
|||
const formattedData = {
|
||||
id: kpiRole.id,
|
||||
year: kpiRole.year,
|
||||
round: kpiRole.round,
|
||||
// round: kpiRole.round,
|
||||
including: kpiRole.including,
|
||||
includingName: kpiRole.includingName,
|
||||
target: kpiRole.target,
|
||||
|
|
@ -176,7 +174,7 @@ export class kpiRoleController extends Controller {
|
|||
node: node,
|
||||
nodeId: nodeId,
|
||||
orgRevisionId: kpiRole.orgRevisionId,
|
||||
position: kpiRole.position
|
||||
position: kpiRole.position,
|
||||
};
|
||||
return new HttpSuccess(formattedData);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue