提交代码

This commit is contained in:
高飞 2024-03-18 09:09:37 +08:00
commit cee07e79de
27 changed files with 5390 additions and 245 deletions

View File

@ -27,7 +27,7 @@ REM --------------
@echo.
@call "%VS150%"
SqlMetal /views /server:. /database:SGGLDB_WH /code:%Model_ROOT%\Model.cs /namespace:Model
SqlMetal /views /server:DESKTOP-1QITK9E\MSSQLSERVER2 /user:sa /password:123 /database:SGGLDB_WH /code:%Model_ROOT%\Model.cs /namespace:Model
@ECHO 完成
pause

View File

@ -0,0 +1,66 @@
--
insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
values('4164BF9B-DA7C-4287-AC11-D1EB6A664F57','施工质量月报(新)','CQMS/ManageReportNew/MonthReport.aspx',16,'7ecf0229-8a0b-40ce-8b04-e556f7bd3394','Menu_CQMS',0,1,1)
go
insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('D3887FC5-64CE-4622-ABB4-4E5FE7D86814','4164BF9B-DA7C-4287-AC11-D1EB6A664F57','增加',1)
insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('0B7B56F9-5FBD-4AE8-8A56-B6B5A7653E5B','4164BF9B-DA7C-4287-AC11-D1EB6A664F57','修改',2)
insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('03213986-B14E-4936-98E7-F2EC693B8547','4164BF9B-DA7C-4287-AC11-D1EB6A664F57','删除',3)
insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('ADB32469-D940-4FE2-8D11-BE9C046CCE54','4164BF9B-DA7C-4287-AC11-D1EB6A664F57','保存',4)
go
CREATE TABLE [dbo].[Report_WeekAndMonthReport_New](
[Id] [nvarchar](50) NOT NULL,
[ProjectId] [nvarchar](50) NULL,
[StartDate] [datetime] NULL,
[EndDate] [datetime] NULL,
[SortId] [nvarchar](50) NULL,
[CreateDate] [datetime] NULL,
[CreateMan] [nvarchar](50) NULL,
CONSTRAINT [PK_Report_WeekAndMonthReport_New] 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
CREATE TABLE [dbo].[Report_TextBoxContent](
[Id] [nvarchar](50) NOT NULL,
[ReportId] [nvarchar](50) NULL,
[ContentType] [nvarchar](20) NULL,
[ContentText] [nvarchar](1000) NULL,
CONSTRAINT [PK_Report_TextBoxContent] 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'类型' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Report_TextBoxContent', @level2type=N'COLUMN',@level2name=N'ContentType'
GO
CREATE TABLE [dbo].[Report_CqmsTarget](
[Id] [nvarchar](50) NOT NULL,
[ReportId] [nvarchar](50) NULL,
[ProStage] [nvarchar](50) NULL,
[ProDescribe] [nvarchar](200) NULL,
[TargetValue] [nvarchar](50) NULL,
[MonthPer] [nvarchar](50) NULL,
[Remarks] [nvarchar](200) NULL,
[SortId] [int] NULL,
CONSTRAINT [PK_Report_CqmsTarget] 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

View File

@ -44,9 +44,6 @@
<LangVersion>latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<Reference Include="Apache.NMS.ActiveMQ">
<HintPath>..\..\..\SGGL_CWCEC\SGGL\BLL\bin\Debug\Apache.NMS.ActiveMQ.dll</HintPath>
</Reference>
<Reference Include="Aspose.Words">
<HintPath>..\FineUIPro\Reference BLL\Aspose.Words.dll</HintPath>
</Reference>
@ -260,6 +257,9 @@
<Compile Include="CQMS\ManageReport\NextQualityControlService.cs" />
<Compile Include="CQMS\ManageReport\ProjectQualityWorkSummaryReportService.cs" />
<Compile Include="CQMS\ManageReport\ProjectQuarterlyProjectQualityService.cs" />
<Compile Include="CQMS\ManageReport\ReportNew\CqmsTargetService.cs" />
<Compile Include="CQMS\ManageReport\ReportNew\TextBoxContentService.cs" />
<Compile Include="CQMS\ManageReport\ReportNew\WeekAndMonthReportNewService.cs" />
<Compile Include="CQMS\ManageReport\RowMaterialProblemService.cs" />
<Compile Include="CQMS\ManageReport\ThisWeekOrMonthContentService.cs" />
<Compile Include="CQMS\ManageReport\WeekAndMonthReportService.cs" />
@ -1031,6 +1031,9 @@
<WCFMetadataStorage Include="Service References\MCSService\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Apache.NMS.ActiveMQ">
<Version>1.8.0</Version>
</PackageReference>
<PackageReference Include="EmitMapper">
<Version>1.0.0</Version>
</PackageReference>

View File

@ -0,0 +1,95 @@
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BLL
{
public class CqmsTargetService
{
public static bool Insert(Model.Report_CqmsTarget model)
{
try
{
Funs.DB.Report_CqmsTarget.InsertOnSubmit(model);
Funs.DB.SubmitChanges();
return true;
}
catch (Exception ex)
{
ErrLogInfo.WriteLog($"插入数据失败,原因:{ex.Message}");
return false;
}
}
public static bool Update(Model.Report_CqmsTarget model)
{
try
{
var result = Funs.DB.Report_CqmsTarget.FirstOrDefault(a => a.Id == model.Id);
if (result != null)
{
result.ProStage = model.ProStage;
result.ProDescribe = model.ProDescribe;
result.TargetValue = model.TargetValue;
result.MonthPer = model.MonthPer;
result.Remarks = model.Remarks;
result.SortId = model.SortId;
Funs.DB.SubmitChanges();
}
return true;
}
catch (Exception ex)
{
ErrLogInfo.WriteLog($"更新表数据失败,原因:{ex.Message}");
return false;
}
}
public static bool Delete(List<string> newId)
{
try
{
var result = Funs.DB.Report_CqmsTarget.Where(a => newId.Contains(a.Id)).ToList();
if (result.Count > 0)
{
Funs.DB.Report_CqmsTarget.DeleteAllOnSubmit(result);
Funs.DB.SubmitChanges();
}
return true;
}
catch (Exception ex)
{
ErrLogInfo.WriteLog($"删除数据失败,原因:{ex.Message}");
return false;
}
}
public static bool Delete(string newId)
{
try
{
var result = Funs.DB.Report_CqmsTarget.Where(a => a.ReportId == newId).ToList();
if (result.Count > 0)
{
Funs.DB.Report_CqmsTarget.DeleteAllOnSubmit(result);
Funs.DB.SubmitChanges();
}
return true;
}
catch (Exception ex)
{
ErrLogInfo.WriteLog($"删除数据失败,原因:{ex.Message}");
return false;
}
}
public static Model.Report_CqmsTarget Detail(string newId)
{
var result = Funs.DB.Report_CqmsTarget.FirstOrDefault(a => a.Id == newId);
return result;
}
}
}

View File

@ -0,0 +1,93 @@
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BLL
{
/// <summary>
/// 质量月报-文本框 内容接口
/// </summary>
public class TextBoxContentService
{
public static bool Insert(Model.Report_TextBoxContent model)
{
try
{
Funs.DB.Report_TextBoxContent.InsertOnSubmit(model);
Funs.DB.SubmitChanges();
return true;
}
catch (Exception ex)
{
ErrLogInfo.WriteLog($"插入数据失败,原因:{ex.Message}");
return false;
}
}
public static bool Update(Model.Report_TextBoxContent model)
{
try
{
var result = Funs.DB.Report_TextBoxContent.FirstOrDefault(a => a.Id == model.Id);
if (result != null)
{
result.ContentText = model.ContentText;
Funs.DB.SubmitChanges();
}
return true;
}
catch (Exception ex)
{
ErrLogInfo.WriteLog($"更新表数据失败,原因:{ex.Message}");
return false;
}
}
public static bool Delete(List<string> newId)
{
try
{
var result = Funs.DB.Report_TextBoxContent.Where(a => newId.Contains(a.Id)).ToList();
if (result.Count > 0)
{
Funs.DB.Report_TextBoxContent.DeleteAllOnSubmit(result);
Funs.DB.SubmitChanges();
}
return true;
}
catch (Exception ex)
{
ErrLogInfo.WriteLog($"删除数据失败,原因:{ex.Message}");
return false;
}
}
public static bool Delete(string newId)
{
try
{
var result = Funs.DB.Report_TextBoxContent.Where(a => a.ReportId==newId).ToList();
if (result.Count > 0)
{
Funs.DB.Report_TextBoxContent.DeleteAllOnSubmit(result);
Funs.DB.SubmitChanges();
}
return true;
}
catch (Exception ex)
{
ErrLogInfo.WriteLog($"删除数据失败,原因:{ex.Message}");
return false;
}
}
public static Model.Report_TextBoxContent Detail(string newId)
{
var result = Funs.DB.Report_TextBoxContent.FirstOrDefault(a => a.Id == newId);
return result;
}
}
}

View File

@ -0,0 +1,95 @@
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BLL
{
/// <summary>
/// 最新质量月报接口
/// </summary>
public class WeekAndMonthReportNewService
{
public static bool Insert(Model.Report_WeekAndMonthReport_New model)
{
try
{
Funs.DB.Report_WeekAndMonthReport_New.InsertOnSubmit(model);
Funs.DB.SubmitChanges();
return true;
}
catch (Exception ex)
{
ErrLogInfo.WriteLog($"插入数据失败,原因:{ex.Message}");
return false;
}
}
public static bool Update(Model.Report_WeekAndMonthReport_New model)
{
try
{
var result = Funs.DB.Report_WeekAndMonthReport_New.FirstOrDefault(a => a.Id == model.Id);
if (result != null)
{
result.StartDate = model.StartDate;
result.EndDate = model.EndDate;
result.SortId = model.SortId;
Funs.DB.SubmitChanges();
}
return true;
}
catch (Exception ex)
{
ErrLogInfo.WriteLog($"更新表数据失败,原因:{ex.Message}");
return false;
}
}
public static bool Delete(List<string> newId)
{
try
{
var result = Funs.DB.Report_WeekAndMonthReport_New.Where(a => newId.Contains(a.Id)).ToList();
if (result.Count > 0)
{
Funs.DB.Report_WeekAndMonthReport_New.DeleteAllOnSubmit(result);
Funs.DB.SubmitChanges();
}
return true;
}
catch (Exception ex)
{
ErrLogInfo.WriteLog($"删除数据失败,原因:{ex.Message}");
return false;
}
}
public static bool Delete(string newId)
{
try
{
var result = Funs.DB.Report_WeekAndMonthReport_New.Where(a => a.Id== newId).ToList();
if (result.Count > 0)
{
Funs.DB.Report_WeekAndMonthReport_New.DeleteAllOnSubmit(result);
Funs.DB.SubmitChanges();
}
return true;
}
catch (Exception ex)
{
ErrLogInfo.WriteLog($"删除数据失败,原因:{ex.Message}");
return false;
}
}
public static Model.Report_WeekAndMonthReport_New Detail(string newId)
{
var result = Funs.DB.Report_WeekAndMonthReport_New.FirstOrDefault(a => a.Id == newId);
return result;
}
}
}

View File

@ -3520,6 +3520,11 @@ namespace BLL
/// </summary>
public const string DivisionId15 = "BD0C9DC9-C621-497E-B947-A85F46D86AA4";
/// <summary>
/// 质量周报(新)
/// </summary>
public const string CQWeekReportNewMenuId = "4164BF9B-DA7C-4287-AC11-D1EB6A664F57";
#region
#region
/// <summary>

View File

@ -0,0 +1,80 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MonthReport.aspx.cs" Inherits="FineUIPro.Web.CQMS.ManageReportNew.MonthReport" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
<f:Panel ID="Panel1" runat="server" Margin="5px" BodyPadding="5px" ShowBorder="false"
ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
<Items>
<f:Grid ID="Grid1" IsFluid="true" CssClass="blockpanel" ShowBorder="true" ShowHeader="false" runat="server" EnableCollapse="true" SortField="StartDate"
DataIDField="Id" SortDirection="DESC" BoxFlex="1" AllowCellEditing="true"
DataKeyNames="Id" EnableColumnLines="true" ClicksToEdit="2" AllowSorting="true" AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange" ForceFit="true"
AllowFilters="true" EnableTextSelection="True">
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
<Items>
<f:ToolbarFill runat="server"></f:ToolbarFill>
<f:Button ID="btnNew" Icon="Add" EnablePostBack="true"
runat="server" OnClick="btnNew_Click">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
<Columns>
<f:TemplateField ColumnID="tfPageIndex" Width="55px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center"
EnableLock="true" Locked="False">
<ItemTemplate>
<asp:Label ID="lblPageIndex" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:RenderField Width="180px" ColumnID="SortId" DataField="SortId"
FieldType="String" HeaderText="周期" TextAlign="Center" HeaderTextAlign="Center" >
</f:RenderField>
<f:TemplateField ColumnID="ReportId" Width="100px" HeaderText="时间段" HeaderTextAlign="Center" TextAlign="Center"
EnableLock="true" Locked="False">
<ItemTemplate>
<asp:Label ID="Label41" runat="server" Text='<%# ConvertDate(Eval("Id")) %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
</Columns>
<Listeners>
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
</Listeners>
</f:Grid>
</Items>
</f:Panel>
<f:Window ID="Window1" Title="编辑施工质量月报" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="Window1_Close"
Width="1300px" Height="620px">
</f:Window>
<f:Menu ID="Menu1" runat="server">
<Items>
<f:MenuButton ID="btnMenuModify" EnablePostBack="true" runat="server" Text="修改" Icon="Pencil" OnClick="btnMenuModify_Click" Hidden="true">
</f:MenuButton>
<f:MenuButton ID="btnMenuView" EnablePostBack="true" runat="server" Text="查看" Icon="ApplicationViewIcons"
OnClick="btnMenuView_Click">
</f:MenuButton>
<f:MenuButton ID="btnMenuDel" EnablePostBack="true" runat="server" Icon="Delete" Text="删除" ConfirmText="确定删除当前数据?"
OnClick="btnMenuDel_Click" Hidden="true">
</f:MenuButton>
</Items>
</f:Menu>
</form>
<script type="text/javascript">
var menuID = '<%= Menu1.ClientID %>';
// 返回false来阻止浏览器右键菜单
function onRowContextMenu(event, rowId) {
F(menuID).show(); //showAt(event.pageX, event.pageY);
return false;
}
</script>
</body>
</html>

View File

@ -0,0 +1,135 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;
namespace FineUIPro.Web.CQMS.ManageReportNew
{
public partial class MonthReport : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
BindGrid();
GetButtonPower();
}
}
public void BindGrid()
{
string strSql = @"select Id, Sortid, StartDate, EndDate, ProjectId
from Report_WeekAndMonthReport_New C
where C.ProjectId = @ProjectId";
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
SqlParameter[] parameter = listStr.ToArray();
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
Grid1.RecordCount = tb.Rows.Count;
tb = GetFilteredTable(Grid1.FilteredData, tb);
var table = this.GetPagedDataTable(Grid1, tb);
Grid1.DataSource = table;
Grid1.DataBind();
}
/// <summary>
/// 分页
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
{
BindGrid();
}
/// <summary>
/// 格式化字符串
/// </summary>
/// <param name="reportId"></param>
/// <returns></returns>
protected static string ConvertDate(object reportId)
{
string date = string.Empty;
if (reportId != null)
{
var r = BLL.WeekAndMonthReportNewService.Detail(reportId.ToString());
if (r != null)
{
date = string.Format("{0:yyyy-MM-dd}", r.StartDate) + " 至 " + string.Format("{0:yyyy-MM-dd}", r.EndDate);
}
}
return date;
}
protected void btnNew_Click(object sender, EventArgs e)
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("MonthReportEdit.aspx", "添加 - ")));
}
protected void btnMenuModify_Click(object sender, EventArgs e)
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("MonthReportEdit.aspx?reportId=" + Grid1.SelectedRowID, "添加 - ")));
}
protected void btnMenuView_Click(object sender, EventArgs e)
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("MonthReportEdit.aspx?view=view&reportId=" + Grid1.SelectedRowID, "查看 - ")));
}
protected void btnMenuDel_Click(object sender, EventArgs e)
{
if (Grid1.SelectedRowIndexArray.Length > 0)
{
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
{
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
//本月质量目标管理情况
CqmsTargetService.Delete(rowID);
TextBoxContentService.Delete(rowID);
WeekAndMonthReportNewService.Delete(rowID);
}
BindGrid();
ShowNotify("删除数据成功!", MessageBoxIcon.Success);
}
}
protected void Window1_Close(object sender, WindowCloseEventArgs e)
{
BindGrid();
}
#region
/// <summary>
/// 获取按钮权限
/// </summary>
/// <param name="button"></param>
/// <returns></returns>
private void GetButtonPower()
{
if (Request.Params["value"] == BLL.Const._Null)
{
return;
}
var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.CQWeekReportNewMenuId);
if (buttonList.Count() > 0)
{
if (buttonList.Contains(BLL.Const.BtnModify))
{
this.btnMenuModify.Hidden = false;
}
if (buttonList.Contains(BLL.Const.BtnDelete))
{
this.btnMenuDel.Hidden = false;
}
}
}
#endregion
}
}

