提交 ad019afb 编写于 作者: U unknown

会议管理参会人员可以选择人员、身份、组织、群组

上级 3dae25ec
......@@ -815,7 +815,7 @@ MWF.xApplication.Meeting.MeetingForm = new Class({
},
invitePersonList: { type: "org", isEdited : this.isNew, orgType: ["identity","person"], count : 0, orgWidgetOptions : {
"onLoadedInfor": function(item){
this.loadAcceptAndReject( item );
// this.loadAcceptAndReject( item );
}.bind(this)
}},
inviteMemberList: { type: "org", isEdited : isEditing, orgType: ["identity","person","group","unit"], count : 0, orgWidgetOptions : {
......@@ -982,6 +982,14 @@ MWF.xApplication.Meeting.MeetingForm = new Class({
"<tr><td></td><td styles='formTableValue'><div item='acceptAction'></div><div item='rejectAction'></div></td></tr>" : ""
) +
"<tr style='display:"+((this.data.acceptPersonList && this.data.acceptPersonList.length)?'':'none')+"'>" +
" <td styles='formTableTitle'>"+this.lp.acceptPerson+":</td>" +
" <td styles='formTableValue'><div item='acceptPersonList'></div></td></tr>"+
"<tr style='display:"+((this.data.rejectPersonList && this.data.rejectPersonList.length)?'':'none')+"'>" +
" <td styles='formTableTitle'>"+this.lp.rejectPerson+":</td>" +
" <td styles='formTableValue'><div item='rejectPersonList'></div></td></tr>"+
"<tr style='display:"+(this.isShowInviteDelPersonList()?'':'none')+"' class='inviteDelPersonListTr'>" +
" <td styles='formTableTitle'>"+this.lp.deleteInvitePerson2+":</td>" +
" <td styles='formTableValue'><div item='inviteDelPersonList'></div></td></tr>";
......@@ -1682,14 +1690,8 @@ MWF.xApplication.Meeting.MeetingTooltip = new Class({
}else{
inviteList = this.data.invitePersonList || [];
}
// inviteList.each(function( person ){
// var O2person = new MWF.widget.O2Person({name : person, displayName:person.split("@")[0]}, area, {"style": "room", "onLoadedInfor": function(item){
// this.loadAcceptAndReject( item );
// }.bind(this) });
// this.O2PersonList.push( O2person );
// }.bind(this));
this.loadOrgWidget(inviteList, area, {"onLoadedInfor": function(item){
this.loadAcceptAndReject( item );
// this.loadAcceptAndReject( item );
}.bind(this)})
},
loadOrgWidget: function(value, node, opt){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册