升级
This commit is contained in:
@@ -110,6 +110,12 @@
|
||||
<f:ListItem Text="已闭环" Value="2" />
|
||||
|
||||
</f:DropDownList>
|
||||
<f:DropDownList runat="server" EnableSimulateTree="True" LabelWidth="80px" LabelAlign="Right" Label="来源" ID="drpDataSource" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
|
||||
<f:ListItem Text="-请选择-" Value="null"/>
|
||||
<f:ListItem Text="本单位" Value="0"/>
|
||||
<f:ListItem Text="总包" Value="1"/>
|
||||
</f:DropDownList>
|
||||
|
||||
|
||||
<f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" Label="开始日期" ID="txtStartTime"
|
||||
LabelAlign="right">
|
||||
@@ -119,6 +125,8 @@
|
||||
</f:DatePicker>
|
||||
|
||||
<f:ToolbarFill runat="server"></f:ToolbarFill>
|
||||
<f:Button ID="btnPull" runat="server" OnClick="btnPull_Click" ToolTip="获取" Text="获取">
|
||||
</f:Button>
|
||||
<f:Button ID="btnQuery" OnClick="btnQuery_Click" ToolTip="查询" Text="查询" Icon="SystemSearch" EnablePostBack="true" runat="server">
|
||||
</f:Button>
|
||||
<f:Button ID="btnRset" OnClick="btnRset_Click" ToolTip="重置" Text="重置" Icon="ArrowUndo" EnablePostBack="true" runat="server">
|
||||
|
||||
@@ -93,7 +93,7 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
{
|
||||
code = ProjectService.GetProjectByProjectId(this.ProjectId).ProjectCode + "-QC-TCC-XJ-";
|
||||
}
|
||||
UnitService.InitUnitByProjectIdUnitTypeDropDownList(drpSponsorUnit, this.ProjectId, BLL.Const.ProjectUnitType_2, true);
|
||||
UnitService.InitUnitByProjectIdUnitTypeDropDownList(drpSponsorUnit, this.ProjectId, "", true);
|
||||
UnitWorkService.InitUnitWorkDownList(drpUnitWork, this.ProjectId, true);
|
||||
CNProfessionalService.InitCNProfessionalDownList(drpCNProfessional, true);
|
||||
QualityQuestionTypeService.InitQualityQuestionTypeDownList(drpQuestionType, true);
|
||||
@@ -527,7 +527,13 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
var checks = BLL.CheckControlService.GetCheckControl(codes);
|
||||
|
||||
if (checks != null)
|
||||
{
|
||||
{
|
||||
if (checks.DataSource == "1")
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("CheckListEdit.aspx?CheckControlCode={0}", codes, "编辑 - ")));
|
||||
return;
|
||||
}
|
||||
|
||||
if (checks.State.Equals(Const.CheckControl_Complete))
|
||||
{
|
||||
Alert.ShowInTop("您不是当前办理人,无法编辑,请右键查看!", MessageBoxIcon.Warning);
|
||||
@@ -1574,5 +1580,17 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
txtEndTime.Text = "";
|
||||
BindGrid();
|
||||
}
|
||||
#region 拉取总包检查
|
||||
/// <summary>
|
||||
/// 拉取总包检查
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnPull_Click(object sender, EventArgs e)
|
||||
{
|
||||
APICheckControlSyncService.getCheckControlLists(this.ProjectId);
|
||||
this.BindGrid();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
+140
-122
@@ -1,10 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.CQMS.Check
|
||||
@@ -15,353 +15,371 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// form1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// PageManager1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// Panel1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
/// <summary>
|
||||
/// panelLeftRegion 控件。
|
||||
/// panelLeftRegion control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel panelLeftRegion;
|
||||
|
||||
/// <summary>
|
||||
/// ContentPanel1 控件。
|
||||
/// ContentPanel1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ContentPanel ContentPanel1;
|
||||
|
||||
/// <summary>
|
||||
/// ucTree 控件。
|
||||
/// ucTree control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Web.Controls.UnitProjectTControl ucTree;
|
||||
|
||||
/// <summary>
|
||||
/// panelCenterRegion 控件。
|
||||
/// panelCenterRegion control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel panelCenterRegion;
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// Grid1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// Toolbar1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
/// <summary>
|
||||
/// drpSponsorUnit 控件。
|
||||
/// drpSponsorUnit control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpSponsorUnit;
|
||||
|
||||
/// <summary>
|
||||
/// drpUnitWork 控件。
|
||||
/// drpUnitWork control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpUnitWork;
|
||||
|
||||
/// <summary>
|
||||
/// drpCNProfessional 控件。
|
||||
/// drpCNProfessional control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpCNProfessional;
|
||||
|
||||
/// <summary>
|
||||
/// drpQuestionType 控件。
|
||||
/// drpQuestionType control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpQuestionType;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar2 控件。
|
||||
/// Toolbar2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar2;
|
||||
|
||||
/// <summary>
|
||||
/// dpHandelStatus 控件。
|
||||
/// dpHandelStatus control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList dpHandelStatus;
|
||||
|
||||
/// <summary>
|
||||
/// txtStartTime 控件。
|
||||
/// drpDataSource control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpDataSource;
|
||||
|
||||
/// <summary>
|
||||
/// txtStartTime control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtStartTime;
|
||||
|
||||
/// <summary>
|
||||
/// txtEndTime 控件。
|
||||
/// txtEndTime control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtEndTime;
|
||||
|
||||
/// <summary>
|
||||
/// btnQuery 控件。
|
||||
/// btnPull control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnPull;
|
||||
|
||||
/// <summary>
|
||||
/// btnQuery control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnQuery;
|
||||
|
||||
/// <summary>
|
||||
/// btnRset 控件。
|
||||
/// btnRset control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnRset;
|
||||
|
||||
/// <summary>
|
||||
/// btnNew 控件。
|
||||
/// btnNew control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnNew;
|
||||
|
||||
/// <summary>
|
||||
/// btnOut 控件。
|
||||
/// btnOut control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnOut;
|
||||
|
||||
/// <summary>
|
||||
/// labNumber 控件。
|
||||
/// labNumber control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label labNumber;
|
||||
|
||||
/// <summary>
|
||||
/// lbImageUrl 控件。
|
||||
/// lbImageUrl control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lbImageUrl;
|
||||
|
||||
/// <summary>
|
||||
/// lbImageUrl2 控件。
|
||||
/// lbImageUrl2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lbImageUrl2;
|
||||
|
||||
/// <summary>
|
||||
/// labState 控件。
|
||||
/// labState control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label labState;
|
||||
|
||||
/// <summary>
|
||||
/// lbAuditMan 控件。
|
||||
/// lbAuditMan control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lbAuditMan;
|
||||
|
||||
/// <summary>
|
||||
/// lbState2 控件。
|
||||
/// lbState2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lbState2;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarSeparator1 控件。
|
||||
/// ToolbarSeparator1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarText1 控件。
|
||||
/// ToolbarText1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||
|
||||
/// <summary>
|
||||
/// ddlPageSize 控件。
|
||||
/// ddlPageSize control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlPageSize;
|
||||
|
||||
/// <summary>
|
||||
/// Window1 控件。
|
||||
/// Window1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window1;
|
||||
|
||||
/// <summary>
|
||||
/// Window2 控件。
|
||||
/// Window2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window2;
|
||||
|
||||
/// <summary>
|
||||
/// Menu1 控件。
|
||||
/// Menu1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Menu Menu1;
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuModify 控件。
|
||||
/// btnMenuModify control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuModify;
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuView 控件。
|
||||
/// btnMenuView control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuView;
|
||||
|
||||
/// <summary>
|
||||
/// MenuButton1 控件。
|
||||
/// MenuButton1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton MenuButton1;
|
||||
|
||||
/// <summary>
|
||||
/// MenuButton2 控件。
|
||||
/// MenuButton2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton MenuButton2;
|
||||
|
||||
/// <summary>
|
||||
/// MenuButton3 控件。
|
||||
/// MenuButton3 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton MenuButton3;
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuDel 控件。
|
||||
/// btnMenuDel control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuDel;
|
||||
}
|
||||
|
||||
@@ -121,7 +121,7 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
UnitService.InitUnitByProjectIdUnitTypeDropDownList(drpUnit, this.CurrUser.LoginProjectId, BLL.Const.ProjectUnitType_2, false);
|
||||
UnitService.InitUnitByProjectIdUnitTypeDropDownList(drpUnit, this.CurrUser.LoginProjectId, "", false);
|
||||
UnitService.InitUnitNotsub(drpProposeUnit, this.CurrUser.LoginProjectId, false);
|
||||
UnitWorkService.InitUnitWorkDownList(drpUnitWork, this.CurrUser.LoginProjectId, false);
|
||||
CNProfessionalService.InitCNProfessionalDownList(drpCNProfessional, false);
|
||||
@@ -366,6 +366,20 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
if (BLL.CommonService.GetAllButtonPowerList(CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.CheckListMenuId, BLL.Const.BtnSubmit))
|
||||
{
|
||||
SavePauseNotice("submit");
|
||||
var porject = BLL.ProjectService.GetProjectByProjectId(this.CurrUser.LoginProjectId);
|
||||
if (!string.IsNullOrWhiteSpace(porject.SubjectUnit) && !string.IsNullOrWhiteSpace(porject.SubjectProject))
|
||||
{
|
||||
var control = CheckControlService.GetCheckControl(CheckControlCode);
|
||||
if (control != null)
|
||||
{
|
||||
if (control.DataSource == "1")
|
||||
{
|
||||
//推送到总包
|
||||
APICheckControlSyncService.pushCheckControlLists(this.CurrUser.LoginProjectId, control.CheckControlCode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(Request.Params["Main"]))
|
||||
{
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||
@@ -502,6 +516,7 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
{
|
||||
checkControl.CheckControlCode = SQLHelper.GetNewID(typeof(Model.Check_CheckControl));
|
||||
}
|
||||
this.CheckControlCode = checkControl.CheckControlCode;
|
||||
BLL.CheckControlService.AddCheckControl(checkControl);
|
||||
if (saveType == "submit")
|
||||
{
|
||||
|
||||
@@ -1,152 +1,195 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RewardAndPunish.aspx.cs" Inherits="FineUIPro.Web.CQMS.Check.RewardAndPunish" %>
|
||||
|
||||
<%@ Register Src="~/Controls/UnitProjectTControl.ascx" TagName="UnitProjectTControl" TagPrefix="uc1" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link href="../../res/css/common.css" rel="stylesheet" type="text/css"/>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<script src="../../Controls/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
|
||||
<title>奖罚通知单(定稿)</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
|
||||
<f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
|
||||
<Items>
|
||||
<f:Panel runat="server" ID="panelLeftRegion" RegionPosition="Left" RegionSplit="true"
|
||||
EnableCollapse="true" Width="380" Title="公司-项目" TitleToolTip="公司-项目" ShowBorder="true"
|
||||
ShowHeader="true" AutoScroll="true" BodyPadding="5px" IconFont="ArrowCircleLeft" Layout="Fit">
|
||||
<Items>
|
||||
<f:ContentPanel ID="ContentPanel1" runat="server" ShowHeader="false" EnableCollapse="true" AutoScroll="true"
|
||||
BodyPadding="0px">
|
||||
<uc1:UnitProjectTControl ID="ucTree" runat="server" Onchange="changeTree" />
|
||||
</f:ContentPanel>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<f:Panel runat="server" ID="panelCenterRegion" RegionPosition="Center" ShowBorder="true"
|
||||
Layout="VBox" ShowHeader="false" BodyPadding="5px" IconFont="PlusCircle" AutoScroll="true">
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" EnableAjax="false" ShowHeader="false" Title="奖罚通知单(定稿)" EnableCollapse="true"
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server"/>
|
||||
<f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
|
||||
<Items>
|
||||
<f:Panel runat="server" ID="panelLeftRegion" RegionPosition="Left" RegionSplit="true"
|
||||
EnableCollapse="true" Width="380" Title="公司-项目" TitleToolTip="公司-项目" ShowBorder="true"
|
||||
ShowHeader="true" AutoScroll="true" BodyPadding="5px" IconFont="ArrowCircleLeft" Layout="Fit">
|
||||
<Items>
|
||||
<f:ContentPanel ID="ContentPanel1" runat="server" ShowHeader="false" EnableCollapse="true" AutoScroll="true"
|
||||
BodyPadding="0px">
|
||||
<uc1:UnitProjectTControl ID="ucTree" runat="server" Onchange="changeTree"/>
|
||||
</f:ContentPanel>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<f:Panel runat="server" ID="panelCenterRegion" RegionPosition="Center" ShowBorder="true"
|
||||
Layout="VBox" ShowHeader="false" BodyPadding="5px" IconFont="PlusCircle" AutoScroll="true">
|
||||
<Items>
|
||||
|
||||
<f:Grid ID="Grid1" ShowBorder="true" EnableAjax="false" ShowHeader="false" Title="奖罚通知单(定稿)" EnableCollapse="true"
|
||||
runat="server" BoxFlex="1" DataKeyNames="RewardAndPunishID" AllowCellEditing="true"
|
||||
ClicksToEdit="2" DataIDField="RewardAndPunishID" AllowSorting="true" SortField="Date"
|
||||
SortDirection="DESC" OnSort="Grid1_Sort" EnableColumnLines="true" ForceFit="true"
|
||||
AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
|
||||
EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick" AllowFilters="true"
|
||||
OnFilterChange="Grid1_FilterChange" EnableTextSelection="True">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
|
||||
<Items>
|
||||
<f:DropDownList ID="drpType" runat="server" Label="奖励通知单" EnableEdit="true" EmptyText="请选择查询条件" OnSelectedIndexChanged="drpType_SelectedIndexChanged" AutoPostBack="true"
|
||||
LabelAlign="right">
|
||||
<f:ListItem Value="0" Text="奖励通知单" />
|
||||
<f:ListItem Value="1" Text="处罚通知单" />
|
||||
</f:DropDownList>
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
|
||||
<Items>
|
||||
|
||||
<f:ToolbarFill runat="server"></f:ToolbarFill>
|
||||
<f:DropDownList ID="drpResponseUnit" runat="server" Label="奖罚单位" EnableEdit="true" EmptyText="请选择查询条件" OnSelectedIndexChanged="drpType_SelectedIndexChanged" AutoPostBack="true"
|
||||
LabelAlign="right">
|
||||
</f:DropDownList>
|
||||
|
||||
<f:DropDownList ID="drpType" runat="server" Label="奖励/处罚" EnableEdit="true" EmptyText="请选择查询条件" OnSelectedIndexChanged="drpType_OnSelectedIndexChanged" AutoPostBack="true"
|
||||
LabelAlign="right">
|
||||
<f:ListItem Text="-请选择-" Value="null"/>
|
||||
<f:ListItem Text="奖励" Value="1"/>
|
||||
<f:ListItem Text="处罚" Value="2"/>
|
||||
</f:DropDownList>
|
||||
|
||||
<f:DropDownList ID="drpRewardAndPunishType" runat="server" Label="奖罚类型" EnableEdit="true" EmptyText="请选择查询条件" OnSelectedIndexChanged="drpType_SelectedIndexChanged" AutoPostBack="true"
|
||||
LabelAlign="right">
|
||||
</f:DropDownList>
|
||||
|
||||
<f:DropDownList runat="server" EnableSimulateTree="True" LabelWidth="80px" LabelAlign="Right" Label="来源" ID="drpDataSource" AutoPostBack="true" OnSelectedIndexChanged="drpType_SelectedIndexChanged">
|
||||
<f:ListItem Text="-请选择-" Value="null"/>
|
||||
<f:ListItem Text="常规" Value="0"/>
|
||||
<f:ListItem Text="巡检" Value="1"/>
|
||||
</f:DropDownList>
|
||||
|
||||
<f:ToolbarFill runat="server"></f:ToolbarFill>
|
||||
|
||||
|
||||
<f:Button ID="btnNew" ToolTip="新增" Icon="Add" EnablePostBack="false" runat="server" Text="新增"
|
||||
Hidden="true">
|
||||
</f:Button>
|
||||
<f:Button ID="btnNew" ToolTip="新增" Icon="Add" EnablePostBack="false" runat="server" Text="新增"
|
||||
Hidden="true">
|
||||
</f:Button>
|
||||
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
|
||||
</Toolbars>
|
||||
<Columns>
|
||||
<f:TemplateField ColumnID="tfNumber" Width="55px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center"
|
||||
EnableLock="true" Locked="False">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="labNumber" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
</Toolbars>
|
||||
<Columns>
|
||||
<f:TemplateField ColumnID="tfNumber" Width="55px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center"
|
||||
EnableLock="true" Locked="False">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="labNumber" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
|
||||
|
||||
<f:TemplateField ColumnID="Type" Width="80px" HeaderText="类型" HeaderTextAlign="Center" TextAlign="Center"
|
||||
EnableLock="true" Locked="False">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# ConvertType(Eval("Type")) %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
<f:TemplateField ColumnID="ResponseUnit" Width="80px" HeaderText="责任单位" HeaderTextAlign="Center" TextAlign="Center"
|
||||
EnableLock="true" Locked="False">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label2" runat="server" Text='<%# ConvertUnitName(Eval("ResponseUnit")) %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
<f:RenderField Width="80px" ColumnID="Description" DataField="Description" SortField="Description"
|
||||
FieldType="String" HeaderText="描述" TextAlign="Center" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="90px" ColumnID="Money" DataField="Money" SortField="Money"
|
||||
FieldType="String" HeaderText="金额" TextAlign="Center" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:TemplateField ColumnID="Type" Width="80px" HeaderText="奖励/处罚" HeaderTextAlign="Center" TextAlign="Center"
|
||||
EnableLock="true" Locked="False">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# ConvertType(Eval("Type")) %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
<f:RenderField Width="80px" ColumnID="RewardAndPunishCode" DataField="RewardAndPunishCode"
|
||||
FieldType="String" HeaderText="编号" TextAlign="Center" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
|
||||
<f:RenderField Width="95px" ColumnID="Date" DataField="Date" SortField="Date"
|
||||
FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderText="奖罚日期" TextAlign="Center" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
|
||||
<f:TemplateField ColumnID="RewardAndPunishType" Width="80px" HeaderText="奖罚类型" HeaderTextAlign="Center" TextAlign="Center"
|
||||
EnableLock="true" Locked="False">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label4" runat="server" Text='<%# ConvertRewardAndPunishType(Eval("Type"), Eval("RewardAndPunishType")) %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
|
||||
<f:RenderField Width="95px" ColumnID="Date" DataField="Date" SortField="Date"
|
||||
FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderText="日期" TextAlign="Center" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:TemplateField ColumnID="ResponseUnit" Width="150px" HeaderText="奖罚单位" HeaderTextAlign="Center" TextAlign="Center"
|
||||
EnableLock="true" Locked="False">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label2" runat="server" Text='<%# ConvertUnitName(Eval("ResponseUnit")) %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
<f:TemplateField ColumnID="RewardAndPunishMan" Width="80px" HeaderText="奖罚人" HeaderTextAlign="Center" TextAlign="Center"
|
||||
EnableLock="true" Locked="False">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label3" runat="server" Text='<%# ConvertPersionName(Eval("RewardAndPunishMan")) %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
|
||||
<f:TemplateField ColumnID="TeamGroupId" Width="80px" HeaderText="所属班组" HeaderTextAlign="Center" TextAlign="Center"
|
||||
EnableLock="true" Locked="False">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label5" runat="server" Text='<%# ConvertTeamGroupName(Eval("TeamGroupId")) %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
<f:RenderField Width="180px" ColumnID="Description" DataField="Description" ExpandUnusedSpace="true"
|
||||
FieldType="String" HeaderText="奖罚依据" TextAlign="Center" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="80px" ColumnID="Money" DataField="Money" SortField="Money"
|
||||
FieldType="String" HeaderText="奖罚金额" TextAlign="Center" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
|
||||
<f:TemplateField ColumnID="CreateMan" Width="80px" HeaderText="编制人" HeaderTextAlign="Center" TextAlign="Center"
|
||||
EnableLock="true" Locked="False">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lbCreateMan" runat="server" Text='<%# ConvertMan(Eval("CreateMan")) %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
<f:TemplateField ColumnID="AttachFile" Width="150px" HeaderText="附件" HeaderTextAlign="Center" TextAlign="Left">
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbtnFileUrl" runat="server" CssClass="ItemLink"
|
||||
Text='<%# BLL.AttachFileService.GetBtnFileUrl(Eval("RewardAndPunishID")) %>' ToolTip="附件查看"></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
</Columns>
|
||||
<Listeners>
|
||||
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
||||
</Listeners>
|
||||
<PageItems>
|
||||
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
|
||||
</f:ToolbarSeparator>
|
||||
<f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
|
||||
</f:ToolbarText>
|
||||
<f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true"
|
||||
OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
|
||||
<f:ListItem Text="10" Value="10" />
|
||||
<f:ListItem Text="15" Value="15" />
|
||||
<f:ListItem Text="20" Value="20" />
|
||||
<f:ListItem Text="25" Value="25" />
|
||||
<f:ListItem Text="所有行" Value="100000" />
|
||||
</f:DropDownList>
|
||||
<f:ToolbarFill runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:RenderField Width="80px" ColumnID="Remark" DataField="Remark"
|
||||
FieldType="String" HeaderText="备注" TextAlign="Center" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
|
||||
</PageItems>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<f:Window ID="Window1" Title="奖罚通知单(定稿)" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="Window1_Close"
|
||||
Width="700px" Height="360px">
|
||||
</f:Window>
|
||||
<f:Menu ID="Menu1" runat="server">
|
||||
<Items>
|
||||
<f:MenuButton ID="btnMenuModify" EnablePostBack="true" runat="server" Hidden="true" Text="修改" Icon="Pencil"
|
||||
OnClick="btnMenuModify_Click">
|
||||
</f:MenuButton>
|
||||
<f:MenuButton ID="btnMenuDel" EnablePostBack="true" runat="server" Hidden="true" Icon="Delete" Text="删除" ConfirmText="确定删除当前数据?"
|
||||
OnClick="btnMenuDel_Click">
|
||||
</f:MenuButton>
|
||||
<f:TemplateField ColumnID="DataSource" Width="80px" HeaderText="来源" HeaderTextAlign="Center"
|
||||
TextAlign="Left">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lbDataSource" runat="server" Text='<%# ConvertDataSource(Eval("DataSource")) %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
|
||||
</Items>
|
||||
</f:Menu>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
<f:TemplateField ColumnID="AttachFile" Width="100px" HeaderText="附件" HeaderTextAlign="Center" TextAlign="Left">
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbtnFileUrl" runat="server" CssClass="ItemLink"
|
||||
Text='<%# ConvertAttachFile(Eval("RewardAndPunishID")) %>' ToolTip="附件查看">
|
||||
</asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
</Columns>
|
||||
<Listeners>
|
||||
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu"/>
|
||||
</Listeners>
|
||||
<PageItems>
|
||||
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
|
||||
</f:ToolbarSeparator>
|
||||
<f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
|
||||
</f:ToolbarText>
|
||||
<f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true"
|
||||
OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
|
||||
<f:ListItem Text="10" Value="10"/>
|
||||
<f:ListItem Text="15" Value="15"/>
|
||||
<f:ListItem Text="20" Value="20"/>
|
||||
<f:ListItem Text="25" Value="25"/>
|
||||
<f:ListItem Text="所有行" Value="100000"/>
|
||||
</f:DropDownList>
|
||||
<f:ToolbarFill runat="server">
|
||||
</f:ToolbarFill>
|
||||
|
||||
</PageItems>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<f:Window ID="Window1" Title="奖罚管理" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="Window1_Close"
|
||||
Width="1100px" Height="480px">
|
||||
</f:Window>
|
||||
<f:Menu ID="Menu1" runat="server">
|
||||
<Items>
|
||||
<f:MenuButton ID="btnMenuModify" EnablePostBack="true" runat="server" Hidden="true" Text="修改" Icon="Pencil"
|
||||
OnClick="btnMenuModify_Click">
|
||||
</f:MenuButton>
|
||||
<f:MenuButton ID="btnMenuDel" EnablePostBack="true" runat="server" Hidden="true" Icon="Delete" Text="删除" ConfirmText="确定删除当前数据?"
|
||||
OnClick="btnMenuDel_Click">
|
||||
</f:MenuButton>
|
||||
|
||||
</Items>
|
||||
</f:Menu>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
var menuID = '<%= Menu1.ClientID %>';
|
||||
|
||||
// 返回false,来阻止浏览器右键菜单
|
||||
@@ -156,5 +199,4 @@
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
||||
@@ -7,48 +7,41 @@ using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Model;
|
||||
|
||||
namespace FineUIPro.Web.CQMS.Check
|
||||
{
|
||||
public partial class RewardAndPunish : PageBase
|
||||
{
|
||||
#region 项目主键
|
||||
/// <summary>
|
||||
/// 项目主键
|
||||
/// </summary>
|
||||
public string ProjectId
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["ProjectId"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["ProjectId"] = value;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 项目id
|
||||
/// </summary>
|
||||
public string ProjectId
|
||||
{
|
||||
get { return (string)ViewState["ProjectId"]; }
|
||||
set { ViewState["ProjectId"] = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
public string RewardAndPunishID
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["RewardAndPunishID"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["RewardAndPunishID"] = value;
|
||||
}
|
||||
get { return (string)ViewState["RewardAndPunishID"]; }
|
||||
set { ViewState["RewardAndPunishID"] = value; }
|
||||
}
|
||||
public string SysTemType
|
||||
{
|
||||
get { return (string)ViewState["SysTemType"]; }
|
||||
set { ViewState["SysTemType"] = value; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.ProjectId = this.CurrUser.LoginProjectId;
|
||||
if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId)
|
||||
if (!string.IsNullOrEmpty(Request.Params["projectId"]) &&
|
||||
Request.Params["projectId"] != this.CurrUser.LoginProjectId)
|
||||
{
|
||||
this.ProjectId = Request.Params["projectId"];
|
||||
}
|
||||
@@ -61,7 +54,9 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
////权限按钮方法
|
||||
this.GetButtonPower();
|
||||
}
|
||||
btnNew.OnClientClick = Window1.GetShowReference("RewardAndPunishEdit.aspx") + "return false;";
|
||||
UnitService.InitUnitByProjectIdUnitTypeDropDownList(drpResponseUnit, this.CurrUser.LoginProjectId, "", true);
|
||||
this.SysTemType = Request.Params["type"] ?? "1";
|
||||
btnNew.OnClientClick = Window1.GetShowReference(String.Format("RewardAndPunishEdit.aspx?sysTemType={0}",SysTemType, "编辑 - ")) + "return false;";
|
||||
// 绑定表格
|
||||
BindGrid();
|
||||
}
|
||||
@@ -75,25 +70,25 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
protected void changeTree(object sender, EventArgs e)
|
||||
{
|
||||
this.ProjectId = this.ucTree.ProjectId;
|
||||
|
||||
this.GetButtonPower();
|
||||
if (string.IsNullOrEmpty(this.CurrUser.LoginProjectId))
|
||||
{
|
||||
btnNew.Hidden = true;
|
||||
}
|
||||
this.GetButtonPower();
|
||||
|
||||
this.BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 绑定数据
|
||||
/// </summary>
|
||||
|
||||
public void BindGrid()
|
||||
{
|
||||
if (string.IsNullOrEmpty(this.ProjectId))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
DataTable tb = ChecklistData();
|
||||
|
||||
// 2.获取当前分页数据
|
||||
@@ -105,7 +100,6 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
|
||||
Grid1.DataSource = table;
|
||||
Grid1.DataBind();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -114,23 +108,52 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
string strSql = @" SELECT RewardAndPunishID
|
||||
,Type
|
||||
,ResponseUnit
|
||||
,NoticeUnit
|
||||
,Description
|
||||
,Money
|
||||
,Date
|
||||
,CreateMan
|
||||
,ProjectId
|
||||
,ProjectId,RewardAndPunishCode,Remark,DataSource,RewardAndPunishType,RewardAndPunishMan,TeamGroupId
|
||||
FROM dbo.Check_RewardAndPunish
|
||||
where ProjectId=@ProjectId";
|
||||
where ProjectId=@ProjectId and SysTemType = @SysTemType ";
|
||||
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@ProjectId", this.ProjectId));
|
||||
listStr.Add(new SqlParameter("@SysTemType", this.SysTemType));
|
||||
|
||||
if (drpType.SelectedValue != Const._Null)
|
||||
{
|
||||
strSql += " AND Type=@Type";
|
||||
strSql += " AND Type = @Type";
|
||||
listStr.Add(new SqlParameter("@Type", drpType.SelectedValue));
|
||||
}
|
||||
|
||||
|
||||
if (drpRewardAndPunishType.SelectedValue != Const._Null && !string.IsNullOrEmpty(drpRewardAndPunishType.SelectedValue))
|
||||
{
|
||||
strSql += " AND RewardAndPunishType = @RewardAndPunishType";
|
||||
listStr.Add(new SqlParameter("@RewardAndPunishType", drpRewardAndPunishType.SelectedValue));
|
||||
}
|
||||
|
||||
if (this.drpDataSource.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
if (this.drpDataSource.SelectedValue == "0")
|
||||
{
|
||||
strSql += " AND (DataSource is null or DataSource = @DataSource) ";
|
||||
listStr.Add(new SqlParameter("@DataSource", drpDataSource.SelectedValue));
|
||||
}
|
||||
else
|
||||
{
|
||||
strSql += " AND DataSource = @DataSource";
|
||||
listStr.Add(new SqlParameter("@DataSource", drpDataSource.SelectedValue));
|
||||
}
|
||||
}
|
||||
|
||||
if (drpResponseUnit.SelectedValue != Const._Null && !string.IsNullOrEmpty(drpRewardAndPunishType.SelectedValue))
|
||||
{
|
||||
strSql += " AND ResponseUnit = @ResponseUnit";
|
||||
listStr.Add(new SqlParameter("@ResponseUnit", drpResponseUnit.SelectedValue));
|
||||
}
|
||||
strSql += " ORDER BY Date DESC";
|
||||
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
return tb;
|
||||
@@ -138,6 +161,7 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
|
||||
|
||||
#region 过滤表头、排序、分页、关闭窗口
|
||||
|
||||
/// <summary>
|
||||
/// 过滤表头
|
||||
/// </summary>
|
||||
@@ -181,7 +205,9 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
//<summary>
|
||||
//获取办理人姓名
|
||||
//</summary>
|
||||
@@ -193,29 +219,86 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
{
|
||||
return BLL.UserService.GetUserByUserId(userid.ToString()).UserName;
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
protected string ConvertUnitName(object userid)
|
||||
|
||||
protected string ConvertRewardAndPunishType(object Type,object RewardAndPunishType)
|
||||
{
|
||||
if (userid != null && !string.IsNullOrEmpty(userid.ToString()))
|
||||
Model.Sys_Const model;
|
||||
if (Type != null && Type.ToString() == "1")
|
||||
{
|
||||
return BLL.UnitService.GetUnitByUnitId(userid.ToString()).UnitName;
|
||||
model = Funs.DB.Sys_Const.FirstOrDefault(x => x.GroupId == "RewardType" && x.ConstValue == RewardAndPunishType.ToString());
|
||||
}
|
||||
else
|
||||
{
|
||||
model = Funs.DB.Sys_Const.FirstOrDefault(x => x.GroupId == "PunishType" && x.ConstValue == RewardAndPunishType.ToString());
|
||||
}
|
||||
|
||||
if (model == null)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
return model.ConstText;
|
||||
}
|
||||
|
||||
|
||||
protected string ConvertUnitName(object uintid)
|
||||
{
|
||||
if (uintid != null && !string.IsNullOrEmpty(uintid.ToString()))
|
||||
{
|
||||
return BLL.UnitService.GetUnitByUnitId(uintid.ToString()).UnitName;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
protected string ConvertPersionName(object persionid)
|
||||
{
|
||||
if (persionid != null && !string.IsNullOrEmpty(persionid.ToString()))
|
||||
{
|
||||
return BLL.PersonService.GetPersonById(persionid.ToString()).PersonName;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
protected string ConvertTeamGroupName(object teamGroupid)
|
||||
{
|
||||
if (teamGroupid != null && !string.IsNullOrEmpty(teamGroupid.ToString()))
|
||||
{
|
||||
return BLL.TeamGroupService.getTeamGroupNameById(teamGroupid.ToString());
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
protected string ConvertDataSource(object dataSource)
|
||||
{
|
||||
string data = "常规";
|
||||
if (dataSource != null)
|
||||
{
|
||||
if (dataSource.ToString() == "1")
|
||||
{
|
||||
data = "巡检";
|
||||
}
|
||||
}
|
||||
return data;
|
||||
}
|
||||
|
||||
protected string ConvertType(object type)
|
||||
{
|
||||
if (type != null)
|
||||
{
|
||||
if (type.ToString() == "0")
|
||||
return "奖励通知单";
|
||||
if (type.ToString() == "1")
|
||||
return "奖励";
|
||||
else
|
||||
return "处罚通知单";
|
||||
return "处罚";
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
#region Grid双击事件
|
||||
|
||||
/// <summary>
|
||||
/// Grid行双击事件
|
||||
/// </summary>
|
||||
@@ -239,6 +322,7 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
string codes = Grid1.SelectedRowID.Split(',')[0];
|
||||
var checks = BLL.RewardAndPunishService.GetRewardAndPunishById(codes);
|
||||
|
||||
@@ -252,11 +336,10 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
|
||||
else
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("RewardAndPunishEdit.aspx?RewardAndPunishID={0}", codes, "编辑 - ")));
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(
|
||||
String.Format("RewardAndPunishEdit.aspx?RewardAndPunishID={0}", codes, "编辑 - ")));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -264,8 +347,11 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 获取按钮权限
|
||||
|
||||
/// <summary>
|
||||
/// 获取按钮权限
|
||||
/// </summary>
|
||||
@@ -277,32 +363,35 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
{
|
||||
return;
|
||||
}
|
||||
var buttonList = BLL.CommonService.GetAllButtonList(this.ProjectId, this.CurrUser.UserId, BLL.Const.RewardAndPunishMenuId);
|
||||
|
||||
var buttonList = BLL.CommonService.GetAllButtonList(this.ProjectId, this.CurrUser.UserId,
|
||||
BLL.Const.RewardAndPunishMenuId);
|
||||
if (buttonList.Count() > 0)
|
||||
{
|
||||
if (buttonList.Contains(BLL.Const.BtnAdd))
|
||||
{
|
||||
this.btnNew.Hidden = false;
|
||||
|
||||
}
|
||||
|
||||
if (buttonList.Contains(BLL.Const.BtnDelete))
|
||||
{
|
||||
this.btnMenuDel.Hidden = false;
|
||||
}
|
||||
|
||||
if (buttonList.Contains(BLL.Const.BtnModify))
|
||||
{
|
||||
this.btnMenuModify.Hidden = false;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
protected void drpType_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 批量删除
|
||||
/// </summary>
|
||||
@@ -310,16 +399,20 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
/// <param name="e"></param>
|
||||
protected void btnMenuDel_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
if (Grid1.SelectedRowIndexArray.Length == 0)
|
||||
{
|
||||
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
string codes = Grid1.SelectedRowID.Split(',')[0];
|
||||
|
||||
BLL.RewardAndPunishService.DeleteRewardAndPunishById(codes);
|
||||
BLL.LogService.AddSys_Log(this.CurrUser, "", codes, BLL.Const.CheckListMenuId, "删除奖罚通知单(定稿)");
|
||||
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
|
||||
{
|
||||
string codes = Grid1.DataKeys[rowIndex][0].ToString();
|
||||
BLL.RewardAndPunishService.DeleteRewardAndPunishById(codes);
|
||||
//删除对应的附件
|
||||
BLL.UploadFileService.DeleteFile(Funs.RootPath, AttachFileService.getFileUrl(codes));
|
||||
BLL.LogService.AddSys_Log(this.CurrUser, "", codes, BLL.Const.CheckListMenuId, "删除奖罚通知单(定稿)");
|
||||
}
|
||||
Grid1.DataBind();
|
||||
BindGrid();
|
||||
Alert.ShowInTop("删除数据成功!", MessageBoxIcon.Success);
|
||||
@@ -334,5 +427,39 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
protected void drpType_OnSelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (this.drpType.SelectedText == "奖励")
|
||||
{
|
||||
ConstValue.InitConstValueDropDownList(this.drpRewardAndPunishType, "RewardType", true);
|
||||
}
|
||||
else
|
||||
{
|
||||
ConstValue.InitConstValueDropDownList(this.drpRewardAndPunishType, "PunishType", true);
|
||||
}
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
|
||||
protected string ConvertAttachFile(object rewardAndPunishID)
|
||||
{
|
||||
string fileUrl = "";
|
||||
var model = BLL.RewardAndPunishService.GetRewardAndPunishById(rewardAndPunishID.ToString());
|
||||
if (model != null)
|
||||
{
|
||||
if (model.DataSource == "1")
|
||||
{
|
||||
fileUrl = BLL.AttachFileService.GetBtnFileUrl(model.HazardRegisterId);
|
||||
}
|
||||
else
|
||||
{
|
||||
fileUrl = BLL.AttachFileService.GetBtnFileUrl(model.RewardAndPunishID);
|
||||
}
|
||||
}
|
||||
|
||||
return fileUrl;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -95,6 +95,15 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
/// <summary>
|
||||
/// drpResponseUnit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpResponseUnit;
|
||||
|
||||
/// <summary>
|
||||
/// drpType 控件。
|
||||
/// </summary>
|
||||
@@ -104,6 +113,24 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpType;
|
||||
|
||||
/// <summary>
|
||||
/// drpRewardAndPunishType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpRewardAndPunishType;
|
||||
|
||||
/// <summary>
|
||||
/// drpDataSource 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpDataSource;
|
||||
|
||||
/// <summary>
|
||||
/// btnNew 控件。
|
||||
/// </summary>
|
||||
@@ -131,6 +158,15 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label1;
|
||||
|
||||
/// <summary>
|
||||
/// Label4 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label4;
|
||||
|
||||
/// <summary>
|
||||
/// Label2 控件。
|
||||
/// </summary>
|
||||
@@ -141,13 +177,31 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
protected global::System.Web.UI.WebControls.Label Label2;
|
||||
|
||||
/// <summary>
|
||||
/// lbCreateMan 控件。
|
||||
/// Label3 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lbCreateMan;
|
||||
protected global::System.Web.UI.WebControls.Label Label3;
|
||||
|
||||
/// <summary>
|
||||
/// Label5 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label5;
|
||||
|
||||
/// <summary>
|
||||
/// lbDataSource 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lbDataSource;
|
||||
|
||||
/// <summary>
|
||||
/// lbtnFileUrl 控件。
|
||||
|
||||
@@ -4,73 +4,110 @@
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" runat="server" />
|
||||
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" runat="server"/>
|
||||
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
||||
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Rows>
|
||||
|
||||
<f:FormRow >
|
||||
<Items>
|
||||
<f:DropDownList ID="drpType" runat="server" Label="类型" LabelAlign="Right" Required="true" ShowRedStar="true" EnableEdit="true">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpResponseUnit" runat="server" Required="true" ShowRedStar="true" Label="责任单位" LabelAlign="Right" EnableEdit="true">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow >
|
||||
<Items>
|
||||
<f:TextArea ID="txtDescription" ShowRedStar="true" Required="true" runat="server" Label="内容描述" MaxLength="3000">
|
||||
</f:TextArea>
|
||||
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow >
|
||||
<Items>
|
||||
<f:NumberBox ID="txtMoney" Label="金额" runat="server"
|
||||
ShowRedStar ="true" Required="true" >
|
||||
</f:NumberBox>
|
||||
<f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" Label="日期" ID="dpDate"
|
||||
LabelAlign="right" Required="true" ShowRedStar="true">
|
||||
</f:DatePicker>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow >
|
||||
<Rows>
|
||||
|
||||
<f:FormRow >
|
||||
<Items>
|
||||
<f:RadioButtonList ID="drpType" runat="server" Label="类型" LabelAlign="Right" Required="True" ShowRedStar="True"
|
||||
AutoPostBack="true" OnSelectedIndexChanged="drpType_OnSelectedIndexChanged">
|
||||
<f:RadioItem Value="1" Text="奖励" Selected="True"/>
|
||||
<f:RadioItem Value="2" Text="处罚"/>
|
||||
</f:RadioButtonList>
|
||||
|
||||
<f:TextBox ID="txtRewardAndPunishCode" runat="server" Label="编号" LabelAlign="Right" Readonly="True"
|
||||
MaxLength="50">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
<f:FormRow >
|
||||
<Items>
|
||||
<f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" Label="日期" ID="dpDate"
|
||||
LabelAlign="right" Required="true" ShowRedStar="true">
|
||||
</f:DatePicker>
|
||||
|
||||
<f:DropDownList ID="drpRewardAndPunishType" runat="server" Label="奖罚类型" LabelAlign="Right" Required="true"
|
||||
ShowRedStar="true" EnableEdit="true">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
<f:FormRow >
|
||||
<Items>
|
||||
<f:DropDownList ID="drpResponseUnit" runat="server" Required="true" ShowRedStar="true" Label="奖罚单位" LabelAlign="Right" EnableEdit="true"
|
||||
AutoPostBack="true" OnSelectedIndexChanged="drpResponseUnit_OnSelectedIndexChanged">
|
||||
</f:DropDownList>
|
||||
<f:Label runat="server" CssStyle="display:none"></f:Label>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
<f:FormRow >
|
||||
<Items>
|
||||
<f:DropDownList ID="drpRewardAndPunishMan" runat="server" Required="true" ShowRedStar="true" Label="奖罚人" LabelAlign="Right" EnableEdit="true"
|
||||
AutoPostBack="true" OnSelectedIndexChanged="drpUser_OnSelectedIndexChanged">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpTeamGroup" runat="server" Label="所属班组" LabelAlign="Right" Readonly="True">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
<f:FormRow >
|
||||
<Items>
|
||||
<f:NumberBox ID="txtMoney" Label="金额" runat="server">
|
||||
</f:NumberBox>
|
||||
<f:Label runat="server" CssStyle="display:none"></f:Label>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
<f:FormRow >
|
||||
<Items>
|
||||
<f:TextArea ID="txtDescription" runat="server" Label="奖罚依据" MaxLength="3000">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
<f:FormRow >
|
||||
<Items>
|
||||
<f:TextBox ID="txtRemark" Label="备注" runat="server">
|
||||
</f:TextBox>
|
||||
|
||||
<f:Panel ID="Panel1" ShowHeader="false" ShowBorder="false" Layout="Column" runat="server" MarginLeft="56px">
|
||||
<Items>
|
||||
<f:Panel ID="Panel1" ShowHeader="false" ShowBorder="false" Layout="Column" runat="server" MarginLeft="56px">
|
||||
<Items>
|
||||
<f:Label runat="server" Text="附件:" ShowLabel="false"></f:Label>
|
||||
<f:Button ID="imgBtnFile" Text="附件" ToolTip="上传及查看" Icon="TableCell" runat="server"
|
||||
OnClick="imgBtnFile_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
|
||||
<f:Label runat="server" Text="附件:" ShowLabel="false"></f:Label>
|
||||
<f:Button ID="imgBtnFile" Text="附件" ToolTip="上传及查看" Icon="TableCell" runat="server"
|
||||
OnClick="imgBtnFile_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
||||
<Items>
|
||||
<f:TextBox ID="hdId" runat="server" Hidden="true">
|
||||
</f:TextBox>
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ValidateForms="SimpleForm1" OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnClose" EnablePostBack="false"
|
||||
runat="server" Icon="SystemClose">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
</f:Form>
|
||||
<f:Window ID="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" OnClose="WindowAtt_Close" runat="server" IsModal="true" Width="700px"
|
||||
Height="500px">
|
||||
</f:Window>
|
||||
</form>
|
||||
</f:Panel>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
||||
<Items>
|
||||
<f:TextBox ID="hdId" runat="server" Hidden="true">
|
||||
</f:TextBox>
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ValidateForms="SimpleForm1" OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnClose" EnablePostBack="false"
|
||||
runat="server" Icon="SystemClose">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
</f:Form>
|
||||
<f:Window ID="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" OnClose="WindowAtt_Close" runat="server" IsModal="true" Width="700px"
|
||||
Height="500px">
|
||||
</f:Window>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
@@ -11,61 +11,90 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
public partial class RewardAndPunishEdit : PageBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 项目id
|
||||
/// 主键
|
||||
/// </summary>
|
||||
public string RewardAndPunishID
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["RewardAndPunishID"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["RewardAndPunishID"] = value;
|
||||
}
|
||||
} /// <summary>
|
||||
/// 图片是否可以编辑 -1查看 0编辑
|
||||
/// </summary>
|
||||
get { return (string)ViewState["RewardAndPunishID"]; }
|
||||
set { ViewState["RewardAndPunishID"] = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 图片是否可以编辑 -1查看 0编辑
|
||||
/// </summary>
|
||||
public int QuestionImg
|
||||
{
|
||||
get
|
||||
{
|
||||
return Convert.ToInt32(ViewState["QuestionImg"]);
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["QuestionImg"] = value;
|
||||
}
|
||||
get { return Convert.ToInt32(ViewState["QuestionImg"]); }
|
||||
set { ViewState["QuestionImg"] = value; }
|
||||
}
|
||||
|
||||
public string SysTemType
|
||||
{
|
||||
get { return (string)ViewState["SysTemType"]; }
|
||||
set { ViewState["SysTemType"] = value; }
|
||||
}
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
BLL.RewardAndPunishService.InitTypeDropDownList(drpType);
|
||||
//UnitService.InitUnitDownList(drpResponseUnit, this.CurrUser.LoginProjectId, false);
|
||||
UnitService.InitUnitByProjectIdUnitTypeDropDownList(drpResponseUnit, this.CurrUser.LoginProjectId, BLL.Const.ProjectUnitType_2, false);
|
||||
drpTeamGroup.DataValueField = "TeamGroupId";
|
||||
drpTeamGroup.DataTextField = "TeamGroupName";
|
||||
drpTeamGroup.DataSource = TeamGroupService.GetTeamGroupList(this.CurrUser.LoginProjectId);
|
||||
drpTeamGroup.DataBind();
|
||||
Funs.FineUIPleaseSelect(drpTeamGroup, null);
|
||||
|
||||
UnitService.InitUnitByProjectIdUnitTypeDropDownList(drpResponseUnit, this.CurrUser.LoginProjectId, "", true);
|
||||
this.SysTemType = Request.Params["sysTemType"];
|
||||
|
||||
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
||||
RewardAndPunishID = Request.Params["RewardAndPunishID"];
|
||||
if (!string.IsNullOrEmpty(RewardAndPunishID))
|
||||
{
|
||||
this.hdId.Text = RewardAndPunishID;
|
||||
|
||||
|
||||
Model.Check_RewardAndPunish RewardAndPunish = BLL.RewardAndPunishService.GetRewardAndPunishById(RewardAndPunishID);
|
||||
if (RewardAndPunish != null)
|
||||
{
|
||||
this.CurrUser.LoginProjectId = RewardAndPunish.ProjectId;
|
||||
|
||||
this.drpRewardAndPunishType.SelectedValue = RewardAndPunish.RewardAndPunishType;
|
||||
|
||||
if (RewardAndPunish.Type.HasValue)
|
||||
{
|
||||
this.drpType.SelectedValue = RewardAndPunish.Type.Value.ToString();
|
||||
if (!string.IsNullOrEmpty(RewardAndPunish.ResponseUnit))
|
||||
drpRewardAndPunishType_Click(sender, e);
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(RewardAndPunish.ResponseUnit))
|
||||
{
|
||||
this.drpResponseUnit.SelectedValue = RewardAndPunish.ResponseUnit;
|
||||
}
|
||||
|
||||
if (RewardAndPunish.Money.HasValue)
|
||||
{
|
||||
this.txtMoney.Text = RewardAndPunish.Money.Value.ToString();
|
||||
}
|
||||
|
||||
if (RewardAndPunish.Date.HasValue)
|
||||
{
|
||||
this.dpDate.Text = string.Format("{0:yyyy-MM-dd}", RewardAndPunish.Date.Value);
|
||||
}
|
||||
this.txtDescription.Text = RewardAndPunish.Description;
|
||||
|
||||
this.txtRewardAndPunishCode.Text = RewardAndPunish.RewardAndPunishCode;
|
||||
|
||||
if (!string.IsNullOrEmpty(RewardAndPunish.RewardAndPunishType))
|
||||
{
|
||||
this.drpRewardAndPunishType.SelectedValue = RewardAndPunish.RewardAndPunishType;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(RewardAndPunish.RewardAndPunishMan))
|
||||
{
|
||||
this.drpRewardAndPunishMan.SelectedValue = RewardAndPunish.RewardAndPunishMan;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(RewardAndPunish.TeamGroupId))
|
||||
{
|
||||
this.drpTeamGroup.SelectedValue = RewardAndPunish.TeamGroupId;
|
||||
}
|
||||
this.txtRemark.Text = RewardAndPunish.Remark;
|
||||
if (this.CurrUser.UserId == RewardAndPunish.CreateMan)
|
||||
{
|
||||
QuestionImg = 1;
|
||||
@@ -77,26 +106,50 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
drpType_OnSelectedIndexChanged(sender, e);
|
||||
}
|
||||
drpResponseUnit_OnSelectedIndexChanged(sender, e);
|
||||
}
|
||||
}
|
||||
|
||||
protected void WindowAtt_Close(object sender, WindowCloseEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
protected void imgBtnFile_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(this.hdId.Text)) //新增记录
|
||||
if (string.IsNullOrEmpty(this.hdId.Text)) //新增记录
|
||||
{
|
||||
this.hdId.Text = SQLHelper.GetNewID(typeof(Model.Check_CheckControl));
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type={0}&toKeyId={1}&path=FileUpload/CheckControl&menuId={2}", QuestionImg, this.hdId.Text, BLL.Const.RewardAndPunishMenuId)));
|
||||
|
||||
var model = BLL.RewardAndPunishService.GetRewardAndPunishById(this.hdId.Text);
|
||||
if (model != null && model.HazardRegisterId != null)
|
||||
{
|
||||
Model.HSSE_Hazard_HazardRegister register =
|
||||
BLL.HSSE_Hazard_HazardRegisterService.GetHazardRegisterByHazardRegisterId(model.HazardRegisterId);
|
||||
DateTime date = Convert.ToDateTime(register.CheckTime);
|
||||
string dateStr = date.Year.ToString() + date.Month.ToString();
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format(
|
||||
"~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/Registration/" + dateStr +
|
||||
"&menuId={1}&edit={2}", register.HazardRegisterId, Const.HSSE_HiddenRectificationListMenuId, "1")));
|
||||
}
|
||||
else
|
||||
{
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format(
|
||||
"../../AttachFile/webuploader.aspx?type={0}&toKeyId={1}&path=FileUpload/CheckControl&menuId={2}",
|
||||
QuestionImg, this.hdId.Text, BLL.Const.RewardAndPunishMenuId)));
|
||||
}
|
||||
}
|
||||
|
||||
protected void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (BLL.CommonService.GetAllButtonPowerList(CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.RewardAndPunishMenuId, BLL.Const.BtnSave))
|
||||
if (BLL.CommonService.GetAllButtonPowerList(CurrUser.LoginProjectId, this.CurrUser.UserId,
|
||||
BLL.Const.RewardAndPunishMenuId, BLL.Const.BtnSave))
|
||||
{
|
||||
SaveData();
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -113,18 +166,37 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
}
|
||||
RewardAndPunish.ProjectId = this.CurrUser.LoginProjectId;
|
||||
RewardAndPunish.Type = int.Parse(this.drpType.SelectedValue);
|
||||
|
||||
RewardAndPunish.ResponseUnit = this.drpResponseUnit.SelectedValue;
|
||||
|
||||
RewardAndPunish.Money = Decimal.Parse(this.txtMoney.Text);
|
||||
|
||||
// RewardAndPunish.NoticeUnit = this.drpNoticeUnit.SelectedValue;
|
||||
if (!string.IsNullOrWhiteSpace(this.txtMoney.Text))
|
||||
{
|
||||
decimal moneyValue;
|
||||
if (decimal.TryParse(this.txtMoney.Text.Trim(), out moneyValue))
|
||||
{
|
||||
RewardAndPunish.Money = moneyValue;
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("金额必须为有效数字!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
RewardAndPunish.Date = Convert.ToDateTime(this.dpDate.Text.Trim());
|
||||
RewardAndPunish.Description = this.txtDescription.Text;
|
||||
RewardAndPunish.CreateMan = this.CurrUser.UserId;
|
||||
RewardAndPunish.RewardAndPunishType = this.drpRewardAndPunishType.SelectedValue;
|
||||
RewardAndPunish.RewardAndPunishCode = this.txtRewardAndPunishCode.Text;
|
||||
RewardAndPunish.RewardAndPunishMan = this.drpRewardAndPunishMan.SelectedValue;
|
||||
RewardAndPunish.TeamGroupId = this.drpTeamGroup.SelectedValue;
|
||||
RewardAndPunish.Remark = this.txtRemark.Text.Trim();
|
||||
RewardAndPunish.DataSource = "0";
|
||||
RewardAndPunish.SysTemType = this.SysTemType;
|
||||
|
||||
if (string.IsNullOrEmpty(this.hdId.Text.Trim()))
|
||||
{
|
||||
RewardAndPunish.RewardAndPunishID = Guid.NewGuid().ToString();
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(RewardAndPunishID))
|
||||
{
|
||||
BLL.RewardAndPunishService.AddRewardAndPunish(RewardAndPunish);
|
||||
@@ -132,12 +204,67 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
else
|
||||
{
|
||||
BLL.RewardAndPunishService.UpdateRewardAndPunish(RewardAndPunish);
|
||||
|
||||
}
|
||||
ShowNotify("提交成功!", MessageBoxIcon.Success);
|
||||
|
||||
ShowNotify("保存成功!", MessageBoxIcon.Success);
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||
}
|
||||
|
||||
#region 单位下拉框事件
|
||||
|
||||
/// <summary>
|
||||
/// 单位下拉框事件
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void drpResponseUnit_OnSelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.drpResponseUnit.SelectedValue))
|
||||
{
|
||||
//根据单位和项目获取人员
|
||||
BLL.PersonService.InitPersonByProjectUnitDropDownList(this.drpRewardAndPunishMan,
|
||||
this.CurrUser.LoginProjectId, this.drpResponseUnit.SelectedValue, false);
|
||||
}
|
||||
}
|
||||
|
||||
protected void drpUser_OnSelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.drpRewardAndPunishMan.SelectedValue))
|
||||
{
|
||||
this.drpTeamGroup.SelectedValue = BLL.PersonService.GetPersonById(this.drpRewardAndPunishMan.SelectedValue).TeamGroupId;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
protected void drpType_OnSelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (this.drpType.SelectedValue == "1")
|
||||
{
|
||||
// this.txtRewardAndPunishCode.Text = BLL.SQLHelper.RunProcNewId("SpGetNewCode5",
|
||||
// "Check_RewardAndPunish", "RewardAndPunishCode", $"JL");
|
||||
this.txtRewardAndPunishCode.Text = BLL.RewardAndPunishService.getCode(SysTemType,"JL");
|
||||
}
|
||||
else
|
||||
{
|
||||
// this.txtRewardAndPunishCode.Text = BLL.SQLHelper.RunProcNewId("SpGetNewCode5",
|
||||
// "Check_RewardAndPunish", "RewardAndPunishCode", $"CF");
|
||||
this.txtRewardAndPunishCode.Text = BLL.RewardAndPunishService.getCode(SysTemType,"CF");
|
||||
}
|
||||
drpRewardAndPunishType_Click(sender, e);
|
||||
}
|
||||
|
||||
protected void drpRewardAndPunishType_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.drpType.SelectedValue == "1")
|
||||
{
|
||||
ConstValue.InitConstValueDropDownList(this.drpRewardAndPunishType, "RewardType", false);
|
||||
}
|
||||
else
|
||||
{
|
||||
ConstValue.InitConstValueDropDownList(this.drpRewardAndPunishType, "PunishType", false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -48,7 +48,34 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpType;
|
||||
protected global::FineUIPro.RadioButtonList drpType;
|
||||
|
||||
/// <summary>
|
||||
/// txtRewardAndPunishCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtRewardAndPunishCode;
|
||||
|
||||
/// <summary>
|
||||
/// dpDate 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker dpDate;
|
||||
|
||||
/// <summary>
|
||||
/// drpRewardAndPunishType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpRewardAndPunishType;
|
||||
|
||||
/// <summary>
|
||||
/// drpResponseUnit 控件。
|
||||
@@ -60,13 +87,22 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
protected global::FineUIPro.DropDownList drpResponseUnit;
|
||||
|
||||
/// <summary>
|
||||
/// txtDescription 控件。
|
||||
/// drpRewardAndPunishMan 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtDescription;
|
||||
protected global::FineUIPro.DropDownList drpRewardAndPunishMan;
|
||||
|
||||
/// <summary>
|
||||
/// drpTeamGroup 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpTeamGroup;
|
||||
|
||||
/// <summary>
|
||||
/// txtMoney 控件。
|
||||
@@ -78,13 +114,22 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
protected global::FineUIPro.NumberBox txtMoney;
|
||||
|
||||
/// <summary>
|
||||
/// dpDate 控件。
|
||||
/// txtDescription 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker dpDate;
|
||||
protected global::FineUIPro.TextArea txtDescription;
|
||||
|
||||
/// <summary>
|
||||
/// txtRemark 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtRemark;
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
|
||||
Reference in New Issue
Block a user