提交代码
This commit is contained in:
@@ -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;
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user