1大屏
This commit is contained in:
@@ -69,9 +69,39 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="site_500" style="height: 3.1rem; margin-bottom: 0.25rem">
|
||||
<h2><span class="gradient_white_blue">安全隐患排查治理</span></h2>
|
||||
<div id="safety1" class="site_content">
|
||||
<div class="site_500 jshover" style="height: 3.1rem; margin-bottom: 0.25rem" data-type="CheckProblemSafety">
|
||||
<h2><span class="gradient_white_blue">安全不符合项清单</span></h2>
|
||||
<div id="safety11" class="site_content risk">
|
||||
<div class="flex_row_center_center">
|
||||
<i></i>
|
||||
<div class="flex_column_between_start">
|
||||
<h6>管控红线</h6>
|
||||
<p><span>{{form?.checkProblemSafety?.redProblemNum}}</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex_row_center_center">
|
||||
<i></i>
|
||||
<div class="flex_column_between_start">
|
||||
<h6>危险作业许可</h6>
|
||||
<p><span>{{form?.checkProblemSafety?.dangerProblemNum}}</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex_row_center_center">
|
||||
<i></i>
|
||||
<div class="flex_column_between_start">
|
||||
<h6>较大隐患</h6>
|
||||
<p><span>{{form?.checkProblemSafety?.largerProblemNum}}</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex_row_center_center">
|
||||
<i></i>
|
||||
<div class="flex_column_between_start">
|
||||
<h6>一般隐患</h6>
|
||||
<p><span>{{form?.checkProblemSafety?.generalProblemNum}}</span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%--<div id="safety1" class="site_content">
|
||||
<div>
|
||||
<h3 class="tit"><span>项目级检查</span></h3>
|
||||
<div class="flex_column_start_start">
|
||||
@@ -85,7 +115,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>--%>
|
||||
</div>
|
||||
<div class="site_500" style="height: 2.15rem; margin-bottom: 0.25rem">
|
||||
<h2><span class="gradient_white_blue">安全费用</span></h2>
|
||||
@@ -199,7 +229,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="site_500" style="height: 3.05rem; margin-bottom: 0.25rem">
|
||||
<div class="site_500 jshover" style="height: 3.05rem; margin-bottom: 0.25rem" data-type="HazardFactor">
|
||||
<h2><span class="gradient_white_blue">安全危害因素</span></h2>
|
||||
<div id="risk" class="site_content risk">
|
||||
<div class="flex_row_center_center">
|
||||
@@ -233,7 +263,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="site_500 jshover" style="height: 3.05rem; margin-bottom: 0.25rem" >
|
||||
<div class="site_500 jshover" style="height: 3.05rem; margin-bottom: 0.25rem" data-type="HazardFactorOccHealth">
|
||||
<h2><span class="gradient_white_blue">职业健康危害因素</span></h2>
|
||||
<div id="riskHazard" class="site_content risk">
|
||||
<div class="flex_row_center_center">
|
||||
@@ -394,68 +424,35 @@
|
||||
}
|
||||
})
|
||||
|
||||
function hoverEvent() {
|
||||
$(".jshover").click(function (e) {
|
||||
e.stopPropagation()
|
||||
|
||||
if ($(".popu").css("display") == "block") {
|
||||
$(".popu").hide()
|
||||
return
|
||||
}
|
||||
let type = this.getAttribute("data-type")
|
||||
let iframe = $('iframe')
|
||||
switch (type) {
|
||||
case "1":
|
||||
// 组织人员
|
||||
// iframe.attr('src', '../DataShow/CompanyPerson.aspx')
|
||||
window.open('../DataShow/CompanyPerson.aspx')
|
||||
break
|
||||
case "2":
|
||||
// 教育培训/安全工时
|
||||
// iframe.attr('src', '../DataShow/EduTrain.aspx')
|
||||
window.open('../DataShow/EduTrain.aspx')
|
||||
break
|
||||
case "3":
|
||||
// 安全隐患排查治理
|
||||
// iframe.attr('src', '../DataShow/HiddenRectification.aspx')//一般隐患
|
||||
window.open('../DataShow/HiddenRectification.aspx')
|
||||
break
|
||||
case "4":
|
||||
// 费用及机具
|
||||
// iframe.attr('src', '../DataShow/SecurityCost.aspx')
|
||||
window.open('../DataShow/SecurityCost.aspx')
|
||||
break
|
||||
case "5":
|
||||
// 危大工程管控数据
|
||||
// iframe.attr('src', '../DataShow/LargeEngineering.aspx')
|
||||
window.open('../DataShow/LargeEngineering.aspx')
|
||||
break
|
||||
case "6":
|
||||
// 风险分级管控
|
||||
// iframe.attr('src', '../DataShow/SecurityRisk.aspx')
|
||||
window.open('../DataShow/SecurityRisk.aspx')
|
||||
break
|
||||
case "7":
|
||||
// 高风险作业许可
|
||||
// iframe.attr('src', '../DataShow/License.aspx')
|
||||
window.open('../DataShow/License.aspx')
|
||||
break
|
||||
case "8":
|
||||
// 应急管理数据
|
||||
// iframe.attr('src', '../DataShow/Emergency.aspx')
|
||||
window.open('../DataShow/Emergency.aspx')
|
||||
break
|
||||
}
|
||||
// $("#hover").hide()
|
||||
$(".popu").show()
|
||||
function hoverEvent() {
|
||||
$(".jshover").click(function(e) {
|
||||
e.stopPropagation()
|
||||
if ($(".popu").css("display") == "block") {
|
||||
$(".popu").hide()
|
||||
return
|
||||
}
|
||||
let type = this.getAttribute("data-type")
|
||||
let iframe = $('iframe')
|
||||
switch (type) {
|
||||
case "CheckProblemSafety"://安全不符合项清单
|
||||
window.open('../DataShow/CheckProblemSafety.aspx')
|
||||
break
|
||||
case "HazardFactor"://安全危害因素
|
||||
window.open('../DataShow/HazardFactor.aspx')
|
||||
break
|
||||
case "HazardFactorOccHealth"://职业健康危害因素
|
||||
window.open('../DataShow/HazardFactorOccHealth.aspx')
|
||||
break
|
||||
}
|
||||
$(".popu").show()
|
||||
})
|
||||
$(".container").css({
|
||||
position: "relative",
|
||||
})
|
||||
$(".container").click(function(e) {
|
||||
$(".popu").hide()
|
||||
})
|
||||
$(".container").css({
|
||||
position: "relative",
|
||||
})
|
||||
$(".container")
|
||||
.click(function (e) {
|
||||
$(".popu").hide()
|
||||
})
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user