2023-09-27

This commit is contained in:
李鹏飞 2023-09-27 09:10:09 +08:00
parent 74327b5a3e
commit 92fd5a113d
26 changed files with 4569 additions and 882 deletions

View File

@ -1256,6 +1256,8 @@ namespace BLL
client.Timeout = -1; client.Timeout = -1;
var request = new RestRequest(Method.GET); var request = new RestRequest(Method.GET);
request.AddHeader("token", Token); request.AddHeader("token", Token);
request.AddHeader("ClientId", SysConstSetService.ClientId);
request.AddHeader("OperationCode", Baseurl.Substring(Baseurl.LastIndexOf("/", StringComparison.Ordinal) + 1));
IRestResponse response = client.Execute(request); IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content); Console.WriteLine(response.Content);
return response.Content; return response.Content;
@ -1268,6 +1270,8 @@ namespace BLL
client.Timeout = -1; client.Timeout = -1;
var request = new RestRequest(Method.POST); var request = new RestRequest(Method.POST);
request.AddHeader("token", Token); request.AddHeader("token", Token);
request.AddHeader("ClientId", SysConstSetService.ClientId);
request.AddHeader("OperationCode", Baseurl.Substring(Baseurl.LastIndexOf("/", StringComparison.Ordinal) + 1));
if (!string.IsNullOrEmpty(JsonBody)) if (!string.IsNullOrEmpty(JsonBody))
{ {
request.AddJsonBody(JsonBody); request.AddJsonBody(JsonBody);
@ -1276,6 +1280,7 @@ namespace BLL
IRestResponse response = client.Execute(request); IRestResponse response = client.Execute(request);
return response.Content; return response.Content;
} }
} }
} }

View File

