2023-03-09 合同归档修改,安全首页修改
This commit is contained in:
@@ -5,7 +5,6 @@ using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using BLL;
|
||||
|
||||
namespace FineUIPro.Web.common
|
||||
{
|
||||
public partial class mainMenu_HSSE2 : PageBase
|
||||
@@ -29,7 +28,8 @@ namespace FineUIPro.Web.common
|
||||
hSSEData_HSSE = new Model.HSSEData_HSSE();
|
||||
}
|
||||
|
||||
|
||||
zgl1 = "0";
|
||||
zgl2 = "0";
|
||||
if (hSSEData_HSSE.GeneralClosedNum.HasValue && hSSEData_HSSE.GeneralNotClosedNum.HasValue)
|
||||
{
|
||||
zgl1 = String.Format("{0:N2}", 100.0 * hSSEData_HSSE.GeneralClosedNum.Value / (hSSEData_HSSE.GeneralClosedNum.Value + hSSEData_HSSE.GeneralNotClosedNum.Value));
|
||||
@@ -77,7 +77,7 @@ namespace FineUIPro.Web.common
|
||||
}
|
||||
|
||||
|
||||
var projectList = Funs.DB.Base_Project.ToList();
|
||||
var projectList = Funs.DB.Base_Project.Where(x => x.MapCoordinates != null).ToList();
|
||||
if (projectList != null && projectList.Count > 0)
|
||||
{
|
||||
foreach (var p in projectList)
|
||||
@@ -103,5 +103,17 @@ namespace FineUIPro.Web.common
|
||||
return format;
|
||||
}
|
||||
}
|
||||
|
||||
public string showDecimalData(decimal? value, string format)
|
||||
{
|
||||
if (value.HasValue)
|
||||
{
|
||||
return value.Value.ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
return format;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user