修改首页
|
@ -129,5 +129,40 @@ namespace BLL
|
|||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 获取当前现场人数
|
||||
/// <summary>
|
||||
/// 获取当前现场人数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static List<Model.PageDataPersonInOutItem> getPersonNumByCompany(DateTime dateValue)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
{
|
||||
List<Model.PageDataPersonInOutItem> getSiteInOutList = new List<Model.PageDataPersonInOutItem>();
|
||||
var getDayAll = from x in db.SitePerson_PersonInOutNow
|
||||
where x.ChangeTime.Value.Year == dateValue.Year && x.ChangeTime.Value.Month == dateValue.Month
|
||||
&& x.ChangeTime.Value.Day == dateValue.Day
|
||||
select x;
|
||||
if (getDayAll.Count() > 0)
|
||||
{
|
||||
var getInMaxs = from x in getDayAll
|
||||
group x by x.PersonId into g
|
||||
select new Model.PageDataPersonInOutItem
|
||||
{
|
||||
PersonId = g.First().PersonId,
|
||||
ChangeTime = g.Max(x => x.ChangeTime),
|
||||
IsIn = g.First().IsIn,
|
||||
PostType = g.First().PostType
|
||||
};
|
||||
if (getInMaxs.Count() > 0)
|
||||
{
|
||||
getSiteInOutList = getInMaxs.Where(x => x.IsIn == true).ToList();
|
||||
}
|
||||
}
|
||||
return getSiteInOutList;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
|
|
@ -993,3 +993,828 @@
|
|||
出错时间:08/16/2023 17:41:25
|
||||
出错时间:08/16/2023 17:41:25
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:55
|
||||
出错时间:08/22/2023 16:32:55
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:55
|
||||
出错时间:08/22/2023 16:32:55
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:55
|
||||
出错时间:08/22/2023 16:32:55
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:55
|
||||
出错时间:08/22/2023 16:32:55
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:55
|
||||
出错时间:08/22/2023 16:32:55
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:55
|
||||
出错时间:08/22/2023 16:32:55
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:55
|
||||
出错时间:08/22/2023 16:32:55
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:55
|
||||
出错时间:08/22/2023 16:32:55
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:56
|
||||
出错时间:08/22/2023 16:32:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:56
|
||||
出错时间:08/22/2023 16:32:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:56
|
||||
出错时间:08/22/2023 16:32:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:56
|
||||
出错时间:08/22/2023 16:32:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:56
|
||||
出错时间:08/22/2023 16:32:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:56
|
||||
出错时间:08/22/2023 16:32:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:56
|
||||
出错时间:08/22/2023 16:32:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:56
|
||||
出错时间:08/22/2023 16:32:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:56
|
||||
出错时间:08/22/2023 16:32:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:57
|
||||
出错时间:08/22/2023 16:32:57
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:57
|
||||
出错时间:08/22/2023 16:32:57
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:57
|
||||
出错时间:08/22/2023 16:32:57
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:57
|
||||
出错时间:08/22/2023 16:32:57
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:58
|
||||
出错时间:08/22/2023 16:32:58
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:58
|
||||
出错时间:08/22/2023 16:32:58
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:58
|
||||
出错时间:08/22/2023 16:32:58
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:58
|
||||
出错时间:08/22/2023 16:32:58
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:59
|
||||
出错时间:08/22/2023 16:32:59
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 16:32:59
|
||||
出错时间:08/22/2023 16:32:59
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:55
|
||||
出错时间:08/22/2023 17:02:55
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:55
|
||||
出错时间:08/22/2023 17:02:55
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:55
|
||||
出错时间:08/22/2023 17:02:55
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:56
|
||||
出错时间:08/22/2023 17:02:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:56
|
||||
出错时间:08/22/2023 17:02:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:56
|
||||
出错时间:08/22/2023 17:02:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:56
|
||||
出错时间:08/22/2023 17:02:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:56
|
||||
出错时间:08/22/2023 17:02:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:56
|
||||
出错时间:08/22/2023 17:02:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:56
|
||||
出错时间:08/22/2023 17:02:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:56
|
||||
出错时间:08/22/2023 17:02:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:56
|
||||
出错时间:08/22/2023 17:02:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:57
|
||||
出错时间:08/22/2023 17:02:57
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:57
|
||||
出错时间:08/22/2023 17:02:57
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:57
|
||||
出错时间:08/22/2023 17:02:57
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:57
|
||||
出错时间:08/22/2023 17:02:57
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:57
|
||||
出错时间:08/22/2023 17:02:57
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:57
|
||||
出错时间:08/22/2023 17:02:57
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:57
|
||||
出错时间:08/22/2023 17:02:57
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:58
|
||||
出错时间:08/22/2023 17:02:58
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:58
|
||||
出错时间:08/22/2023 17:02:58
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:59
|
||||
出错时间:08/22/2023 17:02:59
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:59
|
||||
出错时间:08/22/2023 17:02:59
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:02:59
|
||||
出错时间:08/22/2023 17:02:59
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:54
|
||||
出错时间:08/22/2023 17:32:54
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:54
|
||||
出错时间:08/22/2023 17:32:54
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:54
|
||||
出错时间:08/22/2023 17:32:54
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:54
|
||||
出错时间:08/22/2023 17:32:54
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:55
|
||||
出错时间:08/22/2023 17:32:55
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:55
|
||||
出错时间:08/22/2023 17:32:55
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:55
|
||||
出错时间:08/22/2023 17:32:55
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:55
|
||||
出错时间:08/22/2023 17:32:55
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:55
|
||||
出错时间:08/22/2023 17:32:55
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:55
|
||||
出错时间:08/22/2023 17:32:55
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:55
|
||||
出错时间:08/22/2023 17:32:55
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:56
|
||||
出错时间:08/22/2023 17:32:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:56
|
||||
出错时间:08/22/2023 17:32:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:56
|
||||
出错时间:08/22/2023 17:32:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:56
|
||||
出错时间:08/22/2023 17:32:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:56
|
||||
出错时间:08/22/2023 17:32:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:56
|
||||
出错时间:08/22/2023 17:32:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:56
|
||||
出错时间:08/22/2023 17:32:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:56
|
||||
出错时间:08/22/2023 17:32:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:56
|
||||
出错时间:08/22/2023 17:32:56
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:57
|
||||
出错时间:08/22/2023 17:32:57
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:57
|
||||
出错时间:08/22/2023 17:32:57
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:58
|
||||
出错时间:08/22/2023 17:32:58
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:InvalidOperationException
|
||||
错误信息:不能添加已经存在的实体。
|
||||
错误堆栈:
|
||||
在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)
|
||||
在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities)
|
||||
在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 323
|
||||
出错时间:08/22/2023 17:32:58
|
||||
出错时间:08/22/2023 17:32:58
|
||||
|
||||
|
|
|
@ -271,6 +271,53 @@
|
|||
<Content Include="CLGL\RequestDetailList.aspx" />
|
||||
<Content Include="CLGL\SubUnit.aspx" />
|
||||
<Content Include="CLGL\Supplier.aspx" />
|
||||
<Content Include="common\css\base.css" />
|
||||
<Content Include="common\css\overview.css" />
|
||||
<Content Include="common\css\project.css" />
|
||||
<Content Include="common\css\quality.css" />
|
||||
<Content Include="common\css\safetyproduction.css" />
|
||||
<Content Include="common\css\swiper-bundle.min.css" />
|
||||
<Content Include="common\imags\01.png" />
|
||||
<Content Include="common\imags\02.png" />
|
||||
<Content Include="common\imags\03.png" />
|
||||
<Content Include="common\imags\04.png" />
|
||||
<Content Include="common\imags\05.png" />
|
||||
<Content Include="common\imags\06.png" />
|
||||
<Content Include="common\imags\07.png" />
|
||||
<Content Include="common\imags\08.png" />
|
||||
<Content Include="common\imags\09.png" />
|
||||
<Content Include="common\imags\10.png" />
|
||||
<Content Include="common\imags\11.png" />
|
||||
<Content Include="common\imags\12.png" />
|
||||
<Content Include="common\imags\13.png" />
|
||||
<Content Include="common\imags\14.png" />
|
||||
<Content Include="common\imags\15.png" />
|
||||
<Content Include="common\imags\16.png" />
|
||||
<Content Include="common\imags\17.png" />
|
||||
<Content Include="common\imags\18.png" />
|
||||
<Content Include="common\imags\19.png" />
|
||||
<Content Include="common\imags\20.png" />
|
||||
<Content Include="common\imags\21.png" />
|
||||
<Content Include="common\imags\30.png" />
|
||||
<Content Include="common\imags\b01.png" />
|
||||
<Content Include="common\imags\b03.png" />
|
||||
<Content Include="common\imags\bj.jpg" />
|
||||
<Content Include="common\imags\c01.png" />
|
||||
<Content Include="common\imags\left2-1.png" />
|
||||
<Content Include="common\imags\q01.png" />
|
||||
<Content Include="common\imags\q02.png" />
|
||||
<Content Include="common\imags\q03.png" />
|
||||
<Content Include="common\imags\r01.png" />
|
||||
<Content Include="common\imags\select.png" />
|
||||
<Content Include="common\imags\Slice 20.png" />
|
||||
<Content Include="common\imags\Slice 21.png" />
|
||||
<Content Include="common\imags\Slice 22.png" />
|
||||
<Content Include="common\imags\t01.png" />
|
||||
<Content Include="common\lib\china.js" />
|
||||
<Content Include="common\lib\echarts.min.js" />
|
||||
<Content Include="common\lib\flex.js" />
|
||||
<Content Include="common\lib\jquery.js" />
|
||||
<Content Include="common\lib\swiper-bundle.min.js" />
|
||||
<Content Include="common\main2.aspx" />
|
||||
<Content Include="common\mainI.aspx" />
|
||||
<Content Include="common\mainIV.aspx" />
|
||||
|
@ -293,6 +340,9 @@
|
|||
<Content Include="common\mainProject1.aspx" />
|
||||
<Content Include="common\main.aspx" />
|
||||
<Content Include="common\mainProject.aspx" />
|
||||
<Content Include="common\main_new.aspx" />
|
||||
<Content Include="common\main_new0.aspx" />
|
||||
<Content Include="common\main_new1.aspx" />
|
||||
<Content Include="common\Menu_CQMS.xml" />
|
||||
<Content Include="common\Menu_DigData.xml" />
|
||||
<Content Include="common\Menu_DigitalSite.xml" />
|
||||
|
@ -1865,6 +1915,7 @@
|
|||
<Content Include="ZHGL\Supervise\SuperviseCheckRectifyEdit.aspx" />
|
||||
<Content Include="ZHGL\Supervise\SuperviseCheckReport.aspx" />
|
||||
<Content Include="ZHGL\Supervise\SuperviseCheckReportEdit.aspx" />
|
||||
<Content Include="common\font\DIN-Medium.otf" />
|
||||
<None Include="Doc\help1.doc" />
|
||||
<None Include="Doc\危险源因素辨识及评价方法说明.doc" />
|
||||
<None Include="Doc\危险源清单导入说明.doc" />
|
||||
|
@ -6644,6 +6695,27 @@
|
|||
<Compile Include="common\mainProject.aspx.designer.cs">
|
||||
<DependentUpon>mainProject.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="common\main_new.aspx.cs">
|
||||
<DependentUpon>main_new.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="common\main_new.aspx.designer.cs">
|
||||
<DependentUpon>main_new.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="common\main_new0.aspx.cs">
|
||||
<DependentUpon>main_new0.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="common\main_new0.aspx.designer.cs">
|
||||
<DependentUpon>main_new0.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="common\main_new1.aspx.cs">
|
||||
<DependentUpon>main_new1.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="common\main_new1.aspx.designer.cs">
|
||||
<DependentUpon>main_new1.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="common\themes.aspx.cs">
|
||||
<DependentUpon>themes.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
|
|
@ -177,10 +177,10 @@ namespace FineUIPro.Web.JDGL.WBS
|
|||
{
|
||||
JObject values = mergedRow.Value<JObject>("values");
|
||||
int i = mergedRow.Value<int>("index");
|
||||
if (this.Grid1.Rows[i].DataKeys[2] != null)
|
||||
if (this.Grid1.Rows[i].DataKeys[2] != null && ids.Contains(this.Grid1.Rows[i].DataKeys[2].ToString()))
|
||||
{
|
||||
Model.WBS_CostControl costControl = oldViewInfos.FirstOrDefault(x => x.CostControlId == this.Grid1.Rows[i].DataKeys[2].ToString());
|
||||
if (costControl != null && ids.Contains(this.Grid1.Rows[i].DataKeys[2].ToString()))
|
||||
if (costControl != null)
|
||||
{
|
||||
decimal oldPlanPrice = costControl.PlanPrice ?? 0;
|
||||
decimal oldRealPrice = costControl.RealPrice ?? 0;
|
||||
|
|
|
@ -0,0 +1,226 @@
|
|||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "DIN";
|
||||
src: url("../font/DIN-Medium.otf") format("truetype");
|
||||
}
|
||||
html,
|
||||
body {
|
||||
height: 13.5rem;
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
.wrap {
|
||||
height: 13.5rem;
|
||||
width: 100vw;
|
||||
background-image: url('../imags/bj.jpg');
|
||||
}
|
||||
|
||||
|
||||
html::-webkit-scrollbar{
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.y_image_default {
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.y_row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
}
|
||||
|
||||
.y_column {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.y_action1 {
|
||||
background: #00FFFF !important;
|
||||
color: #010E3B !important;
|
||||
}
|
||||
|
||||
/* 头部样式 */
|
||||
.y_head {
|
||||
width: 100vw;
|
||||
overflow: hidden;
|
||||
padding: 0 .25rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.y_head>.y_logo {
|
||||
width: 100%;
|
||||
height: .725rem;
|
||||
}
|
||||
|
||||
.y_logo {
|
||||
background-image: url(../imags/01.png);
|
||||
}
|
||||
|
||||
.y_logo>div {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.y_title {
|
||||
color: #00FFFF;
|
||||
font-size: .375rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.y_navbars {
|
||||
align-items: flex-end;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.y_navbars > .y_navbar {
|
||||
/* width: .85rem;
|
||||
height: .275rem; */
|
||||
padding: 0.02rem 0.135rem;
|
||||
border-radius: .25rem .25rem .25rem .25rem;
|
||||
border: .0125rem solid #63CAFF;
|
||||
color: #63CAFF;
|
||||
font-size: .15rem;
|
||||
/* line-height: .275rem; */
|
||||
text-align: center;
|
||||
margin-right: .125rem;
|
||||
}
|
||||
|
||||
.y_setting {
|
||||
justify-content: flex-end;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.y_set {
|
||||
/* width: .35rem;
|
||||
height: .175rem; */
|
||||
padding-left: .275rem;
|
||||
font-size: .175rem;
|
||||
font-family: Alibaba PuHuiTi 2.0-55 Regular, Alibaba PuHuiTi 20;
|
||||
font-weight: normal;
|
||||
color: #63CAFF;
|
||||
background-position: left center;
|
||||
background-size: .175rem .175rem;
|
||||
margin-left: .25rem;
|
||||
}
|
||||
|
||||
.mine {
|
||||
background-image: url(../imags/02.png);
|
||||
}
|
||||
|
||||
.set {
|
||||
background-image: url(../imags/03.png);
|
||||
}
|
||||
|
||||
.help {
|
||||
background-image: url(../imags/04.png);
|
||||
}
|
||||
|
||||
.exit {
|
||||
background-image: url(../imags/05.png);
|
||||
}
|
||||
|
||||
.full {
|
||||
background-image: url(../imags/06.png);
|
||||
}
|
||||
|
||||
.y_navs {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.y_navs>.y_nav {
|
||||
width: 1.2rem;
|
||||
height: .425rem;
|
||||
background: #072761;
|
||||
line-height: .425rem;
|
||||
text-align: center;
|
||||
color: #00FFFF;
|
||||
background-image: url(../imags/07.png);
|
||||
margin: .1875rem .25rem;
|
||||
}
|
||||
|
||||
|
||||
/* 内容部分 */
|
||||
|
||||
.y_body {
|
||||
height: calc(100% - 1.525rem);
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
.y_body>.site {
|
||||
width: 7.3375rem;
|
||||
height: 100%;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.y_body>.site:nth-child(1) {
|
||||
padding: 0 .2375rem .25rem .25rem;
|
||||
}
|
||||
|
||||
.y_body>.site:nth-child(2) {
|
||||
width: calc(100% - 14.675rem);
|
||||
padding-bottom: .25rem;
|
||||
}
|
||||
|
||||
.y_body>.site:nth-child(3) {
|
||||
padding: 0 .25rem .25rem .2375rem;
|
||||
}
|
||||
|
||||
.y_box {
|
||||
width: 6.85rem;
|
||||
height: 3.7rem;
|
||||
border: 1px solid red;
|
||||
background: rgba(14, 22, 95, 0.3);
|
||||
box-shadow: inset 0px 0px 4px 0px rgba(12, 81, 149, 0.5);
|
||||
border: 1px solid #1B538B;
|
||||
|
||||
}
|
||||
.y_box_label{
|
||||
height: .35rem;
|
||||
background-image: url(../imags/09.png);
|
||||
background-size: 2.55rem;
|
||||
text-align: center;
|
||||
line-height: .35rem;
|
||||
font-size: .175rem;
|
||||
color: #ffffff;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.y_box_main{
|
||||
width: 100%;
|
||||
height: calc(100% - .35rem);
|
||||
padding: 0 .25rem;
|
||||
}
|
||||
.y_more{
|
||||
position: absolute;
|
||||
top: .125rem;
|
||||
right: .125rem;
|
||||
color: #63CAFF;
|
||||
font-size: .15rem;
|
||||
line-height: .15rem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.swiper-box{
|
||||
height: calc(100% - 3.7rem);
|
||||
width: 100%;
|
||||
padding-top: .375rem;
|
||||
}
|
||||
|
||||
.swiper {
|
||||
width: 100%;
|
||||
height: 80%;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
.swiper-slide>img{
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
|
@ -0,0 +1,313 @@
|
|||
/* 人工时 */
|
||||
.y_rgss {
|
||||
justify-content: space-between;
|
||||
padding: 20px 0;
|
||||
}
|
||||
|
||||
.y_rgs {
|
||||
width: 149px;
|
||||
height: 70px;
|
||||
background-image: url(../imags/10.png);
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.y_rgs>.y_rgs_val {
|
||||
width: 100%;
|
||||
font-size: .275rem;
|
||||
color: #00FFFF;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.y_rgs>.y_rgs_label {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
/* 安全管理人员 */
|
||||
.y_aq {
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.y_aq_box {
|
||||
width: 239px;
|
||||
height: 54px;
|
||||
background-image: url(../imags/11.png);
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.y_aq_label {
|
||||
font-size: 14px;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.y_aq_value {
|
||||
font-size: 22px;
|
||||
color: #00FFFF;
|
||||
}
|
||||
|
||||
/* 整改 */
|
||||
.y_zg {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.y_zg_title {
|
||||
font-size: 14px;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.y_zg_box {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.y_zg_main {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.y_zg_value {
|
||||
height: 20px;
|
||||
text-align: center;
|
||||
line-height: 20px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.y_zg_label {
|
||||
margin-top: 8px;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
/* 质量 */
|
||||
.y_zlry {
|
||||
height: .5rem;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-top: .25rem;
|
||||
background-image: url(../imags/18.png);
|
||||
padding: 0 .25rem;
|
||||
}
|
||||
|
||||
.y_zlry_label {
|
||||
font-size: .175rem;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.y_zlry_value {
|
||||
color: #63CAFF;
|
||||
font-size: .3rem;
|
||||
}
|
||||
|
||||
.y_zlmap {
|
||||
width: 100%;
|
||||
height: calc(100% - 1.5rem);
|
||||
}
|
||||
|
||||
.zgmap {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
/* 关键事项 */
|
||||
.y_gjzg {
|
||||
width: 100%;
|
||||
height: calc(100% - .75rem);
|
||||
}
|
||||
|
||||
.y_gjzg_box {
|
||||
flex: 1;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.y_gjzg_zg {
|
||||
width: 2.7375rem;
|
||||
height: .875rem;
|
||||
background-image: url(../imags/21.png);
|
||||
padding: 0 .25rem;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.y_gjzg_zg>label {
|
||||
font-size: .175rem;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.y_gjzg_zg>p {
|
||||
font-size: .3rem;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
/* 人员信息 */
|
||||
|
||||
.y_rys {
|
||||
padding: .25rem;
|
||||
justify-content: space-between;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.y_ry {
|
||||
width: 1.95rem;
|
||||
height: .5rem;
|
||||
background-image: url(../imags/19.png);
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0 .125rem;
|
||||
}
|
||||
|
||||
.y_ry_label {
|
||||
font-size: .175rem;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.y_ry_value {
|
||||
font-size: .3rem;
|
||||
color: #E9E931;
|
||||
}
|
||||
|
||||
.y_rymap {
|
||||
height: calc(100% - 1rem);
|
||||
}
|
||||
|
||||
/* 材料到货 */
|
||||
.y_tabs {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
color: #96DBFF;
|
||||
width: 1.925rem;
|
||||
}
|
||||
|
||||
.y_tabs>span {
|
||||
width: .9625rem;
|
||||
height: .275rem;
|
||||
text-align: center;
|
||||
line-height: .275rem;
|
||||
}
|
||||
.y_tab-action{
|
||||
background-image: url(../imags/20.png);
|
||||
}
|
||||
.table{
|
||||
width: 100%;
|
||||
border: 1px solid #1B538B;
|
||||
border-collapse:collapse;
|
||||
margin-top: .25rem;
|
||||
}
|
||||
.tr{
|
||||
width: 100%;
|
||||
height: .425rem;
|
||||
background: rgba(33, 55, 113, .4);
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
line-height: .425rem;
|
||||
}
|
||||
.tr:nth-child(2n -1) {
|
||||
background-color: rgba(33, 55, 113, 0);
|
||||
}
|
||||
|
||||
.tr>span{
|
||||
flex:1;
|
||||
font-weight: 0;
|
||||
color: #ffffff;
|
||||
width: .9rem;
|
||||
text-align: center;
|
||||
}
|
||||
.tbody{
|
||||
height: 2.5375rem;
|
||||
overflow: hidden;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.tbody::-webkit-scrollbar{
|
||||
width: 0;
|
||||
}
|
||||
/* 居中项目简介 */
|
||||
.y_top_boxs{
|
||||
margin-top: .625rem;
|
||||
height: 1.85rem;
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.y_top_box{
|
||||
width: 2.925rem;
|
||||
height: 1.85rem;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-image: url(../imags/c01.png);
|
||||
color: #ffffff;
|
||||
}
|
||||
.y_top_box_label{
|
||||
font-size: .225rem;
|
||||
}
|
||||
.y_top_box_value{
|
||||
font-size: .5rem;
|
||||
font-family: 'DIN';
|
||||
}
|
||||
/* 地图样式 */
|
||||
|
||||
.y_map_container{
|
||||
height: calc(100% - 2.475rem);
|
||||
padding-top: .25rem;
|
||||
width: 100%;
|
||||
/* background-color: red; */
|
||||
}
|
||||
#y_map{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.BMap_cpyCtrl,.anchorBL{
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
|
||||
/* mark点显示信息 */
|
||||
.y_mark_info{
|
||||
max-width:3.125rem;
|
||||
position: relative;
|
||||
z-index: 99999;
|
||||
color: #ffffff;
|
||||
background-color: #051146;
|
||||
border: 1px solid #0070de;
|
||||
padding-bottom: .375rem;
|
||||
font-size: .175rem;
|
||||
}
|
||||
.y_mark_info>.title{font-weight: 700;border-bottom: 1px solid #0070de;padding: .05rem .125rem;}
|
||||
.y_mark_info>.row{
|
||||
padding: .05rem .125rem;
|
||||
}
|
||||
.y_mark_info>.row>.label{
|
||||
width: 1rem;
|
||||
}
|
||||
.row_more{
|
||||
font-size: .15rem;
|
||||
color: #0055ff;
|
||||
position: absolute;
|
||||
right: .125rem;
|
||||
bottom: .125rem;
|
||||
}
|
||||
.BMap_bubble_pop{
|
||||
background-color: rgba(0, 0, 0, 0) !important;
|
||||
border: none !important;
|
||||
top: 30px !important;
|
||||
left: 366px !important;
|
||||
}
|
||||
.BMap_bubble_pop>img{
|
||||
display: none !important;
|
||||
}
|
||||
.BMap_bubble_title{
|
||||
display: none !important;
|
||||
}
|
||||
.BMap_bubble_center{
|
||||
width: auto !important;
|
||||
}
|
||||
.BMap_bubble_buttons{
|
||||
top: 0;
|
||||
|
||||
}
|
||||
|
||||
.BMap_bubble_top{
|
||||
height: 0 !important;
|
||||
}
|
|
@ -0,0 +1,542 @@
|
|||
|
||||
.selectbar{
|
||||
color: #63CAFF;
|
||||
font-size: .175rem;
|
||||
margin-right: .125rem;
|
||||
padding-right: .25rem;
|
||||
background-image: url(../imags/select.png);
|
||||
background-position: right center;
|
||||
background-size: .15rem .15rem;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
/* 人工时 */
|
||||
.y_rgss {
|
||||
justify-content: space-between;
|
||||
padding: 20px 0;
|
||||
}
|
||||
|
||||
.y_rgs {
|
||||
width: 149px;
|
||||
height: 70px;
|
||||
background-image: url(../imags/10.png);
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.y_rgs>.y_rgs_val {
|
||||
width: 100%;
|
||||
font-size: .275rem;
|
||||
color: #00FFFF;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.y_rgs>.y_rgs_label {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
/* 安全管理人员 */
|
||||
.y_aq {
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.y_aq_box {
|
||||
width: 239px;
|
||||
height: 54px;
|
||||
background-image: url(../imags/11.png);
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.y_aq_label {
|
||||
font-size: 14px;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.y_aq_value {
|
||||
font-size: 22px;
|
||||
color: #00FFFF;
|
||||
}
|
||||
|
||||
/* 整改 */
|
||||
.y_zg {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.y_zg_title {
|
||||
font-size: 14px;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.y_zg_box {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.y_zg_main {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.y_zg_value {
|
||||
height: 20px;
|
||||
text-align: center;
|
||||
line-height: 20px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.y_zg_label {
|
||||
margin-top: 8px;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* 人员信息 */
|
||||
|
||||
.y_rys {
|
||||
padding: .25rem;
|
||||
justify-content: space-between;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.y_ry {
|
||||
width: 1.95rem;
|
||||
height: .5rem;
|
||||
background-image: url(../imags/19.png);
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0 .125rem;
|
||||
}
|
||||
|
||||
.y_ry_label {
|
||||
font-size: .175rem;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.y_ry_value {
|
||||
font-size: .3rem;
|
||||
color: #E9E931;
|
||||
}
|
||||
|
||||
.y_rymap {
|
||||
height: calc(100% - 1rem);
|
||||
}
|
||||
|
||||
/* 材料到货 */
|
||||
.y_tabs {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
color: #96DBFF;
|
||||
width: 1.925rem;
|
||||
}
|
||||
|
||||
.y_tabs>span {
|
||||
width: .9625rem;
|
||||
height: .275rem;
|
||||
text-align: center;
|
||||
line-height: .275rem;
|
||||
}
|
||||
.y_tab-action{
|
||||
background-image: url(../imags/20.png);
|
||||
}
|
||||
/* .table{
|
||||
width: 100%;
|
||||
border: 1px solid #1B538B;
|
||||
border-collapse:collapse;
|
||||
margin-top: .25rem;
|
||||
}
|
||||
.tr{
|
||||
width: 100%;
|
||||
height: .425rem;
|
||||
background: rgba(33, 55, 113, .4);
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
line-height: .425rem;
|
||||
}
|
||||
.tr:nth-child(2n -1) {
|
||||
background-color: rgba(33, 55, 113, 0);
|
||||
}
|
||||
|
||||
.tr>span{
|
||||
flex:1;
|
||||
font-weight: 0;
|
||||
color: #ffffff;
|
||||
width: .9rem;
|
||||
text-align: center;
|
||||
}
|
||||
.tbody{
|
||||
height: 2.5375rem;
|
||||
overflow: hidden;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.tbody::-webkit-scrollbar{
|
||||
width: 0;
|
||||
} */
|
||||
/* 居中项目简介 */
|
||||
.y_top_boxs{
|
||||
margin-top: .625rem;
|
||||
height: 1.85rem;
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.y_top_box{
|
||||
width: 2.925rem;
|
||||
height: 1.85rem;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-image: url(../imags/c01.png);
|
||||
color: #ffffff;
|
||||
}
|
||||
.y_top_box_label{
|
||||
font-size: .225rem;
|
||||
}
|
||||
.y_top_box_value{
|
||||
font-size: .5rem;
|
||||
font-family: 'DIN';
|
||||
}
|
||||
/* 地图样式 */
|
||||
|
||||
.y_map_container{
|
||||
height: calc(100% - 2.475rem);
|
||||
padding-top: .25rem;
|
||||
width: 100%;
|
||||
/* background-color: red; */
|
||||
}
|
||||
#y_map{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.BMap_cpyCtrl,.anchorBL{
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
|
||||
/* mark点显示信息 */
|
||||
.y_mark_info{
|
||||
max-width:3.125rem;
|
||||
position: relative;
|
||||
z-index: 99999;
|
||||
color: #ffffff;
|
||||
background-color: #051146;
|
||||
border: 1px solid #0070de;
|
||||
padding-bottom: .375rem;
|
||||
font-size: .175rem;
|
||||
}
|
||||
.y_mark_info>.title{font-weight: 700;border-bottom: 1px solid #0070de;padding: .05rem .125rem;}
|
||||
.y_mark_info>.row{
|
||||
padding: .05rem .125rem;
|
||||
}
|
||||
.y_mark_info>.row>.label{
|
||||
width: 1rem;
|
||||
}
|
||||
.row_more{
|
||||
font-size: .15rem;
|
||||
color: #0055ff;
|
||||
position: absolute;
|
||||
right: .125rem;
|
||||
bottom: .125rem;
|
||||
}
|
||||
.BMap_bubble_pop{
|
||||
background-color: rgba(0, 0, 0, 0) !important;
|
||||
border: none !important;
|
||||
top: 30px !important;
|
||||
left: 366px !important;
|
||||
}
|
||||
.BMap_bubble_pop>img{
|
||||
display: none !important;
|
||||
}
|
||||
.BMap_bubble_title{
|
||||
display: none !important;
|
||||
}
|
||||
.BMap_bubble_center{
|
||||
width: auto !important;
|
||||
}
|
||||
.BMap_bubble_buttons{
|
||||
top: 0;
|
||||
|
||||
}
|
||||
|
||||
.BMap_bubble_top{
|
||||
height: 0 !important;
|
||||
}
|
||||
|
||||
/* 风险预警 */
|
||||
.fxmap{
|
||||
width: 45%;
|
||||
height: 100%;
|
||||
}
|
||||
.fx{
|
||||
width: 55%;
|
||||
height: 100%;
|
||||
}
|
||||
.yj-item{
|
||||
width: 50%;
|
||||
padding-left: .625rem;
|
||||
|
||||
background-position: left center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: .5rem .5rem;
|
||||
}
|
||||
.zz{
|
||||
background-image: url(../imags/12.png);
|
||||
}
|
||||
.jx{
|
||||
background-image: url(../imags/13.png);
|
||||
}
|
||||
.yj-label{
|
||||
font-size: .175rem;
|
||||
color: #ffffff;
|
||||
}
|
||||
.yj-number{
|
||||
font-size: .3rem;
|
||||
color: #63CAFF;
|
||||
}
|
||||
.wd-title{
|
||||
padding-left: .1rem;
|
||||
font-size: .15rem;
|
||||
height: .3rem;
|
||||
line-height: .3rem;
|
||||
color: #00FFFF;
|
||||
background: linear-gradient(90deg, #4174D2 0%, rgba(5,20,75,0) 100%);
|
||||
}
|
||||
.wd-main{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.wd-item{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex:1;
|
||||
}
|
||||
.wd-label{
|
||||
color: #63CAFF;
|
||||
font-size: .15rem;
|
||||
}
|
||||
.wd-number{
|
||||
font-size: .325rem;
|
||||
color: #1C92FF;
|
||||
}
|
||||
/* 作业票许可 */
|
||||
.ry,.zyp{
|
||||
margin-top: .25rem;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.zyp_box{
|
||||
width: 1.4rem;
|
||||
height: .5rem;
|
||||
background: rgba(14,22,95,0.2);
|
||||
box-shadow: inset 0px 0px .2125rem 0px rgba(125,183,240,0.5);
|
||||
}
|
||||
.ry_box,.zyp_box{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
padding: .125rem;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.ry_label,.zyp_label{
|
||||
color: #ffffff;
|
||||
font-size: .175rem;
|
||||
}
|
||||
.ry_number,.zyp_number{
|
||||
color: #00FFFF;
|
||||
font-size:.325rem;
|
||||
}
|
||||
.zyp-lis{
|
||||
height: calc(100% - 1.25rem);
|
||||
margin-top: .25rem;
|
||||
overflow: hidden;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.zyp-lis::-webkit-scrollbar{
|
||||
display: none;
|
||||
}
|
||||
.li{
|
||||
height: .425rem;
|
||||
line-height: .425rem;
|
||||
color: #FFFFFF;
|
||||
font-size: .175rem;
|
||||
padding: 0 .25rem;
|
||||
}
|
||||
.li:nth-child(2n-1){
|
||||
background: #213771;
|
||||
}
|
||||
.li>span{
|
||||
margin-right: .25rem;
|
||||
}
|
||||
/* 人员信息 */
|
||||
.table{
|
||||
width: 6.35rem;
|
||||
margin-top: .25rem;
|
||||
height: calc(100% - .375rem);
|
||||
border: 1px solid #1B538B;
|
||||
overflow: hidden;
|
||||
}
|
||||
.ry_box{
|
||||
width: 1.95rem;
|
||||
height: .5rem;
|
||||
background: rgba(14,22,95,0.2);
|
||||
box-shadow: inset 0px 0px .2125rem 0px rgba(125,183,240,0.5);
|
||||
}
|
||||
.ry_map{
|
||||
height: calc(100% - .75rem);
|
||||
}
|
||||
.trth{
|
||||
width: 100%;
|
||||
height: .85rem;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
}
|
||||
.th{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
color: #ffffff;
|
||||
font-size: .175rem;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
height: 100%;
|
||||
}
|
||||
.th>p{
|
||||
text-align: center;
|
||||
height: 50%;
|
||||
line-height: .425rem;
|
||||
text-align: center;
|
||||
}
|
||||
.b-line{
|
||||
border-bottom: 1px solid #1B538B;
|
||||
}
|
||||
.r-line{
|
||||
border-right: 1px solid #1B538B;
|
||||
}
|
||||
.th>p>span{
|
||||
width: 50%;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
height: 100%;
|
||||
line-height: .475rem;
|
||||
}
|
||||
|
||||
.tr{
|
||||
display: flex;
|
||||
color: #FFFFFF ;
|
||||
font-size: .175rem;
|
||||
height: .425rem;
|
||||
line-height: .425rem;
|
||||
}
|
||||
.tr>span{
|
||||
text-align: center;
|
||||
}
|
||||
.tr:nth-child(2n){
|
||||
background-color: rgba(33, 55, 113, .6);
|
||||
}
|
||||
|
||||
.tbody{
|
||||
height: calc(100% - .85rem);
|
||||
overflow: hidden;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.tbody::-webkit-scrollbar{display: none;}
|
||||
/* 工程概况 */
|
||||
.gk-box{
|
||||
height: 100%;
|
||||
}
|
||||
.gk-box>.row{
|
||||
min-height: .425rem;
|
||||
line-height: .425rem;
|
||||
padding: 0 .125rem;
|
||||
font-size: .175rem;
|
||||
color: #63CAFF;
|
||||
word-break: break-all;
|
||||
|
||||
text-overflow: ellipsis;
|
||||
|
||||
display: -webkit-box;
|
||||
|
||||
-webkit-box-orient: vertical;
|
||||
|
||||
-webkit-line-clamp: 2; /* 这里是超出几行省略 */
|
||||
|
||||
overflow: hidden;
|
||||
}
|
||||
.gk-box>.row:nth-child(2n-1){
|
||||
background: rgba(33,55,113,0.4);
|
||||
}
|
||||
.swiper{
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.gk-card{
|
||||
padding: .125rem;
|
||||
width: 2rem;
|
||||
height: .825rem;
|
||||
background-image: url(../imags/17.png);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.gk-label{
|
||||
font-size: .175rem;
|
||||
color: #ffffff;
|
||||
}
|
||||
.gk-number{
|
||||
width: 100%;
|
||||
text-align: right;
|
||||
}
|
||||
.gj{
|
||||
position: absolute;
|
||||
top: .125rem;
|
||||
right: .25rem;
|
||||
}
|
||||
.gj>span{
|
||||
font-size: .175rem;
|
||||
color: #ffffff;
|
||||
}
|
||||
.gj>span:nth-child(2){
|
||||
color: #E9E931;
|
||||
font-size: .3rem;
|
||||
margin-left: .125rem;
|
||||
}
|
||||
|
||||
|
||||
/* 质量 */
|
||||
.y_zlry {
|
||||
height: .5rem;
|
||||
width: 4.275rem;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
background-image: url(../imags/18.png);
|
||||
padding: 0 .25rem;
|
||||
}
|
||||
|
||||
.y_zlry_label {
|
||||
font-size: .175rem;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.y_zlry_value {
|
||||
color: #63CAFF;
|
||||
font-size: .3rem;
|
||||
}
|
||||
|
||||
.y_zlmap {
|
||||
width: 100%;
|
||||
height: calc(100% - .75rem);
|
||||
}
|
||||
|
||||
.zgmap {
|
||||
flex: 1;
|
||||
}
|
|
@ -0,0 +1,132 @@
|
|||
.y_box_main {}
|
||||
|
||||
.zlgl-box>div {
|
||||
height: 100%;
|
||||
flex: 1;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.zlgl-number {
|
||||
height: 1.5375rem;
|
||||
width: 1.8125rem;
|
||||
background-image: url(../imags/q01.png);
|
||||
color: #00FFFF;
|
||||
font-size: .425rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.zlgl-label {
|
||||
color: #63CAFF;
|
||||
font-size: .175rem;
|
||||
}
|
||||
|
||||
/* 计量器具数据 */
|
||||
|
||||
.jlq-box {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: url(../imags/q02.png);
|
||||
display: grid;
|
||||
grid-template-columns: 50% 50%;
|
||||
grid-template-rows: 50% 50%;
|
||||
padding: .25rem;
|
||||
}
|
||||
|
||||
.jlq-number>p:nth-of-type(1) {
|
||||
color: #00FFFF;
|
||||
font-size: .375rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.jlq-number>span {
|
||||
font-size: .175rem;
|
||||
}
|
||||
|
||||
.jlq-number>p {
|
||||
font-size: .175rem;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.jlq-label {
|
||||
font-size: .175rem;
|
||||
color: #FFFFFF;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* 质量培训数据 */
|
||||
.zlpx-box {
|
||||
background-position: center .25rem;
|
||||
background-image: url(../imags/q03.png);
|
||||
background-size: 80% 90%;
|
||||
}
|
||||
|
||||
.zlpx-label {
|
||||
font-size: .175rem;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.zlpx-item {
|
||||
width: 50%;
|
||||
justify-content: flex-start;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.zlpx-number {
|
||||
font-size: .375rem;
|
||||
color: #00FFFF;
|
||||
}
|
||||
|
||||
/* 焊接数据 */
|
||||
.hj-box {
|
||||
display: grid;
|
||||
grid-template-columns: 33% 33% 33%;
|
||||
grid-template-rows: 50% 50%;
|
||||
}
|
||||
|
||||
.hj-box>div {
|
||||
background: rgba(14, 22, 95, 0.2);
|
||||
box-shadow: inset 0px 0px .2125rem 0px rgba(125, 183, 240, 0.5);
|
||||
border-radius: 0px 0px 0px 0px;
|
||||
border: 1px solid #19509E;
|
||||
margin: .125rem;
|
||||
padding: .25rem;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.hj-box_number {
|
||||
font-size: .3rem;
|
||||
color: #00FFFF;
|
||||
}
|
||||
|
||||
.hj-box_label {
|
||||
font-size: .175rem;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
/* 质量问题治理数据 */
|
||||
.zl-card {
|
||||
margin-top: .125rem;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.zl-card>div {
|
||||
width: 1.8375rem;
|
||||
height: .875rem;
|
||||
background-image: url(../imags/r01.png);
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
}
|
||||
/* 质量问题质量数据 */
|
||||
.zl-label{
|
||||
font-size: .175rem;
|
||||
color: #A9DDEE;
|
||||
}
|
||||
.zl-number{
|
||||
font-size: .25rem;
|
||||
}
|
||||
#zlmap,#ncrmap,#zlysmap{
|
||||
height: calc(100% - 1rem);
|
||||
}
|
|
@ -0,0 +1,601 @@
|
|||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "DIN";
|
||||
src: url("../font/DIN-Medium.otf") format("truetype");
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 13.5rem;
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
.wrap {
|
||||
height: 13.5rem;
|
||||
width: 100vw;
|
||||
background-image: url('../imags/bj.jpg');
|
||||
}
|
||||
|
||||
|
||||
html::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.y_image_default {
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.y_row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
}
|
||||
|
||||
.y_column {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.y_action1 {
|
||||
background: #00FFFF !important;
|
||||
color: #010E3B !important;
|
||||
}
|
||||
|
||||
/* 头部样式 */
|
||||
.y_head {
|
||||
width: 100vw;
|
||||
overflow: hidden;
|
||||
padding: 0 .25rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.y_head>.y_logo {
|
||||
width: 100%;
|
||||
height: .725rem;
|
||||
}
|
||||
|
||||
.y_logo {
|
||||
background-image: url(../imags/01.png);
|
||||
}
|
||||
|
||||
.y_logo>div {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.y_title {
|
||||
color: #00FFFF;
|
||||
font-size: .375rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.y_navbars {
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.y_navbars>.y_navbar {
|
||||
width: .85rem;
|
||||
height: .275rem;
|
||||
border-radius: .25rem .25rem .25rem .25rem;
|
||||
border: .0125rem solid #63CAFF;
|
||||
color: #63CAFF;
|
||||
font-size: .15rem;
|
||||
line-height: .275rem;
|
||||
text-align: center;
|
||||
margin-right: .125rem;
|
||||
}
|
||||
|
||||
.y_setting {
|
||||
justify-content: flex-end;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.y_set {
|
||||
/* width: .35rem;
|
||||
height: .175rem; */
|
||||
padding-left: .275rem;
|
||||
font-size: .175rem;
|
||||
font-family: Alibaba PuHuiTi 2.0-55 Regular, Alibaba PuHuiTi 20;
|
||||
font-weight: normal;
|
||||
color: #63CAFF;
|
||||
background-position: left center;
|
||||
background-size: .175rem .175rem;
|
||||
margin-left: .25rem;
|
||||
}
|
||||
|
||||
.mine {
|
||||
background-image: url(../imags/02.png);
|
||||
}
|
||||
|
||||
.set {
|
||||
background-image: url(../imags/03.png);
|
||||
}
|
||||
|
||||
.help {
|
||||
background-image: url(../imags/04.png);
|
||||
}
|
||||
|
||||
.exit {
|
||||
background-image: url(../imags/05.png);
|
||||
}
|
||||
|
||||
.full {
|
||||
background-image: url(../imags/06.png);
|
||||
}
|
||||
|
||||
.y_navs {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.y_navs>.y_nav {
|
||||
width: 1.2rem;
|
||||
height: .425rem;
|
||||
background: #072761;
|
||||
line-height: .425rem;
|
||||
text-align: center;
|
||||
color: #00FFFF;
|
||||
background-image: url(../imags/07.png);
|
||||
margin: .1875rem .25rem;
|
||||
}
|
||||
|
||||
|
||||
/* 内容部分 */
|
||||
|
||||
.y_body {
|
||||
height: 8.325rem;
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
.y_body>.site {
|
||||
width: 6.5rem;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.y_body>.site:nth-child(1) {
|
||||
padding: 0 .2375rem .25rem .25rem;
|
||||
}
|
||||
|
||||
.y_body>.site:nth-child(2) {
|
||||
width: calc(100% - 13rem);
|
||||
padding-bottom: .25rem;
|
||||
}
|
||||
|
||||
.y_body>.site:nth-child(3) {
|
||||
padding: 0 .25rem .25rem .2375rem;
|
||||
}
|
||||
|
||||
.y_box {
|
||||
width: 6rem;
|
||||
height: 4.85rem;
|
||||
border: 1px solid red;
|
||||
background: rgba(14, 22, 95, 0.3);
|
||||
box-shadow: inset 0px 0px 4px 0px rgba(12, 81, 149, 0.5);
|
||||
border: 1px solid #1B538B;
|
||||
|
||||
}
|
||||
|
||||
.y_box_label {
|
||||
height: .35rem;
|
||||
background-image: url(../imags/09.png);
|
||||
background-size: 2.55rem;
|
||||
text-align: center;
|
||||
line-height: .35rem;
|
||||
font-size: .175rem;
|
||||
color: #ffffff;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.y_box_main {
|
||||
width: 100%;
|
||||
height: calc(100% - .35rem);
|
||||
padding: 0 .25rem;
|
||||
}
|
||||
|
||||
.y_more {
|
||||
position: absolute;
|
||||
top: .125rem;
|
||||
right: .125rem;
|
||||
color: #63CAFF;
|
||||
font-size: .15rem;
|
||||
line-height: .15rem;
|
||||
}
|
||||
|
||||
.y_rs_row {
|
||||
width: 100%;
|
||||
height: 1.25rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.y_rs_item {
|
||||
border: 1px solid #0E4378;
|
||||
width: 2.6875rem;
|
||||
height: 1.25rem;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.y_rs_item_label {
|
||||
padding: .125rem .25rem;
|
||||
color: #63CAFF;
|
||||
font-size: .175rem;
|
||||
background-image: url(../imags/Slice\ 21.png), url(../imags/Slice\ 22.png);
|
||||
background-position: left center, right center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.y_rs_item_value {
|
||||
height: calc(100% - .5rem);
|
||||
width: 100%;
|
||||
background-image: url(../imags/Slice\ 20.png);
|
||||
background-position: 50% center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.y_rs_box {
|
||||
flex: 1;
|
||||
color: #ffffff;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.y_rs_box>.y_rs_number {
|
||||
color: #00FFFF;
|
||||
font-size: .3rem;
|
||||
}
|
||||
|
||||
.y_rs_box>.y_rs_text {
|
||||
font-size: .175rem;
|
||||
}
|
||||
|
||||
.img2 {
|
||||
background-image: url(../imags//Slice\ 20.png), url(../imags//Slice\ 20.png) !important;
|
||||
background-position: 33% center, 66% center !important;
|
||||
}
|
||||
|
||||
|
||||
/* 安全会议数据 */
|
||||
.anj {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: url(../imags/left2-1.png);
|
||||
}
|
||||
|
||||
.anj_row {
|
||||
justify-content: space-between;
|
||||
position: relative;
|
||||
height: 50%;
|
||||
}
|
||||
|
||||
.anj_box {
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.anj_label {
|
||||
font-size: .175rem;
|
||||
color: #FFFFFF;
|
||||
padding: 0 .5rem;
|
||||
}
|
||||
|
||||
.anj_box1 {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.anj_box2 {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.anj_value {
|
||||
color: #63CAFF;
|
||||
font-size: .375rem;
|
||||
/* margin-top: 10%; */
|
||||
}
|
||||
|
||||
/* 居中项目 */
|
||||
.y_top_boxs {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.y_top_boxs {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.y_top_box {
|
||||
height: .875rem;
|
||||
width: 2.55rem;
|
||||
background-image: url(../imags/t01.png);
|
||||
justify-content: space-between;
|
||||
padding: 0 .25rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.y_top_box_value {
|
||||
font-size: .325rem;
|
||||
}
|
||||
|
||||
.y_top_box_label {
|
||||
font-size: .175rem;
|
||||
}
|
||||
|
||||
.y_video {
|
||||
margin-top: .25rem;
|
||||
height: calc(100% - 1.125rem);
|
||||
width: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: 50% 50%;
|
||||
grid-template-rows: 50% 50%;
|
||||
}
|
||||
|
||||
.video,
|
||||
.videos {
|
||||
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.videos {
|
||||
border: 1px solid #1B538B;
|
||||
}
|
||||
|
||||
.video>video {
|
||||
height: calc(100% - .7rem);
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.videos>img {
|
||||
height: calc(100% - .7rem);
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.video_title {
|
||||
padding-left: .25rem;
|
||||
height: .35rem;
|
||||
font-size: .175rem;
|
||||
color: #FFFFFF;
|
||||
line-height: .35rem;
|
||||
background: linear-gradient(270deg, rgba(7, 39, 97, 0) 0%, rgba(68, 121, 216, 0.69) 100%);
|
||||
}
|
||||
|
||||
.video_value {
|
||||
padding: 0 .125rem;
|
||||
height: .35rem;
|
||||
font-size: .175rem;
|
||||
color: #7ECEF7;
|
||||
background-color: #0E2C68;
|
||||
line-height: .35rem;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
/* 安全费用等数据 */
|
||||
.y_box1 {
|
||||
justify-content: space-between;
|
||||
margin-bottom: .25rem;
|
||||
}
|
||||
|
||||
.item-label {
|
||||
color: #63CAFF;
|
||||
font-size: .175rem;
|
||||
text-align: center;
|
||||
line-height: .175rem;
|
||||
}
|
||||
|
||||
.item_card {
|
||||
width: 1.6rem;
|
||||
height: 1.025rem;
|
||||
background-color: #172B5C;
|
||||
margin-top: .25rem;
|
||||
padding: .175rem .05rem;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.item_card-label {
|
||||
color: #ffffff;
|
||||
font-size: .175rem;
|
||||
text-align: center;
|
||||
line-height: .175rem;
|
||||
}
|
||||
|
||||
.item_card-value {
|
||||
font-size: .325rem;
|
||||
color: #00FFFF;
|
||||
}
|
||||
|
||||
.y_tabs {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
color: #7ECEF7;
|
||||
width: 1.925rem;
|
||||
}
|
||||
|
||||
.y_tabs>span {
|
||||
width: .9625rem;
|
||||
height: .35rem;
|
||||
text-align: center;
|
||||
line-height: .35rem;
|
||||
}
|
||||
|
||||
.y_tab-action {
|
||||
background-image: url(../imags/30.png);
|
||||
color: #FFFFFF !important;
|
||||
}
|
||||
|
||||
/* 隐患排查治理数据 */
|
||||
.pc-item {
|
||||
width: 50%;
|
||||
/* height: 1.875rem; */
|
||||
}
|
||||
|
||||
.pc-item-card {
|
||||
height: .875rem;
|
||||
width: 2.5rem;
|
||||
background-image: url(../imags/r01.png);
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.pc-item-card_label {
|
||||
font-size: .175rem;
|
||||
color: #A9DDEE;
|
||||
}
|
||||
|
||||
.pc-item-card_number {
|
||||
font-size: .25rem;
|
||||
color: #2BFAFF;
|
||||
}
|
||||
|
||||
.pc_box-map {
|
||||
height: calc(100% - 2.125rem);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.body1 {
|
||||
height: 3.275rem;
|
||||
width: 100vw;
|
||||
padding: 0 .25rem;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.card1 {
|
||||
width: 3.7084rem;
|
||||
height: 3.275rem;
|
||||
border: 1px solid #1B538B;
|
||||
}
|
||||
|
||||
.card1_title {
|
||||
padding-left: .25rem;
|
||||
height: .35rem;
|
||||
background-image: url(../imags/14.png);
|
||||
color: #FFFFFF;
|
||||
font-size: .175rem;
|
||||
line-height: .35rem;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.card1-body {
|
||||
height: calc(100% - .35rem);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* 故事时间数据 */
|
||||
.sj-box {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.sj-box_item {
|
||||
width: 1.65rem;
|
||||
height: .4875rem;
|
||||
padding: 0 .125rem;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
background: #15255E;
|
||||
}
|
||||
|
||||
.sj-item_label {
|
||||
color: #ffffff;
|
||||
font-size: .15rem;
|
||||
}
|
||||
|
||||
.sj-item-number {
|
||||
color: #63CAFF;
|
||||
font-size: .275rem;
|
||||
}
|
||||
|
||||
.sjmap {
|
||||
height: calc(100% - .4875rem);
|
||||
}
|
||||
|
||||
/* 应急管理数据 */
|
||||
.yj-body {
|
||||
background-image: url(../imags/b01.png);
|
||||
display: grid;
|
||||
grid-template-columns: 50% 50%;
|
||||
grid-template-rows: 50% 50%;
|
||||
}
|
||||
|
||||
.yj-number {
|
||||
color: #00FFFF;
|
||||
font-size: .375rem;
|
||||
}
|
||||
|
||||
.yj-label {
|
||||
margin-top: .125rem;
|
||||
color: #63CAFF;
|
||||
font-size: .175rem;
|
||||
}
|
||||
|
||||
.yj-body>div {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* 安全教育 */
|
||||
.aqjy {
|
||||
padding: .25rem;
|
||||
width: 100%;
|
||||
/* grid-template-columns: 100%;
|
||||
grid-template-rows: .725rem .725rem .725rem; */
|
||||
/* grid-template-rows: 50%; */
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.aqjy>div {
|
||||
height: .725rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* 安全教育培训人次数数据 */
|
||||
.aqjy>div {
|
||||
padding: .125rem;
|
||||
background: rgba(14, 22, 95, 0.2);
|
||||
box-shadow: inset 0px 0px 17px 0px rgba(125, 183, 240, 0.5);
|
||||
border-radius: 0px 0px 0px 0px;
|
||||
border: 1px solid #19509E;
|
||||
}
|
||||
|
||||
.aqjy-label {
|
||||
color: #ffffff;
|
||||
font-size: .175rem;
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
.aqjy-value {
|
||||
font-size: .2rem;
|
||||
color: #00FFFF;
|
||||
align-self: flex-end;
|
||||
}
|
||||
/* 应急管理数据 */
|
||||
.yj-box{
|
||||
width: 100%; height: 100%;
|
||||
background-image: url(../imags/b03.png);
|
||||
display: grid;
|
||||
grid-template-columns: 50% 50%;
|
||||
grid-template-rows: 50% 50%;
|
||||
}
|
||||
.yj-box>div{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.yj-box_label{
|
||||
color: #7ECEF7;
|
||||
font-size: .175rem;
|
||||
}
|
||||
.yj-box_number{
|
||||
font-size: .325rem;
|
||||
color: #00FFFF;
|
||||
}
|
After Width: | Height: | Size: 83 KiB |
After Width: | Height: | Size: 331 B |
After Width: | Height: | Size: 436 B |
After Width: | Height: | Size: 433 B |
After Width: | Height: | Size: 425 B |
After Width: | Height: | Size: 389 B |
After Width: | Height: | Size: 258 B |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 8.0 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 128 KiB |
After Width: | Height: | Size: 924 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 7.6 KiB |
After Width: | Height: | Size: 430 B |
After Width: | Height: | Size: 18 MiB |
After Width: | Height: | Size: 18 MiB |
After Width: | Height: | Size: 18 MiB |
After Width: | Height: | Size: 5.8 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 155 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 39 KiB |
After Width: | Height: | Size: 7.5 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 6.6 KiB |
|
@ -0,0 +1,51 @@
|
|||
(function flexible(window, document) {
|
||||
var docEl = document.documentElement
|
||||
var dpr = window.devicePixelRatio || 1
|
||||
|
||||
// adjust body font size
|
||||
function setBodyFontSize() {
|
||||
if (document.body) {
|
||||
document.body.style.fontSize = (16 * dpr) + 'px'
|
||||
}
|
||||
else {
|
||||
document.addEventListener('DOMContentLoaded', setBodyFontSize)
|
||||
}
|
||||
}
|
||||
setBodyFontSize();
|
||||
|
||||
function setRemUnit() {
|
||||
var rem = docEl.clientWidth / 24
|
||||
docEl.style.fontSize = rem + 'px'
|
||||
}
|
||||
|
||||
setRemUnit()
|
||||
|
||||
// reset rem unit on page resize
|
||||
window.addEventListener('resize', setRemUnit)
|
||||
window.addEventListener('pageshow', function (e) {
|
||||
if (e.persisted) {
|
||||
setRemUnit()
|
||||
}
|
||||
})
|
||||
|
||||
// detect 0.5px supports
|
||||
if (dpr >= 2) {
|
||||
var fakeBody = document.createElement('body')
|
||||
var testElement = document.createElement('div')
|
||||
testElement.style.border = '.5px solid transparent'
|
||||
fakeBody.appendChild(testElement)
|
||||
docEl.appendChild(fakeBody)
|
||||
if (testElement.offsetHeight === 1) {
|
||||
docEl.classList.add('hairlines')
|
||||
}
|
||||
docEl.removeChild(fakeBody)
|
||||
}
|
||||
}(window, document))
|
||||
|
||||
|
||||
function fontSize(res){
|
||||
let clientWidth = window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;
|
||||
if (!clientWidth) return;
|
||||
let fontSize = clientWidth / 1920;
|
||||
return res*fontSize;
|
||||
}
|
|
@ -0,0 +1,668 @@
|
|||
using BLL;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.common
|
||||
{
|
||||
public partial class main_new : PageBase
|
||||
{
|
||||
List<Model.Base_Project> allProjects;
|
||||
public static List<Model.Solution_LargerHazard> LargerHazard = new List<Model.Solution_LargerHazard>();
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
//未遂事故
|
||||
var wsAccidentList1 = from x in db.Accident_AccidentPersonRecord
|
||||
join y in db.Base_AccidentType on x.AccidentTypeId equals y.AccidentTypeId
|
||||
where y.AccidentTypeName.Contains("未遂")
|
||||
select x;
|
||||
var wsAccidentList2 = from x in db.Accident_AccidentReportOther
|
||||
join y in db.Sys_Const on x.AccidentTypeId equals y.ConstValue
|
||||
where y.ConstText.Contains("未遂")
|
||||
select x;
|
||||
this.divWS.InnerHtml = (wsAccidentList1.Count() + wsAccidentList2.Count()).ToString();
|
||||
|
||||
//安全人工时
|
||||
int wHours = db.SitePerson_PersonInOutNumber.Max(x => x.WorkHours) ?? 0;
|
||||
this.divSafeWorkTime.InnerHtml = wHours.ToString();
|
||||
|
||||
//本月安全人工时
|
||||
int wHoursMonth = db.SitePerson_PersonInOutNumber.Where(x => x.InOutDate > DateTime.Now.AddDays(-Convert.ToInt32(DateTime.Now.Date.Day)))
|
||||
.Max(x => x.WorkHours) ?? 0;
|
||||
this.divSafeWorkTimeMonth.InnerHtml = wHoursMonth.ToString();
|
||||
|
||||
//安全培训累计人员
|
||||
var getTrainRecord = db.EduTrain_TrainRecord.Max(x=>x.TrainPersonNum)??0;
|
||||
this.divSafePersonNum.InnerHtml = getTrainRecord.ToString();
|
||||
|
||||
//安全管理人员
|
||||
var allSum = from x in Funs.DB.SitePerson_Person
|
||||
where x.IsUsed == true
|
||||
select x;
|
||||
var glAllPerson = from x in allSum
|
||||
join y in Funs.DB.Base_WorkPost on x.WorkPostId equals y.WorkPostId
|
||||
where (y.PostType == "1" || y.PostType == "4") //一般管理岗位和特种管理人员
|
||||
select x;
|
||||
this.divSafeManagePersonNum.InnerText = glAllPerson.Count().ToString();
|
||||
|
||||
//质量管理人员
|
||||
int CqmsManageNum = (from x in Funs.DB.Person_CompanyBranchPerson
|
||||
where x.IsOnJob == true
|
||||
select x).Count();
|
||||
this.divCqmsManageNum.InnerText = CqmsManageNum.ToString();
|
||||
|
||||
//质量培训人员
|
||||
DateTime date = DateTime.Now.AddDays(-1);
|
||||
int CqmsPxNum = (from x in Funs.DB.Comprehensive_InspectionPerson
|
||||
where x.IsTrain == true && x.CompileDate.Value.Year == date.Year && x.CompileDate.Value.Month == date.Month && x.CompileDate.Value.Day == date.Day
|
||||
select x).Count();
|
||||
divCqmsPxNum.InnerText = CqmsPxNum.ToString();
|
||||
|
||||
//质量问题
|
||||
getZlwt();
|
||||
|
||||
//质量共检
|
||||
getZlgj();
|
||||
|
||||
//焊接
|
||||
getHj();
|
||||
|
||||
//关键事项
|
||||
getGjsx();
|
||||
|
||||
//在建项目
|
||||
allProjects = ProjectService.GetAllProjectDropDownList();
|
||||
int acount = allProjects.Count();
|
||||
int pcount1 = 0;
|
||||
int pcount2 = 0;
|
||||
int pcount3 = 0;
|
||||
if (acount>0)
|
||||
{
|
||||
pcount1= allProjects.Where(x => x.ProjectState == Const.ProjectState_1 || x.ProjectState == null).Count();
|
||||
pcount2= (from x in Funs.DB.SitePerson_Person where x.IsUsed == true select x).Count();
|
||||
pcount3 = Count3();
|
||||
}
|
||||
div_zjxmCount.InnerText = pcount1.ToString();
|
||||
div_cjrsCount.InnerText = pcount2.ToString();
|
||||
div_wdgcCount.InnerText = pcount3.ToString();
|
||||
|
||||
//人员信息
|
||||
getSitePerson();
|
||||
|
||||
//项目人员图表
|
||||
getProjectSitePerson();
|
||||
|
||||
//进度
|
||||
getJd();
|
||||
|
||||
//整改数据
|
||||
getZgsj();
|
||||
|
||||
//材料到货表格
|
||||
getCldh();
|
||||
}
|
||||
}
|
||||
|
||||
#region 项目信息
|
||||
protected string Project
|
||||
{
|
||||
get
|
||||
{
|
||||
Model.SingleSerie series = new Model.SingleSerie();
|
||||
var project1s = allProjects.Where(x => x.ProjectState == Const.ProjectState_1 || x.ProjectState == null);
|
||||
var consts = Funs.DB.Sys_Const.Where(x => x.GroupId == ConstValue.GroupId_ProjectState);
|
||||
string name = string.Empty;
|
||||
if (project1s.Count() > 0)
|
||||
{
|
||||
foreach (var project1 in project1s)
|
||||
{
|
||||
string state = string.Empty;
|
||||
var c = consts.FirstOrDefault(x => x.ConstValue == project1.ProjectState2);
|
||||
if (c != null)
|
||||
{
|
||||
state = c.ConstText;
|
||||
}
|
||||
name += "<li style=\"border:1px solid white; padding:3px;\" class=\"c-item disabled swiper-slide\"><div class=\"tit tit-read\"><div class=\"flex\" ><div class=\"tit-t flex1\">" + project1.ProjectName + "</div><div class=\"tit-v\">" + state + "</div></div></div></li>";
|
||||
}
|
||||
}
|
||||
var provinceDic = from x in Funs.DB.RealName_City select x;
|
||||
List<double> listdata = new List<double>();
|
||||
List<string> jd = new List<string>();
|
||||
List<string> sg = new List<string>();
|
||||
List<string> time = new List<string>();
|
||||
List<string> ht = new List<string>();
|
||||
List<string> convert = new List<string>();
|
||||
List<string> loc = new List<string>();
|
||||
listdata.Add(allProjects.Count());
|
||||
jd.Add("");
|
||||
sg.Add("");
|
||||
time.Add("");
|
||||
ht.Add("");
|
||||
List<string> provinces = new List<string>();
|
||||
provinces.Add("上海");
|
||||
provinces.Add("河北");
|
||||
provinces.Add("山西");
|
||||
provinces.Add("内蒙古");
|
||||
provinces.Add("辽宁");
|
||||
provinces.Add("吉林");
|
||||
provinces.Add("黑龙江");
|
||||
provinces.Add("江苏");
|
||||
provinces.Add("浙江");
|
||||
provinces.Add("安徽");
|
||||
provinces.Add("福建");
|
||||
provinces.Add("江西");
|
||||
provinces.Add("山东");
|
||||
provinces.Add("河南");
|
||||
provinces.Add("湖北");
|
||||
provinces.Add("湖南");
|
||||
provinces.Add("广东");
|
||||
provinces.Add("广西");
|
||||
provinces.Add("海南");
|
||||
provinces.Add("四川");
|
||||
provinces.Add("贵州");
|
||||
provinces.Add("云南");
|
||||
provinces.Add("西藏");
|
||||
provinces.Add("陕西");
|
||||
provinces.Add("甘肃");
|
||||
provinces.Add("青海");
|
||||
provinces.Add("宁夏");
|
||||
provinces.Add("新疆");
|
||||
provinces.Add("北京");
|
||||
provinces.Add("天津");
|
||||
provinces.Add("重庆");
|
||||
provinces.Add("香港");
|
||||
provinces.Add("澳门");
|
||||
provinces.Add("台湾");
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
var accidentList1 = from x in db.Accident_AccidentPersonRecord
|
||||
join y in db.Base_AccidentType on x.AccidentTypeId equals y.AccidentTypeId
|
||||
where y.AccidentTypeName.Contains("未遂")
|
||||
select x;
|
||||
var accidentList2 = from x in db.Accident_AccidentReportOther
|
||||
join y in db.Sys_Const on x.AccidentTypeId equals y.ConstValue
|
||||
where y.ConstText.Contains("未遂")
|
||||
select x;
|
||||
foreach (var province in provinces)
|
||||
{
|
||||
int accidentNum = 0;
|
||||
DateTime date = DateTime.Now;
|
||||
decimal money1 = 0, money2 = 0;
|
||||
var projects = from x in allProjects
|
||||
join y in provinceDic on x.Province equals y.ProvinceCode
|
||||
where y.CnShortName == province
|
||||
select x;
|
||||
listdata.Add(projects.Count());
|
||||
decimal progress = 0;
|
||||
if (projects.Count() > 0)
|
||||
{
|
||||
convert.Add(province);
|
||||
foreach (var item in projects)
|
||||
{
|
||||
//未遂事故
|
||||
var accidentListProject1 = accidentList1.Where(x => x.ProjectId == item.ProjectId);
|
||||
var accidentListProject2 = accidentList2.Where(x => x.ProjectId == item.ProjectId);
|
||||
accidentNum = accidentListProject1.Count() + accidentListProject2.Count();
|
||||
//时间
|
||||
if (item.StartDate != null && item.StartDate < date)
|
||||
{
|
||||
date = Convert.ToDateTime(item.StartDate);
|
||||
}
|
||||
//合同额
|
||||
if (item.ConstructionMoney != null)
|
||||
{
|
||||
money1 += item.ConstructionMoney.Value;
|
||||
}
|
||||
if (item.Progress != null)
|
||||
{
|
||||
progress = item.Progress.Value;
|
||||
}
|
||||
}
|
||||
jd.Add("进度:" + progress.ToString("0.##") + "%");
|
||||
sg.Add("未遂事故:" + accidentNum.ToString());
|
||||
time.Add("时间:" + string.Format("{0:yyyy-MM-dd}", date));
|
||||
ht.Add("合同额(" + money1.ToString("0.##") + "W);收款额(" + money2 + "W)");
|
||||
}
|
||||
else
|
||||
{
|
||||
jd.Add("");
|
||||
sg.Add("");
|
||||
time.Add("");
|
||||
ht.Add("");
|
||||
}
|
||||
}
|
||||
foreach (var item in allProjects)
|
||||
{
|
||||
decimal jdNum = 0;
|
||||
string mapStr = "";
|
||||
int accidentNum = 0;
|
||||
DateTime date = DateTime.Now;
|
||||
decimal money1 = 0, money2 = 0;
|
||||
string endDate = string.Empty;
|
||||
int timeSpan = 0;
|
||||
if (!string.IsNullOrEmpty(item.MapCoordinates))
|
||||
{
|
||||
mapStr = item.MapCoordinates + ",";
|
||||
//未遂事故
|
||||
var accidentListProject1 = accidentList1.Where(x => x.ProjectId == item.ProjectId);
|
||||
var accidentListProject2 = accidentList2.Where(x => x.ProjectId == item.ProjectId);
|
||||
accidentNum = accidentListProject1.Count() + accidentListProject2.Count();
|
||||
//时间
|
||||
if (item.StartDate != null && item.StartDate < date)
|
||||
{
|
||||
date = Convert.ToDateTime(item.StartDate);
|
||||
}
|
||||
if (item.EndDate != null)
|
||||
{
|
||||
endDate = string.Format("{0:yyyy-MM-dd}", item.EndDate);
|
||||
}
|
||||
if (item.StartDate != null && item.EndDate != null)
|
||||
{
|
||||
TimeSpan t = (TimeSpan)(item.EndDate - item.StartDate);
|
||||
timeSpan = t.Days / 30;
|
||||
}
|
||||
//合同额
|
||||
if (item.ConstructionMoney != null)
|
||||
{
|
||||
money1 += item.ConstructionMoney.Value;
|
||||
}
|
||||
if (item.Progress != null)
|
||||
{
|
||||
jdNum = item.Progress.Value;
|
||||
}
|
||||
mapStr += string.Format("{0:yyyy-MM-dd}", date) + "~" + endDate + ",";
|
||||
if (timeSpan > 0)
|
||||
{
|
||||
mapStr += timeSpan.ToString() + "个月,";
|
||||
}
|
||||
else
|
||||
{
|
||||
mapStr += timeSpan.ToString() + ",";
|
||||
}
|
||||
//mapStr += accidentNum.ToString() + ",";
|
||||
mapStr += jdNum.ToString("0.##") + "%,";
|
||||
mapStr += money1.ToString("0.##") + ",";
|
||||
mapStr += money2 + ",";
|
||||
mapStr += item.ShortName + ",";
|
||||
mapStr += item.ProjectId;
|
||||
loc.Add(mapStr);
|
||||
}
|
||||
}
|
||||
series.name = name;
|
||||
series.data = listdata;
|
||||
series.jd = jd;
|
||||
series.sg = sg;
|
||||
series.time = time;
|
||||
series.ht = ht;
|
||||
series.convert = convert;
|
||||
series.loc = loc;
|
||||
return JsonConvert.SerializeObject(series);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 在施危大工程数量
|
||||
/// <summary>
|
||||
/// 在施危大工程数量
|
||||
/// </summary>
|
||||
/// <param name="state"></param>
|
||||
/// <returns></returns>
|
||||
protected int Count3()
|
||||
{
|
||||
int cout1 = 0;
|
||||
cout1 = LargerHazard.Where(x => x.States == Const.State_2).Count();
|
||||
return cout1;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 质量问题
|
||||
//质量问题总计
|
||||
protected string zlallNumber;
|
||||
//质量问题合格数量
|
||||
protected string zlfinishNumber;
|
||||
//质量问题整改率
|
||||
protected string zlzgl;
|
||||
|
||||
protected string zgzglDataValue;
|
||||
protected void getZlwt() {
|
||||
zlallNumber = (from x in Funs.DB.Check_CheckControl
|
||||
where x.CheckDate <= DateTime.Now
|
||||
select x).Count().ToString();
|
||||
var num2 = (from x in Funs.DB.Check_CheckControl
|
||||
where x.CheckDate <= DateTime.Now && x.State == "7"
|
||||
select x).Count();
|
||||
zlfinishNumber = num2.ToString();
|
||||
var num3 = (from x in Funs.DB.Check_CheckControl
|
||||
where x.CheckDate <= DateTime.Now && x.State != "7"
|
||||
select x).Count();
|
||||
|
||||
var zgl = String.Format("{0:N2}", 100.0 * num2 / (num2 + num3));
|
||||
zlzgl = zgl.ToString();
|
||||
zgzglDataValue = (100 - (100.0 * num2 / (num2 + num3))).ToString();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 质量共检
|
||||
protected string zlgjallNumber;
|
||||
protected string zlgjfinishNumber;
|
||||
protected string zlgjzgl;
|
||||
|
||||
protected string zggjzglDataValue;
|
||||
protected void getZlgj() {
|
||||
//Check_JointCheck
|
||||
zlgjallNumber = (from x in Funs.DB.Check_JointCheck
|
||||
where x.CheckDate <= DateTime.Now
|
||||
select x).Count().ToString();
|
||||
|
||||
var num2 = (from x in Funs.DB.Check_JointCheck
|
||||
where x.CheckDate <= DateTime.Now && x.State == BLL.Const.JointCheck_Complete
|
||||
select x).Count();
|
||||
zlgjfinishNumber = num2.ToString();
|
||||
|
||||
var num3 = (from x in Funs.DB.Check_JointCheck
|
||||
where x.CheckDate <= DateTime.Now && x.State != BLL.Const.JointCheck_Complete
|
||||
select x).Count();
|
||||
|
||||
var zgl = String.Format("{0:N2}", 100.0 * num2 / (num2 + num3));
|
||||
zlgjzgl = zgl.ToString();
|
||||
zggjzglDataValue = (100 - (100.0 * num2 / (num2 + num3))).ToString();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 焊接
|
||||
protected string hjallNumber="0";
|
||||
protected string hjfinishNumber="0";
|
||||
protected string hjzgl="0";
|
||||
|
||||
protected string hjDataValue="0";
|
||||
protected void getHj()
|
||||
{
|
||||
Model.SingleSerie series = new Model.SingleSerie();
|
||||
Model.BusinessColumn businessColumn = new Model.BusinessColumn();
|
||||
List<double> listdata = new List<double>();
|
||||
double result = 0;
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
//一次检测合格焊口数
|
||||
int oneCheckJotNum = (from x in db.HJGL_Batch_NDEItem
|
||||
join y in db.HJGL_Batch_BatchTrustItem on x.TrustBatchItemId equals y.TrustBatchItemId
|
||||
join z in db.HJGL_Batch_PointBatchItem on y.PointBatchItemId equals z.PointBatchItemId
|
||||
join a in db.HJGL_Batch_NDE on x.NDEID equals a.NDEID
|
||||
where z.PointDate != null && z.PointState == "1" && y.RepairRecordId == null
|
||||
select x.NDEItemID).Count();
|
||||
//一次检测返修焊口数
|
||||
int oneCheckRepairJotNum = (from x in db.HJGL_Batch_NDEItem
|
||||
join y in db.HJGL_Batch_BatchTrustItem on x.TrustBatchItemId equals y.TrustBatchItemId
|
||||
join z in db.HJGL_Batch_PointBatchItem on y.PointBatchItemId equals z.PointBatchItemId
|
||||
join a in db.HJGL_Batch_NDE on x.NDEID equals a.NDEID
|
||||
where z.PointDate != null && z.PointState == "1" && y.RepairRecordId == null && x.CheckResult == "2"
|
||||
select x.NDEItemID).Count();
|
||||
if (oneCheckJotNum > 0)
|
||||
{
|
||||
var a = Convert.ToDouble(oneCheckJotNum - oneCheckRepairJotNum);
|
||||
var b = Convert.ToDouble(oneCheckJotNum);
|
||||
result = Convert.ToDouble(decimal.Round(decimal.Parse((a / b * 100).ToString()), 0));
|
||||
|
||||
hjallNumber = b.ToString();
|
||||
hjfinishNumber = a.ToString();
|
||||
hjzgl = result.ToString();
|
||||
hjDataValue = (100 - result).ToString();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 关键事项
|
||||
//准点率
|
||||
protected string gjsxZdl = "0";
|
||||
protected void getGjsx()
|
||||
{
|
||||
//Check_JointCheck
|
||||
var znum = (from x in Funs.DB.GJSX
|
||||
select x).Count();
|
||||
divGjsxzj.InnerHtml = znum.ToString();
|
||||
|
||||
//到期应完成
|
||||
var dqnum = (from x in Funs.DB.GJSX where x.CompleteDate<=DateTime.Now
|
||||
select x).Count().ToString();
|
||||
divGjsxdq.InnerHtml = dqnum;
|
||||
|
||||
//未准点完成
|
||||
var wzdnum = (from x in Funs.DB.GJSX
|
||||
where x.CompleteDate <= DateTime.Now
|
||||
&& x.State !="0"
|
||||
select x).Count().ToString();
|
||||
divGjsxwzd.InnerHtml = wzdnum;
|
||||
|
||||
//准点率,已完成/总数*100
|
||||
var ywcnum = (from x in Funs.DB.GJSX
|
||||
where x.CompleteDate <= DateTime.Now
|
||||
&& x.State == "0"
|
||||
select x).Count();
|
||||
gjsxZdl = Math.Round((100.0 * ywcnum / znum),2).ToString();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 人员信息
|
||||
private void getSitePerson()
|
||||
{
|
||||
int AllCount = 0;
|
||||
int MCount = 0;
|
||||
var getallin = APIPageDataService.getPersonNumByCompany(DateTime.Now);
|
||||
AllCount = getallin.Count();
|
||||
if (AllCount > 0)
|
||||
{
|
||||
MCount = getallin.Where(x => x.PostType == Const.PostType_1).Count();
|
||||
}
|
||||
|
||||
if (AllCount > 0)
|
||||
{
|
||||
////当前现场总人数
|
||||
div_xcrs.InnerHtml = AllCount.ToString();
|
||||
//作业人数
|
||||
div_zyxcrs.InnerHtml = (AllCount - MCount).ToString();
|
||||
//管理人数
|
||||
div_glxcrs.InnerHtml = MCount.ToString();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 项目人员图表
|
||||
protected string ProjectPersonCount;
|
||||
protected string ProjectPersonMc;
|
||||
private void getProjectSitePerson()
|
||||
{
|
||||
var list = Funs.DB.Base_Project.Where(x => (x.ProjectState == Const.ProjectState_1 || x.ProjectState == null) && x.Progress != null).ToList();
|
||||
foreach (var item in list)
|
||||
{
|
||||
ProjectPersonMc += "'" + item.ShortName + "',";
|
||||
ProjectPersonCount += "'" + APIPageDataService.getPersonNum(item.ProjectId,DateTime.Now).Count() + "',";
|
||||
}
|
||||
ProjectPersonMc = ProjectPersonMc.TrimEnd(',');
|
||||
ProjectPersonCount = ProjectPersonCount.TrimEnd(',');
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 进度情况
|
||||
protected string ProjectJd;
|
||||
protected string ProjectMc;
|
||||
protected void getJd() {
|
||||
var list = Funs.DB.Base_Project.Where(x => (x.ProjectState == Const.ProjectState_1 || x.ProjectState == null) && x.Progress != null).ToList();
|
||||
foreach (var item in list)
|
||||
{
|
||||
ProjectJd += "'" + item.Progress + "',";
|
||||
ProjectMc += "'" + item.ShortName + "',";
|
||||
}
|
||||
ProjectJd = ProjectJd.TrimEnd(',');
|
||||
ProjectMc = ProjectMc.TrimEnd(',');
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 整改数据
|
||||
protected void getZgsj() {
|
||||
div_zgsj.InnerHtml = (GetGeneralClosedNum() + GetGeneralNotClosedNum()).ToString();
|
||||
div_zgywc.InnerHtml = GetGeneralClosedNum().ToString();
|
||||
div_zgwwc.InnerHtml = GetGeneralNotClosedNum().ToString();
|
||||
div_zgwcl.InnerHtml= String.Format("{0:N2}", 100.0 * GetGeneralClosedNum() / (GetGeneralNotClosedNum() + GetGeneralClosedNum()))+"%";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取隐患整改闭环项
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetGeneralClosedNum()
|
||||
{
|
||||
int result = (from x in Funs.DB.HSSE_Hazard_HazardRegister
|
||||
where x.States == "3"
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取隐患未整改完成项
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetGeneralNotClosedNum()
|
||||
{
|
||||
int result = (from x in Funs.DB.HSSE_Hazard_HazardRegister
|
||||
where x.States != "3"
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 材料到货
|
||||
protected string gdclHtml;
|
||||
protected string sbclHtml;
|
||||
|
||||
protected string gdclHead = "<span>项目</span><span>管子</span><span>管件</span><span>阀门</span><span>垫片</span><span>紧固件</span>";
|
||||
protected string sbclHead = "<span>项目</span><span>采购量</span><span>到货量</span><span>已到货百分比</span>";
|
||||
private void getCldh() {
|
||||
|
||||
//项目
|
||||
var list = Funs.DB.Base_Project.Where(x => (x.ProjectState == Const.ProjectState_1 || x.ProjectState == null)).ToList();
|
||||
var PipelinList = Funs.DB.CLGL_PipelineMaterialSumList.Where(x => x.Type == "M");
|
||||
var SbclList = Funs.DB.CLGL_ContractListSum.Where(x => x.C1 == "设备");
|
||||
foreach (var item in list)
|
||||
{
|
||||
#region 管道材料
|
||||
gdclHtml += " <div class=\"tr\">";
|
||||
var pname = item.ShortName;
|
||||
if (item.ShortName.Length > 4)
|
||||
{
|
||||
pname = item.ShortName.Substring(0, 4) + "...";
|
||||
}
|
||||
|
||||
gdclHtml += "<span title=\"" + item.ShortName + "\">" + pname + "</span>";
|
||||
var pid = BLL.ProjectService.GetCLProjectCodeByProjectId(item.ProjectId).ToString();
|
||||
//管子
|
||||
var num1 = PipelinList.Where(x => x.ProjectId == pid && x.C1 == "管子").FirstOrDefault();
|
||||
if (num1 != null)
|
||||
{
|
||||
gdclHtml += "<span>" + (num1.C7 == "" ? "0%" : num1.C7) + "</span>";
|
||||
}
|
||||
else
|
||||
{
|
||||
gdclHtml += "<span>0%</span>";
|
||||
}
|
||||
|
||||
var num2 = PipelinList.Where(x => x.ProjectId == pid && x.C1 == "管件法兰").FirstOrDefault();
|
||||
if (num2 != null)
|
||||
{
|
||||
gdclHtml += "<span>" + (num2.C7 == "" ? "0%" : num2.C7) + "</span>";
|
||||
}
|
||||
else
|
||||
{
|
||||
gdclHtml += "<span>0%</span>";
|
||||
}
|
||||
var num3 = PipelinList.Where(x => x.ProjectId == pid && x.C1 == "阀门").FirstOrDefault();
|
||||
if (num3 != null)
|
||||
{
|
||||
gdclHtml += "<span>" + (num3.C7 == "" ? "0%" : num3.C7) + "</span>";
|
||||
}
|
||||
else
|
||||
{
|
||||
gdclHtml += "<span>0%</span>";
|
||||
}
|
||||
var num4 = PipelinList.Where(x => x.ProjectId == pid && x.C1 == "垫片").FirstOrDefault();
|
||||
if (num4 != null)
|
||||
{
|
||||
gdclHtml += "<span>" + (num4.C7 == "" ? "0%" : num4.C7) + "</span>";
|
||||
}
|
||||
else
|
||||
{
|
||||
gdclHtml += "<span>0%</span>";
|
||||
}
|
||||
var num5 = PipelinList.Where(x => x.ProjectId == pid && x.C1 == "紧固件").FirstOrDefault();
|
||||
if (num5 != null)
|
||||
{
|
||||
gdclHtml += "<span>" + (num5.C7 == "" ? "0%" : num5.C7) + "</span>";
|
||||
}
|
||||
else
|
||||
{
|
||||
gdclHtml += "<span>0%</span>";
|
||||
}
|
||||
gdclHtml += " </div>";
|
||||
#endregion
|
||||
|
||||
#region 设备材料
|
||||
sbclHtml += " <div class=\"tr\">";
|
||||
pname=item.ShortName;
|
||||
if (item.ShortName.Length > 6)
|
||||
{
|
||||
pname = item.ShortName.Substring(0, 6) + "...";
|
||||
}
|
||||
sbclHtml += "<span title=\"" + item.ShortName + "\">" + pname + "</span>";
|
||||
//采购量
|
||||
var SbcllCglList = SbclList.Where(x => x.ProjectId == pid).ToList();
|
||||
double SbcllCgl = 0.0;
|
||||
double Sbdhs = 0.0;
|
||||
foreach (var itemCgl in SbcllCglList)
|
||||
{
|
||||
if (string.IsNullOrEmpty(itemCgl.C7))
|
||||
{
|
||||
SbcllCgl += 0;
|
||||
Sbdhs += 0;
|
||||
}
|
||||
else {
|
||||
SbcllCgl +=Convert.ToDouble(itemCgl.C7);
|
||||
Sbdhs += Convert.ToDouble(itemCgl.C9);
|
||||
}
|
||||
}
|
||||
|
||||
sbclHtml += "<span>" + SbcllCgl + "</span>";
|
||||
sbclHtml += "<span>" + Sbdhs + "</span>";
|
||||
//百分比
|
||||
if (SbcllCgl + Sbdhs != 0)
|
||||
{
|
||||
var dhbfb = String.Format("{0:N2}", 100.0 * Sbdhs / (Sbdhs + SbcllCgl), 2) + "%";
|
||||
sbclHtml += "<span>" + dhbfb + "</span>";
|
||||
}
|
||||
else {
|
||||
sbclHtml += "<span>0%</span>";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
sbclHtml += " </div>";
|
||||
#endregion
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,206 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.common
|
||||
{
|
||||
|
||||
|
||||
public partial class main_new
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// divSafeWorkTime 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divSafeWorkTime;
|
||||
|
||||
/// <summary>
|
||||
/// divSafeWorkTimeMonth 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divSafeWorkTimeMonth;
|
||||
|
||||
/// <summary>
|
||||
/// divSafePersonNum 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divSafePersonNum;
|
||||
|
||||
/// <summary>
|
||||
/// divSafeManagePersonNum 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divSafeManagePersonNum;
|
||||
|
||||
/// <summary>
|
||||
/// divWS 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divWS;
|
||||
|
||||
/// <summary>
|
||||
/// div_zgsj 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_zgsj;
|
||||
|
||||
/// <summary>
|
||||
/// div_zgywc 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_zgywc;
|
||||
|
||||
/// <summary>
|
||||
/// div_zgwwc 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_zgwwc;
|
||||
|
||||
/// <summary>
|
||||
/// div_zgwcl 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_zgwcl;
|
||||
|
||||
/// <summary>
|
||||
/// divCqmsManageNum 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divCqmsManageNum;
|
||||
|
||||
/// <summary>
|
||||
/// divCqmsPxNum 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divCqmsPxNum;
|
||||
|
||||
/// <summary>
|
||||
/// divGjsxzj 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divGjsxzj;
|
||||
|
||||
/// <summary>
|
||||
/// divGjsxdq 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divGjsxdq;
|
||||
|
||||
/// <summary>
|
||||
/// divGjsxwzd 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divGjsxwzd;
|
||||
|
||||
/// <summary>
|
||||
/// div_zjxmCount 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_zjxmCount;
|
||||
|
||||
/// <summary>
|
||||
/// div_cjrsCount 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_cjrsCount;
|
||||
|
||||
/// <summary>
|
||||
/// div_wdgcCount 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_wdgcCount;
|
||||
|
||||
/// <summary>
|
||||
/// div_xcrs 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_xcrs;
|
||||
|
||||
/// <summary>
|
||||
/// div_zyxcrs 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_zyxcrs;
|
||||
|
||||
/// <summary>
|
||||
/// div_glxcrs 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_glxcrs;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,810 @@
|
|||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="main_new0.aspx.cs" Inherits="FineUIPro.Web.common.main_new0" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>安全生产</title>
|
||||
<script src="lib/flex.js"></script>
|
||||
<link rel="stylesheet" href="css/safetyproduction.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div class="y_body y_row">
|
||||
<div class="site y_column">
|
||||
<!-- 安监人员数据 -->
|
||||
<div class="y_box">
|
||||
<div class="y_box_label y_image_default">安监人员数据</div>
|
||||
<div class="y_box_main">
|
||||
<div class="y_rs_row y_row" style="margin-top: .25rem;">
|
||||
<div class="y_rs_item y_column">
|
||||
<div class="y_rs_item_label">企业总部人数</div>
|
||||
<div class="y_rs_item_value y_row">
|
||||
<div class="y_rs_box y_column">
|
||||
<div class="y_rs_number" id="div_qyzbzjrs" runat="server">0</div>
|
||||
<div class="y_rs_text">总监</div>
|
||||
</div>
|
||||
<div class="y_rs_box y_column">
|
||||
<div class="y_rs_number" id="div_qyzbzzrs" runat="server">0</div>
|
||||
<div class="y_rs_text">专职</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="y_rs_item y_column">
|
||||
<div class="y_rs_item_label">分支机构</div>
|
||||
<div class="y_rs_item_value y_row">
|
||||
<div class="y_rs_box y_column">
|
||||
<div class="y_rs_number" id="div_fzjgzjrs" runat="server">0</div>
|
||||
<div class="y_rs_text">总监</div>
|
||||
</div>
|
||||
<div class="y_rs_box y_column">
|
||||
<div class="y_rs_number" id="div_fzjgzzrs" runat="server">0</div>
|
||||
<div class="y_rs_text">专职</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="y_rs_row y_row" style="margin-top: .125rem;">
|
||||
<div class="y_rs_item y_column" style="width: 3.75rem;">
|
||||
<div class="y_rs_item_label">企业总部人数</div>
|
||||
<div class="y_rs_item_value img2 y_row">
|
||||
<div class="y_rs_box y_column">
|
||||
<div class="y_rs_number" id="div_qyzbrs1" runat="server">0</div>
|
||||
<div class="y_rs_text">总监</div>
|
||||
</div>
|
||||
<div class="y_rs_box y_column">
|
||||
<div class="y_rs_number" id="div_qyzbzzrs1" runat="server">0</div>
|
||||
<div class="y_rs_text">专职</div>
|
||||
</div>
|
||||
<div class="y_rs_box y_column">
|
||||
<div class="y_rs_number" id="div_qyzbcjrs" runat="server">0</div>
|
||||
<div class="y_rs_text">参建人数</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="y_rs_item y_column" style="width: 1.625rem;">
|
||||
<div class="y_rs_item_label">注安师</div>
|
||||
<div class="y_rs_item_value y_row" style="background-image: none;">
|
||||
<div class="y_rs_box y_column">
|
||||
<div class="y_rs_number" id="div_zasrs" runat="server">0</div>
|
||||
<div class="y_rs_text">总数</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="y_rs_row y_row" style="margin-top: .125rem;">
|
||||
<div class="y_rs_item y_column" style="width: 100%;">
|
||||
<div class="y_rs_item_label">项目人数</div>
|
||||
<div class="y_rs_item_value img2 y_row">
|
||||
<div class="y_rs_box y_column">
|
||||
<div class="y_rs_number" id="div_xmrs" runat="server">0</div>
|
||||
<div class="y_rs_text">总监</div>
|
||||
</div>
|
||||
<div class="y_rs_box y_column">
|
||||
<div class="y_rs_number" id="div_xmzzrs" runat="server">0</div>
|
||||
<div class="y_rs_text">专职</div>
|
||||
</div>
|
||||
<div class="y_rs_box y_column">
|
||||
<div class="y_rs_number" id="div_xmcjrs" runat="server">0</div>
|
||||
<div class="y_rs_text">参建人数</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 安全会议数据 -->
|
||||
<div class="y_box" style="height: 2.975rem;margin-top: .25rem;">
|
||||
<div class="y_box_label y_image_default">安全会议数据</div>
|
||||
<div class="y_box_main" style="padding: .25rem;">
|
||||
<div class="anj y_image_default">
|
||||
<div class="anj_row y_row">
|
||||
<div class="anj_box anj_box1" style="top: -0.125rem;">
|
||||
<div class="anj_label">企业安委会</div>
|
||||
<div class="anj_value" style="margin-top: 10%;padding-left: .25rem;" runat="server" id="div_qyawh">0</div>
|
||||
</div>
|
||||
<div class="anj_box anj_box2" style="top: -0.125rem;">
|
||||
<div class="anj_label">企业专题</div>
|
||||
<div class="anj_value"
|
||||
style="margin-top: 10%;padding-right: .25rem;text-align: right;" runat="server" id="div_qyzt">0</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="anj_row y_row">
|
||||
<div class="anj_box anj_box1 y_column" style="justify-content: flex-end;">
|
||||
|
||||
<div class="anj_value" style="padding-left: .25rem;margin-bottom: 10%;" runat="server" id="div_xmaqldxz">0</div>
|
||||
<div class="anj_label">项目安全领导小组</div>
|
||||
</div>
|
||||
<div class="anj_box anj_box2 y_column" style="justify-content: flex-end;">
|
||||
|
||||
<div class="anj_value"
|
||||
style="padding-right: .25rem;margin-bottom: 10%;text-align: right;" runat="server" id="div_xmalh">0</div>
|
||||
<div class="anj_label">项目安全例会</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="site">
|
||||
<div class="y_top_boxs y_row">
|
||||
<div class="y_top_box y_image_default y_row">
|
||||
<div class="y_top_box_label" style="color: #12CDA2;">在建项目</div>
|
||||
<div class="y_top_box_value" style="color: #12CDA2;" id="div_zjxm" runat="server">0</div>
|
||||
</div>
|
||||
<div class="y_top_box y_image_default y_row">
|
||||
<div class="y_top_box_label" style="color: #00FFFF;">停工项目</div>
|
||||
<div class="y_top_box_value" style="color: #00FFFF;" runat="server" id="div_tgxm">0</div>
|
||||
</div>
|
||||
<div class="y_top_box y_image_default y_row">
|
||||
<div class="y_top_box_label" style="color: #FF7474;">在施危大工程</div>
|
||||
<div class="y_top_box_value" style="color: #FF7474;" runat="server" id="div_wdxm">0</div>
|
||||
</div>
|
||||
<div class="y_top_box y_image_default y_row">
|
||||
<div class="y_top_box_label" style="color: #00FFFF;">安全工时</div>
|
||||
<div class="y_top_box_value" style="color: #00FFFF;" runat="server" id="div_safeworktime">0</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="y_video">
|
||||
<div class="video" style="padding-right: .125rem;padding-bottom: .125rem;">
|
||||
<div class="videos">
|
||||
<div class="video_title">安全云监控</div>
|
||||
<img src="./imags/16.png"></img>
|
||||
<div class="video_value"><span>实时视频:线路1</span><span>2020-10-10 12:40:26</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="video" style="padding-left: .125rem;padding-bottom: .125rem;">
|
||||
<div class="videos">
|
||||
<div class="video_title">安全云监控</div>
|
||||
<img src="./imags/16.png"></img>
|
||||
<div class="video_value"><span>实时视频:线路1</span><span>2020-10-10 12:40:26</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="video" style="padding-right: .125rem;padding-top: .125rem;">
|
||||
<div class="videos">
|
||||
<div class="video_title">安全云监控</div>
|
||||
<img src="./imags/16.png"></img>
|
||||
<div class="video_value"><span>实时视频:线路1</span><span>2020-10-10 12:40:26</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="video" style="padding-left: .125rem;padding-top: .125rem;">
|
||||
<div class="videos">
|
||||
<div class="video_title">安全云监控</div>
|
||||
<img src="./imags/16.png"></img>
|
||||
<div class="video_value"><span>实时视频:线路1</span><span>2020-10-10 12:40:26</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="site y_column">
|
||||
<div class="y_box1 y_row">
|
||||
<div class="item">
|
||||
<div class="item-label">安全费用数据</div>
|
||||
<div class="item_card y_column">
|
||||
<div class="item_card-label">费用提取(万元)</div>
|
||||
<div class="item_card-value" id="div_fytq" runat="server">0</div>
|
||||
</div>
|
||||
<div class="item_card y_column">
|
||||
<div class="item_card-label">费用使用</div>
|
||||
<div class="item_card-value"><%=GetCostUse() %></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="item-label">施工机具设备数据</div>
|
||||
<div class="item_card y_column">
|
||||
<div class="item_card-label">在用</div>
|
||||
<div class="item_card-value"><%=GetUseEquipmentNum() %></div>
|
||||
</div>
|
||||
<div class="item_card y_column">
|
||||
<div class="item_card-label">特种设备</div>
|
||||
<div class="item_card-value"><%=GetSpecialEquipmentNum() %></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="item-label">高风险作业许可数据</div>
|
||||
<div class="item_card y_column">
|
||||
<div class="item_card-label">许可项</div>
|
||||
<div class="item_card-value" ><%=GetLicensesNum() %></div>
|
||||
</div>
|
||||
<div class="item_card y_column">
|
||||
<div class="item_card-label">关闭项</div>
|
||||
<div class="item_card-value" style="color: #999999;" ><%=GetLicensesCloseNum() %></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="y_box" style="width: 6rem;height: 5.0875rem;">
|
||||
<div class="y_box_label y_image_default">隐患排查治理数据
|
||||
<div class="y_tabs y_row">
|
||||
<span class="y_image_default y_tab-action" style="cursor:pointer" onclick="yjClick(0)" id="ybyh_span">一般隐患</span>
|
||||
<span class="y_image_default" style="cursor:pointer" onclick="yjClick(1)" id="zdyh_span">重大隐患</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="y_box_main">
|
||||
<div class="pc_box y_row" style="padding-top: .25rem;">
|
||||
<div class="pc-item">
|
||||
<div class="pc-item-card y_column y_image_default">
|
||||
<div class="pc-item-card_label">整改闭环项</div>
|
||||
<div class="pc-item-card_number" id="yhpc_1"><%=GetGeneralClosedNum() %></div>
|
||||
</div>
|
||||
<div class="pc-item-card" style="margin-top: .125rem;">
|
||||
<div class="pc-item-card y_column y_image_default">
|
||||
<div class="pc-item-card_label">未整改完成项</div>
|
||||
<div class="pc-item-card_number" style="color: #FF7474;" id="yhpc_2"><%=GetGeneralNotClosedNum() %></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="pc-item" id="zgmap"></div>
|
||||
</div>
|
||||
<div class="pc_box-map" id="zgbarmap"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="body1 y_row">
|
||||
<div class="card1 ">
|
||||
<div class="card1_title y_image_default">安全监督检查数据</div>
|
||||
<div class="card1-body" id="jcsjmap"></div>
|
||||
</div>
|
||||
<div class="card1 ">
|
||||
<div class="card1_title y_image_default">事故事件数据
|
||||
<%-- <div class="y_tabs y_row">
|
||||
<span class="y_image_default y_tab-action">企业级</span>
|
||||
<span class="y_image_default">项目级</span>
|
||||
</div>--%>
|
||||
</div>
|
||||
<div class="card1-body" style="padding: .125rem;">
|
||||
<div class="sj-box y_row">
|
||||
<div class="sj-box_item y_row">
|
||||
<div class="sj-item_label">未遂事件</div>
|
||||
<div class="sj-item-number"><%=GetNearMissNum() %></div>
|
||||
</div>
|
||||
<div class="sj-box_item y_row">
|
||||
<div class="sj-item_label">可记录</div>
|
||||
<div class="sj-item-number"><%=GetRecordableEventNum() %></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sjmap" id="sjmap"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card1 ">
|
||||
<div class="card1_title y_image_default">应急管理数据</div>
|
||||
<div class="card1-body yj-body y_image_default">
|
||||
<div class="y_column">
|
||||
<div class="yj-number"><%=GetCompanyComprehensivePlanNum() %></div>
|
||||
<div class="yj-label">综合预案</div>
|
||||
</div>
|
||||
<div class="y_column">
|
||||
<div class="yj-number"><%=GetCompanySpecialPlanNum() %></div>
|
||||
<div class="yj-label">专项预案</div>
|
||||
</div>
|
||||
<div class="y_column">
|
||||
<div class="yj-number"><%=GetCompanyOnSiteDisposalPlan() %></div>
|
||||
<div class="yj-label">现场处置预案</div>
|
||||
</div>
|
||||
<div class="y_column">
|
||||
<div class="yj-number"><%=GetCompanyDrillNum() %></div>
|
||||
<div class="yj-label">演练次数</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card1 ">
|
||||
<div class="card1_title y_image_default">安全教育培训人次数数据</div>
|
||||
<div class="card1-body y_column aqjy">
|
||||
<div class="y_column">
|
||||
<div class="aqjy-label">三级安全教育培训</div>
|
||||
<div class="aqjy-value"><%=GetSafeTrainNum() %></div>
|
||||
</div>
|
||||
<div class="y_column">
|
||||
<div class="aqjy-label">专项培训</div>
|
||||
<div class="aqjy-value"><%=GetSpecialTrainNum() %></div>
|
||||
</div>
|
||||
<div class="y_column">
|
||||
<div class="aqjy-label">特种作业培训</div>
|
||||
<div class="aqjy-value"><%=GetSpecialOperationTrainNum() %></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card1 ">
|
||||
<div class="card1_title y_image_default">安全数据分析</div>
|
||||
<div class="card1-body" id="sjfxmap"></div>
|
||||
</div>
|
||||
<div class="card1 ">
|
||||
<div class="card1_title y_image_default">应急管理数据
|
||||
<div class="y_tabs y_row">
|
||||
<span class="y_image_default y_tab-action" id="span_wdgc" onclick="yjglOnclick(0)" style="cursor:pointer">危大工程</span>
|
||||
<span class="y_image_default" id="span_cwdgc" onclick="yjglOnclick(1)" style="cursor:pointer">超危大工程</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card1-body" style=" padding: .25rem .125rem;">
|
||||
<div class="yj-box y_image_default">
|
||||
<div style="padding: .1875rem 0 0 .1875rem;">
|
||||
<div class="yj-box_label">审批完成</div>
|
||||
<div class="yj-box_number" id="div_spwc"><%=GetCompletedNum() %></div>
|
||||
</div>
|
||||
<div style="padding: .1875rem .1875rem 0 0;align-items: flex-end;">
|
||||
<div class="yj-box_label">培训人次数</div>
|
||||
<div class="yj-box_number" id="div_pxrcs"><%=GetTrainPersonNum() %></div>
|
||||
</div>
|
||||
<div style="justify-content: flex-end;padding: 0 0 .1875rem .1875rem;">
|
||||
<div class="yj-box_number" id="div_sggs"><%=GetConstructionNum() %></div>
|
||||
<div class="yj-box_label">施工个数</div>
|
||||
</div>
|
||||
<div style="justify-content: flex-end;padding: 0 .1875rem .1875rem 0;align-items: flex-end;">
|
||||
<div class="yj-box_number" id="div_wggs"><%=GetFinishedNum() %></div>
|
||||
<div class="yj-box_label">完工个数</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
<script src="lib/echarts.min.js"></script>
|
||||
<script src="lib/jquery.js"></script>
|
||||
<script>
|
||||
$(function () {
|
||||
//一般隐患
|
||||
zgmap(<%=GetGeneralZgl()%>)
|
||||
zgbarmap(0)
|
||||
})
|
||||
|
||||
|
||||
//点击隐患排查治理数据
|
||||
function yjClick(objval) {
|
||||
console.log(objval)
|
||||
if (objval==0) {
|
||||
//一般隐患
|
||||
$("#ybyh_span").addClass("y_tab-action")
|
||||
$("#zdyh_span").removeClass("y_tab-action")
|
||||
$("#yhpc_1").html(<%=GetGeneralClosedNum() %>)
|
||||
$("#yhpc_2").html(<%=GetGeneralNotClosedNum() %>)
|
||||
zgmap(<%=GetGeneralZgl()%>)
|
||||
zgbarmap(0)
|
||||
|
||||
} else if (objval == 1) {
|
||||
$("#zdyh_span").addClass("y_tab-action")
|
||||
$("#ybyh_span").removeClass("y_tab-action")
|
||||
$("#yhpc_1").html(<%=GetMajorClosedNum() %>)
|
||||
$("#yhpc_2").html(<%=GetMajorNotClosedNum() %>)
|
||||
zgmap(<%=GetMajorZgl()%>)
|
||||
zgbarmap(1)
|
||||
}
|
||||
}
|
||||
|
||||
function yjglOnclick(objval) {
|
||||
if (objval == 0) {
|
||||
$("#span_wdgc").addClass("y_tab-action")
|
||||
$("#span_cwdgc").removeClass("y_tab-action")
|
||||
|
||||
$("#div_spwc").html(<%=GetCompletedNum() %>)
|
||||
$("#div_pxrcs").html(<%=GetTrainPersonNum() %>)
|
||||
$("#div_sggs").html(<%=GetConstructionNum() %>)
|
||||
$("#div_wggs").html(<%=GetFinishedNum() %>)
|
||||
} else {
|
||||
$("#span_cwdgc").addClass("y_tab-action")
|
||||
$("#span_wdgc").removeClass("y_tab-action")
|
||||
|
||||
$("#div_spwc").html(<%=GetSuperCompletedNum() %>)
|
||||
$("#div_pxrcs").html(<%=GetSuperTrainPersonNum() %>)
|
||||
$("#div_sggs").html(<%=GetSuperConstructionNum() %>)
|
||||
$("#div_wggs").html(<%=GetSuperFinishedNum() %>)
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
<script>
|
||||
// 整改率
|
||||
function zgmap(zgl) {
|
||||
let value = zgl;
|
||||
let AOption1 = {
|
||||
series: [
|
||||
{
|
||||
center: ['50%', '50%'],
|
||||
id: '整改率',
|
||||
radius: '75%',
|
||||
type: 'gauge',
|
||||
startAngle: 225,
|
||||
endAngle: -45,
|
||||
roundCap: false,
|
||||
pointer: {
|
||||
show: false,
|
||||
},
|
||||
progress: {
|
||||
show: true,
|
||||
overlap: false,
|
||||
roundCap: false, // 顶端圆角
|
||||
clip: false,
|
||||
},
|
||||
axisLine: {
|
||||
roundCap: false,
|
||||
lineStyle: {
|
||||
width: fontSize(16),
|
||||
|
||||
color: [[1, '#2A396A']],
|
||||
// shadowColor: '#1C466C',
|
||||
// shadowBlur: 10,
|
||||
}
|
||||
},
|
||||
itemStyle: {
|
||||
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
||||
{
|
||||
offset: 0,
|
||||
color: '#01B4FF'
|
||||
},
|
||||
{
|
||||
offset: 1,
|
||||
color: '#0336FF'
|
||||
}
|
||||
]),
|
||||
},
|
||||
splitLine: {
|
||||
show: false,
|
||||
distance: 0,
|
||||
length: fontSize(20)
|
||||
},
|
||||
axisTick: {
|
||||
show: false
|
||||
},
|
||||
axisLabel: {
|
||||
show: false,
|
||||
},
|
||||
data: [
|
||||
{
|
||||
value: value,
|
||||
name: '整改率',
|
||||
title: {
|
||||
color: '#63CAFF',
|
||||
offsetCenter: ['0%', '110%'],
|
||||
fontSize: fontSize(16),
|
||||
backgroundColor: '#19509E',
|
||||
borderRadius: fontSize(14),
|
||||
width: fontSize(80),
|
||||
height: fontSize(28),
|
||||
lineHeight: fontSize(28)
|
||||
},
|
||||
detail: {
|
||||
valueAnimation: true,
|
||||
offsetCenter: ['0%', '0%'],
|
||||
}
|
||||
}
|
||||
],
|
||||
detail: {
|
||||
offsetCenter: ['0%', '120%'],
|
||||
fontSize: fontSize(36),
|
||||
color: '#01ACFF',
|
||||
fontWight: 400,
|
||||
formatter: '{value}{a|%}',
|
||||
rich: {
|
||||
a: {
|
||||
fontSize: fontSize(14),
|
||||
color: '#01ACFF'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
var aPassChart = echarts.init(document.getElementById('zgmap'));
|
||||
aPassChart.setOption(AOption1);
|
||||
}
|
||||
|
||||
|
||||
// 整改柱状图
|
||||
function zgbarmap(objtype) {
|
||||
//全部
|
||||
let value = "";
|
||||
//待整改
|
||||
let value1 = "";
|
||||
|
||||
let label = [<%=yhXmmc%>];
|
||||
if (objtype == 0) {
|
||||
value = [<%=allYhYb%>];
|
||||
value1 = [<%=dzgYhYb%>];
|
||||
} else {
|
||||
value = [<%=allYhZd%>];
|
||||
value1 = [<%=dzgYhZd%>];
|
||||
}
|
||||
|
||||
let opt = {
|
||||
legend: {
|
||||
top: fontSize(10),
|
||||
left: 'center',
|
||||
data: [{ name: '全部', textStyle: { color: '#2F69D6' } }, { name: '待整改', textStyle: { color: '#FFA602' } }]
|
||||
},
|
||||
grid: {
|
||||
top: fontSize(60),
|
||||
bottom: fontSize(40)
|
||||
},
|
||||
dataZoom: [
|
||||
{
|
||||
type: 'slider',
|
||||
// start: 0,
|
||||
// end: 60
|
||||
maxValueSpan: 6,
|
||||
show: true,
|
||||
xAxisIndex: [0],
|
||||
bottom: 25, height: 10,
|
||||
backgroundColor: 'rgba(0,0,0,0)',
|
||||
borderColor: 'none',
|
||||
brushSelect: false,
|
||||
textStyle: {
|
||||
color: 'rgba(0,0,0,0)'
|
||||
},
|
||||
selectedDataBackground: {
|
||||
areaStyle: {
|
||||
color: 'red',
|
||||
borderWidth: 0
|
||||
}
|
||||
},
|
||||
handleStyle: { // 缩放手柄的样式
|
||||
color: "#0a1449"
|
||||
},
|
||||
moveHandleStyle: {
|
||||
color: '#0a1449'
|
||||
}
|
||||
}
|
||||
],
|
||||
xAxis: {
|
||||
offset: 15
|
||||
, type: 'category',
|
||||
data: label,
|
||||
axisTick: {
|
||||
// 轴刻度
|
||||
show: false,
|
||||
},
|
||||
axisLabel: {
|
||||
bottom: 0,
|
||||
// 轴文字
|
||||
show: true,
|
||||
color: "#02AAE8",
|
||||
fontSize: 12,
|
||||
margin: 20
|
||||
},
|
||||
axisLine: {
|
||||
// 轴线
|
||||
show: true,
|
||||
lineStyle: {
|
||||
color: '#2E87AC',
|
||||
}
|
||||
|
||||
},
|
||||
axisLabel: {
|
||||
interval: 0, // 坐标轴刻度标签的显示间隔
|
||||
rotate: -10 // 标签倾斜的角度
|
||||
}
|
||||
},
|
||||
yAxis: {
|
||||
type: 'value',
|
||||
axisLabel: {
|
||||
color: '#3FB0FF'
|
||||
},
|
||||
splitLine: {
|
||||
show: true,
|
||||
lineStyle: {
|
||||
color: '#1B538B',
|
||||
type: 'dashed'
|
||||
}
|
||||
}
|
||||
},
|
||||
series: [
|
||||
{
|
||||
name: '全部',
|
||||
data: value,
|
||||
type: 'bar',
|
||||
barWidth: fontSize(20),
|
||||
itemStyle: {
|
||||
color: '#3A7EF9'
|
||||
},
|
||||
label: {
|
||||
// 柱图头部显示值
|
||||
show: true,
|
||||
position: "top",
|
||||
color: "#ffffff",
|
||||
fontSize: fontSize(10),
|
||||
formatter: (params) => {
|
||||
return params.value[params.encode.x[0]];
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: '待整改',
|
||||
data: value1,
|
||||
type: 'bar',
|
||||
barWidth: fontSize(20),
|
||||
itemStyle: {
|
||||
color: '#FFA602'
|
||||
},
|
||||
label: {
|
||||
// 柱图头部显示值
|
||||
show: true,
|
||||
position: "top",
|
||||
color: "#ffffff",
|
||||
fontSize: fontSize(10),
|
||||
formatter: (params) => {
|
||||
return params.value[params.encode.x[0]];
|
||||
},
|
||||
},
|
||||
}
|
||||
]
|
||||
};
|
||||
var aPassChart = echarts.init(document.getElementById('zgbarmap'));
|
||||
aPassChart.setOption(opt);
|
||||
}
|
||||
|
||||
|
||||
// 安全监督检查数据
|
||||
jcsjmap()
|
||||
function jcsjmap() {
|
||||
let Opt = {
|
||||
series: [{
|
||||
type: 'radar',
|
||||
lineStyle: {
|
||||
width: 1,
|
||||
color: '#707070'
|
||||
},
|
||||
symbol: 'none',
|
||||
areaStyle: {
|
||||
color: '#0C6BA0'
|
||||
},
|
||||
data: [
|
||||
{
|
||||
value: [<%=GetCompanyLeadShiftCheckNum()%>,
|
||||
<%=GetCompanyComprehensiveCheckNum()%>,
|
||||
<%=GetCompanySpecialCheckNum()%>,
|
||||
<%=GetProjectLeadShiftCheckNum()%>,
|
||||
<%=GetProjectSpecialCheckNum()%>,
|
||||
<%=GetProjectMajorCheckNum()%>],
|
||||
}
|
||||
]
|
||||
}],
|
||||
radar: [
|
||||
{
|
||||
indicator: [
|
||||
{ text: '企业负责人带班检查次数', value: <%=GetCompanyLeadShiftCheckNum()%> },
|
||||
{ text: '企业综合检查次数', value: <%=GetCompanyComprehensiveCheckNum()%> },
|
||||
{ text: '企业专项检查次数', value: <%=GetCompanySpecialCheckNum()%> },
|
||||
{ text: '项目负责人带班检查次数', value: <%=GetProjectLeadShiftCheckNum()%>, },
|
||||
{ text: '项目专项检查次数', value: <%=GetProjectSpecialCheckNum()%> },
|
||||
{ text: '项目专业检查次数', value: <%=GetProjectMajorCheckNum()%> },
|
||||
],
|
||||
splitNumber: 4,
|
||||
center: ['50%', '50%'],//调整雷达图的位置
|
||||
radius: fontSize(60),//半径,可放大放小雷达图
|
||||
axisLine: {//坐标轴线相关设置
|
||||
show: false,
|
||||
lineStyle: {
|
||||
color: '#71bedd'
|
||||
}
|
||||
},
|
||||
splitLine: {
|
||||
show: false,
|
||||
lineStyle: {
|
||||
width: 1,
|
||||
color: '#71bedd' // 图表背景网格线的颜色
|
||||
}
|
||||
},
|
||||
splitArea: {
|
||||
show: true,
|
||||
|
||||
areaStyle: {
|
||||
color: ['#454D6C', '#303A62', '#1D2756', '#111D51']
|
||||
}
|
||||
},
|
||||
name: {
|
||||
textStyle: {
|
||||
color: '#63CAFF'
|
||||
},
|
||||
fontSize: fontSize(12),
|
||||
formatter: (a, b) => {
|
||||
// return `${a.slice(0, 4)}\n${a.slice(4)}\n{b|${b.value}}`
|
||||
return `${a.slice(0, 4)}\n${a.slice(4)}`
|
||||
},
|
||||
|
||||
rich: {
|
||||
b: {
|
||||
color: '#ffffff'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
],
|
||||
};
|
||||
var aPassChart = echarts.init(document.getElementById('jcsjmap'));
|
||||
aPassChart.setOption(Opt);
|
||||
}
|
||||
|
||||
// 事故事件数据
|
||||
sjmap()
|
||||
function sjmap() {
|
||||
let data = [
|
||||
{ value: <%=GetSpecialSeriousAccidentNum()%>, name: '特别重大事故', label: { color: '#FF7473' }, itemStyle: { color: '#FF7473' }, labelLine: { lineStyle: { color: '#FF7473' } } },
|
||||
{ value:<%=GetGeneralAccidentNum()%>, name: '一般事故', label: { color: '#5C5AFF' }, itemStyle: { color: '#5C5AFF' }, labelLine: { lineStyle: { color: '#5C5AFF' } } },
|
||||
{ value:<%=GetSeriousAccidentNum()%>, name: '重大事故', label: { color: '#FFA502' }, itemStyle: { color: '#FFA502' }, labelLine: { lineStyle: { color: '#FFA502' } } },
|
||||
{ value: <%=GetMajorAccidentNum()%>, name: '较大事故', label: { color: '#E7EA2E' }, itemStyle: { color: '#E7EA2E' }, labelLine: { lineStyle: { color: '#E7EA2E' } } },
|
||||
]
|
||||
|
||||
let opt = {
|
||||
tooltip: {
|
||||
formatter: function (c, h) {
|
||||
return `<p>${c.name} <span style="margin-left:20px;">${c.value}</span> </p>`
|
||||
}
|
||||
},
|
||||
series: [
|
||||
{
|
||||
type: 'pie',
|
||||
radius: ['30%', '60%'],
|
||||
center: ['50%', '50%'],
|
||||
label: {
|
||||
show: true,
|
||||
formatter: '{b}\n{c}'
|
||||
},
|
||||
data: data.sort(function (a, b) {
|
||||
return a.value - b.value;
|
||||
}),
|
||||
itemStyle: {
|
||||
normal: {
|
||||
labelLine: {
|
||||
length: fontSize(6)
|
||||
}
|
||||
}
|
||||
},
|
||||
roseType: 'radius',
|
||||
|
||||
animationType: 'scale',
|
||||
animationEasing: 'elasticOut',
|
||||
animationDelay: function (idx) {
|
||||
return Math.random() * 200;
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
var aPassChart = echarts.init(document.getElementById('sjmap'));
|
||||
aPassChart.setOption(opt);
|
||||
}
|
||||
|
||||
// 安全数据分析
|
||||
sjfxmap()
|
||||
function sjfxmap() {
|
||||
let opt = {
|
||||
series: [
|
||||
|
||||
{
|
||||
name: ' ',
|
||||
type: 'pie',
|
||||
radius: ['45%', '60%'],
|
||||
labelLine: {
|
||||
length: fontSize(10),
|
||||
lineStyle:{
|
||||
color: '#FFFFFF'
|
||||
},
|
||||
smooth: true,
|
||||
minTurnAngle:0,
|
||||
maxSurfaceAngle :0
|
||||
},
|
||||
label: {
|
||||
color:'#63CAFF',
|
||||
fontSize:fontSize(12)
|
||||
},
|
||||
data: [
|
||||
{ value: <%=GetGeneralRiskNum()%>, name: '高风险' },
|
||||
{ value: <%=GetMediumRiskNum()%>, name: '中风险' },
|
||||
{ value: <%=GetLowRiskNum()%>, name: '低风险' },
|
||||
{ value: <%=GetHighRiskNum()%>, name: '一般风险' },
|
||||
]
|
||||
}
|
||||
]
|
||||
};
|
||||
var aPassChart = echarts.init(document.getElementById('sjfxmap'));
|
||||
aPassChart.setOption(opt);
|
||||
}
|
||||
|
||||
|
||||
|
||||
</script>
|
|
@ -0,0 +1,692 @@
|
|||
using BLL;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.common
|
||||
{
|
||||
public partial class main_new0 : PageBase
|
||||
{
|
||||
public static List<Model.Solution_LargerHazard> LargerHazard = new List<Model.Solution_LargerHazard>();
|
||||
|
||||
//页面加载
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
//安监人员数据
|
||||
getPersonNum();
|
||||
|
||||
//项目信息
|
||||
getProjectInfo();
|
||||
|
||||
//安全会议数据
|
||||
getSafeMettingCount();
|
||||
|
||||
//加载项目全部和待整改的
|
||||
getProjectYh();
|
||||
}
|
||||
}
|
||||
|
||||
#region 加载人数
|
||||
protected void getPersonNum()
|
||||
{
|
||||
//企业总部总监人数
|
||||
div_qyzbzjrs.InnerHtml = HSSEData_HSSEService.GetHeadOfficeInspectorGeneralNum().ToString();
|
||||
div_qyzbrs1.InnerHtml = HSSEData_HSSEService.GetHeadOfficeInspectorGeneralNum().ToString();
|
||||
//企业总部专职人数
|
||||
div_qyzbzzrs.InnerHtml = HSSEData_HSSEService.GetHeadOfficeFullTimeNum().ToString();
|
||||
div_qyzbzzrs1.InnerHtml = HSSEData_HSSEService.GetHeadOfficeFullTimeNum().ToString();
|
||||
//分支机构总监人数
|
||||
div_fzjgzjrs.InnerHtml = HSSEData_HSSEService.GetBranchInspectorGeneralNum().ToString();
|
||||
//分支机构专职人数
|
||||
div_fzjgzzrs.InnerHtml = HSSEData_HSSEService.GetBranchFullTimeNum().ToString();
|
||||
//企业总部参建人数
|
||||
div_qyzbcjrs.InnerHtml = (from x in Funs.DB.SitePerson_Person where x.IsUsed == true select x).Count().ToString();
|
||||
|
||||
//项目总监
|
||||
div_xmrs.InnerHtml = (from x in Funs.DB.SitePerson_Person
|
||||
where x.WorkPostId == Const.WorkPost_ProjectHSSEDirector && x.IsUsed == true
|
||||
select x).Count().ToString();
|
||||
//项目专职
|
||||
div_xmzzrs.InnerHtml = (from x in Funs.DB.SitePerson_Person
|
||||
join y in Funs.DB.Base_WorkPost on x.WorkPostId equals y.WorkPostId
|
||||
where y.IsHsse == true && x.IsUsed == true
|
||||
select x).Count().ToString();
|
||||
//项目参建
|
||||
div_xmcjrs.InnerHtml = (from x in Funs.DB.SitePerson_Person
|
||||
where x.IsUsed == true
|
||||
select x).Count().ToString();
|
||||
|
||||
//注安师
|
||||
div_zasrs.InnerHtml = (from x in Funs.DB.SitePerson_Person
|
||||
join y in Funs.DB.Base_Certificate on x.CertificateId equals y.CertificateId
|
||||
where y.IsRegisterHSSE == true && x.IsUsed == true
|
||||
select x).Count().ToString();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 加载项目信息
|
||||
protected void getProjectInfo()
|
||||
{
|
||||
var list = Funs.DB.Base_Project;
|
||||
//在建项目
|
||||
div_zjxm.InnerHtml = list.Where(x => (x.ProjectState == Const.ProjectState_1 || x.ProjectState == null)).Count().ToString();
|
||||
//停工项目
|
||||
div_tgxm.InnerHtml = list.Where(x => (x.ProjectState == Const.ProjectState_2 || x.ProjectState == null)).Count().ToString();
|
||||
//在施危大工程
|
||||
div_wdxm.InnerHtml = Funs.DB.Solution_LargerHazard.Where(x => x.States == Const.State_2).Count().ToString();
|
||||
//安全工时数
|
||||
int wHours = Funs.DB.SitePerson_PersonInOutNumber.Max(x => x.WorkHours) ?? 0;
|
||||
this.div_safeworktime.InnerHtml = wHours.ToString();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 加载项目全部和待整改的
|
||||
protected string yhXmmc;
|
||||
protected string allYhYb;
|
||||
protected string dzgYhYb;
|
||||
|
||||
protected string allYhZd;
|
||||
protected string dzgYhZd;
|
||||
/// <summary>
|
||||
/// 加载柱状图数据
|
||||
/// </summary>
|
||||
/// <param name="type"></param>
|
||||
protected void getProjectYh()
|
||||
{
|
||||
var list = Funs.DB.Base_Project.Where(x => (x.ProjectState == Const.ProjectState_1 || x.ProjectState == null)).ToList();
|
||||
if (list.Count > 0)
|
||||
{
|
||||
foreach (var item in list)
|
||||
{
|
||||
yhXmmc += "'" + item.ShortName + "',";
|
||||
|
||||
//一般
|
||||
allYhYb += "'" +
|
||||
(Project_HSSEData_HSSEService.GetGeneralClosedNum(item.ProjectId) +
|
||||
Project_HSSEData_HSSEService.GetGeneralNotClosedNum(item.ProjectId)) +
|
||||
"',";
|
||||
dzgYhYb += "'" + Project_HSSEData_HSSEService.GetGeneralNotClosedNum(item.ProjectId) + "',";
|
||||
|
||||
//重大
|
||||
allYhZd += "'" +
|
||||
(Project_HSSEData_HSSEService.GetMajorClosedNum(item.ProjectId) +
|
||||
Project_HSSEData_HSSEService.GetMajorNotClosedNum(item.ProjectId)) +
|
||||
"',";
|
||||
dzgYhZd += "'" + Project_HSSEData_HSSEService.GetMajorNotClosedNum(item.ProjectId) + "',";
|
||||
|
||||
}
|
||||
yhXmmc = yhXmmc.TrimEnd(',');
|
||||
allYhYb = allYhYb.TrimEnd(',');
|
||||
dzgYhYb = dzgYhYb.TrimEnd(',');
|
||||
allYhZd = allYhZd.TrimEnd(',');
|
||||
dzgYhZd = dzgYhZd.TrimEnd(',');
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 安全会议数据
|
||||
protected void getSafeMettingCount()
|
||||
{
|
||||
//企业安委会
|
||||
div_qyawh.InnerHtml = HSSEData_HSSEService.GetSafetyCommitteeMeetingNum().ToString();
|
||||
//企业专题
|
||||
div_qyzt.InnerHtml = HSSEData_HSSEService.GetEnterpriseTopicsMeetingNum().ToString();
|
||||
//项目安全领导小组
|
||||
div_xmaqldxz.InnerHtml = Funs.DB.Meeting_SafetyLeaderGroupMeeting.Where(x=> x.CompileDate > Const.DtmarkTime).Count().ToString();
|
||||
//项目安全例会
|
||||
DateTime date = DateTime.Now;
|
||||
div_xmalh.InnerHtml = ((from x in Funs.DB.Meeting_WeekMeeting where x.WeekMeetingDate.Value.Year == date.Year && x.WeekMeetingDate.Value.Month == date.Month && x.WeekMeetingDate.Value.Day == date.Day select x).Count()
|
||||
+ (from x in Funs.DB.Meeting_MonthMeeting where x.MonthMeetingDate.Value.Year == date.Year && x.MonthMeetingDate.Value.Month == date.Month && x.MonthMeetingDate.Value.Day == date.Day select x).Count()).ToString();
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 右侧 安全费用数据、施工机具设备数据、高风险作业许可数据
|
||||
/// <summary>
|
||||
/// 获取费用使用(万元)
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetCostUse()
|
||||
{
|
||||
var result = 0;
|
||||
var costs = (from x in Funs.DB.CostGoods_CostSmallDetailItem
|
||||
join y in Funs.DB.CostGoods_CostSmallDetail
|
||||
on x.CostSmallDetailId equals y.CostSmallDetailId
|
||||
where y.CompileDate > Const.DtmarkTime
|
||||
select x.CostMoney ?? 0).ToList().Sum();
|
||||
result = Funs.GetNewIntOrZero(costs.ToString().Split('.')[0]);
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取施工机具在用数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetUseEquipmentNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.InApproveManager_EquipmentInItem
|
||||
join y in Funs.DB.InApproveManager_EquipmentIn on x.EquipmentInId equals y.EquipmentInId
|
||||
where x.IsUsed == true
|
||||
select x).Count() +
|
||||
(from x in Funs.DB.InApproveManager_GeneralEquipmentInItem
|
||||
join y in Funs.DB.InApproveManager_GeneralEquipmentIn on x.GeneralEquipmentInId equals y
|
||||
.GeneralEquipmentInId
|
||||
where x.IsUsed == true
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取施工机具特种设备数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetSpecialEquipmentNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.InApproveManager_EquipmentInItem
|
||||
join y in Funs.DB.InApproveManager_EquipmentIn on x.EquipmentInId equals y.EquipmentInId
|
||||
where x.IsUsed == true
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取作业许可项数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetLicensesNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.License_LicenseManager
|
||||
where x.IsHighRisk == true && x.CompileDate > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取作业许可关闭项数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetLicensesCloseNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.License_LicenseManager
|
||||
where x.IsHighRisk == true && x.WorkStates == "3" &&
|
||||
x.CompileDate > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 获取一般隐患整改闭环项
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetGeneralClosedNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.HSSE_Hazard_HazardRegister
|
||||
where x.Risk_Level == "一般" && x.States == "3" &&
|
||||
x.CheckTime > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一般隐患未整改完成项
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetGeneralNotClosedNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.HSSE_Hazard_HazardRegister
|
||||
where x.Risk_Level == "一般" && x.States != "3" &&
|
||||
x.CheckTime > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 一般整改率
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static string GetGeneralZgl()
|
||||
{
|
||||
var num1 = Math.Round(100.0 * GetGeneralClosedNum() / (GetGeneralClosedNum() + GetGeneralNotClosedNum()), 0).ToString();
|
||||
return num1;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取重大隐患整改闭环项
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetMajorClosedNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.HSSE_Hazard_HazardRegister
|
||||
where x.Risk_Level == "重大" && x.States == "3" &&
|
||||
x.CheckTime > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取重大隐患未整改完成项
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetMajorNotClosedNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.HSSE_Hazard_HazardRegister
|
||||
where x.Risk_Level == "重大" && x.States != "3" &&
|
||||
x.CheckTime > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 重大整改率
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static string GetMajorZgl()
|
||||
{
|
||||
var num1 = Math.Round(100.0 * GetMajorClosedNum() / (GetMajorClosedNum() + GetMajorNotClosedNum()), 0).ToString();
|
||||
return num1;
|
||||
}
|
||||
|
||||
#region 安全监督检查数据
|
||||
/// <summary>
|
||||
/// 获取企业负责人带班检查次数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetCompanyLeadShiftCheckNum()
|
||||
{
|
||||
return HSSEData_HSSEService.GetCompanyLeadShiftCheckNum();
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取企业综合检查次数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetCompanyComprehensiveCheckNum()
|
||||
{
|
||||
return HSSEData_HSSEService.GetCompanyComprehensiveCheckNum();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取企业专项检查次数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetCompanySpecialCheckNum()
|
||||
{
|
||||
return HSSEData_HSSEService.GetCompanySpecialCheckNum();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取项目负责人带班检查次数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetProjectLeadShiftCheckNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Check_ProjectLeaderCheck
|
||||
where x.CompileDate > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取项目专项检查次数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetProjectSpecialCheckNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Check_CheckSpecial
|
||||
where x.CheckTime > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取项目专业检查次数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetProjectMajorCheckNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.HSSE_Hazard_HazardRegister
|
||||
where x.CheckTime > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 事故事件数据
|
||||
/// <summary>
|
||||
/// 获取未遂事件数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetNearMissNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Accident_AccidentPersonRecord
|
||||
join y in Funs.DB.Base_AccidentType on x.AccidentTypeId equals y.AccidentTypeId
|
||||
where x.IsAttempt == "1" && x.CompileDate > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取可记录事件数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetRecordableEventNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Accident_AccidentPersonRecord
|
||||
join y in Funs.DB.Base_AccidentType on x.AccidentTypeId equals y.AccidentTypeId
|
||||
where x.CompileDate > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一般事故数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetGeneralAccidentNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Accident_AccidentReport
|
||||
where x.AccidentDegree == "1" && x.CompileDate > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取较大事故数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetMajorAccidentNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Accident_AccidentReport
|
||||
where x.AccidentDegree == "2" && x.CompileDate > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取重大事故数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetSeriousAccidentNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Accident_AccidentReport
|
||||
where x.AccidentDegree == "3" && x.CompileDate > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取特别重大事故数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetSpecialSeriousAccidentNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Accident_AccidentReport
|
||||
where x.AccidentDegree == "4"
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 应急管理数据
|
||||
/// <summary>
|
||||
/// 获取企业级综合预案数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetCompanyComprehensivePlanNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Emergency_EmergencyList_Unit
|
||||
join y in Funs.DB.Base_EmergencyType on x.EmergencyTypeId equals y.EmergencyTypeId
|
||||
where y.EmergencyTypeName.Contains("综合") && x.CompileDate > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取企业级专项预案数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetCompanySpecialPlanNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Emergency_EmergencyList_Unit
|
||||
join y in Funs.DB.Base_EmergencyType on x.EmergencyTypeId equals y.EmergencyTypeId
|
||||
where y.EmergencyTypeName.Contains("专项") && x.CompileDate > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取企业级现场处置预案
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetCompanyOnSiteDisposalPlan()
|
||||
{
|
||||
var result = (from x in Funs.DB.Emergency_EmergencyList_Unit
|
||||
join y in Funs.DB.Base_EmergencyType on x.EmergencyTypeId equals y.EmergencyTypeId
|
||||
where y.EmergencyTypeName.Contains("现场处置") && x.CompileDate > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取企业级演练次数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetCompanyDrillNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Emergency_DrillRecordList_Unit
|
||||
where x.CompileDate > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 安全教育培训人次数数据
|
||||
/// <summary>
|
||||
/// 获取三级安全教育培训数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetSafeTrainNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.EduTrain_TrainRecord
|
||||
join y in Funs.DB.Base_TrainType on x.TrainTypeId equals y.TrainTypeId
|
||||
where y.TrainType == "1" && x.TrainStartDate > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取专项培训数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetSpecialTrainNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.EduTrain_TrainRecord
|
||||
join y in Funs.DB.Base_TrainType on x.TrainTypeId equals y.TrainTypeId
|
||||
where y.TrainType == "2" && x.TrainStartDate > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取特种作业培训数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetSpecialOperationTrainNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.EduTrain_TrainRecord
|
||||
join y in Funs.DB.Base_TrainType on x.TrainTypeId equals y.TrainTypeId
|
||||
where y.TrainType == "3" && x.TrainStartDate > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 安全数据分析
|
||||
/// <summary>
|
||||
/// 获取一般风险数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetGeneralRiskNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Hazard_HazardSelectedItem
|
||||
join y in Funs.DB.Base_RiskLevel on x.HazardLevel equals y.RiskLevelId
|
||||
where y.RiskLevel == 2 && x.IsStart == true
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取低风险数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetLowRiskNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Hazard_HazardSelectedItem
|
||||
join y in Funs.DB.Base_RiskLevel on x.HazardLevel equals y.RiskLevelId
|
||||
where y.RiskLevel == 1 && x.IsStart == true
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取中风险数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetMediumRiskNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Hazard_HazardSelectedItem
|
||||
join y in Funs.DB.Base_RiskLevel on x.HazardLevel equals y.RiskLevelId
|
||||
where y.RiskLevel == 3 && x.IsStart == true
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取高风险数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetHighRiskNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Hazard_HazardSelectedItem
|
||||
join y in Funs.DB.Base_RiskLevel on x.HazardLevel equals y.RiskLevelId
|
||||
where y.RiskLevel == 4 && x.IsStart == true
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 应急管理程序
|
||||
/// <summary>
|
||||
/// 获取危大工程审批完成数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetCompletedNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Solution_LargerHazard
|
||||
where x.States == "1" && x.IsSuperLargerHazard == false &&
|
||||
x.RecordTime > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取危大工程培训人次数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetTrainPersonNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Solution_LargerHazard
|
||||
where x.IsSuperLargerHazard == false && x.RecordTime > Const.DtmarkTime
|
||||
select x.TrainPersonNum).ToList().Sum(x => x.Value);
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取危大工程施工个数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetConstructionNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Solution_LargerHazard
|
||||
where x.States == "2" && x.IsSuperLargerHazard == false &&
|
||||
x.RecordTime > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取危大工程完工个数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetFinishedNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Solution_LargerHazard
|
||||
where x.States == "3" && x.IsSuperLargerHazard == false &&
|
||||
x.RecordTime > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取超危大工程审批完成数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetSuperCompletedNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Solution_LargerHazard
|
||||
where x.States == "1" && x.IsSuperLargerHazard == true &&
|
||||
x.RecordTime > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取超危大工程培训人次数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetSuperTrainPersonNum()
|
||||
{
|
||||
var result =
|
||||
(from x in Funs.DB.Solution_LargerHazard
|
||||
where x.IsSuperLargerHazard == true && x.RecordTime > Const.DtmarkTime
|
||||
select x.TrainPersonNum).ToList().Sum(x => x.Value);
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取超危大工程施工个数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetSuperConstructionNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Solution_LargerHazard
|
||||
where x.States == "2" && x.IsSuperLargerHazard == true &&
|
||||
x.RecordTime > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取超危大工程完工个数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetSuperFinishedNum()
|
||||
{
|
||||
var result = (from x in Funs.DB.Solution_LargerHazard
|
||||
where x.States == "3" && x.IsSuperLargerHazard == true &&
|
||||
x.RecordTime > Const.DtmarkTime
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,206 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.common
|
||||
{
|
||||
|
||||
|
||||
public partial class main_new0
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// div_qyzbzjrs 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_qyzbzjrs;
|
||||
|
||||
/// <summary>
|
||||
/// div_qyzbzzrs 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_qyzbzzrs;
|
||||
|
||||
/// <summary>
|
||||
/// div_fzjgzjrs 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_fzjgzjrs;
|
||||
|
||||
/// <summary>
|
||||
/// div_fzjgzzrs 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_fzjgzzrs;
|
||||
|
||||
/// <summary>
|
||||
/// div_qyzbrs1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_qyzbrs1;
|
||||
|
||||
/// <summary>
|
||||
/// div_qyzbzzrs1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_qyzbzzrs1;
|
||||
|
||||
/// <summary>
|
||||
/// div_qyzbcjrs 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_qyzbcjrs;
|
||||
|
||||
/// <summary>
|
||||
/// div_zasrs 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_zasrs;
|
||||
|
||||
/// <summary>
|
||||
/// div_xmrs 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_xmrs;
|
||||
|
||||
/// <summary>
|
||||
/// div_xmzzrs 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_xmzzrs;
|
||||
|
||||
/// <summary>
|
||||
/// div_xmcjrs 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_xmcjrs;
|
||||
|
||||
/// <summary>
|
||||
/// div_qyawh 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_qyawh;
|
||||
|
||||
/// <summary>
|
||||
/// div_qyzt 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_qyzt;
|
||||
|
||||
/// <summary>
|
||||
/// div_xmaqldxz 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_xmaqldxz;
|
||||
|
||||
/// <summary>
|
||||
/// div_xmalh 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_xmalh;
|
||||
|
||||
/// <summary>
|
||||
/// div_zjxm 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_zjxm;
|
||||
|
||||
/// <summary>
|
||||
/// div_tgxm 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_tgxm;
|
||||
|
||||
/// <summary>
|
||||
/// div_wdxm 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_wdxm;
|
||||
|
||||
/// <summary>
|
||||
/// div_safeworktime 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_safeworktime;
|
||||
|
||||
/// <summary>
|
||||
/// div_fytq 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_fytq;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,505 @@
|
|||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="main_new1.aspx.cs" Inherits="FineUIPro.Web.common.main_new1" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>质量管理</title>
|
||||
<script src="lib/flex.js"></script>
|
||||
<link rel="stylesheet" href="css/base.css"/>
|
||||
<link rel="stylesheet" href="css/quality.css"/>
|
||||
<link rel="stylesheet" href="css/swiper-bundle.min.css" />
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div class="y_body y_row">
|
||||
<div class="site y_column">
|
||||
<div class="y_box">
|
||||
<div class="y_box_label y_image_default">质量管理人员数据</div>
|
||||
<div class="y_box_main zlgl-box y_row">
|
||||
<div class="y_column">
|
||||
<div class="zlgl-number y_image_default">
|
||||
<p><%=GetCompanyPersonNum() %></p>
|
||||
</div>
|
||||
<div class="zlgl-label">企业总部人数</div>
|
||||
</div>
|
||||
<div class="y_column">
|
||||
<div class="zlgl-number y_image_default">
|
||||
<p><%=GetBranchPersonNum() %></p>
|
||||
</div>
|
||||
<div class="zlgl-label">分支机构人数</div>
|
||||
</div>
|
||||
<div class="y_column">
|
||||
<div class="zlgl-number y_image_default">
|
||||
<p><%=GetProjectPersonNum() %></p>
|
||||
</div>
|
||||
<div class="zlgl-label">项目部人数</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="y_box">
|
||||
<div class="y_box_label y_image_default">计量器具数据</div>
|
||||
<div class="y_box_main " style="padding: .375rem .75rem;">
|
||||
<div class="jlq-box y_image_default">
|
||||
<div>
|
||||
<div class="jlq-number">
|
||||
<p style="color: #00FFFF;"><%=GetUseNum() %><span>台</span></p>
|
||||
<p>在用计量器具</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="y_column" style="margin-left: .5rem;">
|
||||
<div class="jlq-number">
|
||||
<p style="color: #12CDA2;"><%=GetOKNum() %><span style="color: #12CDA2;">台</span></p>
|
||||
<p>校准合格</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="y_column" style="justify-content: flex-end;">
|
||||
<div class="jlq-number">
|
||||
<p style="color: #E9E931;" runat="server" id="spanQualityChartAnalysis">7</p>
|
||||
<p>资质预警</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="y_column" style="justify-content: flex-end;margin-left: .5rem;">
|
||||
<div class="jlq-number">
|
||||
<p style="color: #FF7474;"><%=GetJxyjNum() %></p>
|
||||
<p>机械预警</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="y_box">
|
||||
<div class="y_box_label y_image_default">质量培训数据</div>
|
||||
<div class="y_box_main zlpx-box y_image_default y_row">
|
||||
<div class="zlpx-item y_column" style="padding-right: 1.5rem;margin-top: 1.25rem;">
|
||||
<div class="zlpx-number"><%=GetTrainPersonNum() %></div>
|
||||
<div class="zlpx-label">质量培训人次数</div>
|
||||
</div>
|
||||
<div class="zlpx-item y_column"
|
||||
style="align-items: flex-start;padding-left: 1.5rem;margin-top: .5rem;">
|
||||
<div class="zlpx-number"><%=GetTechnicalDisclosePersonNum() %></div>
|
||||
<div class="zlpx-label">技术交底人次数</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="site y_column">
|
||||
|
||||
<div class="swiper-box">
|
||||
<div class="swiper">
|
||||
<div class="swiper-wrapper">
|
||||
<div class="swiper-slide"><img src="imags/16.png"/></div>
|
||||
<div class="swiper-slide"><img src="imags/16.png"/></div>
|
||||
<div class="swiper-slide"><img src="imags/16.png"/></div>
|
||||
<div class="swiper-slide"><img src="imags/16.png"/></div>
|
||||
</div>
|
||||
<!-- 如果需要分页器 -->
|
||||
<div class="swiper-pagination"></div>
|
||||
|
||||
<!-- 如果需要导航按钮 -->
|
||||
<div class="swiper-button-prev"></div>
|
||||
<div class="swiper-button-next"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="y_box" style="width: 100%;">
|
||||
<div class="y_box_label y_image_default">质量验收数据</div>
|
||||
<div class="y_box_main">
|
||||
<div class="zl-card y_row">
|
||||
<div class="y_image_default y_column" style="width: 2.7625rem;">
|
||||
<div class="zl-label">整改闭环项</div>
|
||||
<div class="zl-number" style="color: #2BFAFF;"><%=GetProblemCompletedNum() %></div>
|
||||
</div>
|
||||
<div class="y_image_default y_column" style="width: 2.7625rem;">
|
||||
<div class="zl-label">未整改完成项</div>
|
||||
<div class="zl-number" style="color: #FF7474;"><%=GetProblemNotCompletedNum() %></div>
|
||||
</div>
|
||||
<div class="y_image_default y_column" style="width: 2.7625rem;">
|
||||
<div class="zl-label">整改率</div>
|
||||
<div class="zl-number" style="color: #FFA602;"><%=GetProblemZgl() %></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="zlysmap"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="site y_column">
|
||||
<div class="y_box">
|
||||
<div class="y_box_label y_image_default">焊接数据</div>
|
||||
<div class="y_box_main hj-box" style="padding: .125rem;">
|
||||
<div class="y_column">
|
||||
<div class="hj-box_number"><%=GetWelderNum() %></div>
|
||||
<div class="hj-box_label">焊工总数</div>
|
||||
</div>
|
||||
<div class="y_column">
|
||||
<div class="hj-box_number"><%=GetTotalDineNum() %></div>
|
||||
<div class="hj-box_label">总达因数</div>
|
||||
</div>
|
||||
<div class="y_column">
|
||||
<div class="hj-box_number" style="color: #12CDA2;"><%=GetCompleteDineNum() %></div>
|
||||
<div class="hj-box_label">完成达因数</div>
|
||||
</div>
|
||||
<div class="y_column">
|
||||
<div class="hj-box_number"><%=GetTotalFilmNum() %></div>
|
||||
<div class="hj-box_label">拍片总数</div>
|
||||
</div>
|
||||
<div class="y_column">
|
||||
<div class="hj-box_number" style="color: #12CDA2;"><%=GetOKFilmNum() %></div>
|
||||
<div class="hj-box_label">合格片数</div>
|
||||
</div>
|
||||
<div class="y_column">
|
||||
<div class="hj-box_number" style="color: #FFA602;"><%=GetOKFilmHgl() %></div>
|
||||
<div class="hj-box_label">一次拍片合格率</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="y_box">
|
||||
<div class="y_box_label y_image_default">质量问题治理数据</div>
|
||||
<div class="y_box_main">
|
||||
<div class="zl-card y_row">
|
||||
<div class="y_image_default y_column">
|
||||
<div class="zl-label">整改闭环项</div>
|
||||
<div class="zl-number" style="color: #2BFAFF;"><%=GetProblemCompletedNum() %></div>
|
||||
</div>
|
||||
<div class="y_image_default y_column">
|
||||
<div class="zl-label">未整改完成项</div>
|
||||
<div class="zl-number" style="color: #FF7474;"><%=GetProblemNotCompletedNum() %></div>
|
||||
</div>
|
||||
<div class="y_image_default y_column">
|
||||
<div class="zl-label">整改率</div>
|
||||
<div class="zl-number" style="color: #FFA602;"><%=GetProblemZgl() %></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="zlmap"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="y_box">
|
||||
<div class="y_box_label y_image_default">NCR数据</div>
|
||||
<div class="y_box_main">
|
||||
<div class="zl-card y_row">
|
||||
<div class="y_image_default y_column">
|
||||
<div class="zl-label">整改闭环项</div>
|
||||
<div class="zl-number" style="color: #2BFAFF;"><%=ncrZgbhx %></div>
|
||||
</div>
|
||||
<div class="y_image_default y_column">
|
||||
<div class="zl-label">未整改完成项</div>
|
||||
<div class="zl-number" style="color: #FF7474;"><%=ncrwZgbhx %></div>
|
||||
</div>
|
||||
<div class="y_image_default y_column">
|
||||
<div class="zl-label">整改率</div>
|
||||
<div class="zl-number" style="color: #FFA602;"><%=ncrZgl %></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ncrmap"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
<script src="lib/echarts.min.js"></script>
|
||||
<script src="lib/jquery.js"></script>
|
||||
<script src="lib/swiper-bundle.min.js"></script>
|
||||
<script>
|
||||
// 轮播
|
||||
var mySwiper = new Swiper('.swiper', {
|
||||
direction: 'horizontal', // 垂直切换选项
|
||||
loop: true, // 循环模式选项
|
||||
autoplay: true,
|
||||
autoplay: {
|
||||
delay: 8000,
|
||||
stopOnLastSlide: false,
|
||||
disableOnInteraction: true,
|
||||
},
|
||||
// 如果需要分页器
|
||||
pagination: {
|
||||
el: '.swiper-pagination',
|
||||
},
|
||||
|
||||
// 如果需要前进后退按钮
|
||||
navigation: {
|
||||
nextEl: '.swiper-button-next',
|
||||
prevEl: '.swiper-button-prev',
|
||||
},
|
||||
|
||||
// 如果需要滚动条
|
||||
scrollbar: {
|
||||
el: '.swiper-scrollbar',
|
||||
},
|
||||
})
|
||||
|
||||
// 质量问题治理数据
|
||||
zlmap()
|
||||
function zlmap() {
|
||||
let value = [<%=ProblemNum%>]
|
||||
let label = ['问题个数', '整改完成数', '未整改数', '整改率']
|
||||
let opt = {
|
||||
grid: {
|
||||
top: fontSize(30),
|
||||
bottom: fontSize(30)
|
||||
},
|
||||
xAxis: {
|
||||
type: 'category',
|
||||
data: label,
|
||||
axisLabel: {
|
||||
|
||||
color: '#3FB0FF'
|
||||
},
|
||||
axisLine: {
|
||||
show: true,
|
||||
lineStyle: {
|
||||
color: '#84D7FE'
|
||||
}
|
||||
},
|
||||
axisTick: {
|
||||
show: false
|
||||
}
|
||||
},
|
||||
yAxis: {
|
||||
type: 'value',
|
||||
axisLabel: {
|
||||
color: '#3FB0FF'
|
||||
},
|
||||
splitLine: {
|
||||
show: true,
|
||||
lineStyle: {
|
||||
color: '#1B538B',
|
||||
type: 'dashed'
|
||||
}
|
||||
}
|
||||
},
|
||||
series: [
|
||||
{
|
||||
name: '',
|
||||
data: value,
|
||||
type: 'bar',
|
||||
barWidth: fontSize(20),
|
||||
itemStyle: {
|
||||
color: '#3A7EF9'
|
||||
},
|
||||
label: {
|
||||
// 柱图头部显示值
|
||||
show: true,
|
||||
position: "top",
|
||||
color: "#ffffff",
|
||||
fontSize: fontSize(10),
|
||||
formatter: (params) => {
|
||||
let str = params.value;
|
||||
console.log(params)
|
||||
if (params.name === '整改率') {
|
||||
str = str + '%'
|
||||
}
|
||||
return str
|
||||
},
|
||||
},
|
||||
}
|
||||
]
|
||||
};
|
||||
var aPassChart = echarts.init(document.getElementById('zlmap'));
|
||||
aPassChart.setOption(opt);
|
||||
}
|
||||
// NCR数据
|
||||
|
||||
|
||||
ncrmap()
|
||||
function ncrmap() {
|
||||
let value = [<%=ncrCount %>]
|
||||
let label = [<%=ncrZy %>]
|
||||
let opt = {
|
||||
grid: {
|
||||
top: fontSize(30),
|
||||
bottom: fontSize(30)
|
||||
},
|
||||
xAxis: {
|
||||
type: 'category',
|
||||
data: label,
|
||||
axisLabel: {
|
||||
|
||||
color: '#3FB0FF'
|
||||
},
|
||||
axisLine: {
|
||||
show: true,
|
||||
lineStyle: {
|
||||
color: '#84D7FE'
|
||||
}
|
||||
},
|
||||
axisTick: {
|
||||
show: false
|
||||
}
|
||||
},
|
||||
yAxis: {
|
||||
type: 'value',
|
||||
axisLabel: {
|
||||
color: '#3FB0FF'
|
||||
},
|
||||
splitLine: {
|
||||
show: true,
|
||||
lineStyle: {
|
||||
color: '#1B538B',
|
||||
type: 'dashed'
|
||||
}
|
||||
}
|
||||
},
|
||||
series: [
|
||||
{
|
||||
name: '',
|
||||
data: value,
|
||||
type: 'bar',
|
||||
barWidth: fontSize(40),
|
||||
itemStyle: {
|
||||
color: '#3A7EF9'
|
||||
},
|
||||
label: {
|
||||
// 柱图头部显示值
|
||||
show: true,
|
||||
position: "top",
|
||||
color: "#ffffff",
|
||||
fontSize: fontSize(10),
|
||||
formatter: (params) => {
|
||||
let str = params.value;
|
||||
console.log(params.name)
|
||||
if (params.name == '整改率') {
|
||||
str = str + '%'
|
||||
}
|
||||
return str
|
||||
},
|
||||
},
|
||||
}
|
||||
]
|
||||
};
|
||||
var aPassChart = echarts.init(document.getElementById('ncrmap'));
|
||||
aPassChart.setOption(opt);
|
||||
}
|
||||
// 质量验收数据
|
||||
zlysmap()
|
||||
function zlysmap() {
|
||||
//总计
|
||||
let value = [<%=InspectionManagementSumCount%>]
|
||||
//合格
|
||||
let value1 = [<%=InspectionManagementOkCount%>]
|
||||
//一次验收合格率
|
||||
let value2 = [<%=InspectionManagementOneOkCount%>]
|
||||
//专业
|
||||
let label = [<%=InspectionManagementZy%>]
|
||||
|
||||
let opt = {
|
||||
grid: {
|
||||
top: fontSize(60),
|
||||
bottom: fontSize(30)
|
||||
},
|
||||
legend: {
|
||||
top: fontSize(10),
|
||||
left: 'center',
|
||||
data: [{ name: '总计', textStyle: { color: '#20AFFF' } }, { name: '合格', textStyle: { color: '#12CDA2' } }, { name: '一次验收合格率', textStyle: { color: '#FFA602' } }]
|
||||
},
|
||||
xAxis: {
|
||||
type: 'category',
|
||||
data: label,
|
||||
axisLabel: {
|
||||
|
||||
color: '#3FB0FF'
|
||||
},
|
||||
axisLine: {
|
||||
show: true,
|
||||
lineStyle: {
|
||||
color: '#84D7FE'
|
||||
}
|
||||
},
|
||||
axisTick: {
|
||||
show: false
|
||||
}
|
||||
},
|
||||
yAxis: {
|
||||
type: 'value',
|
||||
axisLabel: {
|
||||
color: '#3FB0FF'
|
||||
},
|
||||
splitLine: {
|
||||
show: true,
|
||||
lineStyle: {
|
||||
color: '#1B538B',
|
||||
type: 'dashed'
|
||||
}
|
||||
}
|
||||
},
|
||||
series: [
|
||||
{
|
||||
name: '总计',
|
||||
data: value,
|
||||
type: 'bar',
|
||||
barWidth: fontSize(20),
|
||||
itemStyle: {
|
||||
color: '#20AFFF'
|
||||
},
|
||||
label: {
|
||||
// 柱图头部显示值
|
||||
show: true,
|
||||
position: "top",
|
||||
color: "#ffffff",
|
||||
fontSize: fontSize(10),
|
||||
formatter: (params) => {
|
||||
let str = params.value;
|
||||
console.log(params.name)
|
||||
if (params.name == '整改率') {
|
||||
str = str + '%'
|
||||
}
|
||||
return str
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: '合格',
|
||||
data: value1,
|
||||
type: 'bar',
|
||||
barWidth: fontSize(20),
|
||||
itemStyle: {
|
||||
color: '#12CDA2'
|
||||
},
|
||||
label: {
|
||||
// 柱图头部显示值
|
||||
show: true,
|
||||
position: "top",
|
||||
color: "#ffffff",
|
||||
fontSize: fontSize(10),
|
||||
formatter: (params) => {
|
||||
let str = params.value;
|
||||
console.log(params.name)
|
||||
if (params.name == '整改率') {
|
||||
str = str + '%'
|
||||
}
|
||||
return str
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: '一次验收合格率',
|
||||
data: value2,
|
||||
type: 'line',
|
||||
itemStyle: {
|
||||
color: '#FFA602'
|
||||
},
|
||||
showSymbol: false,
|
||||
areaStyle: {
|
||||
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
||||
{
|
||||
offset: 0,
|
||||
color: '#FFA602'
|
||||
}, // %0的颜色值
|
||||
{
|
||||
offset: 1,
|
||||
color: 'rgba(255, 166, 2, 0)'
|
||||
} // 100%的颜色值
|
||||
])
|
||||
|
||||
},
|
||||
}
|
||||
]
|
||||
};
|
||||
var aPassChart = echarts.init(document.getElementById('zlysmap'));
|
||||
aPassChart.setOption(opt);
|
||||
}
|
||||
</script>
|
|
@ -0,0 +1,419 @@
|
|||
using BLL;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.common
|
||||
{
|
||||
public partial class main_new1 : PageBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 页面加载
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
//质量问题治理数据
|
||||
getProblemNums();
|
||||
|
||||
//质量验收图表
|
||||
getInspectionManagementInfo();
|
||||
|
||||
//NCR数据图表
|
||||
getNcrInfo();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取企业总部人数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetCompanyPersonNum()
|
||||
{
|
||||
string unitId = string.Empty;
|
||||
var thisUnit = CommonService.GetIsThisUnit();
|
||||
if (thisUnit != null)
|
||||
{
|
||||
unitId = thisUnit.UnitId;
|
||||
}
|
||||
int result = (from x in Funs.DB.Person_CompanyBranchPerson
|
||||
where x.IsOnJob == true && x.UnitId == unitId
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取分支机构人数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetBranchPersonNum()
|
||||
{
|
||||
string unitId = string.Empty;
|
||||
var thisUnit = CommonService.GetIsThisUnit();
|
||||
if (thisUnit != null)
|
||||
{
|
||||
unitId = thisUnit.UnitId;
|
||||
}
|
||||
int result = (from x in Funs.DB.Person_CompanyBranchPerson
|
||||
where x.IsOnJob == true && x.UnitId != unitId
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取项目部人数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetProjectPersonNum()
|
||||
{
|
||||
int result = (from x in Funs.DB.SitePerson_Person
|
||||
join y in Funs.DB.Base_WorkPost on x.WorkPostId equals y.WorkPostId
|
||||
where y.IsCQMS == true && x.IsUsed == true
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取在用计量器具数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetUseNum()
|
||||
{
|
||||
int result = (from x in Funs.DB.Comprehensive_InspectionMachine
|
||||
where x.IsOnSite == true && x.InspectionType.Contains("计量")
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取校准合格数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetOKNum()
|
||||
{
|
||||
int result = (from x in Funs.DB.Comprehensive_InspectionMachine
|
||||
where x.IsOnSite == true && x.InspectionType.Contains("计量") && x.IsCheckOK == true
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 机械预警
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetJxyjNum() {
|
||||
int result = 0;
|
||||
//机具报验的到期提醒和过期提醒记录数加一起
|
||||
//机具报验的到期提醒数
|
||||
var num1 = Funs.DB.Comprehensive_InspectionMachine.Where(x => x.IsOnSite == true && DateTime.Now < x.NextTestDate
|
||||
&& ((DateTime)x.NextTestDate).AddDays(-15) < DateTime.Now).Count();
|
||||
//过期提醒记录数
|
||||
var num2 = Funs.DB.Comprehensive_InspectionMachine.Where(x => x.IsOnSite == true && x.NextTestDate<DateTime.Now).Count();
|
||||
result = num1 + num2;
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取质量培训人次数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetTrainPersonNum()
|
||||
{
|
||||
DateTime date = DateTime.Now.AddDays(-1);
|
||||
int result = (from x in Funs.DB.Comprehensive_InspectionPerson
|
||||
where x.IsTrain == true && x.CompileDate.Value.Year == date.Year && x.CompileDate.Value.Month == date.Month && x.CompileDate.Value.Day == date.Day
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取技术交底人次数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetTechnicalDisclosePersonNum()
|
||||
{
|
||||
DateTime date = DateTime.Now.AddDays(-1);
|
||||
var result = (from x in Funs.DB.Comprehensive_DesignDetails
|
||||
where x.DetailsDate.Value.Year == date.Year && x.DetailsDate.Value.Month == date.Month && x.DetailsDate.Value.Day == date.Day
|
||||
select x.JoinPersonNum).ToList().Sum(x => x.Value);
|
||||
var q = Funs.GetNewIntOrZero(result.ToString());
|
||||
return q;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 资质预警
|
||||
/// </summary>
|
||||
private void getEarlyWarningCounts()
|
||||
{
|
||||
int allCount = 0;
|
||||
var getPersonQualitys = from x in Funs.DB.QualityAudit_PersonQuality
|
||||
join y in Funs.DB.SitePerson_Person on x.PersonId equals y.PersonId
|
||||
where x.LimitDate.HasValue && x.LimitDate < DateTime.Now
|
||||
select x;
|
||||
//// 预警人数
|
||||
allCount = getPersonQualitys.Count();
|
||||
this.spanQualityChartAnalysis.InnerHtml = allCount.ToString();
|
||||
}
|
||||
|
||||
#region 质量问题治理数据
|
||||
|
||||
/// <summary>
|
||||
/// 获取整改完成数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetProblemCompletedNum()
|
||||
{
|
||||
int result = (from x in Funs.DB.Check_CheckControl
|
||||
where x.CheckDate <= DateTime.Now && x.State == "7"
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取未整改数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetProblemNotCompletedNum()
|
||||
{
|
||||
int result = (from x in Funs.DB.Check_CheckControl
|
||||
where x.CheckDate <= DateTime.Now && x.State != "7"
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 整改率
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static string GetProblemZgl()
|
||||
{
|
||||
string zgl = String.Format("{0:N2}", 100.0 * GetProblemCompletedNum() / (GetProblemCompletedNum() + GetProblemNotCompletedNum()));
|
||||
return zgl + "%";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 质量问题治理数据
|
||||
/// </summary>
|
||||
protected string ProblemNum;
|
||||
protected void getProblemNums()
|
||||
{
|
||||
var num1 = GetProblemNum();
|
||||
var num2 = GetProblemCompletedNum();
|
||||
var num3 = GetProblemNotCompletedNum();
|
||||
ProblemNum = "'" + num1 + "'," +
|
||||
"'" + num2 + "'," +
|
||||
"'" + num3 + "'," +
|
||||
"'" + String.Format("{0:N2}", 100.0 * num2 / (num2 + num3)) + "'";
|
||||
}
|
||||
|
||||
/// 获取问题个数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetProblemNum()
|
||||
{
|
||||
int result = (from x in Funs.DB.Check_CheckControl
|
||||
where x.CheckDate <= DateTime.Now
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 获取焊工总数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetWelderNum()
|
||||
{
|
||||
int result = (from x in Funs.DB.BS_Welder
|
||||
where x.WED_IfOnGuard == true
|
||||
select x).Count();
|
||||
return result;
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取总达因数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetTotalDineNum()
|
||||
{
|
||||
int result = 0;
|
||||
var getD1 = from x in Funs.DB.HJGL_FL_TotalQuantity
|
||||
select x;
|
||||
if (getD1.Count() > 0)
|
||||
{
|
||||
foreach (var item in getD1)
|
||||
{
|
||||
result += Funs.GetNewIntOrZero(item.TotalWeldQuantity.Split('.')[0]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
var getD2 = (from x in Funs.DB.HJGL_FL_Data
|
||||
orderby x.CompileDate descending
|
||||
select x).FirstOrDefault();
|
||||
if (getD2 != null)
|
||||
{
|
||||
result = Funs.GetNewIntOrZero(getD2.TotalWeldQuantity.Split('.')[0]);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取完成达因数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetCompleteDineNum()
|
||||
{
|
||||
int result = 0;
|
||||
|
||||
var getD1 = from x in Funs.DB.HJGL_FL_TotalQuantity
|
||||
|
||||
select x;
|
||||
if (getD1.Count() > 0)
|
||||
{
|
||||
foreach (var item in getD1)
|
||||
{
|
||||
result += Funs.GetNewIntOrZero(item.TotalCompleted.Split('.')[0]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
var getD2 = (from x in Funs.DB.HJGL_FL_Data
|
||||
orderby x.CompileDate descending
|
||||
select x).FirstOrDefault();
|
||||
if (getD2 != null)
|
||||
{
|
||||
result = Funs.GetNewIntOrZero(getD2.TotalCompleted.Split('.')[0]);
|
||||
}
|
||||
|
||||
}
|
||||
return result;
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取总片数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetTotalFilmNum()
|
||||
{
|
||||
int result = Convert.ToInt32((from x in Funs.DB.CH_CheckItem
|
||||
join y in Funs.DB.CH_Check on x.CHT_CheckID equals y.CHT_CheckID
|
||||
select x.CHT_TotalFilm).ToList().Sum());
|
||||
return result;
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取合格片数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static int GetOKFilmNum()
|
||||
{
|
||||
int result = Convert.ToInt32((from x in Funs.DB.CH_CheckItem
|
||||
join y in Funs.DB.CH_Check on x.CHT_CheckID equals y.CHT_CheckID
|
||||
select x.CHT_PassFilm).ToList().Sum());
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 一次拍片合格率
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static string GetOKFilmHgl()
|
||||
{
|
||||
string zgl = "0";
|
||||
if (GetOKFilmNum()>0)
|
||||
{
|
||||
zgl = String.Format("{0:N2}", 100.0 * GetOKFilmNum() / GetTotalFilmNum());
|
||||
}
|
||||
return zgl + "%";
|
||||
|
||||
}
|
||||
|
||||
#region 质量验收数据
|
||||
//专业
|
||||
protected string InspectionManagementZy;
|
||||
//总计
|
||||
protected string InspectionManagementSumCount;
|
||||
//合格
|
||||
protected string InspectionManagementOkCount;
|
||||
//一次验收合格率
|
||||
protected string InspectionManagementOneOkCount;
|
||||
private void getInspectionManagementInfo() {
|
||||
|
||||
var q = (from x in Funs.DB.Base_CNProfessional where x.CNProfessionalId != BLL.Const.CNProfessionalConstructId orderby x.SortIndex select x).ToList();
|
||||
foreach (var item in q)
|
||||
{
|
||||
//获取专业
|
||||
InspectionManagementZy += "'" + item.ProfessionalName + "',";
|
||||
//根据专业获取总计
|
||||
var num1 = (from x in Funs.DB.ProcessControl_InspectionManagementDetail
|
||||
join y in Funs.DB.ProcessControl_InspectionManagement on x.InspectionId equals y.InspectionId
|
||||
where y.CNProfessionalId == item.CNProfessionalId
|
||||
select x).ToList().Count;
|
||||
InspectionManagementSumCount += "'"+ num1 + "',";
|
||||
|
||||
//根据专业获取合格数
|
||||
var num2 = (from x in Funs.DB.ProcessControl_InspectionManagementDetail
|
||||
join y in Funs.DB.ProcessControl_InspectionManagement on x.InspectionId equals y.InspectionId
|
||||
where y.CNProfessionalId == item.CNProfessionalId && y.IsOnceQualified==true
|
||||
select x).ToList().Count;
|
||||
InspectionManagementOkCount += "'" + num2 + "',";
|
||||
|
||||
//一次验收合格率
|
||||
var hgl = "0";
|
||||
if (num1>0)
|
||||
{
|
||||
hgl+= String.Format("{0:N2}", 100.0 * num2 / num1);
|
||||
}
|
||||
InspectionManagementOneOkCount += "'" + hgl + "',";
|
||||
}
|
||||
InspectionManagementZy = InspectionManagementZy.TrimEnd(',');
|
||||
InspectionManagementSumCount = InspectionManagementSumCount.TrimEnd(',');
|
||||
InspectionManagementOkCount = InspectionManagementOkCount.TrimEnd(',');
|
||||
InspectionManagementOneOkCount = InspectionManagementOneOkCount.TrimEnd(',');
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region NCR数据
|
||||
//整改闭环项
|
||||
protected string ncrZgbhx;
|
||||
//未整改完成项
|
||||
protected string ncrwZgbhx;
|
||||
//整改率
|
||||
protected string ncrZgl="0%";
|
||||
|
||||
//图表数据
|
||||
//专业
|
||||
protected string ncrZy;
|
||||
protected string ncrCount;
|
||||
private void getNcrInfo()
|
||||
{
|
||||
//闭环项 有完成日期的
|
||||
var num1 = Funs.DB.Comprehensive_NCRManagement.Where(x => x.CompleteDate != null).Count();
|
||||
var num2 = Funs.DB.Comprehensive_NCRManagement.Where(x => x.CompleteDate == null).Count();
|
||||
ncrZgbhx = num1.ToString();
|
||||
ncrwZgbhx = num2.ToString();
|
||||
if ((num1 + num2) >0)
|
||||
{
|
||||
ncrZgl= String.Format("{0:N2}", 100.0 * num1 / (num1 + num2))+"%";
|
||||
}
|
||||
|
||||
//加载专业
|
||||
var list = (from x in Funs.DB.Base_CNProfessional where x.CNProfessionalId != BLL.Const.CNProfessionalConstructId orderby x.SortIndex select x).ToList();
|
||||
foreach (var item in list)
|
||||
{
|
||||
ncrZy += "'"+item.ProfessionalName+"',";
|
||||
//根据专业加载数据量
|
||||
var num3= Funs.DB.Comprehensive_NCRManagement.Where(x => x.CNProfessionalId==item.CNProfessionalId).Count();
|
||||
ncrCount += "'"+num3+"',";
|
||||
}
|
||||
ncrZy = ncrZy.TrimEnd(',');
|
||||
ncrCount = ncrCount.TrimEnd(',');
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,35 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.common
|
||||
{
|
||||
|
||||
|
||||
public partial class main_new1
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// spanQualityChartAnalysis 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl spanQualityChartAnalysis;
|
||||
}
|
||||
}
|
|
@ -4,9 +4,15 @@
|
|||
<html>
|
||||
<head runat="server">
|
||||
<title>施工管理信息平台</title>
|
||||
<script src="common/lib/flex.js"></script>
|
||||
|
||||
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
|
||||
<link type="text/css" rel="stylesheet" href="~/res/css/default.css" />
|
||||
<link href="res/index/css/home.css" rel="stylesheet" />
|
||||
|
||||
<link rel="stylesheet" href="common/css/base.css">
|
||||
<link rel="stylesheet" href="common/css/overview.css">
|
||||
|
||||
<style type="text/css">
|
||||
.f-tabstrip-header-clip {
|
||||
width: 100%;
|
||||
|
@ -46,7 +52,8 @@
|
|||
/*height: 36px;
|
||||
line-height: 36px;*/
|
||||
border-width: 0;
|
||||
color: rgb(0,162,233) !important;
|
||||
/* color: rgb(0,162,233) !important;*/
|
||||
color: #00FFFF !important;
|
||||
padding: 0;
|
||||
vertical-align: baseline;
|
||||
background-color: transparent;
|
||||
|
@ -149,6 +156,19 @@
|
|||
.item-s li > div {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/*头部按钮样式*/
|
||||
.bgbtn_head{
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
width: 40%;
|
||||
height: 50%;
|
||||
left: 30%;
|
||||
top: 0;
|
||||
background: none !important;
|
||||
border: none !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="wrap">
|
||||
|
@ -159,111 +179,106 @@
|
|||
<f:ContentPanel ID="topPanel" CssClass="topregion" RegionPosition="Top" ShowBorder="false" ShowHeader="false" EnableCollapse="true" runat="server">
|
||||
<%--头部 开始--%>
|
||||
<f:ContentPanel ID="ContentPanel1" CssClass="bodyregion" ShowBorder="false" ShowHeader="false" runat="server">
|
||||
<div id="header2" class="f-widget-header f-mainheader" style="margin-top: 30px">
|
||||
<div class="headerwrap" style="padding-top: 10px; position: relative;">
|
||||
<div style="position: absolute; left: 50%; top: 20px; transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%);">
|
||||
<div class="item-big">
|
||||
<div style="position: absolute; left: 50%; transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); top: 20px; font-size: 17px; font-weight: bold; letter-spacing: 3px; display: flex; align-items: center;">
|
||||
<div class="logocenter"></div>
|
||||
中国五环工程有限公司智慧施工管理信息系统(公司级)</div>
|
||||
<f:Button runat="server" CssClass="bgbtn2" EnablePostBack="true" OnClick="btnHome_Click"
|
||||
<div class="y_head ">
|
||||
<div class="y_logo y_row y_image_default">
|
||||
<div class="y_navbars y_row">
|
||||
<div class="y_navbar y_action1" id="div_xmgk" onclick="changeHead(0)">项目概况
|
||||
<f:Button runat="server" CssClass="bgbtntop" OnClick="btnXmgk_Click" Hidden="true"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btn_xmgk"
|
||||
OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</div>
|
||||
<div class="y_navbar" id="div_aqsc" onclick="changeHead(1)">安全生产
|
||||
<f:Button runat="server" CssClass="bgbtntop" OnClick="btnAqsc_Click" Hidden="true"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btn_aqsc"
|
||||
OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</div>
|
||||
<div class="y_navbar" id="div_zlgl" onclick="changeHead(2)">质量管理
|
||||
<f:Button runat="server" CssClass="bgbtntop" OnClick="btnZlgl_Click" Hidden="true"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btn_zlgl"
|
||||
OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="y_title" style="flex: 1.5;">中国五环工程有限公司智慧施工管理信息系统(公司级)
|
||||
<f:Button runat="server" CssClass="bgbtn_head" EnablePostBack="true" OnClick="btnHome_Click"
|
||||
EnableDefaultState="true" EnableDefaultCorner="false" ID="btnHome" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="logowrap">
|
||||
<%--<div class="logo"></div>--%>
|
||||
</div>
|
||||
<div class="header" style="display: flex; align-content: center; justify-content: space-between;">
|
||||
<div class="up-wrap" style="flex: 1; min-width:625px;">
|
||||
<div class="flex2">
|
||||
<ul class="item-s">
|
||||
<li>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="项目清单" ID="btnProject" OnClick="btnProject_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
<li>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="大数据中心" ID="btnDigData" OnClick="btnDigData_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
<%-- <li>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="合同管理" ID="btnContract" OnClick="btnContract_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>--%>
|
||||
<li>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="总部检查" ID="btnServer" OnClick="btnServer_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
<li>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="通知管理" ID="btnNotice" OnClick="btnNotice_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
<li>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="员工管理" ID="btnPerson" OnClick="btnPerson_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
<li>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="综合管理" ID="btnZHGL" OnClick="btnZHGL_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
<li>
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="智慧党建" ID="btnParty" OnClick="btnParty_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="y_setting y_row">
|
||||
<div class="y_set mine y_image_default" onclick="PersonalFunction()" style="cursor:pointer">
|
||||
我的
|
||||
<f:Button runat="server" CssClass="bgbtntop" Text="我的" IconFont="User" OnClick="btnPersonal_Click" Hidden="true"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnPersonal" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</div>
|
||||
<div style="display: flex; flex: 1"></div>
|
||||
<div class="baseInfo" style="display: flex;">
|
||||
<ul class="layui-nav navSelect">
|
||||
<li class="layui-nav-item">
|
||||
<f:Button runat="server" CssClass="bgbtntop" Text="切换首页" ToolTip="切换首页"
|
||||
EnablePostBack="false" EnableDefaultState="true" EnableDefaultCorner="false" ID="bnChangeHomePage" OnClientClick="parent.onToolSignChangeHomePageClick();">
|
||||
</f:Button>
|
||||
</li>
|
||||
<li class="layui-nav-item">
|
||||
<f:Button runat="server" CssClass="bgbtntop" Text="收藏夹" IconFont="StarO" ToolTip="收藏夹"
|
||||
EnablePostBack="false" EnableDefaultState="true" EnableDefaultCorner="false" ID="Button19" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
<li class="layui-nav-item">
|
||||
<f:Button runat="server" CssClass="bgbtntop" Text="我的" IconFont="User" OnClick="btnPersonal_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnPersonal" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
<li class="layui-nav-item">
|
||||
<f:Button runat="server" CssClass="bgbtntop" Text="设置" ToolTip="设置" IconFont="Gear" OnClick="btnSysSet_Click"
|
||||
<div class="y_set y_image_default set" onclick="btnSysSetFunction()" style="cursor:pointer">
|
||||
设置
|
||||
<f:Button runat="server" CssClass="bgbtntop" Text="设置" ToolTip="设置" IconFont="Gear" OnClick="btnSysSet_Click" Hidden="true"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnSysSet" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
<li class="layui-nav-item">
|
||||
<f:Button runat="server" CssClass="bgbtntop" Text="退出" ToolTip="退出" IconFont="PowerOff"
|
||||
</div>
|
||||
<%-- <div class="y_set y_image_default help" style="cursor:pointer">
|
||||
帮助
|
||||
|
||||
</div>--%>
|
||||
<div class="y_set y_image_default exit" onclick="SignOutFunction()" style="cursor:pointer">
|
||||
退出
|
||||
<f:Button runat="server" CssClass="bgbtntop" Text="退出" ToolTip="退出" IconFont="PowerOff" Hidden="true"
|
||||
EnablePostBack="false" EnableDefaultState="true" EnableDefaultCorner="false" ID="Button18">
|
||||
<Listeners>
|
||||
<f:Listener Event="click" Handler="onToolSignOutClick" />
|
||||
</Listeners>
|
||||
</f:Button>
|
||||
</li>
|
||||
<li class="layui-nav-item">
|
||||
<f:Button runat="server" CssClass="bgbtntop" Text="刷新" ToolTip="刷新菜单" IconFont="Retweet" OnClick="btnRetweet_Click"
|
||||
</div>
|
||||
<div class="y_set y_image_default full" style="cursor:pointer">
|
||||
全屏
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<f:Button runat="server" CssClass="bgbtntop" Text="" ToolTip="刷新菜单" OnClick="btnRetweet_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnRetweet" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="y_navs y_row">
|
||||
<div class="y_nav y_image_default">
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="项目清单" ID="btnProject" OnClick="btnProject_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
|
||||
</div>
|
||||
<div class="y_nav y_image_default">
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="大数据中心" ID="btnDigData" OnClick="btnDigData_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</div>
|
||||
<div class="y_nav y_image_default">
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="总部检查" ID="btnServer" OnClick="btnServer_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</div>
|
||||
<div class="y_nav y_image_default">
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="通知管理" ID="btnNotice" OnClick="btnNotice_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</div>
|
||||
<div class="y_nav y_image_default">
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="员工管理" ID="btnPerson" OnClick="btnPerson_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</div>
|
||||
<div class="y_nav y_image_default">
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="综合管理" ID="btnZHGL" OnClick="btnZHGL_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
||||
</f:Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</f:ContentPanel>
|
||||
<%--头部 结束--%>
|
||||
</f:ContentPanel>
|
||||
|
@ -358,7 +373,7 @@
|
|||
<Tabs>
|
||||
<%--.f-tabstrip-noheader>.f-panel-header--%>
|
||||
<f:Tab ID="Tab1" Title="首页" IconFont="Home"
|
||||
EnableIFrame="true" IFrameUrl="~/common/main.aspx" runat="server">
|
||||
EnableIFrame="true" IFrameUrl="~/common/main_new.aspx" runat="server">
|
||||
</f:Tab>
|
||||
</Tabs>
|
||||
<Tools>
|
||||
|
@ -725,6 +740,74 @@
|
|||
}
|
||||
|
||||
});
|
||||
|
||||
//我的
|
||||
function PersonalFunction() {
|
||||
$('[id$="_btnPersonal"]').click();
|
||||
}
|
||||
//设置
|
||||
function btnSysSetFunction() {
|
||||
$('[id$="_btnSysSet"]').click();
|
||||
}
|
||||
//退出
|
||||
function SignOutFunction() {
|
||||
var bConfirmed = confirm('您确定要退出吗?');
|
||||
if (bConfirmed) { window.open('login.aspx', '_top'); }
|
||||
}
|
||||
// 全屏
|
||||
document.querySelector('.full').onclick = function () {
|
||||
const element = document.documentElement
|
||||
if (document.fullscreenElement) {
|
||||
// 退出
|
||||
// 如果浏览器有这个Function
|
||||
if (document.exitFullscreen) {
|
||||
document.exitFullscreen()
|
||||
} else if (document.webkitCancelFullScreen) {
|
||||
document.webkitCancelFullScreen()
|
||||
} else if (document.mozCancelFullScreen) {
|
||||
document.mozCancelFullScreen()
|
||||
} else if (document.msExitFullscreen) {
|
||||
document.msExitFullscreen()
|
||||
}
|
||||
} else {
|
||||
// 全屏
|
||||
// 如果浏览器有这个Function
|
||||
if (element.requestFullscreen) {
|
||||
element.requestFullscreen()
|
||||
} else if (element.webkitRequestFullScreen) {
|
||||
element.webkitRequestFullScreen()
|
||||
} else if (element.mozRequestFullScreen) {
|
||||
element.mozRequestFullScreen()
|
||||
} else if (element.msRequestFullscreen) {
|
||||
element.msRequestFullscreen()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//切换左上角类别
|
||||
function changeHead(type) {
|
||||
if (type == 0) {
|
||||
$("#div_xmgk").addClass("y_action1");
|
||||
$("#div_aqsc").removeClass("y_action1");
|
||||
$("#div_zlgl").removeClass("y_action1");
|
||||
$('[id$="_btn_xmgk"]').click();
|
||||
|
||||
|
||||
} else if (type == 1) {
|
||||
//
|
||||
$("#div_aqsc").addClass("y_action1");
|
||||
$("#div_xmgk").removeClass("y_action1");
|
||||
$("#div_zlgl").removeClass("y_action1");
|
||||
$('[id$="_btn_aqsc"]').click();
|
||||
} else if (type == 2) {
|
||||
//
|
||||
$("#div_zlgl").addClass("y_action1");
|
||||
$("#div_xmgk").removeClass("y_action1");
|
||||
$("#div_aqsc").removeClass("y_action1");
|
||||
$('[id$="_btn_zlgl"]').click();
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -303,6 +303,7 @@ namespace FineUIPro.Web
|
|||
this.InitMenuStyleButton();
|
||||
this.InitMenuModeButton();
|
||||
this.InitLangMenuButton();
|
||||
//刷新按钮
|
||||
this.btnRetweet.Hidden = true;
|
||||
if (this.CurrUser.UserId == Const.hfnbdId)
|
||||
{
|
||||
|
@ -310,7 +311,7 @@ namespace FineUIPro.Web
|
|||
}
|
||||
if (this.CurrUser.DepartId != "ab1eb44a-1821-48ee-86f2-64b7e6425efa" && this.CurrUser.UserId != BLL.Const.sysglyId && this.CurrUser.UserId != BLL.Const.hfnbdId)
|
||||
{
|
||||
this.btnParty.Hidden = true;
|
||||
//this.btnParty.Hidden = true;
|
||||
}
|
||||
this.hdHomePage.Text = "1";
|
||||
if (this.CurrUser.HomePageType == "2")
|
||||
|
@ -423,7 +424,7 @@ namespace FineUIPro.Web
|
|||
}
|
||||
else
|
||||
{
|
||||
this.Tab1.IFrameUrl = "~/common/main.aspx";
|
||||
this.Tab1.IFrameUrl = "~/common/main_new.aspx";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -524,8 +525,23 @@ namespace FineUIPro.Web
|
|||
else
|
||||
{
|
||||
this.hdHomePage.Text = "1";
|
||||
this.Tab1.IFrameUrl = "~/common/main.aspx";
|
||||
this.Tab1.IFrameUrl = "~/common/main_new.aspx";
|
||||
}
|
||||
}
|
||||
|
||||
protected void btnXmgk_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Tab1.IFrameUrl = "~/common/main_new.aspx";
|
||||
}
|
||||
|
||||
protected void btnAqsc_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Tab1.IFrameUrl = "~/common/main_new0.aspx";
|
||||
}
|
||||
|
||||
protected void btnZlgl_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Tab1.IFrameUrl = "~/common/main_new1.aspx";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,11 +7,13 @@
|
|||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web {
|
||||
|
||||
|
||||
public partial class index {
|
||||
|
||||
namespace FineUIPro.Web
|
||||
{
|
||||
|
||||
|
||||
public partial class index
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
|
@ -20,7 +22,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
|
@ -29,7 +31,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
|
@ -38,7 +40,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// topPanel 控件。
|
||||
/// </summary>
|
||||
|
@ -47,7 +49,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ContentPanel topPanel;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ContentPanel1 控件。
|
||||
/// </summary>
|
||||
|
@ -56,7 +58,34 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ContentPanel ContentPanel1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btn_xmgk 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btn_xmgk;
|
||||
|
||||
/// <summary>
|
||||
/// btn_aqsc 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btn_aqsc;
|
||||
|
||||
/// <summary>
|
||||
/// btn_zlgl 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btn_zlgl;
|
||||
|
||||
/// <summary>
|
||||
/// btnHome 控件。
|
||||
/// </summary>
|
||||
|
@ -65,88 +94,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnHome;
|
||||
|
||||
/// <summary>
|
||||
/// btnProject 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnProject;
|
||||
|
||||
/// <summary>
|
||||
/// btnDigData 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnDigData;
|
||||
|
||||
/// <summary>
|
||||
/// btnServer 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnServer;
|
||||
|
||||
/// <summary>
|
||||
/// btnNotice 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnNotice;
|
||||
|
||||
/// <summary>
|
||||
/// btnPerson 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnPerson;
|
||||
|
||||
/// <summary>
|
||||
/// btnZHGL 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnZHGL;
|
||||
|
||||
/// <summary>
|
||||
/// btnParty 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnParty;
|
||||
|
||||
/// <summary>
|
||||
/// bnChangeHomePage 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button bnChangeHomePage;
|
||||
|
||||
/// <summary>
|
||||
/// Button19 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button Button19;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnPersonal 控件。
|
||||
/// </summary>
|
||||
|
@ -155,7 +103,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnPersonal;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnSysSet 控件。
|
||||
/// </summary>
|
||||
|
@ -164,7 +112,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSysSet;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Button18 控件。
|
||||
/// </summary>
|
||||
|
@ -173,7 +121,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button Button18;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnRetweet 控件。
|
||||
/// </summary>
|
||||
|
@ -182,7 +130,61 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnRetweet;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnProject 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnProject;
|
||||
|
||||
/// <summary>
|
||||
/// btnDigData 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnDigData;
|
||||
|
||||
/// <summary>
|
||||
/// btnServer 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnServer;
|
||||
|
||||
/// <summary>
|
||||
/// btnNotice 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnNotice;
|
||||
|
||||
/// <summary>
|
||||
/// btnPerson 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnPerson;
|
||||
|
||||
/// <summary>
|
||||
/// btnZHGL 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnZHGL;
|
||||
|
||||
/// <summary>
|
||||
/// leftPanel 控件。
|
||||
/// </summary>
|
||||
|
@ -191,7 +193,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel leftPanel;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// tbYear 控件。
|
||||
/// </summary>
|
||||
|
@ -200,7 +202,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar tbYear;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// drpYear 控件。
|
||||
/// </summary>
|
||||
|
@ -209,7 +211,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpYear;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// leftPanelToolCollapse 控件。
|
||||
/// </summary>
|
||||
|
@ -218,7 +220,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Tool leftPanelToolCollapse;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// leftPanelToolGear 控件。
|
||||
/// </summary>
|
||||
|
@ -227,7 +229,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Tool leftPanelToolGear;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnExpandAll 控件。
|
||||
/// </summary>
|
||||
|
@ -236,7 +238,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnExpandAll;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnCollapseAll 控件。
|
||||
/// </summary>
|
||||
|
@ -245,7 +247,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnCollapseAll;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// MenuMode 控件。
|
||||
/// </summary>
|
||||
|
@ -254,7 +256,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton MenuMode;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// MenuModeNormal 控件。
|
||||
/// </summary>
|
||||
|
@ -263,7 +265,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuCheckBox MenuModeNormal;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// MenuModeCompact 控件。
|
||||
/// </summary>
|
||||
|
@ -272,7 +274,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuCheckBox MenuModeCompact;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// MenuModeLarge 控件。
|
||||
/// </summary>
|
||||
|
@ -281,7 +283,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuCheckBox MenuModeLarge;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// MenuStyle 控件。
|
||||
/// </summary>
|
||||
|
@ -290,7 +292,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton MenuStyle;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// MenuStyleTree 控件。
|
||||
/// </summary>
|
||||
|
@ -299,7 +301,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuCheckBox MenuStyleTree;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// MenuStyleMiniModeTree 控件。
|
||||
/// </summary>
|
||||
|
@ -308,7 +310,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuCheckBox MenuStyleMiniModeTree;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// MenuStylePlainTree 控件。
|
||||
/// </summary>
|
||||
|
@ -317,7 +319,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuCheckBox MenuStylePlainTree;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// MenuLang 控件。
|
||||
/// </summary>
|
||||
|
@ -326,7 +328,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton MenuLang;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// MenuLangZHCN 控件。
|
||||
/// </summary>
|
||||
|
@ -335,7 +337,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuCheckBox MenuLangZHCN;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// mainTabStrip 控件。
|
||||
/// </summary>
|
||||
|
@ -344,7 +346,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TabStrip mainTabStrip;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Tab1 控件。
|
||||
/// </summary>
|
||||
|
@ -353,7 +355,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Tab Tab1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// toolRefresh 控件。
|
||||
/// </summary>
|
||||
|
@ -362,7 +364,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Tool toolRefresh;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// toolNewWindow 控件。
|
||||
/// </summary>
|
||||
|
@ -371,7 +373,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Tool toolNewWindow;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// toolMaximize 控件。
|
||||
/// </summary>
|
||||
|
@ -380,7 +382,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Tool toolMaximize;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// toolSignOut 控件。
|
||||
/// </summary>
|
||||
|
@ -389,7 +391,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Tool toolSignOut;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// windowCustomQuery 控件。
|
||||
/// </summary>
|
||||
|
@ -398,7 +400,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window windowCustomQuery;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// hdHomePage 控件。
|
||||
/// </summary>
|
||||
|
@ -407,7 +409,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.HiddenField hdHomePage;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnChangeHomePage 控件。
|
||||
/// </summary>
|
||||
|
@ -416,7 +418,7 @@ namespace FineUIPro.Web {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnChangeHomePage;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// XmlDataSource1 控件。
|
||||
/// </summary>
|
||||
|
|