新增隐患整改通知单、反馈单批量导出功能
This commit is contained in:
@@ -397,7 +397,12 @@ namespace FineUIPro.Web.HSSE.Check
|
||||
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
printRectify(getRectify);
|
||||
}
|
||||
|
||||
private void printRectify(Model.Check_RectifyNotices getRectify)
|
||||
{
|
||||
string rootPath = Server.MapPath("~/");
|
||||
string initTemplatePath = string.Empty;
|
||||
string uploadfilepath = string.Empty;
|
||||
@@ -714,7 +719,7 @@ namespace FineUIPro.Web.HSSE.Check
|
||||
Response.Close();
|
||||
File.Delete(newUrl);
|
||||
File.Delete(pdfUrl);
|
||||
//PrinterDocService.PrinterDocMethod(Const.ProjectRectifyNoticesMenuId + "#1", Grid1.SelectedRowID, "隐患整改通知单");
|
||||
//PrinterDocService.PrinterDocMethod(Const.ProjectRectifyNoticesMenuId + "#1", Grid1.SelectedRowID, "隐患整改通知单");
|
||||
}
|
||||
#endregion
|
||||
|
||||
@@ -1109,5 +1114,14 @@ namespace FineUIPro.Web.HSSE.Check
|
||||
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("RectifyNoticesView.aspx?RectifyNoticesId={0}", Grid1.SelectedRowID, "查看 - ")));
|
||||
}
|
||||
|
||||
protected void btnAll_Click(object sender, EventArgs e)
|
||||
{
|
||||
PrinterDocService.PrinterRectifyNoticesHtmlAll(this.ProjectId,"1");
|
||||
}
|
||||
protected void btnAll2_Click(object sender, EventArgs e)
|
||||
{
|
||||
PrinterDocService.PrinterRectifyNoticesHtmlAll(this.ProjectId, "2");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user