提交定制会内容
This commit is contained in:
@@ -47,8 +47,8 @@ namespace FineUIPro.Web.ZHGL.Supervise
|
||||
strSql += " AND (SuperviseCheckRectifyCode like @name OR ProjectName like @name OR UnitName like @name OR HandleState like @name)";
|
||||
listStr.Add(new SqlParameter("@name", "%" + this.txtName.Text.Trim() + "%"));
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(this.CurrUser.UnitId) && Const.UnitId_SEDIN != this.CurrUser.UnitId)
|
||||
var thisUnit = BLL.CommonService.GetIsThisUnit();
|
||||
if (!string.IsNullOrEmpty(this.CurrUser.UnitId) && thisUnit.UnitId != this.CurrUser.UnitId)
|
||||
{
|
||||
strSql += " AND ProjectUnitId = @UnitId";
|
||||
listStr.Add(new SqlParameter("@UnitId", this.CurrUser.UnitId));
|
||||
@@ -288,6 +288,13 @@ namespace FineUIPro.Web.ZHGL.Supervise
|
||||
}
|
||||
|
||||
}
|
||||
if (string.IsNullOrEmpty(CurrUser.LoginProjectId))
|
||||
{
|
||||
btnDelete.Hidden = true;
|
||||
btnEdit.Hidden = true;
|
||||
btnMenuDelete.Hidden = true;
|
||||
btnMenuEdit.Hidden = true;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user