20240322 质量月报
This commit is contained in:
parent
5bee5e8d5c
commit
eb9b17df58
|
@ -0,0 +1,45 @@
|
|||
|
||||
CREATE TABLE [dbo].[Report_CQMS_MonthReportItem](
|
||||
[Id] [nvarchar](50) NOT NULL,
|
||||
[ReportId] [nvarchar](50) NULL,
|
||||
[ReType] [nvarchar](20) NULL,
|
||||
[ContentName] [nvarchar](50) NULL,
|
||||
[MonthsCount] [int] NULL,
|
||||
[ProjectCount] [int] NULL,
|
||||
[RectificationRate] [nvarchar](50) NULL,
|
||||
[MonthsBackCount] [int] NULL,
|
||||
[TotalNoBackCount] [int] NULL,
|
||||
[Remarks] [nvarchar](500) NULL,
|
||||
CONSTRAINT [PK_Report_CQMS_MonthReportItem] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[Id] ASC
|
||||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
||||
) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'分类(1-15.质量巡检情况,2-16.质量专项检查情况,3-17.质量文件上报情况)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Report_CQMS_MonthReportItem', @level2type=N'COLUMN',@level2name=N'ReType'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'整改率' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Report_CQMS_MonthReportItem', @level2type=N'COLUMN',@level2name=N'RectificationRate'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'本月业主/监理返回数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Report_CQMS_MonthReportItem', @level2type=N'COLUMN',@level2name=N'MonthsBackCount'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'累计未返回数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Report_CQMS_MonthReportItem', @level2type=N'COLUMN',@level2name=N'TotalNoBackCount'
|
||||
GO
|
||||
|
||||
|
||||
ALTER TABLE [dbo].[Report_RowMaterialProblem] DROP CONSTRAINT [FK_Report_RowMaterialProblem_Report_WeekAndMonthReport]
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[Report_ConstructionProblems] DROP CONSTRAINT [FK_Report_ConstructionProblems_Report_WeekAndMonthReport]
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[Report_NextQualityControl] DROP CONSTRAINT [FK_Report_NextQualityControl_Report_WeekAndMonthReport]
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[Report_ConstructionProblems] DROP CONSTRAINT [FK_Report_ConstructionProblems_Base_Unit]
|
||||
GO
|
||||
|
||||
|
|
@ -261,6 +261,7 @@
|
|||
<Compile Include="CQMS\ManageReport\ProjectQuarterlyProjectQualityService.cs" />
|
||||
<Compile Include="CQMS\ManageReport\ReportNew\ConstructionPlanService.cs" />
|
||||
<Compile Include="CQMS\ManageReport\ReportNew\CqmsTargetService.cs" />
|
||||
<Compile Include="CQMS\ManageReport\ReportNew\Report_CQMS_MonthReportItemService.cs" />
|
||||
<Compile Include="CQMS\ManageReport\ReportNew\TextBoxContentService.cs" />
|
||||
<Compile Include="CQMS\ManageReport\ReportNew\WeekAndMonthReportNewService.cs" />
|
||||
<Compile Include="CQMS\ManageReport\RowMaterialProblemService.cs" />
|
||||
|
|
|
@ -0,0 +1,52 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
/// <summary>
|
||||
/// 15.质量巡检情况
|
||||
/// 16.质量专项检查情况
|
||||
/// 17.质量文件上报情况
|
||||
/// </summary>
|
||||
public class Report_CQMS_MonthReportItemService
|
||||
{
|
||||
/// <summary>
|
||||
/// 添加
|
||||
/// </summary>
|
||||
/// <param name="item"></param>
|
||||
public static void AddReportItem(Model.Report_CQMS_MonthReportItem item)
|
||||
{
|
||||
Model.Report_CQMS_MonthReportItem newItem = new Model.Report_CQMS_MonthReportItem
|
||||
{
|
||||
Id = item.Id,
|
||||
ReportId = item.ReportId,
|
||||
ReType = item.ReType,
|
||||
ContentName = item.ContentName,
|
||||
MonthsCount = item.MonthsCount,
|
||||
ProjectCount = item.ProjectCount,
|
||||
RectificationRate = item.RectificationRate,
|
||||
MonthsBackCount = item.MonthsBackCount,
|
||||
TotalNoBackCount = item.TotalNoBackCount
|
||||
};
|
||||
Funs.DB.Report_CQMS_MonthReportItem.InsertOnSubmit(newItem);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据月报id删除相关明细信息
|
||||
/// </summary>
|
||||
/// <param name="reportId"></param>
|
||||
public static void DeleteReportItemByReportId(string reportId)
|
||||
{
|
||||
var q = (from x in Funs.DB.Report_CQMS_MonthReportItem where x.ReportId == reportId select x).ToList();
|
||||
if (q.Count > 0)
|
||||
{
|
||||
Funs.DB.Report_CQMS_MonthReportItem.DeleteAllOnSubmit(q);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -4,28 +4,33 @@
|
|||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<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>
|
||||
/*.myIframe {
|
||||
overflow: hidden;*/ /* 隐藏滚动条 */
|
||||
/*height: 100%;*/ /* 根据需要调整高度 */
|
||||
/*height: 100%;*/ /* 根据需要调整高度 */
|
||||
/*}*/
|
||||
</style>
|
||||
<style>
|
||||
.Toolbar2 {
|
||||
position: absolute;
|
||||
z-index: 999999;
|
||||
right: 0;
|
||||
width: 83px;
|
||||
top: -43px;
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
</style>
|
||||
<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;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
|
@ -131,87 +136,84 @@
|
|||
</table>
|
||||
</td>
|
||||
</tr>--%>
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
<%--1.本月质量目标管理情况--%>
|
||||
<f:Panel ID="Panel4" IsFluid="true" Title="1.本月质量目标管理情况" runat="server" EnableCollapse="false" CssStyle="position: relative;"
|
||||
ShowHeader="true">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar2" Position="top" ToolbarAlign="Right" runat="server" CssClass="Toolbar2">
|
||||
<Items>
|
||||
<f:Button ID="Button3" Icon="Add" runat="server" ToolTip="保存" Text="新增" OnClick="btnAddGrid1_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
<f:Toolbar ID="Toolbar2" Position="top" ToolbarAlign="Right" runat="server" CssClass="Toolbar2">
|
||||
<Items>
|
||||
<f:Button ID="Button3" Icon="Add" runat="server" ToolTip="保存" Text="新增" OnClick="btnAddGrid1_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Items>
|
||||
<f:Form ID="Form5" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单" >
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" runat="server" DataIDField="Id" Hidden="true"
|
||||
DataKeyNames="Id" ShowGridHeader="true" SortField="SortIndex" SortDirection="ASC"
|
||||
AllowCellEditing="true" ClicksToEdit="1" AllowSorting="true" EnableColumnLines="true" OnPreDataBound="Grid1_PreDataBound"
|
||||
EnableTextSelection="True">
|
||||
<Columns>
|
||||
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center"
|
||||
TextAlign="Center" />
|
||||
<f:Form ID="Form5" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" runat="server" DataIDField="Id" Hidden="true"
|
||||
DataKeyNames="Id" ShowGridHeader="true" SortField="SortIndex" SortDirection="ASC"
|
||||
AllowCellEditing="true" ClicksToEdit="1" AllowSorting="true" EnableColumnLines="true" OnPreDataBound="Grid1_PreDataBound"
|
||||
EnableTextSelection="True">
|
||||
<Columns>
|
||||
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center"
|
||||
TextAlign="Center" />
|
||||
|
||||
<f:RenderField Width="150px" ColumnID="ProStage" DataField="ProStage"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="项目阶段">
|
||||
<Editor>
|
||||
<f:TextBox ID="txtProStage" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="150px" ColumnID="ProStage" DataField="ProStage"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="项目阶段">
|
||||
<Editor>
|
||||
<f:TextBox ID="txtProStage" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
|
||||
<f:RenderField Width="250px" ColumnID="ProDescribe" DataField="ProDescribe"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="项目质量管理目标描述">
|
||||
<Editor>
|
||||
<f:TextBox ID="txtProDescribe" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="250px" ColumnID="ProDescribe" DataField="ProDescribe"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="项目质量管理目标描述">
|
||||
<Editor>
|
||||
<f:TextBox ID="txtProDescribe" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
|
||||
<f:RenderField Width="100px" ColumnID="TargetValue" DataField="TargetValue"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="目标值">
|
||||
<Editor>
|
||||
<f:TextBox ID="txtTargetValue" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="100px" ColumnID="TargetValue" DataField="TargetValue"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="目标值">
|
||||
<Editor>
|
||||
<f:TextBox ID="txtTargetValue" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
|
||||
<f:RenderField Width="120px" ColumnID="MonthPer" DataField="MonthPer"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="本月绩效">
|
||||
<Editor>
|
||||
<f:TextBox ID="txtMonthPer" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="120px" ColumnID="MonthPer" DataField="MonthPer"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="本月绩效">
|
||||
<Editor>
|
||||
<f:TextBox ID="txtMonthPer" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
|
||||
<f:RenderField Width="150px" ColumnID="Remarks" DataField="Remarks"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="备注">
|
||||
<Editor>
|
||||
<f:TextBox ID="txtRemarks" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="150px" ColumnID="Remarks" DataField="Remarks"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="备注">
|
||||
<Editor>
|
||||
<f:TextBox ID="txtRemarks" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
|
||||
|
||||
<f:LinkButtonField ColumnID="Delete1" Width="50px" EnablePostBack="false" Icon="Delete"
|
||||
HeaderTextAlign="Center" HeaderText="删除" />
|
||||
</Columns>
|
||||
<Listeners>
|
||||
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
||||
</Listeners>
|
||||
</f:Grid>
|
||||
<f:LinkButtonField ColumnID="Delete1" Width="50px" EnablePostBack="false" Icon="Delete"
|
||||
HeaderTextAlign="Center" HeaderText="删除" />
|
||||
</Columns>
|
||||
<Listeners>
|
||||
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
||||
</Listeners>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
|
||||
<%--2.本月主要工作内容--%>
|
||||
|
@ -219,13 +221,13 @@
|
|||
ShowHeader="true">
|
||||
<Items>
|
||||
<f:Panel ID="Panel6" IsFluid="true" Title="2.1 设计质量情况" runat="server" EnableCollapse="false"
|
||||
ShowHeader="true">
|
||||
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="txtAre0" EmptyText="请填写内容"
|
||||
<f:TextArea runat="server" ID="txtAre0" EmptyText="请填写内容"
|
||||
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
|
@ -233,16 +235,16 @@
|
|||
</Rows>
|
||||
</f:Form>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</f:Panel>
|
||||
|
||||
<f:Panel ID="Panel7" IsFluid="true" Title="2.2 采购质量情况" runat="server" EnableCollapse="false"
|
||||
ShowHeader="true">
|
||||
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="txtAre1" EmptyText="请填写内容"
|
||||
<f:TextArea runat="server" ID="txtAre1" EmptyText="请填写内容"
|
||||
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
|
@ -250,16 +252,16 @@
|
|||
</Rows>
|
||||
</f:Form>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</f:Panel>
|
||||
|
||||
<f:Panel ID="Panel8" IsFluid="true" Title="2.3 施工质量情况" runat="server" EnableCollapse="false"
|
||||
ShowHeader="true">
|
||||
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="txtAre2" EmptyText="请填写内容"
|
||||
<f:TextArea runat="server" ID="txtAre2" EmptyText="请填写内容"
|
||||
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
|
@ -267,89 +269,436 @@
|
|||
</Rows>
|
||||
</f:Form>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
|
||||
</f:Panel>
|
||||
|
||||
</Items>
|
||||
</f:Panel>
|
||||
|
||||
<f:Panel ID="Panel9" IsFluid="true" Title="3.施工方案及检验试验计划审批情况" runat="server" EnableCollapse="false"
|
||||
<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">
|
||||
<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>
|
||||
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</f:Panel>
|
||||
|
||||
|
||||
</Items>
|
||||
</f:Panel>
|
||||
|
||||
|
||||
<%--20.项目质量体系审核--%>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<%--15.质量巡检情况--%>
|
||||
<f:Panel ID="Panel13" IsFluid="true" Title="15.质量巡检情况" runat="server" EnableCollapse="false"
|
||||
ShowHeader="true">
|
||||
<Items>
|
||||
<f:Form ID="Form12" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:Grid ID="gvQualityInspection" ShowBorder="true" ShowHeader="false" runat="server" DataIDField="Id"
|
||||
DataKeyNames="Id" ShowGridHeader="true"
|
||||
AllowCellEditing="true" ClicksToEdit="1" AllowSorting="true" EnableColumnLines="true"
|
||||
EnableTextSelection="True" EnableSummary="true" SummaryPosition="Bottom">
|
||||
<Columns>
|
||||
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center"
|
||||
TextAlign="Center" />
|
||||
<f:RenderField Width="300px" ColumnID="ContentName" DataField="ContentName"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="施工分包商">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="250px" ColumnID="MonthsCount" DataField="MonthsCount"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="本月累计数量">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="160px" ColumnID="ProjectCount" DataField="ProjectCount"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="项目累计数量">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="160px" ColumnID="RectificationRate" DataField="RectificationRate"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="整改率">
|
||||
<Editor>
|
||||
<f:TextBox ID="TextBox1" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="200px" ColumnID="Remarks" DataField="Remarks"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="备注">
|
||||
<Editor>
|
||||
<f:TextBox ID="TextBox3" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
</Columns>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
|
||||
<%--16.质量专项检查情况--%>
|
||||
<f:Panel ID="Panel11" IsFluid="true" Title="16.质量专项检查情况" 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="gvSpecialCheck" ShowBorder="true" ShowHeader="false" runat="server" DataIDField="Id"
|
||||
DataKeyNames="Id" ShowGridHeader="true"
|
||||
AllowCellEditing="true" ClicksToEdit="1" AllowSorting="true" EnableColumnLines="true"
|
||||
EnableTextSelection="True" EnableSummary="true" SummaryPosition="Bottom">
|
||||
<Columns>
|
||||
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center"
|
||||
TextAlign="Center" />
|
||||
<f:RenderField Width="300px" ColumnID="ContentName" DataField="ContentName"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="检查类别">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="250px" ColumnID="MonthsCount" DataField="MonthsCount"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="本月检查数量">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="160px" ColumnID="ProjectCount" DataField="ProjectCount"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="项目累计检测数量">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="200px" ColumnID="Remarks" DataField="Remarks"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="备注">
|
||||
<Editor>
|
||||
<f:TextBox ID="TextBox4" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
</Columns>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
|
||||
<%--17.质量文件上报情况--%>
|
||||
<f:Panel ID="Panel12" IsFluid="true" Title="17.质量文件上报情况" 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:Grid ID="gvFileReport" ShowBorder="true" ShowHeader="false" runat="server" DataIDField="Id"
|
||||
DataKeyNames="Id" ShowGridHeader="true"
|
||||
AllowCellEditing="true" ClicksToEdit="1" AllowSorting="true" EnableColumnLines="true"
|
||||
EnableTextSelection="True" EnableSummary="true" SummaryPosition="Bottom">
|
||||
<Columns>
|
||||
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center"
|
||||
TextAlign="Center" />
|
||||
<f:RenderField Width="300px" ColumnID="ContentName" DataField="ContentName"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="上报单位">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="250px" ColumnID="MonthsCount" DataField="MonthsCount"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="本月上报数量">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="160px" ColumnID="ProjectCount" DataField="ProjectCount"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="累计上报数量">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="160px" ColumnID="MonthsBackCount" DataField="MonthsBackCount"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="本月业主/监理返回数量">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="160px" ColumnID="TotalNoBackCount" DataField="TotalNoBackCount"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="累计未返回数量">
|
||||
</f:RenderField>
|
||||
</Columns>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
|
||||
<%--18.本月质量问题处理情况--%>
|
||||
<f:Panel ID="Panel14" IsFluid="true" Title="18.本月质量问题处理情况" runat="server" EnableCollapse="false"
|
||||
ShowHeader="true">
|
||||
<Items>
|
||||
<f:Panel ID="Panel15" IsFluid="true" Title="(1)原材料问题" runat="server" EnableCollapse="false"
|
||||
ShowHeader="true">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar3" Position="top" ToolbarAlign="Right" runat="server" CssClass="Toolbar2">
|
||||
<Items>
|
||||
<f:Button ID="btnRowMaterialProblem" Icon="Add" runat="server" ToolTip="新增" Text="新增" OnClick="btnRowMaterialProblem_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Items>
|
||||
<f:Form ID="Form13" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:Grid ID="gvRowMaterialProblem" ShowBorder="true" ShowHeader="false" runat="server" DataIDField="RowMaterialProblemId" Hidden="true"
|
||||
DataKeyNames="RowMaterialProblemId" ShowGridHeader="true"
|
||||
AllowCellEditing="true" ClicksToEdit="1" AllowSorting="true" EnableColumnLines="true" OnPreDataBound="gvRowMaterialProblem_PreDataBound"
|
||||
EnableTextSelection="True">
|
||||
<Columns>
|
||||
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center"
|
||||
TextAlign="Center" />
|
||||
<f:RenderField Width="240px" ColumnID="UnitId" DataField="UnitId"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="供应商">
|
||||
<Editor>
|
||||
<f:TextBox ID="txtUnitId" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="250px" ColumnID="ProblemDesrioption" DataField="ProblemDesrioption"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="问题描述">
|
||||
<Editor>
|
||||
<f:TextBox ID="txtProblemDesrioption" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="160px" ColumnID="TreatmentMeasures" DataField="TreatmentMeasures"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="处理措施">
|
||||
<Editor>
|
||||
<f:TextBox ID="txtTreatmentMeasures" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="160px" ColumnID="ProcessingResults" DataField="ProcessingResults"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="处理结果">
|
||||
<Editor>
|
||||
<f:TextBox ID="txtProcessingResults" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="200px" ColumnID="Remark" DataField="Remark"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="备注">
|
||||
<Editor>
|
||||
<f:TextBox ID="txtRemark" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="100px" ColumnID="ReportId" DataField="ReportId"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="ReportId" Hidden="true">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="100px" ColumnID="RowMaterialProblemId" DataField="RowMaterialProblemId"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="RowMaterialProblemId" Hidden="true">
|
||||
</f:RenderField>
|
||||
<f:LinkButtonField ColumnID="delRowMaterialProblem" Width="50px" EnablePostBack="false" Icon="Delete"
|
||||
HeaderTextAlign="Center" HeaderText="删除" />
|
||||
</Columns>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<f:Panel ID="Panel16" IsFluid="true" Title="(2)施工过程问题" runat="server" EnableCollapse="false"
|
||||
ShowHeader="true">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar4" Position="top" ToolbarAlign="Right" runat="server" CssClass="Toolbar2">
|
||||
<Items>
|
||||
<f:Button ID="btnAddConstructionProblems" Icon="Add" runat="server" ToolTip="新增" Text="新增" OnClick="btnAddConstructionProblems_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Items>
|
||||
<f:Form ID="Form14" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:Grid ID="gvConstructionProblems" ShowBorder="true" ShowHeader="false" runat="server" DataIDField="ConstructionProblemsId" Hidden="true"
|
||||
DataKeyNames="ConstructionProblemsId" ShowGridHeader="true"
|
||||
AllowCellEditing="true" ClicksToEdit="1" AllowSorting="true" EnableColumnLines="true" OnPreDataBound="gvConstructionProblems_PreDataBound"
|
||||
EnableTextSelection="True">
|
||||
<Columns>
|
||||
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center"
|
||||
TextAlign="Center" />
|
||||
<f:RenderField Width="240px" ColumnID="UnitId" DataField="UnitId"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="施工分包商">
|
||||
<Editor>
|
||||
<f:DropDownList ID="drpUnitId" runat="server" EnableEdit="true"></f:DropDownList>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="250px" ColumnID="ProblemDesrioption" DataField="ProblemDesrioption"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="问题描述">
|
||||
<Editor>
|
||||
<f:TextBox ID="txtProblemDesrioption2" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="160px" ColumnID="TreatmentMeasures" DataField="TreatmentMeasures"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="处理措施">
|
||||
<Editor>
|
||||
<f:TextBox ID="txtTreatmentMeasures2" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="160px" ColumnID="ProcessingResults" DataField="ProcessingResults"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="处理结果">
|
||||
<Editor>
|
||||
<f:TextBox ID="txtProcessingResults2" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="200px" ColumnID="Remark" DataField="Remark"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="备注">
|
||||
<Editor>
|
||||
<f:TextBox ID="txtRemark2" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="100px" ColumnID="ReportId" DataField="ReportId"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="ReportId" Hidden="true">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="100px" ColumnID="ConstructionProblemsId" DataField="ConstructionProblemsId"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="ConstructionProblemsId" Hidden="true">
|
||||
</f:RenderField>
|
||||
<f:LinkButtonField ColumnID="delConstructionProblems" Width="50px" EnablePostBack="false" Icon="Delete"
|
||||
HeaderTextAlign="Center" HeaderText="删除" />
|
||||
</Columns>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
|
||||
<%--19.下月质量控制重点--%>
|
||||
<f:Panel ID="Panel17" IsFluid="true" Title="19.下月质量控制重点" runat="server" EnableCollapse="false"
|
||||
ShowHeader="true">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar5" Position="top" ToolbarAlign="Right" runat="server" CssClass="Toolbar2">
|
||||
<Items>
|
||||
<f:Button ID="btnAddNextControl" Icon="Add" runat="server" ToolTip="新增" Text="新增" OnClick="btnAddNextControl_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Items>
|
||||
<f:Form ID="Form15" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:Grid ID="gvNextQualityControl" ShowBorder="true" ShowHeader="false" runat="server" DataIDField="NextQualityControlId" Hidden="true"
|
||||
DataKeyNames="NextQualityControlId" ShowGridHeader="true"
|
||||
AllowCellEditing="true" ClicksToEdit="1" AllowSorting="true" EnableColumnLines="true" OnPreDataBound="gvNextQualityControl_PreDataBound"
|
||||
EnableTextSelection="True">
|
||||
<Columns>
|
||||
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center"
|
||||
TextAlign="Center" />
|
||||
<f:RenderField Width="240px" ColumnID="NextQualityControlContent" DataField="NextQualityControlContent"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="下月质量控制重点" ExpandUnusedSpace="true">
|
||||
<Editor>
|
||||
<f:TextBox ID="TextBox2" runat="server">
|
||||
</f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="100px" ColumnID="ReportId" DataField="ReportId"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="ReportId" Hidden="true">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="100px" ColumnID="NextQualityControlId" DataField="NextQualityControlId"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" HeaderText="NextQualityControlId" Hidden="true">
|
||||
</f:RenderField>
|
||||
<f:LinkButtonField ColumnID="delNextQualityControl" Width="50px" EnablePostBack="false" Icon="Delete"
|
||||
HeaderTextAlign="Center" HeaderText="删除" />
|
||||
</Columns>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<%--20.项目质量体系审核--%>
|
||||
<f:Panel ID="Panel3" IsFluid="true" Title="20.项目质量体系审核" 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="txtAre20" EmptyText="请填写内容"
|
||||
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</Items>
|
||||
<f:Form ID="Form3" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea runat="server" ID="txtAre20" EmptyText="请填写内容"
|
||||
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
|
||||
<%--21.类似项目管理经验教训应对措施及跟踪--%>
|
||||
<f:Panel ID="Panel1" IsFluid="true" Title="21.类似项目管理经验教训应对措施及跟踪" 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="txtAre21" EmptyText="请填写内容"
|
||||
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</Items>
|
||||
<f:Form ID="Form2" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea runat="server" ID="txtAre21" EmptyText="请填写内容"
|
||||
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
|
||||
<%--22.附件--%>
|
||||
<f:Panel ID="Panel2" IsFluid="true" Title="22.附件" runat="server" EnableCollapse="false"
|
||||
<f:Panel ID="Panel2" IsFluid="true" Title="22.附件" 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="txtAre22" EmptyText="请填写内容"
|
||||
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</Items>
|
||||
<f:Form ID="Form4" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea runat="server" ID="txtAre22" EmptyText="请填写内容"
|
||||
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
||||
<Items>
|
||||
|
@ -358,9 +707,6 @@
|
|||
</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">
|
||||
|
|
|
@ -42,7 +42,25 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
|
||||
#region 列表集合
|
||||
private static List<Model.Report_CqmsTarget> detailsGrid1 = new List<Model.Report_CqmsTarget>();
|
||||
|
||||
/// <summary>
|
||||
/// 18.本月质量问题处理情况
|
||||
/// (1)原材料问题
|
||||
/// </summary>
|
||||
private static List<Model.Report_RowMaterialProblem> rowMaterialProblemLists = new List<Model.Report_RowMaterialProblem>();
|
||||
|
||||
/// <summary>
|
||||
/// 18.本月质量问题处理情况
|
||||
/// (2)施工过程问题
|
||||
/// </summary>
|
||||
private static List<Model.Report_ConstructionProblems> constructionProblemsLists = new List<Model.Report_ConstructionProblems>();
|
||||
|
||||
/// <summary>
|
||||
/// 19.下月质量控制重点
|
||||
/// </summary>
|
||||
private static List<Model.Report_NextQualityControl> nextQualityControlLists = new List<Model.Report_NextQualityControl>();
|
||||
#endregion
|
||||
|
||||
#region 加载页面
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
|
@ -55,6 +73,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
{
|
||||
this.EnableViewState = true;
|
||||
this.lblProjectName.Text = BLL.ProjectService.GetProjectByProjectId(this.CurrUser.LoginProjectId).ProjectName;
|
||||
BLL.UnitService.InitUnitNameByProjectIdUnitTypeDropDownList(this.drpUnitId, this.CurrUser.LoginProjectId, BLL.Const.ProjectUnitType_2, false);
|
||||
this.ReportId = Request.Params["reportId"];
|
||||
if (!string.IsNullOrEmpty(Request.Params["view"]))
|
||||
{
|
||||
|
@ -82,7 +101,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
}
|
||||
AddOrUpdate = "update";
|
||||
|
||||
#region 加载本月质量目标管理情况
|
||||
#region 加载本月质量目标管理情况
|
||||
detailsGrid1.Clear();
|
||||
detailsGrid1 = (from x in Funs.DB.Report_CqmsTarget
|
||||
where x.ReportId == this.ReportId
|
||||
|
@ -97,6 +116,44 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
|
||||
#endregion
|
||||
|
||||
#region 加载18.本月质量问题处理情况
|
||||
//(1)原材料问题
|
||||
rowMaterialProblemLists.Clear();
|
||||
rowMaterialProblemLists = (from x in Funs.DB.Report_RowMaterialProblem
|
||||
where x.ReportId == this.ReportId
|
||||
select x).ToList();
|
||||
if (rowMaterialProblemLists.Count > 0)
|
||||
{
|
||||
gvRowMaterialProblem.Hidden = false;
|
||||
gvRowMaterialProblem.DataSource = rowMaterialProblemLists;
|
||||
gvRowMaterialProblem.DataBind();
|
||||
}
|
||||
//(2)施工过程问题
|
||||
constructionProblemsLists.Clear();
|
||||
constructionProblemsLists = (from x in Funs.DB.Report_ConstructionProblems
|
||||
where x.ReportId == this.ReportId
|
||||
select x).ToList();
|
||||
if (constructionProblemsLists.Count>0)
|
||||
{
|
||||
gvConstructionProblems.Hidden = false;
|
||||
gvConstructionProblems.DataSource = constructionProblemsLists;
|
||||
gvConstructionProblems.DataBind();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 加载19.下月质量控制重点
|
||||
nextQualityControlLists.Clear();
|
||||
nextQualityControlLists = (from x in Funs.DB.Report_NextQualityControl
|
||||
where x.ReportId == this.ReportId
|
||||
select x).ToList();
|
||||
if (nextQualityControlLists.Count>0)
|
||||
{
|
||||
gvNextQualityControl.Hidden = false;
|
||||
gvNextQualityControl.DataSource = nextQualityControlLists;
|
||||
gvNextQualityControl.DataBind();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 加载文本框内容
|
||||
var txtReportList = Funs.DB.Report_TextBoxContent.Where(x => x.ReportId == ReportId).ToList();
|
||||
txtAre0.Text = txtReportList.FirstOrDefault(x => x.ContentType == "0").ContentText;
|
||||
|
@ -108,7 +165,8 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
txtAre22.Text = txtReportList.FirstOrDefault(x => x.ContentType == "22").ContentText;
|
||||
#endregion
|
||||
|
||||
|
||||
//加载所有grid
|
||||
lodAllGrid("1");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -117,6 +175,9 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
//给个新的主键
|
||||
ReportId = Guid.NewGuid().ToString();
|
||||
AddOrUpdate = "add";
|
||||
|
||||
//加载所有grid
|
||||
lodAllGrid("0");
|
||||
}
|
||||
hidReportId.Value = ReportId;
|
||||
}
|
||||
|
@ -228,6 +289,15 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
|
||||
//所有文本框表
|
||||
TextBoxContentService.Delete(ReportId);
|
||||
|
||||
// 15.质量巡检情况 16.质量专项检查情况 17.质量文件上报情况
|
||||
BLL.Report_CQMS_MonthReportItemService.DeleteReportItemByReportId(ReportId);
|
||||
//18.本月质量问题处理情况(1)原材料问题
|
||||
BLL.RowMaterialProblemService.DeleteRowMaterialProbleByReportId(ReportId);
|
||||
//18.本月质量问题处理情况(2)施工过程问题
|
||||
BLL.ConstructionProblemsService.DeleteConstructionProblemsByReportId(ReportId);
|
||||
//19.下月质量控制重点
|
||||
BLL.NextQualityControlService.DeleteNextQualityControlByReportId(ReportId);
|
||||
#endregion
|
||||
|
||||
#region 保存所有子表
|
||||
|
@ -236,6 +306,21 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
|
||||
//保存文本框
|
||||
saveTxtContent();
|
||||
|
||||
|
||||
|
||||
//保存15.质量巡检情况
|
||||
saveQualityInspection();
|
||||
//保存16.质量专项检查情况
|
||||
saveSpecialCheck();
|
||||
//保存17.质量文件上报情况
|
||||
saveFileReport();
|
||||
//保存18.(1)原材料问题
|
||||
saveRowMaterialProblem();
|
||||
//保存18.(2)施工过程问题
|
||||
saveConstructionProblems();
|
||||
//保存19.下月质量控制重点
|
||||
saveNextQualityControl();
|
||||
#endregion
|
||||
|
||||
if (AddOrUpdate == "add")
|
||||
|
@ -340,5 +425,607 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
void lodAllGrid(string objType)
|
||||
{
|
||||
//加载15.质量巡检情况
|
||||
loadQualityInspection(objType);
|
||||
//加载16.质量专项检查情况
|
||||
loadSpecialCheck(objType);
|
||||
//加载17.质量文件上报情况
|
||||
loadFileReport(objType);
|
||||
}
|
||||
|
||||
#region 15.质量巡检情况 gvQualityInspection方法
|
||||
/// <summary>
|
||||
/// 加载质量巡检情况
|
||||
/// </summary>
|
||||
void loadQualityInspection(string objType)
|
||||
{
|
||||
var db = Funs.DB;
|
||||
DateTime startDate = Convert.ToDateTime(this.txtStartDate.Text.Trim());
|
||||
DateTime endDate = Convert.ToDateTime(this.txtEndDate.Text.Trim());
|
||||
var list = new List<Model.Report_CQMS_MonthReportItem>();
|
||||
int i = 1;
|
||||
|
||||
int Quantity1Sum = 0;
|
||||
int Quantity2Sum = 0;
|
||||
//加载所有单位
|
||||
var units = from x in Funs.DB.Project_ProjectUnit
|
||||
join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId
|
||||
where x.ProjectId == this.CurrUser.LoginProjectId && (x.UnitType == BLL.Const.ProjectUnitType_2 || x.UnitType == BLL.Const.ProjectUnitType_1)
|
||||
orderby y.UnitCode
|
||||
select new { x.UnitId, y.UnitName };
|
||||
foreach (var item in units)
|
||||
{
|
||||
var query = from c in db.Check_CheckControl
|
||||
join u in db.Base_Unit on c.UnitId equals u.UnitId into unitJoin
|
||||
from u in unitJoin.DefaultIfEmpty()
|
||||
where c.ProjectId == this.CurrUser.LoginProjectId && c.UnitId == item.UnitId
|
||||
select new
|
||||
{
|
||||
c.CheckDate,
|
||||
c.ProjectId,
|
||||
u.UnitId,
|
||||
u.UnitName
|
||||
};
|
||||
var AllList = query.ToList();
|
||||
var monethCount = query
|
||||
.Where(x => (x.CheckDate >= Convert.ToDateTime(startDate) && x.CheckDate <= Convert.ToDateTime(endDate)));
|
||||
|
||||
Model.Report_CQMS_MonthReportItem model = new Model.Report_CQMS_MonthReportItem();
|
||||
model.Id = Guid.NewGuid().ToString();
|
||||
model.ContentName = item.UnitName;
|
||||
model.MonthsCount = monethCount.Count();
|
||||
model.ProjectCount = AllList.Count();
|
||||
model.ReportId = ReportId;
|
||||
//如果是修改,查询表中数据
|
||||
if (objType == "1")
|
||||
{
|
||||
var NewModel = db.Report_CQMS_MonthReportItem.FirstOrDefault(x => x.ReportId == ReportId && x.ContentName == item.UnitName && x.ReType == "1");
|
||||
if (NewModel != null)
|
||||
{
|
||||
model.RectificationRate = NewModel.RectificationRate;
|
||||
model.Remarks = NewModel.Remarks;
|
||||
}
|
||||
}
|
||||
list.Add(model);
|
||||
|
||||
Quantity1Sum += monethCount.Count();
|
||||
Quantity2Sum += AllList.Count();
|
||||
i++;
|
||||
}
|
||||
gvQualityInspection.DataSource = list;
|
||||
gvQualityInspection.DataBind();
|
||||
|
||||
//合计
|
||||
JObject summary = new JObject();
|
||||
summary.Add("ContentName", "合计");
|
||||
summary.Add("MonthsCount", Quantity1Sum.ToString());
|
||||
summary.Add("ProjectCount", Quantity2Sum.ToString());
|
||||
|
||||
gvQualityInspection.SummaryData = summary;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 16.质量专项检查情况 gvSpecialCheck方法
|
||||
/// <summary>
|
||||
/// 加载质量专项检查情况
|
||||
/// </summary>
|
||||
void loadSpecialCheck(string objType)
|
||||
{
|
||||
var db = Funs.DB;
|
||||
DateTime startDate = Convert.ToDateTime(this.txtStartDate.Text.Trim());
|
||||
DateTime endDate = Convert.ToDateTime(this.txtEndDate.Text.Trim());
|
||||
var list = new List<Model.Report_CQMS_MonthReportItem>();
|
||||
int i = 1;
|
||||
|
||||
int Quantity1Sum = 0;
|
||||
int Quantity2Sum = 0;
|
||||
|
||||
//加载检查类别
|
||||
var lists = BLL.JointCheckService.GetCheckTypeList();
|
||||
foreach (var item in lists)
|
||||
{
|
||||
var query = from c in db.Check_JointCheck
|
||||
where c.ProjectId == this.CurrUser.LoginProjectId && c.CheckType == item.Key.ToString()
|
||||
select new
|
||||
{
|
||||
c.CheckDate,
|
||||
c.ProjectId,
|
||||
c.CheckType
|
||||
};
|
||||
var AllList = query.ToList();
|
||||
var monethCount = query
|
||||
.Where(x => (x.CheckDate >= Convert.ToDateTime(startDate) && x.CheckDate <= Convert.ToDateTime(endDate)));
|
||||
|
||||
Model.Report_CQMS_MonthReportItem model = new Model.Report_CQMS_MonthReportItem();
|
||||
model.Id = Guid.NewGuid().ToString();
|
||||
model.ContentName = item.Value;
|
||||
model.MonthsCount = monethCount.Count();
|
||||
model.ProjectCount = AllList.Count();
|
||||
model.ReportId = ReportId;
|
||||
//如果是修改,查询表中数据
|
||||
if (objType == "1")
|
||||
{
|
||||
var NewModel = db.Report_CQMS_MonthReportItem.FirstOrDefault(x => x.ReportId == ReportId && x.ContentName == item.Value && x.ReType == "2");
|
||||
if (NewModel != null)
|
||||
{
|
||||
model.Remarks = NewModel.Remarks;
|
||||
}
|
||||
}
|
||||
list.Add(model);
|
||||
|
||||
Quantity1Sum += monethCount.Count();
|
||||
Quantity2Sum += AllList.Count();
|
||||
i++;
|
||||
}
|
||||
|
||||
gvSpecialCheck.DataSource = list;
|
||||
gvSpecialCheck.DataBind();
|
||||
|
||||
//合计
|
||||
JObject summary = new JObject();
|
||||
summary.Add("ContentName", "合计");
|
||||
summary.Add("MonthsCount", Quantity1Sum.ToString());
|
||||
summary.Add("ProjectCount", Quantity2Sum.ToString());
|
||||
|
||||
gvSpecialCheck.SummaryData = summary;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 17.质量文件上报情况 gvFileReport方法
|
||||
/// <summary>
|
||||
/// 加载质量文件上报情况
|
||||
/// </summary>
|
||||
void loadFileReport(string objType)
|
||||
{
|
||||
var db = Funs.DB;
|
||||
DateTime startDate = Convert.ToDateTime(this.txtStartDate.Text.Trim());
|
||||
DateTime endDate = Convert.ToDateTime(this.txtEndDate.Text.Trim());
|
||||
var list = new List<Model.Report_CQMS_MonthReportItem>();
|
||||
int i = 1;
|
||||
|
||||
int Quantity1Sum = 0;
|
||||
int Quantity2Sum = 0;
|
||||
int Quantity3Sum = 0;
|
||||
int Quantity4Sum = 0;
|
||||
//加载所有单位
|
||||
var units = from x in Funs.DB.Project_ProjectUnit
|
||||
join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId
|
||||
where x.ProjectId == this.CurrUser.LoginProjectId && (x.UnitType == BLL.Const.ProjectUnitType_2 || x.UnitType == BLL.Const.ProjectUnitType_1)
|
||||
orderby y.UnitCode
|
||||
select new { x.UnitId, y.UnitName };
|
||||
foreach (var item in units)
|
||||
{
|
||||
//var query = from c in db.Check_CheckControl
|
||||
// join u in db.Base_Unit on c.UnitId equals u.UnitId into unitJoin
|
||||
// from u in unitJoin.DefaultIfEmpty()
|
||||
// where c.ProjectId == this.CurrUser.LoginProjectId && c.UnitId == item.UnitId
|
||||
// select new
|
||||
// {
|
||||
// c.CheckDate,
|
||||
// c.ProjectId,
|
||||
// u.UnitId,
|
||||
// u.UnitName
|
||||
// };
|
||||
//var AllList = query.ToList();//项目数
|
||||
//本月数
|
||||
//var monethCount = query.Where(x => (x.CheckDate >= Convert.ToDateTime(startDate) && x.CheckDate <= Convert.ToDateTime(endDate)));
|
||||
//var yzCount = 0;//本月业主/ 监理返回数量
|
||||
//var NoBackCount = 0;//累计未返回数量
|
||||
Model.Report_CQMS_MonthReportItem model = new Model.Report_CQMS_MonthReportItem();
|
||||
model.Id = Guid.NewGuid().ToString();
|
||||
model.ContentName = item.UnitName;
|
||||
//model.MonthsCount = monethCount.Count();
|
||||
//model.ProjectCount = AllList.Count();
|
||||
//model.MonthsBackCount =;
|
||||
//model.TotalNoBackCount =;
|
||||
model.ReportId = ReportId;
|
||||
//如果是修改,查询表中数据
|
||||
if (objType == "1")
|
||||
{
|
||||
var NewModel = db.Report_CQMS_MonthReportItem.FirstOrDefault(x => x.ReportId == ReportId && x.ContentName == item.UnitName && x.ReType == "3");
|
||||
if (NewModel != null)
|
||||
{
|
||||
model.Remarks = NewModel.Remarks;
|
||||
}
|
||||
}
|
||||
list.Add(model);
|
||||
|
||||
//Quantity1Sum += monethCount.Count();
|
||||
//Quantity2Sum += AllList.Count();
|
||||
//Quantity3Sum += yzCount.Count();
|
||||
//Quantity4Sum += NoBackCount.Count();
|
||||
i++;
|
||||
}
|
||||
gvFileReport.DataSource = list;
|
||||
gvFileReport.DataBind();
|
||||
|
||||
//合计
|
||||
JObject summary = new JObject();
|
||||
summary.Add("ContentName", "合计");
|
||||
summary.Add("MonthsCount", Quantity1Sum.ToString());
|
||||
summary.Add("ProjectCount", Quantity2Sum.ToString());
|
||||
summary.Add("MonthsBackCount", Quantity3Sum.ToString());
|
||||
summary.Add("TotalNoBackCount", Quantity4Sum.ToString());
|
||||
|
||||
gvFileReport.SummaryData = summary;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 18.本月质量问题处理情况
|
||||
#region gvRowMaterialProblem 事件
|
||||
/// <summary>
|
||||
/// 增加原材料问题
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnRowMaterialProblem_Click(object sender, EventArgs e)
|
||||
{
|
||||
gvRowMaterialProblem.Hidden = false;
|
||||
|
||||
JArray teamGroupData = gvRowMaterialProblem.GetMergedData();
|
||||
List<JObject> list = new List<JObject>();
|
||||
foreach (JObject teamGroupRow in teamGroupData)
|
||||
{
|
||||
JObject values = teamGroupRow.Value<JObject>("values");
|
||||
values.Add("Id", teamGroupRow.Value<string>("id"));
|
||||
list.Add(values);
|
||||
}
|
||||
JObject defaultObj = new JObject
|
||||
{ { "RowMaterialProblemId",Guid.NewGuid().ToString() },
|
||||
{ "ReportId", ReportId },
|
||||
{ "UnitId", "" },
|
||||
{ "ProblemDesrioption",""},
|
||||
{ "TreatmentMeasures", "" },
|
||||
{ "ProcessingResults","" },
|
||||
{ "Remark", "" },
|
||||
{ "delRowMaterialProblem", String.Format("<a href=\"javascript:;\" onclick=\"{0}\"><img src=\"{1}\"/></a>", GetDeleteRowMaterialProblem(), IconHelper.GetResolvedIconUrl(Icon.Delete)) }
|
||||
};
|
||||
list.Add(defaultObj);
|
||||
gvRowMaterialProblem.DataSource = list;
|
||||
gvRowMaterialProblem.DataBind();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 绑定数据前事件
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void gvRowMaterialProblem_PreDataBound(object sender, EventArgs e)
|
||||
{
|
||||
// 设置LinkButtonField的点击客户端事件
|
||||
LinkButtonField deleteField = gvRowMaterialProblem.FindColumn("delRowMaterialProblem") as LinkButtonField;
|
||||
deleteField.OnClientClick = GetDeleteRowMaterialProblem();
|
||||
}
|
||||
/// <summary>
|
||||
/// 删除提示
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private string GetDeleteRowMaterialProblem()
|
||||
{
|
||||
return Confirm.GetShowReference("删除选中行?", String.Empty, MessageBoxIcon.Question, gvRowMaterialProblem.GetDeleteSelectedRowsReference(), String.Empty);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region gvConstructionProblems 事件
|
||||
/// <summary>
|
||||
/// 增加施工过程问题
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnAddConstructionProblems_Click(object sender, EventArgs e)
|
||||
{
|
||||
gvConstructionProblems.Hidden = false;
|
||||
|
||||
JArray teamGroupData = gvConstructionProblems.GetMergedData();
|
||||
List<JObject> list = new List<JObject>();
|
||||
foreach (JObject teamGroupRow in teamGroupData)
|
||||
{
|
||||
JObject values = teamGroupRow.Value<JObject>("values");
|
||||
values.Add("Id", teamGroupRow.Value<string>("id"));
|
||||
list.Add(values);
|
||||
}
|
||||
JObject defaultObj = new JObject
|
||||
{ { "ConstructionProblemsId",Guid.NewGuid() },
|
||||
{ "ReportId", ReportId },
|
||||
{ "UnitId", "" },
|
||||
{ "ProblemDesrioption",""},
|
||||
{ "TreatmentMeasures", "" },
|
||||
{ "ProcessingResults","" },
|
||||
{ "Remark", "" },
|
||||
{ "delConstructionProblems", String.Format("<a href=\"javascript:;\" onclick=\"{0}\"><img src=\"{1}\"/></a>", GetDeleteConstructionProblems(), IconHelper.GetResolvedIconUrl(Icon.Delete)) }
|
||||
};
|
||||
list.Add(defaultObj);
|
||||
gvConstructionProblems.DataSource = list;
|
||||
gvConstructionProblems.DataBind();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 绑定数据前事件
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void gvConstructionProblems_PreDataBound(object sender, EventArgs e)
|
||||
{
|
||||
// 设置LinkButtonField的点击客户端事件
|
||||
LinkButtonField deleteField = gvConstructionProblems.FindColumn("delConstructionProblems") as LinkButtonField;
|
||||
deleteField.OnClientClick = GetDeleteConstructionProblems();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除提示
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private string GetDeleteConstructionProblems()
|
||||
{
|
||||
return Confirm.GetShowReference("删除选中行?", String.Empty, MessageBoxIcon.Question, gvConstructionProblems.GetDeleteSelectedRowsReference(), String.Empty);
|
||||
}
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
#region 19.下月质量控制重点
|
||||
/// <summary>
|
||||
/// gvNextQualityControl加载前事件
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void gvNextQualityControl_PreDataBound(object sender, EventArgs e)
|
||||
{
|
||||
// 设置LinkButtonField的点击客户端事件
|
||||
LinkButtonField deleteField = gvNextQualityControl.FindColumn("delNextQualityControl") as LinkButtonField;
|
||||
deleteField.OnClientClick = GetDeleteNextQualityControl();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 增加
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnAddNextControl_Click(object sender, EventArgs e)
|
||||
{
|
||||
gvNextQualityControl.Hidden = false;
|
||||
|
||||
JArray teamGroupData = gvNextQualityControl.GetMergedData();
|
||||
List<JObject> list = new List<JObject>();
|
||||
foreach (JObject teamGroupRow in teamGroupData)
|
||||
{
|
||||
JObject values = teamGroupRow.Value<JObject>("values");
|
||||
values.Add("Id", teamGroupRow.Value<string>("id"));
|
||||
list.Add(values);
|
||||
}
|
||||
JObject defaultObj = new JObject
|
||||
{ { "NextQualityControlId",Guid.NewGuid().ToString() },
|
||||
{ "ReportId", ReportId },
|
||||
{ "NextQualityControlContent", "" },
|
||||
{ "delNextQualityControl", String.Format("<a href=\"javascript:;\" onclick=\"{0}\"><img src=\"{1}\"/></a>", GetDeleteNextQualityControl(), IconHelper.GetResolvedIconUrl(Icon.Delete)) }
|
||||
};
|
||||
list.Add(defaultObj);
|
||||
gvNextQualityControl.DataSource = list;
|
||||
gvNextQualityControl.DataBind();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除提示
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private string GetDeleteNextQualityControl()
|
||||
{
|
||||
return Confirm.GetShowReference("删除选中行?", String.Empty, MessageBoxIcon.Question, gvNextQualityControl.GetDeleteSelectedRowsReference(), String.Empty);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 保存方法
|
||||
#region 15.质量巡检情况
|
||||
/// <summary>
|
||||
/// 15.质量巡检情况
|
||||
/// </summary>
|
||||
void saveQualityInspection()
|
||||
{
|
||||
List<Model.Report_CQMS_MonthReportItem> detailLists = new List<Model.Report_CQMS_MonthReportItem>();
|
||||
JArray teamGroupData = gvQualityInspection.GetMergedData();
|
||||
foreach (JObject teamGroupRow in teamGroupData)
|
||||
{
|
||||
JObject values = teamGroupRow.Value<JObject>("values");
|
||||
int rowIndex = teamGroupRow.Value<int>("index");
|
||||
Model.Report_CQMS_MonthReportItem newDetail = new Model.Report_CQMS_MonthReportItem
|
||||
{
|
||||
ReportId = ReportId,
|
||||
ReType = "1",
|
||||
ContentName = values.Value<string>("ContentName"),
|
||||
MonthsCount = values.Value<int>("MonthsCount"),
|
||||
ProjectCount = values.Value<int>("ProjectCount"),
|
||||
RectificationRate = values.Value<string>("RectificationRate"),
|
||||
Remarks = values.Value<string>("Remarks")
|
||||
};
|
||||
if (gvQualityInspection.Rows[rowIndex].DataKeys.Length > 0)
|
||||
{
|
||||
newDetail.Id = gvQualityInspection.Rows[rowIndex].DataKeys[0].ToString();
|
||||
}
|
||||
detailLists.Add(newDetail);
|
||||
}
|
||||
if (detailLists.Count > 0)
|
||||
{
|
||||
Funs.DB.Report_CQMS_MonthReportItem.InsertAllOnSubmit(detailLists);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 16.质量专项检查情况
|
||||
/// <summary>
|
||||
/// 16.质量专项检查情况
|
||||
/// </summary>
|
||||
void saveSpecialCheck()
|
||||
{
|
||||
List<Model.Report_CQMS_MonthReportItem> detailLists = new List<Model.Report_CQMS_MonthReportItem>();
|
||||
JArray teamGroupData = gvSpecialCheck.GetMergedData();
|
||||
foreach (JObject teamGroupRow in teamGroupData)
|
||||
{
|
||||
JObject values = teamGroupRow.Value<JObject>("values");
|
||||
int rowIndex = teamGroupRow.Value<int>("index");
|
||||
Model.Report_CQMS_MonthReportItem newDetail = new Model.Report_CQMS_MonthReportItem
|
||||
{
|
||||
ReportId = ReportId,
|
||||
ReType = "2",
|
||||
ContentName = values.Value<string>("ContentName"),
|
||||
MonthsCount = values.Value<int>("MonthsCount"),
|
||||
ProjectCount = values.Value<int>("ProjectCount"),
|
||||
Remarks = values.Value<string>("Remarks")
|
||||
};
|
||||
if (gvSpecialCheck.Rows[rowIndex].DataKeys.Length > 0)
|
||||
{
|
||||
newDetail.Id = gvSpecialCheck.Rows[rowIndex].DataKeys[0].ToString();
|
||||
}
|
||||
detailLists.Add(newDetail);
|
||||
}
|
||||
if (detailLists.Count > 0)
|
||||
{
|
||||
Funs.DB.Report_CQMS_MonthReportItem.InsertAllOnSubmit(detailLists);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 17.质量文件上报情况
|
||||
/// <summary>
|
||||
/// 17.质量文件上报情况
|
||||
/// </summary>
|
||||
void saveFileReport()
|
||||
{
|
||||
List<Model.Report_CQMS_MonthReportItem> detailLists = new List<Model.Report_CQMS_MonthReportItem>();
|
||||
JArray teamGroupData = gvFileReport.GetMergedData();
|
||||
foreach (JObject teamGroupRow in teamGroupData)
|
||||
{
|
||||
JObject values = teamGroupRow.Value<JObject>("values");
|
||||
int rowIndex = teamGroupRow.Value<int>("index");
|
||||
Model.Report_CQMS_MonthReportItem newDetail = new Model.Report_CQMS_MonthReportItem
|
||||
{
|
||||
ReportId = ReportId,
|
||||
ReType = "3",
|
||||
ContentName = values.Value<string>("ContentName"),
|
||||
//MonthsCount = Funs.GetNewInt(values.Value<int>("MonthsCount").ToString()),
|
||||
//ProjectCount = Funs.GetNewInt(values.Value<int>("ProjectCount").ToString()),
|
||||
//MonthsBackCount = Funs.GetNewInt(values.Value<int>("MonthsBackCount").ToString()),
|
||||
//TotalNoBackCount = Funs.GetNewInt(values.Value<int>("TotalNoBackCount").ToString())
|
||||
};
|
||||
if (gvFileReport.Rows[rowIndex].DataKeys.Length > 0)
|
||||
{
|
||||
newDetail.Id = gvFileReport.Rows[rowIndex].DataKeys[0].ToString();
|
||||
}
|
||||
detailLists.Add(newDetail);
|
||||
}
|
||||
if (detailLists.Count > 0)
|
||||
{
|
||||
Funs.DB.Report_CQMS_MonthReportItem.InsertAllOnSubmit(detailLists);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 18.本月质量问题处理情况
|
||||
/// <summary>
|
||||
/// (1)原材料问题
|
||||
/// </summary>
|
||||
void saveRowMaterialProblem()
|
||||
{
|
||||
List<Model.Report_RowMaterialProblem> detailLists = new List<Model.Report_RowMaterialProblem>();
|
||||
JArray teamGroupData = gvRowMaterialProblem.GetMergedData();
|
||||
foreach (JObject teamGroupRow in teamGroupData)
|
||||
{
|
||||
JObject values = teamGroupRow.Value<JObject>("values");
|
||||
int rowIndex = teamGroupRow.Value<int>("index");
|
||||
Model.Report_RowMaterialProblem newDetail = new Model.Report_RowMaterialProblem
|
||||
{
|
||||
ReportId = ReportId,
|
||||
UnitId = values.Value<string>("UnitId"),
|
||||
ProblemDesrioption = values.Value<string>("ProblemDesrioption"),
|
||||
TreatmentMeasures = values.Value<string>("TreatmentMeasures"),
|
||||
ProcessingResults = values.Value<string>("ProcessingResults"),
|
||||
Remark = values.Value<string>("Remark")
|
||||
};
|
||||
if (gvRowMaterialProblem.Rows[rowIndex].DataKeys.Length > 0)
|
||||
{
|
||||
newDetail.RowMaterialProblemId = gvRowMaterialProblem.Rows[rowIndex].DataKeys[0].ToString();
|
||||
}
|
||||
detailLists.Add(newDetail);
|
||||
}
|
||||
if (detailLists.Count > 0)
|
||||
{
|
||||
Funs.DB.Report_RowMaterialProblem.InsertAllOnSubmit(detailLists);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// (2)施工过程问题
|
||||
/// </summary>
|
||||
void saveConstructionProblems()
|
||||
{
|
||||
List<Model.Report_ConstructionProblems> detailLists = new List<Model.Report_ConstructionProblems>();
|
||||
JArray teamGroupData = gvConstructionProblems.GetMergedData();
|
||||
foreach (JObject teamGroupRow in teamGroupData)
|
||||
{
|
||||
JObject values = teamGroupRow.Value<JObject>("values");
|
||||
int rowIndex = teamGroupRow.Value<int>("index");
|
||||
Model.Report_ConstructionProblems newDetail = new Model.Report_ConstructionProblems
|
||||
{
|
||||
ReportId = ReportId,
|
||||
UnitId = values.Value<string>("UnitId"),
|
||||
ProblemDesrioption = values.Value<string>("ProblemDesrioption"),
|
||||
TreatmentMeasures = values.Value<string>("TreatmentMeasures"),
|
||||
ProcessingResults = values.Value<string>("ProcessingResults"),
|
||||
Remark = values.Value<string>("Remark")
|
||||
};
|
||||
if (gvConstructionProblems.Rows[rowIndex].DataKeys.Length > 0)
|
||||
{
|
||||
newDetail.ConstructionProblemsId = gvConstructionProblems.Rows[rowIndex].DataKeys[0].ToString();
|
||||
}
|
||||
detailLists.Add(newDetail);
|
||||
}
|
||||
if (detailLists.Count > 0)
|
||||
{
|
||||
Funs.DB.Report_ConstructionProblems.InsertAllOnSubmit(detailLists);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 19.下月质量控制重点
|
||||
/// <summary>
|
||||
/// 下月质量控制重点
|
||||
/// </summary>
|
||||
void saveNextQualityControl()
|
||||
{
|
||||
List<Model.Report_NextQualityControl> detailLists = new List<Model.Report_NextQualityControl>();
|
||||
JArray teamGroupData = gvNextQualityControl.GetMergedData();
|
||||
foreach (JObject teamGroupRow in teamGroupData)
|
||||
{
|
||||
JObject values = teamGroupRow.Value<JObject>("values");
|
||||
int rowIndex = teamGroupRow.Value<int>("index");
|
||||
Model.Report_NextQualityControl newDetail = new Model.Report_NextQualityControl
|
||||
{
|
||||
ReportId = ReportId,
|
||||
NextQualityControlContent = values.Value<string>("NextQualityControlContent")
|
||||
};
|
||||
if (gvNextQualityControl.Rows[rowIndex].DataKeys.Length > 0)
|
||||
{
|
||||
newDetail.NextQualityControlId = gvNextQualityControl.Rows[rowIndex].DataKeys[0].ToString();
|
||||
}
|
||||
detailLists.Add(newDetail);
|
||||
}
|
||||
if (detailLists.Count > 0)
|
||||
{
|
||||
Funs.DB.Report_NextQualityControl.InsertAllOnSubmit(detailLists);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
|
@ -7,13 +7,11 @@
|
|||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||
{
|
||||
|
||||
|
||||
public partial class MonthReportNewEdit
|
||||
{
|
||||
|
||||
namespace FineUIPro.Web.CQMS.ManageReportNew {
|
||||
|
||||
|
||||
public partial class MonthReportNewEdit {
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
|
@ -22,7 +20,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
|
@ -31,7 +29,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ContentPanel1 控件。
|
||||
/// </summary>
|
||||
|
@ -40,7 +38,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ContentPanel ContentPanel1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Table1 控件。
|
||||
/// </summary>
|
||||
|
@ -49,7 +47,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlTable Table1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// tabbtn 控件。
|
||||
/// </summary>
|
||||
|
@ -58,7 +56,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlTable tabbtn;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// image15 控件。
|
||||
/// </summary>
|
||||
|
@ -67,7 +65,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Image image15;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Button2 控件。
|
||||
/// </summary>
|
||||
|
@ -76,7 +74,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button Button2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Table5 控件。
|
||||
/// </summary>
|
||||
|
@ -85,7 +83,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlTable Table5;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lblProjectName 控件。
|
||||
/// </summary>
|
||||
|
@ -94,7 +92,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblProjectName;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Label1 控件。
|
||||
/// </summary>
|
||||
|
@ -103,7 +101,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtPeriod 控件。
|
||||
/// </summary>
|
||||
|
@ -112,7 +110,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtPeriod;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// RequiredFieldValidator1 控件。
|
||||
/// </summary>
|
||||
|
@ -121,7 +119,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Label2 控件。
|
||||
/// </summary>
|
||||
|
@ -130,7 +128,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lblTital 控件。
|
||||
/// </summary>
|
||||
|
@ -139,7 +137,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblTital;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Table2 控件。
|
||||
/// </summary>
|
||||
|
@ -148,7 +146,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlTable Table2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtStartDate 控件。
|
||||
/// </summary>
|
||||
|
@ -157,7 +155,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtStartDate;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtEndDate 控件。
|
||||
/// </summary>
|
||||
|
@ -166,7 +164,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtEndDate;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Panel4 控件。
|
||||
/// </summary>
|
||||
|
@ -175,7 +173,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel4;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar2 控件。
|
||||
/// </summary>
|
||||
|
@ -184,7 +182,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Button3 控件。
|
||||
/// </summary>
|
||||
|
@ -193,7 +191,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button Button3;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Form5 控件。
|
||||
/// </summary>
|
||||
|
@ -202,7 +200,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form Form5;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
|
@ -211,7 +209,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtProStage 控件。
|
||||
/// </summary>
|
||||
|
@ -220,7 +218,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtProStage;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtProDescribe 控件。
|
||||
/// </summary>
|
||||
|
@ -229,7 +227,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtProDescribe;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtTargetValue 控件。
|
||||
/// </summary>
|
||||
|
@ -238,7 +236,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtTargetValue;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtMonthPer 控件。
|
||||
/// </summary>
|
||||
|
@ -247,7 +245,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtMonthPer;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtRemarks 控件。
|
||||
/// </summary>
|
||||
|
@ -256,7 +254,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtRemarks;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Panel5 控件。
|
||||
/// </summary>
|
||||
|
@ -265,7 +263,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel5;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Panel6 控件。
|
||||
/// </summary>
|
||||
|
@ -274,7 +272,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel6;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Form6 控件。
|
||||
/// </summary>
|
||||
|
@ -283,7 +281,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form Form6;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtAre0 控件。
|
||||
/// </summary>
|
||||
|
@ -292,7 +290,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtAre0;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Panel7 控件。
|
||||
/// </summary>
|
||||
|
@ -301,7 +299,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel7;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Form7 控件。
|
||||
/// </summary>
|
||||
|
@ -310,7 +308,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form Form7;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtAre1 控件。
|
||||
/// </summary>
|
||||
|
@ -319,7 +317,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtAre1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Panel8 控件。
|
||||
/// </summary>
|
||||
|
@ -328,7 +326,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel8;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Form8 控件。
|
||||
/// </summary>
|
||||
|
@ -337,7 +335,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form Form8;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtAre2 控件。
|
||||
/// </summary>
|
||||
|
@ -346,7 +344,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtAre2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Panel9 控件。
|
||||
/// </summary>
|
||||
|
@ -355,7 +353,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel9;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Panel10 控件。
|
||||
/// </summary>
|
||||
|
@ -364,7 +362,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel10;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Form9 控件。
|
||||
/// </summary>
|
||||
|
@ -373,7 +371,358 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form Form9;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Panel13 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel13;
|
||||
|
||||
/// <summary>
|
||||
/// Form12 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form Form12;
|
||||
|
||||
/// <summary>
|
||||
/// gvQualityInspection 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid gvQualityInspection;
|
||||
|
||||
/// <summary>
|
||||
/// TextBox1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox TextBox1;
|
||||
|
||||
/// <summary>
|
||||
/// TextBox3 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox TextBox3;
|
||||
|
||||
/// <summary>
|
||||
/// Panel11 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel11;
|
||||
|
||||
/// <summary>
|
||||
/// Form10 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form Form10;
|
||||
|
||||
/// <summary>
|
||||
/// gvSpecialCheck 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid gvSpecialCheck;
|
||||
|
||||
/// <summary>
|
||||
/// TextBox4 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox TextBox4;
|
||||
|
||||
/// <summary>
|
||||
/// Panel12 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel12;
|
||||
|
||||
/// <summary>
|
||||
/// Form11 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form Form11;
|
||||
|
||||
/// <summary>
|
||||
/// gvFileReport 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid gvFileReport;
|
||||
|
||||
/// <summary>
|
||||
/// Panel14 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel14;
|
||||
|
||||
/// <summary>
|
||||
/// Panel15 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel15;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar3 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar3;
|
||||
|
||||
/// <summary>
|
||||
/// btnRowMaterialProblem 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnRowMaterialProblem;
|
||||
|
||||
/// <summary>
|
||||
/// Form13 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form Form13;
|
||||
|
||||
/// <summary>
|
||||
/// gvRowMaterialProblem 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid gvRowMaterialProblem;
|
||||
|
||||
/// <summary>
|
||||
/// txtUnitId 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtUnitId;
|
||||
|
||||
/// <summary>
|
||||
/// txtProblemDesrioption 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtProblemDesrioption;
|
||||
|
||||
/// <summary>
|
||||
/// txtTreatmentMeasures 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtTreatmentMeasures;
|
||||
|
||||
/// <summary>
|
||||
/// txtProcessingResults 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtProcessingResults;
|
||||
|
||||
/// <summary>
|
||||
/// txtRemark 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtRemark;
|
||||
|
||||
/// <summary>
|
||||
/// Panel16 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel16;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar4 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar4;
|
||||
|
||||
/// <summary>
|
||||
/// btnAddConstructionProblems 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnAddConstructionProblems;
|
||||
|
||||
/// <summary>
|
||||
/// Form14 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form Form14;
|
||||
|
||||
/// <summary>
|
||||
/// gvConstructionProblems 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid gvConstructionProblems;
|
||||
|
||||
/// <summary>
|
||||
/// drpUnitId 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpUnitId;
|
||||
|
||||
/// <summary>
|
||||
/// txtProblemDesrioption2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtProblemDesrioption2;
|
||||
|
||||
/// <summary>
|
||||
/// txtTreatmentMeasures2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtTreatmentMeasures2;
|
||||
|
||||
/// <summary>
|
||||
/// txtProcessingResults2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtProcessingResults2;
|
||||
|
||||
/// <summary>
|
||||
/// txtRemark2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtRemark2;
|
||||
|
||||
/// <summary>
|
||||
/// Panel17 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel17;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar5 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar5;
|
||||
|
||||
/// <summary>
|
||||
/// btnAddNextControl 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnAddNextControl;
|
||||
|
||||
/// <summary>
|
||||
/// Form15 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form Form15;
|
||||
|
||||
/// <summary>
|
||||
/// gvNextQualityControl 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid gvNextQualityControl;
|
||||
|
||||
/// <summary>
|
||||
/// TextBox2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox TextBox2;
|
||||
|
||||
/// <summary>
|
||||
/// Panel3 控件。
|
||||
/// </summary>
|
||||
|
@ -382,7 +731,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel3;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Form3 控件。
|
||||
/// </summary>
|
||||
|
@ -391,7 +740,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form Form3;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtAre20 控件。
|
||||
/// </summary>
|
||||
|
@ -400,7 +749,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtAre20;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
|
@ -409,7 +758,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Form2 控件。
|
||||
/// </summary>
|
||||
|
@ -418,7 +767,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form Form2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtAre21 控件。
|
||||
/// </summary>
|
||||
|
@ -427,7 +776,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtAre21;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Panel2 控件。
|
||||
/// </summary>
|
||||
|
@ -436,7 +785,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Form4 控件。
|
||||
/// </summary>
|
||||
|
@ -445,7 +794,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form Form4;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtAre22 控件。
|
||||
/// </summary>
|
||||
|
@ -454,7 +803,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtAre22;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
|
@ -463,7 +812,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// hdCheckControlCode 控件。
|
||||
/// </summary>
|
||||
|
@ -472,7 +821,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.HiddenField hdCheckControlCode;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
|
@ -481,7 +830,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Button1 控件。
|
||||
/// </summary>
|
||||
|
@ -490,7 +839,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button Button1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// hdId 控件。
|
||||
/// </summary>
|
||||
|
@ -499,7 +848,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.HiddenField hdId;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// hdAttachUrl 控件。
|
||||
/// </summary>
|
||||
|
@ -508,7 +857,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.HiddenField hdAttachUrl;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ValidationSummary1 控件。
|
||||
/// </summary>
|
||||
|
@ -517,7 +866,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ValidationSummary ValidationSummary1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// hidReportId 控件。
|
||||
/// </summary>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -12,11 +12,9 @@
|
|||
<appSettings>
|
||||
<!--连接字符串-->
|
||||
<!--<add key="ConnectionString" value="Server=.;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>-->
|
||||
<<<<<<< HEAD
|
||||
|
||||
<add key="ConnectionString" value="Server=.\SQL2012;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>
|
||||
=======
|
||||
<add key="ConnectionString" value="Server=DESKTOP-1QITK9E\MSSQLSERVER2;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=123;MultipleActiveResultSets=true;Connect Timeout=1200"/>
|
||||
>>>>>>> c3f952cc792413e938e14d320464c4881181d4f8
|
||||
|
||||
<!--系统名称-->
|
||||
<add key="SystemName" value="智慧施工管理信息系统V1.0"/>
|
||||
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/>
|
||||
|
|
|
@ -1967,6 +1967,12 @@ namespace Model
|
|||
partial void InsertReport_ConstructionProblems(Report_ConstructionProblems instance);
|
||||
partial void UpdateReport_ConstructionProblems(Report_ConstructionProblems instance);
|
||||
partial void DeleteReport_ConstructionProblems(Report_ConstructionProblems instance);
|
||||
partial void InsertReport_CQMS_MonthReportItem(Report_CQMS_MonthReportItem instance);
|
||||
partial void UpdateReport_CQMS_MonthReportItem(Report_CQMS_MonthReportItem instance);
|
||||
partial void DeleteReport_CQMS_MonthReportItem(Report_CQMS_MonthReportItem instance);
|
||||
partial void InsertReport_CQMS_ProblemHandle(Report_CQMS_ProblemHandle instance);
|
||||
partial void UpdateReport_CQMS_ProblemHandle(Report_CQMS_ProblemHandle instance);
|
||||
partial void DeleteReport_CQMS_ProblemHandle(Report_CQMS_ProblemHandle instance);
|
||||
partial void InsertReport_CqmsTarget(Report_CqmsTarget instance);
|
||||
partial void UpdateReport_CqmsTarget(Report_CqmsTarget instance);
|
||||
partial void DeleteReport_CqmsTarget(Report_CqmsTarget instance);
|
||||
|
@ -7796,6 +7802,22 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Report_CQMS_MonthReportItem> Report_CQMS_MonthReportItem
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<Report_CQMS_MonthReportItem>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Report_CQMS_ProblemHandle> Report_CQMS_ProblemHandle
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<Report_CQMS_ProblemHandle>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Report_CqmsTarget> Report_CqmsTarget
|
||||
{
|
||||
get
|
||||
|
@ -39190,8 +39212,6 @@ namespace Model
|
|||
|
||||
private EntitySet<RealName_SynchroSet> _RealName_SynchroSet;
|
||||
|
||||
private EntitySet<Report_ConstructionProblems> _Report_ConstructionProblems;
|
||||
|
||||
private EntitySet<SecuritySystem_SafetyOrganization> _SecuritySystem_SafetyOrganization;
|
||||
|
||||
private EntitySet<SitePerson_DayReportDetail> _SitePerson_DayReportDetail;
|
||||
|
@ -39448,7 +39468,6 @@ namespace Model
|
|||
this._QualityAudit_SubUnitQuality = new EntitySet<QualityAudit_SubUnitQuality>(new Action<QualityAudit_SubUnitQuality>(this.attach_QualityAudit_SubUnitQuality), new Action<QualityAudit_SubUnitQuality>(this.detach_QualityAudit_SubUnitQuality));
|
||||
this._QualityAudit_SubUnitQualityAuditDetail = new EntitySet<QualityAudit_SubUnitQualityAuditDetail>(new Action<QualityAudit_SubUnitQualityAuditDetail>(this.attach_QualityAudit_SubUnitQualityAuditDetail), new Action<QualityAudit_SubUnitQualityAuditDetail>(this.detach_QualityAudit_SubUnitQualityAuditDetail));
|
||||
this._RealName_SynchroSet = new EntitySet<RealName_SynchroSet>(new Action<RealName_SynchroSet>(this.attach_RealName_SynchroSet), new Action<RealName_SynchroSet>(this.detach_RealName_SynchroSet));
|
||||
this._Report_ConstructionProblems = new EntitySet<Report_ConstructionProblems>(new Action<Report_ConstructionProblems>(this.attach_Report_ConstructionProblems), new Action<Report_ConstructionProblems>(this.detach_Report_ConstructionProblems));
|
||||
this._SecuritySystem_SafetyOrganization = new EntitySet<SecuritySystem_SafetyOrganization>(new Action<SecuritySystem_SafetyOrganization>(this.attach_SecuritySystem_SafetyOrganization), new Action<SecuritySystem_SafetyOrganization>(this.detach_SecuritySystem_SafetyOrganization));
|
||||
this._SitePerson_DayReportDetail = new EntitySet<SitePerson_DayReportDetail>(new Action<SitePerson_DayReportDetail>(this.attach_SitePerson_DayReportDetail), new Action<SitePerson_DayReportDetail>(this.detach_SitePerson_DayReportDetail));
|
||||
this._SitePerson_MonthReportDetail = new EntitySet<SitePerson_MonthReportDetail>(new Action<SitePerson_MonthReportDetail>(this.attach_SitePerson_MonthReportDetail), new Action<SitePerson_MonthReportDetail>(this.detach_SitePerson_MonthReportDetail));
|
||||
|
@ -41926,19 +41945,6 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Report_ConstructionProblems_Base_Unit", Storage="_Report_ConstructionProblems", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Report_ConstructionProblems> Report_ConstructionProblems
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Report_ConstructionProblems;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._Report_ConstructionProblems.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_SecuritySystem_SafetyOrganization_Base_Unit", Storage="_SecuritySystem_SafetyOrganization", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<SecuritySystem_SafetyOrganization> SecuritySystem_SafetyOrganization
|
||||
{
|
||||
|
@ -44071,18 +44077,6 @@ namespace Model
|
|||
entity.Base_Unit = null;
|
||||
}
|
||||
|
||||
private void attach_Report_ConstructionProblems(Report_ConstructionProblems entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Unit = this;
|
||||
}
|
||||
|
||||
private void detach_Report_ConstructionProblems(Report_ConstructionProblems entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Unit = null;
|
||||
}
|
||||
|
||||
private void attach_SecuritySystem_SafetyOrganization(SecuritySystem_SafetyOrganization entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
|
@ -98311,10 +98305,10 @@ namespace Model
|
|||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _CNProfessionalId;
|
||||
|
||||
private string _DraCode;
|
||||
|
||||
private string _CNProfessionalId;
|
||||
|
||||
private System.Nullable<System.DateTime> _ReviewDate;
|
||||
|
||||
private string _UnitWorkId;
|
||||
|
@ -98337,10 +98331,10 @@ namespace Model
|
|||
partial void OnIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnCNProfessionalIdChanging(string value);
|
||||
partial void OnCNProfessionalIdChanged();
|
||||
partial void OnDraCodeChanging(string value);
|
||||
partial void OnDraCodeChanged();
|
||||
partial void OnCNProfessionalIdChanging(string value);
|
||||
partial void OnCNProfessionalIdChanged();
|
||||
partial void OnReviewDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnReviewDateChanged();
|
||||
partial void OnUnitWorkIdChanging(string value);
|
||||
|
@ -98382,7 +98376,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
||||
public string ProjectId
|
||||
{
|
||||
get
|
||||
|
@ -98402,6 +98396,26 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DraCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
||||
public string DraCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._DraCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._DraCode != value))
|
||||
{
|
||||
this.OnDraCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._DraCode = value;
|
||||
this.SendPropertyChanged("DraCode");
|
||||
this.OnDraCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CNProfessionalId", DbType="NVarChar(50)")]
|
||||
public string CNProfessionalId
|
||||
{
|
||||
|
@ -98422,26 +98436,6 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DraCode", DbType="NVarChar(50)")]
|
||||
public string DraCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._DraCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._DraCode != value))
|
||||
{
|
||||
this.OnDraCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._DraCode = value;
|
||||
this.SendPropertyChanged("DraCode");
|
||||
this.OnDraCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReviewDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> ReviewDate
|
||||
{
|
||||
|
@ -306119,10 +306113,6 @@ namespace Model
|
|||
|
||||
private string _Remark;
|
||||
|
||||
private EntityRef<Base_Unit> _Base_Unit;
|
||||
|
||||
private EntityRef<Report_WeekAndMonthReport> _Report_WeekAndMonthReport;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
|
@ -306145,8 +306135,6 @@ namespace Model
|
|||
|
||||
public Report_ConstructionProblems()
|
||||
{
|
||||
this._Base_Unit = default(EntityRef<Base_Unit>);
|
||||
this._Report_WeekAndMonthReport = default(EntityRef<Report_WeekAndMonthReport>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
|
@ -306181,10 +306169,6 @@ namespace Model
|
|||
{
|
||||
if ((this._ReportId != value))
|
||||
{
|
||||
if (this._Report_WeekAndMonthReport.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnReportIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ReportId = value;
|
||||
|
@ -306205,10 +306189,6 @@ namespace Model
|
|||
{
|
||||
if ((this._UnitId != value))
|
||||
{
|
||||
if (this._Base_Unit.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnUnitIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._UnitId = value;
|
||||
|
@ -306298,70 +306278,438 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Report_ConstructionProblems_Base_Unit", Storage="_Base_Unit", ThisKey="UnitId", OtherKey="UnitId", IsForeignKey=true)]
|
||||
public Base_Unit Base_Unit
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected virtual void SendPropertyChanging()
|
||||
{
|
||||
if ((this.PropertyChanging != null))
|
||||
{
|
||||
this.PropertyChanging(this, emptyChangingEventArgs);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void SendPropertyChanged(String propertyName)
|
||||
{
|
||||
if ((this.PropertyChanged != null))
|
||||
{
|
||||
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Report_CQMS_MonthReportItem")]
|
||||
public partial class Report_CQMS_MonthReportItem : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _Id;
|
||||
|
||||
private string _ReportId;
|
||||
|
||||
private string _ReType;
|
||||
|
||||
private string _ContentName;
|
||||
|
||||
private System.Nullable<int> _MonthsCount;
|
||||
|
||||
private System.Nullable<int> _ProjectCount;
|
||||
|
||||
private string _RectificationRate;
|
||||
|
||||
private System.Nullable<int> _MonthsBackCount;
|
||||
|
||||
private System.Nullable<int> _TotalNoBackCount;
|
||||
|
||||
private string _Remarks;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnIdChanging(string value);
|
||||
partial void OnIdChanged();
|
||||
partial void OnReportIdChanging(string value);
|
||||
partial void OnReportIdChanged();
|
||||
partial void OnReTypeChanging(string value);
|
||||
partial void OnReTypeChanged();
|
||||
partial void OnContentNameChanging(string value);
|
||||
partial void OnContentNameChanged();
|
||||
partial void OnMonthsCountChanging(System.Nullable<int> value);
|
||||
partial void OnMonthsCountChanged();
|
||||
partial void OnProjectCountChanging(System.Nullable<int> value);
|
||||
partial void OnProjectCountChanged();
|
||||
partial void OnRectificationRateChanging(string value);
|
||||
partial void OnRectificationRateChanged();
|
||||
partial void OnMonthsBackCountChanging(System.Nullable<int> value);
|
||||
partial void OnMonthsBackCountChanged();
|
||||
partial void OnTotalNoBackCountChanging(System.Nullable<int> value);
|
||||
partial void OnTotalNoBackCountChanged();
|
||||
partial void OnRemarksChanging(string value);
|
||||
partial void OnRemarksChanged();
|
||||
#endregion
|
||||
|
||||
public Report_CQMS_MonthReportItem()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string Id
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Base_Unit.Entity;
|
||||
return this._Id;
|
||||
}
|
||||
set
|
||||
{
|
||||
Base_Unit previousValue = this._Base_Unit.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._Base_Unit.HasLoadedOrAssignedValue == false)))
|
||||
if ((this._Id != value))
|
||||
{
|
||||
this.OnIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._Base_Unit.Entity = null;
|
||||
previousValue.Report_ConstructionProblems.Remove(this);
|
||||
}
|
||||
this._Base_Unit.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.Report_ConstructionProblems.Add(this);
|
||||
this._UnitId = value.UnitId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._UnitId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Base_Unit");
|
||||
this._Id = value;
|
||||
this.SendPropertyChanged("Id");
|
||||
this.OnIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Report_ConstructionProblems_Report_WeekAndMonthReport", Storage="_Report_WeekAndMonthReport", ThisKey="ReportId", OtherKey="ReportId", IsForeignKey=true)]
|
||||
public Report_WeekAndMonthReport Report_WeekAndMonthReport
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportId", DbType="NVarChar(50)")]
|
||||
public string ReportId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Report_WeekAndMonthReport.Entity;
|
||||
return this._ReportId;
|
||||
}
|
||||
set
|
||||
{
|
||||
Report_WeekAndMonthReport previousValue = this._Report_WeekAndMonthReport.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._Report_WeekAndMonthReport.HasLoadedOrAssignedValue == false)))
|
||||
if ((this._ReportId != value))
|
||||
{
|
||||
this.OnReportIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._Report_WeekAndMonthReport.Entity = null;
|
||||
previousValue.Report_ConstructionProblems.Remove(this);
|
||||
}
|
||||
this._Report_WeekAndMonthReport.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.Report_ConstructionProblems.Add(this);
|
||||
this._ReportId = value.ReportId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._ReportId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Report_WeekAndMonthReport");
|
||||
this._ReportId = value;
|
||||
this.SendPropertyChanged("ReportId");
|
||||
this.OnReportIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReType", DbType="NVarChar(20)")]
|
||||
public string ReType
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ReType;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ReType != value))
|
||||
{
|
||||
this.OnReTypeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ReType = value;
|
||||
this.SendPropertyChanged("ReType");
|
||||
this.OnReTypeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContentName", DbType="NVarChar(50)")]
|
||||
public string ContentName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ContentName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ContentName != value))
|
||||
{
|
||||
this.OnContentNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ContentName = value;
|
||||
this.SendPropertyChanged("ContentName");
|
||||
this.OnContentNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MonthsCount", DbType="Int")]
|
||||
public System.Nullable<int> MonthsCount
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MonthsCount;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MonthsCount != value))
|
||||
{
|
||||
this.OnMonthsCountChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MonthsCount = value;
|
||||
this.SendPropertyChanged("MonthsCount");
|
||||
this.OnMonthsCountChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCount", DbType="Int")]
|
||||
public System.Nullable<int> ProjectCount
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProjectCount;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProjectCount != value))
|
||||
{
|
||||
this.OnProjectCountChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProjectCount = value;
|
||||
this.SendPropertyChanged("ProjectCount");
|
||||
this.OnProjectCountChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RectificationRate", DbType="NVarChar(50)")]
|
||||
public string RectificationRate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RectificationRate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RectificationRate != value))
|
||||
{
|
||||
this.OnRectificationRateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._RectificationRate = value;
|
||||
this.SendPropertyChanged("RectificationRate");
|
||||
this.OnRectificationRateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MonthsBackCount", DbType="Int")]
|
||||
public System.Nullable<int> MonthsBackCount
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MonthsBackCount;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MonthsBackCount != value))
|
||||
{
|
||||
this.OnMonthsBackCountChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MonthsBackCount = value;
|
||||
this.SendPropertyChanged("MonthsBackCount");
|
||||
this.OnMonthsBackCountChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalNoBackCount", DbType="Int")]
|
||||
public System.Nullable<int> TotalNoBackCount
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TotalNoBackCount;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TotalNoBackCount != value))
|
||||
{
|
||||
this.OnTotalNoBackCountChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TotalNoBackCount = value;
|
||||
this.SendPropertyChanged("TotalNoBackCount");
|
||||
this.OnTotalNoBackCountChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remarks", DbType="NVarChar(500)")]
|
||||
public string Remarks
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Remarks;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Remarks != value))
|
||||
{
|
||||
this.OnRemarksChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Remarks = value;
|
||||
this.SendPropertyChanged("Remarks");
|
||||
this.OnRemarksChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected virtual void SendPropertyChanging()
|
||||
{
|
||||
if ((this.PropertyChanging != null))
|
||||
{
|
||||
this.PropertyChanging(this, emptyChangingEventArgs);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void SendPropertyChanged(String propertyName)
|
||||
{
|
||||
if ((this.PropertyChanged != null))
|
||||
{
|
||||
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Report_CQMS_ProblemHandle")]
|
||||
public partial class Report_CQMS_ProblemHandle : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _Id;
|
||||
|
||||
private string _ReportId;
|
||||
|
||||
private string _ReType;
|
||||
|
||||
private string _UnitName;
|
||||
|
||||
private string _ProblemDes;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnIdChanging(string value);
|
||||
partial void OnIdChanged();
|
||||
partial void OnReportIdChanging(string value);
|
||||
partial void OnReportIdChanged();
|
||||
partial void OnReTypeChanging(string value);
|
||||
partial void OnReTypeChanged();
|
||||
partial void OnUnitNameChanging(string value);
|
||||
partial void OnUnitNameChanged();
|
||||
partial void OnProblemDesChanging(string value);
|
||||
partial void OnProblemDesChanged();
|
||||
#endregion
|
||||
|
||||
public Report_CQMS_ProblemHandle()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string Id
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Id;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Id != value))
|
||||
{
|
||||
this.OnIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Id = value;
|
||||
this.SendPropertyChanged("Id");
|
||||
this.OnIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportId", DbType="NVarChar(50)")]
|
||||
public string ReportId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ReportId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ReportId != value))
|
||||
{
|
||||
this.OnReportIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ReportId = value;
|
||||
this.SendPropertyChanged("ReportId");
|
||||
this.OnReportIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReType", DbType="NChar(20)")]
|
||||
public string ReType
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ReType;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ReType != value))
|
||||
{
|
||||
this.OnReTypeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ReType = value;
|
||||
this.SendPropertyChanged("ReType");
|
||||
this.OnReTypeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(100)")]
|
||||
public string UnitName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._UnitName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._UnitName != value))
|
||||
{
|
||||
this.OnUnitNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._UnitName = value;
|
||||
this.SendPropertyChanged("UnitName");
|
||||
this.OnUnitNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProblemDes", DbType="NVarChar(100)")]
|
||||
public string ProblemDes
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProblemDes;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProblemDes != value))
|
||||
{
|
||||
this.OnProblemDesChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProblemDes = value;
|
||||
this.SendPropertyChanged("ProblemDes");
|
||||
this.OnProblemDesChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -306629,8 +306977,6 @@ namespace Model
|
|||
|
||||
private string _NextQualityControlContent;
|
||||
|
||||
private EntityRef<Report_WeekAndMonthReport> _Report_WeekAndMonthReport;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
|
@ -306645,7 +306991,6 @@ namespace Model
|
|||
|
||||
public Report_NextQualityControl()
|
||||
{
|
||||
this._Report_WeekAndMonthReport = default(EntityRef<Report_WeekAndMonthReport>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
|
@ -306680,10 +307025,6 @@ namespace Model
|
|||
{
|
||||
if ((this._ReportId != value))
|
||||
{
|
||||
if (this._Report_WeekAndMonthReport.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnReportIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ReportId = value;
|
||||
|
@ -306713,40 +307054,6 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Report_NextQualityControl_Report_WeekAndMonthReport", Storage="_Report_WeekAndMonthReport", ThisKey="ReportId", OtherKey="ReportId", IsForeignKey=true)]
|
||||
public Report_WeekAndMonthReport Report_WeekAndMonthReport
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Report_WeekAndMonthReport.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
Report_WeekAndMonthReport previousValue = this._Report_WeekAndMonthReport.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._Report_WeekAndMonthReport.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._Report_WeekAndMonthReport.Entity = null;
|
||||
previousValue.Report_NextQualityControl.Remove(this);
|
||||
}
|
||||
this._Report_WeekAndMonthReport.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.Report_NextQualityControl.Add(this);
|
||||
this._ReportId = value.ReportId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._ReportId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Report_WeekAndMonthReport");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
@ -306922,8 +307229,6 @@ namespace Model
|
|||
|
||||
private string _Remark;
|
||||
|
||||
private EntityRef<Report_WeekAndMonthReport> _Report_WeekAndMonthReport;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
|
@ -306946,7 +307251,6 @@ namespace Model
|
|||
|
||||
public Report_RowMaterialProblem()
|
||||
{
|
||||
this._Report_WeekAndMonthReport = default(EntityRef<Report_WeekAndMonthReport>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
|
@ -306981,10 +307285,6 @@ namespace Model
|
|||
{
|
||||
if ((this._ReportId != value))
|
||||
{
|
||||
if (this._Report_WeekAndMonthReport.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnReportIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ReportId = value;
|
||||
|
@ -307094,40 +307394,6 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Report_RowMaterialProblem_Report_WeekAndMonthReport", Storage="_Report_WeekAndMonthReport", ThisKey="ReportId", OtherKey="ReportId", IsForeignKey=true)]
|
||||
public Report_WeekAndMonthReport Report_WeekAndMonthReport
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Report_WeekAndMonthReport.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
Report_WeekAndMonthReport previousValue = this._Report_WeekAndMonthReport.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._Report_WeekAndMonthReport.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._Report_WeekAndMonthReport.Entity = null;
|
||||
previousValue.Report_RowMaterialProblem.Remove(this);
|
||||
}
|
||||
this._Report_WeekAndMonthReport.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.Report_RowMaterialProblem.Add(this);
|
||||
this._ReportId = value.ReportId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._ReportId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Report_WeekAndMonthReport");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
@ -307454,12 +307720,6 @@ namespace Model
|
|||
|
||||
private EntitySet<Report_Comprehensive> _Report_Comprehensive;
|
||||
|
||||
private EntitySet<Report_ConstructionProblems> _Report_ConstructionProblems;
|
||||
|
||||
private EntitySet<Report_NextQualityControl> _Report_NextQualityControl;
|
||||
|
||||
private EntitySet<Report_RowMaterialProblem> _Report_RowMaterialProblem;
|
||||
|
||||
private EntitySet<Report_ThisWeekOrMonthContent> _Report_ThisWeekOrMonthContent;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
@ -307485,9 +307745,6 @@ namespace Model
|
|||
public Report_WeekAndMonthReport()
|
||||
{
|
||||
this._Report_Comprehensive = new EntitySet<Report_Comprehensive>(new Action<Report_Comprehensive>(this.attach_Report_Comprehensive), new Action<Report_Comprehensive>(this.detach_Report_Comprehensive));
|
||||
this._Report_ConstructionProblems = new EntitySet<Report_ConstructionProblems>(new Action<Report_ConstructionProblems>(this.attach_Report_ConstructionProblems), new Action<Report_ConstructionProblems>(this.detach_Report_ConstructionProblems));
|
||||
this._Report_NextQualityControl = new EntitySet<Report_NextQualityControl>(new Action<Report_NextQualityControl>(this.attach_Report_NextQualityControl), new Action<Report_NextQualityControl>(this.detach_Report_NextQualityControl));
|
||||
this._Report_RowMaterialProblem = new EntitySet<Report_RowMaterialProblem>(new Action<Report_RowMaterialProblem>(this.attach_Report_RowMaterialProblem), new Action<Report_RowMaterialProblem>(this.detach_Report_RowMaterialProblem));
|
||||
this._Report_ThisWeekOrMonthContent = new EntitySet<Report_ThisWeekOrMonthContent>(new Action<Report_ThisWeekOrMonthContent>(this.attach_Report_ThisWeekOrMonthContent), new Action<Report_ThisWeekOrMonthContent>(this.detach_Report_ThisWeekOrMonthContent));
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
OnCreated();
|
||||
|
@ -307630,45 +307887,6 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Report_ConstructionProblems_Report_WeekAndMonthReport", Storage="_Report_ConstructionProblems", ThisKey="ReportId", OtherKey="ReportId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Report_ConstructionProblems> Report_ConstructionProblems
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Report_ConstructionProblems;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._Report_ConstructionProblems.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Report_NextQualityControl_Report_WeekAndMonthReport", Storage="_Report_NextQualityControl", ThisKey="ReportId", OtherKey="ReportId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Report_NextQualityControl> Report_NextQualityControl
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Report_NextQualityControl;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._Report_NextQualityControl.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Report_RowMaterialProblem_Report_WeekAndMonthReport", Storage="_Report_RowMaterialProblem", ThisKey="ReportId", OtherKey="ReportId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Report_RowMaterialProblem> Report_RowMaterialProblem
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Report_RowMaterialProblem;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._Report_RowMaterialProblem.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Report_ThisWeekOrMonthContent_Report_WeekAndMonthReport", Storage="_Report_ThisWeekOrMonthContent", ThisKey="ReportId", OtherKey="ReportId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Report_ThisWeekOrMonthContent> Report_ThisWeekOrMonthContent
|
||||
{
|
||||
|
@ -307748,42 +307966,6 @@ namespace Model
|
|||
entity.Report_WeekAndMonthReport = null;
|
||||
}
|
||||
|
||||
private void attach_Report_ConstructionProblems(Report_ConstructionProblems entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Report_WeekAndMonthReport = this;
|
||||
}
|
||||
|
||||
private void detach_Report_ConstructionProblems(Report_ConstructionProblems entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Report_WeekAndMonthReport = null;
|
||||
}
|
||||
|
||||
private void attach_Report_NextQualityControl(Report_NextQualityControl entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Report_WeekAndMonthReport = this;
|
||||
}
|
||||
|
||||
private void detach_Report_NextQualityControl(Report_NextQualityControl entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Report_WeekAndMonthReport = null;
|
||||
}
|
||||
|
||||
private void attach_Report_RowMaterialProblem(Report_RowMaterialProblem entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Report_WeekAndMonthReport = this;
|
||||
}
|
||||
|
||||
private void detach_Report_RowMaterialProblem(Report_RowMaterialProblem entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Report_WeekAndMonthReport = null;
|
||||
}
|
||||
|
||||
private void attach_Report_ThisWeekOrMonthContent(Report_ThisWeekOrMonthContent entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
|
|
Loading…
Reference in New Issue