Compare commits
No commits in common. "b8449b3139b12c325890f0cefe4255c6f42a6ca2" and "59a88af52ba5e3025197de6a8b97f0e227c94929" have entirely different histories.
b8449b3139
...
59a88af52b
|
|
@ -1,7 +1,8 @@
|
|||
using Model;
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
|
|
@ -19,7 +20,7 @@ namespace BLL
|
|||
/// <returns></returns>
|
||||
public static Model.JDGL_WeekPlan GetWeekPlanById(string WeekPlanId)
|
||||
{
|
||||
return db.JDGL_WeekPlan.FirstOrDefault(e => e.WeekPlanId == WeekPlanId);
|
||||
return Funs.DB.JDGL_WeekPlan.FirstOrDefault(e => e.WeekPlanId == WeekPlanId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -29,7 +30,7 @@ namespace BLL
|
|||
/// <returns></returns>
|
||||
public static List<Model.JDGL_WeekPlan> GetWeekPlansByWeeks(string projectId, string weekNo)
|
||||
{
|
||||
return (from x in db.JDGL_WeekPlan where x.ProjectId == projectId && x.WeekNo == weekNo select x).ToList();
|
||||
return (from x in Funs.DB.JDGL_WeekPlan where x.ProjectId == projectId && x.WeekNo == weekNo select x).ToList();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -38,6 +39,7 @@ namespace BLL
|
|||
/// <param name="WeekPlan"></param>
|
||||
public static void AddWeekPlan(Model.JDGL_WeekPlan WeekPlan)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.JDGL_WeekPlan newWeekPlan = new Model.JDGL_WeekPlan
|
||||
{
|
||||
WeekPlanId = WeekPlan.WeekPlanId,
|
||||
|
|
@ -67,6 +69,7 @@ namespace BLL
|
|||
/// <param name="WeekPlan"></param>
|
||||
public static void UpdateWeekPlan(Model.JDGL_WeekPlan WeekPlan)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.JDGL_WeekPlan newWeekPlan = db.JDGL_WeekPlan.FirstOrDefault(e => e.WeekPlanId == WeekPlan.WeekPlanId);
|
||||
if (newWeekPlan != null)
|
||||
{
|
||||
|
|
@ -92,6 +95,7 @@ namespace BLL
|
|||
/// <param name="WeekPlanId"></param>
|
||||
public static void DeleteWeekPlanByWeekPlanId(string WeekPlanId)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
var q = (from x in db.JDGL_WeekPlan where x.WeekPlanId == WeekPlanId select x).FirstOrDefault();
|
||||
if (q != null)
|
||||
{
|
||||
|
|
@ -100,24 +104,13 @@ namespace BLL
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据当前时间获取上一个周计划
|
||||
/// </summary>
|
||||
/// <param name="projectId"></param>
|
||||
/// <returns></returns>
|
||||
public static JDGL_WeekPlan GetLastWeekPlan(string projectId)
|
||||
{
|
||||
return (from x in db.JDGL_WeekPlan where x.ProjectId == projectId && DateTime.Now > ((DateTime)x.EndDate).AddDays(1) orderby x.EndDate select x).FirstOrDefault();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键删除周计划情况
|
||||
/// </summary>
|
||||
/// <param name="projectId"></param>
|
||||
/// <param name="weekNo"></param>
|
||||
/// <param name="WeekPlanId"></param>
|
||||
public static void DeleteAllWeekPlan(string projectId, string weekNo)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
var q = from x in db.JDGL_WeekPlan where x.ProjectId == projectId && x.WeekNo == weekNo select x;
|
||||
if (q != null)
|
||||
{
|
||||
|
|
@ -125,17 +118,5 @@ namespace BLL
|
|||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取周计划下责任单位Id
|
||||
/// </summary>
|
||||
/// <param name="projectId"></param>
|
||||
/// <returns></returns>
|
||||
public static List<string> GetWeekPlanUnitIdListByProjectIdWeekNo(string projectId)
|
||||
{
|
||||
var lstUnit = (from x in db.JDGL_WeekPlan where x.ProjectId == projectId orderby x.UnitId select x.UnitId).Distinct().ToList();
|
||||
return lstUnit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1344,12 +1344,4 @@
|
|||
<value>Welcome back</value>
|
||||
<comment>欢迎回来</comment>
|
||||
</data>
|
||||
<data name="mainProject2_MonthPlanDone" xml:space="preserve">
|
||||
<value>Completion status of monthly plan</value>
|
||||
<comment>月计划完成情况</comment>
|
||||
</data>
|
||||
<data name="mainProject2_WeekPlanDone" xml:space="preserve">
|
||||
<value>Completion status of weekly plan</value>
|
||||
<comment>周计划完成情况</comment>
|
||||
</data>
|
||||
</root>
|
||||
|
|
@ -1191,10 +1191,4 @@
|
|||
<data name="String1" xml:space="preserve">
|
||||
<value>欢迎回来</value>
|
||||
</data>
|
||||
<data name="mainProject2_MonthPlanDone" xml:space="preserve">
|
||||
<value>月计划完成情况</value>
|
||||
</data>
|
||||
<data name="mainProject2_WeekPlanDone" xml:space="preserve">
|
||||
<value>周计划完成情况</value>
|
||||
</data>
|
||||
</root>
|
||||
|
|
@ -1188,10 +1188,4 @@
|
|||
<data name="Welcome" xml:space="preserve">
|
||||
<value>欢迎回来</value>
|
||||
</data>
|
||||
<data name="mainProject2_MonthPlanDone" xml:space="preserve">
|
||||
<value>月计划完成情况</value>
|
||||
</data>
|
||||
<data name="mainProject2_WeekPlanDone" xml:space="preserve">
|
||||
<value>周计划完成情况</value>
|
||||
</data>
|
||||
</root>
|
||||
|
|
@ -13,13 +13,13 @@ namespace Resources {
|
|||
|
||||
|
||||
/// <summary>
|
||||
/// 一个强类型的资源类,用于查找本地化的字符串等。
|
||||
/// 强类型资源类,用于查找本地化字符串等。
|
||||
/// </summary>
|
||||
// 此类是由 StronglyTypedResourceBuilder
|
||||
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
|
||||
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
|
||||
// 若要添加或删除成员,请编辑 .ResX 文件,然后重新运行 ResGen
|
||||
// (以 /str 作为命令选项),或重新生成 Visual Studio 项目。
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Web.Application.StronglyTypedResourceProxyBuilder", "17.0.0.0")]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Web.Application.StronglyTypedResourceProxyBuilder", "15.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Lan {
|
||||
|
|
@ -33,7 +33,7 @@ namespace Resources {
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// 返回此类使用的缓存的 ResourceManager 实例。
|
||||
/// 返回此类使用的缓存 ResourceManager 实例。
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
|
|
@ -47,8 +47,8 @@ namespace Resources {
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// 重写当前线程的 CurrentUICulture 属性,对
|
||||
/// 使用此强类型资源类的所有资源查找执行重写。
|
||||
/// 覆盖当前线程的 CurrentUICulture 属性
|
||||
/// 使用此强类型的资源类的资源查找。
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
|
|
@ -1032,15 +1032,6 @@ namespace Resources {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 月计划完成情况 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string mainProject2_MonthPlanDone {
|
||||
get {
|
||||
return ResourceManager.GetString("mainProject2_MonthPlanDone", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 未遂事件 的本地化字符串。
|
||||
/// </summary>
|
||||
|
|
@ -1293,15 +1284,6 @@ namespace Resources {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 周计划完成情况 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string mainProject2_WeekPlanDone {
|
||||
get {
|
||||
return ResourceManager.GetString("mainProject2_WeekPlanDone", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 工作台面 的本地化字符串。
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ namespace FineUIPro.Web.JDGL.Check
|
|||
}
|
||||
else
|
||||
{
|
||||
this.txtWeekNo.Text = "1";
|
||||
this.txtWeekNo.Text = "0";
|
||||
//this.txtStartDate.Text = DateTime.Now.ToString("yyyy-MM-dd");
|
||||
//this.txtEndDate.Text = DateTime.Now.AddDays(6).ToString("yyyy-MM-dd");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
using BLL;
|
||||
using NPOI.SS.UserModel;
|
||||
using NPOI.SS.Util;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
@ -497,7 +496,7 @@ namespace FineUIPro.Web.PZHGL.GJSX
|
|||
int i = 2;
|
||||
for (int j = 0; j < tb.Rows.Count; j++)
|
||||
{
|
||||
string state = tb.Rows[j]["State"].ToString().Trim();
|
||||
string state = tb.Rows[j]["State"].ToString();
|
||||
string createDate = string.Empty;
|
||||
if (tb.Rows[j]["CreateDate"] != DBNull.Value)
|
||||
{
|
||||
|
|
@ -535,23 +534,7 @@ namespace FineUIPro.Web.PZHGL.GJSX
|
|||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue(tb.Rows[j]["GJSXTypeName"].ToString());
|
||||
cell = row.CreateCell(6);
|
||||
var stateCellStyle = cellStyle;
|
||||
//if (state == "0")
|
||||
//{
|
||||
// stateCellStyle.FillForegroundColor = IndexedColors.Green.Index;
|
||||
// //stateCellStyle.FillBackgroundColor = IndexedColors.Green.Index;
|
||||
//}
|
||||
//else if (state == "2" || state == "3")
|
||||
//{
|
||||
// //stateCellStyle.FillForegroundColor = IndexedColors.Blue.Index;
|
||||
// stateCellStyle.FillBackgroundColor = IndexedColors.Blue.Index;
|
||||
//}
|
||||
//else if (state == "4")
|
||||
//{
|
||||
// //stateCellStyle.FillForegroundColor = IndexedColors.Red.Index;
|
||||
// stateCellStyle.FillBackgroundColor = IndexedColors.Red.Index;
|
||||
//}
|
||||
cell.CellStyle = stateCellStyle;
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue(tb.Rows[j]["StateStr"].ToString());
|
||||
cell = row.CreateCell(7);
|
||||
cell.CellStyle = cellStyle;
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ namespace FineUIPro.Web
|
|||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
var gjsxTypes = BLL.GJSXTypeService.GetGJSXTypeList();
|
||||
var allItems = from x in db.GJSX
|
||||
var allItems = from x in Funs.DB.GJSX
|
||||
where x.ProjectId == this.ProjectId && x.State != "1" && (x.CloseDate ?? DateTime.Now) > Convert.ToDateTime(x.CompleteDate)
|
||||
select x;
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
|
|
|||
|
|
@ -11,13 +11,13 @@
|
|||
<link rel="stylesheet" href="css/project.css" />
|
||||
<link rel="stylesheet" href="css/swiper-bundle.min.css" />
|
||||
<script src="lib/jquery.js"></script>
|
||||
<link rel="stylesheet" href="~/res/css/swiper.min.css" />
|
||||
<link rel="stylesheet" href="~/res/css/swiper.min.css">
|
||||
<script src="~/res/lib/flex.js"></script>
|
||||
<script src="~/res/lib/jquery.js"></script>
|
||||
<script src="~/res/lib/china.js"></script>
|
||||
<script src="~/res/lib/echarts.min.js"></script>
|
||||
<script src="~/res/lib/swiper.min.js"></script>
|
||||
<link rel="stylesheet" href="~/res/css/company.css?v=20250325" />
|
||||
<link rel="stylesheet" href="~/res/css/company.css">
|
||||
</head>
|
||||
<style>
|
||||
html, body {
|
||||
|
|
@ -83,82 +83,58 @@
|
|||
<div class="fx-box">
|
||||
<div class="yj-bars">
|
||||
<div class="yj-bar">
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,Quawarning %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,Quawarning %>" /></div>
|
||||
<div class="num"><%=EarlyWarningCounts %></div>
|
||||
</div>
|
||||
<div class="yj-bar">
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,MechanicalWarning %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,MechanicalWarning %>" /></div>
|
||||
<div class="num"><%=JxyjNum %></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wd-box">
|
||||
<div class="tit">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,DangerousProject %>" />
|
||||
</div>
|
||||
<div class="tit"><asp:Literal runat="server" Text="<%$ Resources:Lan,DangerousProject %>" /></div>
|
||||
<div class="inner">
|
||||
<div class="inner-box">
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,ApprovalCompleted %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,ApprovalCompleted %>" /></div>
|
||||
<div class="num"><%=CompletedNum %></div>
|
||||
</div>
|
||||
<span></span>
|
||||
<div class="inner-box">
|
||||
<div class="lab" style="width: 1rem">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,NumberOfTrainees %>" />
|
||||
</div>
|
||||
<div class="lab" style="width: 1rem"><asp:Literal runat="server" Text="<%$ Resources:Lan,NumberOfTrainees %>" /></div>
|
||||
<div class="num"><%=TrainPersonNum %></div>
|
||||
</div>
|
||||
<span></span>
|
||||
<div class="inner-box">
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,NumberOfConstructions %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,NumberOfConstructions %>" /></div>
|
||||
<div class="num"><%=ConstructionNum %></div>
|
||||
</div>
|
||||
<span></span>
|
||||
<div class="inner-box">
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,NumberOfCompletions %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,NumberOfCompletions %>" /></div>
|
||||
<div class="num"><%=FinishedNum %></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wd-box">
|
||||
<div class="tit">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,SuperDangerousProject %>" />
|
||||
</div>
|
||||
<div class="tit"><asp:Literal runat="server" Text="<%$ Resources:Lan,SuperDangerousProject %>" /></div>
|
||||
<div class="inner">
|
||||
<div class="inner-box">
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,ApprovalCompleted %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,ApprovalCompleted %>" /></div>
|
||||
<div class="num"><%=SuperCompletedNum %></div>
|
||||
</div>
|
||||
<span></span>
|
||||
<div class="inner-box">
|
||||
<div class="lab" style="width: 1rem;">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,NumberOfTrainees %>" />
|
||||
</div>
|
||||
<div class="lab" style="width: 1rem;"><asp:Literal runat="server" Text="<%$ Resources:Lan,NumberOfTrainees %>" /></div>
|
||||
<div class="num"><%=SuperTrainPersonNum %></div>
|
||||
</div>
|
||||
<span></span>
|
||||
<div class="inner-box">
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,NumberOfConstructions %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,NumberOfConstructions %>" /></div>
|
||||
<div class="num"><%=SuperConstructionNum %></div>
|
||||
</div>
|
||||
<span></span>
|
||||
<div class="inner-box">
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,NumberOfCompletions %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,NumberOfCompletions %>" /></div>
|
||||
<div class="num"><%=SuperFinishedNum %></div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -174,15 +150,11 @@
|
|||
<div class="main">
|
||||
<div class="total">
|
||||
<div class="glry">
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,QualityTraining %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,QualityTraining %>" /></div>
|
||||
<div class="num" id="divCqmsPxNum" runat="server">1307</div>
|
||||
</div>
|
||||
<div class="glry">
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,ConPlanReviewBatch %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,ConPlanReviewBatch %>" /></div>
|
||||
<div class="num" id="div_sgfaSpl" runat="server">5217</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -199,27 +171,19 @@
|
|||
</div>
|
||||
<div class="total">
|
||||
<div class="zyp">
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,LoseOneSTemper %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,LoseOneSTemper %>" /></div>
|
||||
<div class="num"><%=WrokCount0 %>/<%=AllWrokCount0 %></div>
|
||||
</div>
|
||||
<div class="zyp">
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,altitude %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,altitude %>" /></div>
|
||||
<div class="num"><%=WrokCount1 %>/<%=AllWrokCount1 %></div>
|
||||
</div>
|
||||
<div class="zyp">
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,altitude %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,altitude %>" /></div>
|
||||
<div class="num"><%=WrokCount2 %>/<%=AllWrokCount2 %></div>
|
||||
</div>
|
||||
<div class="zyp">
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,other %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,other %>" /></div>
|
||||
<div class="num"><%=WrokCount3 %>/<%=AllWrokCount3 %></div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -242,74 +206,54 @@
|
|||
<div class="c-site">
|
||||
<div class="num-box">
|
||||
<div class="num" id="divSafeWorkTime" runat="server">1656059</div>
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,SafetyLaborHours %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,SafetyLaborHours %>" /></div>
|
||||
</div>
|
||||
<div class="num-box">
|
||||
<div class="num" id="divSafeWorkTimeMonth" runat="server">0</div>
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_SafeWorkHoursThisMonth %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_SafeWorkHoursThisMonth %>" /></div>
|
||||
</div>
|
||||
<div class="num-box">
|
||||
<div class="num" id="divSafePersonNum" runat="server">1161</div>
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_TotalSafeTrainingPersonnel %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_TotalSafeTrainingPersonnel %>" /></div>
|
||||
</div>
|
||||
<div class="num-box">
|
||||
<div class="num" id="divSafeManagePersonNum" runat="server">3</div>
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_SafeManagementPersonnel %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_SafeManagementPersonnel %>" /></div>
|
||||
</div>
|
||||
<div class="num-box">
|
||||
<div class="num" runat="server" id="divWS">4564</div>
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_NearMissIncidents %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_NearMissIncidents %>" /></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="aqyh">
|
||||
<div class="an-boxs">
|
||||
<div>
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,RectificationData %>" />
|
||||
</div>
|
||||
<div><asp:Literal runat="server" Text="<%$ Resources:Lan,RectificationData %>" /></div>
|
||||
<div>
|
||||
<div class="dot">
|
||||
<div class="dot-c" style="background: #4F97F9;"></div>
|
||||
</div>
|
||||
<p>
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_TotalRectificationData %>" />
|
||||
</p>
|
||||
<p><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_TotalRectificationData %>" /></p>
|
||||
<p style="color: #4F97F9;" runat="server" id="div_zgsj">265</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="dot">
|
||||
<div class="dot-c" style="background: #12CDA2;"></div>
|
||||
</div>
|
||||
<p>
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,completed %>" />
|
||||
</p>
|
||||
<p><asp:Literal runat="server" Text="<%$ Resources:Lan,completed %>" /></p>
|
||||
<p style="color: #12CDA2;" runat="server" id="div_zgywc">265</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="dot">
|
||||
<div class="dot-c" style="background: #FF7474;"></div>
|
||||
</div>
|
||||
<p>
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_UncompletedRectification %>" />
|
||||
</p>
|
||||
<p><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_UncompletedRectification %>" /></p>
|
||||
<p style="color: #FF7474;" runat="server" id="div_zgwwc">12</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="dot">
|
||||
<div class="dot-c" style="background: #FFD130;"></div>
|
||||
</div>
|
||||
<p>
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_RectificationRate %>" />
|
||||
</p>
|
||||
<p><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_RectificationRate %>" /></p>
|
||||
<p style="color: #FFD130;" runat="server" id="div_zgwcl">100%</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -346,57 +290,28 @@
|
|||
|
||||
<div class="ht-boxs">
|
||||
<div class="ht-box">
|
||||
<div class="label">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_ContractDuration %>" />
|
||||
</div>
|
||||
<div class="label"><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_ContractDuration %>" /></div>
|
||||
<div class="value" id="divProjectDays" runat="server">0<span>天</span></div>
|
||||
</div>
|
||||
<div class="ht-box">
|
||||
<div class="label">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_ContractExpiryDate %>" />
|
||||
</div>
|
||||
<div class="label"><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_ContractExpiryDate %>" /></div>
|
||||
<div class="value" id="divEndDate" runat="server"></div>
|
||||
</div>
|
||||
<div class="ht-box">
|
||||
<div class="label">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_ContractRemaining %>" />
|
||||
</div>
|
||||
<div class="label"><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_ContractRemaining %>" /></div>
|
||||
<div class="value" id="divRemainingDays" runat="server">0<span>天</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="site aqtj jdtj">
|
||||
<div class="gjl">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_KeyMattersTimelinessRate %>" />
|
||||
<span><%=gjsxRate %></span>
|
||||
</div>
|
||||
<div class="site aqtj">
|
||||
<div class="gjl"><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_KeyMattersTimelinessRate %>" /> <span><%=gjsxRate %></span></div>
|
||||
<div class="label">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_ProgressStatistics %>" />
|
||||
</div>
|
||||
<div class="main">
|
||||
<div class="jdtj-tab">
|
||||
<div class="jdtj-btn jdtj-btn-act" id="span_jdtj" onclick="jdtjOnclick(0)" style="cursor: pointer">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_ProgressStatistics %>" />
|
||||
</div>
|
||||
<div class="jdtj-btn" onclick="jdtjOnclick(1)" id="span_weekJdtj" style="cursor: pointer">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_WeekPlanDone %>" />
|
||||
</div>
|
||||
<div class="jdtj-btn" onclick="jdtjOnclick(2)" id="span_monthJdtj" style="cursor: pointer">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_MonthPlanDone %>" />
|
||||
</div>
|
||||
</div>
|
||||
<%-- <div id="aq-map"></div>--%>
|
||||
<%--<div id='left_one' style="width: 100%; height: 100%;"></div>--%>
|
||||
<div id='left_one' style="width: 100%; height: 100%;"></div>
|
||||
<div id='jdtj-content' class="table" style="width: 100%; height: 100%; display: none;">
|
||||
<div class="row" id="div_jdtjHead">
|
||||
<%=WeekJdtjHead %>
|
||||
</div>
|
||||
<div class="t-body" id="div_jdtjList">
|
||||
<%=MonthJdtjHtml %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -408,27 +323,19 @@
|
|||
<div class="main">
|
||||
<div class="total">
|
||||
<div class="zg" style="cursor: pointer;" runat="server" onclick="showGztm(0)" id="div_Gzgjsx">
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_KeyMatters %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_KeyMatters %>" /></div>
|
||||
<div class="num" id="div_gjsx" runat="server">0</div>
|
||||
</div>
|
||||
<div class="zg" style="cursor: pointer" runat="server" onclick="showGztm(1)" id="div_Gzdbsx">
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_PendingMatters %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_PendingMatters %>" /></div>
|
||||
<div class="num" id="div_dbsx" runat="server">0</div>
|
||||
</div>
|
||||
<div class="zg" style="cursor: pointer" runat="server" onclick="showGztm(2)" id="div_Gzgrlc">
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_PersonalProcess %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_PersonalProcess %>" /></div>
|
||||
<div class="num" id="div_grlc" runat="server">0</div>
|
||||
</div>
|
||||
<div class="zg">
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_CompletedTasks %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_CompletedTasks %>" /></div>
|
||||
<div class="num" id="div_ybrw" runat="server">0</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -455,21 +362,15 @@
|
|||
</div>
|
||||
<div class="total">
|
||||
<div class="rs">
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,CurrentPersonnel %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,CurrentPersonnel %>" /></div>
|
||||
<div class="num" id="div_xcrs" runat="server">0</div>
|
||||
</div>
|
||||
<div class="rs">
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_TotalWorkers %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_TotalWorkers %>" /></div>
|
||||
<div class="num" runat="server" id="div_zyxcrs">0</div>
|
||||
</div>
|
||||
<div class="rs">
|
||||
<div class="lab">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,managersCount %>" />
|
||||
</div>
|
||||
<div class="lab"><asp:Literal runat="server" Text="<%$ Resources:Lan,managersCount %>" /></div>
|
||||
<div class="num" runat="server" id="div_glxcrs">0</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -481,47 +382,24 @@
|
|||
</div>
|
||||
<div class="main" style="padding: .1875rem .25rem;">
|
||||
<div class="cl-tab">
|
||||
<div class="cl-btn cl-btn-act" id="span_gdcl" onclick="clOnclick(0)" style="cursor: pointer">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_MaterialLabel %>" />
|
||||
</div>
|
||||
<div class="cl-btn" onclick="clOnclick(1)" id="span_sbcl" style="cursor: pointer">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_PipeMaterials %>" />
|
||||
</div>
|
||||
<div class="cl-btn cl-btn-act" id="span_gdcl" onclick="clOnclick(0)" style="cursor:pointer"><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_MaterialLabel %>" /></div>
|
||||
<div class="cl-btn" onclick="clOnclick(1)" id="span_sbcl" style="cursor:pointer"><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_PipeMaterials %>" /></div>
|
||||
</div>
|
||||
<div class="table">
|
||||
<div class="row" id="div_cldhHead">
|
||||
<div class="th-p"><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_MaterialCategory %>" /></div>
|
||||
<div class="th-p"><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_DesignQuantity %>" /></div>
|
||||
<div class="th-p">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_MaterialCategory %>" />
|
||||
<p><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_PurchaseQuantity %>" /></p>
|
||||
<p><span><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_PurchaseQuantity %>" /></span><span><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_Percentage %>" /></span></p>
|
||||
</div>
|
||||
<div class="th-p">
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_DesignQuantity %>" />
|
||||
<p><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_ArrivalQuantity %>" /></p>
|
||||
<p><span><asp:Literal runat="server" Text="<%$ Resources:Lan,HaveArrived %>" /></span><span><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_Percentage %>" /></span></p>
|
||||
</div>
|
||||
<div class="th-p">
|
||||
<p>
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_PurchaseQuantity %>" />
|
||||
</p>
|
||||
<p>
|
||||
<span>
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_PurchaseQuantity %>" /></span><span><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_Percentage %>" /></span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="th-p">
|
||||
<p>
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_ArrivalQuantity %>" />
|
||||
</p>
|
||||
<p>
|
||||
<span>
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,HaveArrived %>" /></span><span><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_Percentage %>" /></span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="th-p">
|
||||
<p>
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_IssueQuantity %>" />
|
||||
</p>
|
||||
<p>
|
||||
<span>
|
||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,MaterialReceived %>" /></span><span><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_Percentage %>" /></span>
|
||||
</p>
|
||||
<p><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_IssueQuantity %>" /></p>
|
||||
<p><span><asp:Literal runat="server" Text="<%$ Resources:Lan,MaterialReceived %>" /></span><span><asp:Literal runat="server" Text="<%$ Resources:Lan,mainProject2_Percentage %>" /></span></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="t-body" id="div_cldhList">
|
||||
|
|
@ -679,35 +557,7 @@
|
|||
</html>
|
||||
<script src="lib/swiper-bundle.min.js"></script>
|
||||
<script src="lib/echarts.min.js"></script>
|
||||
<script>
|
||||
|
||||
function jdtjOnclick(objval) {
|
||||
if (objval == 1) {
|
||||
$("#span_jdtj").removeClass("jdtj-btn-act");
|
||||
$("#span_weekJdtj").addClass("jdtj-btn-act");
|
||||
$("#span_monthJdtj").removeClass("jdtj-btn-act");
|
||||
$("#jdtj-content").show();
|
||||
$("#left_one").hide();
|
||||
$("#div_jdtjHead").html('<%=WeekJdtjHead%>');
|
||||
$("#div_jdtjList").html('<%=WeekJdtjHtml%>');
|
||||
} else if (objval == 2) {
|
||||
$("#span_jdtj").removeClass("jdtj-btn-act");
|
||||
$("#span_weekJdtj").removeClass("jdtj-btn-act");
|
||||
$("#span_monthJdtj").addClass("jdtj-btn-act");
|
||||
$("#jdtj-content").show();
|
||||
$("#left_one").hide();
|
||||
$("#div_jdtjHead").html('<%=MonthJdtjHead%>');
|
||||
$("#div_jdtjList").html('<%=MonthJdtjHtml%>');
|
||||
} else {
|
||||
$("#span_jdtj").addClass("jdtj-btn-act");
|
||||
$("#span_weekJdtj").removeClass("jdtj-btn-act");
|
||||
$("#span_monthJdtj").removeClass("jdtj-btn-act");
|
||||
$("#jdtj-content").hide();
|
||||
$("#left_one").show();
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
<script>
|
||||
|
||||
function clOnclick(objval) {
|
||||
|
|
|
|||
|
|
@ -107,8 +107,6 @@ namespace FineUIPro.Web.common
|
|||
|
||||
var treeTask = GetTreeAsync();
|
||||
var personTask = GetPersonAsync();
|
||||
var weekJdtjTask = GetWeekJDAsync();
|
||||
var monthJdtjTask = GetMonthJDAsync();
|
||||
var otherTasks = new List<Task>
|
||||
{
|
||||
BindSafetyStatisticsAsync(), // 安全统计模块
|
||||
|
|
@ -152,9 +150,6 @@ namespace FineUIPro.Web.common
|
|||
|
||||
Tree = await treeTask;
|
||||
Person = await personTask;
|
||||
|
||||
WeekJdtjHtml = await weekJdtjTask;
|
||||
MonthJdtjHtml = await monthJdtjTask;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -471,8 +466,7 @@ namespace FineUIPro.Web.common
|
|||
/// <returns></returns>
|
||||
protected async Task<int> GetCompletedNum()
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
return await Task.Run(() => {
|
||||
var result = Project_HSSEData_HSSEService.GetFinishedNum(ProjectId);
|
||||
return result;
|
||||
});
|
||||
|
|
@ -484,8 +478,7 @@ namespace FineUIPro.Web.common
|
|||
/// <returns></returns>
|
||||
protected async Task<int> GetConstructionNum()
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
return await Task.Run(() => {
|
||||
var result = Project_HSSEData_HSSEService.GetConstructionNum(ProjectId);
|
||||
return result;
|
||||
});
|
||||
|
|
@ -496,8 +489,7 @@ namespace FineUIPro.Web.common
|
|||
/// </summary>
|
||||
protected async Task<int> getEarlyWarningCounts()
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
return await Task.Run(() => {
|
||||
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
|
||||
|
|
@ -515,8 +507,7 @@ namespace FineUIPro.Web.common
|
|||
/// <returns></returns>
|
||||
protected async Task<int> GetFinishedNum()
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
return await Task.Run(() => {
|
||||
var result = Project_HSSEData_HSSEService.GetFinishedNum(ProjectId);
|
||||
return result;
|
||||
});
|
||||
|
|
@ -528,8 +519,7 @@ namespace FineUIPro.Web.common
|
|||
/// <returns></returns>
|
||||
protected async Task<int> GetJxyjNum()
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
return await Task.Run(() => {
|
||||
int result = 0;
|
||||
//机具报验的到期提醒和过期提醒记录数加一起
|
||||
////机具报验的到期提醒数
|
||||
|
|
@ -549,8 +539,7 @@ namespace FineUIPro.Web.common
|
|||
/// <returns></returns>
|
||||
protected async Task<int> GetSuperCompletedNum()
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
return await Task.Run(() => {
|
||||
var result = Project_HSSEData_HSSEService.GetSuperFinishedNum(ProjectId);
|
||||
return result;
|
||||
});
|
||||
|
|
@ -562,8 +551,7 @@ namespace FineUIPro.Web.common
|
|||
/// <returns></returns>
|
||||
protected async Task<int> GetSuperConstructionNum()
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
return await Task.Run(() => {
|
||||
var result = Project_HSSEData_HSSEService.GetSuperConstructionNum(ProjectId);
|
||||
return result;
|
||||
});
|
||||
|
|
@ -575,8 +563,7 @@ namespace FineUIPro.Web.common
|
|||
/// <returns></returns>
|
||||
protected async Task<int> GetSuperFinishedNum()
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
return await Task.Run(() => {
|
||||
var result = Project_HSSEData_HSSEService.GetSuperFinishedNum(ProjectId);
|
||||
return result;
|
||||
});
|
||||
|
|
@ -588,8 +575,7 @@ namespace FineUIPro.Web.common
|
|||
/// <returns></returns>
|
||||
protected async Task<int> GetSuperTrainPersonNum()
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
return await Task.Run(() => {
|
||||
var result = Project_HSSEData_HSSEService.GetSuperTrainPersonNum(ProjectId);
|
||||
return result;
|
||||
});
|
||||
|
|
@ -601,8 +587,7 @@ namespace FineUIPro.Web.common
|
|||
/// <returns></returns>
|
||||
protected async Task<int> GetTrainPersonNum()
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
return await Task.Run(() => {
|
||||
var result = Project_HSSEData_HSSEService.GetTrainPersonNum(ProjectId);
|
||||
return result;
|
||||
});
|
||||
|
|
@ -728,8 +713,7 @@ namespace FineUIPro.Web.common
|
|||
|
||||
protected async Task<int> getALLWrokCount0()
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
return await Task.Run(() => {
|
||||
var result = GetLicenseQuery().Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "动火作业许可证").ToList().Count;
|
||||
return result;
|
||||
});
|
||||
|
|
@ -737,8 +721,7 @@ namespace FineUIPro.Web.common
|
|||
|
||||
protected async Task<int> getALLWrokCount1()
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
return await Task.Run(() => {
|
||||
var result = GetLicenseQuery().Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "高处作业许可证").ToList().Count;
|
||||
return result;
|
||||
});
|
||||
|
|
@ -746,8 +729,7 @@ namespace FineUIPro.Web.common
|
|||
|
||||
protected async Task<int> getALLWrokCount2()
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
return await Task.Run(() => {
|
||||
var result = GetLicenseQuery().Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "吊装作业许可证").ToList().Count;
|
||||
return result;
|
||||
});
|
||||
|
|
@ -755,8 +737,7 @@ namespace FineUIPro.Web.common
|
|||
|
||||
protected async Task<int> getALLWrokCount3()
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
return await Task.Run(() => {
|
||||
var result = GetLicenseQuery().Where(x => x.ProjectId == ProjectId
|
||||
&& x.LicenseTypeName != "动火作业许可证" && x.LicenseTypeName != "高处作业许可证" && x.LicenseTypeName != "吊装作业许可证").ToList().Count;
|
||||
return result;
|
||||
|
|
@ -774,32 +755,28 @@ namespace FineUIPro.Web.common
|
|||
/// <returns></returns>
|
||||
protected async Task<int> getWrokCount0()
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
return await Task.Run(() => {
|
||||
var result = GetLicenseQuery().Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "动火作业许可证" && x.WorkStatesStr == "作业中").ToList().Count;
|
||||
return result;
|
||||
});
|
||||
}
|
||||
protected async Task<int> getWrokCount1()
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
return await Task.Run(() => {
|
||||
var result = GetLicenseQuery().Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "高处作业许可证" && x.WorkStatesStr == "作业中").ToList().Count;
|
||||
return result;
|
||||
});
|
||||
}
|
||||
protected async Task<int> getWrokCount2()
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
return await Task.Run(() => {
|
||||
var result = GetLicenseQuery().Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "吊装作业许可证" && x.WorkStatesStr == "作业中").ToList().Count;
|
||||
return result;
|
||||
});
|
||||
}
|
||||
protected async Task<int> getWrokCount3()
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
return await Task.Run(() => {
|
||||
var result = GetLicenseQuery().Where(x => x.ProjectId == ProjectId
|
||||
&& x.LicenseTypeName != "动火作业许可证" && x.LicenseTypeName != "高处作业许可证" && x.LicenseTypeName != "吊装作业许可证" && x.WorkStatesStr == "作业中").ToList().Count;
|
||||
return result;
|
||||
|
|
@ -1141,7 +1118,6 @@ namespace FineUIPro.Web.common
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
protected async Task<string> GetTreeAsync()
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
|
|
@ -1183,134 +1159,6 @@ namespace FineUIPro.Web.common
|
|||
|
||||
#endregion 赢得值曲线
|
||||
|
||||
#region 进度统计
|
||||
|
||||
protected string WeekJdtjHtml;
|
||||
//protected string WeekJdtjHead = "<div class=\"th-p\" >序号</div><div class=\"th-p\" >单位</div><div class=\"th-p\"><p>上周完成情况</p><p><span>计划项</span><span>完成项</span><span>百分比</span></p></div><div class=\"th-p\"><p>累计完成情况</p><p><span>计划项</span><span>完成项</span><span>百分比</span></p></div>";
|
||||
protected string WeekJdtjHead = "<div class=\"th-p\" >单位</div><div class=\"th-p\"><p>上周完成情况</p><p><span>计划项</span><span>完成项</span><span>百分比</span></p></div><div class=\"th-p\"><p>累计完成情况</p><p><span>计划项</span><span>完成项</span><span>百分比</span></p></div>";
|
||||
|
||||
protected string MonthJdtjHtml;
|
||||
//protected string MonthJdtjHead = "<div class=\"th-p\">序号</div><div class=\"th-p\">单位</div><div class=\"th-p\"><p>上月完成情况</p><p><span>计划项</span><span>完成项</span><span>百分比</span></p></div><div class=\"th-p\"><p>累计完成情况</p><p><span>计划项</span><span>完成项</span><span>百分比</span></p></div>";
|
||||
protected string MonthJdtjHead = "<div class=\"th-p\">单位</div><div class=\"th-p\"><p>上月完成情况</p><p><span>计划项</span><span>完成项</span><span>百分比</span></p></div><div class=\"th-p\"><p>累计完成情况</p><p><span>计划项</span><span>完成项</span><span>百分比</span></p></div>";
|
||||
|
||||
/// <summary>
|
||||
/// 周进度完成情况
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
protected async Task<string> GetWeekJDAsync()
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
string weekGridHtml = string.Empty;
|
||||
//获取当前时间所在周信息
|
||||
var lastWeek = WeekPlanService.GetLastWeekPlan(this.CurrUser.LoginProjectId);
|
||||
////根据当前时间获取上一个周计划信息
|
||||
//var lastWeekItem = WeekItemService.GetWeekItemByDateNow(this.CurrUser.LoginProjectId);
|
||||
if (lastWeek != null)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
//1、获取本项目周进度计划中所有责任单位Id
|
||||
var units = (from x in db.JDGL_WeekPlan
|
||||
join y in db.Base_Unit on x.UnitId equals y.UnitId
|
||||
where x.ProjectId == this.CurrUser.LoginProjectId && x.EndDate <= lastWeek.EndDate
|
||||
orderby x.UnitId
|
||||
select new { x.UnitId, y.UnitName }).Distinct().ToList();
|
||||
//2、获取当前项目指定周所有计划
|
||||
var allWeekPlans = (from x in db.JDGL_WeekPlan
|
||||
where x.ProjectId == this.CurrUser.LoginProjectId && x.WeekNo == lastWeek.WeekNo
|
||||
orderby x.UnitId
|
||||
select x).ToList();
|
||||
//3、获取当前项目所有周计划
|
||||
var allPlans = (from x in db.JDGL_WeekPlan
|
||||
join y in db.Base_Unit on x.UnitId equals y.UnitId
|
||||
where x.ProjectId == this.CurrUser.LoginProjectId && x.EndDate <= lastWeek.EndDate
|
||||
orderby x.UnitId
|
||||
select x).ToList();
|
||||
StringBuilder sb = new StringBuilder();
|
||||
int index = 1;
|
||||
foreach (var unit in units)
|
||||
{
|
||||
double weekPlanNum = allWeekPlans.Where(x => x.UnitId == unit.UnitId).Count();
|
||||
double weekPlanOkNum = allWeekPlans.Where(x => x.UnitId == unit.UnitId && x.IsOK == true).Count();
|
||||
double weekRate = weekPlanNum > 0 ? Math.Round((weekPlanOkNum / weekPlanNum) * 100, 2) : 0;
|
||||
double allWeekPlanNum = allPlans.Where(x => x.UnitId == unit.UnitId).Count();
|
||||
double allWeekPlanOkNum = allPlans.Where(x => x.UnitId == unit.UnitId && x.IsOK == true).Count();
|
||||
double allWeekRate = allWeekPlanNum > 0 ? Math.Round((allWeekPlanOkNum / allWeekPlanNum) * 100, 2) : 0;
|
||||
sb.Append("<div class=\"row\">");
|
||||
//sb.Append($"<div class=\"tr\" >{index}</div>");
|
||||
sb.Append($"<div class=\"tr\" >{unit.UnitName}</div>");
|
||||
sb.Append($"<div class=\"tr\" ><p><span>{weekPlanNum}</span><span>{weekPlanOkNum}</span><span>{weekRate}%</span></p></div>");
|
||||
sb.Append($"<div class=\"tr\" ><p><span>{allWeekPlanNum}</span><span>{allWeekPlanOkNum}</span><span>{allWeekRate}%</span></p></div>");
|
||||
sb.Append("</div>");
|
||||
index++;
|
||||
}
|
||||
weekGridHtml = sb.ToString();
|
||||
}
|
||||
return weekGridHtml;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 月进度完成情况
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
protected async Task<string> GetMonthJDAsync()
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
string monthGridHtml = string.Empty;
|
||||
//统计月份信息
|
||||
DateTime months = Convert.ToDateTime(DateTime.Now.Year.ToString() + "-" + DateTime.Now.Month.ToString() + "-01");
|
||||
if (DateTime.Now.Day < 26)
|
||||
{
|
||||
months = Convert.ToDateTime(DateTime.Now.Year.ToString() + "-" + DateTime.Now.AddMonths(-1).Month.ToString() + "-01");
|
||||
}
|
||||
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
//1、获取本项目月进度计划中所有责任单位Id
|
||||
var units = (from x in db.JDGL_MonthPlan
|
||||
join y in db.Base_Unit on x.UnitId equals y.UnitId
|
||||
where x.ProjectId == this.CurrUser.LoginProjectId && x.Months <= months
|
||||
orderby x.UnitId
|
||||
select new { x.UnitId, y.UnitName }).Distinct().ToList();
|
||||
//2、获取当前项目指定月所有计划
|
||||
var allMonthPlans = (from x in db.JDGL_MonthPlan
|
||||
where x.ProjectId == this.CurrUser.LoginProjectId && x.Months == months
|
||||
orderby x.UnitId
|
||||
select x).ToList();
|
||||
//3、获取当前项目所有月计划
|
||||
var allPlans = (from x in db.JDGL_MonthPlan
|
||||
join y in db.Base_Unit on x.UnitId equals y.UnitId
|
||||
where x.ProjectId == this.CurrUser.LoginProjectId && x.Months <= months
|
||||
orderby x.UnitId
|
||||
select x).ToList();
|
||||
StringBuilder sb = new StringBuilder();
|
||||
int index = 1;
|
||||
foreach (var unit in units)
|
||||
{
|
||||
double monthPlanNum = allMonthPlans.Where(x => x.UnitId == unit.UnitId).Count();
|
||||
double monthPlanOkNum = allMonthPlans.Where(x => x.UnitId == unit.UnitId && x.RealDate != null).Count();
|
||||
double monthRate = monthPlanNum > 0 ? Math.Round((monthPlanOkNum / monthPlanNum) * 100, 2) : 0;
|
||||
double allMonthPlanNum = allPlans.Where(x => x.UnitId == unit.UnitId).Count();
|
||||
double allMonthPlanOkNum = allPlans.Where(x => x.UnitId == unit.UnitId && x.RealDate != null).Count();
|
||||
double allMonthRate = allMonthPlanNum > 0 ? Math.Round((allMonthPlanOkNum / allMonthPlanNum) * 100, 2) : 0;
|
||||
sb.Append("<div class=\"row\">");
|
||||
//sb.Append($"<div class=\"tr\" >{index}</div>");
|
||||
sb.Append($"<div class=\"tr\" >{unit.UnitName}</div>");
|
||||
sb.Append($"<div class=\"tr\" ><p><span>{monthPlanNum}</span><span>{monthPlanOkNum}</span><span>{monthRate}%</span></p></div>");
|
||||
sb.Append($"<div class=\"tr\" ><p><span>{allMonthPlanNum}</span><span>{allMonthPlanOkNum}</span><span>{allMonthRate}%</span></p></div>");
|
||||
sb.Append("</div>");
|
||||
index++;
|
||||
}
|
||||
monthGridHtml = sb.ToString();
|
||||
return monthGridHtml;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region 人力情况
|
||||
|
||||
protected string Person
|
||||
|
|
|
|||
|
|
@ -152,6 +152,7 @@ body {
|
|||
display: flex;
|
||||
flex-direction: row;
|
||||
/* padding: 0 .25rem .25rem; */
|
||||
|
||||
}
|
||||
|
||||
.zl .zl-maps>div {
|
||||
|
|
@ -213,6 +214,7 @@ body {
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
|
||||
}
|
||||
|
||||
.zlzg>.main>.total>.zg {
|
||||
|
|
@ -403,22 +405,6 @@ body {
|
|||
color: #00FFFF;
|
||||
}
|
||||
|
||||
.jdtj-tab {
|
||||
padding: .125rem 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.jdtj-tab > .jdtj-btn {
|
||||
padding: 0 .25rem;
|
||||
font-size: .175rem;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.jdtj-tab > .jdtj-btn-act {
|
||||
color: #00FFFF;
|
||||
}
|
||||
|
||||
.table {
|
||||
height: calc(100% - .5rem);
|
||||
|
|
@ -455,6 +441,7 @@ body {
|
|||
justify-content: flex-start;
|
||||
color: #FFFFFF;
|
||||
font-size: .175rem;
|
||||
|
||||
}
|
||||
|
||||
.table>.t-body>.row:nth-child(2n) {
|
||||
|
|
@ -476,7 +463,9 @@ body {
|
|||
@font-face {
|
||||
font-family: 'iconfont';
|
||||
/* Project id 4582260 */
|
||||
src: url('../font/iconfont.woff2') format('woff2'), url('../font/iconfont.woff') format('woff'), url('../font/iconfont.ttf') format('truetype');
|
||||
src: url('../font/iconfont.woff2') format('woff2'),
|
||||
url('../font/iconfont.woff') format('woff'),
|
||||
url('../font/iconfont.ttf') format('truetype');
|
||||
}
|
||||
|
||||
.iconfont {
|
||||
|
|
@ -525,6 +514,7 @@ body {
|
|||
}
|
||||
|
||||
.nav-center>h1 {
|
||||
|
||||
font-size: .375rem;
|
||||
text-align: center;
|
||||
margin-top: .25rem;
|
||||
|
|
@ -639,23 +629,19 @@ body {
|
|||
width: 2.05rem;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.fx>.main{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.fx-box{
|
||||
width: calc(100% - 2.3rem);
|
||||
height: 100%;
|
||||
padding: .25rem;
|
||||
}
|
||||
|
||||
.fx-box>.yj-bars{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.fx-box>.yj-bars>.yj-bar{
|
||||
padding-left: .75rem;
|
||||
height: .725rem;
|
||||
|
|
@ -665,12 +651,10 @@ body {
|
|||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.fx-box>.yj-bars>.yj-bar>.lab{
|
||||
color: #8B98A5;
|
||||
font-size: .175rem;
|
||||
}
|
||||
|
||||
.fx-box>.yj-bars>.yj-bar>.num{
|
||||
font-size: .3rem;
|
||||
background-image: linear-gradient(180deg, #FFFFFF 40%, #00FFFF);
|
||||
|
|
@ -678,23 +662,19 @@ body {
|
|||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
||||
.fx-box>.yj-bars>.yj-bar:nth-child(1){
|
||||
background-image: url(../images/18.png);
|
||||
background-position: center left;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.fx-box>.yj-bars>.yj-bar:nth-child(2){
|
||||
background-image: url(../images/19.png);
|
||||
background-position: center left;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.wd-box{
|
||||
padding-top: .25rem;
|
||||
}
|
||||
|
||||
.wd-box>.tit{
|
||||
padding-left: .125rem;
|
||||
height: .3rem;
|
||||
|
|
@ -710,7 +690,6 @@ body {
|
|||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.wd-box>.inner>.inner-box{
|
||||
height: .575rem;
|
||||
width: calc(100% - .825rem);
|
||||
|
|
@ -719,20 +698,16 @@ body {
|
|||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.wd-box>.inner>.inner-box>.lab{
|
||||
font-size: .15rem;
|
||||
color: #DADADA;
|
||||
}
|
||||
|
||||
.wd-box>.inner>.inner-box>.num{
|
||||
font-size: .25rem;
|
||||
}
|
||||
|
||||
.wd-box>.inner>.inner-box:nth-of-type(1)>.num{
|
||||
color: #1C92FF;
|
||||
}
|
||||
|
||||
.wd-box>.inner>.inner-box:nth-of-type(2)>.num{
|
||||
color: #FEB185;
|
||||
}
|
||||
|
|
@ -759,6 +734,7 @@ body {
|
|||
.aqyh{
|
||||
width: 100%;
|
||||
padding: .375rem .5rem;
|
||||
|
||||
}
|
||||
|
||||
.aqyh>.an-boxs{
|
||||
|
|
@ -766,7 +742,6 @@ body {
|
|||
flex-direction: row;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.aqyh>.an-boxs>div{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
|
@ -775,7 +750,6 @@ body {
|
|||
font-size: .175rem;
|
||||
color: #DADADA;
|
||||
}
|
||||
|
||||
.aqyh>.an-boxs>div>.dot{
|
||||
width: .15rem;
|
||||
height: .15rem;
|
||||
|
|
@ -785,20 +759,17 @@ body {
|
|||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.aqyh>.an-boxs>div>.dot>.dot-c{
|
||||
width: .125rem;
|
||||
height: .125rem;
|
||||
border-radius: 50%;
|
||||
background-color: #4F97F9;
|
||||
}
|
||||
|
||||
.aqyh>.an-boxs>div>p:nth-of-type(1){
|
||||
padding: 0 .125rem;
|
||||
font-size: .175rem;
|
||||
color: #DADADA;
|
||||
}
|
||||
|
||||
.aqyh>.an-boxs>div>p:nth-of-type(2){
|
||||
font-size: .25rem;
|
||||
}
|
||||
|
|
@ -822,7 +793,6 @@ body {
|
|||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.ht-boxs>.ht-box{
|
||||
height: .875rem;
|
||||
width: 2.75rem;
|
||||
|
|
@ -850,7 +820,6 @@ body {
|
|||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
||||
.ht-box>.value>span{
|
||||
font-size: .175rem;
|
||||
color: #63CAFF;
|
||||
|
|
@ -866,9 +835,7 @@ body {
|
|||
|
||||
.aerial-view>.swiper .swiper-slide>.detail-box{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;left: 0;right: 0;
|
||||
height: 1.25rem;
|
||||
background: rgba(0,0,0,0.6);
|
||||
padding: .2rem .25rem;
|
||||
|
|
@ -876,18 +843,15 @@ body {
|
|||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.aerial-view>.swiper .swiper-slide>.detail-box>.title{
|
||||
color: #ffffff;
|
||||
font-size: .225rem;
|
||||
}
|
||||
|
||||
.aerial-view>.swiper .swiper-slide>.detail-box>.det-row{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.aerial-view>.swiper .swiper-slide>.detail-box>.det-row>.col{
|
||||
width: 32%;
|
||||
display: flex;
|
||||
|
|
@ -917,17 +881,14 @@ body {
|
|||
background-image: none;
|
||||
padding: 0 .375rem;
|
||||
}
|
||||
|
||||
.aqtj>.gjl{
|
||||
position: absolute;
|
||||
top: -0.125rem;
|
||||
right: .25rem;
|
||||
top: -0.125rem;right: .25rem;
|
||||
font-size: .175rem;
|
||||
text-align: right;
|
||||
padding-right: .125rem;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.aqtj>.gjl>span{
|
||||
color: #E9E931;
|
||||
font-size: .25rem;
|
||||
|
|
@ -939,7 +900,6 @@ body {
|
|||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.zy{
|
||||
height: 2.875rem;
|
||||
}
|
||||
|
|
@ -950,7 +910,6 @@ body {
|
|||
justify-content: space-between;
|
||||
padding: .1875rem .25rem;
|
||||
}
|
||||
|
||||
.zy>.total>.zyp{
|
||||
height: .475rem;
|
||||
width: 1.425rem;
|
||||
|
|
@ -964,12 +923,10 @@ body {
|
|||
align-items: center;
|
||||
padding: 0 .1rem;
|
||||
}
|
||||
|
||||
.zy>.total>.zyp>.lab{
|
||||
font-size: .175rem;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.zy>.total>.zyp>.num{
|
||||
font-size: .2rem;
|
||||
background-image: linear-gradient(180deg, #FFFFFF 40%, #00FFFF);
|
||||
|
|
@ -977,7 +934,6 @@ body {
|
|||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
||||
.zy>.zy-table{
|
||||
height: 1.5rem;
|
||||
width: 100%;
|
||||
|
|
@ -985,7 +941,6 @@ body {
|
|||
overflow: hidden;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.zy>.zy-table>.row{
|
||||
height: .45rem;
|
||||
line-height: .45rem;
|
||||
|
|
@ -996,11 +951,9 @@ body {
|
|||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.zy>.zy-table>.row:nth-child(2n-1){
|
||||
background-color: #0D2A54;
|
||||
}
|
||||
|
||||
.zy>.zy-table>.row>a{
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
|
|
@ -1009,7 +962,6 @@ body {
|
|||
.gz{
|
||||
height: 3.75rem;
|
||||
}
|
||||
|
||||
.gz .total{
|
||||
margin-top: .25rem;
|
||||
display: flex;
|
||||
|
|
@ -1017,7 +969,6 @@ body {
|
|||
justify-content: space-between;
|
||||
padding: 0 .25rem;
|
||||
}
|
||||
|
||||
.gz .total>.zg{
|
||||
width: 1.425rem;
|
||||
height: .475rem;
|
||||
|
|
@ -1030,12 +981,10 @@ body {
|
|||
align-items: center;
|
||||
padding: 0 .1rem;
|
||||
}
|
||||
|
||||
.gz .total>.zg>.lab{
|
||||
font-size: .175rem;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.gz .total>.zg>.num{
|
||||
font-weight: bold;
|
||||
font-size: .2rem;
|
||||
|
|
@ -1044,7 +993,6 @@ body {
|
|||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
||||
.gz ul{
|
||||
height: calc(100% - .975rem);
|
||||
padding: .25rem .25rem 0;
|
||||
|
|
@ -1053,7 +1001,6 @@ body {
|
|||
overflow: hidden;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.gz ul>li{
|
||||
line-height: .5rem;
|
||||
overflow: hidden;
|
||||
|
|
@ -1062,11 +1009,9 @@ body {
|
|||
width: 100%;
|
||||
padding-left: .25rem;
|
||||
}
|
||||
|
||||
.gz ul>li:nth-child(2n-1){
|
||||
background-color: #0D2A54 ;
|
||||
}
|
||||
|
||||
ul,li{
|
||||
list-style: none;
|
||||
}
|
||||
|
|
@ -1079,15 +1024,13 @@ ul, li {
|
|||
.cltj{
|
||||
height: 3.875rem;
|
||||
}
|
||||
|
||||
.cltj .table{
|
||||
max-height: calc(100% - .5rem);
|
||||
}
|
||||
|
||||
.cltj .table>.row{
|
||||
height: .5rem;
|
||||
}
|
||||
|
||||
}
|
||||
.cltj .table > .row > .th-p {
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
|
|
@ -1097,15 +1040,12 @@ ul, li {
|
|||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.cltj .table > .row > .th-p:nth-child(1) {
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
.cltj .table > .row > .th-p:last-child {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.cltj .table > .row > .th-p > p {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
|
|
@ -1113,27 +1053,22 @@ ul, li {
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.cltj .table > .row > .th-p > p:last-child {
|
||||
border-top: 1px solid #1B538B;
|
||||
}
|
||||
|
||||
.cltj .table > .row > .th-p > p > span {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
padding: 0 .025rem;
|
||||
border-right: 1px solid #1B538B;
|
||||
}
|
||||
|
||||
.cltj .table > .row > .th-p > p > span:last-child {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.cltj .table>.t-body{
|
||||
width: 100%;
|
||||
height: calc(100% - .5rem);
|
||||
}
|
||||
|
||||
.cltj .table>.t-body>.row{
|
||||
width: 100%;
|
||||
height: .375rem;
|
||||
|
|
@ -1142,7 +1077,6 @@ ul, li {
|
|||
justify-content: flex-start;
|
||||
align-items: center; */
|
||||
}
|
||||
|
||||
.cltj .table>.t-body>.row>.tr{
|
||||
flex: 1;
|
||||
font-size: .15rem;
|
||||
|
|
@ -1158,11 +1092,9 @@ ul, li {
|
|||
padding: 0 .05rem;
|
||||
overflow-x: scroll;
|
||||
}
|
||||
|
||||
.cltj .table>.t-body>.row>.tr:last-child{
|
||||
border: none;
|
||||
}
|
||||
|
||||
.cltj .table>.t-body>.row>.tr>p{
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
|
|
@ -1171,7 +1103,6 @@ ul, li {
|
|||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.cltj .table>.t-body>.row>.tr>p>span{
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
|
|
@ -1181,129 +1112,15 @@ ul, li {
|
|||
/* text-overflow: ellipsis; */
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.cltj .table>.t-body>.row>.tr>p>span:last-child{
|
||||
border: none;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
.jdtj {
|
||||
height: 3.875rem;
|
||||
}
|
||||
|
||||
.jdtj .table {
|
||||
max-height: calc(100% - .5rem);
|
||||
}
|
||||
|
||||
.jdtj .table > .row {
|
||||
height: .5rem;
|
||||
}
|
||||
|
||||
.jdtj .table > .row > .th-p {
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
border-right: 1px solid #1B538B;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.jdtj .table > .row > .th-p:nth-child(1) {
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
.jdtj .table > .row > .th-p:last-child {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.jdtj .table > .row > .th-p > p {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.jdtj .table > .row > .th-p > p:last-child {
|
||||
border-top: 1px solid #1B538B;
|
||||
}
|
||||
|
||||
.jdtj .table > .row > .th-p > p > span {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
padding: 0 .025rem;
|
||||
border-right: 1px solid #1B538B;
|
||||
}
|
||||
|
||||
.jdtj .table > .row > .th-p > p > span:last-child {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.jdtj .table > .t-body {
|
||||
width: 100%;
|
||||
height: calc(100% - .5rem);
|
||||
}
|
||||
|
||||
.jdtj .table > .t-body > .row {
|
||||
width: 100%;
|
||||
height: .375rem;
|
||||
/* display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start;
|
||||
align-items: center; */
|
||||
}
|
||||
|
||||
.jdtj .table > .t-body > .row > .tr {
|
||||
flex: 1;
|
||||
font-size: .15rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: .375rem;
|
||||
border-right: 1px solid #1B538B;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
padding: 0 .05rem;
|
||||
overflow-x: scroll;
|
||||
}
|
||||
|
||||
.jdtj .table > .t-body > .row > .tr:last-child {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.jdtj .table > .t-body > .row > .tr > p {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.jdtj .table > .t-body > .row > .tr > p > span {
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
border-right: 1px solid #1B538B;
|
||||
line-height: .375rem;
|
||||
overflow: hidden;
|
||||
/* text-overflow: ellipsis; */
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.jdtj .table > .t-body > .row > .tr > p > span:last-child {
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
||||
.p-t-btns{
|
||||
justify-content: flex-end;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.p-t-btn>.t-btn{
|
||||
width: auto;
|
||||
}
|
||||
|
|
@ -1328,7 +1145,6 @@ ul, li {
|
|||
width: 1.025rem;
|
||||
font-size: .15rem;
|
||||
}
|
||||
|
||||
.c-n-btn-r{
|
||||
width: 1.025rem;
|
||||
font-size: .15rem;
|
||||
|
|
|
|||
Loading…
Reference in New Issue