View File

@ -0,0 +1,134 @@
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.CQMS.ManageReportNew
{
public partial class MonthReport
{
/// <summary>
/// form1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// Panel1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel1;
/// <summary>
/// Grid1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid Grid1;
/// <summary>
/// Toolbar1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// btnNew 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnNew;
/// <summary>
/// lblPageIndex 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblPageIndex;
/// <summary>
/// Label41 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label Label41;
/// <summary>
/// Window1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Window Window1;
/// <summary>
/// Menu1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Menu Menu1;
/// <summary>
/// btnMenuModify 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.MenuButton btnMenuModify;
/// <summary>
/// btnMenuView 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.MenuButton btnMenuView;
/// <summary>
/// btnMenuDel 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.MenuButton btnMenuDel;
}
}

View File

@ -0,0 +1,386 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MonthReportEdit.aspx.cs" Inherits="FineUIPro.Web.CQMS.ManageReportNew.MonthReportEdit" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>编辑施工质量周报(新)</title>
<base target="_self" />
<script type="text/javascript" src="../../res/index/js/jquery-3.4.1.min.js"></script>
<script src="../../Controls/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<style>
/*.myIframe {
overflow: hidden;*/ /* 隐藏滚动条 */
/*height: 100%;*/ /* 根据需要调整高度 */
/*}*/
</style>
<style>
.Toolbar2 {
position: absolute;
z-index: 999999;
right: 0;
width: 83px;
top: -43px;
background-color: rgba(0, 0, 0, 0);
}
</style>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" runat="server" />
<f:ContentPanel ID="ContentPanel1" IsFluid="true" CssClass="blockpanel" runat="server" BodyPadding="10px"
ShowBorder="true" ShowHeader="false" Title="内容面板">
<table id="Table1" runat="server" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
<td style="width: 100%; background: url('../Images/bg-1.gif')">
<table id="tabbtn" runat="server" width="100%" style="background: url('../Images/bg-1.gif')"
cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="middle" style="width: 50%; font-size: 12pt; font-weight: bold">
<asp:Image ImageUrl="~/Images/lv-1.gif" ImageAlign="AbsMiddle" ID="image15" runat="server" />
&nbsp;编辑施工质量月报
</td>
<td align="right" valign="middle" style="width: 50%; height: 30px;">
<%-- <asp:ImageButton ID="btnSave" runat="server" ImageUrl="~/Images/savebutton.gif" OnClick="btnSave_Click" OnClientClick="demo"
ValidationGroup="Save" />--%>
<f:Button ID="Button2" Icon="SystemSave" runat="server" ToolTip="保存" Text="保存" OnClick="btnSave_Click">
</f:Button>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table id="Table5" runat="server" width="100%" border="1" cellpadding="0" cellspacing="0"
bordercolor="#bcd2e7" bordercolordark="#bcd2e7" bordercolorlight="#bcd2e7">
<tr>
<td align="center" style="width: 24%;" rowspan="2">
<img alt="" src="../../Images/Logo.jpg" />
</td>
<td align="center" style="width: 46%; height: 30px; vertical-align: middle; font-size: 12pt;">
<asp:Label ID="lblProjectName" runat="server"></asp:Label>
</td>
<td align="left" style="width: 30%; vertical-align: bottom;" onkeypress="keypress()"
rowspan="2">
<asp:Label ID="Label1" runat="server" Text="第("></asp:Label>
<asp:TextBox ID="txtPeriod" runat="server" Width="30px" CssClass="textboxStyleNone"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtPeriod"
Display="Dynamic" ErrorMessage="&quot;周期不能为空!&quot;" ForeColor="Red" ValidationGroup="Save">*</asp:RequiredFieldValidator>
<asp:Label ID="Label2" runat="server" Text=")期"></asp:Label>
<br />
<br />
</td>
</tr>
<tr>
<td align="center" style="width: 46%; height: 50px; vertical-align: middle; font-size: 20pt; font-weight: bold">
<asp:Label ID="lblTital" runat="server" Text="施 工 质 量 月 报"></asp:Label>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table id="Table2" runat="server" width="100%" cellpadding="0" cellspacing="0" border="1"
bordercolor="#bcd2e7" bordercolordark="#bcd2e7" bordercolorlight="#bcd2e7">
<tr style="height: 32px">
<td align="right" style="width: 10%">时间段&nbsp;
</td>
<td align="left" style="width: 90%">
<asp:TextBox ID="txtStartDate" runat="server" class="Wdate" Style="width: 20%; cursor: hand"
onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',skin:'whyGreen'})" AutoPostBack="True"
OnTextChanged="txtStartDate_TextChanged"></asp:TextBox>
<asp:TextBox ID="txtEndDate" runat="server" class="Wdate" Style="width: 20%; cursor: hand"
onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',skin:'whyGreen'})" AutoPostBack="True"
OnTextChanged="txtStartDate_TextChanged" valueChanged="txtStartDate_TextChanged"></asp:TextBox>
</td>
</tr>
</table>
</td>
</tr>
<%--<tr>
<td>
<table id="Table9" runat="server" width="100%" cellpadding="0" cellspacing="0">
<tr style="background: url('../../Images/bg-1.gif')">
<td align="left" valign="middle" style="font-size: 12pt; font-weight: bold">
<asp:Image ImageUrl="~/Images/lv-1.gif" ImageAlign="AbsMiddle" ID="image6" runat="server" />
&nbsp;20项目质量体系审核
</td>
</tr>
<tr>
<td align="left" valign="middle" style="height: 50px;">
<table width="100%">
<tr>
<td>
<asp:TextBox ID="txtContent20" runat="server" TextMode="MultiLine" Rows="6" Width="90%"></asp:TextBox>
</td>
</tr>
</table>
</td>
</tr>
</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>
</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: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="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="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>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<%--2.本月主要工作内容--%>
<f:Panel ID="Panel5" IsFluid="true" Title="2.本月主要工作内容" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Panel ID="Panel6" IsFluid="true" Title="2.1 设计质量情况" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form6" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtAre0" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel7" IsFluid="true" Title="2.2 采购质量情况" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form7" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtAre1" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
<f:Panel ID="Panel8" IsFluid="true" Title="2.3 施工质量情况" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form8" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtAre2" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
</Items>
</f:Panel>
<f:Panel ID="Panel9" IsFluid="true" Title="3.施工方案及检验试验计划审批情况" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Panel ID="Panel10" IsFluid="true" Title="3.1 一般施工方案审批情况" runat="server" EnableCollapse="false"
ShowHeader="true">
<Items>
<f:Form ID="Form9" runat="server" ShowBorder="true" BodyPadding="5px" ShowHeader="false" Title="表单">
<Rows>
<f:FormRow>
<Items>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
</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: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:Panel>
<%--22.附件--%>
<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:Panel>
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:HiddenField ID="hdCheckControlCode" runat="server"></f:HiddenField>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:Button ID="Button1" Icon="SystemSave" runat="server" ToolTip="保存" Text="保存" OnClick="btnSave_Click">
</f:Button>
<f:HiddenField ID="hdId" runat="server">
</f:HiddenField>
<f:HiddenField ID="hdAttachUrl" runat="server">
</f:HiddenField>
</Items>
</f:Toolbar>
</Toolbars>
</f:ContentPanel>
<asp:ValidationSummary ID="ValidationSummary1" Style="z-index: 101; position: absolute; top: 8px; right: 824px;"
runat="server" ValidationGroup="Save" HeaderText="请注意!"
ShowSummary="False" ShowMessageBox="True"></asp:ValidationSummary>
<input runat="server" type="hidden" id="hidReportId" />
</form>
</body>
</html>
<script type="text/javascript">
// 返回false来阻止浏览器右键菜单
function onRowContextMenu(event, rowId) {
//F(menuID).show(); //showAt(event.pageX, event.pageY);
return false;
}
</script>

