提交定制会内容

This commit is contained in:
2025-06-19 18:59:39 +08:00
parent 6be8d160e0
commit e1eb091f3b
150 changed files with 24036 additions and 582 deletions
@@ -1,15 +1,15 @@
namespace FineUIPro.Web.HSSE.Technique
{
using BLL;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Text;
using System.Web.UI;
using BLL;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Text;
using System.Web.UI;
namespace FineUIPro.Web.HSSE.Technique
{
public partial class Rectify : PageBase
{
#region
@@ -38,9 +38,11 @@
string strSql = @"SELECT RectifyItem.RectifyItemId,RectifyItem.RectifyId,RectifyItem.HazardSourcePoint,(CASE WHEN LEN(RectifyItem.HazardSourcePoint) > 30 THEN LEFT(RectifyItem.HazardSourcePoint,30) + '...' ELSE RectifyItem.HazardSourcePoint END) AS ShortHazardSourcePoint, "
+ @" RectifyItem.RiskAnalysis,(CASE WHEN LEN(RectifyItem.RiskPrevention) > 30 THEN LEFT(RectifyItem.RiskPrevention,30) + '...' ELSE RectifyItem.RiskPrevention END) AS ShortRiskPrevention,RectifyItem.RiskPrevention, "
+ @" RectifyItem.SimilarRisk,(CASE WHEN LEN(RectifyItem.SimilarRisk) > 30 THEN LEFT(RectifyItem.SimilarRisk,30) + '...' ELSE RectifyItem.SimilarRisk END) AS ShortSimilarRisk,R.RectifyName,R.RectifyCode,RectifyItem.CompileMan,RectifyItem.CompileDate,"
+ @" RectifyItem.AuditMan,RectifyItem.AuditDate,RectifyItem.IsPass"
+ @" RectifyItem.AuditMan,RectifyItem.AuditDate,RectifyItem.IsPass,U.UserName AS CompileManName,UR.UserName AS AuditManName"
+ @" FROM dbo.Technique_RectifyItem AS RectifyItem"
+ @" LEFT JOIN dbo.Technique_Rectify AS R ON R.RectifyId=RectifyItem.RectifyId"
+ @" LEFT JOIN dbo.Sys_User AS U ON U.UserId=RectifyItem.CompileMan"
+ @" LEFT JOIN dbo.Sys_User AS UR ON U.UserId=RectifyItem.AuditMan"
+ @" WHERE RectifyItem.RectifyId=@RectifyId";
List<SqlParameter> listStr = new List<SqlParameter>
{
@@ -96,7 +98,7 @@
/// <param name="menuId"></param>
private void BoundTree(TreeNodeCollection nodes, string menuId)
{
var dt = BLL.RectifyService.GetRectifyBySupRectifyId(menuId);
var dt = BLL.RectifyService.GetRectifyBySupRectifyId(menuId, "0");
if (dt.Count() > 0)
{
TreeNode tn = null;