20240426 修改开车月报告

This commit is contained in:
毕文静 2024-04-26 10:08:30 +08:00
parent 2601965679
commit 0e2487e6fa
15 changed files with 4698 additions and 111 deletions

View File

@ -0,0 +1,5 @@
alter table TestRun_MonthReport add StartDate DateTime
alter table TestRun_MonthReport add EndDate DateTime
alter table TestRun_MonthReport add SortId nvarchar(50)
go

View File

@ -70,6 +70,9 @@ namespace BLL
NextMonthDrivingCost = monthReport.NextMonthDrivingCost,
ProblemsMeasures = monthReport.ProblemsMeasures,
SolvedProblems = monthReport.SolvedProblems,
SortId = monthReport.SortId,
StartDate = monthReport.StartDate,
EndDate = monthReport.EndDate
};
Funs.DB.TestRun_MonthReport.InsertOnSubmit(newMonthReport);
Funs.DB.SubmitChanges();
@ -106,6 +109,9 @@ namespace BLL
newMonthReport.NextMonthDrivingCost = monthReport.NextMonthDrivingCost;
newMonthReport.ProblemsMeasures = monthReport.ProblemsMeasures;
newMonthReport.SolvedProblems = monthReport.SolvedProblems;
newMonthReport.SortId = monthReport.SortId;
newMonthReport.StartDate = monthReport.StartDate;
newMonthReport.EndDate = monthReport.EndDate;
Funs.DB.SubmitChanges();
}
}

View File

@ -1,104 +0,0 @@
错误信息开始=====>
错误类型:ArgumentException
错误信息:提供的 URI 方案“http”无效应为“https”。
参数名: via
错误堆栈:
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
在 System.ServiceModel.ClientBase`1.get_Channel()
在 BLL.CNCECHSSEService.HSSEServiceClient.GetSupervise_SubUnitReportListToSUB() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14204
在 BLL.CNCECHSSEWebService.getSupervise_SubUnitReport() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2181
出错时间:04/25/2024 11:23:49
出错时间:04/25/2024 11:23:50
错误信息开始=====>
错误类型:ArgumentException
错误信息:提供的 URI 方案“http”无效应为“https”。
参数名: via
错误堆栈:
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
在 System.ServiceModel.ClientBase`1.get_Channel()
在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckInfo_Table8ItemListToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14228
在 BLL.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2046
出错时间:04/25/2024 11:23:50
出错时间:04/25/2024 11:23:50
错误信息开始=====>
错误类型:ArgumentException
错误信息:提供的 URI 方案“http”无效应为“https”。
参数名: via
错误堆栈:
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
在 System.ServiceModel.ClientBase`1.get_Channel()
在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckRectifyListToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14220
在 BLL.CNCECHSSEWebService.getCheck_CheckRectify() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1942
出错时间:04/25/2024 11:23:50
出错时间:04/25/2024 11:23:50
错误信息开始=====>
错误类型:ArgumentException
错误信息:提供的 URI 方案“http”无效应为“https”。
参数名: via
错误堆栈:
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
在 System.ServiceModel.ClientBase`1.get_Channel()
在 BLL.CNCECHSSEService.HSSEServiceClient.GetInformation_UrgeReportToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14020
在 BLL.CNCECHSSEWebService.getInformation_UrgeReport() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1884
出错时间:04/25/2024 11:23:50
出错时间:04/25/2024 11:23:50

View File

@ -1791,6 +1791,8 @@
<Content Include="TestRun\DriverReport\LinkedTestRunReportEdit.aspx" />
<Content Include="TestRun\DriverReport\MonthReport.aspx" />
<Content Include="TestRun\DriverReport\MonthReportEdit.aspx" />
<Content Include="TestRun\DriverReport\MonthReportNewEdit.aspx" />
<Content Include="TestRun\DriverReport\MonthReportNewView.aspx" />
<Content Include="TestRun\DriverReport\MonthReportPush.aspx" />
<Content Include="TestRun\DriverReport\MonthReportPushView.aspx" />
<Content Include="TestRun\DriverReport\MonthReportView.aspx" />
@ -16185,6 +16187,20 @@
<Compile Include="TestRun\DriverReport\MonthReportEdit.aspx.designer.cs">
<DependentUpon>MonthReportEdit.aspx</DependentUpon>
</Compile>
<Compile Include="TestRun\DriverReport\MonthReportNewEdit.aspx.cs">
<DependentUpon>MonthReportNewEdit.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="TestRun\DriverReport\MonthReportNewEdit.aspx.designer.cs">
<DependentUpon>MonthReportNewEdit.aspx</DependentUpon>
</Compile>
<Compile Include="TestRun\DriverReport\MonthReportNewView.aspx.cs">
<DependentUpon>MonthReportNewView.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="TestRun\DriverReport\MonthReportNewView.aspx.designer.cs">
<DependentUpon>MonthReportNewView.aspx</DependentUpon>
</Compile>
<Compile Include="TestRun\DriverReport\MonthReportPush.aspx.cs">
<DependentUpon>MonthReportPush.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>

View File

@ -37,12 +37,21 @@
<asp:Label ID="lblPageIndex" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:RenderField ColumnID="MonthReportCode" DataField="MonthReportCode"
<%--<f:RenderField ColumnID="MonthReportCode" DataField="MonthReportCode"
FieldType="String" HeaderText="编号" HeaderTextAlign="Center" Width="220px">
</f:RenderField>
<f:RenderField ColumnID="MonthReportDate" DataField="MonthReportDate"
FieldType="String" HeaderText="报告期" HeaderTextAlign="Center" Width="280px">
</f:RenderField>
</f:RenderField> --%>
<f:RenderField Width="180px" ColumnID="SortId" DataField="SortId"
FieldType="String" HeaderText="周期" TextAlign="Center" HeaderTextAlign="Center" >
</f:RenderField>
<f:TemplateField ColumnID="ReportId" Width="220px" HeaderText="时间段" HeaderTextAlign="Center" TextAlign="Center"
EnableLock="true" Locked="False">
<ItemTemplate>
<asp:Label ID="Label41" runat="server" Text='<%# ConvertDate(Eval("MonthReportId")) %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:LinkButtonField HeaderText="推送" ConfirmTarget="Top" Width="80px" CommandName="Push" ColumnID="Push"
TextAlign="Center" ToolTip="推送提醒" Icon="CartPut" />
<f:LinkButtonField HeaderText="查看推送内容" ConfirmTarget="Top" Width="120px" CommandName="SeePush" ColumnID="SeePush"

View File

@ -16,7 +16,7 @@ namespace FineUIPro.Web.TestRun.DriverReport
{
GetButtonPower();
BindGrid();
btnNew.OnClientClick = Window1.GetShowReference("MonthReportEdit.aspx") + "return false;";
btnNew.OnClientClick = Window1.GetShowReference("MonthReportNewEdit.aspx") + "return false;";
}
}
#endregion
@ -29,7 +29,10 @@ namespace FineUIPro.Web.TestRun.DriverReport
report.ProjectId,
report.MonthReportCode,
(CONVERT(varchar(10),DATEADD(DAY,1,DATEADD(MONTH,-1,report.MonthReportDate)),120)+'至'+CONVERT(varchar(10),report.MonthReportDate,120)) as MonthReportDate,
RIGHT(att.AttachUrl,CHARINDEX('_',REVERSE(att.AttachUrl))-1) AS AttachUrl"
RIGHT(att.AttachUrl,CHARINDEX('_',REVERSE(att.AttachUrl))-1) AS AttachUrl,
report.SortId,
report.StartDate,
report.endDate"
+ @" FROM TestRun_MonthReport AS report "
+ @" LEFT JOIN AttachFile AS att ON att.ToKeyId=report.MonthReportId "
+ @" WHERE report.ProjectId=@projectId ";
@ -131,7 +134,7 @@ namespace FineUIPro.Web.TestRun.DriverReport
Alert.ShowInTop("请至少选择一条记录", MessageBoxIcon.Warning);
return;
}
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("MonthReportEdit.aspx?id={0}", Grid1.SelectedRowID, "编辑 - ")));
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("MonthReportNewEdit.aspx?id={0}", Grid1.SelectedRowID, "编辑 - ")));
}
#endregion
@ -240,8 +243,27 @@ namespace FineUIPro.Web.TestRun.DriverReport
Alert.ShowInTop("请至少选择一条记录", MessageBoxIcon.Warning);
return;
}
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("MonthReportView.aspx?id={0}", Grid1.SelectedRowID, "编辑 - ")));
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("MonthReportNewView.aspx?id={0}", Grid1.SelectedRowID, "编辑 - ")));
}
#endregion
/// <summary>
/// 格式化字符串
/// </summary>
/// <param name="reportId"></param>
/// <returns></returns>
protected static string ConvertDate(object reportId)
{
string date = string.Empty;
if (reportId != null)
{
var r = BLL.TestRun_MonthReportService.GetMonthReportById(reportId.ToString());
if (r != null)
{
date = string.Format("{0:yyyy-MM-dd}", r.StartDate) + " 至 " + string.Format("{0:yyyy-MM-dd}", r.EndDate);
}
}
return date;
}
}
}

View File

@ -93,6 +93,15 @@ namespace FineUIPro.Web.TestRun.DriverReport {
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblPageIndex;
/// <summary>
/// Label41 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label Label41;
/// <summary>
/// ToolbarSeparator1 控件。
/// </summary>

View File

@ -374,6 +374,6 @@ namespace FineUIPro.Web.TestRun.DriverReport
ShowNotify("删除数据成功!", MessageBoxIcon.Success);
}
}
#endregion
#endregion
}
}

