修改首页
This commit is contained in:
parent
fae93887c0
commit
24ed5b1c49
|
@ -60,7 +60,6 @@
|
||||||
<HintPath>..\Lib\Microsoft.SQLServer.ManagedDTS.dll</HintPath>
|
<HintPath>..\Lib\Microsoft.SQLServer.ManagedDTS.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.configuration" />
|
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Data.Linq" />
|
<Reference Include="System.Data.Linq" />
|
||||||
<Reference Include="System.Data.OracleClient" />
|
<Reference Include="System.Data.OracleClient" />
|
||||||
|
@ -1029,7 +1028,7 @@
|
||||||
<Version>4.5.1</Version>
|
<Version>4.5.1</Version>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="System.Configuration.ConfigurationManager">
|
<PackageReference Include="System.Configuration.ConfigurationManager">
|
||||||
<Version>4.7.0</Version>
|
<Version>6.0.0</Version>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="System.Diagnostics.DiagnosticSource">
|
<PackageReference Include="System.Diagnostics.DiagnosticSource">
|
||||||
<Version>4.7.1</Version>
|
<Version>4.7.1</Version>
|
||||||
|
|
|
@ -307,6 +307,46 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取userId参与项目下拉框
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static List<Model.Base_Project> GetProjectByUserIdStateDropDownList(string userId, string state)
|
||||||
|
{
|
||||||
|
if (userId == Const.sysglyId || userId == Const.hfnbdId || userId == Const.sedinId)
|
||||||
|
{
|
||||||
|
return (from x in Funs.DB.Base_Project
|
||||||
|
where x.ProjectState == state
|
||||||
|
orderby x.ProjectCode descending
|
||||||
|
select x).ToList();
|
||||||
|
}
|
||||||
|
var getUser = UserService.GetUserByUserId(userId);
|
||||||
|
if (getUser != null)
|
||||||
|
{
|
||||||
|
/// 获取角色类型
|
||||||
|
var getRoleP = Funs.DB.Sys_RolePower.FirstOrDefault(x => x.RoleId == getUser.RoleId && x.IsOffice == false);
|
||||||
|
if (getRoleP != null)
|
||||||
|
{
|
||||||
|
return (from x in Funs.DB.Base_Project
|
||||||
|
where x.ProjectState == state
|
||||||
|
orderby x.ProjectCode descending
|
||||||
|
select x).ToList();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return (from x in Funs.DB.Base_Project
|
||||||
|
join y in Funs.DB.Project_ProjectUser on x.ProjectId equals y.ProjectId
|
||||||
|
where y.UserId == userId && y.IsPost == true && x.ProjectState == state
|
||||||
|
orderby x.ProjectCode descending
|
||||||
|
select x).Distinct().ToList();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#region 项目表下拉框
|
#region 项目表下拉框
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 项目表下拉框
|
/// 项目表下拉框
|
||||||
|
@ -370,6 +410,29 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="dropName"></param>
|
||||||
|
/// <param name="userId"></param>
|
||||||
|
/// <param name="isShowPlease"></param>
|
||||||
|
public static void InitProjectShortNameByStateDropDownList(FineUIPro.DropDownList dropName, string userId, string state, bool isShowPlease)
|
||||||
|
{
|
||||||
|
dropName.DataValueField = "ProjectId";
|
||||||
|
dropName.DataTextField = "ProjectName";
|
||||||
|
var projectlist = GetProjectByUserIdStateDropDownList(userId, state);
|
||||||
|
dropName.DataSource = projectlist;
|
||||||
|
dropName.DataBind();
|
||||||
|
if (projectlist.Count() == 0)
|
||||||
|
{
|
||||||
|
isShowPlease = true;
|
||||||
|
}
|
||||||
|
if (isShowPlease)
|
||||||
|
{
|
||||||
|
Funs.FineUIPleaseSelect(dropName);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 某类型下项目表下拉框
|
/// 某类型下项目表下拉框
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -559,7 +622,7 @@
|
||||||
public static List<Model.Base_Project> GetProjectWorkList(string unitId)
|
public static List<Model.Base_Project> GetProjectWorkList(string unitId)
|
||||||
{
|
{
|
||||||
var getDatas = from x in Funs.DB.Base_Project
|
var getDatas = from x in Funs.DB.Base_Project
|
||||||
where (x.ProjectState == null || x.ProjectState == BLL.Const.ProjectState_1)
|
where (x.ProjectState == null || x.ProjectState == BLL.Const.ProjectState_1)
|
||||||
select x;
|
select x;
|
||||||
|
|
||||||
if (unitId == BLL.Const.UnitId_CWCEC)
|
if (unitId == BLL.Const.UnitId_CWCEC)
|
||||||
|
|
|
@ -1818,3 +1818,586 @@
|
||||||
出错时间:08/22/2023 17:32:58
|
出错时间:08/22/2023 17:32:58
|
||||||
出错时间: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/24/2023 14:49:59
|
||||||
|
出错时间:08/24/2023 14:49: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/24/2023 14:49:59
|
||||||
|
出错时间:08/24/2023 14:49: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/24/2023 14:50:00
|
||||||
|
出错时间:08/24/2023 14:50:00
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:00
|
||||||
|
出错时间:08/24/2023 14:50:00
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:00
|
||||||
|
出错时间:08/24/2023 14:50:00
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:01
|
||||||
|
出错时间:08/24/2023 14:50:01
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:01
|
||||||
|
出错时间:08/24/2023 14:50:01
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:01
|
||||||
|
出错时间:08/24/2023 14:50:01
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:01
|
||||||
|
出错时间:08/24/2023 14:50:01
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:01
|
||||||
|
出错时间:08/24/2023 14:50:01
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:01
|
||||||
|
出错时间:08/24/2023 14:50:01
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:02
|
||||||
|
出错时间:08/24/2023 14:50:02
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:02
|
||||||
|
出错时间:08/24/2023 14:50:02
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:02
|
||||||
|
出错时间:08/24/2023 14:50:02
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:02
|
||||||
|
出错时间:08/24/2023 14:50:02
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:02
|
||||||
|
出错时间:08/24/2023 14:50:02
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:02
|
||||||
|
出错时间:08/24/2023 14:50:02
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:02
|
||||||
|
出错时间:08/24/2023 14:50:02
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:03
|
||||||
|
出错时间:08/24/2023 14:50:03
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:03
|
||||||
|
出错时间:08/24/2023 14:50:03
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:03
|
||||||
|
出错时间:08/24/2023 14:50:03
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:04
|
||||||
|
出错时间:08/24/2023 14:50:04
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:04
|
||||||
|
出错时间:08/24/2023 14:50:04
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:04
|
||||||
|
出错时间:08/24/2023 14:50:04
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:04
|
||||||
|
出错时间:08/24/2023 14:50:04
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:05
|
||||||
|
出错时间:08/24/2023 14:50:05
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:05
|
||||||
|
出错时间:08/24/2023 14:50:05
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 14:50:08
|
||||||
|
出错时间:08/24/2023 14:50:08
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 15:19:56
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:56
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:56
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:56
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:56
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:57
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:57
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:57
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:57
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:57
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:58
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:58
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:58
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:58
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:58
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:58
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:59
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:59
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:59
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:59
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:59
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:59
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:19:59
|
||||||
|
出错时间:08/24/2023 15:19: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/24/2023 15:20:00
|
||||||
|
出错时间:08/24/2023 15:20:00
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型: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/24/2023 15:20:00
|
||||||
|
出错时间:08/24/2023 15:20:00
|
||||||
|
|
||||||
|
|
|
@ -339,6 +339,7 @@
|
||||||
<Content Include="common\mainProject1.aspx" />
|
<Content Include="common\mainProject1.aspx" />
|
||||||
<Content Include="common\main.aspx" />
|
<Content Include="common\main.aspx" />
|
||||||
<Content Include="common\mainProject.aspx" />
|
<Content Include="common\mainProject.aspx" />
|
||||||
|
<Content Include="common\mainProject2.aspx" />
|
||||||
<Content Include="common\main_new.aspx" />
|
<Content Include="common\main_new.aspx" />
|
||||||
<Content Include="common\main_new0.aspx" />
|
<Content Include="common\main_new0.aspx" />
|
||||||
<Content Include="common\main_new1.aspx" />
|
<Content Include="common\main_new1.aspx" />
|
||||||
|
@ -6694,6 +6695,13 @@
|
||||||
<Compile Include="common\mainProject.aspx.designer.cs">
|
<Compile Include="common\mainProject.aspx.designer.cs">
|
||||||
<DependentUpon>mainProject.aspx</DependentUpon>
|
<DependentUpon>mainProject.aspx</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="common\mainProject2.aspx.cs">
|
||||||
|
<DependentUpon>mainProject2.aspx</DependentUpon>
|
||||||
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="common\mainProject2.aspx.designer.cs">
|
||||||
|
<DependentUpon>mainProject2.aspx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="common\main_new.aspx.cs">
|
<Compile Include="common\main_new.aspx.cs">
|
||||||
<DependentUpon>main_new.aspx</DependentUpon>
|
<DependentUpon>main_new.aspx</DependentUpon>
|
||||||
<SubType>ASPXCodeBehind</SubType>
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
|
|
|
@ -76,7 +76,7 @@ html::-webkit-scrollbar{
|
||||||
}
|
}
|
||||||
|
|
||||||
.y_navbars {
|
.y_navbars {
|
||||||
align-items: flex-end;
|
align-items: center;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,943 @@
|
||||||
|
using BLL;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Data;
|
||||||
|
using System.Data.SqlClient;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.UI;
|
||||||
|
using System.Web.UI.WebControls;
|
||||||
|
|
||||||
|
|
||||||
|
namespace FineUIPro.Web.common
|
||||||
|
{
|
||||||
|
public partial class mainProject2 : PageBase
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 项目id
|
||||||
|
/// </summary>
|
||||||
|
public string ProjectId
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return (string)ViewState["ProjectId"];
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
ViewState["ProjectId"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 页面加载
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void Page_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (!IsPostBack)
|
||||||
|
{
|
||||||
|
ProjectId = CurrUser.LoginProjectId;
|
||||||
|
Model.SGGLDB db = Funs.DB;
|
||||||
|
//安全人工时
|
||||||
|
int wHours = db.SitePerson_PersonInOutNumber.Where(x=> x.ProjectId == ProjectId).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))
|
||||||
|
&& x.ProjectId == ProjectId)
|
||||||
|
.Max(x => x.WorkHours) ?? 0;
|
||||||
|
this.divSafeWorkTimeMonth.InnerHtml = wHoursMonth.ToString();
|
||||||
|
|
||||||
|
//安全培训累计人员
|
||||||
|
var getTrainRecord = db.EduTrain_TrainRecord.Where(x => x.ProjectId == ProjectId).Max(x => x.TrainPersonNum) ?? 0;
|
||||||
|
this.divSafePersonNum.InnerHtml = getTrainRecord.ToString();
|
||||||
|
|
||||||
|
//安全管理人员
|
||||||
|
var allSum = from x in Funs.DB.SitePerson_Person
|
||||||
|
where x.IsUsed == true && x.ProjectId==ProjectId
|
||||||
|
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") && x.ProjectId==ProjectId //一般管理岗位和特种管理人员
|
||||||
|
select x;
|
||||||
|
this.divSafeManagePersonNum.InnerHtml = glAllPerson.Count().ToString();
|
||||||
|
|
||||||
|
//未遂事故
|
||||||
|
var wsAccidentList1 = from x in db.Accident_AccidentPersonRecord
|
||||||
|
join y in db.Base_AccidentType on x.AccidentTypeId equals y.AccidentTypeId
|
||||||
|
where y.AccidentTypeName.Contains("未遂") && x.ProjectId == ProjectId
|
||||||
|
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("未遂") && x.ProjectId == ProjectId
|
||||||
|
select x;
|
||||||
|
this.divWS.InnerHtml = (wsAccidentList1.Count() + wsAccidentList2.Count()).ToString();
|
||||||
|
|
||||||
|
//整改数据
|
||||||
|
getZgsj();
|
||||||
|
|
||||||
|
//风险预警
|
||||||
|
getHazard();
|
||||||
|
|
||||||
|
//工程概况
|
||||||
|
getProjectInfo();
|
||||||
|
|
||||||
|
//质量培训人员
|
||||||
|
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.InnerHtml = CqmsPxNum.ToString();
|
||||||
|
|
||||||
|
//施工审批量
|
||||||
|
int sgspl = Funs.DB.Solution_CQMSConstructSolution.Where(x => x.ProjectId == ProjectId && x.State == "1").Count();
|
||||||
|
div_sgfaSpl.InnerHtml = sgspl.ToString() ;
|
||||||
|
|
||||||
|
//质量共检
|
||||||
|
getZlgj();
|
||||||
|
|
||||||
|
//焊接
|
||||||
|
getHj();
|
||||||
|
|
||||||
|
//加载质量问题
|
||||||
|
getZlwt();
|
||||||
|
|
||||||
|
//人员信息
|
||||||
|
getSitePerson();
|
||||||
|
|
||||||
|
//项目人员图表
|
||||||
|
getProjectSitePerson();
|
||||||
|
|
||||||
|
//工作台面
|
||||||
|
getGztm();
|
||||||
|
|
||||||
|
//材料到货
|
||||||
|
getCldh();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#region 人员信息
|
||||||
|
private void getSitePerson()
|
||||||
|
{
|
||||||
|
int AllCount = 0;
|
||||||
|
int MCount = 0;
|
||||||
|
var getallin = APIPageDataService.getPersonNum(ProjectId,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
|
||||||
|
&& x.ProjectId==ProjectId).ToList();
|
||||||
|
foreach (var item in list)
|
||||||
|
{
|
||||||
|
ProjectPersonMc += "'" + item.ShortName + "',";
|
||||||
|
ProjectPersonCount += "'" + APIPageDataService.getPersonNum(item.ProjectId, DateTime.Now).Count() + "',";
|
||||||
|
}
|
||||||
|
if (!string.IsNullOrEmpty(ProjectPersonMc)&& !string.IsNullOrEmpty(ProjectPersonCount))
|
||||||
|
{
|
||||||
|
ProjectPersonMc = ProjectPersonMc.TrimEnd(',');
|
||||||
|
ProjectPersonCount = ProjectPersonCount.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 int GetGeneralClosedNum()
|
||||||
|
{
|
||||||
|
int result = (from x in Funs.DB.HSSE_Hazard_HazardRegister
|
||||||
|
where x.States == "3" && x.ProjectId == ProjectId
|
||||||
|
select x).Count();
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 获取隐患未整改完成项
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
public int GetGeneralNotClosedNum()
|
||||||
|
{
|
||||||
|
int result = (from x in Funs.DB.HSSE_Hazard_HazardRegister
|
||||||
|
where x.States != "3" && x.ProjectId == ProjectId
|
||||||
|
select x).Count();
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 工程概括
|
||||||
|
protected string divProjectNameTitle;
|
||||||
|
protected string divProjectAddressTitle;
|
||||||
|
protected string divProjectMoneyTitle;
|
||||||
|
protected string divOwnUnitTitle;
|
||||||
|
protected string divSGUnitTitle;
|
||||||
|
protected string divJLUnitTitle;
|
||||||
|
protected string divProjectImg;
|
||||||
|
|
||||||
|
protected string spanProjectName;
|
||||||
|
protected string spanProjectAddress;
|
||||||
|
protected string spanOwnUnit;
|
||||||
|
protected string spanSGUnit;
|
||||||
|
protected string spanJLUnit;
|
||||||
|
protected string spanRemark;
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
private void getProjectInfo()
|
||||||
|
{
|
||||||
|
divProjectNameTitle = "";
|
||||||
|
divProjectAddressTitle = "";
|
||||||
|
divProjectMoneyTitle = "";
|
||||||
|
divOwnUnitTitle = "";
|
||||||
|
divSGUnitTitle = "";
|
||||||
|
divJLUnitTitle = "";
|
||||||
|
divProjectImg = "../res/indexv2/assets/image/index6/center-bg.jpeg";
|
||||||
|
var project = ProjectService.GetProjectByProjectId(this.ProjectId);
|
||||||
|
if (project != null)
|
||||||
|
{
|
||||||
|
spanProjectName = "<span title='" + project.ShortName + "'>" + project.ShortName + "</span>";
|
||||||
|
spanRemark= "<span title='" + project.Remark + "'>" + project.Remark + "</span>";
|
||||||
|
divProjectNameTitle = project.ProjectName;
|
||||||
|
if (!string.IsNullOrEmpty(project.ProjectAddress))
|
||||||
|
{
|
||||||
|
//this.divProjectAddress.InnerHtml = project.ProjectAddress.Length > 8 ? project.ProjectAddress.Substring(0, 8) + "..." : project.ProjectAddress;
|
||||||
|
spanProjectAddress = spanProjectName = "<span title='" + project.ProjectAddress + "'>" +
|
||||||
|
(project.ProjectAddress.Length > 8 ? project.ProjectAddress.Substring(0, 8) + "..." : project.ProjectAddress) + "</span>";
|
||||||
|
divProjectAddressTitle = project.ProjectAddress;
|
||||||
|
}
|
||||||
|
string unit_yz = ProjectService.getProjectUnitNameByUnitType(project.ProjectId, Const.ProjectUnitType_4);
|
||||||
|
if (!string.IsNullOrEmpty(unit_yz))
|
||||||
|
{
|
||||||
|
//this.divOwnUnit.InnerHtml = unit_yz.Length > 8 ? unit_yz.Substring(0, 8) + "..." : unit_yz;
|
||||||
|
spanOwnUnit = "<span title='" + unit_yz + "'>" +
|
||||||
|
(unit_yz.Length > 8 ? unit_yz.Substring(0, 8) + "..." : unit_yz) + "</span>";
|
||||||
|
divOwnUnitTitle = unit_yz;
|
||||||
|
}
|
||||||
|
string unit_JL = ProjectService.getProjectUnitNameByUnitType(project.ProjectId, Const.ProjectUnitType_3);
|
||||||
|
if (!string.IsNullOrEmpty(unit_JL))
|
||||||
|
{
|
||||||
|
//this.divJLUnit.InnerHtml = unit_JL.Length > 8 ? unit_JL.Substring(0, 8) + "..." : unit_JL;
|
||||||
|
spanJLUnit = "<span title='" + unit_JL + "'>" +
|
||||||
|
(unit_JL.Length > 8 ? unit_JL.Substring(0, 8) + "..." : unit_JL) + "</span>";
|
||||||
|
divJLUnitTitle = unit_JL;
|
||||||
|
}
|
||||||
|
|
||||||
|
string unit_FB = ProjectService.getProjectUnitNameByUnitType(project.ProjectId, Const.ProjectUnitType_2);
|
||||||
|
if (!string.IsNullOrEmpty(unit_FB))
|
||||||
|
{
|
||||||
|
//this.divSGUnit.InnerHtml = unit_FB.Length > 8 ? unit_FB.Substring(0, 8) + "..." : unit_FB + "...";
|
||||||
|
spanSGUnit = "<span title='" + unit_FB + "'>" +
|
||||||
|
(unit_FB.Length > 8 ? unit_FB.Substring(0, 8) + "..." : unit_FB + "...") + "</span>";
|
||||||
|
}
|
||||||
|
|
||||||
|
var getSGName = from x in Funs.DB.Project_ProjectUnit
|
||||||
|
join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId
|
||||||
|
where x.ProjectId == project.ProjectId && x.UnitType == Const.ProjectUnitType_2
|
||||||
|
select y.UnitName;
|
||||||
|
foreach (var item in getSGName)
|
||||||
|
{
|
||||||
|
divSGUnitTitle += item + ",";
|
||||||
|
}
|
||||||
|
//this.divProjectMoney.InnerHtml = divProjectMoneyTitle = project.ProjectMoney.ToString() + "万元";
|
||||||
|
if (project.EndDate.HasValue)
|
||||||
|
{
|
||||||
|
this.divEndDate.InnerHtml = string.Format("{0:yyyy-MM-dd}", project.EndDate);
|
||||||
|
int endDays = (project.EndDate.Value - DateTime.Now).Days;
|
||||||
|
if (endDays >= 0)
|
||||||
|
{
|
||||||
|
this.divRemainingDays.InnerHtml = endDays.ToString() + "<span>天</span>";
|
||||||
|
}
|
||||||
|
if (project.StartDate.HasValue)
|
||||||
|
{
|
||||||
|
int pdays = (project.EndDate.Value - project.StartDate.Value).Days;
|
||||||
|
if (pdays >= 0)
|
||||||
|
{
|
||||||
|
this.divProjectDays.InnerHtml = pdays.ToString() + "<span>天</span>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
var getImag = Funs.DB.AttachFile.FirstOrDefault(x => x.ToKeyId == project.ProjectId);
|
||||||
|
if (getImag != null && !string.IsNullOrEmpty(getImag.AttachUrl))
|
||||||
|
{
|
||||||
|
string url = getImag.AttachUrl.Replace('\\', '/');
|
||||||
|
string firtstUrl = Funs.GetStrListByStr(url, ',').FirstOrDefault();
|
||||||
|
if (!string.IsNullOrEmpty(firtstUrl))
|
||||||
|
{
|
||||||
|
string atturl = Funs.RootPath + firtstUrl.Replace(';', ' ').Trim();
|
||||||
|
if (File.Exists(atturl))
|
||||||
|
{
|
||||||
|
divProjectImg = "../" + firtstUrl.Replace(';', ' ').Trim();
|
||||||
|
//this.divProjectImgs.Src = divProjectImg;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 风险预警
|
||||||
|
protected string riskData1;
|
||||||
|
protected string riskData2;
|
||||||
|
protected string riskData3;
|
||||||
|
protected string riskData4;
|
||||||
|
/// <summary>
|
||||||
|
/// 获取风险管控
|
||||||
|
/// </summary>
|
||||||
|
private void getHazard()
|
||||||
|
{
|
||||||
|
var getHazards = from x in Funs.DB.Hazard_HazardSelectedItem
|
||||||
|
join y in Funs.DB.Base_RiskLevel on x.HazardLevel equals y.RiskLevelId
|
||||||
|
where x.ProjectId == ProjectId
|
||||||
|
select new { x.HazardSelectedItemId, y.RiskLevel };
|
||||||
|
var riskLevels = from x in Funs.DB.Base_RiskLevel select x;
|
||||||
|
|
||||||
|
List<int> RiskLevelNum = new List<int>();
|
||||||
|
List<Model.SingleSerie> series = new List<Model.SingleSerie>();
|
||||||
|
|
||||||
|
riskData1 = getHazards.Count(x => x.RiskLevel == 1).ToString();
|
||||||
|
riskData2 = getHazards.Count(x => x.RiskLevel == 2).ToString();
|
||||||
|
riskData3 = getHazards.Count(x => x.RiskLevel == 3).ToString();
|
||||||
|
riskData4 = getHazards.Count(x => x.RiskLevel == 4).ToString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 资质预警
|
||||||
|
/// </summary>
|
||||||
|
protected string 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 && y.ProjectId==ProjectId
|
||||||
|
select x;
|
||||||
|
//// 预警人数
|
||||||
|
allCount = getPersonQualitys.Count();
|
||||||
|
return allCount.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 机械预警
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
protected int GetJxyjNum()
|
||||||
|
{
|
||||||
|
int result = 0;
|
||||||
|
//机具报验的到期提醒和过期提醒记录数加一起
|
||||||
|
//机具报验的到期提醒数
|
||||||
|
var num1 = Funs.DB.Comprehensive_InspectionMachine.Where(x => x.IsOnSite == true && DateTime.Now < x.NextTestDate && x.ProjectId==ProjectId
|
||||||
|
&& ((DateTime)x.NextTestDate).AddDays(-15) < DateTime.Now).Count();
|
||||||
|
//过期提醒记录数
|
||||||
|
var num2 = Funs.DB.Comprehensive_InspectionMachine.Where(x => x.IsOnSite == true && x.NextTestDate < DateTime.Now && x.ProjectId == ProjectId).Count();
|
||||||
|
result = num1 + num2;
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取危大工程审批完成数
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
protected int GetCompletedNum()
|
||||||
|
{
|
||||||
|
var result = Project_HSSEData_HSSEService.GetCompletedNum(ProjectId);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取危大工程培训人次数
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
protected int GetTrainPersonNum()
|
||||||
|
{
|
||||||
|
var result = Project_HSSEData_HSSEService.GetTrainPersonNum(ProjectId);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取危大工程施工个数
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
protected int GetConstructionNum()
|
||||||
|
{
|
||||||
|
var result = Project_HSSEData_HSSEService.GetConstructionNum(ProjectId);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取危大工程完工个数
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
protected int GetFinishedNum()
|
||||||
|
{
|
||||||
|
var result = Project_HSSEData_HSSEService.GetFinishedNum(ProjectId);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取超危大工程审批完成数
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
protected int GetSuperCompletedNum()
|
||||||
|
{
|
||||||
|
var result = Project_HSSEData_HSSEService.GetSuperCompletedNum(ProjectId);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取超危大工程培训人次数
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
protected int GetSuperTrainPersonNum()
|
||||||
|
{
|
||||||
|
var result = Project_HSSEData_HSSEService.GetSuperTrainPersonNum(ProjectId);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取超危大工程施工个数
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
protected int GetSuperConstructionNum()
|
||||||
|
{
|
||||||
|
var result = Project_HSSEData_HSSEService.GetSuperConstructionNum(ProjectId);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取超危大工程完工个数
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
protected int GetSuperFinishedNum()
|
||||||
|
{
|
||||||
|
var result = Project_HSSEData_HSSEService.GetSuperFinishedNum(ProjectId);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 作业许可
|
||||||
|
/// <summary>
|
||||||
|
/// 动火作业许可证
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
protected int getWrokCount0() {
|
||||||
|
var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId&&x.LicenseTypeName== "动火作业许可证").ToList().Count;
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected int getWrokCount1()
|
||||||
|
{
|
||||||
|
var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "高处作业许可证").ToList().Count;
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected int getWrokCount2()
|
||||||
|
{
|
||||||
|
var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "吊装作业许可证").ToList().Count;
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected int getWrokCount3()
|
||||||
|
{
|
||||||
|
var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId
|
||||||
|
&& x.LicenseTypeName != "动火作业许可证" && x.LicenseTypeName != "高处作业许可证" && x.LicenseTypeName != "吊装作业许可证").ToList().Count;
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
#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 && x.ProjectId==ProjectId
|
||||||
|
select x).Count().ToString();
|
||||||
|
var num2 = (from x in Funs.DB.Check_CheckControl
|
||||||
|
where x.CheckDate <= DateTime.Now && x.State == "7" && x.ProjectId == ProjectId
|
||||||
|
select x).Count();
|
||||||
|
zlfinishNumber = num2.ToString();
|
||||||
|
var num3 = (from x in Funs.DB.Check_CheckControl
|
||||||
|
where x.CheckDate <= DateTime.Now && x.State != "7" && x.ProjectId == ProjectId
|
||||||
|
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 && x.ProjectId == ProjectId
|
||||||
|
select x).Count().ToString();
|
||||||
|
|
||||||
|
var num2 = (from x in Funs.DB.Check_JointCheck
|
||||||
|
where x.CheckDate <= DateTime.Now && x.State == BLL.Const.JointCheck_Complete && x.ProjectId == ProjectId
|
||||||
|
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 && x.ProjectId == ProjectId
|
||||||
|
select x).Count();
|
||||||
|
var zgl = "0";
|
||||||
|
if (num2 != 0)
|
||||||
|
{
|
||||||
|
zgl = String.Format("{0:N2}", 100.0 * num2 / (num2 + num3));
|
||||||
|
zlgjzgl = zgl.ToString();
|
||||||
|
zggjzglDataValue = (100 - (100.0 * num2 / (num2 + num3))).ToString();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
zlgjzgl = zgl.ToString();
|
||||||
|
zggjzglDataValue = "0";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#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
|
||||||
|
&& a.ProjectId ==ProjectId
|
||||||
|
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"
|
||||||
|
&& a.ProjectId ==ProjectId
|
||||||
|
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 Two
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
List<Model.SingleSerie> series = new List<Model.SingleSerie>();
|
||||||
|
Model.BusinessColumn businessColumn = new Model.BusinessColumn();
|
||||||
|
List<string> listCategories = new List<string>();
|
||||||
|
businessColumn.title = "赢得值曲线";
|
||||||
|
Model.Project_Installation installation = BLL.Project_InstallationService.GetProjectInstallationByProjectId(this.CurrUser.LoginProjectId);
|
||||||
|
if (installation != null)
|
||||||
|
{
|
||||||
|
Model.SingleSerie s = new Model.SingleSerie();
|
||||||
|
Model.SingleSerie s2 = new Model.SingleSerie();
|
||||||
|
Model.SingleSerie s3 = new Model.SingleSerie();
|
||||||
|
Model.SingleSerie s4 = new Model.SingleSerie();
|
||||||
|
Model.SingleSerie s5 = new Model.SingleSerie();
|
||||||
|
Model.SingleSerie s6 = new Model.SingleSerie();
|
||||||
|
List<double> listdata = new List<double>();
|
||||||
|
List<double> listdata2 = new List<double>();
|
||||||
|
List<double> listdata3 = new List<double>();
|
||||||
|
List<double> listdata4 = new List<double>();
|
||||||
|
List<double> listdata5 = new List<double>();
|
||||||
|
List<double> listdata6 = new List<double>();
|
||||||
|
string strSql = "select distinct (cast(YEAR(Months) as varchar(4))+'.'+cast(MONTH(Months) as varchar(2))) as 月份,t.Months," +
|
||||||
|
"ThisRealCost as '本月已完工作实际费用-ACWP',ThisPlanCost as '本月已完工作预算费用-BCWP',ThisPlanValue as '本月计划工作预算费用-BCWS',TotalPlanValue as '累计计划工作预算费用-BCWS',TotalRealCost as '累计已完工作实际费用-ACWP',TotalPlanCost as '累计已完工作预算费用-BCWP' " +
|
||||||
|
"from dbo.View_WBS_CostControlParentDetail as t where ParentId=@Id order by t.Months";
|
||||||
|
//string date = DateTime.Now.Year + "-" + DateTime.Now.Month + "-01";
|
||||||
|
SqlParameter[] parameter = new SqlParameter[]
|
||||||
|
{
|
||||||
|
new SqlParameter("@Id",installation.InstallationId),
|
||||||
|
//new SqlParameter("@Months",date),
|
||||||
|
};
|
||||||
|
DataTable dt = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||||
|
decimal lastbcws = 0, bcws = 0, lastacwp = 0, acwp = 0, lastbcwp = 0, bcwp = 0;
|
||||||
|
for (int i = 0; i < dt.Rows.Count; i++)
|
||||||
|
{
|
||||||
|
dt.Rows[i]["本月已完工作实际费用-ACWP"] = Funs.GetNewDecimalOrZero(dt.Rows[i]["本月已完工作实际费用-ACWP"].ToString()) / 10000;
|
||||||
|
dt.Rows[i]["本月已完工作预算费用-BCWP"] = Funs.GetNewDecimalOrZero(dt.Rows[i]["本月已完工作预算费用-BCWP"].ToString()) / 10000;
|
||||||
|
dt.Rows[i]["本月计划工作预算费用-BCWS"] = Funs.GetNewDecimalOrZero(dt.Rows[i]["本月计划工作预算费用-BCWS"].ToString()) / 10000;
|
||||||
|
bcws = Funs.GetNewDecimalOrZero(dt.Rows[i]["累计计划工作预算费用-BCWS"].ToString());
|
||||||
|
acwp = Funs.GetNewDecimalOrZero(dt.Rows[i]["累计已完工作实际费用-ACWP"].ToString());
|
||||||
|
bcwp = Funs.GetNewDecimalOrZero(dt.Rows[i]["累计已完工作预算费用-BCWP"].ToString());
|
||||||
|
if (bcws == lastbcws)
|
||||||
|
{
|
||||||
|
if (Funs.GetNewDateTimeOrNow(dt.Rows[i]["Months"].ToString()) > DateTime.Now)
|
||||||
|
{
|
||||||
|
dt.Rows[i]["累计计划工作预算费用-BCWS"] = 0;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
dt.Rows[i]["累计计划工作预算费用-BCWS"] = bcws / 10000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
dt.Rows[i]["累计计划工作预算费用-BCWS"] = bcws / 10000;
|
||||||
|
}
|
||||||
|
if (acwp == lastacwp)
|
||||||
|
{
|
||||||
|
if (Funs.GetNewDateTimeOrNow(dt.Rows[i]["Months"].ToString()) > DateTime.Now)
|
||||||
|
{
|
||||||
|
dt.Rows[i]["累计已完工作实际费用-ACWP"] = 0;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
dt.Rows[i]["累计已完工作实际费用-ACWP"] = acwp / 10000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
dt.Rows[i]["累计已完工作实际费用-ACWP"] = acwp / 10000;
|
||||||
|
}
|
||||||
|
if (bcwp == lastbcwp)
|
||||||
|
{
|
||||||
|
if (Funs.GetNewDateTimeOrNow(dt.Rows[i]["Months"].ToString()) > DateTime.Now)
|
||||||
|
{
|
||||||
|
dt.Rows[i]["累计已完工作预算费用-BCWP"] = 0;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
dt.Rows[i]["累计已完工作预算费用-BCWP"] = bcwp / 10000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
dt.Rows[i]["累计已完工作预算费用-BCWP"] = bcwp / 10000;
|
||||||
|
}
|
||||||
|
lastbcws = bcws;
|
||||||
|
lastacwp = acwp;
|
||||||
|
lastbcwp = bcwp;
|
||||||
|
|
||||||
|
listCategories.Add(dt.Rows[i]["月份"].ToString());
|
||||||
|
if (Funs.GetNewDateTimeOrNow(dt.Rows[i]["Months"].ToString()) <= DateTime.Now)
|
||||||
|
{
|
||||||
|
listdata.Add(Convert.ToDouble(dt.Rows[i]["本月计划工作预算费用-BCWS"]));
|
||||||
|
listdata2.Add(Convert.ToDouble(dt.Rows[i]["累计计划工作预算费用-BCWS"]));
|
||||||
|
listdata3.Add(Convert.ToDouble(dt.Rows[i]["本月已完工作预算费用-BCWP"]));
|
||||||
|
listdata4.Add(Convert.ToDouble(dt.Rows[i]["累计已完工作预算费用-BCWP"]));
|
||||||
|
listdata5.Add(Convert.ToDouble(dt.Rows[i]["本月已完工作实际费用-ACWP"]));
|
||||||
|
listdata6.Add(Convert.ToDouble(dt.Rows[i]["累计已完工作实际费用-ACWP"]));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
s.data = listdata;
|
||||||
|
s2.data = listdata2;
|
||||||
|
s3.data = listdata3;
|
||||||
|
s4.data = listdata4;
|
||||||
|
s5.data = listdata5;
|
||||||
|
s6.data = listdata6;
|
||||||
|
series.Add(s);
|
||||||
|
series.Add(s2);
|
||||||
|
series.Add(s3);
|
||||||
|
series.Add(s4);
|
||||||
|
series.Add(s5);
|
||||||
|
series.Add(s6);
|
||||||
|
businessColumn.categories = listCategories;
|
||||||
|
businessColumn.series = series;
|
||||||
|
}
|
||||||
|
return JsonConvert.SerializeObject(businessColumn);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 人力情况
|
||||||
|
protected string Person
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
Model.SGGLDB db = Funs.DB;
|
||||||
|
List<Model.SingleSerie> series = new List<Model.SingleSerie>();
|
||||||
|
Model.BusinessColumn businessColumn = new Model.BusinessColumn();
|
||||||
|
List<string> listCategories = new List<string>();
|
||||||
|
var persons = from x in db.SitePerson_Person where x.ProjectId == this.CurrUser.LoginProjectId && x.IsUsed == true && x.InTime <= DateTime.Now && (!x.OutTime.HasValue || x.OutTime > DateTime.Now) select x;
|
||||||
|
var posts = (from x in persons
|
||||||
|
join y in db.Base_WorkPost on x.WorkPostId equals y.WorkPostId
|
||||||
|
select y).Distinct();
|
||||||
|
Model.SingleSerie s = new Model.SingleSerie();
|
||||||
|
List<double> listdata = new List<double>();
|
||||||
|
//木工
|
||||||
|
listCategories.Add("木工");
|
||||||
|
int workPostCount1 = persons.Count(x => x.WorkPostId == Const.WorkPost_Carpentry);
|
||||||
|
listdata.Add(workPostCount1);
|
||||||
|
//钢筋工
|
||||||
|
listCategories.Add("钢筋工");
|
||||||
|
int workPostCount2 = persons.Count(x => x.WorkPostId == Const.WorkPost_SteelWorker);
|
||||||
|
listdata.Add(workPostCount2);
|
||||||
|
//瓦工
|
||||||
|
listCategories.Add("瓦工");
|
||||||
|
int workPostCount3 = persons.Count(x => x.WorkPostId == Const.WorkPost_Bricklayer);
|
||||||
|
listdata.Add(workPostCount3);
|
||||||
|
//混凝土工
|
||||||
|
listCategories.Add("混凝土工");
|
||||||
|
int workPostCount4 = persons.Count(x => x.WorkPostId == Const.WorkPost_ConcreteWorker);
|
||||||
|
listdata.Add(workPostCount4);
|
||||||
|
//钳工
|
||||||
|
listCategories.Add("钳工");
|
||||||
|
int workPostCount5 = persons.Count(x => x.WorkPostId == Const.WorkPost_Fitter1 || x.WorkPostId == Const.WorkPost_Fitter2);
|
||||||
|
listdata.Add(workPostCount5);
|
||||||
|
//焊工
|
||||||
|
listCategories.Add("焊工");
|
||||||
|
int workPostCount6 = persons.Count(x => x.WorkPostId == Const.WorkPost_Welder1 || x.WorkPostId == Const.WorkPost_Welder2 ||
|
||||||
|
x.WorkPostId == Const.WorkPost_Welder3 || x.WorkPostId == Const.WorkPost_Welder4 || x.WorkPostId == Const.WorkPost_Welder5);
|
||||||
|
listdata.Add(workPostCount6);
|
||||||
|
//铆工
|
||||||
|
listCategories.Add("铆工");
|
||||||
|
int workPostCount7 = persons.Count(x => x.WorkPostId == Const.WorkPost_Riveter);
|
||||||
|
listdata.Add(workPostCount7);
|
||||||
|
//管工
|
||||||
|
listCategories.Add("管工");
|
||||||
|
int workPostCount8 = persons.Count(x => x.WorkPostId == Const.WorkPost_Foreman);
|
||||||
|
listdata.Add(workPostCount8);
|
||||||
|
//电工
|
||||||
|
listCategories.Add("电工");
|
||||||
|
int workPostCount9 = persons.Count(x => x.WorkPostId == Const.WorkPost_Electrician1 || x.WorkPostId == Const.WorkPost_Electrician2
|
||||||
|
|| x.WorkPostId == Const.WorkPost_Electrician3);
|
||||||
|
listdata.Add(workPostCount9);
|
||||||
|
//仪表工
|
||||||
|
listCategories.Add("仪表工");
|
||||||
|
int workPostCount10 = persons.Count(x => x.WorkPostId == Const.WorkPost_Instrumentalist);
|
||||||
|
listdata.Add(workPostCount10);
|
||||||
|
//防腐保温工
|
||||||
|
listCategories.Add("防腐保温工");
|
||||||
|
int workPostCount11 = persons.Count(x => x.WorkPostId == Const.WorkPost_AnticorrosionWorker);
|
||||||
|
listdata.Add(workPostCount11);
|
||||||
|
//防腐保温工
|
||||||
|
listCategories.Add("管理人员");
|
||||||
|
int workPostCount12 = (from x in persons
|
||||||
|
join y in db.Base_WorkPost on x.WorkPostId equals y.WorkPostId
|
||||||
|
where y.PostType == Const.PostType_1
|
||||||
|
select x).Count();
|
||||||
|
listdata.Add(workPostCount12);
|
||||||
|
//其他
|
||||||
|
listCategories.Add("其他");
|
||||||
|
int workPostCount13 = persons.Count() - workPostCount1 - workPostCount2 - workPostCount3 - workPostCount4 - workPostCount5 - workPostCount6 - workPostCount7
|
||||||
|
- workPostCount8 - workPostCount9 - workPostCount10 - workPostCount11 - workPostCount12;
|
||||||
|
listdata.Add(workPostCount13);
|
||||||
|
s.data = listdata;
|
||||||
|
series.Add(s);
|
||||||
|
businessColumn.categories = listCategories;
|
||||||
|
businessColumn.title = persons.Count().ToString();
|
||||||
|
businessColumn.series = series;
|
||||||
|
return JsonConvert.SerializeObject(businessColumn);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 作业许可列表
|
||||||
|
protected string getLicenseManager() {
|
||||||
|
string returnHtml = "";
|
||||||
|
var list = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId).ToList();
|
||||||
|
foreach (var item in list)
|
||||||
|
{
|
||||||
|
var gfx = "风险作业";
|
||||||
|
if (item.IsHighRisk!=true)
|
||||||
|
{
|
||||||
|
gfx = "非高风险";
|
||||||
|
}
|
||||||
|
var shortUnitname = Funs.DB.Base_Unit.Where(x => x.UnitId == item.UnitId).FirstOrDefault().ShortUnitName;
|
||||||
|
returnHtml+= "<div class=\"li\">"+item.LicenseManagerCode+"-"+shortUnitname + "-"+item.WorkAreaName+"-"+ gfx+"-"+item.LicenseTypeName
|
||||||
|
+"</div>";
|
||||||
|
}
|
||||||
|
return returnHtml;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 工作台面
|
||||||
|
protected void getGztm() {
|
||||||
|
div_dbsxlist.InnerHtml = "";
|
||||||
|
//关键事项
|
||||||
|
string strSql = @"SELECT GJSXID AS DataId
|
||||||
|
,'0BEA2126-7A48-40EB-8E21-99148E91A22B' AS MenuId
|
||||||
|
,'关键事项待处理' AS MenuName
|
||||||
|
,GJSX.Detail AS Content
|
||||||
|
,users.UserId
|
||||||
|
,users.UserName
|
||||||
|
,GJSX.CreateDate AS DataTime
|
||||||
|
,CONVERT(varchar(100),GJSX.CreateDate, 23) AS DataTimeStr
|
||||||
|
,'../PZHGL/GJSX/GJSXListEdit.aspx?ToDo=ToDo&EditType=Edit&ID='+GJSXID AS PCUrl
|
||||||
|
FROM GJSX
|
||||||
|
LEFT JOIN Sys_User AS users ON users.UserId =@userId
|
||||||
|
WHERE GJSX.ProjectId=@projectId AND
|
||||||
|
GJSX.State != 0 AND (((select count(*) from GJSX_detail detail where detail.Progress_user=@userId and detail.GJSXID=GJSX.GJSXID)=0
|
||||||
|
and (select count(*) from GJSX_Process process where process.UserId=@userId and process.GJSXID=GJSX.GJSXID)>0)
|
||||||
|
or (GJSX.User_Acceptance like '%'+@userId+'%' and (select count(*) from GJSX_detail detail where detail.GJSXID=GJSX.GJSXID)=(select count(*) from GJSX_Process process where process.GJSXID=GJSX.GJSXID))
|
||||||
|
)";
|
||||||
|
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||||
|
|
||||||
|
listStr.Add(new SqlParameter("@userId", CurrUser.UserId));
|
||||||
|
listStr.Add(new SqlParameter("@projectId", ProjectId));
|
||||||
|
SqlParameter[] parameter = listStr.ToArray();
|
||||||
|
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||||
|
var Gjsxcount = tb.Rows.Count;
|
||||||
|
div_gjsx.InnerHtml = Gjsxcount.ToString() ;
|
||||||
|
|
||||||
|
var getDataList = Funs.DB.Sp_Project_GetToDoItems(this.CurrUser.LoginProjectId, this.CurrUser.UserId).ToList();
|
||||||
|
//待办事项、个人流程
|
||||||
|
div_dbsx.InnerHtml= getDataList.Count().ToString();
|
||||||
|
div_grlc.InnerHtml = getDataList.Count().ToString();
|
||||||
|
string returnHtml = "";
|
||||||
|
foreach (var item in getDataList)
|
||||||
|
{
|
||||||
|
returnHtml += "<div class=\"li\" style='cursor:pointer' onclick=\"returnWindows('" + item.PCUrl + "')\"><span>"+ item.MenuName + "</span><span>" + item.Content+"</span><span>"+
|
||||||
|
item.DataTime.ToString().Replace('/','-').Split(' ')[0] + "</span></div>";
|
||||||
|
}
|
||||||
|
div_dbsxlist.InnerHtml = returnHtml;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 关闭弹出窗
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void Window1_Close(object sender, WindowCloseEventArgs e)
|
||||||
|
{
|
||||||
|
getGztm();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 打开待办
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnshowWindows(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("{0}", hiddenUrl.Value, "办理 - ")));
|
||||||
|
}
|
||||||
|
|
||||||
|
#region 材料到货
|
||||||
|
protected string gdclHtml;
|
||||||
|
protected string sbclHtml;
|
||||||
|
|
||||||
|
protected string gdclHead = "<div class=\"trth\" style=\"background: rgba(33, 55, 113, .4);\"><div class=\"th r-line\" style=\"width: .7875rem;\"><p>材料类别</p></div><div class=\"th r-line\" style=\"width: .8375rem;\"><p>设计量</p></div><div class=\"th r-line\" style=\"width: 1.575rem;\"><p class=\"b-line\">采购量</p><p><span class=\"r-line\">采购量</span><span class=\"r-line\">百分比</span></p></div><div class=\"th r-line\" style=\"width: 1.575rem;\"><p class=\"b-line\">到货量</p><p><span class=\"r-line\">已到货</span><span class=\"r-line\">百分比</span></p></div><div class=\"th\" style=\"width: 1.575rem;\"><p class=\"b-line\">领料量</p><p><span class=\"r-line\">已领料</span><span>百分比</span></p></div></div>";
|
||||||
|
protected string sbclHead = "<div class=\"trth\" style=\"background: rgba(33, 55, 113, .4);\"><div class=\"th r-line\" style=\"width: 2.9875rem;\"><p>合同号</p></div>" +
|
||||||
|
"<div class=\"th r-line\" style=\"width: .7875rem;\"><p>采购总量</p></div>" +
|
||||||
|
"<div class=\"th r-line\" style=\"width: .7875rem;\"><p>发货总量</p></div>" +
|
||||||
|
"<div class=\"th r-line\" style=\"width: .7875rem;\"><p>到货总量</p></div>" +
|
||||||
|
"<div class=\"th r-line\" style=\"width: .9875rem;\"><p>到货百分比</p></div>";
|
||||||
|
private void getCldh()
|
||||||
|
{
|
||||||
|
//管道材料
|
||||||
|
var pid = BLL.ProjectService.GetCLProjectCodeByProjectId(ProjectId).ToString();
|
||||||
|
var list = Funs.DB.CLGL_PipelineMaterialSumList.Where(x => x.Type == "M" && x.ProjectId== pid);
|
||||||
|
foreach (var item in list)
|
||||||
|
{
|
||||||
|
gdclHtml += "<div class=\"tr\">";
|
||||||
|
gdclHtml += "<span class=\"r-line\" style=\"width: .7875rem; \">"+item.C1+"</span>";
|
||||||
|
gdclHtml += "<span class=\"r-line\" style=\"width: .8375rem; \">" + (string.IsNullOrEmpty(item.C2)?"0": item.C2) + "</span>";
|
||||||
|
gdclHtml += "<span class=\"r-line\" style=\"width: .7875rem; \">" + (string.IsNullOrEmpty(item.C4) ? "0" : item.C4) + "</span>";
|
||||||
|
gdclHtml += "<span class=\"r-line\" style=\"width: .7875rem; \">" + (string.IsNullOrEmpty(item.C5) ? "0%" : item.C5) + "</span>";
|
||||||
|
gdclHtml += "<span class=\"r-line\" style=\"width: .7875rem; \">" + (string.IsNullOrEmpty(item.C6)?"0": item.C6) + "</span>";
|
||||||
|
gdclHtml += "<span class=\"r-line\" style=\"width: .7875rem; \">" + (string.IsNullOrEmpty(item.C7)?"0%": item.C7) + "</span>";
|
||||||
|
gdclHtml += "<span class=\"r-line\" style=\"width: .7875rem; \">" + (string.IsNullOrEmpty(item.C8)?"0": item.C8) + "</span>";
|
||||||
|
gdclHtml += "<span class=\"r-line\" style=\"width: .7875rem; \">" + (string.IsNullOrEmpty(item.C9) ? "0%" : item.C9) + "</span>";
|
||||||
|
gdclHtml += "</div>";
|
||||||
|
}
|
||||||
|
|
||||||
|
//设备材料
|
||||||
|
var SbclList = Funs.DB.CLGL_ContractListSum.Where(x => x.C1 == "设备"&&x.ProjectId==pid);
|
||||||
|
foreach (var item in SbclList)
|
||||||
|
{
|
||||||
|
sbclHtml += "<div class=\"tr\">";
|
||||||
|
double SbcllCgl = 0.0;
|
||||||
|
double Sbdhs = 0.0;
|
||||||
|
if (string.IsNullOrEmpty(item.C7))
|
||||||
|
{
|
||||||
|
SbcllCgl += 0;
|
||||||
|
Sbdhs += 0;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
SbcllCgl += Convert.ToDouble(item.C7);
|
||||||
|
Sbdhs += Convert.ToDouble(item.C9);
|
||||||
|
}
|
||||||
|
sbclHtml += "<span class=\"r-line\" style=\"width: 2.9875rem; \">" + item.C2 + "</span>";
|
||||||
|
sbclHtml += "<span class=\"r-line\" style=\"width: .7875rem; \">" + SbcllCgl + "</span>";
|
||||||
|
sbclHtml += "<span class=\"r-line\" style=\"width: .7875rem; \">" + item.C7 + "</span>";
|
||||||
|
sbclHtml += "<span class=\"r-line\" style=\"width: .7875rem; \">" + Sbdhs + "</span>";
|
||||||
|
//百分比
|
||||||
|
var dhbfb = "0%";
|
||||||
|
if (SbcllCgl + Sbdhs != 0)
|
||||||
|
{
|
||||||
|
dhbfb = String.Format("{0:N2}", 100.0 * Sbdhs / (Sbdhs + SbcllCgl), 2) + "%";
|
||||||
|
|
||||||
|
}
|
||||||
|
sbclHtml += "<span class=\"r-line\" style=\"width: .9875rem; \">" + dhbfb + "</span>";
|
||||||
|
sbclHtml += "</div>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,260 @@
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <自动生成>
|
||||||
|
// 此代码由工具生成。
|
||||||
|
//
|
||||||
|
// 对此文件的更改可能导致不正确的行为,如果
|
||||||
|
// 重新生成代码,则所做更改将丢失。
|
||||||
|
// </自动生成>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace FineUIPro.Web.common
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
public partial class mainProject2
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// form1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// PageManager1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.PageManager PageManager1;
|
||||||
|
|
||||||
|
/// <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>
|
||||||
|
/// divProjectDays 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divProjectDays;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// divEndDate 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divEndDate;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// divRemainingDays 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divRemainingDays;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// divCqmsPxNum 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divCqmsPxNum;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// div_sgfaSpl 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_sgfaSpl;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// div_gjsx 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_gjsx;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// div_dbsx 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_dbsx;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// div_grlc 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_grlc;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// div_ybrw 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_ybrw;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// div_dbsxlist 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.HtmlControls.HtmlGenericControl div_dbsxlist;
|
||||||
|
|
||||||
|
/// <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;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// hiddenUrl 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.HtmlControls.HtmlInputHidden hiddenUrl;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnShowWindows 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnShowWindows;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Window1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Window Window1;
|
||||||
|
}
|
||||||
|
}
|
|
@ -249,7 +249,6 @@
|
||||||
<script type="text/javascript" src="../res/index/js/world.js"></script>
|
<script type="text/javascript" src="../res/index/js/world.js"></script>
|
||||||
<script>
|
<script>
|
||||||
function clOnclick(objval) {
|
function clOnclick(objval) {
|
||||||
console.log(objval);
|
|
||||||
if (objval == 0) {
|
if (objval == 0) {
|
||||||
$("#span_gdcl").addClass("y_tab-action")
|
$("#span_gdcl").addClass("y_tab-action")
|
||||||
$("#span_sbcl").removeClass("y_tab-action")
|
$("#span_sbcl").removeClass("y_tab-action")
|
||||||
|
|
|
@ -28,6 +28,9 @@ namespace FineUIPro.Web.common
|
||||||
|
|
||||||
//NCR数据图表
|
//NCR数据图表
|
||||||
getNcrInfo();
|
getNcrInfo();
|
||||||
|
|
||||||
|
//资质预警
|
||||||
|
getEarlyWarningCounts();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,12 +3,22 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head runat="server">
|
<head runat="server">
|
||||||
<title>施工安全生产信息化管理系统</title>
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>项目概况</title>
|
||||||
|
<script src="common/lib/flex.js"></script>
|
||||||
|
<link rel="stylesheet" href="common/css/base.css">
|
||||||
|
<link rel="stylesheet" href="common/css/project.css">
|
||||||
|
<link rel="stylesheet" href="common/css/swiper-bundle.min.css">
|
||||||
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
|
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
|
||||||
<link type="text/css" rel="stylesheet" href="~/res/css/default.css" />
|
<link type="text/css" rel="stylesheet" href="~/res/css/default.css" />
|
||||||
<link href="~/res/index/css/index.css" rel="stylesheet" />
|
<link href="~/res/index/css/index.css" rel="stylesheet" />
|
||||||
<link href="~/res/index/css/home.css" rel="stylesheet" />
|
<link href="~/res/index/css/home.css" rel="stylesheet" />
|
||||||
<style type="text/css">
|
<style>
|
||||||
|
.BMap_mask {
|
||||||
|
background-color: red;
|
||||||
|
}
|
||||||
|
|
||||||
.f-tabstrip-header-clip {
|
.f-tabstrip-header-clip {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 35px;
|
height: 35px;
|
||||||
|
@ -86,8 +96,8 @@
|
||||||
font-size: 14px !important;
|
font-size: 14px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.centerregion .f-widget-header{
|
.centerregion .f-widget-header {
|
||||||
height:35px;
|
height: 35px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.f-menu-item-text, .f-tree-cell-text, .f-widget-content a, .f-qtip-content {
|
.f-menu-item-text, .f-tree-cell-text, .f-widget-content a, .f-qtip-content {
|
||||||
|
@ -156,27 +166,53 @@
|
||||||
/*bottom:0;*/
|
/*bottom:0;*/
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
|
|
||||||
}
|
|
||||||
.f-widget-content{
|
|
||||||
color:#FFFFFF;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.f-widget-content {
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
/*.item-pbig {
|
/*.item-pbig {
|
||||||
height: 45px;
|
height: 45px;
|
||||||
width: 1000px;
|
width: 1000px;
|
||||||
/*position:absolute;
|
/*position:absolute;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);*/
|
transform: translateX(-50%);*/
|
||||||
}*/
|
}
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
.up-wrap-ul li > div {
|
.up-wrap-ul li > div {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-icon {
|
.login-icon {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*头部按钮样式*/
|
||||||
|
.bgbtn_head{
|
||||||
|
display: inline-block;
|
||||||
|
position: absolute;
|
||||||
|
width: 40%;
|
||||||
|
height: 50%;
|
||||||
|
left: 30%;
|
||||||
|
top: 0;
|
||||||
|
background: none !important;
|
||||||
|
border: none !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.y_image_default{
|
||||||
|
cursor:pointer
|
||||||
|
}
|
||||||
|
.y_navbars {
|
||||||
|
align-items: center !important;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.f-panel-body .f-field {
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body class="wrap" onresize="myFunction()">
|
<body class="wrap" onresize="myFunction()">
|
||||||
|
@ -187,134 +223,65 @@
|
||||||
<f:ContentPanel ID="topPanel" CssClass="topregion" RegionPosition="Top" ShowBorder="false" ShowHeader="false" EnableCollapse="true" runat="server">
|
<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">
|
<f:ContentPanel ID="ContentPanel1" CssClass="bodyregion" ShowBorder="false" ShowHeader="false" runat="server">
|
||||||
<div id="header2" class="f-widget-header f-mainheader">
|
<div class="y_head ">
|
||||||
<div class="headerwrap">
|
<div class="y_logo y_row y_image_default">
|
||||||
<div class="header" style="display:flex;align-content:center;justify-content:space-between;">
|
<div class="y_navbars y_row">
|
||||||
|
<div>
|
||||||
<div class="item-obig">
|
<p>
|
||||||
<div style="position:absolute;left:50%;transform: translate(-50%, -50%);-webkit-transform: translate(-50%, -50%);top: 19px;font-size: 17px;font-weight: bold;letter-spacing: 3px;display:flex;align-items:center;"><div class="logocenter"></div>中国五环工程有限公司智慧施工管理信息系统(项目级)</div>
|
<f:DropDownList runat="server" Width="300px" ID="drpProject" OnSelectedIndexChanged="drpProject_SelectedIndexChanged"
|
||||||
<f:Button runat="server" CssClass="bgbtn2" EnablePostBack="true" OnClick="btnHome_Click"
|
AutoPostBack="true" EnableEdit="true" CssClass="">
|
||||||
|
</f:DropDownList>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="y_navbar y_action1" onclick="ProjectZJClick();">在建</div>
|
||||||
|
<div class="y_navbar" onclick="ProjectTGClick();">停工</div>
|
||||||
|
<div class="y_navbar" onclick="ProjectJGClick();">竣工</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="Button21">
|
EnableDefaultState="true" EnableDefaultCorner="false" ID="Button21">
|
||||||
</f:Button>
|
</f:Button>
|
||||||
<%--<div class="login-icon"></div>--%>
|
|
||||||
</div>
|
|
||||||
<div class="logowrap">
|
|
||||||
<%--<div class="logo"></div>--%>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div style="display:flex;justify-content:space-between;">
|
<div class="y_setting y_row">
|
||||||
<ul class="up-wrap-ul flex">
|
<div class="y_set mine y_image_default" onclick="PersonalFunction()" style="cursor:pointer">
|
||||||
<li>
|
个人
|
||||||
<f:Button runat="server" CssClass="bgbtn" Text="质量管理" OnClick="btnCQMS_Click" OnClientClick="parent.removeActiveTab();"
|
<f:Button runat="server" CssClass="bgbtntop" IconFont="User" OnClick="btnPersonal_Click" ToolTip="我的" Hidden="true"
|
||||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="Button3">
|
|
||||||
</f:Button>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<f:Button runat="server" CssClass="bgbtn" Text="安全管理" OnClick="btnHSSE_Click" OnClientClick="parent.removeActiveTab();"
|
|
||||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnHSSE">
|
|
||||||
</f:Button>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<f:Button runat="server" CssClass="bgbtn" Text="进度管理" OnClick="btnJDGL_Click" OnClientClick="parent.removeActiveTab();"
|
|
||||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnJDGL">
|
|
||||||
</f:Button>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<f:Button runat="server" CssClass="bgbtn" Text="焊接管理" OnClick="btnHJGL_Click" OnClientClick="parent.removeActiveTab();"
|
|
||||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnHJGL">
|
|
||||||
</f:Button>
|
|
||||||
</li>
|
|
||||||
<%--<li>
|
|
||||||
<f:Button runat="server" CssClass="bgbtn" Text="合同管理" OnClick="btnPHTGL_Click" OnClientClick="parent.removeActiveTab();"
|
|
||||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnPHTGL">
|
|
||||||
</f:Button>
|
|
||||||
</li>--%>
|
|
||||||
<li>
|
|
||||||
<f:Button runat="server" CssClass="bgbtn" Text="材料管理" OnClick="btnCLGL_Click" OnClientClick="parent.removeActiveTab();"
|
|
||||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnCLGL">
|
|
||||||
</f:Button>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<f:Button runat="server" CssClass="bgbtn" Text="试车管理" OnClick="btnTestRun_Click" OnClientClick="parent.removeActiveTab();"
|
|
||||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnTestRun">
|
|
||||||
</f:Button>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<f:Button runat="server" CssClass="bgbtn" Text="关键事项" OnClick="btnPGJSX_Click" OnClientClick="parent.removeActiveTab();"
|
|
||||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnPGJSX">
|
|
||||||
</f:Button>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<f:Button runat="server" CssClass="bgbtn" Text="视频监控" OnClick="btnDigitalSite_Click" OnClientClick="openVideo();"
|
|
||||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnDigitalSite">
|
|
||||||
</f:Button>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<f:Button runat="server" CssClass="bgbtn" Text="现场考勤" OnClick="btnPDigData_Click" OnClientClick="parent.removeActiveTab();"
|
|
||||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnPDigData">
|
|
||||||
</f:Button>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<f:Button runat="server" CssClass="bgbtn" Text="意见收集" OnClick="btnOpinion_Click" OnClientClick="parent.removeActiveTab();"
|
|
||||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnOpinion">
|
|
||||||
</f:Button>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<f:Button runat="server" CssClass="bgbtn" Text="协调与沟通" ID="btnDoc" OnClick="btnDoc_Click"
|
|
||||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();">
|
|
||||||
</f:Button>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<f:Button runat="server" CssClass="bgbtn" Text="施工综合" Enabled="false" Hidden="true" OnClick="btnPZHGL_Click" OnClientClick="parent.removeActiveTab();"
|
|
||||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnPZHGL">
|
|
||||||
</f:Button>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<div class="projcet-select">
|
|
||||||
<f:DropDownList runat="server" Width="200px" ID="drpProject" OnSelectedIndexChanged="drpProject_SelectedIndexChanged"
|
|
||||||
AutoPostBack="true" EnableEdit="true">
|
|
||||||
</f:DropDownList>
|
|
||||||
</div>
|
|
||||||
<div class="baseInfo" style="margin-right:8px">
|
|
||||||
<ul class="layui-nav navSelect">
|
|
||||||
<li class="layui-nav-item">
|
|
||||||
<f:Button runat="server" CssClass="bgbtntop" Text="25℃" IconFont="Cloud" ToolTip="2021年1月10日 武汉 晴 0℃ 至 2℃"
|
|
||||||
EnablePostBack="false" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnWeather">
|
|
||||||
</f:Button>
|
|
||||||
</li>
|
|
||||||
<li class="layui-nav-item">
|
|
||||||
<f:Button runat="server" CssClass="bgbtntop" IconFont="StarO" ToolTip="收藏夹" Hidden="true"
|
|
||||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="Button19">
|
|
||||||
</f:Button>
|
|
||||||
</li>
|
|
||||||
<li class="layui-nav-item">
|
|
||||||
<f:Button runat="server" CssClass="bgbtntop" IconFont="Bell" OnClick="btnTodo_Click" ToolTip="消息"
|
|
||||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnMessage" OnClientClick="parent.removeActiveTab();">
|
|
||||||
</f:Button>
|
|
||||||
</li>
|
|
||||||
<li class="layui-nav-item">
|
|
||||||
<f:Button runat="server" CssClass="bgbtntop" IconFont="User" OnClick="btnPersonal_Click" ToolTip="我的"
|
|
||||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnPersonal" OnClientClick="parent.removeActiveTab();">
|
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnPersonal" OnClientClick="parent.removeActiveTab();">
|
||||||
</f:Button>
|
</f:Button>
|
||||||
</li>
|
</div>
|
||||||
<li class="layui-nav-item">
|
<div class="y_set y_image_default set" onclick="btnSysSetFunction()" style="cursor:pointer">
|
||||||
<f:Button runat="server" CssClass="bgbtntop" IconFont="Gear" OnClick="btnProjectSet_Click" ToolTip="项目设置"
|
设置
|
||||||
|
<f:Button runat="server" CssClass="bgbtntop" IconFont="Gear" OnClick="btnProjectSet_Click" ToolTip="项目设置" Hidden="true"
|
||||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnProjectSet" OnClientClick="parent.removeActiveTab();">
|
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnProjectSet" OnClientClick="parent.removeActiveTab();">
|
||||||
</f:Button>
|
</f:Button>
|
||||||
</li>
|
</div>
|
||||||
<li class="layui-nav-item">
|
<%--<div class="y_set y_image_default help">帮助</div>--%>
|
||||||
<f:Button runat="server" CssClass="bgbtntop" IconFont="PowerOff" ToolTip="退出"
|
<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">
|
EnablePostBack="false" EnableDefaultState="true" EnableDefaultCorner="false" ID="Button18">
|
||||||
<Listeners>
|
<Listeners>
|
||||||
<f:Listener Event="click" Handler="onToolSignOutClick" />
|
<f:Listener Event="click" Handler="onToolSignOutClick" />
|
||||||
</Listeners>
|
</Listeners>
|
||||||
</f:Button>
|
</f:Button>
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="y_set y_image_default full">全屏</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="y_navs y_row">
|
||||||
|
<div class="y_nav y_image_default" onclick="CQMSClick();">质量管理</div>
|
||||||
|
<div class="y_nav y_image_default" onclick="HSSEClick();">安全管理</div>
|
||||||
|
<div class="y_nav y_image_default" onclick="JDGLClick();">进度管理</div>
|
||||||
|
<div class="y_nav y_image_default" onclick="HJGLClick();">焊接管理</div>
|
||||||
|
<div class="y_nav y_image_default" onclick="CLGLClick();">材料管理</div>
|
||||||
|
<div class="y_nav y_image_default" onclick="TestRunClick();">试车管理</div>
|
||||||
|
<div class="y_nav y_image_default" onclick="PGJSXClick();">关键事项</div>
|
||||||
|
<div class="y_nav y_image_default" onclick="DigitalSiteClick();">视频监控</div>
|
||||||
|
<div class="y_nav y_image_default" onclick="PDigDataClick();">现场考勤</div>
|
||||||
|
<div class="y_nav y_image_default" onclick="OpinionClick();">意见收集</div>
|
||||||
|
<div class="y_nav y_image_default" onclick="DocClick();">协调与沟通</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</f:ContentPanel>
|
</f:ContentPanel>
|
||||||
<%--头部 结束--%>
|
<%--头部 结束--%>
|
||||||
|
@ -430,6 +397,42 @@
|
||||||
EnableMaximize="true" EnableResize="false">
|
EnableMaximize="true" EnableResize="false">
|
||||||
</f:Window>
|
</f:Window>
|
||||||
<asp:XmlDataSource ID="XmlDataSource1" runat="server" EnableCaching="false"></asp:XmlDataSource>
|
<asp:XmlDataSource ID="XmlDataSource1" runat="server" EnableCaching="false"></asp:XmlDataSource>
|
||||||
|
<f:Button runat="server" ID="ProjectZJ" OnClick="ProjectZJ_Click" Hidden="true"></f:Button>
|
||||||
|
<f:Button runat="server" ID="ProjectTG" OnClick="ProjectTG_Click" Hidden="true"></f:Button>
|
||||||
|
<f:Button runat="server" ID="ProjectJG" OnClick="ProjectJG_Click" Hidden="true"></f:Button>
|
||||||
|
<f:Button runat="server" CssClass="bgbtn" Text="质量管理" OnClick="btnCQMS_Click" OnClientClick="parent.removeActiveTab();"
|
||||||
|
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnCQMS" Hidden="true">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button runat="server" CssClass="bgbtn" Text="安全管理" OnClick="btnHSSE_Click" OnClientClick="parent.removeActiveTab();"
|
||||||
|
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnHSSE" Hidden="true">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button runat="server" CssClass="bgbtn" Text="进度管理" OnClick="btnJDGL_Click" OnClientClick="parent.removeActiveTab();"
|
||||||
|
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnJDGL" Hidden="true">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button runat="server" CssClass="bgbtn" Text="焊接管理" OnClick="btnHJGL_Click" OnClientClick="parent.removeActiveTab();"
|
||||||
|
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnHJGL" Hidden="true">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button runat="server" CssClass="bgbtn" Text="材料管理" OnClick="btnCLGL_Click" OnClientClick="parent.removeActiveTab();"
|
||||||
|
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnCLGL" Hidden="true">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button runat="server" CssClass="bgbtn" Text="试车管理" OnClick="btnTestRun_Click" OnClientClick="parent.removeActiveTab();"
|
||||||
|
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnTestRun" Hidden="true">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button runat="server" CssClass="bgbtn" Text="关键事项" OnClick="btnPGJSX_Click" OnClientClick="parent.removeActiveTab();"
|
||||||
|
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnPGJSX" Hidden="true">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button runat="server" CssClass="bgbtn" Text="视频监控" OnClick="btnDigitalSite_Click" OnClientClick="openVideo();"
|
||||||
|
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnDigitalSite" Hidden="true">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button runat="server" CssClass="bgbtn" Text="现场考勤" OnClick="btnPDigData_Click" OnClientClick="parent.removeActiveTab();"
|
||||||
|
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnPDigData" Hidden="true">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button runat="server" CssClass="bgbtn" Text="意见收集" OnClick="btnOpinion_Click" OnClientClick="parent.removeActiveTab();"
|
||||||
|
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" ID="btnOpinion" Hidden="true">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button runat="server" CssClass="bgbtn" Text="协调与沟通" ID="btnDoc" OnClick="btnDoc_Click"
|
||||||
|
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();" Hidden="true">
|
||||||
|
</f:Button>
|
||||||
</form>
|
</form>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var toolRefreshClientID = '<%= toolRefresh.ClientID %>';
|
var toolRefreshClientID = '<%= toolRefresh.ClientID %>';
|
||||||
|
@ -443,6 +446,87 @@
|
||||||
var leftPanelToolGearClientID = '<%= leftPanelToolGear.ClientID %>';
|
var leftPanelToolGearClientID = '<%= leftPanelToolGear.ClientID %>';
|
||||||
var leftPanelToolCollapseClientID = '<%= leftPanelToolCollapse.ClientID %>';
|
var leftPanelToolCollapseClientID = '<%= leftPanelToolCollapse.ClientID %>';
|
||||||
var tab1ClientID = '<%= Tab1.ClientID %>';
|
var tab1ClientID = '<%= Tab1.ClientID %>';
|
||||||
|
var ProjectZJClientID = '<%= ProjectZJ.ClientID %>';
|
||||||
|
var ProjectTGClientID = '<%= ProjectTG.ClientID %>';
|
||||||
|
var ProjectJGClientID = '<%= ProjectJG.ClientID %>';
|
||||||
|
var btnCQMSClientID = '<%= btnCQMS.ClientID %>';
|
||||||
|
var btnHSSEClientID = '<%= btnHSSE.ClientID %>';
|
||||||
|
var btnJDGLClientID = '<%= btnJDGL.ClientID %>';
|
||||||
|
var btnHJGLClientID = '<%= btnHJGL.ClientID %>';
|
||||||
|
var btnCLGLClientID = '<%= btnCLGL.ClientID %>';
|
||||||
|
var btnTestRunClientID = '<%= btnTestRun.ClientID %>';
|
||||||
|
var btnPGJSXClientID = '<%= btnPGJSX.ClientID %>';
|
||||||
|
var btnDigitalSiteClientID = '<%= btnDigitalSite.ClientID %>';
|
||||||
|
var btnPDigDataClientID = '<%= btnPDigData.ClientID %>';
|
||||||
|
var btnOpinionClientID = '<%= btnOpinion.ClientID %>';
|
||||||
|
var btnDocClientID = '<%= btnDoc.ClientID %>';
|
||||||
|
function ProjectZJClick() {
|
||||||
|
F(ProjectZJClientID).click();
|
||||||
|
}
|
||||||
|
|
||||||
|
function ProjectTGClick() {
|
||||||
|
F(ProjectTGClientID).click();
|
||||||
|
}
|
||||||
|
|
||||||
|
function ProjectJGClick() {
|
||||||
|
F(ProjectJGClientID).click();
|
||||||
|
}
|
||||||
|
|
||||||
|
function CQMSClick() {
|
||||||
|
parent.removeActiveTab();
|
||||||
|
F(btnCQMSClientID).click();
|
||||||
|
}
|
||||||
|
|
||||||
|
function HSSEClick() {
|
||||||
|
parent.removeActiveTab();
|
||||||
|
F(btnHSSEClientID).click();
|
||||||
|
}
|
||||||
|
|
||||||
|
function JDGLClick() {
|
||||||
|
parent.removeActiveTab();
|
||||||
|
F(btnJDGLClientID).click();
|
||||||
|
}
|
||||||
|
|
||||||
|
function HJGLClick() {
|
||||||
|
parent.removeActiveTab();
|
||||||
|
F(btnHJGLClientID).click();
|
||||||
|
}
|
||||||
|
|
||||||
|
function CLGLClick() {
|
||||||
|
parent.removeActiveTab();
|
||||||
|
F(btnCLGLClientID).click();
|
||||||
|
}
|
||||||
|
|
||||||
|
function TestRunClick() {
|
||||||
|
parent.removeActiveTab();
|
||||||
|
F(btnTestRunClientID).click();
|
||||||
|
}
|
||||||
|
|
||||||
|
function PGJSXClick() {
|
||||||
|
parent.removeActiveTab();
|
||||||
|
F(btnPGJSXClientID).click();
|
||||||
|
}
|
||||||
|
|
||||||
|
function DigitalSiteClick() {
|
||||||
|
parent.removeActiveTab();
|
||||||
|
F(btnDigitalSiteClientID).click();
|
||||||
|
}
|
||||||
|
|
||||||
|
function PDigDataClick() {
|
||||||
|
parent.removeActiveTab();
|
||||||
|
F(btnPDigDataClientID).click();
|
||||||
|
}
|
||||||
|
|
||||||
|
function OpinionClick() {
|
||||||
|
parent.removeActiveTab();
|
||||||
|
F(btnOpinionClientID).click();
|
||||||
|
}
|
||||||
|
|
||||||
|
function DocClick() {
|
||||||
|
parent.removeActiveTab();
|
||||||
|
F(btnDocClientID).click();
|
||||||
|
}
|
||||||
|
|
||||||
// 展开左侧面板
|
// 展开左侧面板
|
||||||
function expandLeftPanel() {
|
function expandLeftPanel() {
|
||||||
var leftPanel = F(leftPanelClientID);
|
var leftPanel = F(leftPanelClientID);
|
||||||
|
@ -626,7 +710,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 点击标题栏工具图标 - 查看源代码
|
// 点击标题栏工具图标 - 查看源代码
|
||||||
var videoURL ='<%=VideoURL %>'
|
var videoURL ='<%=VideoURL %>'
|
||||||
function openVideo() {
|
function openVideo() {
|
||||||
window.open(videoURL, '_blank');
|
window.open(videoURL, '_blank');
|
||||||
|
@ -754,14 +838,64 @@
|
||||||
// refreshWhenExist: 添加选项卡时,如果选项卡已经存在,是否刷新内部IFrame
|
// refreshWhenExist: 添加选项卡时,如果选项卡已经存在,是否刷新内部IFrame
|
||||||
// refreshWhenTabChange: 切换选项卡时,是否刷新内部IFrame
|
// refreshWhenTabChange: 切换选项卡时,是否刷新内部IFrame
|
||||||
F.initTreeTabStrip(mainMenu, mainTabStrip, true, false, false);
|
F.initTreeTabStrip(mainMenu, mainTabStrip, true, false, false);
|
||||||
//var themeTitle = F.cookie('Theme_Pro_Title');
|
var themeTitle = F.cookie('Theme_Pro_Title');
|
||||||
//var themeName = F.cookie('Theme_Pro');
|
var themeName = F.cookie('Theme_Pro');
|
||||||
//if (themeTitle) {
|
if (themeTitle) {
|
||||||
// F.removeCookie('Theme_Pro_Title');
|
F.removeCookie('Theme_Pro_Title');
|
||||||
// //notify('主题更改为:' + themeTitle + '(' + themeName + ')');
|
//notify('主题更改为:' + themeTitle + '(' + themeName + ')');
|
||||||
//}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// 在建 停工 竣工 切换样式
|
||||||
|
$('.y_navbar').click(function () {
|
||||||
|
$('.y_navbar').removeClass('y_action1')
|
||||||
|
$(this).addClass('y_action1')
|
||||||
|
})
|
||||||
|
|
||||||
|
//我的
|
||||||
|
function PersonalFunction() {
|
||||||
|
$('[id$="_btnPersonal"]').click();
|
||||||
|
}
|
||||||
|
|
||||||
|
//设置
|
||||||
|
function btnSysSetFunction() {
|
||||||
|
$('[id$="_btnProjectSet"]').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()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -293,7 +293,7 @@ namespace FineUIPro.Web
|
||||||
Response.Expires = 0; //设置过期时间
|
Response.Expires = 0; //设置过期时间
|
||||||
Response.Cache.SetNoStore(); //在服务器端不缓存该页面
|
Response.Cache.SetNoStore(); //在服务器端不缓存该页面
|
||||||
Response.AppendHeader("Pragma", "no-cache"); //在客户端不缓存
|
Response.AppendHeader("Pragma", "no-cache"); //在客户端不缓存
|
||||||
ProjectService.InitAllProjectShortNameDropDownList(this.drpProject, this.CurrUser.UserId, false);
|
ProjectService.InitProjectShortNameByStateDropDownList(this.drpProject, this.CurrUser.UserId, BLL.Const.ProjectState_1, false);
|
||||||
if (!string.IsNullOrEmpty(Request.Params["projectId"]))
|
if (!string.IsNullOrEmpty(Request.Params["projectId"]))
|
||||||
{
|
{
|
||||||
this.drpProject.SelectedValue = Request.Params["projectId"];
|
this.drpProject.SelectedValue = Request.Params["projectId"];
|
||||||
|
@ -316,81 +316,81 @@ namespace FineUIPro.Web
|
||||||
this.InitMenuModeButton();
|
this.InitMenuModeButton();
|
||||||
this.InitLangMenuButton();
|
this.InitLangMenuButton();
|
||||||
|
|
||||||
GetWeather();
|
//GetWeather();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void GetWeather()
|
private void GetWeather()
|
||||||
{
|
{
|
||||||
try
|
//try
|
||||||
{
|
//{
|
||||||
string appkey = "cc220b45380a453a08cb79fd2d40ea3e"; //配置您申请的appkey
|
// string appkey = "cc220b45380a453a08cb79fd2d40ea3e"; //配置您申请的appkey
|
||||||
//1.根据城市查询天气
|
// //1.根据城市查询天气
|
||||||
//string url1 = "http://op.juhe.cn/onebox/weather/query";
|
// //string url1 = "http://op.juhe.cn/onebox/weather/query";
|
||||||
//var parameters1 = new Dictionary<string, string>();
|
// //var parameters1 = new Dictionary<string, string>();
|
||||||
Model.Base_Project project = BLL.ProjectService.GetProjectByProjectId(this.drpProject.SelectedValue);
|
// Model.Base_Project project = BLL.ProjectService.GetProjectByProjectId(this.drpProject.SelectedValue);
|
||||||
string city = "武汉";
|
// string city = "武汉";
|
||||||
if (project != null && !string.IsNullOrEmpty(project.City))
|
// if (project != null && !string.IsNullOrEmpty(project.City))
|
||||||
{
|
// {
|
||||||
city = project.City;
|
// city = project.City;
|
||||||
}
|
// }
|
||||||
if (!string.IsNullOrEmpty(city))
|
// if (!string.IsNullOrEmpty(city))
|
||||||
{
|
// {
|
||||||
//parameters1.Add("cityname", city); //要查询的城市,如:温州、上海、北京
|
// //parameters1.Add("cityname", city); //要查询的城市,如:温州、上海、北京
|
||||||
//parameters1.Add("key", appkey);//你申请的key
|
// //parameters1.Add("key", appkey);//你申请的key
|
||||||
//parameters1.Add("dtype", ""); //返回数据的格式,xml或json,默认json
|
// //parameters1.Add("dtype", ""); //返回数据的格式,xml或json,默认json
|
||||||
|
|
||||||
//string result1 = sendPost(url1, parameters1, "get");
|
// //string result1 = sendPost(url1, parameters1, "get");
|
||||||
Model.Weather oldWeather = BLL.WeatherService.GetWeatherByDateAndCity(DateTime.Now.Date, city);
|
// Model.Weather oldWeather = BLL.WeatherService.GetWeatherByDateAndCity(DateTime.Now.Date, city);
|
||||||
if (oldWeather == null) //未生成天气记录
|
// if (oldWeather == null) //未生成天气记录
|
||||||
{
|
// {
|
||||||
string result = BLL.CommonService.CreateGetHttpResponse("http://apis.juhe.cn/simpleWeather/query?city=" + city + "&key=" + appkey);
|
// string result = BLL.CommonService.CreateGetHttpResponse("http://apis.juhe.cn/simpleWeather/query?city=" + city + "&key=" + appkey);
|
||||||
var j2 = JsonConvert.DeserializeObject<dynamic>(result);
|
// var j2 = JsonConvert.DeserializeObject<dynamic>(result);
|
||||||
if (j2.reason == "查询成功!")
|
// if (j2.reason == "查询成功!")
|
||||||
{
|
// {
|
||||||
string tem = j2.result.realtime.temperature;
|
// string tem = j2.result.realtime.temperature;
|
||||||
string weather = j2.result.realtime.info;
|
// string weather = j2.result.realtime.info;
|
||||||
if (weather == "多云")
|
// if (weather == "多云")
|
||||||
{
|
// {
|
||||||
this.btnWeather.IconFont = IconFont.Cloud;
|
// this.btnWeather.IconFont = IconFont.Cloud;
|
||||||
}
|
// }
|
||||||
else if (weather == "晴")
|
// else if (weather == "晴")
|
||||||
{
|
// {
|
||||||
this.btnWeather.IconFont = IconFont.SunO;
|
// this.btnWeather.IconFont = IconFont.SunO;
|
||||||
}
|
// }
|
||||||
else if (weather == "阴")
|
// else if (weather == "阴")
|
||||||
{
|
// {
|
||||||
this.btnWeather.IconFont = IconFont.Cloud;
|
// this.btnWeather.IconFont = IconFont.Cloud;
|
||||||
}
|
// }
|
||||||
else if (weather.Contains("雪"))
|
// else if (weather.Contains("雪"))
|
||||||
{
|
// {
|
||||||
this.btnWeather.IconFont = IconFont.SnowflakeO;
|
// this.btnWeather.IconFont = IconFont.SnowflakeO;
|
||||||
}
|
// }
|
||||||
string alltem = j2.result.future[0].temperature;
|
// string alltem = j2.result.future[0].temperature;
|
||||||
this.btnWeather.Text = tem;
|
// this.btnWeather.Text = tem;
|
||||||
string date = DateTime.Now.Year + "年" + DateTime.Now.Month + "月" + DateTime.Now.Day + "日";
|
// string date = DateTime.Now.Year + "年" + DateTime.Now.Month + "月" + DateTime.Now.Day + "日";
|
||||||
this.btnWeather.ToolTip = date + " " + city + " " + weather + " " + alltem;
|
// this.btnWeather.ToolTip = date + " " + city + " " + weather + " " + alltem;
|
||||||
Model.Weather newWeather = new Model.Weather();
|
// Model.Weather newWeather = new Model.Weather();
|
||||||
newWeather.WeatherId = SQLHelper.GetNewID();
|
// newWeather.WeatherId = SQLHelper.GetNewID();
|
||||||
newWeather.City = city;
|
// newWeather.City = city;
|
||||||
newWeather.Date = DateTime.Now.Date;
|
// newWeather.Date = DateTime.Now.Date;
|
||||||
newWeather.WeatherRef = weather;
|
// newWeather.WeatherRef = weather;
|
||||||
newWeather.CurrTem = tem;
|
// newWeather.CurrTem = tem;
|
||||||
newWeather.AllTem = alltem;
|
// newWeather.AllTem = alltem;
|
||||||
BLL.WeatherService.AddWeather(newWeather);
|
// BLL.WeatherService.AddWeather(newWeather);
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
else
|
// else
|
||||||
{
|
// {
|
||||||
this.btnWeather.Text = oldWeather.CurrTem;
|
// this.btnWeather.Text = oldWeather.CurrTem;
|
||||||
string date = DateTime.Now.Year + "年" + DateTime.Now.Month + "月" + DateTime.Now.Day + "日";
|
// string date = DateTime.Now.Year + "年" + DateTime.Now.Month + "月" + DateTime.Now.Day + "日";
|
||||||
this.btnWeather.ToolTip = date + " " + city + " " + oldWeather.WeatherRef + " " + oldWeather.AllTem;
|
// this.btnWeather.ToolTip = date + " " + city + " " + oldWeather.WeatherRef + " " + oldWeather.AllTem;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
//}
|
||||||
catch (Exception ex)
|
//catch (Exception ex)
|
||||||
{
|
//{
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -596,11 +596,11 @@ namespace FineUIPro.Web
|
||||||
/// <param name="type"></param>
|
/// <param name="type"></param>
|
||||||
protected void MenuSwitchMethod(string type)
|
protected void MenuSwitchMethod(string type)
|
||||||
{
|
{
|
||||||
// this.CurrUser.LoginProjectId = this.drpProject.SelectedValue;
|
// this.CurrUser.LoginProjectId = this.drpProject.SelectedValue;
|
||||||
this.XmlDataSource1.DataFile = "common/Menu_Personal.xml";
|
this.XmlDataSource1.DataFile = "common/Menu_Personal.xml";
|
||||||
this.leftPanel.Hidden = true;
|
this.leftPanel.Hidden = true;
|
||||||
var projectUser = BLL.ProjectUserService.GetProjectUserByUserIdProjectId(this.CurrUser.LoginProjectId, this.CurrUser.UserId);
|
var projectUser = BLL.ProjectUserService.GetProjectUserByUserIdProjectId(this.CurrUser.LoginProjectId, this.CurrUser.UserId);
|
||||||
if (projectUser != null&&type!=BLL.Const.Menu_Opinion)
|
if (projectUser != null && type != BLL.Const.Menu_Opinion)
|
||||||
{
|
{
|
||||||
string roleTypes = string.Empty;
|
string roleTypes = string.Empty;
|
||||||
string roleCNs = string.Empty;
|
string roleCNs = string.Empty;
|
||||||
|
@ -631,12 +631,12 @@ namespace FineUIPro.Web
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.Tab1.IFrameUrl = "~/common/mainProject.aspx";
|
this.Tab1.IFrameUrl = "~/common/mainProject2.aspx";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.Tab1.IFrameUrl = "~/common/mainProject.aspx";
|
this.Tab1.IFrameUrl = "~/common/mainProject2.aspx";
|
||||||
}
|
}
|
||||||
this.CurrUser.LastProjectId = null;
|
this.CurrUser.LastProjectId = null;
|
||||||
if (!string.IsNullOrEmpty(type))
|
if (!string.IsNullOrEmpty(type))
|
||||||
|
@ -677,17 +677,17 @@ namespace FineUIPro.Web
|
||||||
this.Tab1.IFrameUrl = "~/Opinion/OpinionCollection.aspx";
|
this.Tab1.IFrameUrl = "~/Opinion/OpinionCollection.aspx";
|
||||||
this.Tab1.Title = "意见收集";
|
this.Tab1.Title = "意见收集";
|
||||||
}
|
}
|
||||||
else if (type==Const.Menu_Doc)
|
else if (type == Const.Menu_Doc)
|
||||||
{
|
{
|
||||||
this.Tab1.IFrameUrl = "~/DocManage/DocManage.aspx";
|
this.Tab1.IFrameUrl = "~/DocManage/DocManage.aspx";
|
||||||
this.Tab1.Title = "协调与沟通";
|
this.Tab1.Title = "协调与沟通";
|
||||||
}
|
}
|
||||||
else if (type==Const.Menu_ToDo)
|
else if (type == Const.Menu_ToDo)
|
||||||
{
|
{
|
||||||
this.Tab1.IFrameUrl = "~/SysManage/ProjectToDo.aspx";
|
this.Tab1.IFrameUrl = "~/SysManage/ProjectToDo.aspx";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.Tab1.Title = "首页";
|
this.Tab1.Title = "首页";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -803,5 +803,35 @@ namespace FineUIPro.Web
|
||||||
{
|
{
|
||||||
this.MenuSwitchMethod(Const.Menu_ToDo);
|
this.MenuSwitchMethod(Const.Menu_ToDo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected void ProjectZJ_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
ProjectService.InitProjectShortNameByStateDropDownList(this.drpProject, this.CurrUser.UserId, BLL.Const.ProjectState_1, false);
|
||||||
|
if (this.drpProject.Items.Count > 0)
|
||||||
|
{
|
||||||
|
this.drpProject.SelectedIndex = 0;
|
||||||
|
this.CurrUser.LoginProjectId = this.drpProject.SelectedValue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void ProjectTG_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
ProjectService.InitProjectShortNameByStateDropDownList(this.drpProject, this.CurrUser.UserId, BLL.Const.ProjectState_2, false);
|
||||||
|
if (this.drpProject.Items.Count > 0)
|
||||||
|
{
|
||||||
|
this.drpProject.SelectedIndex = 0;
|
||||||
|
this.CurrUser.LoginProjectId = this.drpProject.SelectedValue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void ProjectJG_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
ProjectService.InitProjectShortNameByStateDropDownList(this.drpProject, this.CurrUser.UserId, BLL.Const.ProjectState_3, false);
|
||||||
|
if (this.drpProject.Items.Count > 0)
|
||||||
|
{
|
||||||
|
this.drpProject.SelectedIndex = 0;
|
||||||
|
this.CurrUser.LoginProjectId = this.drpProject.SelectedValue;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,123 +59,6 @@ namespace FineUIPro.Web
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.ContentPanel ContentPanel1;
|
protected global::FineUIPro.ContentPanel ContentPanel1;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Button21 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Button Button21;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Button3 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Button Button3;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// btnHSSE 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Button btnHSSE;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// btnJDGL 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Button btnJDGL;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// btnHJGL 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Button btnHJGL;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// btnCLGL 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Button btnCLGL;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// btnTestRun 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Button btnTestRun;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// btnPGJSX 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Button btnPGJSX;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// btnDigitalSite 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Button btnDigitalSite;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// btnPDigData 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Button btnPDigData;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// btnOpinion 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Button btnOpinion;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// btnDoc 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Button btnDoc;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// btnPZHGL 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Button btnPZHGL;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// drpProject 控件。
|
/// drpProject 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -186,31 +69,13 @@ namespace FineUIPro.Web
|
||||||
protected global::FineUIPro.DropDownList drpProject;
|
protected global::FineUIPro.DropDownList drpProject;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// btnWeather 控件。
|
/// Button21 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// 自动生成的字段。
|
/// 自动生成的字段。
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Button btnWeather;
|
protected global::FineUIPro.Button Button21;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Button19 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Button Button19;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// btnMessage 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.Button btnMessage;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// btnPersonal 控件。
|
/// btnPersonal 控件。
|
||||||
|
@ -445,5 +310,131 @@ namespace FineUIPro.Web
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::System.Web.UI.WebControls.XmlDataSource XmlDataSource1;
|
protected global::System.Web.UI.WebControls.XmlDataSource XmlDataSource1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// ProjectZJ 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button ProjectZJ;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// ProjectTG 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button ProjectTG;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// ProjectJG 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button ProjectJG;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnCQMS 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnCQMS;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnHSSE 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnHSSE;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnJDGL 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnJDGL;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnHJGL 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnHJGL;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnCLGL 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnCLGL;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnTestRun 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnTestRun;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnPGJSX 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnPGJSX;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnDigitalSite 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnDigitalSite;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnPDigData 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnPDigData;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnOpinion 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnOpinion;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnDoc 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnDoc;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue