From 58bf6f96d87416df088403fb8669e44d732ed552 Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Mon, 17 Jul 2023 14:59:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=9E=E6=96=BD=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/FineUIPro.Web/HSSE/ActionPlan/ActionPlanList.aspx.cs | 6 +----- SGGL/FineUIPro.Web/ZHGL/Plan/ActionPlanList.aspx.cs | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/SGGL/FineUIPro.Web/HSSE/ActionPlan/ActionPlanList.aspx.cs b/SGGL/FineUIPro.Web/HSSE/ActionPlan/ActionPlanList.aspx.cs index 2db54921..8532c378 100644 --- a/SGGL/FineUIPro.Web/HSSE/ActionPlan/ActionPlanList.aspx.cs +++ b/SGGL/FineUIPro.Web/HSSE/ActionPlan/ActionPlanList.aspx.cs @@ -617,12 +617,8 @@ namespace FineUIPro.Web.HSSE.ActionPlan 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.Write("施工管理部"); //评审意见 builder.InsertCell(); builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None; diff --git a/SGGL/FineUIPro.Web/ZHGL/Plan/ActionPlanList.aspx.cs b/SGGL/FineUIPro.Web/ZHGL/Plan/ActionPlanList.aspx.cs index e9fde409..fb666eea 100644 --- a/SGGL/FineUIPro.Web/ZHGL/Plan/ActionPlanList.aspx.cs +++ b/SGGL/FineUIPro.Web/ZHGL/Plan/ActionPlanList.aspx.cs @@ -603,12 +603,8 @@ namespace FineUIPro.Web.ZHGL.Plan 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.Write("施工管理部"); //评审意见 builder.InsertCell(); builder.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;