View File

@ -0,0 +1,831 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MonthReportNewEdit.aspx.cs" Inherits="FineUIPro.Web.TestRun.DriverReport.MonthReportNewEdit" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>编辑开车月报告</title>
<base target="_self" />
<script type="text/javascript" src="../../res/index/js/jquery-3.4.1.min.js"></script>
<script src="../../Controls/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<style>
.Toolbar2 {
position: absolute;
z-index: 999999;
right: 0;
width: 83px;
top: -43px;
background-color: rgba(0, 0, 0, 0);
}
.f-grid-row-summary .f-grid-cell-inner {
font-weight: bold;
color: red;
}
.photo {
height: 300px;
line-height: 300px;
overflow: hidden;
}
.photo img {
height: 300px;
vertical-align: middle;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" runat="server" />
<f:ContentPanel ID="ContentPanel1" IsFluid="true" CssClass="blockpanel" runat="server" BodyPadding="10px"
ShowBorder="true" ShowHeader="false" Title="内容面板">
<table id="Table1" runat="server" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
<td style="width: 100%; background: url('../Images/bg-1.gif')">
<table id="tabbtn" runat="server" width="100%" style="background: url('../Images/bg-1.gif')"
cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="middle" style="width: 50%; font-size: 12pt; font-weight: bold">
<asp:Image ImageUrl="~/Images/lv-1.gif" ImageAlign="AbsMiddle" ID="image15" runat="server" />
&nbsp;编辑开车月报告
</td>
<td align="right" valign="middle" style="width: 50%; height: 30px;">
<f:Button ID="Button2" Icon="SystemSave" runat="server" ToolTip="保存" Text="保存" OnClick="btnSave_Click">
</f:Button>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table id="Table5" runat="server" width="100%" border="1" cellpadding="0" cellspacing="0"
bordercolor="#bcd2e7" bordercolordark="#bcd2e7" bordercolorlight="#bcd2e7">
<tr>
<td align="center" style="width: 24%;" rowspan="2">
<img alt="" src="../../Images/Logo.jpg" />
</td>
<td align="center" style="width: 46%; height: 30px; vertical-align: middle; font-size: 12pt;">
<asp:Label ID="lblProjectName" runat="server"></asp:Label>
</td>
<td align="left" style="width: 30%; vertical-align: bottom;" onkeypress="keypress()"
rowspan="2">
<asp:Label ID="Label1" runat="server" Text="第("></asp:Label>
<asp:TextBox ID="txtPeriod" runat="server" Width="30px" CssClass="textboxStyleNone"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtPeriod"
Display="Dynamic" ErrorMessage="&quot;周期不能为空!&quot;" ForeColor="Red" ValidationGroup="Save">*</asp:RequiredFieldValidator>
<asp:Label ID="Label2" runat="server" Text=")期"></asp:Label>
<br />
<br />
</td>
</tr>
<tr>
<td align="center" style="width: 46%; height: 50px; vertical-align: middle; font-size: 20pt; font-weight: bold">
<asp:Label ID="lblTital" runat="server" Text="开 车 月 报 告"></asp:Label>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table id="Table2" runat="server" width="100%" cellpadding="0" cellspacing="0" border="1"
bordercolor="#bcd2e7" bordercolordark="#bcd2e7" bordercolorlight="#bcd2e7">
<tr style="height: 32px">
<td align="right" style="width: 10%">时间段&nbsp;
</td>
<td align="left" style="width: 90%">
<f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" ID="txtStartDate" AutoPostBack="true" OnTextChanged="TextBox_TextChanged" CssStyle=" margin-top: 10px;"
LabelAlign="right">
</f:DatePicker>
<f:Label ID="Label3" runat="server" Text="至">
</f:Label>
<f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" ID="txtEndDate" AutoPostBack="true" OnTextChanged="TextBox_TextChanged"
LabelAlign="right">
</f:DatePicker>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%--1.项目概况--%>
<f:Panel ID="Panel5" IsFluid="true" Title="1.项目概况" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Panel ID="Panel6" IsFluid="true" Title="1.1 项目名称、项目简称、用户名称、项目号" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form6" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtProjectOverview" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel1" IsFluid="true" Title="1.2 项目基本情况" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form2" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtProjectBaseInfo" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel2" IsFluid="true" Title="1.3 工程装置" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form3" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtEngineeringPlant" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel3" IsFluid="true" Title="1.4 项目合同" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form4" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtProjectContract" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
</Items>
</f:Panel>
<%--2.本月开车进展情况--%>
<f:Panel ID="Panel4" IsFluid="true" Title="2.本月开车进展情况" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Panel ID="Panel7" IsFluid="true" Title="2.1 本月开车达到的主要控制点或里程碑点" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form5" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtMilestone" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel8" IsFluid="true" Title="2.2 本月完成的开车主要活动/工作" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form7" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtCompleteWork" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel13" IsFluid="true" Title="2.3 上月存在问题的解决情况以及进展" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form8" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtProblemSituation" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
</Items>
</f:Panel>
<%--3.开车绩效测量--%>
<f:Panel ID="Panel9" IsFluid="true" Title="3.开车绩效测量" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Panel ID="Panel10" IsFluid="true" Title="3.1 工作包完成情况统计" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form9" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="3.1 工作包完成情况统计" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="MonthReportItemId" AllowCellEditing="true" ClicksToEdit="1" DataIDField="MonthReportItemId"
EnableTextSelection="True" OnRowCommand="Grid1_RowCommand">
<Toolbars>
<f:Toolbar ID="ToolSearch" Position="Top" runat="server" ToolbarAlign="Left">
<Items>
<f:ToolbarFill runat="server"></f:ToolbarFill>
<f:Button ID="btnNew" Icon="Add" runat="server" ToolTip="新增" ValidateForms="SimpleForm1"
OnClick="btnNew_Click">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
<Columns>
<f:RenderField ColumnID="SortIndex" DataField="SortIndex"
FieldType="String" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Right" Width="90px">
<Editor>
<f:TextBox ID="txtSortIndex" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField ColumnID="WorkPackageType" DataField="WorkPackageType"
FieldType="String" HeaderText="类型" HeaderTextAlign="Center" Width="200px">
<Editor>
<f:TextBox ID="txtWorkPackageType" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField ColumnID="Unit" DataField="Unit"
FieldType="String" HeaderText="单位" HeaderTextAlign="Center" TextAlign="Center" Width="100px">
<Editor>
<f:TextBox ID="txtUnit" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField ColumnID="DesignCount" DataField="DesignCount"
FieldType="String" HeaderText="设计数量" HeaderTextAlign="Center" TextAlign="Center" Width="100px">
<Editor>
<f:NumberBox ID="txtDesignCount" runat="server"></f:NumberBox>
</Editor>
</f:RenderField>
<f:GroupField ColumnID="GroupField1" HeaderText="本月" HeaderTextAlign="Center">
<Columns>
<f:RenderField ColumnID="MonthPlan" DataField="MonthPlan"
FieldType="String" HeaderText="计划完成" HeaderTextAlign="Center" Width="100px">
<Editor>
<f:NumberBox ID="txtMonthPlan" runat="server" NoDecimal="true" NoNegative="true"></f:NumberBox>
</Editor>
</f:RenderField>
<f:RenderField ColumnID="MonthActual" DataField="MonthActual"
FieldType="String" HeaderText="实际完成" HeaderTextAlign="Center" Width="100px">
<Editor>
<f:TextBox ID="txtMonthActual" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
</Columns>
</f:GroupField>
<f:GroupField ColumnID="GroupField2" HeaderText="累计" HeaderTextAlign="Center">
<Columns>
<f:RenderField ColumnID="TotalPlan" DataField="TotalPlan"
FieldType="String" HeaderText="计划完成" HeaderTextAlign="Center" Width="100px">
<Editor>
<f:NumberBox ID="txtTotalPlan" runat="server" NoDecimal="true" NoNegative="true"></f:NumberBox>
</Editor>
</f:RenderField>
<f:RenderField ColumnID="TatalActual" DataField="TatalActual"
FieldType="String" HeaderText="实际完成" HeaderTextAlign="Center" Width="100px">
<Editor>
<f:NumberBox ID="txtTatalActual" runat="server" NoDecimal="true" NoNegative="true"></f:NumberBox>
</Editor>
</f:RenderField>
</Columns>
</f:GroupField>
<f:RenderField ColumnID="CompletionRate" DataField="CompletionRate"
FieldType="String" HeaderText="总完成率" HeaderTextAlign="Center" Width="100px">
<Editor>
<f:TextBox ID="txtCompletionRate" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:LinkButtonField Width="40px" ConfirmText="删除选中行?" ConfirmTarget="Parent" CommandName="Delete"
ToolTip="删除" Icon="Delete" TextAlign="Center" />
</Columns>
</f:Grid>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel11" IsFluid="true" Title="3.2 开车绩效测量数据" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form10" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:Grid ID="Grid2" ShowBorder="true" ShowHeader="false" Title="3.2 开车绩效测量数据(本月)" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="MonthReportItem2Id" AllowCellEditing="true" ClicksToEdit="1" DataIDField="MonthReportItem2Id"
EnableTextSelection="True" SortField="SortIndex">
<Columns>
<f:GroupField ColumnID="GroupField1" HeaderText="本月" HeaderTextAlign="Center">
<Columns>
<f:RenderField ColumnID="TypeName" DataField="TypeName"
FieldType="String" HeaderText="" HeaderTextAlign="Center" Width="120px">
<Editor>
<f:TextBox ID="txtTypeName" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField ColumnID="PV" DataField="PV"
FieldType="String" HeaderText="PV" HeaderTextAlign="Center" Width="120px">
<Editor>
<f:TextBox ID="txtPV" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField ColumnID="EV" DataField="EV"
FieldType="String" HeaderText="EV" HeaderTextAlign="Center" Width="120px">
<Editor>
<f:TextBox ID="txtEV" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField ColumnID="AC" DataField="AC"
FieldType="String" HeaderText="AC" HeaderTextAlign="Center" Width="120px">
<Editor>
<f:TextBox ID="txtAC" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField ColumnID="CV" DataField="CV"
FieldType="String" HeaderText="AC" HeaderTextAlign="Center" Width="120px">
<Editor>
<f:TextBox ID="txtCV" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField ColumnID="SV" DataField="SV"
FieldType="String" HeaderText="SV" HeaderTextAlign="Center" Width="120px">
<Editor>
<f:TextBox ID="txtSV" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField ColumnID="CPI" DataField="CPI"
FieldType="String" HeaderText="CPI" HeaderTextAlign="Center" Width="120px">
<Editor>
<f:TextBox ID="txtCPI" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField ColumnID="SPI" DataField="SPI"
FieldType="String" HeaderText="SPI" HeaderTextAlign="Center" Width="120px">
<Editor>
<f:TextBox ID="txtSPI" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField ColumnID="SortIndex" DataField="SortIndex"
FieldType="String" HeaderText="SortIndex" HeaderTextAlign="Center" Width="120px" Hidden="true">
</f:RenderField>
</Columns>
</f:GroupField>
</Columns>
</f:Grid>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Grid ID="Grid3" ShowBorder="true" ShowHeader="false" Title="3.2 开车绩效测量数据(本月)" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="MonthReportItem2Id" AllowCellEditing="true" ClicksToEdit="1" DataIDField="MonthReportItem2Id"
EnableTextSelection="True" SortField="SortIndex">
<Columns>
<f:GroupField ColumnID="GroupField1" HeaderText="累计" HeaderTextAlign="Center">
<Columns>
<f:RenderField ColumnID="TypeName" DataField="TypeName"
FieldType="String" HeaderText="" HeaderTextAlign="Center" Width="120px">
<Editor>
<f:TextBox ID="txtTypeName2" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField ColumnID="PV" DataField="PV"
FieldType="String" HeaderText="PV" HeaderTextAlign="Center" Width="120px">
<Editor>
<f:TextBox ID="txtPV2" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField ColumnID="EV" DataField="EV"
FieldType="String" HeaderText="EV" HeaderTextAlign="Center" Width="120px">
<Editor>
<f:TextBox ID="txtEV2" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField ColumnID="AC" DataField="AC"
FieldType="String" HeaderText="AC" HeaderTextAlign="Center" Width="120px">
<Editor>
<f:TextBox ID="txtAC2" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField ColumnID="CV" DataField="CV"
FieldType="String" HeaderText="AC" HeaderTextAlign="Center" Width="120px">
<Editor>
<f:TextBox ID="txtCV2" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField ColumnID="SV" DataField="SV"
FieldType="String" HeaderText="SV" HeaderTextAlign="Center" Width="120px">
<Editor>
<f:TextBox ID="txtSV2" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField ColumnID="CPI" DataField="CPI"
FieldType="String" HeaderText="CPI" HeaderTextAlign="Center" Width="120px">
<Editor>
<f:TextBox ID="txtCPI2" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField ColumnID="SPI" DataField="SPI"
FieldType="String" HeaderText="SPI" HeaderTextAlign="Center" Width="120px">
<Editor>
<f:TextBox ID="txtSPI2" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
</Columns>
</f:GroupField>
</Columns>
</f:Grid>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label10" runat="server" Text="(根据赢得值原理,对开车进行进度、费用综合检测,给出上表中本月的和累计的开车绩效测量数据,这些数据的定义如下)"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label11" runat="server" Text="1计划值PV也称为计划工作预算成本BCWS"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label12" runat="server" Text="2实际成本AC(也称为已完成工作的实际成本ACWP)"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label13" runat="server" Text="3赢得值EV(也称为挣值或已完成工作的预算成本BCWP)"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label14" runat="server" Text="4成本偏差CV (CV=EV-AC)"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label15" runat="server" Text="5成本偏差率CVR (CVR=CV/Ev x 100%)"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label16" runat="server" Text="6进度偏差SV (SV=EV-PV)"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label17" runat="server" Text="7进度偏差率SVR (SVR=SV/PV x 100%)"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label18" runat="server" Text="8成本绩效指数CPI (CPI=EV/AC)"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label19" runat="server" Text="9进度绩效指数 SPI (SPI = EV/PV)"></f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel12" IsFluid="true" Title="3.3 开车费用预算值、实际值" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form11" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:GroupPanel ID="GroupPanel4" Layout="Anchor" Title="预算值" runat="server">
<Items>
<f:Form ID="Form12" runat="server" ShowHeader="false" ShowBorder="false">
<Rows>
<f:FormRow>
<Items>
<f:NumberBox ID="txtBudget" runat="server" Label="本月" LabelAlign="Right" NoNegative="true"></f:NumberBox>
<f:NumberBox ID="txtBudgetTotal" runat="server" Label="累计" LabelAlign="Right" NoNegative="true"></f:NumberBox>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:GroupPanel>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:GroupPanel ID="GroupPanel5" Layout="Anchor" Title="实际值" runat="server">
<Items>
<f:Form ID="Form13" runat="server" ShowHeader="false" ShowBorder="false">
<Rows>
<f:FormRow>
<Items>
<f:NumberBox ID="txtActualCost" runat="server" Label="本月" LabelAlign="Right" NoNegative="true"></f:NumberBox>
<f:NumberBox ID="txtActualCostTotal" runat="server" Label="累计" LabelAlign="Right" NoNegative="true"></f:NumberBox>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:GroupPanel>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
</Items>
</f:Panel>
<%--4.项目变更说明--%>
<f:Panel ID="Panel14" IsFluid="true" Title="4.项目变更说明" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Panel ID="Panel15" IsFluid="true" Title="4.1本月开车内部变更和外部变更发表情况" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form14" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtPublicationStatus" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel16" IsFluid="true" Title="4.2本月开车内部变更和外部变更实施情况" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form15" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtImplementationStatus" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
</Items>
</f:Panel>
<%-- 5.HSE管理情况--%>
<f:Panel ID="Panel17" IsFluid="true" Title="5.HSE管理情况" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form16" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtHSEManageSituation" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<%--6.下月开车计划要点--%>
<f:Panel ID="Panel18" IsFluid="true" Title="6.下月开车计划要点" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Panel ID="Panel19" IsFluid="true" Title="6.1下月开车应达到的主要控制点或里程碑点" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form17" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtNextMonthMilestone" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel20" IsFluid="true" Title="6.2 下月应完成的开车主要活动" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form18" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtNextMonthCompleteWork" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel21" IsFluid="true" Title="6.3 下月新的基准进度计划" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form19" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtNextMonthSchedule" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel22" IsFluid="true" Title="6.4 下月主要开车用款计划" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form20" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtNextMonthDrivingCost" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
</Items>
</f:Panel>
<%--7.存在的主要问题及改进措施--%>
<f:Panel ID="Panel23" IsFluid="true" Title="7.存在的主要问题及改进措施" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Panel ID="Panel24" IsFluid="true" Title="7.1 开车目前存在的主要问题及改进措施" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form21" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtProblemsMeasures" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel25" IsFluid="true" Title="7.2 需要项目经理、项目主管、相关部门以及用户解决的问题。" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form22" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtSolvedProblems" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
</Items>
</f:Panel>
<f:Panel ID="Panel26" IsFluid="true" Title="8.附件" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form23" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:Panel ID="Panel27" Width="300px" ShowHeader="false" ShowBorder="false" Layout="Column" CssClass="" runat="server">
<Items>
<f:Label ID="lblAttach" runat="server" Label="上传附件"
LabelWidth="150px" LabelAlign="Right">
</f:Label>
<f:Button ID="btnAttach" Icon="TableCell" EnablePostBack="true" Text="附件" runat="server" OnClick="btnAttach_Click">
</f:Button>
<f:Label ID="lbtnAttach" runat="server">
</f:Label>
</Items>
</f:Panel>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:HiddenField ID="hdCheckControlCode" runat="server"></f:HiddenField>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:Button ID="Button1" Icon="SystemSave" runat="server" ToolTip="保存" Text="保存" OnClick="btnSave_Click">
</f:Button>
<f:HiddenField ID="hdId" runat="server">
</f:HiddenField>
<f:HiddenField ID="hdAttachUrl" runat="server">
</f:HiddenField>
</Items>
</f:Toolbar>
</Toolbars>
</f:ContentPanel>
<asp:ValidationSummary ID="ValidationSummary1" Style="z-index: 101; position: absolute; top: 8px; right: 824px;"
runat="server" ValidationGroup="Save" HeaderText="请注意!"
ShowSummary="False" ShowMessageBox="True"></asp:ValidationSummary>
<input runat="server" type="hidden" id="hidReportId" />
</form>
<f:Window ID="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px" OnClose="WindowAtt_Close"
Height="500px">
</f:Window>
</body>
</html>
<script type="text/javascript">
// 返回false来阻止浏览器右键菜单
//function onRowContextMenu(event, rowId) {
// //F(menuID).show(); //showAt(event.pageX, event.pageY);
// return false;
//}
<%--function onGrid10DataLoad(event) {
this.mergeColumns(['CreateMan']);
}
var Window1ClientID = '<%= ContentPanel1.ClientID %>';
function refresh() {
// 第一个参数: 遮罩层的透明度
F(Window1ClientID).showLoading(0.8);
$('[id$="_Button5"]').click();
}
function rehiden() {
F(Window1ClientID).hideLoading();
}--%>
</script>

View File

@ -0,0 +1,430 @@
using BLL;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FineUIPro.Web.TestRun.DriverReport
{
public partial class MonthReportNewEdit : PageBase
{
#region
/// <summary>
/// 工作包完成情况统计
/// </summary>
public static List<Model.TestRun_MonthReportItem> monthReportItems = new List<Model.TestRun_MonthReportItem>();
/// <summary>
/// 开车绩效测量数据
/// </summary>
public static List<Model.TestRun_MonthReportItem2> monthReportItems2 = new List<Model.TestRun_MonthReportItem2>();
#endregion
#region
/// <summary>
/// 页面加载
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.lblProjectName.Text = BLL.ProjectService.GetProjectByProjectId(this.CurrUser.LoginProjectId).ProjectName;
string id = Request.Params["id"];
if (!string.IsNullOrEmpty(id))
{
Model.TestRun_MonthReport data = BLL.TestRun_MonthReportService.GetMonthReportById(id);
if (data != null)
{
this.hdId.Text = id;
if (data.SortId != null)
{
this.txtPeriod.Text = Convert.ToString(data.SortId);
}
if (data.StartDate != null)
{
this.txtStartDate.Text = string.Format("{0:yyyy-MM-dd}", data.StartDate);
}
if (data.EndDate != null)
{
this.txtEndDate.Text = string.Format("{0:yyyy-MM-dd}", data.EndDate);
}
//this.txtPeriod.Text = data.MonthReportCode;
//this.txtStartDate.Text = data.MonthReportDate.HasValue ? string.Format("{0:yyyy-MM-dd}", data.MonthReportDate) : "";
this.txtProjectOverview.Text = data.ProjectOverview;
this.txtProjectBaseInfo.Text = data.ProjectBaseInfo;
this.txtEngineeringPlant.Text = data.EngineeringPlant;
this.txtProjectContract.Text = data.ProjectContract;
this.txtMilestone.Text = data.Milestone;
this.txtCompleteWork.Text = data.CompleteWork;
this.txtProblemSituation.Text = data.ProblemSituation;
this.txtBudget.Text = data.Budget.HasValue ? data.Budget.ToString() : "";
this.txtBudgetTotal.Text = data.BudgetTotal.HasValue ? data.BudgetTotal.ToString() : "";
this.txtActualCost.Text = data.ActualCost.HasValue ? data.ActualCost.ToString() : "";
this.txtActualCostTotal.Text = data.ActualCostTotal.HasValue ? data.ActualCostTotal.ToString() : "";
this.txtPublicationStatus.Text = data.PublicationStatus;
this.txtImplementationStatus.Text = data.ImplementationStatus;
this.txtHSEManageSituation.Text = data.HSEManageSituation;
this.txtNextMonthMilestone.Text = data.NextMonthMilestone;
this.txtNextMonthCompleteWork.Text = data.NextMonthCompleteWork;
this.txtNextMonthSchedule.Text = data.NextMonthSchedule;
this.txtNextMonthDrivingCost.Text = data.NextMonthDrivingCost;
this.txtProblemsMeasures.Text = data.ProblemsMeasures;
this.txtSolvedProblems.Text = data.SolvedProblems;
}
var items = BLL.TestRun_MonthReportItemService.GetMonthReportItemByReportId(this.hdId.Text);
if (items.Count > 0)
{
this.Grid1.DataSource = items;
this.Grid1.DataBind();
}
var items2 = BLL.TestRun_MonthReportItem2Service.GetMonthReportItem2ByReportId(this.hdId.Text, "1");
if (items2.Count > 0)
{
this.Grid2.DataSource = items2;
this.Grid2.DataBind();
}
var items3 = BLL.TestRun_MonthReportItem2Service.GetMonthReportItem2ByReportId(this.hdId.Text, "2");
if (items3.Count > 0)
{
this.Grid3.DataSource = items3;
this.Grid3.DataBind();
}
WindowAtt_Close(null, null);
}
else
{
this.txtStartDate.Text = string.IsNullOrEmpty(Request.Params["startdate"]) ? string.Format("{0:yyyy-MM-dd}", DateTime.Now) : Request.Params["startdate"];
this.txtEndDate.Text = string.IsNullOrEmpty(Request.Params["enddate"]) ? string.Format("{0:yyyy-MM-dd}", Convert.ToDateTime(this.txtStartDate.Text).AddMonths(1).AddDays(-1)) : Request.Params["enddate"];
//新增月报时填充上一条月报的项目概况内容
var report = BLL.TestRun_MonthReportService.GetReportByMaxDate(this.CurrUser.LoginProjectId);
if (report != null)
{
this.txtProjectOverview.Text = report.ProjectOverview;
this.txtProjectBaseInfo.Text = report.ProjectBaseInfo;
this.txtEngineeringPlant.Text = report.EngineeringPlant;
this.txtProjectContract.Text = report.ProjectContract;
}
#region
monthReportItems2.Clear();
Model.TestRun_MonthReportItem2 newItem = new Model.TestRun_MonthReportItem2();
newItem.MonthReportItem2Id = SQLHelper.GetNewID(typeof(Model.TestRun_MonthReportItem2));
newItem.TypeName = "设计";
monthReportItems2.Add(newItem);
Model.TestRun_MonthReportItem2 newItem2 = new Model.TestRun_MonthReportItem2();
newItem2.MonthReportItem2Id = SQLHelper.GetNewID(typeof(Model.TestRun_MonthReportItem2));
newItem2.TypeName = "采购";
monthReportItems2.Add(newItem2);
Model.TestRun_MonthReportItem2 newItem3 = new Model.TestRun_MonthReportItem2();
newItem3.MonthReportItem2Id = SQLHelper.GetNewID(typeof(Model.TestRun_MonthReportItem2));
newItem3.TypeName = "施工";
monthReportItems2.Add(newItem3);
Model.TestRun_MonthReportItem2 newItem4 = new Model.TestRun_MonthReportItem2();
newItem4.MonthReportItem2Id = SQLHelper.GetNewID(typeof(Model.TestRun_MonthReportItem2));
newItem4.TypeName = "开车";
monthReportItems2.Add(newItem4);
Model.TestRun_MonthReportItem2 newItem5 = new Model.TestRun_MonthReportItem2();
newItem5.MonthReportItem2Id = SQLHelper.GetNewID(typeof(Model.TestRun_MonthReportItem2));
newItem5.TypeName = "项目";
monthReportItems2.Add(newItem5);
this.Grid2.DataSource = monthReportItems2;
this.Grid2.DataBind();
this.Grid3.DataSource = monthReportItems2;
this.Grid3.DataBind();
#endregion
}
int nextMonth = 1;
if (!string.IsNullOrEmpty(this.txtStartDate.Text))
{
nextMonth = Convert.ToDateTime(this.txtStartDate.Text).AddMonths(1).Month;
}
Panel18.Title = "下月开车计划要点(" + nextMonth + "月份)";
}
}
#endregion
#region
/// <summary>
/// 新增
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnNew_Click(object sender, EventArgs e)
{
jerqueSaveList();
Model.TestRun_MonthReportItem newItem = new Model.TestRun_MonthReportItem
{
MonthReportItemId = SQLHelper.GetNewID(typeof(Model.TestRun_MonthReportItem))
};
monthReportItems.Add(newItem);
this.Grid1.DataSource = monthReportItems;
this.Grid1.DataBind();
}
#endregion
#region
/// <summary>
/// 删除
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Grid1_RowCommand(object sender, GridCommandEventArgs e)
{
jerqueSaveList();
string rowID = this.Grid1.DataKeys[e.RowIndex][0].ToString();
if (e.CommandName == "Delete")
{
foreach (var item in monthReportItems)
{
if (item.MonthReportItemId == rowID)
{
monthReportItems.Remove(item);
break;
}
}
Grid1.DataSource = monthReportItems;
Grid1.DataBind();
ShowNotify("删除数据成功!", MessageBoxIcon.Success);
}
}
#endregion
#region
/// <summary>
/// 附件上传
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnAttach_Click(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(this.hdId.Text)) //新增记录
{
this.hdId.Text = SQLHelper.GetNewID(typeof(Model.TestRun_MonthReport));
}
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/TestRun/DriverReport/MonthReport&menuId={1}", this.hdId.Text, BLL.Const.MonthReportMenuId)));
}
protected void WindowAtt_Close(object sender, WindowCloseEventArgs e)
{
this.lbtnAttach.Text = string.Empty;
string url = string.Empty;
var attLists = BLL.AttachFileService.Getfiles(this.hdId.Text, BLL.Const.MonthReportMenuId);
if (attLists != null)
{
List<string> lists = Funs.GetStrListByStr(attLists.AttachUrl, ',');
if (lists.Count > 0)
{
foreach (var item in lists)
{
url += item.Substring(item.IndexOf('_') + 1) + "\r\n";
}
}
if (!string.IsNullOrEmpty(url))
{
this.lbtnAttach.Text = url;
}
}
}
#endregion
#region
/// <summary>
/// 保存按钮
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnSave_Click(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(this.txtPeriod.Text.Trim()))
{
ShowNotify("周期不能为空!", MessageBoxIcon.Warning);
return;
}
string id = Request.Params["id"];
Model.TestRun_MonthReport newData = new Model.TestRun_MonthReport();
//newData.MonthReportCode = this.txtPeriod.Text.Trim();
//newData.MonthReportDate = Funs.GetNewDateTime(this.txtStartDate.Text.Trim());
newData.SortId = this.txtPeriod.Text.Trim();
newData.StartDate = Funs.GetNewDateTime(this.txtStartDate.Text);
newData.EndDate = Funs.GetNewDateTime(this.txtEndDate.Text);
newData.ProjectId = this.CurrUser.LoginProjectId;
newData.ProjectOverview = this.txtProjectOverview.Text.Trim();
newData.ProjectBaseInfo = this.txtProjectBaseInfo.Text.Trim();
newData.EngineeringPlant = this.txtEngineeringPlant.Text.Trim();
newData.ProjectContract = this.txtProjectContract.Text.Trim();
newData.Milestone = this.txtMilestone.Text.Trim();
newData.CompleteWork = this.txtCompleteWork.Text.Trim();
newData.ProblemSituation = this.txtProblemSituation.Text.Trim();
newData.Budget = Funs.GetNewDecimal(this.txtBudget.Text.Trim());
newData.BudgetTotal = Funs.GetNewDecimal(this.txtBudgetTotal.Text.Trim());
newData.ActualCost = Funs.GetNewDecimal(this.txtActualCost.Text.Trim());
newData.ActualCostTotal = Funs.GetNewDecimal(this.txtActualCostTotal.Text.Trim());
newData.PublicationStatus = this.txtPublicationStatus.Text.Trim();
newData.ImplementationStatus = this.txtImplementationStatus.Text.Trim();
newData.HSEManageSituation = this.txtHSEManageSituation.Text.Trim();
newData.NextMonthMilestone = this.txtNextMonthMilestone.Text.Trim();
newData.NextMonthCompleteWork = this.txtNextMonthCompleteWork.Text.Trim();
newData.NextMonthSchedule = this.txtNextMonthSchedule.Text.Trim();
newData.NextMonthDrivingCost = this.txtNextMonthDrivingCost.Text.Trim();
newData.ProblemsMeasures = this.txtProblemsMeasures.Text.Trim();
newData.SolvedProblems = this.txtSolvedProblems.Text.Trim();
if (!string.IsNullOrEmpty(id))
{
newData.MonthReportId = id;
BLL.TestRun_MonthReportService.UpdateMonthReport(newData);
}
else
{
if (!string.IsNullOrEmpty(this.hdId.Text))
{
newData.MonthReportId = this.hdId.Text.Trim();
}
else
{
newData.MonthReportId = SQLHelper.GetNewID(typeof(Model.TestRun_MonthReport));
this.hdId.Text = newData.MonthReportId;
}
BLL.TestRun_MonthReportService.AddMonthReport(newData);
}
#region
BLL.TestRun_MonthReportItemService.DeleteMonthReportItemByMonthReportId(this.hdId.Text);
jerqueSaveList();
foreach (var item in monthReportItems)
{
item.MonthReportId = this.hdId.Text;
BLL.TestRun_MonthReportItemService.AddMonthReportItem(item);
}
#endregion
#region
BLL.TestRun_MonthReportItem2Service.DeleteMonthReportItem2ByReportId(this.hdId.Text);
jerqueSaveList2();
foreach (var item in monthReportItems2)
{
item.MonthReportId = this.hdId.Text;
BLL.TestRun_MonthReportItem2Service.AddMonthReportItem2(item);
}
#endregion
ShowNotify("保存成功!", MessageBoxIcon.Success);
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
}
/// <summary>
/// 保存工作包完成情况统计
/// </summary>
private void jerqueSaveList()
{
monthReportItems.Clear();
JArray mergedData = Grid1.GetMergedData();
foreach (JObject mergedRow in mergedData)
{
string status = mergedRow.Value<string>("status");
JObject values = mergedRow.Value<JObject>("values");
int i = mergedRow.Value<int>("index");
Model.TestRun_MonthReportItem item = new Model.TestRun_MonthReportItem
{
MonthReportItemId = this.Grid1.Rows[i].DataKeys[0].ToString(),
SortIndex = values.Value<string>("SortIndex").ToString(),
WorkPackageType = values.Value<string>("WorkPackageType").ToString(),
Unit = values.Value<string>("Unit").ToString(),
DesignCount = Funs.GetNewInt(values.Value<string>("DesignCount").ToString()),
MonthPlan = Funs.GetNewInt(values.Value<string>("MonthPlan").ToString()),
MonthActual = values.Value<string>("MonthActual").ToString(),
TotalPlan = Funs.GetNewInt(values.Value<string>("TotalPlan").ToString()),
TatalActual = Funs.GetNewInt(values.Value<string>("TatalActual").ToString()),
CompletionRate = values.Value<string>("CompletionRate").ToString(),
};
monthReportItems.Add(item);
}
}
/// <summary>
/// 保存开车绩效测量数据
/// </summary>
private void jerqueSaveList2()
{
monthReportItems2.Clear();
int index = 1;
JArray mergedData = Grid2.GetMergedData();
foreach (JObject mergedRow in mergedData)
{
string status = mergedRow.Value<string>("status");
JObject values = mergedRow.Value<JObject>("values");
int i = mergedRow.Value<int>("index");
Model.TestRun_MonthReportItem2 item = new Model.TestRun_MonthReportItem2
{
MonthReportItem2Id = SQLHelper.GetNewID(typeof(Model.TestRun_MonthReportItem2)),
ReportType = "1",
TypeName = values.Value<string>("TypeName").ToString(),
PV = values.Value<string>("PV").ToString(),
EV = values.Value<string>("EV").ToString(),
AC = values.Value<string>("AC").ToString(),
CV = values.Value<string>("CV").ToString(),
SV = values.Value<string>("SV").ToString(),
CPI = values.Value<string>("CPI").ToString(),
SPI = values.Value<string>("SPI").ToString(),
SortIndex = index++,
};
monthReportItems2.Add(item);
}
int index2 = 1;
JArray mergedData2 = Grid3.GetMergedData();
foreach (JObject mergedRow in mergedData2)
{
string status = mergedRow.Value<string>("status");
JObject values = mergedRow.Value<JObject>("values");
int i = mergedRow.Value<int>("index");
Model.TestRun_MonthReportItem2 item = new Model.TestRun_MonthReportItem2
{
MonthReportItem2Id = SQLHelper.GetNewID(typeof(Model.TestRun_MonthReportItem2)),
ReportType = "2",
TypeName = values.Value<string>("TypeName").ToString(),
PV = values.Value<string>("PV").ToString(),
EV = values.Value<string>("EV").ToString(),
AC = values.Value<string>("AC").ToString(),
CV = values.Value<string>("CV").ToString(),
SV = values.Value<string>("SV").ToString(),
CPI = values.Value<string>("CPI").ToString(),
SPI = values.Value<string>("SPI").ToString(),
SortIndex = index2++,
};
monthReportItems2.Add(item);
}
}
#endregion
#region
/// <summary>
/// 开始时间选择事件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void TextBox_TextChanged(object sender, EventArgs e)
{
if (!string.IsNullOrEmpty(this.txtStartDate.Text.Trim()) && !string.IsNullOrEmpty(this.txtEndDate.Text.Trim()))
{
if (Funs.GetNewDateTime(this.txtStartDate.Text.Trim()) > Funs.GetNewDateTime(this.txtEndDate.Text.Trim()))
{
Alert.ShowInTop("开始时间不能大于结束时间!", MessageBoxIcon.Warning);
return;
}
PageContext.RegisterStartupScript("refresh();");
}
}
#endregion
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,805 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MonthReportNewView.aspx.cs" Inherits="FineUIPro.Web.TestRun.DriverReport.MonthReportNewView" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>查看开车月报告</title>
<base target="_self" />
<script type="text/javascript" src="../../res/index/js/jquery-3.4.1.min.js"></script>
<script src="../../Controls/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<%-- <style>
.Toolbar2 {
position: absolute;
z-index: 999999;
right: 0;
width: 83px;
top: -43px;
background-color: rgba(0, 0, 0, 0);
}
.f-grid-row-summary .f-grid-cell-inner {
font-weight: bold;
color: red;
}
.photo {
height: 300px;
line-height: 300px;
overflow: hidden;
}
.photo img {
height: 300px;
vertical-align: middle;
}
</style>--%>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" runat="server" />
<f:ContentPanel ID="ContentPanel1" IsFluid="true" CssClass="blockpanel" runat="server" BodyPadding="10px"
ShowBorder="true" ShowHeader="false" Title="内容面板">
<table id="Table1" runat="server" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
<td style="width: 100%; background: url('../Images/bg-1.gif')">
<table id="tabbtn" runat="server" width="100%" style="background: url('../Images/bg-1.gif')"
cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="middle" style="width: 50%; font-size: 12pt; font-weight: bold">
<asp:Image ImageUrl="~/Images/lv-1.gif" ImageAlign="AbsMiddle" ID="image15" runat="server" />
&nbsp;查看开车月报告
</td>
<td align="right" valign="middle" style="width: 50%; height: 30px;">
<%--<f:Button ID="Button2" Icon="SystemSave" runat="server" ToolTip="保存" Text="保存" OnClick="btnSave_Click">
</f:Button>--%>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table id="Table5" runat="server" width="100%" border="1" cellpadding="0" cellspacing="0"
bordercolor="#bcd2e7" bordercolordark="#bcd2e7" bordercolorlight="#bcd2e7">
<tr>
<td align="center" style="width: 24%;" rowspan="2">
<img alt="" src="../../Images/Logo.jpg" />
</td>
<td align="center" style="width: 46%; height: 30px; vertical-align: middle; font-size: 12pt;">
<asp:Label ID="lblProjectName" runat="server"></asp:Label>
</td>
<td align="left" style="width: 30%; vertical-align: bottom;" onkeypress="keypress()"
rowspan="2">
<asp:Label ID="Label1" runat="server" Text="第("></asp:Label>
<asp:TextBox ID="txtPeriod" runat="server" Width="30px" CssClass="textboxStyleNone"></asp:TextBox>
<%--<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtPeriod"
Display="Dynamic" ErrorMessage="&quot;周期不能为空!&quot;" ForeColor="Red" ValidationGroup="Save">*</asp:RequiredFieldValidator>--%>
<asp:Label ID="Label2" runat="server" Text=")期"></asp:Label>
<br />
<br />
</td>
</tr>
<tr>
<td align="center" style="width: 46%; height: 50px; vertical-align: middle; font-size: 20pt; font-weight: bold">
<asp:Label ID="lblTital" runat="server" Text="开 车 月 报 告"></asp:Label>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table id="Table2" runat="server" width="100%" cellpadding="0" cellspacing="0" border="1"
bordercolor="#bcd2e7" bordercolordark="#bcd2e7" bordercolorlight="#bcd2e7">
<tr style="height: 32px">
<td align="right" style="width: 10%">时间段&nbsp;
</td>
<td align="left" style="width: 90%">
<f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" ID="txtStartDate" CssStyle="margin-top: 10px;"
LabelAlign="right">
</f:DatePicker>
<f:Label ID="Label3" runat="server" Text="至">
</f:Label>
<f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" ID="txtEndDate" LabelAlign="right">
</f:DatePicker>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%--1.项目概况--%>
<f:Panel ID="Panel5" IsFluid="true" Title="1.项目概况" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Panel ID="Panel6" IsFluid="true" Title="1.1 项目名称、项目简称、用户名称、项目号" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form6" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtProjectOverview" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel1" IsFluid="true" Title="1.2 项目基本情况" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form2" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtProjectBaseInfo" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel2" IsFluid="true" Title="1.3 工程装置" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form3" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtEngineeringPlant" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel3" IsFluid="true" Title="1.4 项目合同" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form4" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtProjectContract" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
</Items>
</f:Panel>
<%--2.本月开车进展情况--%>
<f:Panel ID="Panel4" IsFluid="true" Title="2.本月开车进展情况" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Panel ID="Panel7" IsFluid="true" Title="2.1 本月开车达到的主要控制点或里程碑点" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form5" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtMilestone" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel8" IsFluid="true" Title="2.2 本月完成的开车主要活动/工作" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form7" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtCompleteWork" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel13" IsFluid="true" Title="2.3 上月存在问题的解决情况以及进展" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form8" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtProblemSituation" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
</Items>
</f:Panel>
<%--3.开车绩效测量--%>
<f:Panel ID="Panel9" IsFluid="true" Title="3.开车绩效测量" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Panel ID="Panel10" IsFluid="true" Title="3.1 工作包完成情况统计" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form9" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="3.1 工作包完成情况统计" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="MonthReportItemId" AllowCellEditing="true" ClicksToEdit="1" DataIDField="MonthReportItemId"
EnableTextSelection="True">
<%--<Toolbars>
<f:Toolbar ID="ToolSearch" Position="Top" runat="server" ToolbarAlign="Left">
<Items>
<f:ToolbarFill runat="server"></f:ToolbarFill>
<f:Button ID="btnNew" Icon="Add" runat="server" ToolTip="新增" ValidateForms="SimpleForm1"
OnClick="btnNew_Click">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>--%>
<Columns>
<f:RenderField ColumnID="SortIndex" DataField="SortIndex"
FieldType="String" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Right" Width="90px">
<%--<Editor>
<f:TextBox ID="txtSortIndex" runat="server"></f:TextBox>
</Editor>--%>
</f:RenderField>
<f:RenderField ColumnID="WorkPackageType" DataField="WorkPackageType"
FieldType="String" HeaderText="类型" HeaderTextAlign="Center" Width="200px">
<%--<Editor>
<f:TextBox ID="txtWorkPackageType" runat="server"></f:TextBox>
</Editor>--%>
</f:RenderField>
<f:RenderField ColumnID="Unit" DataField="Unit"
FieldType="String" HeaderText="单位" HeaderTextAlign="Center" TextAlign="Center" Width="100px">
<%--<Editor>
<f:TextBox ID="txtUnit" runat="server"></f:TextBox>
</Editor>--%>
</f:RenderField>
<f:RenderField ColumnID="DesignCount" DataField="DesignCount"
FieldType="String" HeaderText="设计数量" HeaderTextAlign="Center" TextAlign="Center" Width="100px">
<%--<Editor>
<f:NumberBox ID="txtDesignCount" runat="server"></f:NumberBox>
</Editor>--%>
</f:RenderField>
<f:GroupField ColumnID="GroupField1" HeaderText="本月" HeaderTextAlign="Center">
<Columns>
<f:RenderField ColumnID="MonthPlan" DataField="MonthPlan"
FieldType="String" HeaderText="计划完成" HeaderTextAlign="Center" Width="100px">
<%--<Editor>
<f:NumberBox ID="txtMonthPlan" runat="server" NoDecimal="true" NoNegative="true"></f:NumberBox>
</Editor>--%>
</f:RenderField>
<f:RenderField ColumnID="MonthActual" DataField="MonthActual"
FieldType="String" HeaderText="实际完成" HeaderTextAlign="Center" Width="100px">
<%--<Editor>
<f:TextBox ID="txtMonthActual" runat="server"></f:TextBox>
</Editor>--%>
</f:RenderField>
</Columns>
</f:GroupField>
<f:GroupField ColumnID="GroupField2" HeaderText="累计" HeaderTextAlign="Center">
<Columns>
<f:RenderField ColumnID="TotalPlan" DataField="TotalPlan"
FieldType="String" HeaderText="计划完成" HeaderTextAlign="Center" Width="100px">
<%--<Editor>
<f:NumberBox ID="txtTotalPlan" runat="server" NoDecimal="true" NoNegative="true"></f:NumberBox>
</Editor>--%>
</f:RenderField>
<f:RenderField ColumnID="TatalActual" DataField="TatalActual"
FieldType="String" HeaderText="实际完成" HeaderTextAlign="Center" Width="100px">
<%--<Editor>
<f:NumberBox ID="txtTatalActual" runat="server" NoDecimal="true" NoNegative="true"></f:NumberBox>
</Editor>--%>
</f:RenderField>
</Columns>
</f:GroupField>
<f:RenderField ColumnID="CompletionRate" DataField="CompletionRate"
FieldType="String" HeaderText="总完成率" HeaderTextAlign="Center" Width="100px">
<%--<Editor>
<f:TextBox ID="txtCompletionRate" runat="server"></f:TextBox>
</Editor>--%>
</f:RenderField>
<%--<f:LinkButtonField Width="40px" ConfirmText="删除选中行?" ConfirmTarget="Parent" CommandName="Delete"
ToolTip="删除" Icon="Delete" TextAlign="Center" />--%>
</Columns>
</f:Grid>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel11" IsFluid="true" Title="3.2 开车绩效测量数据" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form10" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:Grid ID="Grid2" ShowBorder="true" ShowHeader="false" Title="3.2 开车绩效测量数据(本月)" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="MonthReportItem2Id" AllowCellEditing="true" ClicksToEdit="1" DataIDField="MonthReportItem2Id"
EnableTextSelection="True" SortField="SortIndex">
<Columns>
<f:GroupField ColumnID="GroupField1" HeaderText="本月" HeaderTextAlign="Center">
<Columns>
<f:RenderField ColumnID="TypeName" DataField="TypeName"
FieldType="String" HeaderText="" HeaderTextAlign="Center" Width="120px">
<%--<Editor>
<f:TextBox ID="txtTypeName" runat="server"></f:TextBox>
</Editor>--%>
</f:RenderField>
<f:RenderField ColumnID="PV" DataField="PV"
FieldType="String" HeaderText="PV" HeaderTextAlign="Center" Width="120px">
<%--<Editor>
<f:TextBox ID="txtPV" runat="server"></f:TextBox>
</Editor>--%>
</f:RenderField>
<f:RenderField ColumnID="EV" DataField="EV"
FieldType="String" HeaderText="EV" HeaderTextAlign="Center" Width="120px">
<%--<Editor>
<f:TextBox ID="txtEV" runat="server"></f:TextBox>
</Editor>--%>
</f:RenderField>
<f:RenderField ColumnID="AC" DataField="AC"
FieldType="String" HeaderText="AC" HeaderTextAlign="Center" Width="120px">
<%--<Editor>
<f:TextBox ID="txtAC" runat="server"></f:TextBox>
</Editor>--%>
</f:RenderField>
<f:RenderField ColumnID="CV" DataField="CV"
FieldType="String" HeaderText="AC" HeaderTextAlign="Center" Width="120px">
<%--<Editor>
<f:TextBox ID="txtCV" runat="server"></f:TextBox>
</Editor>--%>
</f:RenderField>
<f:RenderField ColumnID="SV" DataField="SV"
FieldType="String" HeaderText="SV" HeaderTextAlign="Center" Width="120px">
<%--<Editor>
<f:TextBox ID="txtSV" runat="server"></f:TextBox>
</Editor>--%>
</f:RenderField>
<f:RenderField ColumnID="CPI" DataField="CPI"
FieldType="String" HeaderText="CPI" HeaderTextAlign="Center" Width="120px">
<%--<Editor>
<f:TextBox ID="txtCPI" runat="server"></f:TextBox>
</Editor>--%>
</f:RenderField>
<f:RenderField ColumnID="SPI" DataField="SPI"
FieldType="String" HeaderText="SPI" HeaderTextAlign="Center" Width="120px">
<%--<Editor>
<f:TextBox ID="txtSPI" runat="server"></f:TextBox>
</Editor>--%>
</f:RenderField>
<f:RenderField ColumnID="SortIndex" DataField="SortIndex"
FieldType="String" HeaderText="SortIndex" HeaderTextAlign="Center" Width="120px" Hidden="true">
</f:RenderField>
</Columns>
</f:GroupField>
</Columns>
</f:Grid>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Grid ID="Grid3" ShowBorder="true" ShowHeader="false" Title="3.2 开车绩效测量数据(本月)" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="MonthReportItem2Id" AllowCellEditing="true" ClicksToEdit="1" DataIDField="MonthReportItem2Id"
EnableTextSelection="True" SortField="SortIndex">
<Columns>
<f:GroupField ColumnID="GroupField1" HeaderText="累计" HeaderTextAlign="Center">
<Columns>
<f:RenderField ColumnID="TypeName" DataField="TypeName"
FieldType="String" HeaderText="" HeaderTextAlign="Center" Width="120px">
<%--<Editor>
<f:TextBox ID="txtTypeName2" runat="server"></f:TextBox>
</Editor>--%>
</f:RenderField>
<f:RenderField ColumnID="PV" DataField="PV"
FieldType="String" HeaderText="PV" HeaderTextAlign="Center" Width="120px">
<%--<Editor>
<f:TextBox ID="txtPV2" runat="server"></f:TextBox>
</Editor>--%>
</f:RenderField>
<f:RenderField ColumnID="EV" DataField="EV"
FieldType="String" HeaderText="EV" HeaderTextAlign="Center" Width="120px">
<%--<Editor>
<f:TextBox ID="txtEV2" runat="server"></f:TextBox>
</Editor>--%>
</f:RenderField>
<f:RenderField ColumnID="AC" DataField="AC"
FieldType="String" HeaderText="AC" HeaderTextAlign="Center" Width="120px">
<%--<Editor>
<f:TextBox ID="txtAC2" runat="server"></f:TextBox>
</Editor>--%>
</f:RenderField>
<f:RenderField ColumnID="CV" DataField="CV"
FieldType="String" HeaderText="AC" HeaderTextAlign="Center" Width="120px">
<%--<Editor>
<f:TextBox ID="txtCV2" runat="server"></f:TextBox>
</Editor>--%>
</f:RenderField>
<f:RenderField ColumnID="SV" DataField="SV"
FieldType="String" HeaderText="SV" HeaderTextAlign="Center" Width="120px">
<%--<Editor>
<f:TextBox ID="txtSV2" runat="server"></f:TextBox>
</Editor>--%>
</f:RenderField>
<f:RenderField ColumnID="CPI" DataField="CPI"
FieldType="String" HeaderText="CPI" HeaderTextAlign="Center" Width="120px">
<%--<Editor>
<f:TextBox ID="txtCPI2" runat="server"></f:TextBox>
</Editor>--%>
</f:RenderField>
<f:RenderField ColumnID="SPI" DataField="SPI"
FieldType="String" HeaderText="SPI" HeaderTextAlign="Center" Width="120px">
<%--<Editor>
<f:TextBox ID="txtSPI2" runat="server"></f:TextBox>
</Editor>--%>
</f:RenderField>
</Columns>
</f:GroupField>
</Columns>
</f:Grid>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label10" runat="server" Text="(根据赢得值原理,对开车进行进度、费用综合检测,给出上表中本月的和累计的开车绩效测量数据,这些数据的定义如下)"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label11" runat="server" Text="1计划值PV也称为计划工作预算成本BCWS"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label12" runat="server" Text="2实际成本AC(也称为已完成工作的实际成本ACWP)"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label13" runat="server" Text="3赢得值EV(也称为挣值或已完成工作的预算成本BCWP)"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label14" runat="server" Text="4成本偏差CV (CV=EV-AC)"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label15" runat="server" Text="5成本偏差率CVR (CVR=CV/Ev x 100%)"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label16" runat="server" Text="6进度偏差SV (SV=EV-PV)"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label17" runat="server" Text="7进度偏差率SVR (SVR=SV/PV x 100%)"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label18" runat="server" Text="8成本绩效指数CPI (CPI=EV/AC)"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label19" runat="server" Text="9进度绩效指数 SPI (SPI = EV/PV)"></f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel12" IsFluid="true" Title="3.3 开车费用预算值、实际值" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form11" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:GroupPanel ID="GroupPanel4" Layout="Anchor" Title="预算值" runat="server">
<Items>
<f:Form ID="Form12" runat="server" ShowHeader="false" ShowBorder="false">
<Rows>
<f:FormRow>
<Items>
<f:NumberBox ID="txtBudget" runat="server" Label="本月" LabelAlign="Right" NoNegative="true"></f:NumberBox>
<f:NumberBox ID="txtBudgetTotal" runat="server" Label="累计" LabelAlign="Right" NoNegative="true"></f:NumberBox>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:GroupPanel>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:GroupPanel ID="GroupPanel5" Layout="Anchor" Title="实际值" runat="server">
<Items>
<f:Form ID="Form13" runat="server" ShowHeader="false" ShowBorder="false">
<Rows>
<f:FormRow>
<Items>
<f:NumberBox ID="txtActualCost" runat="server" Label="本月" LabelAlign="Right" NoNegative="true"></f:NumberBox>
<f:NumberBox ID="txtActualCostTotal" runat="server" Label="累计" LabelAlign="Right" NoNegative="true"></f:NumberBox>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:GroupPanel>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
</Items>
</f:Panel>
<%--4.项目变更说明--%>
<f:Panel ID="Panel14" IsFluid="true" Title="4.项目变更说明" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Panel ID="Panel15" IsFluid="true" Title="4.1本月开车内部变更和外部变更发表情况" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form14" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtPublicationStatus" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel16" IsFluid="true" Title="4.2本月开车内部变更和外部变更实施情况" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form15" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtImplementationStatus" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
</Items>
</f:Panel>
<%-- 5.HSE管理情况--%>
<f:Panel ID="Panel17" IsFluid="true" Title="5.HSE管理情况" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form16" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtHSEManageSituation" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<%--6.下月开车计划要点--%>
<f:Panel ID="Panel18" IsFluid="true" Title="6.下月开车计划要点" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Panel ID="Panel19" IsFluid="true" Title="6.1下月开车应达到的主要控制点或里程碑点" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form17" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtNextMonthMilestone" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel20" IsFluid="true" Title="6.2 下月应完成的开车主要活动" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form18" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtNextMonthCompleteWork" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel21" IsFluid="true" Title="6.3 下月新的基准进度计划" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form19" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtNextMonthSchedule" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel22" IsFluid="true" Title="6.4 下月主要开车用款计划" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form20" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtNextMonthDrivingCost" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
</Items>
</f:Panel>
<%--7.存在的主要问题及改进措施--%>
<f:Panel ID="Panel23" IsFluid="true" Title="7.存在的主要问题及改进措施" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Panel ID="Panel24" IsFluid="true" Title="7.1 开车目前存在的主要问题及改进措施" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form21" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtProblemsMeasures" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel25" IsFluid="true" Title="7.2 需要项目经理、项目主管、相关部门以及用户解决的问题。" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form22" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtSolvedProblems" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
</Items>
</f:Panel>
<f:Panel ID="Panel26" IsFluid="true" Title="8.附件" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form23" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:Panel ID="Panel27" Width="300px" ShowHeader="false" ShowBorder="false" Layout="Column" CssClass="" runat="server">
<Items>
<f:Label ID="lblAttach" runat="server" Label="上传附件"
LabelWidth="150px" LabelAlign="Right">
</f:Label>
<f:Button ID="btnAttach" Icon="TableCell" EnablePostBack="true" Text="附件" runat="server" OnClick="btnAttach_Click">
</f:Button>
<f:Label ID="lbtnAttach" runat="server">
</f:Label>
</Items>
</f:Panel>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:HiddenField ID="hdCheckControlCode" runat="server"></f:HiddenField>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<%--<f:Button ID="Button1" Icon="SystemSave" runat="server" ToolTip="保存" Text="保存" OnClick="btnSave_Click">
</f:Button>--%>
<f:HiddenField ID="hdId" runat="server">
</f:HiddenField>
<f:HiddenField ID="hdAttachUrl" runat="server">
</f:HiddenField>
</Items>
</f:Toolbar>
</Toolbars>
</f:ContentPanel>
<%-- <asp:ValidationSummary ID="ValidationSummary1" Style="z-index: 101; position: absolute; top: 8px; right: 824px;"
runat="server" ValidationGroup="Save" HeaderText="请注意!"
ShowSummary="False" ShowMessageBox="True"></asp:ValidationSummary>--%>
<input runat="server" type="hidden" id="hidReportId" />
</form>
<f:Window ID="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px" OnClose="WindowAtt_Close"
Height="500px">
</f:Window>
</body>
</html>

