fix act position condition
This commit is contained in:
parent
334ce4f5fc
commit
f836ea503f
2 changed files with 6 additions and 5 deletions
|
|
@ -1088,11 +1088,10 @@ export class WorkflowController extends Controller {
|
||||||
if (body.isAct) {
|
if (body.isAct) {
|
||||||
// ตำแหน่งของคนที่เลือกไปรักษาการ
|
// ตำแหน่งของคนที่เลือกไปรักษาการ
|
||||||
let childPosition = "";
|
let childPosition = "";
|
||||||
if (x.posType === "อำนวยการ" || x.posType === "บริหาร") {
|
if (x.positionSignChild) {
|
||||||
childPosition = x.posExecutiveName || "";
|
childPosition = x.positionSignChild;
|
||||||
if (!childPosition) {
|
} else if (x.posExecutiveName) {
|
||||||
childPosition = `${x.position || ""}ระดับ${x.posLevel || ""}`.trim();
|
childPosition = x.posExecutiveName;
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
childPosition = `${x.position || ""}${x.posLevel || ""}`.trim();
|
childPosition = `${x.position || ""}${x.posLevel || ""}`.trim();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -128,4 +128,6 @@ export class viewDirectorActing {
|
||||||
key: string;
|
key: string;
|
||||||
@ViewColumn()
|
@ViewColumn()
|
||||||
positionSign: string;
|
positionSign: string;
|
||||||
|
@ViewColumn()
|
||||||
|
positionSignChild: string;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue