Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 935007154e | |||
| 54c4dc6b4f | |||
| 41c5dad9f6 | |||
| 281ea157e1 |
@@ -51,7 +51,7 @@
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</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" runat="server" IsModal="true" OnClose="Window1_Close"
|
||||
Width="1300px" Height="620px">
|
||||
</f:Window>
|
||||
|
||||
@@ -629,7 +629,9 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||
}
|
||||
}
|
||||
int i = 1;
|
||||
var cNProfessionals = from x in Funs.DB.Base_CNProfessional where x.CNProfessionalId != BLL.Const.CNProfessionalConstructId orderby x.SortIndex select x;
|
||||
var cNProfessionals = from x in Funs.DB.Base_CNProfessional where x.CNProfessionalId != BLL.Const.CNProfessionalConstructId
|
||||
&& x.CNProfessionalId != BLL.Const.ComprehensiveId
|
||||
orderby x.SortIndex select x;
|
||||
foreach (var item in cNProfessionals)
|
||||
{
|
||||
//专业下所有集合
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>编辑施工质量周报(新)</title>
|
||||
<title>编辑项目质量月报(新)</title>
|
||||
<base target="_self" />
|
||||
<script type="text/javascript" src="../../res/index/js/jquery-3.4.1.min.js"></script>
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
<tr>
|
||||
<td align="left" valign="middle" style="width: 50%; font-size: 12pt; font-weight: bold">
|
||||
<asp:Image ImageUrl="~/Images/lv-1.gif" ImageAlign="AbsMiddle" ID="image15" runat="server" />
|
||||
编辑施工质量月报
|
||||
编辑项目质量月报
|
||||
</td>
|
||||
<td align="right" valign="middle" style="width: 50%; height: 30px;">
|
||||
<%-- <asp:ImageButton ID="btnSave" runat="server" ImageUrl="~/Images/savebutton.gif" OnClick="btnSave_Click" OnClientClick="demo"
|
||||
@@ -96,7 +96,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" style="width: 46%; height: 50px; vertical-align: middle; font-size: 20pt; font-weight: bold">
|
||||
<asp:Label ID="lblTital" runat="server" Text="施 工 质 量 月 报"></asp:Label>
|
||||
<asp:Label ID="lblTital" runat="server" Text="项 目 质 量 月 报"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -787,6 +787,12 @@
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:Label runat="server" ID="hidWsjcgl" Hidden="true" Text="无数据"></f:Label>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</Items>
|
||||
|
||||
@@ -493,6 +493,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||
u.UnitId,
|
||||
u.UnitName,
|
||||
c.ExpertReviewMan,
|
||||
c.IsReview,
|
||||
c.CompileDate
|
||||
};
|
||||
|
||||
@@ -506,7 +507,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||
model.UnitOrMajor = item.UnitName;
|
||||
model.Quantity1 = monethCount.Count();
|
||||
model.Quantity2 = AllList.Count();
|
||||
model.Quantity3 = AllList.Where(x => x.ExpertReviewMan != "").ToList().Count();
|
||||
model.Quantity3 = AllList.Where(x => x.IsReview == true).ToList().Count();
|
||||
model.ReportId = ReportId;
|
||||
//如果是修改,查询表中数据
|
||||
if (objType == "1")
|
||||
@@ -643,6 +644,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||
//加载所有专业
|
||||
var CNProfessionals = from x in Funs.DB.Base_CNProfessional
|
||||
where x.CNProfessionalId != BLL.Const.CNProfessionalConstructId
|
||||
&& x.CNProfessionalId != BLL.Const.ComprehensiveId
|
||||
orderby x.SortIndex
|
||||
select new
|
||||
{
|
||||
@@ -726,6 +728,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||
//加载所有专业
|
||||
var CNProfessionals = from x in Funs.DB.Base_CNProfessional
|
||||
where x.CNProfessionalId != BLL.Const.CNProfessionalConstructId
|
||||
&& x.CNProfessionalId != BLL.Const.ComprehensiveId
|
||||
orderby x.SortIndex
|
||||
select new
|
||||
{
|
||||
@@ -813,7 +816,8 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||
}
|
||||
}
|
||||
int i = 1;
|
||||
var cNProfessionals = from x in Funs.DB.Base_CNProfessional where x.CNProfessionalId != BLL.Const.CNProfessionalConstructId orderby x.SortIndex select x;
|
||||
var cNProfessionals = from x in Funs.DB.Base_CNProfessional where x.CNProfessionalId != BLL.Const.CNProfessionalConstructId
|
||||
&& x.CNProfessionalId != BLL.Const.ComprehensiveId orderby x.SortIndex select x;
|
||||
foreach (var item in cNProfessionals)
|
||||
{
|
||||
//专业下所有集合
|
||||
@@ -1254,18 +1258,24 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||
list.Add(model);
|
||||
}
|
||||
}
|
||||
if (list.Count == 0)
|
||||
{
|
||||
Grid10.Hidden = true;
|
||||
hidWsjcgl.Hidden = false;
|
||||
}
|
||||
else {
|
||||
Grid10.DataSource = list;
|
||||
Grid10.DataBind();
|
||||
|
||||
Grid10.DataSource = list;
|
||||
Grid10.DataBind();
|
||||
//合计
|
||||
//合计
|
||||
JObject summary = new JObject();
|
||||
summary.Add("CreateMan", "合计");
|
||||
summary.Add("MonthQuantity", totalNum0.ToString());
|
||||
summary.Add("TotalQuantity", totalNum1.ToString());
|
||||
|
||||
//合计
|
||||
//合计
|
||||
JObject summary = new JObject();
|
||||
summary.Add("CreateMan", "合计");
|
||||
summary.Add("MonthQuantity", totalNum0.ToString());
|
||||
summary.Add("TotalQuantity", totalNum1.ToString());
|
||||
|
||||
Grid10.SummaryData = summary;
|
||||
Grid10.SummaryData = summary;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
@@ -2635,6 +2645,11 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||
/// <param name="e"></param>
|
||||
protected void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(this.txtPeriod.Text.Trim()))
|
||||
{
|
||||
ShowNotify("周期不能为空!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
Model.Report_WeekAndMonthReport_New report = new Model.Report_WeekAndMonthReport_New();
|
||||
report.Id = ReportId;
|
||||
report.ProjectId = this.CurrUser.LoginProjectId;
|
||||
|
||||
+224
-213
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -35,9 +35,9 @@
|
||||
<TreeNode id="e58366b4-70a5-41d1-a26f-0ab4a234004c" Text="现场焊接无损检测情况" NavigateUrl="CQMS/ManageReport/HJGLStatisc.aspx"></TreeNode>
|
||||
<TreeNode id="0c65cad2-2279-48fc-b78c-82bfbe01f037" Text="NCR统计" NavigateUrl="CQMS/ManageReport/NCRStatisc.aspx"></TreeNode>
|
||||
<TreeNode id="227d640a-9494-41ce-95bf-748dd59e986f" Text="设计变更单统计" NavigateUrl="CQMS/ManageReport/DesignChangeStatisc.aspx"></TreeNode>
|
||||
<TreeNode id="51ee983f-085e-4f02-b819-cab049d9cc26" Text="施工质量周报" NavigateUrl="CQMS/ManageReport/WeekReport.aspx"></TreeNode>
|
||||
<TreeNode id="8048c87a-c2b6-4a0d-bca9-f4f2dca42e5b" Text="施工质量月报" NavigateUrl="CQMS/ManageReport/MonthReport.aspx"></TreeNode>
|
||||
<TreeNode id="4164BF9B-DA7C-4287-AC11-D1EB6A664F57" Text="施工质量月报(新)" NavigateUrl="CQMS/ManageReportNew/MonthReport.aspx"></TreeNode>
|
||||
<TreeNode id="51ee983f-085e-4f02-b819-cab049d9cc26" Text="项目质量周报" NavigateUrl="CQMS/ManageReport/WeekReport.aspx"></TreeNode>
|
||||
<TreeNode id="8048c87a-c2b6-4a0d-bca9-f4f2dca42e5b" Text="项目质量月报" NavigateUrl="CQMS/ManageReport/MonthReport.aspx"></TreeNode>
|
||||
<TreeNode id="4164BF9B-DA7C-4287-AC11-D1EB6A664F57" Text="项目质量月报(新)" NavigateUrl="CQMS/ManageReportNew/MonthReport.aspx"></TreeNode>
|
||||
<TreeNode id="1443C901-A9C3-4CCC-B858-55512DE8C5CA" Text="质量管理工作总结报告" NavigateUrl="CQMS/ManageReport/QualityWorkSummaryReport.aspx"></TreeNode>
|
||||
<TreeNode id="267064F1-88F7-4468-998A-49A1A2F25BB8" Text="季度工程项目质量信息表" NavigateUrl="CQMS/ManageReport/QuarterlyProjectQuality.aspx"></TreeNode>
|
||||
</TreeNode>
|
||||
|
||||
Reference in New Issue
Block a user