View File

@ -0,0 +1,344 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;
using Newtonsoft.Json.Linq;
using AspNet = System.Web.UI.WebControls;
namespace FineUIPro.Web.CQMS.ManageReportNew
{
public partial class MonthReportEdit : PageBase
{
#region
/// <summary>
/// 主键
/// </summary>
public string ReportId
{
get
{
return (string)ViewState["ReportId"];
}
set
{
ViewState["ReportId"] = value;
}
}
public string AddOrUpdate
{
get
{
return (string)ViewState["AddOrUpdate"];
}
set
{
ViewState["AddOrUpdate"] = value;
}
}
#endregion
#region
private static List<Model.Report_CqmsTarget> detailsGrid1 = new List<Model.Report_CqmsTarget>();
#endregion
#region
/// <summary>
/// 加载页面
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.EnableViewState = true;
this.lblProjectName.Text = BLL.ProjectService.GetProjectByProjectId(this.CurrUser.LoginProjectId).ProjectName;
this.ReportId = Request.Params["reportId"];
if (!string.IsNullOrEmpty(Request.Params["view"]))
{
this.Button1.Visible = false;
this.Button2.Visible = false;
}
if (!string.IsNullOrEmpty(this.ReportId))
{
Model.Report_WeekAndMonthReport_New weekAndMonthReport = WeekAndMonthReportNewService.Detail(this.ReportId);
if (weekAndMonthReport != null)
{
if (weekAndMonthReport.SortId != null)
{
this.txtPeriod.Text = Convert.ToString(weekAndMonthReport.SortId);
}
if (weekAndMonthReport.StartDate != null)
{
this.txtStartDate.Text = string.Format("{0:yyyy-MM-dd}", weekAndMonthReport.StartDate);
}
if (weekAndMonthReport.EndDate != null)
{
this.txtEndDate.Text = string.Format("{0:yyyy-MM-dd}", weekAndMonthReport.EndDate);
}
}
AddOrUpdate = "update";
#region
detailsGrid1.Clear();
detailsGrid1 = (from x in Funs.DB.Report_CqmsTarget
where x.ReportId == this.ReportId
orderby x.SortId
select x).ToList();
if (detailsGrid1.Count>0)
{
Grid1.Hidden = false;
Grid1.DataSource = detailsGrid1;
Grid1.DataBind();
}
#endregion
#region
var txtReportList = Funs.DB.Report_TextBoxContent.Where(x => x.ReportId == ReportId).ToList();
txtAre0.Text = txtReportList.FirstOrDefault(x => x.ContentType == "0").ContentText;
txtAre1.Text = txtReportList.FirstOrDefault(x => x.ContentType == "1").ContentText;
txtAre2.Text = txtReportList.FirstOrDefault(x => x.ContentType == "2").ContentText;
txtAre20.Text = txtReportList.FirstOrDefault(x => x.ContentType == "20").ContentText;
txtAre21.Text = txtReportList.FirstOrDefault(x => x.ContentType == "21").ContentText;
txtAre22.Text = txtReportList.FirstOrDefault(x => x.ContentType == "22").ContentText;
#endregion
}
else
{
this.txtStartDate.Text = string.IsNullOrEmpty(Request.Params["startdate"]) ? string.Format("{0:yyyy-MM-dd}", DateTime.Now) : Request.Params["startdate"];
this.txtEndDate.Text = string.IsNullOrEmpty(Request.Params["enddate"]) ? string.Format("{0:yyyy-MM-dd}", Convert.ToDateTime(this.txtStartDate.Text).AddMonths(1).AddDays(-1)) : Request.Params["enddate"];
//给个新的主键
ReportId = Guid.NewGuid().ToString();
AddOrUpdate = "add";
}
hidReportId.Value = ReportId;
}
}
#endregion
#region
/// <summary>
/// 开始时间选择事件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void txtStartDate_TextChanged(object sender, EventArgs e)
{
if (!string.IsNullOrEmpty(this.txtStartDate.Text.Trim()))
{
string url = Request.Url.ToString();
if (url.Contains("?"))
{
url = Request.Url.ToString().Substring(0, Request.Url.ToString().LastIndexOf('?'));
}
Response.Redirect(url + "?startdate=" + txtStartDate.Text + "&enddate=" + txtEndDate.Text);
}
}
#endregion
#region Grid1方法
protected void btnAddGrid1_Click(object sender, EventArgs e) {
Grid1.Hidden = false;
JArray teamGroupData = Grid1.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
{ { "Id",Guid.NewGuid() },
{ "ReportId", ReportId },
{ "ProStage", "" },
{ "ProDescribe",""},
{ "TargetValue", "" },
{ "MonthPer","" },
{ "Remarks", "" },
{ "SortId","" },
{ "Delete1", String.Format("<a href=\"javascript:;\" onclick=\"{0}\"><img src=\"{1}\"/></a>", GetDeleteScriptGrid1(), IconHelper.GetResolvedIconUrl(Icon.Delete)) }
};
list.Add(defaultObj);
Grid1.DataSource = list;
Grid1.DataBind();
}
protected void Grid1_PreDataBound(object sender, EventArgs e)
{
// 设置LinkButtonField的点击客户端事件
LinkButtonField deleteField = Grid1.FindColumn("Delete1") as LinkButtonField;
deleteField.OnClientClick = GetDeleteScriptGrid1();
}
/// <summary>
/// 删除提示
/// </summary>
/// <returns></returns>
private string GetDeleteScriptGrid1()
{
return Confirm.GetShowReference("删除选中行?", String.Empty, MessageBoxIcon.Question, Grid1.GetDeleteSelectedRowsReference(), String.Empty);
}
#endregion
#region
/// <summary>
/// 保存按钮
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnSave_Click(object sender, EventArgs e)
{
Model.Report_WeekAndMonthReport_New report = new Model.Report_WeekAndMonthReport_New();
report.Id = ReportId;
report.ProjectId = this.CurrUser.LoginProjectId;
if (!string.IsNullOrEmpty(this.txtPeriod.Text.Trim()))
{
try
{
report.SortId = this.txtPeriod.Text.Trim();
}
catch (Exception)
{
ScriptManager.RegisterStartupScript(this, typeof(string), "_alert", "alert('周期输入格式不正确,请重新输入!')", true);
return;
}
}
if (!string.IsNullOrEmpty(this.txtStartDate.Text))
{
report.StartDate = Convert.ToDateTime(this.txtStartDate.Text);
}
if (!string.IsNullOrEmpty(this.txtEndDate.Text))
{
report.EndDate = Convert.ToDateTime(this.txtEndDate.Text);
}
report.CreateDate = DateTime.Now;
report.CreateMan = CurrUser.UserId;
#region
//本月质量目标管理情况
CqmsTargetService.Delete(ReportId);
//所有文本框表
TextBoxContentService.Delete(ReportId);
#endregion
#region
//保存本月质量目标管理情况
saveTarget();
//保存文本框
saveTxtContent();
#endregion
if (AddOrUpdate == "add")
{
WeekAndMonthReportNewService.Insert(report);
}
else
{
WeekAndMonthReportNewService.Update(report);
}
ShowNotify("编辑成功!", MessageBoxIcon.Success);
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
}
#region
void saveTarget() {
List<Model.Report_CqmsTarget> detailLists = new List<Model.Report_CqmsTarget>();
JArray teamGroupData = Grid1.GetMergedData();
foreach (JObject teamGroupRow in teamGroupData) {
JObject values = teamGroupRow.Value<JObject>("values");
int rowIndex = teamGroupRow.Value<int>("index");
Model.Report_CqmsTarget newDetail = new Model.Report_CqmsTarget
{
//Id = values.Value<string>("Id"),
ReportId = ReportId,
ProStage = values.Value<string>("ProStage"),
ProDescribe = values.Value<string>("ProDescribe"),
TargetValue = values.Value<string>("TargetValue"),
MonthPer = values.Value<string>("MonthPer"),
Remarks = values.Value<string>("Remarks"),
SortId = rowIndex + 1
};
if (Grid1.Rows[rowIndex].DataKeys.Length > 0)
{
newDetail.Id = Grid1.Rows[rowIndex].DataKeys[0].ToString();
}
detailLists.Add(newDetail);
}
if (detailLists.Count>0)
{
Funs.DB.Report_CqmsTarget.InsertAllOnSubmit(detailLists);
Funs.DB.SubmitChanges();
}
}
#endregion
/// <summary>
/// 保存文本框内容
/// </summary>
void saveTxtContent() {
var txtContentList = new List<Model.Report_TextBoxContent>();
#region
var model0 = new Model.Report_TextBoxContent();
model0.Id = Guid.NewGuid().ToString();
model0.ReportId = ReportId;
model0.ContentType = "0";
model0.ContentText = txtAre0.Text;
txtContentList.Add(model0);
var model1 = new Model.Report_TextBoxContent();
model1.Id = Guid.NewGuid().ToString();
model1.ReportId = ReportId;
model1.ContentType = "1";
model1.ContentText = txtAre1.Text;
txtContentList.Add(model1);
var model2 = new Model.Report_TextBoxContent();
model2.Id = Guid.NewGuid().ToString();
model2.ReportId = ReportId;
model2.ContentType = "2";
model2.ContentText = txtAre2.Text;
txtContentList.Add(model2);
var model20 = new Model.Report_TextBoxContent();
model20.Id = Guid.NewGuid().ToString();
model20.ReportId = ReportId;
model20.ContentType = "20";
model20.ContentText = txtAre20.Text;
txtContentList.Add(model20);
var model21 = new Model.Report_TextBoxContent();
model21.Id = Guid.NewGuid().ToString();
model21.ReportId = ReportId;
model21.ContentType = "21";
model21.ContentText = txtAre21.Text;
txtContentList.Add(model21);
var model22 = new Model.Report_TextBoxContent();
model22.Id = Guid.NewGuid().ToString();
model22.ReportId = ReportId;
model22.ContentType = "22";
model22.ContentText = txtAre22.Text;
txtContentList.Add(model22);
#endregion
Funs.DB.Report_TextBoxContent.InsertAllOnSubmit(txtContentList);
Funs.DB.SubmitChanges();
}
#endregion
}
}

