1项目用户角色和专业下拉优化
This commit is contained in:
parent
bd6b06af0e
commit
3d78e0bbe5
|
|
@ -49,7 +49,7 @@
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow ColumnWidths="50% 10% 30%">
|
<f:FormRow ColumnWidths="50% 10% 30%">
|
||||||
<Items>
|
<Items>
|
||||||
<f:DropDownList ID="drpAcceptanceCheckMan" runat="server" Label="检查人" EnableCheckBoxSelect="true" LabelWidth="130px"
|
<f:DropDownList ID="drpAcceptanceCheckMan" runat="server" EnableEdit="true" Label="检查人" EmptyText="-请选择-" AutoSelectFirstItem="false" EnableCheckBoxSelect="true" LabelWidth="130px"
|
||||||
EnableMultiSelect="true">
|
EnableMultiSelect="true">
|
||||||
</f:DropDownList>
|
</f:DropDownList>
|
||||||
<f:Label ID="Label1" runat="server" Label="上传附件"
|
<f:Label ID="Label1" runat="server" Label="上传附件"
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<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">
|
Required="true" ShowRedStar="true" EnableMultiSelect="true" MaxLength="500" EnableCheckBoxSelect="true">
|
||||||
</f:DropDownList>
|
</f:DropDownList>
|
||||||
<f:DropDownList ID="drpIsPost" runat="server" Label="在岗" EnableEdit="true" ForceSelection="false"
|
<f:DropDownList ID="drpIsPost" runat="server" Label="在岗" EnableEdit="true" ForceSelection="false"
|
||||||
|
|
@ -76,7 +76,7 @@
|
||||||
<Items>
|
<Items>
|
||||||
<f:DropDownList ID="drpMainCNProfessional" runat="server" Label="主专业" EnableEdit="true" >
|
<f:DropDownList ID="drpMainCNProfessional" runat="server" Label="主专业" EnableEdit="true" >
|
||||||
</f:DropDownList>
|
</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">
|
EnableMultiSelect="true" MaxLength="500" EnableCheckBoxSelect="true">
|
||||||
</f:DropDownList>
|
</f:DropDownList>
|
||||||
</Items>
|
</Items>
|
||||||
|
|
|
||||||
|
|
@ -32,11 +32,11 @@ namespace FineUIPro.Web.ProjectData
|
||||||
{
|
{
|
||||||
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
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.ConstValue.InitConstValueDropDownList(this.drpIsPost, ConstValue.Group_0001, false);
|
||||||
BLL.WorkPostService.InitWorkPostDropDownList(this.drpWorkPost, true);
|
BLL.WorkPostService.InitWorkPostDropDownList(this.drpWorkPost, true);
|
||||||
CNProfessionalService.InitCNProfessionalDownList(this.drpMainCNProfessional, 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.DataSource = (from x in Funs.DB.WBS_UnitWork where (x.SuperUnitWork == null || x.SuperUnitWork == "0") && x.ProjectId == this.CurrUser.LoginProjectId select x);
|
||||||
gvUnitWork.DataBind();
|
gvUnitWork.DataBind();
|
||||||
this.ProjectUserId = Request.QueryString["ProjectUserId"];
|
this.ProjectUserId = Request.QueryString["ProjectUserId"];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue