20240428 项目质量周报(新)

This commit is contained in:
2024-04-28 15:51:10 +08:00
parent ceacba8c0d
commit 0aefcb309d
14 changed files with 12477 additions and 740 deletions
@@ -26,9 +26,9 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
public void BindGrid()
{
string strSql = @"select Id, Sortid, StartDate, EndDate, ProjectId
string strSql = @"select Id, Sortid, StartDate, EndDate, ProjectId,ReportType
from Report_WeekAndMonthReport_New C
where C.ProjectId = @ProjectId";
where C.ReportType='1' AND C.ProjectId = @ProjectId";
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
SqlParameter[] parameter = listStr.ToArray();
@@ -129,7 +129,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
{
return;
}
var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.CQWeekReportNewMenuId);
var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.MonthReportNewMenuId);
if (buttonList.Count() > 0)
{
if (buttonList.Contains(BLL.Const.BtnModify))