0813
This commit is contained in:
@@ -26,8 +26,12 @@ namespace FineUIPro.Web.Party
|
||||
{
|
||||
year = Request.Params["Year"];
|
||||
}
|
||||
if (!string.IsNullOrEmpty(Request.Params["type"]))
|
||||
{
|
||||
this.btnSave.Hidden = true;
|
||||
}
|
||||
ConstValue.InitConstValueDropDownList(this.drpQuarter, ConstValue.Group_0011, true);
|
||||
UserService.InitUserProjectIdUnitIdDropDownList(drpPartyers, this.CurrUser.LoginProjectId, BLL.Const.UnitId_CWCEC, false);
|
||||
PartyerService.InitPartyerDropDownList(drpPartyers, false);
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
{
|
||||
Model.Party_OrganizingLife organizingLife = BLL.OrganizingLifeService.GetOrganizingLifeById(id);
|
||||
@@ -74,7 +78,14 @@ namespace FineUIPro.Web.Party
|
||||
{
|
||||
this.hdId.Text = SQLHelper.GetNewID(typeof(Model.Party_OrganizingLife));
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/Party/OrganizingLife&menuId={1}", this.hdId.Text, BLL.Const.OrganizingLifeMenuId)));
|
||||
if (!string.IsNullOrEmpty(Request.Params["type"]))
|
||||
{
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=-1&toKeyId={0}&path=FileUpload/Party/OrganizingLife&menuId={1}", this.hdId.Text, BLL.Const.OrganizingLifeMenuId)));
|
||||
}
|
||||
else
|
||||
{
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/Party/OrganizingLife&menuId={1}", this.hdId.Text, BLL.Const.OrganizingLifeMenuId)));
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user