1项目用户角色和专业下拉优化
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpRole" runat="server" Label="角色" EnableEdit="true" ForceSelection="false"
|
||||
<f:DropDownList ID="drpRole" runat="server" Label="角色" EnableEdit="true" ForceSelection="false" EmptyText="-请选择-" AutoSelectFirstItem="false"
|
||||
Required="true" ShowRedStar="true" EnableMultiSelect="true" MaxLength="500" EnableCheckBoxSelect="true">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpIsPost" runat="server" Label="在岗" EnableEdit="true" ForceSelection="false"
|
||||
@@ -76,7 +76,7 @@
|
||||
<Items>
|
||||
<f:DropDownList ID="drpMainCNProfessional" runat="server" Label="主专业" EnableEdit="true" >
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpViceCNProfessional" runat="server" Label="副专业" EnableEdit="true"
|
||||
<f:DropDownList ID="drpViceCNProfessional" runat="server" Label="副专业" EnableEdit="true" EmptyText="-请选择-" AutoSelectFirstItem="false"
|
||||
EnableMultiSelect="true" MaxLength="500" EnableCheckBoxSelect="true">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
|
||||
@@ -32,11 +32,11 @@ namespace FineUIPro.Web.ProjectData
|
||||
{
|
||||
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
||||
///角色下拉框
|
||||
BLL.RoleService.InitRoleDropDownList(this.drpRole, string.Empty, false, true);
|
||||
BLL.RoleService.InitRoleDropDownList(this.drpRole, string.Empty, false, false);
|
||||
BLL.ConstValue.InitConstValueDropDownList(this.drpIsPost, ConstValue.Group_0001, false);
|
||||
BLL.WorkPostService.InitWorkPostDropDownList(this.drpWorkPost, true);
|
||||
CNProfessionalService.InitCNProfessionalDownList(this.drpMainCNProfessional, true);
|
||||
CNProfessionalService.InitCNProfessionalDownList(this.drpViceCNProfessional, true);
|
||||
CNProfessionalService.InitCNProfessionalDownList(this.drpViceCNProfessional, false);
|
||||
gvUnitWork.DataSource = (from x in Funs.DB.WBS_UnitWork where (x.SuperUnitWork == null || x.SuperUnitWork == "0") && x.ProjectId == this.CurrUser.LoginProjectId select x);
|
||||
gvUnitWork.DataBind();
|
||||
this.ProjectUserId = Request.QueryString["ProjectUserId"];
|
||||
|
||||
Reference in New Issue
Block a user