@ -8,8 +8,10 @@
public static class SysConstSetService public static class SysConstSetService
{ {
private static string _CNCECPath; private static string _CNCECPath;
private static string _CncecEsbPath;
private static string _CNCECToken; private static string _CNCECToken;
private static string _CNCECTokenExTime; private static string _CNCECTokenExTime;
private static string _ClientId;
public static string CNCECPath public static string CNCECPath
{ {
@ -31,6 +33,46 @@
_CNCECPath = value; _CNCECPath = value;
} }
} }
public static string CncecEsbPath
{
get
{
var sysSet5 = (from x in Funs.DB.Sys_Const where x.ConstText == "集团ESB地址" select x).ToList().FirstOrDefault();
if (sysSet5 != null)
{
_CncecEsbPath = sysSet5.ConstValue;
}
else
{
_CncecEsbPath = "";
}
return _CncecEsbPath;
}
set
{
_CncecEsbPath = value;
}
}
public static string ClientId
{
get
{
var sysSet5 = (from x in Funs.DB.Sys_Const where x.ConstText == "ClientId" select x).ToList().FirstOrDefault();
if (sysSet5 != null)
{
_ClientId = sysSet5.ConstValue;
}
else
{
_ClientId = "";
}
return _ClientId;
}
set
{
_ClientId = value;
}
}
public static string CNCECToken public static string CNCECToken
{ {
get get

View File

@ -29,7 +29,7 @@
<f:Grid ID="Grid1" Title="文档类别" ShowHeader="false" EnableCollapse="true" PageSize="10" ForceFit="true" <f:Grid ID="Grid1" Title="文档类别" ShowHeader="false" EnableCollapse="true" PageSize="10" ForceFit="true"
ShowBorder="true" AllowPaging="true" IsDatabasePaging="true" runat="server" Width="750px" EnableColumnLines="true" ShowBorder="true" AllowPaging="true" IsDatabasePaging="true" runat="server" Width="750px" EnableColumnLines="true"
DataKeyNames="DocTypeId" DataIDField="DocTypeId" OnPageIndexChange="Grid1_PageIndexChange" SortField="DocTypeCode" SortDirection="ASC" DataKeyNames="DocTypeId" DataIDField="DocTypeId" OnPageIndexChange="Grid1_PageIndexChange" SortField="DocTypeCode" SortDirection="ASC"
AllowFilters="true" OnFilterChange="Grid1_FilterChange" EnableTextSelection="True"> AllowFilters="true" OnFilterChange="Grid1_FilterChange" EnableTextSelection="True" EnableMultiSelect="false">
<Columns> <Columns>
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center" TextAlign="Center"/> <f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center" TextAlign="Center"/>
<f:RenderField Width="100px" ColumnID="DocTypeCode" DataField="DocTypeCode" <f:RenderField Width="100px" ColumnID="DocTypeCode" DataField="DocTypeCode"

View File

@ -166,7 +166,7 @@ namespace FineUIPro.Web.BaseInfo
/// <param name="e"></param> /// <param name="e"></param>
protected void btnSave_Click(object sender, EventArgs e) protected void btnSave_Click(object sender, EventArgs e)
{ {
string strRowID = hfFormID.Text; string strRowID = Grid1.SelectedRowID;
Model.Base_DocType newDocType = new Model.Base_DocType Model.Base_DocType newDocType = new Model.Base_DocType
{ {
DocTypeCode = this.txtDocTypeCode.Text.Trim(), DocTypeCode = this.txtDocTypeCode.Text.Trim(),

View File

@ -76,7 +76,7 @@
<asp:Label ID="Label3" runat="server" Text='<%# ConvertCarryUnit(Eval("UnitId")) %>'></asp:Label> <asp:Label ID="Label3" runat="server" Text='<%# ConvertCarryUnit(Eval("UnitId")) %>'></asp:Label>
</ItemTemplate> </ItemTemplate>
</f:TemplateField> </f:TemplateField>
<f:RenderField ColumnID="ImplementationFrontState" DataField="ImplementationFrontState" FieldType="String" HeaderText="实施前状态" TextAlign="Center" <f:RenderField ColumnID="ImplementationFrontState" DataField="ImplementationFrontState" FieldType="String" HeaderText="执行情况" TextAlign="Center"
HeaderTextAlign="Center" Width="150px"> HeaderTextAlign="Center" Width="150px">
</f:RenderField> </f:RenderField>
<f:RenderField ColumnID="CompleteDate" DataField="CompleteDate" FieldType="Date" Renderer="Date" HeaderText="施工完成日期" TextAlign="Center" <f:RenderField ColumnID="CompleteDate" DataField="CompleteDate" FieldType="Date" Renderer="Date" HeaderText="施工完成日期" TextAlign="Center"

View File

@ -42,7 +42,7 @@
</f:FormRow> </f:FormRow>
<f:FormRow> <f:FormRow>
<Items> <Items>
<f:TextBox ID="txtImplementationFrontState" runat="server" Label="实施前状态" MaxLength="50" LabelAlign="right"></f:TextBox> <f:TextBox ID="txtImplementationFrontState" runat="server" Label="执行情况" MaxLength="50" LabelAlign="right"></f:TextBox>
<f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" Label="施工完成日期" ID="txtCompleteDate" LabelWidth="120px" <f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" Label="施工完成日期" ID="txtCompleteDate" LabelWidth="120px"
LabelAlign="right"> LabelAlign="right">
</f:DatePicker> </f:DatePicker>

View File

@ -140,7 +140,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
txtChangeReason.Readonly = true; txtChangeReason.Readonly = true;
txtCompleteDate.Readonly = true; txtCompleteDate.Readonly = true;
txtContents.Readonly = true; txtContents.Readonly = true;
txtImplementationFrontState.Readonly = true; // txtImplementationFrontState.Readonly = true;
txtIssuedDate.Readonly = true; txtIssuedDate.Readonly = true;
drpCNProfessionalId.Readonly = true; drpCNProfessionalId.Readonly = true;
drpUnitIds.Readonly = true; drpUnitIds.Readonly = true;

View File

@ -506,8 +506,8 @@ namespace FineUIPro.Web.CQMS.Comprehensive
if (e.EventArgument == "Confirm_OK") if (e.EventArgument == "Confirm_OK")
{ {
string rootPath = Server.MapPath("~/"); string rootPath = Server.MapPath("~/");
string uploadfilepath = rootPath + Const.DesignChangeOrderDataInUrl; string uploadfilepath = rootPath + Const.DesignDrawingsDataInUrl;
string filePath = Const.DesignChangeOrderDataInUrl; string filePath = Const.DesignDrawingsDataInUrl;
string fileName = Path.GetFileName(filePath); string fileName = Path.GetFileName(filePath);
FileInfo info = new FileInfo(uploadfilepath); FileInfo info = new FileInfo(uploadfilepath);
long fileSize = info.Length; long fileSize = info.Length;

File diff suppressed because it is too large Load Diff

View File

@ -113,6 +113,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
NCRBindStatisc();//NCR统计 NCRBindStatisc();//NCR统计
DesignChangeOrderBindStatisc();//设计变更统计 DesignChangeOrderBindStatisc();//设计变更统计
PassWelderBindStatisc();//合格焊工统计 PassWelderBindStatisc();//合格焊工统计
ConstructionStatisticsr();//施工方案统计
} }
} }
@ -516,44 +517,45 @@ namespace FineUIPro.Web.CQMS.ManageReport
List<Model.View_CQMS_InspectionManagementDetail> totalManagementList = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, projectStartDate, endDate, false); List<Model.View_CQMS_InspectionManagementDetail> totalManagementList = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, projectStartDate, endDate, false);
//专业下当期集合 //专业下当期集合
List<Model.View_CQMS_InspectionManagementDetail> managementList = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, startDate, endDate, false); List<Model.View_CQMS_InspectionManagementDetail> managementList = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, startDate, endDate, false);
if (cNProfessionalId == BLL.Const.CNProfessionalCVId) //土建按单位工程统计 foreach (var item in totalManagementList)
{ {
foreach (var item in totalManagementList) Model.WBS_BreakdownProject breakdownProject = BLL.BreakdownProjectService.GetBreakdownProjectById(item.ControlPointType);
if (breakdownProject != null)
{ {
Model.WBS_BreakdownProject breakdownProject = BLL.BreakdownProjectService.GetBreakdownProjectById(item.ControlPointType); Model.WBS_DivisionProject divisionProject = BLL.DivisionProjectService.GetDivisionProjectById(breakdownProject.DivisionProjectId);
if (breakdownProject != null) if (divisionProject != null)
{ {
Model.WBS_DivisionProject divisionProject = BLL.DivisionProjectService.GetDivisionProjectById(breakdownProject.DivisionProjectId); Model.WBS_UnitWork ins = BLL.UnitWorkService.GetUnitWorkByUnitWorkId(divisionProject.UnitWorkId);
if (divisionProject != null) if (ins != null)
{ {
Model.WBS_UnitWork ins = BLL.UnitWorkService.GetUnitWorkByUnitWorkId(divisionProject.UnitWorkId); if (!workNames.Contains(ins.UnitWorkName)) //新增记录
if (ins != null)
{ {
if (!workNames.Contains(ins.UnitWorkName)) //新增记录 Model.CheckStatisc checkStatisc = new Model.CheckStatisc();
{ checkStatisc.Num = i;
Model.CheckStatisc checkStatisc = new Model.CheckStatisc(); checkStatisc.WorkName = ins.UnitWorkName;
checkStatisc.Num = i; workNames.Add(ins.UnitWorkName);
checkStatisc.WorkName = ins.UnitWorkName; checkStatisc.CheckNum = managementList.Count(x => x.ControlPointType == item.ControlPointType);
workNames.Add(ins.UnitWorkName); checkStatisc.TotalCheckNum = totalManagementList.Count(x => x.ControlPointType == item.ControlPointType);
checkStatisc.CheckNum = managementList.Count(x => x.ControlPointType == item.ControlPointType); checkStatisc.OKNum = managementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
checkStatisc.TotalCheckNum = totalManagementList.Count(x => x.ControlPointType == item.ControlPointType); checkStatisc.TotalOKNum = totalManagementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
checkStatisc.OKNum = managementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true); StatisticsList.Add(checkStatisc);
checkStatisc.TotalOKNum = totalManagementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true); i++;
StatisticsList.Add(checkStatisc); }
i++; else //更新已有记录
} {
else //更新已有记录 Model.CheckStatisc checkStatisc1 = StatisticsList.FirstOrDefault(x => x.WorkName == ins.UnitWorkName);
{ checkStatisc1.CheckNum += managementList.Count(x => x.ControlPointType == item.ControlPointType);
Model.CheckStatisc checkStatisc1 = StatisticsList.FirstOrDefault(x => x.WorkName == ins.UnitWorkName); checkStatisc1.TotalCheckNum += totalManagementList.Count(x => x.ControlPointType == item.ControlPointType);
checkStatisc1.CheckNum += managementList.Count(x => x.ControlPointType == item.ControlPointType); checkStatisc1.OKNum += managementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
checkStatisc1.TotalCheckNum += totalManagementList.Count(x => x.ControlPointType == item.ControlPointType); checkStatisc1.TotalOKNum += totalManagementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
checkStatisc1.OKNum += managementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
checkStatisc1.TotalOKNum += totalManagementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
}
} }
} }
} }
} }
}
/*if (cNProfessionalId == BLL.Const.CNProfessionalCVId) //土建按单位工程统计
{
} }
else else
{ {
@ -589,7 +591,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
} }
} }
} }
} }*/
foreach (var item in StatisticsList) foreach (var item in StatisticsList)
{ {
if (item.CheckNum != 0)//被除数不能为零 if (item.CheckNum != 0)//被除数不能为零
@ -716,7 +718,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{ {
if (e.Row.RowType == DataControlRowType.Header) if (e.Row.RowType == DataControlRowType.Header)
{ {
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计"; string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler(); DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr); dHelper.SplitTableHeader(e.Row, headerStr);
} }
@ -732,7 +734,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{ {
if (e.Row.RowType == DataControlRowType.Header) if (e.Row.RowType == DataControlRowType.Header)
{ {
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计"; string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler(); DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr); dHelper.SplitTableHeader(e.Row, headerStr);
} }
@ -747,7 +749,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{ {
if (e.Row.RowType == DataControlRowType.Header) if (e.Row.RowType == DataControlRowType.Header)
{ {
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计"; string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler(); DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr); dHelper.SplitTableHeader(e.Row, headerStr);
} }
@ -762,7 +764,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{ {
if (e.Row.RowType == DataControlRowType.Header) if (e.Row.RowType == DataControlRowType.Header)
{ {
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计"; string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler(); DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr); dHelper.SplitTableHeader(e.Row, headerStr);
} }
@ -777,7 +779,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{ {
if (e.Row.RowType == DataControlRowType.Header) if (e.Row.RowType == DataControlRowType.Header)
{ {
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计"; string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler(); DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr); dHelper.SplitTableHeader(e.Row, headerStr);
} }
@ -792,7 +794,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{ {
if (e.Row.RowType == DataControlRowType.Header) if (e.Row.RowType == DataControlRowType.Header)
{ {
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计"; string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler(); DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr); dHelper.SplitTableHeader(e.Row, headerStr);
} }
@ -807,7 +809,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{ {
if (e.Row.RowType == DataControlRowType.Header) if (e.Row.RowType == DataControlRowType.Header)
{ {
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计"; string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler(); DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr); dHelper.SplitTableHeader(e.Row, headerStr);
} }
@ -883,8 +885,9 @@ namespace FineUIPro.Web.CQMS.ManageReport
Model.NCRReportStatisc NCRStatisc = new Model.NCRReportStatisc(); Model.NCRReportStatisc NCRStatisc = new Model.NCRReportStatisc();
NCRStatisc.Num = i; NCRStatisc.Num = i;
NCRStatisc.WorkName = BLL.UnitService.getUnitNamesUnitIds(item); NCRStatisc.WorkName = BLL.UnitService.getUnitNamesUnitIds(item);
NCRStatisc.OKNum = managementList.Count(x => x.CompleteDate != null); NCRStatisc.CurrentPeriodOkNum = managementList.Count(x => x.CompleteDate != null);
NCRStatisc.CheckNum = sumManagementList.Count(x => x.CompleteDate != null); NCRStatisc.OKNum = sumManagementList.Count(x => x.CompleteDate != null);
NCRStatisc.CheckNum = sumManagementList.Count;
if (NCRStatisc.CheckNum != 0)//被除数不能为零 if (NCRStatisc.CheckNum != 0)//被除数不能为零
{ {
NCRStatisc.OKRate = Math.Round((double)NCRStatisc.OKNum / (double)NCRStatisc.CheckNum * 100, 2) + "%";//保留两位小数、后四舍五入 NCRStatisc.OKRate = Math.Round((double)NCRStatisc.OKNum / (double)NCRStatisc.CheckNum * 100, 2) + "%";//保留两位小数、后四舍五入
@ -903,6 +906,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
StatisticsLast.WorkName = "合计"; StatisticsLast.WorkName = "合计";
foreach (Model.NCRReportStatisc item in StatisticsList) foreach (Model.NCRReportStatisc item in StatisticsList)
{ {
StatisticsLast.CurrentPeriodOkNum += item.CurrentPeriodOkNum;
StatisticsLast.OKNum += item.OKNum; StatisticsLast.OKNum += item.OKNum;
StatisticsLast.CheckNum += item.CheckNum; StatisticsLast.CheckNum += item.CheckNum;
} }
@ -930,7 +934,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{ {
if (e.Row.RowType == DataControlRowType.Header) if (e.Row.RowType == DataControlRowType.Header)
{ {
string headerStr = "序号#接收单位#本周已完成#累计已完成#累计完成比例"; string headerStr = "序号#接收单位#本月已完成#累计已完成#NCR总数#累计完成比例";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler(); DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr); dHelper.SplitTableHeader(e.Row, headerStr);
} }
@ -1044,23 +1048,53 @@ namespace FineUIPro.Web.CQMS.ManageReport
where x.ProjectId == this.CurrUser.LoginProjectId && x.UnitType == BLL.Const.ProjectUnitType_2 where x.ProjectId == this.CurrUser.LoginProjectId && x.UnitType == BLL.Const.ProjectUnitType_2
orderby y.UnitCode orderby y.UnitCode
select new { x.UnitId, y.UnitName }; select new { x.UnitId, y.UnitName };
var db = Funs.DB;
foreach (var item in units) foreach (var item in units)
{ {
//单位下所有集合
List<Model.BS_Welder> totalWelderList = BLL.PersonManageService.GetWelderListByUnitId(this.CurrUser.LoginProjectId, item.UnitId);
List<Model.BS_Welder> welderList = BLL.PersonManageService.GetWelderListByUnitIdAndDate(this.CurrUser.LoginProjectId, item.UnitId, startDate, endDate);
var query = from c in db.Comprehensive_InspectionPerson
join u in db.Base_Unit on c.UnitId equals u.UnitId into unitJoin
from u in unitJoin.DefaultIfEmpty()
join cn in db.Base_CNProfessional on c.CNProfessionalId equals cn.CNProfessionalId into cnJoin
from cn in cnJoin.DefaultIfEmpty()
join p in db.Base_Post on c.PostId equals p.PostId into postJoin
from p in postJoin.DefaultIfEmpty()
where c.ProjectId == this.CurrUser.LoginProjectId && c.UnitId== item.UnitId
select new
{
c.InspectionPersonId,
c.ProjectId,
u.UnitId,
u.UnitName,
c.PersonName,
c.ApprovalTime,
cn.ProfessionalName,
p.PostName
};
//单位下所有集合
// List<Model.BS_Welder> totalWelderList = BLL.PersonManageService.GetWelderListByUnitId(this.CurrUser.LoginProjectId, item.UnitId);
//List<Model.BS_Welder> welderList = BLL.PersonManageService.GetWelderListByUnitIdAndDate(this.CurrUser.LoginProjectId, item.UnitId, startDate, endDate);
var totalWelderList = query.ToList();
var welderList = query
.Where(x=> (x.ApprovalTime >= Convert.ToDateTime(startDate) && x.ApprovalTime <= Convert.ToDateTime(endDate)));
Model.PassWelderStatisc passWelderStatisc = new Model.PassWelderStatisc(); Model.PassWelderStatisc passWelderStatisc = new Model.PassWelderStatisc();
passWelderStatisc.Num = i; passWelderStatisc.Num = i;
passWelderStatisc.UnitName = item.UnitName; passWelderStatisc.UnitName = item.UnitName;
passWelderStatisc.PipeMountGuard = welderList.Count(x => x.WED_Remark == "管道"); passWelderStatisc.PipeMountGuard = welderList.Count(x => x.ProfessionalName == "管道"&&x.PostName== "焊工");
passWelderStatisc.PipeTotal = totalWelderList.Count(x => x.WED_Remark == "管道"); passWelderStatisc.PipeTotal = totalWelderList.Count(x => x.ProfessionalName == "管道" && x.PostName == "焊工");
passWelderStatisc.SteelStructureMountGuard = welderList.Count(x => x.WED_Remark == "钢结构"); passWelderStatisc.SteelStructureMountGuard = welderList.Count(x => x.ProfessionalName == "土建" && x.PostName == "焊工");
passWelderStatisc.SteelStructureTotal = totalWelderList.Count(x => x.WED_Remark == "钢结构"); passWelderStatisc.SteelStructureTotal = totalWelderList.Count(x => x.ProfessionalName == "土建" && x.PostName == "焊工");
passWelderStatisc.EquipmentMountGuard = welderList.Count(x => x.WED_Remark == "设备"); passWelderStatisc.EquipmentMountGuard = welderList.Count(x => x.ProfessionalName == "设备" && x.PostName == "焊工");
passWelderStatisc.EquipmentTotal = totalWelderList.Count(x => x.WED_Remark == "设备"); passWelderStatisc.EquipmentTotal = totalWelderList.Count(x => x.ProfessionalName == "设备" && x.PostName == "焊工");
passWelderStatisc.OtherMountGuard = welderList.Count(x => x.WED_Remark == "其他"); passWelderStatisc.OtherMountGuard = welderList.Count(x => x.ProfessionalName != "管道" && x.ProfessionalName != "土建" && x.ProfessionalName != "设备" && x.PostName == "焊工");
passWelderStatisc.OtherTotal = totalWelderList.Count(x => x.WED_Remark == "其他"); passWelderStatisc.OtherTotal = totalWelderList.Count(x => x.ProfessionalName != "管道" && x.ProfessionalName != "土建" && x.ProfessionalName != "设备" && x.PostName == "焊工");
StatisticsList.Add(passWelderStatisc); StatisticsList.Add(passWelderStatisc);
i++; i++;
} }
@ -1103,6 +1137,70 @@ namespace FineUIPro.Web.CQMS.ManageReport
} }
#endregion #endregion
#region
public void ConstructionStatisticsr()
{
var db = Funs.DB;
DateTime startDate = Convert.ToDateTime(this.txtStartDate.Text.Trim());
DateTime endDate = Convert.ToDateTime(this.txtEndDate.Text.Trim());
DateTime projectStartDate = Convert.ToDateTime("2015-01-01");
Model.Base_Project project = BLL.ProjectService.GetProjectByProjectId(this.CurrUser.LoginProjectId);
if (project != null)
{
if (project.StartDate != null)
{
projectStartDate = Convert.ToDateTime(project.StartDate);
}
}
int i = 1;
var q = from x in db.Solution_CQMSConstructSolution
where x.CompileDate >= Convert.ToDateTime(startDate) && x.CompileDate <= Convert.ToDateTime(endDate)
group x by new { x.UnitId, State = x.State == "3", ProjectId = x.ProjectId == project.ProjectId }
into g
select new
{
UnitName=BLL.UnitService.GetUnitNameByUnitId(g.Key.UnitId),
Count = g.Key.UnitId.Count(),
};
var result = q.ToList().Select((item, index) => new
{
Index = index + 1,
item.UnitName,
item.Count
});
if (result.Count()>0) //增加总计
{
int totalCount = result.Sum(item => item.Count);
result = result.Concat(new[]
{
new
{
Index = result.Count() + 1,
UnitName = "合计",
Count = totalCount
}
});
}
this.gvConstructionStatistics.DataSource = result;
this.gvConstructionStatistics.DataBind();
}
protected void gvConstructionStatistics_RowCreated(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.Header)
{
string headerStr = "序号#报审单位#完成数量";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr);
}
}
#endregion
#region #region
/// <summary> /// <summary>
/// 增加下月质量控制重点 /// 增加下月质量控制重点
@ -1186,6 +1284,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
NCRBindStatisc();//NCR统计 NCRBindStatisc();//NCR统计
DesignChangeOrderBindStatisc();//设计变更统计 DesignChangeOrderBindStatisc();//设计变更统计
PassWelderBindStatisc();//合格焊工统计 PassWelderBindStatisc();//合格焊工统计
ConstructionStatisticsr();//施工方案统计
} }
} }
#endregion #endregion
@ -1307,6 +1406,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
} }
#endregion #endregion
} }
} }

View File

@ -7,11 +7,13 @@
// </自动生成> // </自动生成>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace FineUIPro.Web.CQMS.ManageReport { namespace FineUIPro.Web.CQMS.ManageReport
{
public partial class MonthReportEdit {
public partial class MonthReportEdit
{
/// <summary> /// <summary>
/// form1 控件。 /// form1 控件。
/// </summary> /// </summary>
@ -20,7 +22,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1; protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary> /// <summary>
/// PageManager1 控件。 /// PageManager1 控件。
/// </summary> /// </summary>
@ -29,7 +31,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.PageManager PageManager1; protected global::FineUIPro.PageManager PageManager1;
/// <summary> /// <summary>
/// ContentPanel1 控件。 /// ContentPanel1 控件。
/// </summary> /// </summary>
@ -38,7 +40,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.ContentPanel ContentPanel1; protected global::FineUIPro.ContentPanel ContentPanel1;
/// <summary> /// <summary>
/// Table1 控件。 /// Table1 控件。
/// </summary> /// </summary>
@ -47,7 +49,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table1; protected global::System.Web.UI.HtmlControls.HtmlTable Table1;
/// <summary> /// <summary>
/// tabbtn 控件。 /// tabbtn 控件。
/// </summary> /// </summary>
@ -56,7 +58,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable tabbtn; protected global::System.Web.UI.HtmlControls.HtmlTable tabbtn;
/// <summary> /// <summary>
/// image15 控件。 /// image15 控件。
/// </summary> /// </summary>
@ -65,7 +67,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image15; protected global::System.Web.UI.WebControls.Image image15;
/// <summary> /// <summary>
/// btnSave 控件。 /// btnSave 控件。
/// </summary> /// </summary>
@ -74,7 +76,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnSave; protected global::System.Web.UI.WebControls.ImageButton btnSave;
/// <summary> /// <summary>
/// btnPrint 控件。 /// btnPrint 控件。
/// </summary> /// </summary>
@ -83,7 +85,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnPrint; protected global::System.Web.UI.WebControls.ImageButton btnPrint;
/// <summary> /// <summary>
/// Table5 控件。 /// Table5 控件。
/// </summary> /// </summary>
@ -92,7 +94,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table5; protected global::System.Web.UI.HtmlControls.HtmlTable Table5;
/// <summary> /// <summary>
/// lblProjectName 控件。 /// lblProjectName 控件。
/// </summary> /// </summary>
@ -101,7 +103,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblProjectName; protected global::System.Web.UI.WebControls.Label lblProjectName;
/// <summary> /// <summary>
/// Label1 控件。 /// Label1 控件。
/// </summary> /// </summary>
@ -110,7 +112,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label Label1; protected global::System.Web.UI.WebControls.Label Label1;
/// <summary> /// <summary>
/// txtPeriod 控件。 /// txtPeriod 控件。
/// </summary> /// </summary>
@ -119,7 +121,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtPeriod; protected global::System.Web.UI.WebControls.TextBox txtPeriod;
/// <summary> /// <summary>
/// RequiredFieldValidator1 控件。 /// RequiredFieldValidator1 控件。
/// </summary> /// </summary>
@ -128,7 +130,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1; protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1;
/// <summary> /// <summary>
/// Label2 控件。 /// Label2 控件。
/// </summary> /// </summary>
@ -137,7 +139,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label Label2; protected global::System.Web.UI.WebControls.Label Label2;
/// <summary> /// <summary>
/// lblTital 控件。 /// lblTital 控件。
/// </summary> /// </summary>
@ -146,7 +148,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblTital; protected global::System.Web.UI.WebControls.Label lblTital;
/// <summary> /// <summary>
/// Table2 控件。 /// Table2 控件。
/// </summary> /// </summary>
@ -155,7 +157,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table2; protected global::System.Web.UI.HtmlControls.HtmlTable Table2;
/// <summary> /// <summary>
/// txtStartDate 控件。 /// txtStartDate 控件。
/// </summary> /// </summary>
@ -164,7 +166,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtStartDate; protected global::System.Web.UI.WebControls.TextBox txtStartDate;
/// <summary> /// <summary>
/// txtEndDate 控件。 /// txtEndDate 控件。
/// </summary> /// </summary>
@ -173,7 +175,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtEndDate; protected global::System.Web.UI.WebControls.TextBox txtEndDate;
/// <summary> /// <summary>
/// Table3 控件。 /// Table3 控件。
/// </summary> /// </summary>
@ -182,7 +184,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table3; protected global::System.Web.UI.HtmlControls.HtmlTable Table3;
/// <summary> /// <summary>
/// image1 控件。 /// image1 控件。
/// </summary> /// </summary>
@ -191,7 +193,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image1; protected global::System.Web.UI.WebControls.Image image1;
/// <summary> /// <summary>
/// btnAddThisWeekAndMonthContent 控件。 /// btnAddThisWeekAndMonthContent 控件。
/// </summary> /// </summary>
@ -200,7 +202,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnAddThisWeekAndMonthContent; protected global::System.Web.UI.WebControls.ImageButton btnAddThisWeekAndMonthContent;
/// <summary> /// <summary>
/// gvThisWeekOrMonthContent 控件。 /// gvThisWeekOrMonthContent 控件。
/// </summary> /// </summary>
@ -209,7 +211,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvThisWeekOrMonthContent; protected global::System.Web.UI.WebControls.GridView gvThisWeekOrMonthContent;
/// <summary> /// <summary>
/// Table4 控件。 /// Table4 控件。
/// </summary> /// </summary>
@ -218,7 +220,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table4; protected global::System.Web.UI.HtmlControls.HtmlTable Table4;
/// <summary> /// <summary>
/// image2 控件。 /// image2 控件。
/// </summary> /// </summary>
@ -227,7 +229,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image2; protected global::System.Web.UI.WebControls.Image image2;
/// <summary> /// <summary>
/// Table6 控件。 /// Table6 控件。
/// </summary> /// </summary>
@ -236,7 +238,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table6; protected global::System.Web.UI.HtmlControls.HtmlTable Table6;
/// <summary> /// <summary>
/// image3 控件。 /// image3 控件。
/// </summary> /// </summary>
@ -245,7 +247,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image3; protected global::System.Web.UI.WebControls.Image image3;
/// <summary> /// <summary>
/// btnAddRowMaterialProblem 控件。 /// btnAddRowMaterialProblem 控件。
/// </summary> /// </summary>
@ -254,7 +256,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnAddRowMaterialProblem; protected global::System.Web.UI.WebControls.ImageButton btnAddRowMaterialProblem;
/// <summary> /// <summary>
/// gvRowMaterialProblem 控件。 /// gvRowMaterialProblem 控件。
/// </summary> /// </summary>
@ -263,7 +265,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvRowMaterialProblem; protected global::System.Web.UI.WebControls.GridView gvRowMaterialProblem;
/// <summary> /// <summary>
/// Table7 控件。 /// Table7 控件。
/// </summary> /// </summary>
@ -272,7 +274,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table7; protected global::System.Web.UI.HtmlControls.HtmlTable Table7;
/// <summary> /// <summary>
/// image4 控件。 /// image4 控件。
/// </summary> /// </summary>
@ -281,7 +283,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image4; protected global::System.Web.UI.WebControls.Image image4;
/// <summary> /// <summary>
/// btnAddConstructionProblems 控件。 /// btnAddConstructionProblems 控件。
/// </summary> /// </summary>
@ -290,7 +292,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnAddConstructionProblems; protected global::System.Web.UI.WebControls.ImageButton btnAddConstructionProblems;
/// <summary> /// <summary>
/// gvConstructionProblems 控件。 /// gvConstructionProblems 控件。
/// </summary> /// </summary>
@ -299,7 +301,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvConstructionProblems; protected global::System.Web.UI.WebControls.GridView gvConstructionProblems;
/// <summary> /// <summary>
/// Table8 控件。 /// Table8 控件。
/// </summary> /// </summary>
@ -308,7 +310,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table8; protected global::System.Web.UI.HtmlControls.HtmlTable Table8;
/// <summary> /// <summary>
/// image5 控件。 /// image5 控件。
/// </summary> /// </summary>
@ -317,7 +319,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image5; protected global::System.Web.UI.WebControls.Image image5;
/// <summary> /// <summary>
/// Table9 控件。 /// Table9 控件。
/// </summary> /// </summary>
@ -326,7 +328,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table9; protected global::System.Web.UI.HtmlControls.HtmlTable Table9;
/// <summary> /// <summary>
/// image6 控件。 /// image6 控件。
/// </summary> /// </summary>
@ -335,7 +337,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image6; protected global::System.Web.UI.WebControls.Image image6;
/// <summary> /// <summary>
/// txt1 控件。 /// txt1 控件。
/// </summary> /// </summary>
@ -344,7 +346,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt1; protected global::System.Web.UI.WebControls.TextBox txt1;
/// <summary> /// <summary>
/// txt2 控件。 /// txt2 控件。
/// </summary> /// </summary>
@ -353,7 +355,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt2; protected global::System.Web.UI.WebControls.TextBox txt2;
/// <summary> /// <summary>
/// txt3 控件。 /// txt3 控件。
/// </summary> /// </summary>
@ -362,7 +364,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt3; protected global::System.Web.UI.WebControls.TextBox txt3;
/// <summary> /// <summary>
/// txt4 控件。 /// txt4 控件。
/// </summary> /// </summary>
@ -371,7 +373,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt4; protected global::System.Web.UI.WebControls.TextBox txt4;
/// <summary> /// <summary>
/// txt5 控件。 /// txt5 控件。
/// </summary> /// </summary>
@ -380,7 +382,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt5; protected global::System.Web.UI.WebControls.TextBox txt5;
/// <summary> /// <summary>
/// txt6 控件。 /// txt6 控件。
/// </summary> /// </summary>
@ -389,7 +391,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt6; protected global::System.Web.UI.WebControls.TextBox txt6;
/// <summary> /// <summary>
/// txt7 控件。 /// txt7 控件。
/// </summary> /// </summary>
@ -398,7 +400,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt7; protected global::System.Web.UI.WebControls.TextBox txt7;
/// <summary> /// <summary>
/// txt8 控件。 /// txt8 控件。
/// </summary> /// </summary>
@ -407,7 +409,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt8; protected global::System.Web.UI.WebControls.TextBox txt8;
/// <summary> /// <summary>
/// txt9 控件。 /// txt9 控件。
/// </summary> /// </summary>
@ -416,7 +418,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt9; protected global::System.Web.UI.WebControls.TextBox txt9;
/// <summary> /// <summary>
/// image7 控件。 /// image7 控件。
/// </summary> /// </summary>
@ -425,7 +427,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image7; protected global::System.Web.UI.WebControls.Image image7;
/// <summary> /// <summary>
/// gvTJ 控件。 /// gvTJ 控件。
/// </summary> /// </summary>
@ -434,7 +436,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvTJ; protected global::System.Web.UI.WebControls.GridView gvTJ;
/// <summary> /// <summary>
/// gvSB 控件。 /// gvSB 控件。
/// </summary> /// </summary>
@ -443,7 +445,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvSB; protected global::System.Web.UI.WebControls.GridView gvSB;
/// <summary> /// <summary>
/// gvGD 控件。 /// gvGD 控件。
/// </summary> /// </summary>
@ -452,7 +454,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvGD; protected global::System.Web.UI.WebControls.GridView gvGD;
/// <summary> /// <summary>
/// gvDQ 控件。 /// gvDQ 控件。
/// </summary> /// </summary>
@ -461,7 +463,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvDQ; protected global::System.Web.UI.WebControls.GridView gvDQ;
/// <summary> /// <summary>
/// gvYB 控件。 /// gvYB 控件。
/// </summary> /// </summary>
@ -470,7 +472,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvYB; protected global::System.Web.UI.WebControls.GridView gvYB;
/// <summary> /// <summary>
/// gvFF 控件。 /// gvFF 控件。
/// </summary> /// </summary>
@ -479,7 +481,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvFF; protected global::System.Web.UI.WebControls.GridView gvFF;
/// <summary> /// <summary>
/// gvXF 控件。 /// gvXF 控件。
/// </summary> /// </summary>
@ -488,7 +490,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvXF; protected global::System.Web.UI.WebControls.GridView gvXF;
/// <summary> /// <summary>
/// image8 控件。 /// image8 控件。
/// </summary> /// </summary>
@ -497,7 +499,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image8; protected global::System.Web.UI.WebControls.Image image8;
/// <summary> /// <summary>
/// gvHJGLStatisc 控件。 /// gvHJGLStatisc 控件。
/// </summary> /// </summary>
@ -506,7 +508,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvHJGLStatisc; protected global::System.Web.UI.WebControls.GridView gvHJGLStatisc;
/// <summary> /// <summary>
/// image9 控件。 /// image9 控件。
/// </summary> /// </summary>
@ -515,7 +517,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image9; protected global::System.Web.UI.WebControls.Image image9;
/// <summary> /// <summary>
/// gvNCRStatisc 控件。 /// gvNCRStatisc 控件。
/// </summary> /// </summary>
@ -524,7 +526,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvNCRStatisc; protected global::System.Web.UI.WebControls.GridView gvNCRStatisc;
/// <summary> /// <summary>
/// image10 控件。 /// image10 控件。
/// </summary> /// </summary>
@ -533,7 +535,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image10; protected global::System.Web.UI.WebControls.Image image10;
/// <summary> /// <summary>
/// gvCheckStatisc 控件。 /// gvCheckStatisc 控件。
/// </summary> /// </summary>
@ -542,7 +544,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvCheckStatisc; protected global::System.Web.UI.WebControls.GridView gvCheckStatisc;
/// <summary> /// <summary>
/// image11 控件。 /// image11 控件。
/// </summary> /// </summary>
@ -551,7 +553,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image11; protected global::System.Web.UI.WebControls.Image image11;
/// <summary> /// <summary>
/// gvPassWelder 控件。 /// gvPassWelder 控件。
/// </summary> /// </summary>
@ -560,7 +562,25 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvPassWelder; protected global::System.Web.UI.WebControls.GridView gvPassWelder;
/// <summary>
/// image13 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image13;
/// <summary>
/// gvConstructionStatistics 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvConstructionStatistics;
/// <summary> /// <summary>
/// Table10 控件。 /// Table10 控件。
/// </summary> /// </summary>
@ -569,7 +589,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table10; protected global::System.Web.UI.HtmlControls.HtmlTable Table10;
/// <summary> /// <summary>
/// image12 控件。 /// image12 控件。
/// </summary> /// </summary>
@ -578,7 +598,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image12; protected global::System.Web.UI.WebControls.Image image12;
/// <summary> /// <summary>
/// btnNextQualityControl 控件。 /// btnNextQualityControl 控件。
/// </summary> /// </summary>
@ -587,7 +607,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnNextQualityControl; protected global::System.Web.UI.WebControls.ImageButton btnNextQualityControl;
/// <summary> /// <summary>
/// gvNextQualityControl 控件。 /// gvNextQualityControl 控件。
/// </summary> /// </summary>
@ -596,7 +616,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvNextQualityControl; protected global::System.Web.UI.WebControls.GridView gvNextQualityControl;
/// <summary> /// <summary>
/// ValidationSummary1 控件。 /// ValidationSummary1 控件。
/// </summary> /// </summary>

View File

@ -589,6 +589,23 @@
</asp:GridView> </asp:GridView>
</td> </td>
</tr> </tr>
<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="image13" runat="server" />
&nbsp;7施工方案统计
</td>
</tr>
<tr>
<td>
<asp:GridView ID="gvConstructionStatistics" runat="server" AllowPaging="false" AllowSorting="True"
AutoGenerateColumns="True" HorizontalAlign="Justify" Width="100%" OnRowCreated="gvConstructionStatistics_RowCreated">
<AlternatingRowStyle CssClass="GridBgColr" />
<HeaderStyle CssClass="GridBgColr" />
<PagerStyle HorizontalAlign="Left" />
<RowStyle CssClass="GridRow" />
</asp:GridView>
</td>
</tr>
<tr> <tr>
<td> <td>
<table id="Table10" runat="server" width="100%" cellpadding="0" cellspacing="0"> <table id="Table10" runat="server" width="100%" cellpadding="0" cellspacing="0">

View File

@ -109,6 +109,8 @@ namespace FineUIPro.Web.CQMS.ManageReport
NCRBindStatisc();//NCR统计 NCRBindStatisc();//NCR统计
DesignChangeOrderBindStatisc();//设计变更统计 DesignChangeOrderBindStatisc();//设计变更统计
PassWelderBindStatisc();//合格焊工统计 PassWelderBindStatisc();//合格焊工统计
ConstructionStatisticsr();//施工方案统计
} }
} }
@ -504,45 +506,46 @@ namespace FineUIPro.Web.CQMS.ManageReport
List<Model.View_CQMS_InspectionManagementDetail> totalManagementList = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, projectStartDate, endDate, false); List<Model.View_CQMS_InspectionManagementDetail> totalManagementList = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, projectStartDate, endDate, false);
//专业下当期集合 //专业下当期集合
List<Model.View_CQMS_InspectionManagementDetail> managementList = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, startDate, endDate, false); List<Model.View_CQMS_InspectionManagementDetail> managementList = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, startDate, endDate, false);
if (cNProfessionalId == BLL.Const.CNProfessionalCVId) //土建按单位工程统计 foreach (var item in totalManagementList)
{ {
foreach (var item in totalManagementList) Model.WBS_BreakdownProject breakdownProject = BLL.BreakdownProjectService.GetBreakdownProjectById(item.ControlPointType);
if (breakdownProject != null)
{ {
Model.WBS_BreakdownProject breakdownProject = BLL.BreakdownProjectService.GetBreakdownProjectById(item.ControlPointType); Model.WBS_DivisionProject divisionProject = BLL.DivisionProjectService.GetDivisionProjectById(breakdownProject.DivisionProjectId);
if (breakdownProject != null) if (divisionProject != null)
{ {
Model.WBS_DivisionProject divisionProject = BLL.DivisionProjectService.GetDivisionProjectById(breakdownProject.DivisionProjectId); Model.WBS_UnitWork ins = BLL.UnitWorkService.getUnitWorkByUnitWorkId(divisionProject.UnitWorkId);
if (divisionProject != null) if (ins != null)
{ {
Model.WBS_UnitWork ins = BLL.UnitWorkService.getUnitWorkByUnitWorkId(divisionProject.UnitWorkId); if (!workNames.Contains(ins.UnitWorkName)) //新增记录
if (ins != null)
{ {
if (!workNames.Contains(ins.UnitWorkName)) //新增记录 Model.CheckStatisc checkStatisc = new Model.CheckStatisc();
{ checkStatisc.Num = i;
Model.CheckStatisc checkStatisc = new Model.CheckStatisc(); checkStatisc.WorkName = ins.UnitWorkName;
checkStatisc.Num = i; workNames.Add(ins.UnitWorkName);
checkStatisc.WorkName = ins.UnitWorkName; checkStatisc.CheckNum = managementList.Count(x => x.ControlPointType == item.ControlPointType);
workNames.Add(ins.UnitWorkName); checkStatisc.TotalCheckNum = totalManagementList.Count(x => x.ControlPointType == item.ControlPointType);
checkStatisc.CheckNum = managementList.Count(x => x.ControlPointType == item.ControlPointType); checkStatisc.OKNum = managementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
checkStatisc.TotalCheckNum = totalManagementList.Count(x => x.ControlPointType == item.ControlPointType); checkStatisc.TotalOKNum = totalManagementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
checkStatisc.OKNum = managementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true); StatisticsList.Add(checkStatisc);
checkStatisc.TotalOKNum = totalManagementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true); i++;
StatisticsList.Add(checkStatisc); }
i++; else //更新已有记录
} {
else //更新已有记录 Model.CheckStatisc checkStatisc1 = StatisticsList.FirstOrDefault(x => x.WorkName == ins.UnitWorkName);
{ checkStatisc1.CheckNum += managementList.Count(x => x.ControlPointType == item.ControlPointType);
Model.CheckStatisc checkStatisc1 = StatisticsList.FirstOrDefault(x => x.WorkName == ins.UnitWorkName); checkStatisc1.TotalCheckNum += totalManagementList.Count(x => x.ControlPointType == item.ControlPointType);
checkStatisc1.CheckNum += managementList.Count(x => x.ControlPointType == item.ControlPointType); checkStatisc1.OKNum += managementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
checkStatisc1.TotalCheckNum += totalManagementList.Count(x => x.ControlPointType == item.ControlPointType); checkStatisc1.TotalOKNum += totalManagementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
checkStatisc1.OKNum += managementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
checkStatisc1.TotalOKNum += totalManagementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
}
} }
} }
} }
} }
} }
/*if (cNProfessionalId == BLL.Const.CNProfessionalCVId) //土建按单位工程统计
{
}
else else
{ {
foreach (var item in totalManagementList) foreach (var item in totalManagementList)
@ -577,7 +580,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
} }
} }
} }
} }*/
foreach (var item in StatisticsList) foreach (var item in StatisticsList)
{ {
if (item.CheckNum != 0)//被除数不能为零 if (item.CheckNum != 0)//被除数不能为零
@ -675,7 +678,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{ {
if (e.Row.RowType == DataControlRowType.Header) if (e.Row.RowType == DataControlRowType.Header)
{ {
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计"; string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler(); DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr); dHelper.SplitTableHeader(e.Row, headerStr);
} }
@ -691,7 +694,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{ {
if (e.Row.RowType == DataControlRowType.Header) if (e.Row.RowType == DataControlRowType.Header)
{ {
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计"; string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler(); DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr); dHelper.SplitTableHeader(e.Row, headerStr);
} }
@ -706,7 +709,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{ {
if (e.Row.RowType == DataControlRowType.Header) if (e.Row.RowType == DataControlRowType.Header)
{ {
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计"; string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler(); DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr); dHelper.SplitTableHeader(e.Row, headerStr);
} }
@ -721,7 +724,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{ {
if (e.Row.RowType == DataControlRowType.Header) if (e.Row.RowType == DataControlRowType.Header)
{ {
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计"; string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler(); DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr); dHelper.SplitTableHeader(e.Row, headerStr);
} }
@ -736,7 +739,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{ {
if (e.Row.RowType == DataControlRowType.Header) if (e.Row.RowType == DataControlRowType.Header)
{ {
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计"; string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler(); DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr); dHelper.SplitTableHeader(e.Row, headerStr);
} }
@ -751,7 +754,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{ {
if (e.Row.RowType == DataControlRowType.Header) if (e.Row.RowType == DataControlRowType.Header)
{ {
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计"; string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler(); DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr); dHelper.SplitTableHeader(e.Row, headerStr);
} }
@ -766,7 +769,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{ {
if (e.Row.RowType == DataControlRowType.Header) if (e.Row.RowType == DataControlRowType.Header)
{ {
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计"; string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler(); DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr); dHelper.SplitTableHeader(e.Row, headerStr);
} }
@ -842,8 +845,9 @@ namespace FineUIPro.Web.CQMS.ManageReport
Model.NCRReportStatisc NCRStatisc = new Model.NCRReportStatisc(); Model.NCRReportStatisc NCRStatisc = new Model.NCRReportStatisc();
NCRStatisc.Num = i; NCRStatisc.Num = i;
NCRStatisc.WorkName = BLL.UnitService.getUnitNamesUnitIds(item); NCRStatisc.WorkName = BLL.UnitService.getUnitNamesUnitIds(item);
NCRStatisc.OKNum = managementList.Count(x => x.CompleteDate != null); NCRStatisc.CurrentPeriodOkNum = managementList.Count(x => x.CompleteDate != null);
NCRStatisc.CheckNum = sumManagementList.Count(x => x.CompleteDate != null); NCRStatisc.OKNum = sumManagementList.Count(x => x.CompleteDate != null);
NCRStatisc.CheckNum = sumManagementList.Count;
if (NCRStatisc.CheckNum != 0)//被除数不能为零 if (NCRStatisc.CheckNum != 0)//被除数不能为零
{ {
NCRStatisc.OKRate = Math.Round((double)NCRStatisc.OKNum / (double)NCRStatisc.CheckNum * 100, 2) + "%";//保留两位小数、后四舍五入 NCRStatisc.OKRate = Math.Round((double)NCRStatisc.OKNum / (double)NCRStatisc.CheckNum * 100, 2) + "%";//保留两位小数、后四舍五入
@ -862,6 +866,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
StatisticsLast.WorkName = "合计"; StatisticsLast.WorkName = "合计";
foreach (Model.NCRReportStatisc item in StatisticsList) foreach (Model.NCRReportStatisc item in StatisticsList)
{ {
StatisticsLast.CurrentPeriodOkNum += item.CurrentPeriodOkNum;
StatisticsLast.OKNum += item.OKNum; StatisticsLast.OKNum += item.OKNum;
StatisticsLast.CheckNum += item.CheckNum; StatisticsLast.CheckNum += item.CheckNum;
} }
@ -889,7 +894,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{ {
if (e.Row.RowType == DataControlRowType.Header) if (e.Row.RowType == DataControlRowType.Header)
{ {
string headerStr = "序号#接收单位#本周已完成#累计已完成#累计完成比例"; string headerStr = "序号#接收单位#本周已完成#累计已完成#NCR总数#累计完成比例";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler(); DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr); dHelper.SplitTableHeader(e.Row, headerStr);
} }
@ -1004,23 +1009,53 @@ namespace FineUIPro.Web.CQMS.ManageReport
orderby y.UnitCode orderby y.UnitCode
select new { x.UnitId, y.UnitName }; select new { x.UnitId, y.UnitName };
var db = Funs.DB;
foreach (var item in units) foreach (var item in units)
{ {
//单位下所有集合
List<Model.BS_Welder> totalWelderList = BLL.PersonManageService.GetWelderListByUnitId(this.CurrUser.LoginProjectId, item.UnitId);
List<Model.BS_Welder> welderList = BLL.PersonManageService.GetWelderListByUnitIdAndDate(this.CurrUser.LoginProjectId, item.UnitId, startDate, endDate);
var query = from c in db.Comprehensive_InspectionPerson
join u in db.Base_Unit on c.UnitId equals u.UnitId into unitJoin
from u in unitJoin.DefaultIfEmpty()
join cn in db.Base_CNProfessional on c.CNProfessionalId equals cn.CNProfessionalId into cnJoin
from cn in cnJoin.DefaultIfEmpty()
join p in db.Base_Post on c.PostId equals p.PostId into postJoin
from p in postJoin.DefaultIfEmpty()
where c.ProjectId == this.CurrUser.LoginProjectId && c.UnitId == item.UnitId
select new
{
c.InspectionPersonId,
c.ProjectId,
u.UnitId,
u.UnitName,
c.PersonName,
c.ApprovalTime,
cn.ProfessionalName,
p.PostName
};
//单位下所有集合
// List<Model.BS_Welder> totalWelderList = BLL.PersonManageService.GetWelderListByUnitId(this.CurrUser.LoginProjectId, item.UnitId);
//List<Model.BS_Welder> welderList = BLL.PersonManageService.GetWelderListByUnitIdAndDate(this.CurrUser.LoginProjectId, item.UnitId, startDate, endDate);
var totalWelderList = query.ToList();
var welderList = query
.Where(x => (x.ApprovalTime >= Convert.ToDateTime(startDate) && x.ApprovalTime <= Convert.ToDateTime(endDate)));
Model.PassWelderStatisc passWelderStatisc = new Model.PassWelderStatisc(); Model.PassWelderStatisc passWelderStatisc = new Model.PassWelderStatisc();
passWelderStatisc.Num = i; passWelderStatisc.Num = i;
passWelderStatisc.UnitName = item.UnitName; passWelderStatisc.UnitName = item.UnitName;
passWelderStatisc.PipeMountGuard = welderList.Count(x => x.WED_Remark == "管道"); passWelderStatisc.PipeMountGuard = welderList.Count(x => x.ProfessionalName == "管道" && x.PostName == "焊工");
passWelderStatisc.PipeTotal = totalWelderList.Count(x => x.WED_Remark == "管道"); passWelderStatisc.PipeTotal = totalWelderList.Count(x => x.ProfessionalName == "管道" && x.PostName == "焊工");
passWelderStatisc.SteelStructureMountGuard = welderList.Count(x => x.WED_Remark == "钢结构"); passWelderStatisc.SteelStructureMountGuard = welderList.Count(x => x.ProfessionalName == "土建" && x.PostName == "焊工");
passWelderStatisc.SteelStructureTotal = totalWelderList.Count(x => x.WED_Remark == "钢结构"); passWelderStatisc.SteelStructureTotal = totalWelderList.Count(x => x.ProfessionalName == "土建" && x.PostName == "焊工");
passWelderStatisc.EquipmentMountGuard = welderList.Count(x => x.WED_Remark == "设备"); passWelderStatisc.EquipmentMountGuard = welderList.Count(x => x.ProfessionalName == "设备" && x.PostName == "焊工");
passWelderStatisc.EquipmentTotal = totalWelderList.Count(x => x.WED_Remark == "设备"); passWelderStatisc.EquipmentTotal = totalWelderList.Count(x => x.ProfessionalName == "设备" && x.PostName == "焊工");
passWelderStatisc.OtherMountGuard = welderList.Count(x => x.WED_Remark == "其他"); passWelderStatisc.OtherMountGuard = welderList.Count(x => x.ProfessionalName != "管道" && x.ProfessionalName != "土建" && x.ProfessionalName != "设备" && x.PostName == "焊工");
passWelderStatisc.OtherTotal = totalWelderList.Count(x => x.WED_Remark == "其他"); passWelderStatisc.OtherTotal = totalWelderList.Count(x => x.ProfessionalName != "管道" && x.ProfessionalName != "土建" && x.ProfessionalName != "设备" && x.PostName == "焊工");
StatisticsList.Add(passWelderStatisc); StatisticsList.Add(passWelderStatisc);
i++; i++;
} }
@ -1063,6 +1098,70 @@ namespace FineUIPro.Web.CQMS.ManageReport
} }
#endregion #endregion
#region
public void ConstructionStatisticsr()
{
var db = Funs.DB;
DateTime startDate = Convert.ToDateTime(this.txtStartDate.Text.Trim());
DateTime endDate = Convert.ToDateTime(this.txtEndDate.Text.Trim());
DateTime projectStartDate = Convert.ToDateTime("2015-01-01");
Model.Base_Project project = BLL.ProjectService.GetProjectByProjectId(this.CurrUser.LoginProjectId);
if (project != null)
{
if (project.StartDate != null)
{
projectStartDate = Convert.ToDateTime(project.StartDate);
}
}
int i = 1;
var q = from x in db.Solution_CQMSConstructSolution
where x.CompileDate >= Convert.ToDateTime(startDate) && x.CompileDate <= Convert.ToDateTime(endDate)
group x by new { x.UnitId, State = x.State == "3", ProjectId = x.ProjectId == project.ProjectId }
into g
select new
{
UnitName = BLL.UnitService.GetUnitNameByUnitId(g.Key.UnitId),
Count = g.Key.UnitId.Count(),
};
var result = q.ToList().Select((item, index) => new
{
Index = index + 1,
item.UnitName,
item.Count
});
if (result.Count() > 0) //增加总计
{
int totalCount = result.Sum(item => item.Count);
result = result.Concat(new[]
{
new
{
Index = result.Count() + 1,
UnitName = "合计",
Count = totalCount
}
});
}
this.gvConstructionStatistics.DataSource = result;
this.gvConstructionStatistics.DataBind();
}
protected void gvConstructionStatistics_RowCreated(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.Header)
{
string headerStr = "序号#报审单位#完成数量";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr);
}
}
#endregion
#region #region
/// <summary> /// <summary>
/// 增加下周质量控制重点 /// 增加下周质量控制重点
@ -1146,6 +1245,8 @@ namespace FineUIPro.Web.CQMS.ManageReport
NCRBindStatisc();//NCR统计 NCRBindStatisc();//NCR统计
DesignChangeOrderBindStatisc();//设计变更统计 DesignChangeOrderBindStatisc();//设计变更统计
PassWelderBindStatisc();//合格焊工统计 PassWelderBindStatisc();//合格焊工统计
ConstructionStatisticsr();//施工方案统计
} }
} }
#endregion #endregion

View File

@ -7,11 +7,13 @@
// </自动生成> // </自动生成>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace FineUIPro.Web.CQMS.ManageReport { namespace FineUIPro.Web.CQMS.ManageReport
{
public partial class WeekReportEdit {
public partial class WeekReportEdit
{
/// <summary> /// <summary>
/// form1 控件。 /// form1 控件。
/// </summary> /// </summary>
@ -20,7 +22,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1; protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary> /// <summary>
/// PageManager1 控件。 /// PageManager1 控件。
/// </summary> /// </summary>
@ -29,7 +31,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.PageManager PageManager1; protected global::FineUIPro.PageManager PageManager1;
/// <summary> /// <summary>
/// ContentPanel1 控件。 /// ContentPanel1 控件。
/// </summary> /// </summary>
@ -38,7 +40,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.ContentPanel ContentPanel1; protected global::FineUIPro.ContentPanel ContentPanel1;
/// <summary> /// <summary>
/// Table1 控件。 /// Table1 控件。
/// </summary> /// </summary>
@ -47,7 +49,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table1; protected global::System.Web.UI.HtmlControls.HtmlTable Table1;
/// <summary> /// <summary>
/// tabbtn 控件。 /// tabbtn 控件。
/// </summary> /// </summary>
@ -56,7 +58,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable tabbtn; protected global::System.Web.UI.HtmlControls.HtmlTable tabbtn;
/// <summary> /// <summary>
/// image15 控件。 /// image15 控件。
/// </summary> /// </summary>
@ -65,7 +67,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image15; protected global::System.Web.UI.WebControls.Image image15;
/// <summary> /// <summary>
/// btnSave 控件。 /// btnSave 控件。
/// </summary> /// </summary>
@ -74,7 +76,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnSave; protected global::System.Web.UI.WebControls.ImageButton btnSave;
/// <summary> /// <summary>
/// btnPrint 控件。 /// btnPrint 控件。
/// </summary> /// </summary>
@ -83,7 +85,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnPrint; protected global::System.Web.UI.WebControls.ImageButton btnPrint;
/// <summary> /// <summary>
/// Table5 控件。 /// Table5 控件。
/// </summary> /// </summary>
@ -92,7 +94,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table5; protected global::System.Web.UI.HtmlControls.HtmlTable Table5;
/// <summary> /// <summary>
/// lblProjectName 控件。 /// lblProjectName 控件。
/// </summary> /// </summary>
@ -101,7 +103,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblProjectName; protected global::System.Web.UI.WebControls.Label lblProjectName;
/// <summary> /// <summary>
/// Label1 控件。 /// Label1 控件。
/// </summary> /// </summary>
@ -110,7 +112,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label Label1; protected global::System.Web.UI.WebControls.Label Label1;
/// <summary> /// <summary>
/// txtPeriod 控件。 /// txtPeriod 控件。
/// </summary> /// </summary>
@ -119,7 +121,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtPeriod; protected global::System.Web.UI.WebControls.TextBox txtPeriod;
/// <summary> /// <summary>
/// RequiredFieldValidator1 控件。 /// RequiredFieldValidator1 控件。
/// </summary> /// </summary>
@ -128,7 +130,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1; protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1;
/// <summary> /// <summary>
/// Label2 控件。 /// Label2 控件。
/// </summary> /// </summary>
@ -137,7 +139,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label Label2; protected global::System.Web.UI.WebControls.Label Label2;
/// <summary> /// <summary>
/// lblTital 控件。 /// lblTital 控件。
/// </summary> /// </summary>
@ -146,7 +148,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblTital; protected global::System.Web.UI.WebControls.Label lblTital;
/// <summary> /// <summary>
/// Table2 控件。 /// Table2 控件。
/// </summary> /// </summary>
@ -155,7 +157,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table2; protected global::System.Web.UI.HtmlControls.HtmlTable Table2;
/// <summary> /// <summary>
/// txtStartDate 控件。 /// txtStartDate 控件。
/// </summary> /// </summary>
@ -164,7 +166,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtStartDate; protected global::System.Web.UI.WebControls.TextBox txtStartDate;
/// <summary> /// <summary>
/// txtEndDate 控件。 /// txtEndDate 控件。
/// </summary> /// </summary>
@ -173,7 +175,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtEndDate; protected global::System.Web.UI.WebControls.TextBox txtEndDate;
/// <summary> /// <summary>
/// Table3 控件。 /// Table3 控件。
/// </summary> /// </summary>
@ -182,7 +184,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table3; protected global::System.Web.UI.HtmlControls.HtmlTable Table3;
/// <summary> /// <summary>
/// image1 控件。 /// image1 控件。
/// </summary> /// </summary>
@ -191,7 +193,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image1; protected global::System.Web.UI.WebControls.Image image1;
/// <summary> /// <summary>
/// btnAddThisWeekAndMonthContent 控件。 /// btnAddThisWeekAndMonthContent 控件。
/// </summary> /// </summary>
@ -200,7 +202,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnAddThisWeekAndMonthContent; protected global::System.Web.UI.WebControls.ImageButton btnAddThisWeekAndMonthContent;
/// <summary> /// <summary>
/// gvThisWeekOrMonthContent 控件。 /// gvThisWeekOrMonthContent 控件。
/// </summary> /// </summary>
@ -209,7 +211,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvThisWeekOrMonthContent; protected global::System.Web.UI.WebControls.GridView gvThisWeekOrMonthContent;
/// <summary> /// <summary>
/// Table4 控件。 /// Table4 控件。
/// </summary> /// </summary>
@ -218,7 +220,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table4; protected global::System.Web.UI.HtmlControls.HtmlTable Table4;
/// <summary> /// <summary>
/// image2 控件。 /// image2 控件。
/// </summary> /// </summary>
@ -227,7 +229,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image2; protected global::System.Web.UI.WebControls.Image image2;
/// <summary> /// <summary>
/// Table6 控件。 /// Table6 控件。
/// </summary> /// </summary>
@ -236,7 +238,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table6; protected global::System.Web.UI.HtmlControls.HtmlTable Table6;
/// <summary> /// <summary>
/// image3 控件。 /// image3 控件。
/// </summary> /// </summary>
@ -245,7 +247,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image3; protected global::System.Web.UI.WebControls.Image image3;
/// <summary> /// <summary>
/// btnAddRowMaterialProblem 控件。 /// btnAddRowMaterialProblem 控件。
/// </summary> /// </summary>
@ -254,7 +256,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnAddRowMaterialProblem; protected global::System.Web.UI.WebControls.ImageButton btnAddRowMaterialProblem;
/// <summary> /// <summary>
/// gvRowMaterialProblem 控件。 /// gvRowMaterialProblem 控件。
/// </summary> /// </summary>
@ -263,7 +265,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvRowMaterialProblem; protected global::System.Web.UI.WebControls.GridView gvRowMaterialProblem;
/// <summary> /// <summary>
/// Table7 控件。 /// Table7 控件。
/// </summary> /// </summary>
@ -272,7 +274,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table7; protected global::System.Web.UI.HtmlControls.HtmlTable Table7;
/// <summary> /// <summary>
/// image4 控件。 /// image4 控件。
/// </summary> /// </summary>
@ -281,7 +283,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image4; protected global::System.Web.UI.WebControls.Image image4;
/// <summary> /// <summary>
/// btnAddConstructionProblems 控件。 /// btnAddConstructionProblems 控件。
/// </summary> /// </summary>
@ -290,7 +292,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnAddConstructionProblems; protected global::System.Web.UI.WebControls.ImageButton btnAddConstructionProblems;
/// <summary> /// <summary>
/// gvConstructionProblems 控件。 /// gvConstructionProblems 控件。
/// </summary> /// </summary>
@ -299,7 +301,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvConstructionProblems; protected global::System.Web.UI.WebControls.GridView gvConstructionProblems;
/// <summary> /// <summary>
/// Table8 控件。 /// Table8 控件。
/// </summary> /// </summary>
@ -308,7 +310,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table8; protected global::System.Web.UI.HtmlControls.HtmlTable Table8;
/// <summary> /// <summary>
/// image5 控件。 /// image5 控件。
/// </summary> /// </summary>
@ -317,7 +319,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image5; protected global::System.Web.UI.WebControls.Image image5;
/// <summary> /// <summary>
/// Table9 控件。 /// Table9 控件。
/// </summary> /// </summary>
@ -326,7 +328,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table9; protected global::System.Web.UI.HtmlControls.HtmlTable Table9;
/// <summary> /// <summary>
/// image6 控件。 /// image6 控件。
/// </summary> /// </summary>
@ -335,7 +337,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image6; protected global::System.Web.UI.WebControls.Image image6;
/// <summary> /// <summary>
/// txt1 控件。 /// txt1 控件。
/// </summary> /// </summary>
@ -344,7 +346,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt1; protected global::System.Web.UI.WebControls.TextBox txt1;
/// <summary> /// <summary>
/// txt2 控件。 /// txt2 控件。
/// </summary> /// </summary>
@ -353,7 +355,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt2; protected global::System.Web.UI.WebControls.TextBox txt2;
/// <summary> /// <summary>
/// txt3 控件。 /// txt3 控件。
/// </summary> /// </summary>
@ -362,7 +364,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt3; protected global::System.Web.UI.WebControls.TextBox txt3;
/// <summary> /// <summary>
/// txt4 控件。 /// txt4 控件。
/// </summary> /// </summary>
@ -371,7 +373,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt4; protected global::System.Web.UI.WebControls.TextBox txt4;
/// <summary> /// <summary>
/// txt5 控件。 /// txt5 控件。
/// </summary> /// </summary>
@ -380,7 +382,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt5; protected global::System.Web.UI.WebControls.TextBox txt5;
/// <summary> /// <summary>
/// txt6 控件。 /// txt6 控件。
/// </summary> /// </summary>
@ -389,7 +391,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt6; protected global::System.Web.UI.WebControls.TextBox txt6;
/// <summary> /// <summary>
/// txt7 控件。 /// txt7 控件。
/// </summary> /// </summary>
@ -398,7 +400,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt7; protected global::System.Web.UI.WebControls.TextBox txt7;
/// <summary> /// <summary>
/// txt8 控件。 /// txt8 控件。
/// </summary> /// </summary>
@ -407,7 +409,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt8; protected global::System.Web.UI.WebControls.TextBox txt8;
/// <summary> /// <summary>
/// txt9 控件。 /// txt9 控件。
/// </summary> /// </summary>
@ -416,7 +418,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt9; protected global::System.Web.UI.WebControls.TextBox txt9;
/// <summary> /// <summary>
/// image7 控件。 /// image7 控件。
/// </summary> /// </summary>
@ -425,7 +427,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image7; protected global::System.Web.UI.WebControls.Image image7;
/// <summary> /// <summary>
/// gvTJ 控件。 /// gvTJ 控件。
/// </summary> /// </summary>
@ -434,7 +436,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvTJ; protected global::System.Web.UI.WebControls.GridView gvTJ;
/// <summary> /// <summary>
/// gvSB 控件。 /// gvSB 控件。
/// </summary> /// </summary>
@ -443,7 +445,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvSB; protected global::System.Web.UI.WebControls.GridView gvSB;
/// <summary> /// <summary>
/// gvGD 控件。 /// gvGD 控件。
/// </summary> /// </summary>
@ -452,7 +454,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvGD; protected global::System.Web.UI.WebControls.GridView gvGD;
/// <summary> /// <summary>
/// gvDQ 控件。 /// gvDQ 控件。
/// </summary> /// </summary>
@ -461,7 +463,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvDQ; protected global::System.Web.UI.WebControls.GridView gvDQ;
/// <summary> /// <summary>
/// gvYB 控件。 /// gvYB 控件。
/// </summary> /// </summary>
@ -470,7 +472,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvYB; protected global::System.Web.UI.WebControls.GridView gvYB;
/// <summary> /// <summary>
/// gvFF 控件。 /// gvFF 控件。
/// </summary> /// </summary>
@ -479,7 +481,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvFF; protected global::System.Web.UI.WebControls.GridView gvFF;
/// <summary> /// <summary>
/// gvXF 控件。 /// gvXF 控件。
/// </summary> /// </summary>
@ -488,7 +490,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvXF; protected global::System.Web.UI.WebControls.GridView gvXF;
/// <summary> /// <summary>
/// image8 控件。 /// image8 控件。
/// </summary> /// </summary>
@ -497,7 +499,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image8; protected global::System.Web.UI.WebControls.Image image8;
/// <summary> /// <summary>
/// gvHJGLStatisc 控件。 /// gvHJGLStatisc 控件。
/// </summary> /// </summary>
@ -506,7 +508,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvHJGLStatisc; protected global::System.Web.UI.WebControls.GridView gvHJGLStatisc;
/// <summary> /// <summary>
/// image9 控件。 /// image9 控件。
/// </summary> /// </summary>
@ -515,7 +517,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image9; protected global::System.Web.UI.WebControls.Image image9;
/// <summary> /// <summary>
/// gvNCRStatisc 控件。 /// gvNCRStatisc 控件。
/// </summary> /// </summary>
@ -524,7 +526,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvNCRStatisc; protected global::System.Web.UI.WebControls.GridView gvNCRStatisc;
/// <summary> /// <summary>
/// image10 控件。 /// image10 控件。
/// </summary> /// </summary>
@ -533,7 +535,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image10; protected global::System.Web.UI.WebControls.Image image10;
/// <summary> /// <summary>
/// gvCheckStatisc 控件。 /// gvCheckStatisc 控件。
/// </summary> /// </summary>
@ -542,7 +544,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvCheckStatisc; protected global::System.Web.UI.WebControls.GridView gvCheckStatisc;
/// <summary> /// <summary>
/// image11 控件。 /// image11 控件。
/// </summary> /// </summary>
@ -551,7 +553,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image11; protected global::System.Web.UI.WebControls.Image image11;
/// <summary> /// <summary>
/// gvPassWelder 控件。 /// gvPassWelder 控件。
/// </summary> /// </summary>
@ -560,7 +562,25 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvPassWelder; protected global::System.Web.UI.WebControls.GridView gvPassWelder;
/// <summary>
/// image13 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image13;
/// <summary>
/// gvConstructionStatistics 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvConstructionStatistics;
/// <summary> /// <summary>
/// Table10 控件。 /// Table10 控件。
/// </summary> /// </summary>
@ -569,7 +589,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table10; protected global::System.Web.UI.HtmlControls.HtmlTable Table10;
/// <summary> /// <summary>
/// image12 控件。 /// image12 控件。
/// </summary> /// </summary>
@ -578,7 +598,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image image12; protected global::System.Web.UI.WebControls.Image image12;
/// <summary> /// <summary>
/// btnNextQualityControl 控件。 /// btnNextQualityControl 控件。
/// </summary> /// </summary>
@ -587,7 +607,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnNextQualityControl; protected global::System.Web.UI.WebControls.ImageButton btnNextQualityControl;
/// <summary> /// <summary>
/// gvNextQualityControl 控件。 /// gvNextQualityControl 控件。
/// </summary> /// </summary>
@ -596,7 +616,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvNextQualityControl; protected global::System.Web.UI.WebControls.GridView gvNextQualityControl;
/// <summary> /// <summary>
/// ValidationSummary1 控件。 /// ValidationSummary1 控件。
/// </summary> /// </summary>

View File

@ -78,7 +78,7 @@
</f:Toolbar> </f:Toolbar>
<f:Toolbar ID="Toolbar3" Position="Top" runat="server" ToolbarAlign="Left"> <f:Toolbar ID="Toolbar3" Position="Top" runat="server" ToolbarAlign="Left">
<Items> <Items>
<f:DropDownList ID="drpDocType" runat="server" Label="部门" Width="350px" LabelAlign="Right" EnableEdit="true"> <f:DropDownList ID="drpDocType" runat="server" Label="沟通类型" Width="350px" LabelAlign="Right" EnableEdit="true">
</f:DropDownList> </f:DropDownList>
<%--<f:DropDownList ID="drpCNProfessional" runat="server" Label="专业" Width="350px" LabelAlign="Right" EnableEdit="true"> <%--<f:DropDownList ID="drpCNProfessional" runat="server" Label="专业" Width="350px" LabelAlign="Right" EnableEdit="true">
</f:DropDownList>--%> </f:DropDownList>--%>
@ -121,7 +121,7 @@
</ItemTemplate> </ItemTemplate>
</f:TemplateField> </f:TemplateField>
<f:RenderField ColumnID="DocTypeName" Width="100px" DataField="DocTypeName" <f:RenderField ColumnID="DocTypeName" Width="100px" DataField="DocTypeName"
SortField="DocTypeName" FieldType="String" HeaderText="文档类别" TextAlign="Center" SortField="DocTypeName" FieldType="String" HeaderText="沟通类型" TextAlign="Center"
HeaderTextAlign="Center"> HeaderTextAlign="Center">
</f:RenderField> </f:RenderField>
<f:TemplateField ColumnID="ProjectSubjectId" Width="80px" HeaderText="装置" HeaderTextAlign="Center" TextAlign="Center" <f:TemplateField ColumnID="ProjectSubjectId" Width="80px" HeaderText="装置" HeaderTextAlign="Center" TextAlign="Center"
@ -177,7 +177,7 @@
</f:Grid> </f:Grid>
</Items> </Items>
</f:Panel> </f:Panel>
<f:Window ID="Window1" Title="文档" Hidden="true" EnableIFrame="true" EnableMaximize="true" <f:Window ID="Window1" Title="沟通协调" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" OnClose="Window1_Close" runat="server" IsModal="true" Target="Parent" EnableResize="false" OnClose="Window1_Close" runat="server" IsModal="true"
Width="1300px" Height="660px"> Width="1300px" Height="660px">
</f:Window> </f:Window>

View File

@ -36,7 +36,7 @@
<Rows> <Rows>
<f:FormRow> <f:FormRow>
<Items> <Items>
<f:ContentPanel ID="ContentPanel2" Title="文档" ShowBorder="true" <f:ContentPanel ID="ContentPanel2" Title="沟通协调" ShowBorder="true"
BodyPadding="10px" ShowHeader="true" AutoScroll="true" BodyPadding="10px" ShowHeader="true" AutoScroll="true"
runat="server"> runat="server">
<f:Form ID="Form2" ShowBorder="false" ShowHeader="false" AutoScroll="true" <f:Form ID="Form2" ShowBorder="false" ShowHeader="false" AutoScroll="true"
@ -66,7 +66,7 @@
</f:FormRow> </f:FormRow>
<f:FormRow> <f:FormRow>
<Items> <Items>
<f:DropDownList ID="drpDocType" ShowRedStar="true" Required="true" runat="server" Label="部门" LabelWidth="120px" LabelAlign="Right" EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="ChangeDocCode"> <f:DropDownList ID="drpDocType" ShowRedStar="true" Required="true" runat="server" Label="沟通类型" LabelWidth="120px" LabelAlign="Right" EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="ChangeDocCode">
</f:DropDownList> </f:DropDownList>
<f:DropDownList ID="drpProSubject" runat="server" Label="装置" LabelAlign="Right" EnableEdit="true" LabelWidth="120px" AutoPostBack="true" OnSelectedIndexChanged="ChangeDocCode"> <f:DropDownList ID="drpProSubject" runat="server" Label="装置" LabelAlign="Right" EnableEdit="true" LabelWidth="120px" AutoPostBack="true" OnSelectedIndexChanged="ChangeDocCode">
</f:DropDownList> </f:DropDownList>
@ -122,12 +122,18 @@
<f:TabStrip ID="TabStrip1" IsFluid="true" Height="350px" ShowBorder="true" TabPosition="Top" <f:TabStrip ID="TabStrip1" IsFluid="true" Height="350px" ShowBorder="true" TabPosition="Top"
EnableTabCloseMenu="false" ActiveTabIndex="0" runat="server"> EnableTabCloseMenu="false" ActiveTabIndex="0" runat="server">
<Tabs> <Tabs>
<f:Tab Title="正文" BodyPadding="10px" <f:Tab Title="正文" BodyPadding="10px"
runat="server"> runat="server">
<Items> <Items>
<f:HtmlEditor runat="server" Label=" " ID="txtDocContent" ShowLabel="false" <f:SimpleForm ID="SimpleForm2" ShowBorder="false"
Editor="UMEditor" BasePath="~/res/umeditor/" ToolbarSet="Full" Height="500px" LabelAlign="Right" Text=""> ShowHeader="false" Title="SimpleForm1" LabelWidth="120px" runat="server">
</f:HtmlEditor> <Items>
<f:HtmlEditor runat="server" Label=" " ID="txtDocContent" ShowLabel="false"
Editor="UMEditor" BasePath="~/res/umeditor/" ToolbarSet="Full" Height="500px" LabelAlign="Right" Text="">
</f:HtmlEditor>
</Items>
</f:SimpleForm>
</Items> </Items>
</f:Tab> </f:Tab>
</Tabs> </Tabs>
@ -149,14 +155,14 @@
<Items> <Items>
<f:ContentPanel ID="ContentPanel1" Title="文档审批流程设置" runat="server" ShowHeader="true" EnableCollapse="true" <f:ContentPanel ID="ContentPanel1" Title="文档审批流程设置" runat="server" ShowHeader="true" EnableCollapse="true"
BodyPadding="0px"> BodyPadding="0px">
<f:Form ID="Form3" ShowBorder="false" ShowHeader="false" AutoScroll="true" <f:Form ID="Form3" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right"> BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows> <Rows>
<f:FormRow> <f:FormRow>
<Items> <Items>
<f:RadioButtonList runat="server" ID="drpHandleType" Label="办理步骤" LabelWidth="120px" ShowRedStar="true" AutoPostBack="true" OnSelectedIndexChanged="drpHandleType_SelectedIndexChanged" AutoColumnWidth="true"> <f:RadioButtonList runat="server" ID="drpHandleType" Label="办理步骤" LabelWidth="120px" ShowRedStar="true" AutoPostBack="true" OnSelectedIndexChanged="drpHandleType_SelectedIndexChanged" AutoColumnWidth="true">
<f:RadioItem Text="下一步" Value="1" Selected="true" /> <f:RadioItem Text="请回复和处理" Value="1" Selected="true" />
<f:RadioItem Text="审批完成" Value="2" /> <f:RadioItem Text="请知悉了解" Value="2" />
</f:RadioButtonList> </f:RadioButtonList>
<f:DatePicker ID="txtFinishTime" runat="server" Label="要求完成时间" LabelWidth="120px" LabelAlign="Right" <f:DatePicker ID="txtFinishTime" runat="server" Label="要求完成时间" LabelWidth="120px" LabelAlign="Right"
EnableEdit="true"> EnableEdit="true">
@ -171,11 +177,16 @@
</f:DropDownList> </f:DropDownList>
</Items> </Items>
</f:FormRow> </f:FormRow>
<f:FormRow runat="server">
<Items>
<f:TextBox runat="server" ID="txtCopyMan" Label="抄送人员" Readonly="True" Enabled="False"/>
</Items>
</f:FormRow>
<f:FormRow> <f:FormRow>
<Items> <Items>
<f:Tree ID="trCopyMan" EnableCollapse="true" ShowHeader="false" Title="抄送人员" EnableCheckBox="true" <f:Tree ID="trCopyMan" EnableCollapse="true" ShowHeader="false" Title="抄送人员" EnableCheckBox="true"
AutoLeafIdentification="true" runat="server" EnableIcons="true" AutoScroll="true" AutoLeafIdentification="true" runat="server" EnableIcons="true" AutoScroll="true" IsFluid="True"
EnableSingleClickExpand="true" OnNodeCheck="trCopyMan_NodeCheck"> EnableSingleClickExpand="true" OnNodeCheck="trCopyMan_NodeCheck">
</f:Tree> </f:Tree>
</Items> </Items>
@ -202,14 +213,6 @@
<f:Label runat="server" CssStyle="display:none"></f:Label> <f:Label runat="server" CssStyle="display:none"></f:Label>
</Items> </Items>
</f:FormRow> </f:FormRow>
<f:FormRow>
<Items>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
</Items>
</f:FormRow>
</Rows> </Rows>
</f:Form> </f:Form>
</f:ContentPanel> </f:ContentPanel>

View File

@ -179,6 +179,8 @@ namespace FineUIPro.Web.DocManage
{ {
this.trCopyMan.UncheckAllNodes(e.Node.Nodes); this.trCopyMan.UncheckAllNodes(e.Node.Nodes);
} }
txtCopyMan.Text = GetCopyManName();
} }
/// <summary> /// <summary>
@ -601,6 +603,36 @@ namespace FineUIPro.Web.DocManage
BLL.DocManageService.UpdateDoc(doc); BLL.DocManageService.UpdateDoc(doc);
} }
} }
protected string GetCopyManName()
{
TreeNode[] nodes = this.trCopyMan.GetCheckedNodes();
string copyMan = string.Empty;
string copyManName = string.Empty;
if (nodes.Length > 0)
{
foreach (TreeNode tn in nodes)
{
if (tn.CommandName == "User")
{
Model.Doc_DocManageApprove approve = new Model.Doc_DocManageApprove();
approve.DocId = DocId;
approve.ApproveMan = tn.NodeID;
approve.Type = "s";
DocManageApproveService.AddDocManageApprove(approve);
copyMan += tn.NodeID + ",";
}
}
}
if (!string.IsNullOrEmpty(copyMan))
{
copyMan = copyMan.Substring(0, copyMan.Length - 1);
}
copyManName = UserService.getUserNamesUserIds(copyMan);
return copyManName;
}
protected void btnSubmit_Click(object sender, EventArgs e) protected void btnSubmit_Click(object sender, EventArgs e)
{ {
if (CommonService.GetAllButtonPowerList(CurrUser.LoginProjectId, CurrUser.UserId, Const.DocManageMenuId, Const.BtnSave)) if (CommonService.GetAllButtonPowerList(CurrUser.LoginProjectId, CurrUser.UserId, Const.DocManageMenuId, Const.BtnSave))

View File

@ -158,6 +158,15 @@ namespace FineUIPro.Web.DocManage
/// </remarks> /// </remarks>
protected global::FineUIPro.TabStrip TabStrip1; protected global::FineUIPro.TabStrip TabStrip1;
/// <summary>
/// SimpleForm2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.SimpleForm SimpleForm2;
/// <summary> /// <summary>
/// txtDocContent 控件。 /// txtDocContent 控件。
/// </summary> /// </summary>
@ -248,6 +257,15 @@ namespace FineUIPro.Web.DocManage
/// </remarks> /// </remarks>
protected global::FineUIPro.DropDownList drpHandleMan; protected global::FineUIPro.DropDownList drpHandleMan;
/// <summary>
/// txtCopyMan 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCopyMan;
/// <summary> /// <summary>
/// trCopyMan 控件。 /// trCopyMan 控件。
/// </summary> /// </summary>

File diff suppressed because it is too large Load Diff

View File

@ -116,6 +116,15 @@
</f:Button> </f:Button>
</Items> </Items>
</f:FormRow> </f:FormRow>
<f:FormRow ColumnWidths="70% 25% 5%">
<Items>
<f:TextBox ID="txtESBSerVerUrl" runat="server" Label="集团ESB地址" LabelWidth="230px"></f:TextBox>
<f:TextBox ID="txtClientId" runat="server" Label="ClientId" LabelWidth="230px"></f:TextBox>
<f:Button ID="txtTestPost" Icon="SystemSave" Text="测试对接" runat="server" ValidateForms="SimpleForm1"
OnClick="txtTestPost_OnClick">
</f:Button>
</Items>
</f:FormRow>
<f:FormRow> <f:FormRow>
<Items> <Items>
<f:TextArea runat="server" ID="txtRefererWhitelist" Label="数据穿透白名单"></f:TextArea> <f:TextArea runat="server" ID="txtRefererWhitelist" Label="数据穿透白名单"></f:TextArea>

View File

@ -373,6 +373,16 @@ namespace FineUIPro.Web.SysManage
{ {
txtSerVerUrl.Text = sysSet9.SetValue; txtSerVerUrl.Text = sysSet9.SetValue;
} }
var sysSet10 = (from x in Funs.DB.Sys_Const where x.ConstText == "集团ESB地址" select x).ToList().FirstOrDefault();
if (sysSet10 != null)
{
txtESBSerVerUrl.Text = sysSet10.ConstValue;
}
var sysSet11 = (from x in Funs.DB.Sys_Const where x.ConstText == "ClientId" select x).ToList().FirstOrDefault();
if (sysSet11 != null)
{
txtClientId.Text = sysSet11.ConstValue;
}
var sysSet18 = BLL.ConstValue.drpConstItemList(BLL.ConstValue.Group_SafeReferer).Select(x => new { x.ConstText, x.ConstValue }).ToList(); var sysSet18 = BLL.ConstValue.drpConstItemList(BLL.ConstValue.Group_SafeReferer).Select(x => new { x.ConstText, x.ConstValue }).ToList();
var txtReferer = ""; var txtReferer = "";
foreach (var item in sysSet18) foreach (var item in sysSet18)
@ -581,6 +591,48 @@ namespace FineUIPro.Web.SysManage
Funs.DB.Sys_Set.InsertOnSubmit(newSysSet9); Funs.DB.Sys_Set.InsertOnSubmit(newSysSet9);
Funs.DB.SubmitChanges(); Funs.DB.SubmitChanges();
} }
Model.Sys_Const sysSet10 = db.Sys_Const.FirstOrDefault(x => x.ConstText == "集团ESB地址");
if (sysSet10 != null)
{
if (!string.IsNullOrEmpty(this.txtESBSerVerUrl.Text.Trim()))
{
sysSet10.ConstValue = this.txtESBSerVerUrl.Text.Trim();
}
db.SubmitChanges();
}
else
{
Model.Sys_Const newSysSet10 = new Model.Sys_Const();
newSysSet10.ID = SQLHelper.GetNewID();
if (!string.IsNullOrEmpty(this.txtESBSerVerUrl.Text.Trim()))
{
newSysSet10.ConstValue = this.txtESBSerVerUrl.Text.Trim();
}
newSysSet10.ConstText = "集团ESB地址";
Funs.DB.Sys_Const.InsertOnSubmit(newSysSet10);
Funs.DB.SubmitChanges();
}
Model.Sys_Const sysSet11 = db.Sys_Const.FirstOrDefault(x => x.ConstText == "ClientId");
if (sysSet11 != null)
{
if (!string.IsNullOrEmpty(this.txtClientId.Text.Trim()))
{
sysSet11.ConstValue = this.txtClientId.Text.Trim();
}
db.SubmitChanges();
}
else
{
Model.Sys_Const newSysSet11 = new Model.Sys_Const();
newSysSet11.ID = SQLHelper.GetNewID();
if (!string.IsNullOrEmpty(this.txtClientId.Text.Trim()))
{
newSysSet11.ConstValue = this.txtClientId.Text.Trim();
}
newSysSet11.ConstText = "ClientId";
Funs.DB.Sys_Const.InsertOnSubmit(newSysSet11);
Funs.DB.SubmitChanges();
}
ConstValue.DeleteConstValueBygroupId(BLL.ConstValue.Group_SafeReferer); ConstValue.DeleteConstValueBygroupId(BLL.ConstValue.Group_SafeReferer);
var q = txtRefererWhitelist.Text.Split('&'); var q = txtRefererWhitelist.Text.Split('&');
foreach (var item in q) foreach (var item in q)
@ -1115,5 +1167,26 @@ namespace FineUIPro.Web.SysManage
} }
protected void txtTestPost_OnClick(object sender, EventArgs e)
{
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
string CncecEsbPath = SysConstSetService.CncecEsbPath;
string ClientId = SysConstSetService.ClientId;
string baseurl = CncecEsbPath + "/cn.cncec.group.qhsePROD.common.GetToken";
var client = new RestClient(baseurl);
client.Timeout = -1;
var request = new RestRequest(Method.POST);
var thisUnit = BLL.UnitService.GetUnitByUnitId(BLL.Const.UnitId_CWCEC);
request.AddHeader("ClientId", ClientId);
request.AddHeader("OperationCode", "cn.cncec.group.qhsePROD.common.GetToken");
request.AddParameter("UnitName", thisUnit.UnitName);
request.AddParameter("CollCropCode", thisUnit.CollCropCode);
IRestResponse response = client.Execute(request);
Alert.Show(response.Content);
}
} }
} }

View File

@ -311,6 +311,33 @@ namespace FineUIPro.Web.SysManage
/// </remarks> /// </remarks>
protected global::FineUIPro.Button btnApply; protected global::FineUIPro.Button btnApply;
/// <summary>
/// txtESBSerVerUrl 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtESBSerVerUrl;
/// <summary>
/// txtClientId 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtClientId;
/// <summary>
/// txtTestPost 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button txtTestPost;
/// <summary> /// <summary>
/// txtRefererWhitelist 控件。 /// txtRefererWhitelist 控件。
/// </summary> /// </summary>

View File

@ -173,7 +173,7 @@
</div> </div>
</div> </div>
<div class="y_box"> <div class="y_box">
<div class="y_box_label y_image_default">作业许可</div> <div class="y_box_label y_image_default">作业许可(<%=getTodayCount() %>/<%=getAllCount() %>)</div>
<div class="y_box_main"> <div class="y_box_main">
<div class="zyp"> <div class="zyp">
<div class="zyp_box"> <div class="zyp_box">

View File

@ -174,7 +174,7 @@ namespace FineUIPro.Web.common
div_zgsj.InnerHtml = (GetGeneralClosedNum() + GetGeneralNotClosedNum()).ToString(); div_zgsj.InnerHtml = (GetGeneralClosedNum() + GetGeneralNotClosedNum()).ToString();
div_zgywc.InnerHtml = GetGeneralClosedNum().ToString(); div_zgywc.InnerHtml = GetGeneralClosedNum().ToString();
div_zgwwc.InnerHtml = GetGeneralNotClosedNum().ToString(); div_zgwwc.InnerHtml = GetGeneralNotClosedNum().ToString();
div_zgwcl.InnerHtml = String.Format("{0:N2}", 100.0 * GetGeneralClosedNum() / (GetGeneralNotClosedNum() + GetGeneralClosedNum())) + "%"; div_zgwcl.InnerHtml = String.Format("{0:N2}", 100.0 * GetGeneralClosedNum() / (GetGeneralNotClosedNum() + GetGeneralClosedNum())).Replace("NaN","0") + "%";
} }
/// <summary> /// <summary>
@ -485,6 +485,16 @@ namespace FineUIPro.Web.common
#endregion #endregion
#region #region
protected int getTodayCount()
{
var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.CompileDate.Value.Date == DateTime.Now.Date).ToList().Count;
return result;
}
protected int getAllCount()
{
var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId ).ToList().Count;
return result;
}
/// <summary> /// <summary>
/// 动火作业许可证 /// 动火作业许可证
/// </summary> /// </summary>

