This commit is contained in:
夏菊 2026-01-05 17:58:23 +08:00
parent a4cd51a53a
commit 75ce4655b4
2 changed files with 4 additions and 4 deletions

View File

@ -148,7 +148,7 @@
<i></i> <i></i>
<div> <div>
<h6 class="gradient_white_blue">合同总工期</h6> <h6 class="gradient_white_blue">合同总工期</h6>
<p><span class="gradient_white_blue">{{form?.projectInfo?.projectDays || 0}}</span><span>天<span></p> <p><span class="gradient_white_blue">{{form?.projectInfo?.projectDays || 0}}</span><span>天</span></p>
</div> </div>
</div> </div>
<div class="flex_row_start_center"> <div class="flex_row_start_center">
@ -162,7 +162,7 @@
<i></i> <i></i>
<div> <div>
<h6 class="gradient_white_blue">距竣工剩余</h6> <h6 class="gradient_white_blue">距竣工剩余</h6>
<p><span class="gradient_white_yellow">{{form?.projectInfo?.projectEndDays || 0}}</span><span>天<span></p> <p><span class="gradient_white_yellow">{{form?.projectInfo?.projectEndDays || 0}}</span><span>天</span></p>
</div> </div>
</div> </div>
</div> </div>

View File

@ -78,8 +78,8 @@ namespace FineUIPro.Web.common
accidentWarning = (from x in list select new { Title = x.Title, AccidentDate = x.AccidentDate.ToString("yyyy-MM-dd") }).ToList(), accidentWarning = (from x in list select new { Title = x.Title, AccidentDate = x.AccidentDate.ToString("yyyy-MM-dd") }).ToList(),
projectInfo = new projectInfo = new
{ {
participateInNum = hsseData.JoinConstructionPersonNum ?? 0, participateInNum = hsseData != null ? hsseData.JoinConstructionPersonNum ?? 0 : 0,
dangerousProject = hsseData.MajorProjectsUnderConstructionNum ?? 0, dangerousProject = hsseData != null ? hsseData.MajorProjectsUnderConstructionNum ?? 0 : 0,
projectDays = projectDays,//项目总工期 projectDays = projectDays,//项目总工期
projectEndDate = project.EndDate != null ? string.Format("{0:yyyy-MM-dd}", project.EndDate) : string.Empty,//项目到期时间 projectEndDate = project.EndDate != null ? string.Format("{0:yyyy-MM-dd}", project.EndDate) : string.Empty,//项目到期时间
projectEndDays = endDays > 0 ? endDays : 0,//合同倒计时 projectEndDays = endDays > 0 ? endDays : 0,//合同倒计时