校正人工时及统计修改

This commit is contained in:
2023-09-04 16:20:02 +08:00
parent a9148f6d78
commit 02e9796323
7 changed files with 243 additions and 71 deletions
@@ -18,7 +18,7 @@
ClicksToEdit="2" DataIDField="InspectionSummaryId" AllowSorting="true" SortField="SortId"
SortDirection="DESC" EnableColumnLines="true"
AllowPaging="true" IsDatabasePaging="true" PageSize="10" IsFluid="true"
EnableRowDoubleClickEvent="true">
EnableRowDoubleClickEvent="true" AllowColumnLocking="true">
<Toolbars>
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Left">
<Items>
@@ -49,14 +49,14 @@
</Toolbars>
<Columns>
<f:RenderField Width="100px" ColumnID="SNumber" DataField="SNumber" SortField="SNumber"
FieldType="String" HeaderText="序号" TextAlign="Left" HeaderTextAlign="Center" ID="SNumber" ShowToolTip="true">
FieldType="String" HeaderText="序号" TextAlign="Left" HeaderTextAlign="Center" ID="SNumber" ShowToolTip="true" Locked="true">
</f:RenderField>
<f:RenderField Width="150px" ColumnID="ModuleName" DataField="ModuleName"
FieldType="String" HeaderText="模块" TextAlign="Left" HeaderTextAlign="Center">
FieldType="String" HeaderText="模块" TextAlign="Left" HeaderTextAlign="Center" Locked="true">
</f:RenderField>
<f:GroupField Width="200px" HeaderText="功能菜单" TextAlign="Center" >
<f:GroupField Width="200px" HeaderText="功能菜单" TextAlign="Center" Locked="true">
<Columns>
<f:BoundField Width="100px" ColumnID="MenuP" DataField="MenuP" HeaderText="菜单" />
<f:BoundField Width="100px" DataField="MenuC" ColumnID="MenuC" HeaderText="说明" />
@@ -443,7 +443,14 @@ namespace FineUIPro.Web.ZHGL.InspectionSummary
model.CompileDateMonth = this.drpCompileDateMonth.Text.Trim();
model.InspectionSummaryId = Guid.NewGuid().ToString();
model.InspectionSummaryMbId = "10";
model.SummeryResult = listWbs.Where(x => x.ProjectId == pid).ToList().Count.ToString();
var WbsCount = listWbs.Where(x => x.ProjectId == pid).ToList().Count;
if (WbsCount > 0)
{
model.SummeryResult = "已裁剪";
}
else {
model.SummeryResult = "未裁剪";
}
allList.Add(model);
//综合管理