View File

@ -0,0 +1,530 @@
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.CQMS.ManageReportNew
{
public partial class MonthReportEdit
{
/// <summary>
/// form1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// ContentPanel1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ContentPanel ContentPanel1;
/// <summary>
/// Table1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table1;
/// <summary>
/// tabbtn 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable tabbtn;
/// <summary>
/// image15 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image15;
/// <summary>
/// Button2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button Button2;
/// <summary>
/// Table5 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table5;
/// <summary>
/// lblProjectName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblProjectName;
/// <summary>
/// Label1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label Label1;
/// <summary>
/// txtPeriod 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtPeriod;
/// <summary>
/// RequiredFieldValidator1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1;
/// <summary>
/// Label2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label Label2;
/// <summary>
/// lblTital 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTital;
/// <summary>
/// Table2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table2;
/// <summary>
/// txtStartDate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtStartDate;
/// <summary>
/// txtEndDate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtEndDate;
/// <summary>
/// Panel4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel4;
/// <summary>
/// Toolbar2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar2;
/// <summary>
/// Button3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button Button3;
/// <summary>
/// Form5 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form Form5;
/// <summary>
/// Grid1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid Grid1;
/// <summary>
/// txtProStage 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtProStage;
/// <summary>
/// txtProDescribe 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtProDescribe;
/// <summary>
/// txtTargetValue 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtTargetValue;
/// <summary>
/// txtMonthPer 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtMonthPer;
/// <summary>
/// txtRemarks 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtRemarks;
/// <summary>
/// Panel5 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel5;
/// <summary>
/// Panel6 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel6;
/// <summary>
/// Form6 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form Form6;
/// <summary>
/// txtAre0 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtAre0;
/// <summary>
/// Panel7 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel7;
/// <summary>
/// Form7 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form Form7;
/// <summary>
/// txtAre1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtAre1;
/// <summary>
/// Panel8 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel8;
/// <summary>
/// Form8 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form Form8;
/// <summary>
/// txtAre2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtAre2;
/// <summary>
/// Panel9 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel9;
/// <summary>
/// Panel10 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel10;
/// <summary>
/// Form9 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form Form9;
/// <summary>
/// Panel3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel3;
/// <summary>
/// Form3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form Form3;
/// <summary>
/// txtAre20 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtAre20;
/// <summary>
/// Panel1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel1;
/// <summary>
/// Form2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form Form2;
/// <summary>
/// txtAre21 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtAre21;
/// <summary>
/// Panel2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel2;
/// <summary>
/// Form4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form Form4;
/// <summary>
/// txtAre22 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtAre22;
/// <summary>
/// Toolbar1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// hdCheckControlCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HiddenField hdCheckControlCode;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// Button1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button Button1;
/// <summary>
/// hdId 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HiddenField hdId;
/// <summary>
/// hdAttachUrl 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HiddenField hdAttachUrl;
/// <summary>
/// ValidationSummary1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.ValidationSummary ValidationSummary1;
/// <summary>
/// hidReportId 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlInputHidden hidReportId;
}
}

