fix:升级

This commit is contained in:
geh
2025-06-19 19:23:01 +08:00
parent 0cb37e2c02
commit 7aa8baadbb
111 changed files with 14465 additions and 1480 deletions
@@ -14,6 +14,21 @@ namespace FineUIPro.Web.ZHGL.Supervise
/// 定义集合
/// </summary>
private static List<string> list = new List<string>();
/// <summary>
/// 类型:安全、质量
/// </summary>
public string Type
{
get
{
return (string)ViewState["type"];
}
set
{
ViewState["type"] = value;
}
}
#endregion
#region
@@ -27,6 +42,7 @@ namespace FineUIPro.Web.ZHGL.Supervise
if (!IsPostBack)
{
list = new List<string>();
this.Type = Request.Params["type"];
string lists = Request.Params["lists"];
list = Funs.GetStrListByStr(lists, ',');
InitTreeMenu();
@@ -63,7 +79,7 @@ namespace FineUIPro.Web.ZHGL.Supervise
/// <param name="menuId"></param>
private void BoundTree(TreeNodeCollection nodes, string menuId)
{
var dt = BLL.RectifyService.GetRectifyBySupRectifyId(menuId);
var dt = BLL.RectifyService.GetRectifyBySupRectifyId(menuId, this.Type);
if (dt.Count() > 0)
{
TreeNode tn = null;
@@ -112,7 +128,8 @@ namespace FineUIPro.Web.ZHGL.Supervise
new SqlParameter("@IsPass",true)
};
}
else {
else
{
strSql = "select * from View_Technique_RectifyItem where IsPass=@IsPass and HazardSourcePoint like @HazardSourcePoint ";
parameter = new SqlParameter[]
{
@@ -259,7 +276,7 @@ namespace FineUIPro.Web.ZHGL.Supervise
{
this.BindGrid();
}
}
}
}