20240428 项目质量周报(新)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user