View File

@ -0,0 +1,17 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MonthReportNewEdit.aspx.cs" Inherits="FineUIPro.Web.CQMS.ManageReportNew.MonthReportNewEdit" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" runat="server" />
</form>
</body>
</html>

View File

@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FineUIPro.Web.CQMS.ManageReportNew
{
public partial class MonthReportNewEdit : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}

View File

@ -0,0 +1,35 @@
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.CQMS.ManageReportNew
{
public partial class MonthReportNewEdit
{
/// <summary>
/// form1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,50 +1,2 @@
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.AcknowledgementMode 生成存根: 类型是一个值类型。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.ExceptionListener 生成存根: 类型已密封。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.ConnectionInterruptedListener 生成存根: 类型已密封。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.ConnectionResumedListener 生成存根: 类型已密封。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.DestinationType 生成存根: 类型是一个值类型。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.MessageListener 生成存根: 类型已密封。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.ConsumerTransformerDelegate 生成存根: 类型已密封。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.ProducerTransformerDelegate 生成存根: 类型已密封。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.SessionTxEventDelegate 生成存根: 类型已密封。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.MsgPriority 生成存根: 类型是一个值类型。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.MsgDeliveryMode 生成存根: 类型是一个值类型。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.Tracer 生成存根: 类型已密封。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.Util.NMSExceptionSupport 生成存根: 类型已密封。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.IBytesMessage 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.AcknowledgementMode 生成填充码: 类型是一个枚举。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.ExceptionListener 生成填充码: 类型是一个委托。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.ConnectionInterruptedListener 生成填充码: 类型是一个委托。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.ConnectionResumedListener 生成填充码: 类型是一个委托。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.IConnection 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.IConnectionFactory 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.IConnectionMetaData 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.DestinationType 生成填充码: 类型是一个枚举。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.IDestination 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.IMapMessage 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.IMessage 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.MessageListener 生成填充码: 类型是一个委托。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.ConsumerTransformerDelegate 生成填充码: 类型是一个委托。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.IMessageConsumer 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.ProducerTransformerDelegate 生成填充码: 类型是一个委托。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.IMessageProducer 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.INetTxConnection 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.INetTxConnectionFactory 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.INetTxSession 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.IObjectMessage 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.IPrimitiveMap 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.IQueue 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.IQueueBrowser 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.IRedeliveryPolicy 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.SessionTxEventDelegate 生成填充码: 类型是一个委托。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.ISession 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.IStartable 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.IStoppable 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.IStreamMessage 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.ITemporaryQueue 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.ITemporaryTopic 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.ITextMessage 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.ITopic 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.ITrace 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.MsgPriority 生成填充码: 类型是一个枚举。
E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.MsgDeliveryMode 生成填充码: 类型是一个枚举。
G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.Tracer 生成存根: 类型已密封。
G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\Apache.NMS.fakes : warning : 无法为 Apache.NMS.Util.NMSExceptionSupport 生成存根: 类型已密封。

View File

@ -1,15 +1,5 @@
E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\ThoughtWorks.QRCode.fakes : warning : 无法为 ThoughtWorks.QRCode.Properties.Resources 生成存根: 类型对 exported or assembly(ThoughtWorks.QRCode.Fakes) 不可见。
E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\ThoughtWorks.QRCode.fakes : warning : 无法为 ThoughtWorks.QRCode.Codec.Reader.Pattern.AlignmentPattern 生成存根: 类型没有系列可见的构造函数。
E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\ThoughtWorks.QRCode.fakes : warning : 无法为 ThoughtWorks.QRCode.Codec.Util.Color_Fields 生成存根: 类型是一个值类型。
E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\ThoughtWorks.QRCode.fakes : warning : 无法为 ThoughtWorks.QRCode.Codec.Reader.Pattern.FinderPattern 生成存根: 类型没有系列可见的构造函数。
E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\ThoughtWorks.QRCode.fakes : warning : 无法为 <PrivateImplementationDetails>{09D8BC6E-02EC-4FA4-99BD-B668F38E6DC6} 生成存根: 类型不受支持,因为存在内部限制。
E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\ThoughtWorks.QRCode.fakes : warning : 无法为 ThoughtWorks.QRCode.Codec.Util.DebugCanvas 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\ThoughtWorks.QRCode.fakes : warning : 无法为 ThoughtWorks.QRCode.Geom.SamplingGrid+AreaGrid 生成填充码: 类型对 exported or assembly(ThoughtWorks.QRCode.Fakes) 不可见。
E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\ThoughtWorks.QRCode.fakes : warning : 无法为 ThoughtWorks.QRCode.Codec.QRCodeDecoder+DecodeResult 生成填充码: 类型对 exported or assembly(ThoughtWorks.QRCode.Fakes) 不可见。
E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\ThoughtWorks.QRCode.fakes : warning : 无法为 ThoughtWorks.QRCode.Codec.Data.QRCodeImage 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\ThoughtWorks.QRCode.fakes : warning : 无法为 ThoughtWorks.QRCode.Properties.Resources 生成填充码: 类型对 exported or assembly(ThoughtWorks.QRCode.Fakes) 不可见。
E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\ThoughtWorks.QRCode.fakes : warning : 无法为 ThoughtWorks.QRCode.Codec.Reader.QRCodeImageReader+ModulePitch 生成填充码: 类型对 exported or assembly(ThoughtWorks.QRCode.Fakes) 不可见。
E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\ThoughtWorks.QRCode.fakes : warning : 无法为 ThoughtWorks.QRCode.Codec.QRCodeEncoder+ENCODE_MODE 生成填充码: 类型是一个枚举。
E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\ThoughtWorks.QRCode.fakes : warning : 无法为 ThoughtWorks.QRCode.Codec.QRCodeEncoder+ERROR_CORRECTION 生成填充码: 类型是一个枚举。
E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\ThoughtWorks.QRCode.fakes : warning : 无法为 ThoughtWorks.QRCode.Codec.Util.Color 生成填充码: 类型是一个接口。
E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\ThoughtWorks.QRCode.fakes : warning : 无法为 <PrivateImplementationDetails>{09D8BC6E-02EC-4FA4-99BD-B668F38E6DC6} 生成填充码: 类型不受支持,因为存在内部限制。
G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\ThoughtWorks.QRCode.fakes : warning : 无法为 ThoughtWorks.QRCode.Codec.Reader.Pattern.AlignmentPattern 生成存根: 类型没有对程序集可见的构造函数。构造函数本身或参数可能不可见。。
G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\ThoughtWorks.QRCode.fakes : warning : 无法为 ThoughtWorks.QRCode.Codec.Reader.Pattern.FinderPattern 生成存根: 类型没有对程序集可见的构造函数。构造函数本身或参数可能不可见。。
G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\ThoughtWorks.QRCode.fakes : warning : 无法为 ThoughtWorks.QRCode.Geom.SamplingGrid+AreaGrid 生成填充码: 类型对 exported or assembly(ThoughtWorks.QRCode.Fakes) 不可见。
G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\ThoughtWorks.QRCode.fakes : warning : 无法为 ThoughtWorks.QRCode.Codec.QRCodeDecoder+DecodeResult 生成填充码: 类型对 exported or assembly(ThoughtWorks.QRCode.Fakes) 不可见。
G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Fakes\ThoughtWorks.QRCode.fakes : warning : 无法为 ThoughtWorks.QRCode.Codec.Reader.QRCodeImageReader+ModulePitch 生成填充码: 类型对 exported or assembly(ThoughtWorks.QRCode.Fakes) 不可见。

View File

@ -495,6 +495,9 @@
<Content Include="CQMS\Foreign\ITPListProject.aspx" />
<Content Include="CQMS\Foreign\ITPListProjectEdit.aspx" />
<Content Include="CQMS\Foreign\ShoBreakdownProject.aspx" />
<Content Include="CQMS\ManageReportNew\MonthReport.aspx" />
<Content Include="CQMS\ManageReportNew\MonthReportEdit.aspx" />
<Content Include="CQMS\ManageReportNew\MonthReportNewEdit.aspx" />
<Content Include="CQMS\ManageReport\CheckStatisc.aspx" />
<Content Include="CQMS\ManageReport\DesignChangeStatisc.aspx" />
<Content Include="CQMS\ManageReport\HJGLStatisc.aspx" />
@ -7773,6 +7776,27 @@
<Compile Include="CQMS\Foreign\ShoBreakdownProject.aspx.designer.cs">
<DependentUpon>ShoBreakdownProject.aspx</DependentUpon>
</Compile>
<Compile Include="CQMS\ManageReportNew\MonthReport.aspx.cs">
<DependentUpon>MonthReport.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="CQMS\ManageReportNew\MonthReport.aspx.designer.cs">
<DependentUpon>MonthReport.aspx</DependentUpon>
</Compile>
<Compile Include="CQMS\ManageReportNew\MonthReportEdit.aspx.cs">
<DependentUpon>MonthReportEdit.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="CQMS\ManageReportNew\MonthReportEdit.aspx.designer.cs">
<DependentUpon>MonthReportEdit.aspx</DependentUpon>
</Compile>
<Compile Include="CQMS\ManageReportNew\MonthReportNewEdit.aspx.cs">
<DependentUpon>MonthReportNewEdit.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="CQMS\ManageReportNew\MonthReportNewEdit.aspx.designer.cs">
<DependentUpon>MonthReportNewEdit.aspx</DependentUpon>
</Compile>
<Compile Include="CQMS\ManageReport\CheckStatisc.aspx.cs">
<DependentUpon>CheckStatisc.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>

View File

@ -12,7 +12,7 @@
<appSettings>
<!--连接字符串-->
<!--<add key="ConnectionString" value="Server=.;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>-->
<add key="ConnectionString" value="Server=.;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"/>
<!--系统名称-->
<add key="SystemName" value="智慧施工管理信息系统V1.0"/>
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/>

BIN
SGGL/FineUIPro.Web/bin.rar Normal file

Binary file not shown.

View File

@ -36,6 +36,7 @@
<TreeNode id="227d640a-9494-41ce-95bf-748dd59e986f" Text="设计变更单统计" NavigateUrl="CQMS/ManageReport/DesignChangeStatisc.aspx"></TreeNode>
<TreeNode id="51ee983f-085e-4f02-b819-cab049d9cc26" Text="施工质量周报" NavigateUrl="CQMS/ManageReport/WeekReport.aspx"></TreeNode>
<TreeNode id="8048c87a-c2b6-4a0d-bca9-f4f2dca42e5b" Text="施工质量月报" NavigateUrl="CQMS/ManageReport/MonthReport.aspx"></TreeNode>
<TreeNode id="4164BF9B-DA7C-4287-AC11-D1EB6A664F57" Text="施工质量月报(新)" NavigateUrl="CQMS/ManageReportNew/MonthReport.aspx"></TreeNode>
<TreeNode id="1443C901-A9C3-4CCC-B858-55512DE8C5CA" Text="质量管理工作总结报告" NavigateUrl="CQMS/ManageReport/QualityWorkSummaryReport.aspx"></TreeNode>
<TreeNode id="267064F1-88F7-4468-998A-49A1A2F25BB8" Text="季度工程项目质量信息表" NavigateUrl="CQMS/ManageReport/QuarterlyProjectQuality.aspx"></TreeNode>
</TreeNode>

View File

@ -1955,6 +1955,9 @@ 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_CqmsTarget(Report_CqmsTarget instance);
partial void UpdateReport_CqmsTarget(Report_CqmsTarget instance);
partial void DeleteReport_CqmsTarget(Report_CqmsTarget instance);
partial void InsertReport_NextQualityControl(Report_NextQualityControl instance);
partial void UpdateReport_NextQualityControl(Report_NextQualityControl instance);
partial void DeleteReport_NextQualityControl(Report_NextQualityControl instance);
@ -1964,12 +1967,18 @@ namespace Model
partial void InsertReport_RowMaterialProblem(Report_RowMaterialProblem instance);
partial void UpdateReport_RowMaterialProblem(Report_RowMaterialProblem instance);
partial void DeleteReport_RowMaterialProblem(Report_RowMaterialProblem instance);
partial void InsertReport_TextBoxContent(Report_TextBoxContent instance);
partial void UpdateReport_TextBoxContent(Report_TextBoxContent instance);
partial void DeleteReport_TextBoxContent(Report_TextBoxContent instance);
partial void InsertReport_ThisWeekOrMonthContent(Report_ThisWeekOrMonthContent instance);
partial void UpdateReport_ThisWeekOrMonthContent(Report_ThisWeekOrMonthContent instance);
partial void DeleteReport_ThisWeekOrMonthContent(Report_ThisWeekOrMonthContent instance);
partial void InsertReport_WeekAndMonthReport(Report_WeekAndMonthReport instance);
partial void UpdateReport_WeekAndMonthReport(Report_WeekAndMonthReport instance);
partial void DeleteReport_WeekAndMonthReport(Report_WeekAndMonthReport instance);
partial void InsertReport_WeekAndMonthReport_New(Report_WeekAndMonthReport_New instance);
partial void UpdateReport_WeekAndMonthReport_New(Report_WeekAndMonthReport_New instance);
partial void DeleteReport_WeekAndMonthReport_New(Report_WeekAndMonthReport_New instance);
partial void InsertReportServer(ReportServer instance);
partial void UpdateReportServer(ReportServer instance);
partial void DeleteReportServer(ReportServer instance);
@ -7734,6 +7743,14 @@ namespace Model
}
}
public System.Data.Linq.Table<Report_CqmsTarget> Report_CqmsTarget
{
get
{
return this.GetTable<Report_CqmsTarget>();
}
}
public System.Data.Linq.Table<Report_NextQualityControl> Report_NextQualityControl
{
get
@ -7758,6 +7775,14 @@ namespace Model
}
}
public System.Data.Linq.Table<Report_TextBoxContent> Report_TextBoxContent
{
get
{
return this.GetTable<Report_TextBoxContent>();
}
}
public System.Data.Linq.Table<Report_ThisWeekOrMonthContent> Report_ThisWeekOrMonthContent
{
get
@ -7774,6 +7799,14 @@ namespace Model
}
}
public System.Data.Linq.Table<Report_WeekAndMonthReport_New> Report_WeekAndMonthReport_New
{
get
{
return this.GetTable<Report_WeekAndMonthReport_New>();
}
}
public System.Data.Linq.Table<ReportServer> ReportServer
{
get
@ -305202,6 +305235,236 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Report_CqmsTarget")]
public partial class Report_CqmsTarget : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private string _ReportId;
private string _ProStage;
private string _ProDescribe;
private string _TargetValue;
private string _MonthPer;
private string _Remarks;
private System.Nullable<int> _SortId;
#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 OnProStageChanging(string value);
partial void OnProStageChanged();
partial void OnProDescribeChanging(string value);
partial void OnProDescribeChanged();
partial void OnTargetValueChanging(string value);
partial void OnTargetValueChanged();
partial void OnMonthPerChanging(string value);
partial void OnMonthPerChanged();
partial void OnRemarksChanging(string value);
partial void OnRemarksChanged();
partial void OnSortIdChanging(System.Nullable<int> value);
partial void OnSortIdChanged();
#endregion
public Report_CqmsTarget()
{
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="_ProStage", DbType="NVarChar(50)")]
public string ProStage
{
get
{
return this._ProStage;
}
set
{
if ((this._ProStage != value))
{
this.OnProStageChanging(value);
this.SendPropertyChanging();
this._ProStage = value;
this.SendPropertyChanged("ProStage");
this.OnProStageChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProDescribe", DbType="NVarChar(200)")]
public string ProDescribe
{
get
{
return this._ProDescribe;
}
set
{
if ((this._ProDescribe != value))
{
this.OnProDescribeChanging(value);
this.SendPropertyChanging();
this._ProDescribe = value;
this.SendPropertyChanged("ProDescribe");
this.OnProDescribeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TargetValue", DbType="NVarChar(50)")]
public string TargetValue
{
get
{
return this._TargetValue;
}
set
{
if ((this._TargetValue != value))
{
this.OnTargetValueChanging(value);
this.SendPropertyChanging();
this._TargetValue = value;
this.SendPropertyChanged("TargetValue");
this.OnTargetValueChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MonthPer", DbType="NVarChar(50)")]
public string MonthPer
{
get
{
return this._MonthPer;
}
set
{
if ((this._MonthPer != value))
{
this.OnMonthPerChanging(value);
this.SendPropertyChanging();
this._MonthPer = value;
this.SendPropertyChanged("MonthPer");
this.OnMonthPerChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remarks", DbType="NVarChar(200)")]
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();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortId", DbType="Int")]
public System.Nullable<int> SortId
{
get
{
return this._SortId;
}
set
{
if ((this._SortId != value))
{
this.OnSortIdChanging(value);
this.SendPropertyChanging();
this._SortId = value;
this.SendPropertyChanged("SortId");
this.OnSortIdChanged();
}
}
}
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_NextQualityControl")]
public partial class Report_NextQualityControl : INotifyPropertyChanging, INotifyPropertyChanged
{
@ -305734,6 +305997,140 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Report_TextBoxContent")]
public partial class Report_TextBoxContent : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private string _ReportId;
private string _ContentType;
private string _ContentText;
#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 OnContentTypeChanging(string value);
partial void OnContentTypeChanged();
partial void OnContentTextChanging(string value);
partial void OnContentTextChanged();
#endregion
public Report_TextBoxContent()
{
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="_ContentType", DbType="NVarChar(20)")]
public string ContentType
{
get
{
return this._ContentType;
}
set
{
if ((this._ContentType != value))
{
this.OnContentTypeChanging(value);
this.SendPropertyChanging();
this._ContentType = value;
this.SendPropertyChanged("ContentType");
this.OnContentTypeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContentText", DbType="NVarChar(1000)")]
public string ContentText
{
get
{
return this._ContentText;
}
set
{
if ((this._ContentText != value))
{
this.OnContentTextChanging(value);
this.SendPropertyChanging();
this._ContentText = value;
this.SendPropertyChanged("ContentText");
this.OnContentTextChanged();
}
}
}
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_ThisWeekOrMonthContent")]
public partial class Report_ThisWeekOrMonthContent : INotifyPropertyChanging, INotifyPropertyChanged
{
@ -306248,6 +306645,212 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Report_WeekAndMonthReport_New")]
public partial class Report_WeekAndMonthReport_New : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private string _ProjectId;
private System.Nullable<System.DateTime> _StartDate;
private System.Nullable<System.DateTime> _EndDate;
private string _SortId;
private System.Nullable<System.DateTime> _CreateDate;
private string _CreateMan;
#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 OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
partial void OnStartDateChanging(System.Nullable<System.DateTime> value);
partial void OnStartDateChanged();
partial void OnEndDateChanging(System.Nullable<System.DateTime> value);
partial void OnEndDateChanged();
partial void OnSortIdChanging(string value);
partial void OnSortIdChanged();
partial void OnCreateDateChanging(System.Nullable<System.DateTime> value);
partial void OnCreateDateChanged();
partial void OnCreateManChanging(string value);
partial void OnCreateManChanged();
#endregion
public Report_WeekAndMonthReport_New()
{
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="_ProjectId", DbType="NVarChar(50)")]
public string ProjectId
{
get
{
return this._ProjectId;
}
set
{
if ((this._ProjectId != value))
{
this.OnProjectIdChanging(value);
this.SendPropertyChanging();
this._ProjectId = value;
this.SendPropertyChanged("ProjectId");
this.OnProjectIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StartDate", DbType="DateTime")]
public System.Nullable<System.DateTime> StartDate
{
get
{
return this._StartDate;
}
set
{
if ((this._StartDate != value))
{
this.OnStartDateChanging(value);
this.SendPropertyChanging();
this._StartDate = value;
this.SendPropertyChanged("StartDate");
this.OnStartDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EndDate", DbType="DateTime")]
public System.Nullable<System.DateTime> EndDate
{
get
{
return this._EndDate;
}
set
{
if ((this._EndDate != value))
{
this.OnEndDateChanging(value);
this.SendPropertyChanging();
this._EndDate = value;
this.SendPropertyChanged("EndDate");
this.OnEndDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortId", DbType="NVarChar(50)")]
public string SortId
{
get
{
return this._SortId;
}
set
{
if ((this._SortId != value))
{
this.OnSortIdChanging(value);
this.SendPropertyChanging();
this._SortId = value;
this.SendPropertyChanged("SortId");
this.OnSortIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDate", DbType="DateTime")]
public System.Nullable<System.DateTime> CreateDate
{
get
{
return this._CreateDate;
}
set
{
if ((this._CreateDate != value))
{
this.OnCreateDateChanging(value);
this.SendPropertyChanging();
this._CreateDate = value;
this.SendPropertyChanged("CreateDate");
this.OnCreateDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateMan", DbType="NVarChar(50)")]
public string CreateMan
{
get
{
return this._CreateMan;
}
set
{
if ((this._CreateMan != value))
{
this.OnCreateManChanging(value);
this.SendPropertyChanging();
this._CreateMan = value;
this.SendPropertyChanged("CreateMan");
this.OnCreateManChanged();
}
}
}
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.ReportServer")]
public partial class ReportServer : INotifyPropertyChanging, INotifyPropertyChanged
{

View File

@ -31,11 +31,11 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="AipSdk, Version=4.15.9.0, Culture=neutral, processorArchitecture=MSIL">
<Reference Include="AipSdk">
<HintPath>..\packages\Baidu.AI.4.15.9\lib\net45\AipSdk.dll</HintPath>
</Reference>
<Reference Include="AOP.Common">
<HintPath>..\..\..\SGGL_CWCEC\SGGL\SgManager.AI\bin\Debug\AOP.Common.dll</HintPath>
<HintPath>bin\AOP.Common.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>