This commit is contained in:
gaofei
2021-08-13 11:15:59 +08:00
parent 43acc57060
commit d8dff88c39
320 changed files with 37219 additions and 4678 deletions
@@ -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