1、车辆交易安全管理,现场车辆管理:补充批量退场和导入功能;
2、危大工程方案调整 3、企业安全检查调整 4、安全活动调整
This commit is contained in:
@@ -33,10 +33,13 @@
|
||||
AutoPostBack="true" OnTextChanged="TextBox_TextChanged" Width="250px" LabelWidth="80px"
|
||||
LabelAlign="right">
|
||||
</f:TextBox>
|
||||
<f:TextBox runat="server" Label="活动主题" ID="txtTitle" EmptyText="输入查询条件"
|
||||
<f:TextBox runat="server" Label="活动名称" ID="txtTitle" EmptyText="输入查询条件"
|
||||
AutoPostBack="true" OnTextChanged="TextBox_TextChanged" Width="250px" LabelWidth="80px"
|
||||
LabelAlign="right">
|
||||
</f:TextBox>
|
||||
<f:DropDownList ID="drpActivityType" runat="server" Label="活动类型" Width="210px" LabelWidth="80px" LabelAlign="Right"
|
||||
AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
|
||||
</f:DropDownList>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="btnNew" ToolTip="新增" Icon="Add" EnablePostBack="false" Hidden="true"
|
||||
@@ -60,7 +63,11 @@
|
||||
TextAlign="Left">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="150px" ColumnID="Title" DataField="Title"
|
||||
SortField="Title" FieldType="String" HeaderText="活动主题" HeaderTextAlign="Center"
|
||||
SortField="Title" FieldType="String" HeaderText="活动名称" HeaderTextAlign="Center"
|
||||
TextAlign="Left">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="150px" ColumnID="ActivityTypeName" DataField="ActivityTypeName"
|
||||
SortField="ActivityTypeName" FieldType="String" HeaderText="活动类型" HeaderTextAlign="Center"
|
||||
TextAlign="Left">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="100px" ColumnID="ActivitiesDate" DataField="ActivitiesDate"
|
||||
|
||||
@@ -9,7 +9,7 @@ using AspNet = System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.HSSE.InformationProject
|
||||
{
|
||||
public partial class PromotionalActivities :PageBase
|
||||
public partial class PromotionalActivities : PageBase
|
||||
{
|
||||
#region 加载
|
||||
/// <summary>
|
||||
@@ -21,6 +21,9 @@ namespace FineUIPro.Web.HSSE.InformationProject
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
//活动类型
|
||||
ActivityTypeService.InitActivityTypeDropDownList(this.drpActivityType, true);
|
||||
|
||||
////权限按钮方法
|
||||
this.GetButtonPower();
|
||||
this.btnNew.OnClientClick = Window1.GetShowReference("PromotionalActivitiesEdit.aspx") + "return false;";
|
||||
@@ -32,17 +35,17 @@ namespace FineUIPro.Web.HSSE.InformationProject
|
||||
// 绑定表格
|
||||
this.BindGrid();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 绑定数据
|
||||
/// </summary>
|
||||
} /// <summary>
|
||||
/// 绑定数据
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
string strSql = @"SELECT PromotionalActivities.PromotionalActivitiesId,PromotionalActivities.ProjectId,CodeRecords.Code AS Code,PromotionalActivities.Title,PromotionalActivities.ActivitiesDate,PromotionalActivities.UnitNames"
|
||||
+ @" ,PromotionalActivities.CompileMan,Users.UserName AS CompileManName,PromotionalActivities.CompileDate,PromotionalActivities.States "
|
||||
+ @" ,PromotionalActivities.CompileMan,Users.UserName AS CompileManName,PromotionalActivities.CompileDate,PromotionalActivities.States,ActivityType.ActivityTypeName "
|
||||
+ @" ,(CASE WHEN PromotionalActivities.States = " + BLL.Const.State_0 + " OR PromotionalActivities.States IS NULL THEN '待['+OperateUser.UserName+']提交' WHEN PromotionalActivities.States = " + BLL.Const.State_2 + " THEN '审核/审批完成' ELSE '待['+OperateUser.UserName+']办理' END) AS FlowOperateName"
|
||||
+ @" FROM InformationProject_PromotionalActivities AS PromotionalActivities "
|
||||
+ @" LEFT JOIN Sys_CodeRecords AS CodeRecords ON PromotionalActivities.PromotionalActivitiesId=CodeRecords.DataId "
|
||||
+ @" LEFT JOIN Base_ActivityType AS ActivityType ON PromotionalActivities.ActivityTypeId=ActivityType.ActivityTypeId "
|
||||
+ @" LEFT JOIN Sys_FlowOperate AS FlowOperate ON PromotionalActivities.PromotionalActivitiesId=FlowOperate.DataId AND FlowOperate.IsClosed <> 1"
|
||||
+ @" LEFT JOIN Sys_User AS OperateUser ON FlowOperate.OperaterId=OperateUser.UserId"
|
||||
+ @" LEFT JOIN Sys_User AS Users ON PromotionalActivities.CompileMan=Users.UserId WHERE 1=1 ";
|
||||
@@ -58,6 +61,11 @@ namespace FineUIPro.Web.HSSE.InformationProject
|
||||
{
|
||||
listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
|
||||
}
|
||||
if (this.drpActivityType.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
strSql += " AND PromotionalActivities.ActivityTypeId = @ActType";
|
||||
listStr.Add(new SqlParameter("@ActType", this.drpActivityType.SelectedValue));
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(this.txtCode.Text.Trim()))
|
||||
{
|
||||
|
||||
+34
-23
@@ -7,11 +7,13 @@
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
|
||||
|
||||
public partial class PromotionalActivities {
|
||||
|
||||
namespace FineUIPro.Web.HSSE.InformationProject
|
||||
{
|
||||
|
||||
|
||||
public partial class PromotionalActivities
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar2 控件。
|
||||
/// </summary>
|
||||
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtCode 控件。
|
||||
/// </summary>
|
||||
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtCode;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtTitle 控件。
|
||||
/// </summary>
|
||||
@@ -74,7 +76,16 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtTitle;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// drpActivityType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpActivityType;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
@@ -83,7 +94,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnNew 控件。
|
||||
/// </summary>
|
||||
@@ -92,7 +103,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnNew;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnOut 控件。
|
||||
/// </summary>
|
||||
@@ -101,7 +112,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnOut;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lblNumber 控件。
|
||||
/// </summary>
|
||||
@@ -110,7 +121,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblNumber;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarSeparator1 控件。
|
||||
/// </summary>
|
||||
@@ -119,7 +130,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarText1 控件。
|
||||
/// </summary>
|
||||
@@ -128,7 +139,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ddlPageSize 控件。
|
||||
/// </summary>
|
||||
@@ -137,7 +148,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlPageSize;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Window1 控件。
|
||||
/// </summary>
|
||||
@@ -146,7 +157,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// WindowAtt 控件。
|
||||
/// </summary>
|
||||
@@ -155,7 +166,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window WindowAtt;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Menu1 控件。
|
||||
/// </summary>
|
||||
@@ -164,7 +175,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Menu Menu1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuEdit 控件。
|
||||
/// </summary>
|
||||
@@ -173,7 +184,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuEdit;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuDelete 控件。
|
||||
/// </summary>
|
||||
|
||||
@@ -20,11 +20,17 @@
|
||||
<f:TextBox ID="txtCode" runat="server" Label="活动编号" LabelAlign="Right"
|
||||
MaxLength="50" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtTitle" runat="server" Label="活动主题" Required="true" ShowRedStar="true"
|
||||
<f:TextBox ID="txtTitle" runat="server" Label="活动名称" Required="true" ShowRedStar="true"
|
||||
LabelAlign="Right" MaxLength="500" FocusOnPageLoad="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpActivityType" runat="server" Label="活动类型" Required="true" ShowRedStar="true" AutoSelectFirstItem="true">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpUnits" runat="server" Label="参与单位" EnableEdit="true" EnableMultiSelect="true"
|
||||
|
||||
@@ -78,6 +78,10 @@ namespace FineUIPro.Web.HSSE.InformationProject
|
||||
this.drpCompileMan.SelectedValue = PromotionalActivities.CompileMan;
|
||||
}
|
||||
this.txtMainContent.Text = HttpUtility.HtmlDecode(PromotionalActivities.MainContent);
|
||||
if (!string.IsNullOrEmpty(PromotionalActivities.ActivityTypeId))
|
||||
{
|
||||
this.drpActivityType.SelectedValue = PromotionalActivities.ActivityTypeId;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -116,6 +120,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
|
||||
|
||||
@@ -200,6 +206,10 @@ namespace FineUIPro.Web.HSSE.InformationProject
|
||||
{
|
||||
PromotionalActivities.CompileMan = this.drpCompileMan.SelectedValue;
|
||||
}
|
||||
if (this.drpActivityType.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
PromotionalActivities.ActivityTypeId = this.drpActivityType.SelectedValue;
|
||||
}
|
||||
PromotionalActivities.MainContent = HttpUtility.HtmlEncode(this.txtMainContent.Text);
|
||||
PromotionalActivities.CompileDate = DateTime.Now;
|
||||
////单据状态
|
||||
|
||||
+33
-22
@@ -7,11 +7,13 @@
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
|
||||
|
||||
public partial class PromotionalActivitiesEdit {
|
||||
|
||||
namespace FineUIPro.Web.HSSE.InformationProject
|
||||
{
|
||||
|
||||
|
||||
public partial class PromotionalActivitiesEdit
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// SimpleForm1 控件。
|
||||
/// </summary>
|
||||
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form SimpleForm1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtCode 控件。
|
||||
/// </summary>
|
||||
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtCode;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtTitle 控件。
|
||||
/// </summary>
|
||||
@@ -56,7 +58,16 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtTitle;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// drpActivityType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpActivityType;
|
||||
|
||||
/// <summary>
|
||||
/// drpUnits 控件。
|
||||
/// </summary>
|
||||
@@ -65,7 +76,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpUnits;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// drpUsers 控件。
|
||||
/// </summary>
|
||||
@@ -74,7 +85,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpUsers;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtActivitiesDate 控件。
|
||||
/// </summary>
|
||||
@@ -83,7 +94,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtActivitiesDate;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// drpCompileMan 控件。
|
||||
/// </summary>
|
||||
@@ -92,7 +103,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpCompileMan;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtMainContent 控件。
|
||||
/// </summary>
|
||||
@@ -101,7 +112,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.HtmlEditor txtMainContent;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ContentPanel1 控件。
|
||||
/// </summary>
|
||||
@@ -110,7 +121,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ContentPanel ContentPanel1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ctlAuditFlow 控件。
|
||||
/// </summary>
|
||||
@@ -119,7 +130,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Web.Controls.FlowOperateControl ctlAuditFlow;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
@@ -128,7 +139,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnAttachUrl 控件。
|
||||
/// </summary>
|
||||
@@ -137,7 +148,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnAttachUrl;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnSave 控件。
|
||||
/// </summary>
|
||||
@@ -146,7 +157,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSave;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnSubmit 控件。
|
||||
/// </summary>
|
||||
@@ -155,7 +166,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSubmit;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnClose 控件。
|
||||
/// </summary>
|
||||
@@ -164,7 +175,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnClose;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// WindowAtt 控件。
|
||||
/// </summary>
|
||||
|
||||
@@ -21,11 +21,17 @@
|
||||
<f:TextBox ID="txtCode" runat="server" Label="活动编号" LabelAlign="Right"
|
||||
Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtTitle" runat="server" Label="活动主题"
|
||||
<f:TextBox ID="txtTitle" runat="server" Label="活动名称"
|
||||
LabelAlign="Right" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpActivityType" runat="server" Label="活动类型" Readonly="true">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtUnits" runat="server" Label="参与单位" Readonly="true" LabelAlign="Right" Height="50px">
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Web;
|
||||
|
||||
namespace FineUIPro.Web.HSSE.InformationProject
|
||||
@@ -34,6 +35,9 @@ namespace FineUIPro.Web.HSSE.InformationProject
|
||||
{
|
||||
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
||||
this.PromotionalActivitiesId = Request.Params["PromotionalActivitiesId"];
|
||||
//活动类型
|
||||
ActivityTypeService.InitActivityTypeDropDownList(this.drpActivityType, false);
|
||||
|
||||
if (!string.IsNullOrEmpty(this.PromotionalActivitiesId))
|
||||
{
|
||||
Model.InformationProject_PromotionalActivities PromotionalActivities = BLL.PromotionalActivitiesService.GetPromotionalActivitiesById(this.PromotionalActivitiesId);
|
||||
@@ -51,6 +55,10 @@ namespace FineUIPro.Web.HSSE.InformationProject
|
||||
{
|
||||
this.drpCompileMan.Text = users.UserName;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(PromotionalActivities.ActivityTypeId))
|
||||
{
|
||||
this.drpActivityType.SelectedValue = PromotionalActivities.ActivityTypeId;
|
||||
}
|
||||
|
||||
this.txtUnits.Text = PromotionalActivities.UnitNames;
|
||||
this.txtUsers.Text = PromotionalActivities.UserNames;
|
||||
|
||||
+31
-20
@@ -7,11 +7,13 @@
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
|
||||
|
||||
public partial class PromotionalActivitiesView {
|
||||
|
||||
namespace FineUIPro.Web.HSSE.InformationProject
|
||||
{
|
||||
|
||||
|
||||
public partial class PromotionalActivitiesView
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// SimpleForm1 控件。
|
||||
/// </summary>
|
||||
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form SimpleForm1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtCode 控件。
|
||||
/// </summary>
|
||||
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtCode;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtTitle 控件。
|
||||
/// </summary>
|
||||
@@ -56,7 +58,16 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtTitle;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// drpActivityType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpActivityType;
|
||||
|
||||
/// <summary>
|
||||
/// txtUnits 控件。
|
||||
/// </summary>
|
||||
@@ -65,7 +76,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtUnits;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtUsers 控件。
|
||||
/// </summary>
|
||||
@@ -74,7 +85,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtUsers;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtActivitiesDate 控件。
|
||||
/// </summary>
|
||||
@@ -83,7 +94,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtActivitiesDate;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// drpCompileMan 控件。
|
||||
/// </summary>
|
||||
@@ -92,7 +103,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox drpCompileMan;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtMainContent 控件。
|
||||
/// </summary>
|
||||
@@ -101,7 +112,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.HtmlEditor txtMainContent;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ContentPanel1 控件。
|
||||
/// </summary>
|
||||
@@ -110,7 +121,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ContentPanel ContentPanel1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ctlAuditFlow 控件。
|
||||
/// </summary>
|
||||
@@ -119,7 +130,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Web.Controls.FlowOperateControl ctlAuditFlow;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
@@ -128,7 +139,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnAttachUrl 控件。
|
||||
/// </summary>
|
||||
@@ -137,7 +148,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnAttachUrl;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnClose 控件。
|
||||
/// </summary>
|
||||
@@ -146,7 +157,7 @@ namespace FineUIPro.Web.HSSE.InformationProject {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnClose;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// WindowAtt 控件。
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user