View File

@ -0,0 +1,197 @@
using BLL;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FineUIPro.Web.TestRun.DriverReport
{
public partial class MonthReportNewView : PageBase
{
#region
/// <summary>
/// 工作包完成情况统计
/// </summary>
public static List<Model.TestRun_MonthReportItem> monthReportItems = new List<Model.TestRun_MonthReportItem>();
/// <summary>
/// 开车绩效测量数据
/// </summary>
public static List<Model.TestRun_MonthReportItem2> monthReportItems2 = new List<Model.TestRun_MonthReportItem2>();
#endregion
#region
/// <summary>
/// 页面加载
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.lblProjectName.Text = BLL.ProjectService.GetProjectByProjectId(this.CurrUser.LoginProjectId).ProjectName;
string id = Request.Params["id"];
if (!string.IsNullOrEmpty(id))
{
Model.TestRun_MonthReport data = BLL.TestRun_MonthReportService.GetMonthReportById(id);
if (data != null)
{
this.hdId.Text = id;
if (data.SortId != null)
{
this.txtPeriod.Text = Convert.ToString(data.SortId);
}
if (data.StartDate != null)
{
this.txtStartDate.Text = string.Format("{0:yyyy-MM-dd}", data.StartDate);
}
if (data.EndDate != null)
{
this.txtEndDate.Text = string.Format("{0:yyyy-MM-dd}", data.EndDate);
}
//this.txtPeriod.Text = data.MonthReportCode;
//this.txtStartDate.Text = data.MonthReportDate.HasValue ? string.Format("{0:yyyy-MM-dd}", data.MonthReportDate) : "";
this.txtProjectOverview.Text = data.ProjectOverview;
this.txtProjectBaseInfo.Text = data.ProjectBaseInfo;
this.txtEngineeringPlant.Text = data.EngineeringPlant;
this.txtProjectContract.Text = data.ProjectContract;
this.txtMilestone.Text = data.Milestone;
this.txtCompleteWork.Text = data.CompleteWork;
this.txtProblemSituation.Text = data.ProblemSituation;
this.txtBudget.Text = data.Budget.HasValue ? data.Budget.ToString() : "";
this.txtBudgetTotal.Text = data.BudgetTotal.HasValue ? data.BudgetTotal.ToString() : "";
this.txtActualCost.Text = data.ActualCost.HasValue ? data.ActualCost.ToString() : "";
this.txtActualCostTotal.Text = data.ActualCostTotal.HasValue ? data.ActualCostTotal.ToString() : "";
this.txtPublicationStatus.Text = data.PublicationStatus;
this.txtImplementationStatus.Text = data.ImplementationStatus;
this.txtHSEManageSituation.Text = data.HSEManageSituation;
this.txtNextMonthMilestone.Text = data.NextMonthMilestone;
this.txtNextMonthCompleteWork.Text = data.NextMonthCompleteWork;
this.txtNextMonthSchedule.Text = data.NextMonthSchedule;
this.txtNextMonthDrivingCost.Text = data.NextMonthDrivingCost;
this.txtProblemsMeasures.Text = data.ProblemsMeasures;
this.txtSolvedProblems.Text = data.SolvedProblems;
}
var items = BLL.TestRun_MonthReportItemService.GetMonthReportItemByReportId(this.hdId.Text);
if (items.Count > 0)
{
this.Grid1.DataSource = items;
this.Grid1.DataBind();
}
var items2 = BLL.TestRun_MonthReportItem2Service.GetMonthReportItem2ByReportId(this.hdId.Text, "1");
if (items2.Count > 0)
{
this.Grid2.DataSource = items2;
this.Grid2.DataBind();
}
var items3 = BLL.TestRun_MonthReportItem2Service.GetMonthReportItem2ByReportId(this.hdId.Text, "2");
if (items3.Count > 0)
{
this.Grid3.DataSource = items3;
this.Grid3.DataBind();
}
WindowAtt_Close(null, null);
}
//else
//{
// this.txtStartDate.Text = string.IsNullOrEmpty(Request.Params["startdate"]) ? string.Format("{0:yyyy-MM-dd}", DateTime.Now) : Request.Params["startdate"];
// this.txtEndDate.Text = string.IsNullOrEmpty(Request.Params["enddate"]) ? string.Format("{0:yyyy-MM-dd}", Convert.ToDateTime(this.txtStartDate.Text).AddMonths(1).AddDays(-1)) : Request.Params["enddate"];
// //新增月报时填充上一条月报的项目概况内容
// var report = BLL.TestRun_MonthReportService.GetReportByMaxDate(this.CurrUser.LoginProjectId);
// if (report != null)
// {
// this.txtProjectOverview.Text = report.ProjectOverview;
// this.txtProjectBaseInfo.Text = report.ProjectBaseInfo;
// this.txtEngineeringPlant.Text = report.EngineeringPlant;
// this.txtProjectContract.Text = report.ProjectContract;
// }
// #region 开车绩效测量数据
// monthReportItems2.Clear();
// Model.TestRun_MonthReportItem2 newItem = new Model.TestRun_MonthReportItem2();
// newItem.MonthReportItem2Id = SQLHelper.GetNewID(typeof(Model.TestRun_MonthReportItem2));
// newItem.TypeName = "设计";
// monthReportItems2.Add(newItem);
// Model.TestRun_MonthReportItem2 newItem2 = new Model.TestRun_MonthReportItem2();
// newItem2.MonthReportItem2Id = SQLHelper.GetNewID(typeof(Model.TestRun_MonthReportItem2));
// newItem2.TypeName = "采购";
// monthReportItems2.Add(newItem2);
// Model.TestRun_MonthReportItem2 newItem3 = new Model.TestRun_MonthReportItem2();
// newItem3.MonthReportItem2Id = SQLHelper.GetNewID(typeof(Model.TestRun_MonthReportItem2));
// newItem3.TypeName = "施工";
// monthReportItems2.Add(newItem3);
// Model.TestRun_MonthReportItem2 newItem4 = new Model.TestRun_MonthReportItem2();
// newItem4.MonthReportItem2Id = SQLHelper.GetNewID(typeof(Model.TestRun_MonthReportItem2));
// newItem4.TypeName = "开车";
// monthReportItems2.Add(newItem4);
// Model.TestRun_MonthReportItem2 newItem5 = new Model.TestRun_MonthReportItem2();
// newItem5.MonthReportItem2Id = SQLHelper.GetNewID(typeof(Model.TestRun_MonthReportItem2));
// newItem5.TypeName = "项目";
// monthReportItems2.Add(newItem5);
// this.Grid2.DataSource = monthReportItems2;
// this.Grid2.DataBind();
// this.Grid3.DataSource = monthReportItems2;
// this.Grid3.DataBind();
// #endregion
//}
int nextMonth = 1;
if (!string.IsNullOrEmpty(this.txtStartDate.Text))
{
nextMonth = Convert.ToDateTime(this.txtStartDate.Text).AddMonths(1).Month;
}
Panel18.Title = "下月开车计划要点(" + nextMonth + "月份)";
}
}
#endregion
#region
/// <summary>
/// 附件上传
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnAttach_Click(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(this.hdId.Text)) //新增记录
{
this.hdId.Text = SQLHelper.GetNewID(typeof(Model.TestRun_MonthReport));
}
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=-1&toKeyId={0}&path=FileUpload/TestRun/DriverReport/MonthReport&menuId={1}", this.hdId.Text, BLL.Const.MonthReportMenuId)));
}
protected void WindowAtt_Close(object sender, WindowCloseEventArgs e)
{
this.lbtnAttach.Text = string.Empty;
string url = string.Empty;
var attLists = BLL.AttachFileService.Getfiles(this.hdId.Text, BLL.Const.MonthReportMenuId);
if (attLists != null)
{
List<string> lists = Funs.GetStrListByStr(attLists.AttachUrl, ',');
if (lists.Count > 0)
{
foreach (var item in lists)
{
url += item.Substring(item.IndexOf('_') + 1) + "\r\n";
}
}
if (!string.IsNullOrEmpty(url))
{
this.lbtnAttach.Text = url;
}
}
}
#endregion
}
}

