This commit is contained in:
gaofei
2022-04-14 11:15:34 +08:00
parent 274010da92
commit 8e73412eb6
49 changed files with 1609 additions and 2301 deletions
@@ -36,9 +36,10 @@ namespace FineUIPro.Web.common
var getTrainRecord = from x in db.EduTrain_TrainRecord where x.ProjectId == this.CurrUser.LoginProjectId select x;
this.divPX.InnerHtml = getTrainRecord.Count().ToString();
//质量问题
var inspectionManagements = from x in db.ProcessControl_InspectionManagement where x.ProjectId == this.CurrUser.LoginProjectId select x;
this.divZLWT.InnerHtml = inspectionManagements.Count().ToString();
var checkList = from x in db.Check_CheckControl where x.ProjectId == this.CurrUser.LoginProjectId select x;
this.divZLWT.InnerHtml = checkList.Count().ToString();
//质量共检数据
var inspectionManagements = from x in db.ProcessControl_InspectionManagement where x.ProjectId == this.CurrUser.LoginProjectId select x;
this.divZLGJ.InnerHtml = inspectionManagements.Count().ToString();
//验收数据
this.divYS.InnerHtml = inspectionManagements.Count(x => x.IsOnceQualified == true).ToString();