This commit is contained in:
geh
2026-03-23 15:22:29 +08:00
parent 94584d242b
commit c38590add8
173 changed files with 19679 additions and 4413 deletions
@@ -61,6 +61,10 @@ namespace FineUIPro.Web.HSSE.InformationProject
{
this.InitDropDownList();
}
if (!string.IsNullOrEmpty(PromotionalActivities.ActivityTypeId))
{
this.drpActivityType.SelectedValue = PromotionalActivities.ActivityTypeId;
}
///读取编号
this.txtCode.Text = BLL.CodeRecordsService.ReturnCodeByDataId(this.PromotionalActivitiesId);
this.txtTitle.Text = PromotionalActivities.Title;
@@ -97,7 +101,7 @@ namespace FineUIPro.Web.HSSE.InformationProject
this.drpUsers.SelectedValue = this.CurrUser.UserId;
////自动生成编码
this.txtCode.Text = BLL.CodeRecordsService.ReturnCodeByMenuIdProjectId(BLL.Const.ProjectPromotionalActivitiesMenuId, this.ProjectId, this.CurrUser.UnitId);
this.txtTitle.Text = this.SimpleForm1.Title;
// this.txtTitle.Text = this.SimpleForm1.Title;
}
}
}
@@ -110,6 +114,8 @@ namespace FineUIPro.Web.HSSE.InformationProject
BLL.UnitService.InitUnitDropDownList(this.drpUnits, this.ProjectId, false);
BLL.UserService.InitUserDropDownList(this.drpUsers, this.ProjectId, false);
BLL.UserService.InitUserDropDownList(this.drpCompileMan, this.ProjectId, true);
ActivityTypeService.InitActivityTypeDropDownList(this.drpActivityType, false);
}
#endregion
@@ -137,6 +143,11 @@ namespace FineUIPro.Web.HSSE.InformationProject
Code = this.txtCode.Text.Trim(),
Title = this.txtTitle.Text.Trim()
};
if (this.drpActivityType.SelectedValue != BLL.Const._Null)
{
PromotionalActivities.ActivityTypeId = this.drpActivityType.SelectedValue;
}
//参与单位
string unitIds = string.Empty;
string unitNames = string.Empty;