代码无效引用清理,试压包资料界面看板修改

This commit is contained in:
2025-10-10 14:33:21 +08:00
parent 87fb529521
commit 55b798135c
933 changed files with 5897 additions and 7541 deletions
@@ -1,12 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;
using FineUIPro.Web.HJGL.BaseInfo;
using BLL;
using Newtonsoft.Json.Linq;
using System;
using System.Linq;
namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync
{
@@ -17,16 +12,16 @@ namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync
/// 主键
/// </summary>
public string Id
{
get
{
return (string)ViewState["Id"];
get
{
return (string)ViewState["Id"];
}
set
{
ViewState["Id"] = value;
}
}
set
{
ViewState["Id"] = value;
}
}
#endregion
protected void Page_Load(object sender, EventArgs e)
{
@@ -157,23 +152,23 @@ namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync
}
private void BindGrid()
{
if (!string.IsNullOrEmpty(this.Id))
private void BindGrid()
{
if (!string.IsNullOrEmpty(this.Id))
{
Model.Project_HJGLData_HJGL model = BLL.Project_HJGLData_HJGLService.GetProject_HJGLData_HJGLById(this.Id);
if (model != null)
{
var dt= BLL.Project_HJGLData_DefectService.GetProject_HJGLData_DefectByDate(model.ReportDate,this.CurrUser.LoginProjectId);
var dt = BLL.Project_HJGLData_DefectService.GetProject_HJGLData_DefectByDate(model.ReportDate, this.CurrUser.LoginProjectId);
Grid1.RecordCount = dt.Count;
// var table = this.GetPagedDataTable(Grid1, tb);
// var table = this.GetPagedDataTable(Grid1, tb);
Grid1.DataSource = dt;
Grid1.DataBind();
}
}
}
}
}
protected void txtReportDate_DateSelect(object sender, EventArgs e)
{
if (txtReportDate.SelectedDate != null)
@@ -212,24 +207,24 @@ namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync
{
return Confirm.GetShowReference("确定删除当前数据吗?", String.Empty, MessageBoxIcon.Question, Grid1.GetDeleteSelectedRowsReference(), String.Empty);
}
#region
/// <summary>
/// 获取按钮权限
/// </summary>
/// <param name="button"></param>
/// <returns></returns>
private void GetButtonPower()
{
var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.PersonId, BLL.Const.Project_HJGLData_HJGLMenuId);
if (buttonList.Count() > 0)
#region
/// <summary>
/// 获取按钮权限
/// </summary>
/// <param name="button"></param>
/// <returns></returns>
private void GetButtonPower()
{
if (buttonList.Contains(BLL.Const.BtnSave))
var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.PersonId, BLL.Const.Project_HJGLData_HJGLMenuId);
if (buttonList.Count() > 0)
{
this.btnSave.Hidden = false;
if (buttonList.Contains(BLL.Const.BtnSave))
{
this.btnSave.Hidden = false;
}
}
}
}
#endregion
#endregion
}
}
}