File diff suppressed because it is too large Load Diff

View File

@ -373493,6 +373493,12 @@ namespace Model
private string _PushPerson;
private System.Nullable<System.DateTime> _StartDate;
private System.Nullable<System.DateTime> _EndDate;
private string _SortId;
private EntityRef<Base_Project> _Base_Project;
private EntitySet<TestRun_MonthReportItem> _TestRun_MonthReportItem;
@ -373553,6 +373559,12 @@ namespace Model
partial void OnSolvedProblemsChanged();
partial void OnPushPersonChanging(string value);
partial void OnPushPersonChanged();
partial void OnStartDateChanging(System.Nullable<System.DateTime> value);
partial void OnStartDateChanged();
partial void OnEndDateChanging(System.Nullable<System.DateTime> value);
partial void OnEndDateChanged();
partial void OnSortIdChanging(string value);
partial void OnSortIdChanged();
#endregion
public TestRun_MonthReport()
@ -374067,6 +374079,66 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StartDate", DbType="DateTime")]
public System.Nullable<System.DateTime> StartDate
{
get
{
return this._StartDate;
}
set
{
if ((this._StartDate != value))
{
this.OnStartDateChanging(value);
this.SendPropertyChanging();
this._StartDate = value;
this.SendPropertyChanged("StartDate");
this.OnStartDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EndDate", DbType="DateTime")]
public System.Nullable<System.DateTime> EndDate
{
get
{
return this._EndDate;
}
set
{
if ((this._EndDate != value))
{
this.OnEndDateChanging(value);
this.SendPropertyChanging();
this._EndDate = value;
this.SendPropertyChanged("EndDate");
this.OnEndDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortId", DbType="NVarChar(50)")]
public string SortId
{
get
{
return this._SortId;
}
set
{
if ((this._SortId != value))
{
this.OnSortIdChanging(value);
this.SendPropertyChanging();
this._SortId = value;
this.SendPropertyChanged("SortId");
this.OnSortIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_TestRun_MonthReport_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{