汇总
This commit is contained in:
@@ -116,6 +116,9 @@ namespace FineUIPro.Web.Controls
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
public List<Model.Sys_User> drpPersonUser;
|
||||
|
||||
#region 加载页面
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
@@ -129,7 +132,18 @@ namespace FineUIPro.Web.Controls
|
||||
this.getDataId = this.DataId;
|
||||
this.getMenuId = this.MenuId;
|
||||
this.geProjectId = this.ProjectId;
|
||||
BLL.UserService.InitFlowOperateControlUserDropDownList(this.drpPerson, this.ProjectId,this.UnitId, true);
|
||||
if (drpPersonUser != null)
|
||||
{
|
||||
this.drpPerson.DataValueField = "UserId";
|
||||
this.drpPerson.DataTextField = "UserName";
|
||||
this.drpPerson.DataSource = drpPersonUser;
|
||||
this.drpPerson.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.drpPerson);
|
||||
}
|
||||
else
|
||||
{
|
||||
BLL.UserService.InitFlowOperateControlUserDropDownList(this.drpPerson, this.ProjectId, this.UnitId, true);
|
||||
}
|
||||
this.GroupPanel1.TitleToolTip += BLL.MenuFlowOperateService.GetFlowOperateName(this.getMenuId);
|
||||
this.txtAuditFlowName.Text = "审核/审批";
|
||||
var flowOperate = Funs.DB.Sys_FlowOperate.FirstOrDefault(x => x.DataId == this.getDataId && x.State == BLL.Const.State_2 && x.IsClosed == true);
|
||||
@@ -161,7 +175,19 @@ namespace FineUIPro.Web.Controls
|
||||
this.rblFlowOperate.Enabled = false;
|
||||
this.txtAuditFlowName.Text = nextMenuFlowOperate.AuditFlowName;
|
||||
this.drpPerson.Items.Clear();
|
||||
UserService.InitUserProjectIdRoleIdDropDownList(this.drpPerson, this.ProjectId, nextMenuFlowOperate.RoleId, true);
|
||||
if (drpPersonUser != null)
|
||||
{
|
||||
this.drpPerson.DataValueField = "UserId";
|
||||
this.drpPerson.DataTextField = "UserName";
|
||||
this.drpPerson.DataSource = drpPersonUser;
|
||||
this.drpPerson.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.drpPerson);
|
||||
}
|
||||
else
|
||||
{
|
||||
UserService.InitUserProjectIdRoleIdDropDownList(this.drpPerson, this.ProjectId, nextMenuFlowOperate.RoleId, true);
|
||||
}
|
||||
|
||||
if (nextMenuFlowOperate.IsFlowEnd == true)
|
||||
{
|
||||
this.rblFlowOperate.SelectedValue = Const.State_2;
|
||||
@@ -466,5 +492,8 @@ namespace FineUIPro.Web.Controls
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user