质量管理
This commit is contained in:
@@ -16,7 +16,8 @@ namespace FineUIPro.Web.CQMS.ManageReport
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack) {
|
||||
if (!IsPostBack)
|
||||
{
|
||||
Model.Base_Project project = BLL.ProjectService.GetProjectByProjectId(this.CurrUser.LoginProjectId);
|
||||
this.txtStartDate.Text = "2015-01-01";
|
||||
this.txtEndDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now);
|
||||
@@ -104,8 +105,11 @@ namespace FineUIPro.Web.CQMS.ManageReport
|
||||
NCRStatisc.Num = i;
|
||||
NCRStatisc.WorkName = item.ProfessionalName;
|
||||
NCRStatisc.CheckNum = managementList.Count();
|
||||
NCRStatisc.OKNum = managementList.Count(x => x.Status == "3");
|
||||
NCRStatisc.NotOKNum = managementList.Count(x => x.Status != "3");
|
||||
//NCRStatisc.OKNum = managementList.Count(x => x.Status == "3");
|
||||
//NCRStatisc.NotOKNum = managementList.Count(x => x.Status != "3");
|
||||
int okNum = managementList.Where(x => x.ImplementationFrontState.Trim().Equals("已闭合")).Count();
|
||||
NCRStatisc.OKNum = okNum;
|
||||
NCRStatisc.NotOKNum = managementList.Count() - okNum;
|
||||
NCRStatisc.Remark = "";
|
||||
if (NCRStatisc.CheckNum != 0)//被除数不能为零
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user