View File

@ -737,12 +737,12 @@
// refreshWhenExist 添加选项卡时如果选项卡已经存在是否刷新内部IFrame // refreshWhenExist 添加选项卡时如果选项卡已经存在是否刷新内部IFrame
// refreshWhenTabChange: 切换选项卡时是否刷新内部IFrame // refreshWhenTabChange: 切换选项卡时是否刷新内部IFrame
F.initTreeTabStrip(mainMenu, mainTabStrip, true, false, false); F.initTreeTabStrip(mainMenu, mainTabStrip, true, false, false);
var themeTitle = F.cookie('Theme_Pro_Title'); <%--var themeTitle = F.cookie('Theme_Pro_Title');
var themeName = F.cookie('Theme_Pro'); var themeName = F.cookie('Theme_Pro');
if (themeTitle) { if (themeTitle) {
F.removeCookie('Theme_Pro_Title'); F.removeCookie('Theme_Pro_Title');
//notify('主题更改为:' + themeTitle + '' + themeName + ''); //notify('主题更改为:' + themeTitle + '' + themeName + '');
} }--%>
}); });

View File

@ -26,9 +26,21 @@ namespace Model
get { return workName; } get { return workName; }
set { workName = value; } set { workName = value; }
} }
/// <summary>
/// 本期已完成
/// </summary>
private int currentPeriodOkNum;
/// <summary>
/// 本期已完成
/// </summary>
public int CurrentPeriodOkNum
{
get { return currentPeriodOkNum; }
set { currentPeriodOkNum = value; }
}
private int oKNum; private int oKNum;
/// <summary> /// <summary>
/// 已完成 /// 已完成
/// </summary> /// </summary>