提交 7e7981e6 编写于 作者: U unknown

修复按职务选人没有按传入单位顺序显示的问题

上级 f5c23950
......@@ -143,8 +143,10 @@ MWF.xApplication.Selector.IdentityWidthDutyCategoryByUnit = new Class({
if (this.options.dutyUnitLevelBy === "duty") {
this.level1Container = [];
if (this.options.units && this.options.units.length) {
var div = new Element("div").inject(this.itemAreaNode);
this.level1Container.push(div);
this.options.units.each( function () {
var div = new Element("div").inject(this.itemAreaNode);
this.level1Container.push(div);
}.bind(this))
}
this._loadSelectItemsByDutyUnit(unitTree);
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册