diff --git a/SGGL/FineUIPro.Web/File/Word/ZHGL/项目安全生产策划书评审表.doc b/SGGL/FineUIPro.Web/File/Word/ZHGL/项目安全生产策划书评审表.doc
new file mode 100644
index 00000000..c0a689c3
--- /dev/null
+++ b/SGGL/FineUIPro.Web/File/Word/ZHGL/项目安全生产策划书评审表.doc
@@ -0,0 +1,12 @@
+��ࡱ�>��	����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������	
+
��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Root Entry��������	�F�ao���SummaryInformation(�����DocumentSummaryInformation8�������������WordDocument��������7����	
+
�������� !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGH����JKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqr����������������������������������������������������������
+�����Oh��+'��0�p�x����
�����|�phfNormal.dotmApril0@@�����@����n��=WPS Office_11.1.0.14309_F1E327BC-269C-435d-A152-05C5408002CA��
+��՜.��+,��D��՜.��+,����H�PX`hpx�0t�|��KSOProductBuildVerICV�2052-11.1.0.14309$2EBE727FC3BF4B18982EC9932273FC11_120Table����If
+Data
+����������������WpsCustomData����������������������������	P� KSKS�7��������?��	�	�	d
+�$-h�<*���	��0y��v�[hQu�NV{RfNċ�[h�



 ��ï&CJOJQJo(aJ5mH	sH	nHtH&CJOJQJo(aJ5mH	sH	nHtH&CJOJQJo(aJ5mH	sH	nHtH&CJOJQJo(aJ5mH	sH	nHtH ����dha$$dha$$dha$$5	0��. ��A!�#��"�$��%��S��2P0p1�8&66666666���� 0@P`p������6666 0@P`p������ 0@P`p������ 0@P`p������ 0@P`p������ 0@P`p������ 0@P`p��Z@��Zck�ea$$1$0CJOJPJQJ^JaJKHmH	sH	nHtH_H$A@���$؞���k=�W[SONi@���Nnf�h�<h(:V4�4�l4�4�l  7$��.�{$�	� Calibri-���(�[SOG��.�[x�	�@��Times New Roman��phfApril0 ���Qh�C�GD:��!\(!),.:;?]}����    & 6"0000	00
00000���	������=�@�\�]�^���([{�  0
+000000��;�[�����������P)��$P�2�



��B��#�}v�zU�6X*�=lHL����� ��z��0�(	�
+��*
+�3���?��tab

��
+commondata�,�<eyJoZGlkIjoiNmZmYzUzZGVkNzZjMTQ3ZTZhNTZjZjc5OWI4MThlZWMifQ==�@
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/HSSE/ActionPlan/ActionPlanList.aspx b/SGGL/FineUIPro.Web/HSSE/ActionPlan/ActionPlanList.aspx
index c5feb531..5ed2c235 100644
--- a/SGGL/FineUIPro.Web/HSSE/ActionPlan/ActionPlanList.aspx
+++ b/SGGL/FineUIPro.Web/HSSE/ActionPlan/ActionPlanList.aspx
@@ -111,6 +111,9 @@
             <f:MenuButton ID="btnMenuView" EnablePostBack="true" runat="server" Text="查看" Icon="ApplicationViewIcons"
                     OnClick="btnMenuView_Click">
                 </f:MenuButton>
+             <f:MenuButton ID="btnPrinter" EnablePostBack="true" runat="server"
+                Text="导出" Icon="Printer" OnClick="btnPrinter_Click" EnableAjax="false" DisableControlBeforePostBack="false">
+            </f:MenuButton>
             <f:MenuButton ID="btnMenuDelete" OnClick="btnMenuDelete_Click" EnablePostBack="true"
                 Hidden="true" Icon="Delete" ConfirmText="删除选中行？" ConfirmTarget="Parent" runat="server"
                 Text="删除">
diff --git a/SGGL/FineUIPro.Web/HSSE/ActionPlan/ActionPlanList.aspx.cs b/SGGL/FineUIPro.Web/HSSE/ActionPlan/ActionPlanList.aspx.cs
index 5fee5ee9..4c74c053 100644
--- a/SGGL/FineUIPro.Web/HSSE/ActionPlan/ActionPlanList.aspx.cs
+++ b/SGGL/FineUIPro.Web/HSSE/ActionPlan/ActionPlanList.aspx.cs
@@ -1,8 +1,10 @@
-﻿using BLL;
+﻿using Aspose.Words;
+using BLL;
 using System;
 using System.Collections.Generic;
 using System.Data;
 using System.Data.SqlClient;
+using System.IO;
 using System.Linq;
 
 namespace FineUIPro.Web.HSSE.ActionPlan
@@ -371,5 +373,383 @@ namespace FineUIPro.Web.HSSE.ActionPlan
             }
             return name;
         }
+        #region 导出详细
+        /// <summary>
+        /// 
+        /// </summary>
+        /// <param name="sender"></param>btnPrinter_Click
+        /// <param name="e"></param>
+        protected void btnPrinter_Click(object sender, EventArgs e)
+        {
+            if (Grid1.SelectedRowIndexArray.Length == 0)
+            {
+                Alert.ShowInTop("请至少选择一条记录！", MessageBoxIcon.Warning);
+                return;
+            }
+
+            string Id = Grid1.SelectedRowID;
+            Model.ActionPlan_ActionPlanList actionPlanList = BLL.ActionPlanListService.GetActionPlanListById(Id);
+            if (actionPlanList.States != BLL.Const.ActionPlanList_Complete)
+            {
+                Alert.ShowInTop("状态必须为审批完成的才能导出！", MessageBoxIcon.Warning);
+                return;
+            }
+            if (actionPlanList != null)
+            {
+                try
+                {
+                    string rootPath = Server.MapPath("~/");
+                    string initTemplatePath = string.Empty;
+                    string uploadfilepath = string.Empty;
+                    string newUrl = string.Empty;
+                    string filePath = string.Empty;
+                    initTemplatePath = "File\\Word\\ZHGL\\项目安全生产策划书评审表.doc";
+                    uploadfilepath = rootPath + initTemplatePath;
+                    string projectName = BLL.ProjectService.GetProjectNameByProjectId(actionPlanList.ProjectId);
+                    if (!string.IsNullOrEmpty(projectName))
+                    {
+                        projectName = "(" + projectName + ")";
+                    }
+                    newUrl = uploadfilepath.Replace(".doc", projectName + ".doc");
+                    if (File.Exists(newUrl))
+                    {
+                        File.Delete(newUrl);
+                    }
+                    File.Copy(uploadfilepath, newUrl);
+                    ///更新书签
+                    Document doc = new Aspose.Words.Document(newUrl);
+                    Aspose.Words.DocumentBuilder builder = new Aspose.Words.DocumentBuilder(doc);
+                    builder.MoveToBookmark("tab");
+                    builder.StartTable();
+                    builder.CellFormat.Borders.LineStyle = LineStyle.Single;
+                    builder.CellFormat.Borders.Color = System.Drawing.Color.Black;
+                    builder.Bold = false;
+                    builder.RowFormat.Height = 20;
+                    builder.Font.Size = 9;
+                    #region 工程名称和项目部编制人员
+                    //工程名称和项目部编制人员
+                    builder.InsertCell();
+                    builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                    builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                    builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                    builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                    builder.CellFormat.Width = 100;
+                    builder.Font.Bold = true;
+                    builder.Write("工程名称");
+                    using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
+                    {
+                        builder.InsertCell();
+                        builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                        builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                        builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                        builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                        builder.CellFormat.Width = 130;
+                        builder.Font.Bold = false;
+                        var project = ProjectService.GetProjectByProjectId(actionPlanList.ProjectId);
+                        var ActionPlan_ActionPlanListApproveList = db.ActionPlan_ActionPlanListApprove.Where(x => x.ActionPlanListId == Id && x.ApproveType == "2").ToList();
+                        if (project != null)
+                        {
+                            if (project.ProjectName.Length > 20 && ActionPlan_ActionPlanListApproveList.Count != 0)
+                            {
+                                builder.Write(project.ProjectName.Substring(0, 20) + "\n" +
+                                    project.ProjectName.Substring(20));
+                            }
+                            else
+                            {
+                                builder.Write(project.ProjectName);
+                            }
+
+                        }
+                        builder.EndRow();
+                        builder.InsertCell();
+                        builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                        builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                        builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                        builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                        builder.CellFormat.Width = 100;
+                        builder.Font.Bold = true;
+                        builder.Write("项目部编制人员");
+
+                        builder.InsertCell();
+                        builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                        builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                        builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                        builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                        builder.CellFormat.Width = 130;
+                        builder.Font.Bold = false;
+                        builder.Write(BLL.Person_PersonsService.GetPersonsNameById(actionPlanList.CompileMan));
+                        builder.EndRow();
+                        #endregion
+
+
+
+                        if (ActionPlan_ActionPlanListApproveList.Count > 0)
+                        {
+                            #region 项目部审核人
+                            for (int i = 0; i < ActionPlan_ActionPlanListApproveList.Count; i++)
+                            {
+                                //一行两个
+                                builder.InsertCell();
+                                builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                                builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                                builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                                builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                                builder.CellFormat.Width = 100;
+                                builder.Font.Bold = true;
+                                builder.Write("项目部审核人");
+
+                                builder.InsertCell();
+                                builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                                builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                                builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                                builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                                string manname = man(ActionPlan_ActionPlanListApproveList[i].ApproveMan);
+                                //判断是不是最后一个
+                                if (ActionPlan_ActionPlanListApproveList.Count == i + 1)
+                                {
+                                    builder.CellFormat.Width = 40;
+                                    builder.Font.Bold = false;
+                                    builder.Write(manname);
+
+                                    builder.InsertCell();
+                                    builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                                    builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                                    builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                                    builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                                    builder.CellFormat.Width = 90;
+                                    builder.Write("");
+                                }
+                                else
+                                {
+                                    builder.CellFormat.Width = 40;
+                                    builder.Font.Bold = false;
+                                    builder.Write(manname);
+                                }
+
+
+                                //判断还有没有数据 有的话继续加
+                                if (ActionPlan_ActionPlanListApproveList.Count > i + 1)
+                                {
+                                    builder.InsertCell();
+                                    builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                                    builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                                    builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                                    builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                                    builder.CellFormat.Width = 70;
+                                    builder.Font.Bold = true;
+                                    builder.Write("项目部审核人");
+
+                                    builder.InsertCell();
+                                    builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                                    builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                                    builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                                    builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                                    builder.CellFormat.Width = 20;
+                                    string manname2 = man(ActionPlan_ActionPlanListApproveList[i + 1].ApproveMan);
+                                    builder.Font.Bold = false;
+                                    builder.Write(manname2);
+                                    builder.EndRow();
+                                    i += 1;
+                                }
+                                else
+                                {
+                                    //没有数据
+                                    builder.EndRow();
+                                }
+                            }
+                            #endregion
+                        }
+                        else
+                        {
+
+                        }
+                        var ActionPlan_ActionPlanListApproveList2 = db.ActionPlan_ActionPlanListApprove.Where(x => x.ActionPlanListId == Id && x.ApproveType == "6").ToList();
+                        if (ActionPlan_ActionPlanListApproveList2.Count > 0)
+                        {
+                            #region 主要评审部门
+                            //主要评审部门
+                            builder.InsertCell();
+                            builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                            builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                            builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                            builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                            builder.CellFormat.Width = 230;
+                            builder.Font.Bold = true;
+                            builder.Write("主要评审部门");
+                            builder.EndRow();
+                            #region 主要评审部门
+                            builder.InsertCell();
+                            builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                            builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                            builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                            builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                            builder.CellFormat.Width = 80;
+                            builder.Font.Bold = true;
+                            builder.Write("评审部门");
+
+                            builder.InsertCell();
+                            builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                            builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                            builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                            builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                            builder.CellFormat.Width = 80;
+                            builder.Font.Bold = true;
+                            builder.Write("评审意见");
+
+                            builder.InsertCell();
+                            builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                            builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                            builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                            builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                            builder.CellFormat.Width = 70;
+                            builder.Font.Bold = true;
+                            builder.Write("评审部门负责人/日期");
+                            builder.EndRow();
+                            #endregion
+                            foreach (var item in ActionPlan_ActionPlanListApproveList2)
+                            {
+                                //部门名称
+                                builder.InsertCell();
+                                builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                                builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                                builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                                builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                                builder.CellFormat.Width = 80;
+                                var departModel = db.Base_Depart.FirstOrDefault(x => x.DepartId == item.DepartId);
+                                builder.Font.Bold = false;
+                                if (departModel != null)
+                                {
+                                    builder.Write(departModel.DepartName);
+                                }
+                                //评审意见
+                                builder.InsertCell();
+                                builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                                builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                                builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                                builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                                builder.CellFormat.Width = 80;
+                                builder.Font.Bold = false;
+                                if (!string.IsNullOrEmpty(item.ApproveIdea))
+                                {
+                                    builder.Write(item.ApproveIdea);
+                                }
+                                else
+                                {
+                                    builder.Write("无");
+                                }
+
+
+                                //评审日期
+                                builder.InsertCell();
+                                builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                                builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                                builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                                builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                                builder.CellFormat.Width = 70;
+                                builder.Font.Bold = false;
+                                if (item.ApproveDate != null)
+                                {
+                                    builder.Write(item.ApproveDate.ToString().Split(' ')[0]);
+                                }
+                                else
+                                {
+                                    builder.Write("");
+                                }
+                                builder.EndRow();
+                            }
+                            #endregion
+                        }
+                        #region 最后2行审核
+                        //增加审核
+                        builder.InsertCell();
+                        builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                        builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                        builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                        builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                        builder.CellFormat.Width = 100;
+                        builder.Font.Bold = true;
+                        builder.Write("审核");
+                        //公司安全总监/部门负责人
+                        builder.InsertCell();
+                        builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                        builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                        builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Bottom;//底部对齐
+                        builder.ParagraphFormat.Alignment = ParagraphAlignment.Left;//水平居中对齐
+                        builder.CellFormat.Width = 130;
+                        builder.Font.Bold = true;
+                        builder.RowFormat.Height = 40;
+                        builder.Write("公司安全总监/部门负责人:");
+                        builder.Write("                            年");
+                        builder.Write("  月");
+                        builder.Write("  日");
+                        builder.EndRow();
+
+                        builder.InsertCell();
+                        builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                        builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                        builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                        builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                        builder.CellFormat.Width = 100;
+                        builder.Font.Bold = true;
+                        builder.Write("审核");
+                        //公司安全总监/部门负责人
+                        builder.InsertCell();
+                        builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                        builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                        builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Bottom;//底部对齐
+                        builder.ParagraphFormat.Alignment = ParagraphAlignment.Left;//水平居中对齐
+                        builder.CellFormat.Width = 130;
+                        builder.Font.Bold = true;
+                        builder.RowFormat.Height = 40;
+                        builder.Write("公司主管生产/安全领导:");
+                        builder.Write("                              年");
+                        builder.Write("  月");
+                        builder.Write("  日");
+                        builder.EndRow();
+
+                        builder.Font.Bold = false;
+                        builder.ParagraphFormat.Alignment = ParagraphAlignment.Left;//水平居中对齐
+                        builder.Write("(公司主要评审部门指:安全质量监督部、运营管理部、施工管理部、工艺设计部、财务资产部、采购部、控制部等)");
+                        #endregion
+                    }
+
+                    doc.Save(newUrl);
+                    string fileName = Path.GetFileName(newUrl);
+                    FileInfo info = new FileInfo(newUrl);
+                    long fileSize = info.Length;
+                    Response.Clear();
+                    Response.ContentType = "application/x-zip-compressed";
+                    Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
+                    Response.AddHeader("Content-Length", fileSize.ToString());
+                    Response.TransmitFile(newUrl, 0, fileSize);
+                    Response.Flush();
+                    Response.Close();
+                    File.Delete(newUrl);
+                }
+                catch (Exception ex)
+                {
+
+                    throw ex;
+                }
+            }
+            else
+            {
+                Alert.ShowInTop("未查询到数据，请检查网络！", MessageBoxIcon.Warning);
+                return;
+            }
+
+
+        }
+
+        private string man(string manName)
+        {
+            string appman = string.Empty;
+            if (Person_PersonsService.GetPerson_PersonsById(manName.ToString()) != null)
+            {
+                appman = Person_PersonsService.GetPerson_PersonsById(manName.ToString()).PersonName;
+            }
+            return appman;
+        }
+        #endregion
     }
 }
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/HSSE/ActionPlan/ActionPlanList.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/ActionPlan/ActionPlanList.aspx.designer.cs
index fa2b1711..02d96eae 100644
--- a/SGGL/FineUIPro.Web/HSSE/ActionPlan/ActionPlanList.aspx.designer.cs
+++ b/SGGL/FineUIPro.Web/HSSE/ActionPlan/ActionPlanList.aspx.designer.cs
@@ -7,11 +7,13 @@
 // </自动生成>
 //------------------------------------------------------------------------------
 
-namespace FineUIPro.Web.HSSE.ActionPlan {
-    
-    
-    public partial class ActionPlanList {
-        
+namespace FineUIPro.Web.HSSE.ActionPlan
+{
+
+
+    public partial class ActionPlanList
+    {
+
         /// <summary>
         /// form1 控件。
         /// </summary>
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::System.Web.UI.HtmlControls.HtmlForm form1;
-        
+
         /// <summary>
         /// PageManager1 控件。
         /// </summary>
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.PageManager PageManager1;
-        
+
         /// <summary>
         /// Panel1 控件。
         /// </summary>
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.Panel Panel1;
-        
+
         /// <summary>
         /// Grid1 控件。
         /// </summary>
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.Grid Grid1;
-        
+
         /// <summary>
         /// Toolbar2 控件。
         /// </summary>
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.Toolbar Toolbar2;
-        
+
         /// <summary>
         /// txtActionPlanListCode 控件。
         /// </summary>
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.TextBox txtActionPlanListCode;
-        
+
         /// <summary>
         /// txtActionPlanListName 控件。
         /// </summary>
@@ -74,7 +76,7 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.TextBox txtActionPlanListName;
-        
+
         /// <summary>
         /// ToolbarFill1 控件。
         /// </summary>
@@ -83,7 +85,7 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.ToolbarFill ToolbarFill1;
-        
+
         /// <summary>
         /// btnQuery 控件。
         /// </summary>
@@ -92,7 +94,7 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.Button btnQuery;
-        
+
         /// <summary>
         /// btnNew 控件。
         /// </summary>
@@ -101,7 +103,7 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.Button btnNew;
-        
+
         /// <summary>
         /// btnOut 控件。
         /// </summary>
@@ -110,7 +112,7 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.Button btnOut;
-        
+
         /// <summary>
         /// lblNumber 控件。
         /// </summary>
@@ -119,7 +121,7 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::System.Web.UI.WebControls.Label lblNumber;
-        
+
         /// <summary>
         /// Label1 控件。
         /// </summary>
@@ -128,7 +130,7 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::System.Web.UI.WebControls.Label Label1;
-        
+
         /// <summary>
         /// Label2 控件。
         /// </summary>
@@ -137,7 +139,7 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::System.Web.UI.WebControls.Label Label2;
-        
+
         /// <summary>
         /// ToolbarSeparator1 控件。
         /// </summary>
@@ -146,7 +148,7 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
-        
+
         /// <summary>
         /// ToolbarText1 控件。
         /// </summary>
@@ -155,7 +157,7 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.ToolbarText ToolbarText1;
-        
+
         /// <summary>
         /// ddlPageSize 控件。
         /// </summary>
@@ -164,7 +166,7 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.DropDownList ddlPageSize;
-        
+
         /// <summary>
         /// Window1 控件。
         /// </summary>
@@ -173,7 +175,7 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.Window Window1;
-        
+
         /// <summary>
         /// WindowAtt 控件。
         /// </summary>
@@ -182,7 +184,7 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.Window WindowAtt;
-        
+
         /// <summary>
         /// Menu1 控件。
         /// </summary>
@@ -191,7 +193,7 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.Menu Menu1;
-        
+
         /// <summary>
         /// btnMenuEdit 控件。
         /// </summary>
@@ -200,7 +202,7 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.MenuButton btnMenuEdit;
-        
+
         /// <summary>
         /// btnMenuView 控件。
         /// </summary>
@@ -209,7 +211,16 @@ namespace FineUIPro.Web.HSSE.ActionPlan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.MenuButton btnMenuView;
-        
+
+        /// <summary>
+        /// btnPrinter 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::FineUIPro.MenuButton btnPrinter;
+
         /// <summary>
         /// btnMenuDelete 控件。
         /// </summary>
diff --git a/SGGL/FineUIPro.Web/ZHGL/Plan/ActionPlanList.aspx b/SGGL/FineUIPro.Web/ZHGL/Plan/ActionPlanList.aspx
index 0d0fe897..d94bfeb4 100644
--- a/SGGL/FineUIPro.Web/ZHGL/Plan/ActionPlanList.aspx
+++ b/SGGL/FineUIPro.Web/ZHGL/Plan/ActionPlanList.aspx
@@ -118,6 +118,9 @@
             <f:MenuButton ID="btnMenuView" EnablePostBack="true" runat="server" Text="查看" Icon="ApplicationViewIcons"
                     OnClick="btnMenuView_Click">
                 </f:MenuButton>
+            <f:MenuButton ID="btnPrinter" EnablePostBack="true" runat="server"
+                Text="导出" Icon="Printer" OnClick="btnPrinter_Click" EnableAjax="false" DisableControlBeforePostBack="false">
+            </f:MenuButton>
             <f:MenuButton ID="btnMenuDelete" OnClick="btnMenuDelete_Click" EnablePostBack="true"
                 Hidden="true" Icon="Delete" ConfirmText="删除选中行？" ConfirmTarget="Parent" runat="server"
                 Text="删除">
diff --git a/SGGL/FineUIPro.Web/ZHGL/Plan/ActionPlanList.aspx.cs b/SGGL/FineUIPro.Web/ZHGL/Plan/ActionPlanList.aspx.cs
index 901d3a5a..6604eaab 100644
--- a/SGGL/FineUIPro.Web/ZHGL/Plan/ActionPlanList.aspx.cs
+++ b/SGGL/FineUIPro.Web/ZHGL/Plan/ActionPlanList.aspx.cs
@@ -1,8 +1,11 @@
-﻿using BLL;
+﻿using Aspose.Words;
+using Aspose.Words.Tables;
+using BLL;
 using System;
 using System.Collections.Generic;
 using System.Data;
 using System.Data.SqlClient;
+using System.IO;
 using System.Linq;
 
 namespace FineUIPro.Web.ZHGL.Plan
@@ -351,5 +354,388 @@ namespace FineUIPro.Web.ZHGL.Plan
             }
             return name;
         }
+
+        #region 导出详细
+        /// <summary>
+        /// 
+        /// </summary>
+        /// <param name="sender"></param>btnPrinter_Click
+        /// <param name="e"></param>
+        protected void btnPrinter_Click(object sender, EventArgs e)
+        {
+            if (Grid1.SelectedRowIndexArray.Length == 0)
+            {
+                Alert.ShowInTop("请至少选择一条记录！", MessageBoxIcon.Warning);
+                return;
+            }
+            
+            string Id = Grid1.SelectedRowID;
+            Model.ActionPlan_ActionPlanList actionPlanList = BLL.ActionPlanListService.GetActionPlanListById(Id);
+            if (actionPlanList.States!=BLL.Const.ActionPlanList_Complete)
+            {
+                Alert.ShowInTop("状态必须为审批完成的才能导出！", MessageBoxIcon.Warning);
+                return;
+            }
+            if (actionPlanList != null)
+            {
+                try
+                {
+                    string rootPath = Server.MapPath("~/");
+                    string initTemplatePath = string.Empty;
+                    string uploadfilepath = string.Empty;
+                    string newUrl = string.Empty;
+                    string filePath = string.Empty;
+                    initTemplatePath = "File\\Word\\ZHGL\\项目安全生产策划书评审表.doc";
+                    uploadfilepath = rootPath + initTemplatePath;
+                    string projectName = BLL.ProjectService.GetProjectNameByProjectId(actionPlanList.ProjectId);
+                    if (!string.IsNullOrEmpty(projectName))
+                    {
+                        projectName = "(" + projectName + ")";
+                    }
+                    else
+                    {
+                        projectName = "(无项目)";
+                    }
+                    newUrl = uploadfilepath.Replace(".doc", projectName + ".doc");
+                    if (File.Exists(newUrl))
+                    {
+                        File.Delete(newUrl);
+                    }
+                    File.Copy(uploadfilepath, newUrl);
+                    ///更新书签
+                    Document doc = new Aspose.Words.Document(newUrl);
+                    Aspose.Words.DocumentBuilder builder = new Aspose.Words.DocumentBuilder(doc);
+                    builder.MoveToBookmark("tab");
+                    builder.StartTable();
+                    builder.CellFormat.Borders.LineStyle = LineStyle.Single;
+                    builder.CellFormat.Borders.Color = System.Drawing.Color.Black;
+                    builder.Bold = false;
+                    builder.RowFormat.Height = 20;
+                    builder.Font.Size = 9;
+                    #region 工程名称和项目部编制人员
+                    //工程名称和项目部编制人员
+                    builder.InsertCell();
+                    builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                    builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                    builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                    builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                    builder.CellFormat.Width = 100;
+                    builder.Font.Bold = true;
+                    builder.Write("工程名称");
+                    using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
+                    {
+                        builder.InsertCell();
+                        builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                        builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                        builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                        builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                        builder.CellFormat.Width = 130;
+                        builder.Font.Bold = false;
+                        var project = ProjectService.GetProjectByProjectId(actionPlanList.ProjectId);
+                        var ActionPlan_ActionPlanListApproveList = db.ActionPlan_ActionPlanListApprove.Where(x => x.ActionPlanListId == Id && x.ApproveType == "2").ToList();
+                        if (project != null)
+                        {
+                            if (project.ProjectName.Length > 20 && ActionPlan_ActionPlanListApproveList.Count != 0)
+                            {
+                                builder.Write(project.ProjectName.Substring(0, 20) + "\n" +
+                                    project.ProjectName.Substring(20));
+                            }
+                            else
+                            {
+                                builder.Write(project.ProjectName);
+                            }
+
+                        }
+                        builder.EndRow();
+                        builder.InsertCell();
+                        builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                        builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                        builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                        builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                        builder.CellFormat.Width = 100;
+                        builder.Font.Bold = true;
+                        builder.Write("项目部编制人员");
+
+                        builder.InsertCell();
+                        builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                        builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                        builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                        builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                        builder.CellFormat.Width = 130;
+                        builder.Font.Bold = false;
+                        builder.Write(BLL.Person_PersonsService.GetPersonsNameById(actionPlanList.CompileMan));
+                        builder.EndRow();
+                        #endregion
+
+
+
+                        if (ActionPlan_ActionPlanListApproveList.Count > 0)
+                        {
+                            #region 项目部审核人
+                            for (int i = 0; i < ActionPlan_ActionPlanListApproveList.Count; i++)
+                            {
+                                //一行两个
+                                builder.InsertCell();
+                                builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                                builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                                builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                                builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                                builder.CellFormat.Width = 100;
+                                builder.Font.Bold = true;
+                                builder.Write("项目部审核人");
+
+                                builder.InsertCell();
+                                builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                                builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                                builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                                builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                                string manname = man(ActionPlan_ActionPlanListApproveList[i].ApproveMan);
+                                //判断是不是最后一个
+                                if (ActionPlan_ActionPlanListApproveList.Count == i + 1)
+                                {
+                                    builder.CellFormat.Width = 40;
+                                    builder.Font.Bold = false;
+                                    builder.Write(manname);
+
+                                    builder.InsertCell();
+                                    builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                                    builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                                    builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                                    builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                                    builder.CellFormat.Width = 90;
+                                    builder.Write("");
+                                }
+                                else
+                                {
+                                    builder.CellFormat.Width = 40;
+                                    builder.Font.Bold = false;
+                                    builder.Write(manname);
+                                }
+
+
+                                //判断还有没有数据 有的话继续加
+                                if (ActionPlan_ActionPlanListApproveList.Count > i + 1)
+                                {
+                                    builder.InsertCell();
+                                    builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                                    builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                                    builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                                    builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                                    builder.CellFormat.Width = 70;
+                                    builder.Font.Bold = true;
+                                    builder.Write("项目部审核人");
+
+                                    builder.InsertCell();
+                                    builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                                    builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                                    builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                                    builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                                    builder.CellFormat.Width = 20;
+                                    string manname2 = man(ActionPlan_ActionPlanListApproveList[i + 1].ApproveMan);
+                                    builder.Font.Bold = false;
+                                    builder.Write(manname2);
+                                    builder.EndRow();
+                                    i += 1;
+                                }
+                                else
+                                {
+                                    //没有数据
+                                    builder.EndRow();
+                                }
+                            }
+                            #endregion
+                        }
+                        else
+                        {
+
+                        }
+                        var ActionPlan_ActionPlanListApproveList2 = db.ActionPlan_ActionPlanListApprove.Where(x => x.ActionPlanListId == Id && x.ApproveType == "6").ToList();
+                        if (ActionPlan_ActionPlanListApproveList2.Count > 0)
+                        {
+                            #region 主要评审部门
+                            //主要评审部门
+                            builder.InsertCell();
+                            builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                            builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                            builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                            builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                            builder.CellFormat.Width = 230;
+                            builder.Font.Bold = true;
+                            builder.Write("主要评审部门");
+                            builder.EndRow();
+                            #region 主要评审部门
+                            builder.InsertCell();
+                            builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                            builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                            builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                            builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                            builder.CellFormat.Width = 80;
+                            builder.Font.Bold = true;
+                            builder.Write("评审部门");
+
+                            builder.InsertCell();
+                            builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                            builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                            builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                            builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                            builder.CellFormat.Width = 80;
+                            builder.Font.Bold = true;
+                            builder.Write("评审意见");
+
+                            builder.InsertCell();
+                            builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                            builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                            builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                            builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                            builder.CellFormat.Width = 70;
+                            builder.Font.Bold = true;
+                            builder.Write("评审部门负责人/日期");
+                            builder.EndRow();
+                            #endregion
+                            foreach (var item in ActionPlan_ActionPlanListApproveList2)
+                            {
+                                //部门名称
+                                builder.InsertCell();
+                                builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                                builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                                builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                                builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                                builder.CellFormat.Width = 80;
+                                var departModel = db.Base_Depart.FirstOrDefault(x => x.DepartId == item.DepartId);
+                                builder.Font.Bold = false;
+                                if (departModel != null)
+                                {
+                                    builder.Write(departModel.DepartName);
+                                }
+                                //评审意见
+                                builder.InsertCell();
+                                builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                                builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                                builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                                builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                                builder.CellFormat.Width = 80;
+                                builder.Font.Bold = false;
+                                if (!string.IsNullOrEmpty(item.ApproveIdea))
+                                {
+                                    builder.Write(item.ApproveIdea);
+                                }
+                                else
+                                {
+                                    builder.Write("无");
+                                }
+
+
+                                //评审日期
+                                builder.InsertCell();
+                                builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                                builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                                builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                                builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                                builder.CellFormat.Width = 70;
+                                builder.Font.Bold = false;
+                                if (item.ApproveDate != null)
+                                {
+                                    builder.Write(item.ApproveDate.ToString().Split(' ')[0]);
+                                }
+                                else
+                                {
+                                    builder.Write("");
+                                }
+                                builder.EndRow();
+                            }
+                            #endregion
+                        }
+                        #region 最后2行审核
+                        //增加审核
+                        builder.InsertCell();
+                        builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                        builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                        builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                        builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                        builder.CellFormat.Width = 100;
+                        builder.Font.Bold = true;
+                        builder.Write("审核");
+                        //公司安全总监/部门负责人
+                        builder.InsertCell();
+                        builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                        builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                        builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Bottom;//底部对齐
+                        builder.ParagraphFormat.Alignment = ParagraphAlignment.Left;//水平居中对齐
+                        builder.CellFormat.Width = 130;
+                        builder.Font.Bold = true;
+                        builder.RowFormat.Height = 40;
+                        builder.Write("公司安全总监/部门负责人:");
+                        builder.Write("                            年");
+                        builder.Write("  月");
+                        builder.Write("  日");
+                        builder.EndRow();
+
+                        builder.InsertCell();
+                        builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                        builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                        builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;//垂直居中对齐
+                        builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;//水平居中对齐
+                        builder.CellFormat.Width = 100;
+                        builder.Font.Bold = true;
+                        builder.Write("审核");
+                        //公司安全总监/部门负责人
+                        builder.InsertCell();
+                        builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
+                        builder.CellFormat.HorizontalMerge = Aspose.Words.Tables.CellMerge.First;
+                        builder.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Bottom;//底部对齐
+                        builder.ParagraphFormat.Alignment = ParagraphAlignment.Left;//水平居中对齐
+                        builder.CellFormat.Width = 130;
+                        builder.Font.Bold = true;
+                        builder.RowFormat.Height = 40;
+                        builder.Write("公司主管生产/安全领导:");
+                        builder.Write("                              年");
+                        builder.Write("  月");
+                        builder.Write("  日");
+                        builder.EndRow();
+
+                        builder.Font.Bold = false;
+                        builder.ParagraphFormat.Alignment = ParagraphAlignment.Left;//水平居中对齐
+                        builder.Write("(公司主要评审部门指:安全质量监督部、运营管理部、施工管理部、工艺设计部、财务资产部、采购部、控制部等)");
+                        #endregion
+                    }
+
+                    doc.Save(newUrl);
+                    string fileName = Path.GetFileName(newUrl);
+                    FileInfo info = new FileInfo(newUrl);
+                    long fileSize = info.Length;
+                    Response.Clear();
+                    Response.ContentType = "application/x-zip-compressed";
+                    Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
+                    Response.AddHeader("Content-Length", fileSize.ToString());
+                    Response.TransmitFile(newUrl, 0, fileSize);
+                    Response.Flush();
+                    Response.Close();
+                    File.Delete(newUrl);
+                }
+                catch (Exception ex)
+                {
+
+                    throw ex;
+                }
+            }
+            else
+            {
+                Alert.ShowInTop("未查询到数据，请检查网络！", MessageBoxIcon.Warning);
+                return;
+            }
+
+
+        }
+
+        private string man(string manName)
+        {
+            string appman = string.Empty;
+            if (Person_PersonsService.GetPerson_PersonsById(manName.ToString()) != null)
+            {
+                appman = Person_PersonsService.GetPerson_PersonsById(manName.ToString()).PersonName;
+            }
+            return appman;
+        }
+        #endregion
     }
 }
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/ZHGL/Plan/ActionPlanList.aspx.designer.cs b/SGGL/FineUIPro.Web/ZHGL/Plan/ActionPlanList.aspx.designer.cs
index ed3f688a..bba52f7f 100644
--- a/SGGL/FineUIPro.Web/ZHGL/Plan/ActionPlanList.aspx.designer.cs
+++ b/SGGL/FineUIPro.Web/ZHGL/Plan/ActionPlanList.aspx.designer.cs
@@ -7,11 +7,13 @@
 // </自动生成>
 //------------------------------------------------------------------------------
 
-namespace FineUIPro.Web.ZHGL.Plan {
-    
-    
-    public partial class ActionPlanList {
-        
+namespace FineUIPro.Web.ZHGL.Plan
+{
+
+
+    public partial class ActionPlanList
+    {
+
         /// <summary>
         /// form1 控件。
         /// </summary>
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::System.Web.UI.HtmlControls.HtmlForm form1;
-        
+
         /// <summary>
         /// PageManager1 控件。
         /// </summary>
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.PageManager PageManager1;
-        
+
         /// <summary>
         /// Panel1 控件。
         /// </summary>
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.Panel Panel1;
-        
+
         /// <summary>
         /// Grid1 控件。
         /// </summary>
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.Grid Grid1;
-        
+
         /// <summary>
         /// Toolbar2 控件。
         /// </summary>
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.Toolbar Toolbar2;
-        
+
         /// <summary>
         /// drpProject 控件。
         /// </summary>
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.DropDownList drpProject;
-        
+
         /// <summary>
         /// txtActionPlanListCode 控件。
         /// </summary>
@@ -74,7 +76,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.TextBox txtActionPlanListCode;
-        
+
         /// <summary>
         /// txtActionPlanListName 控件。
         /// </summary>
@@ -83,7 +85,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.TextBox txtActionPlanListName;
-        
+
         /// <summary>
         /// ToolbarFill1 控件。
         /// </summary>
@@ -92,7 +94,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.ToolbarFill ToolbarFill1;
-        
+
         /// <summary>
         /// btnQuery 控件。
         /// </summary>
@@ -101,7 +103,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.Button btnQuery;
-        
+
         /// <summary>
         /// btnNew 控件。
         /// </summary>
@@ -110,7 +112,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.Button btnNew;
-        
+
         /// <summary>
         /// btnOut 控件。
         /// </summary>
@@ -119,7 +121,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.Button btnOut;
-        
+
         /// <summary>
         /// lblNumber 控件。
         /// </summary>
@@ -128,7 +130,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::System.Web.UI.WebControls.Label lblNumber;
-        
+
         /// <summary>
         /// Label1 控件。
         /// </summary>
@@ -137,7 +139,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::System.Web.UI.WebControls.Label Label1;
-        
+
         /// <summary>
         /// Label2 控件。
         /// </summary>
@@ -146,7 +148,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::System.Web.UI.WebControls.Label Label2;
-        
+
         /// <summary>
         /// ToolbarSeparator1 控件。
         /// </summary>
@@ -155,7 +157,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
-        
+
         /// <summary>
         /// ToolbarText1 控件。
         /// </summary>
@@ -164,7 +166,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.ToolbarText ToolbarText1;
-        
+
         /// <summary>
         /// ddlPageSize 控件。
         /// </summary>
@@ -173,7 +175,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.DropDownList ddlPageSize;
-        
+
         /// <summary>
         /// Window1 控件。
         /// </summary>
@@ -182,7 +184,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.Window Window1;
-        
+
         /// <summary>
         /// WindowAtt 控件。
         /// </summary>
@@ -191,7 +193,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.Window WindowAtt;
-        
+
         /// <summary>
         /// Menu1 控件。
         /// </summary>
@@ -200,7 +202,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.Menu Menu1;
-        
+
         /// <summary>
         /// btnMenuEdit 控件。
         /// </summary>
@@ -209,7 +211,7 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.MenuButton btnMenuEdit;
-        
+
         /// <summary>
         /// btnMenuView 控件。
         /// </summary>
@@ -218,7 +220,16 @@ namespace FineUIPro.Web.ZHGL.Plan {
         /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
         /// </remarks>
         protected global::FineUIPro.MenuButton btnMenuView;
-        
+
+        /// <summary>
+        /// btnPrinter 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改，请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::FineUIPro.MenuButton btnPrinter;
+
         /// <summary>
         /// btnMenuDelete 控件。
         /// </summary>
