提交代码

This commit is contained in:
2024-06-06 16:00:57 +08:00
parent dd3f0cfafe
commit 1739e39d5b
13 changed files with 88 additions and 36 deletions
@@ -182,23 +182,23 @@ namespace FineUIPro.Web.TestRun.DriverReport
var report = BLL.TestRun_MonthReportService.GetMonthReportById(id);
if (report != null)
{
if (!string.IsNullOrEmpty(report.PushPerson))
{
if (report.PushPerson.Contains(this.CurrUser.UserId))
{
//if (!string.IsNullOrEmpty(report.PushPerson))
//{
// if (report.PushPerson.Contains(this.CurrUser.UserId))
// {
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("MonthReportPushView.aspx?id={0}", Grid1.SelectedRowID, "编辑 - ")));
}
else
{
Alert.ShowInTop("对不起,您不是接收推送人员,不能查看!");
return;
}
}
else
{
Alert.ShowInTop("对不起,您不是接收推送人员,不能查看!");
return;
}
// }
// else
// {
// Alert.ShowInTop("对不起,您不是接收推送人员,不能查看!");
// return;
// }
//}
//else
//{
// Alert.ShowInTop("对不起,您不是接收推送人员,不能查看!");
// return;
//}
}
}
}