diff --git a/pc4mobx/organization/stores/staff.js b/pc4mobx/organization/stores/staff.js index 41441da..21b1b82 100644 --- a/pc4mobx/organization/stores/staff.js +++ b/pc4mobx/organization/stores/staff.js @@ -195,7 +195,11 @@ export class StaffStore { value: '' } }); - const type = data.planId.valueObj[0].control_dimensions; + let title = data.planId.valueObj[0].title; + if(title != undefined) { + title = title.replace(/ /g, "").split("|")[3]; + } + const type = data.planId.valueObj[0].control_dimensions || title; this.condition = this.fcondition; switch(type) { case '分部':