20241012 Contractor Quality Punishment设置查看全部权限
This commit is contained in:
@@ -41,7 +41,8 @@ namespace FineUIPro.Web.SES
|
||||
private void BindGrid()
|
||||
{
|
||||
string strSql = string.Empty;
|
||||
if (this.CurrUser.UserId == BLL.Const.GlyId)
|
||||
var user = BLL.Sys_ButtonPowerService.GetButtonPowerByUserId(this.CurrUser.UserId);
|
||||
if (this.CurrUser.UserId == BLL.Const.GlyId || user != null)
|
||||
{
|
||||
strSql = @"SELECT * FROM dbo.View_EMC_Que_Punishment WHERE Flag='2' ";
|
||||
}
|
||||
|
||||
@@ -391,7 +391,7 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
string rootPath = Server.MapPath("~/") + Const.ExcelUrl;
|
||||
//模板文件
|
||||
string TempletFileName = rootPath + "Punishment.xlsx";
|
||||
string TempletFileName = rootPath + "CSafePunish.xlsx";
|
||||
//导出文件
|
||||
string filePath = rootPath + DateTime.Now.ToString("yyyyMMddhhmmss") + "\\";
|
||||
if (!Directory.Exists(filePath))
|
||||
|
||||
Reference in New Issue
Block a user