Commit fbbfbb79 authored by liuyuping's avatar liuyuping

'2022-4-7'

parent 194e2bf1
......@@ -7,7 +7,8 @@ ENV = 'development'
# VUE_APP_BASE_API = 'https://192.168.3.188:8035'
# VUE_APP_BASE_API = 'http://39.102.232.151:8030'
# VUE_APP_BASE_API = 'https://8.143.198.78:8035'
VUE_APP_BASE_API = 'https://www.kuangshanzhixing.cn:8035'
# VUE_APP_BASE_API = 'https://www.kuangshanzhixing.cn:8035'
VUE_APP_BASE_API = 'https://whjqaqscxt.weihai.cn'
VUE_APP_WS_API = 'ws://localhost:8000'
# 是否启用 babel-plugin-dynamic-import-node插件
......
......@@ -5,6 +5,8 @@ ENV = 'production'
# VUE_APP_BASE_API = 'http://localhost:8000'
# VUE_APP_BASE_API = 'https://safe.c-icc.cn:8035'
# VUE_APP_BASE_API = 'https://8.143.198.78:8035'
VUE_APP_BASE_API = 'https://www.kuangshanzhixing.cn:8035'
# VUE_APP_BASE_API = 'https://www.kuangshanzhixing.cn:8035'
VUE_APP_BASE_API = 'https://whjqaqscxt.weihai.cn'
# 如果接口是 http 形式, wss 需要改为 ws
VUE_APP_WS_API = 'wss://el-admin.xin'
File added
File added
......@@ -462,7 +462,7 @@
</svg>
</div>
</div>
<h2>企业安全责任清单模版</h2>
<h2>企业安全管理问题库模板</h2>
</div>
<el-button
type="primary"
......@@ -689,10 +689,9 @@
</el-form-item>
</el-form>
<div slot="footer">
<el-button
type="primary"
@click.stop="submitEditSafetyMatter"
></el-button>
<el-button type="primary" @click.stop="submitEditSafetyMatter"
>提交</el-button
>
</div>
</el-dialog>
</div>
......
<template>
<div class="funcs-wrapper" @click.stop="toHomeIndex">
<!--<div class="funcs-wrapper" @click.stop="toHomeIndex">
<div class="rotate-wrapper">
<div class="mod1 mod">隐患排查治理</div>
<div class="mod2 mod">安全教育培训</div>
<div class="mod3 mod">风险分级管控</div>
<div class="mod4 mod">行业信息预警</div>
<div class="mod5 mod"><span>重要工作部署</span></div>
<div class="mod6 mod"><span>危险作业备案</span></div>
<div class="mod7 mod">企业证书管理</div>
<div class="mod8 mod"><span>特种设备管理</span></div>
<div class="mod9 mod"><span>数据统计分析</span></div>
<div class="mod1 mod circle1">隐患排查治理</div>
<div class="mod2 mod circle2">安全教育培训</div>
<div class="mod3 mod circle3">风险分级管控</div>
<div class="mod4 mod circle4">行业信息预警</div>
<div class="mod5 mod circle5"><span>重要工作部署</span></div>
<div class="mod6 mod circle6"><span>危险作业备案</span></div>
<div class="mod7 mod circle7">企业证书管理</div>
<div class="mod8 mod circle8"><span>特种设备管理</span></div>
<div class="mod9 mod circle9"><span>数据统计分析</span></div>
</div>
<div class="funcs-title">安全生产管理平台</div>
<video width="100%" height="100%">
<source src="BJ.mp4"></source>
</video>
</div>-->
<div style="width:100vw;height:100vh;display: flex;align-items:center;justify-content:center;" @click.stop="toHomeIndex">
<video ref="bjvideo" autoplay muted width="100%" height="100%">
<source src="BJ.mp4"></source>
</video>
</div>
</template>
<script>
......@@ -20,11 +28,101 @@ export default {
toHomeIndex() {
this.$router.push({ path: "/home/index" });
}
},
mounted() {
// this.$refs.bjvideo.addEventListener('progress', (event) => {
// console.log(event, 'bjvideo')
// })
this.$refs.bjvideo.addEventListener('ended', (event) => {
console.log(event, 'ended ended ended')
this.$refs.bjvideo.currentTime = 9
this.$refs.bjvideo.play()
})
}
};
</script>
<style lang="scss">
@keyframes animX {
0% {
left: 0px;
}
100% {
left: 1379px;
}
}
@keyframes animY {
0% {
top: 97px;
}
100% {
top: 693px;
}
}
@keyframes scale {
0% {
transform: scale(0.7);
}
50% {
transform: scale(1.2);
}
100% {
transform: scale(0.7);
}
}
.circle1 {
animation: animX 18s cubic-bezier(0.36, 0, 0.64, 1) -9s infinite alternate,
animY 18s cubic-bezier(0.36, 0, 0.64, 1) 0 infinite alternate,
scale 36s cubic-bezier(0.36, 0, 0.64, 1) 0 infinite alternate;
}
.circle2 {
animation: animX 18s cubic-bezier(0.36, 0, 0.64, 1) -12s infinite alternate,
animY 18s cubic-bezier(0.36, 0, 0.64, 1) -3s infinite alternate,
scale 36s cubic-bezier(0.36, 0, 0.64, 1) -3s infinite alternate;
}
.circle3 {
animation: animX 18s cubic-bezier(0.36, 0, 0.64, 1) -15s infinite alternate,
animY 18s cubic-bezier(0.36, 0, 0.64, 1) -6s infinite alternate,
scale 36s cubic-bezier(0.36, 0, 0.64, 1) -6s infinite alternate;
}
.circle4 {
animation: animX 18s cubic-bezier(0.36, 0, 0.64, 1) -18s infinite alternate,
animY 18s cubic-bezier(0.36, 0, 0.64, 1) -9s infinite alternate,
scale 36s cubic-bezier(0.36, 0, 0.64, 1) -9s infinite alternate;
}
.circle5 {
animation: animX 18s cubic-bezier(0.36, 0, 0.64, 1) -21s infinite alternate,
animY 18s cubic-bezier(0.36, 0, 0.64, 1) -12s infinite alternate,
scale 36s cubic-bezier(0.36, 0, 0.64, 1) -12s infinite alternate;
}
.circle6 {
animation: animX 18s cubic-bezier(0.36, 0, 0.64, 1) -24s infinite alternate,
animY 18s cubic-bezier(0.36, 0, 0.64, 1) -15s infinite alternate,
scale 36s cubic-bezier(0.36, 0, 0.64, 1) -15s infinite alternate;
}
.circle7 {
animation: animX 18s cubic-bezier(0.36, 0, 0.64, 1) -27s infinite alternate,
animY 18s cubic-bezier(0.36, 0, 0.64, 1) -18s infinite alternate,
scale 36s cubic-bezier(0.36, 0, 0.64, 1) -18s infinite alternate;
}
.circle8 {
animation: animX 18s cubic-bezier(0.36, 0, 0.64, 1) -30s infinite alternate,
animY 18s cubic-bezier(0.36, 0, 0.64, 1) -21s infinite alternate,
scale 36s cubic-bezier(0.36, 0, 0.64, 1) -21s infinite alternate;
}
.circle9 {
animation: animX 18s cubic-bezier(0.36, 0, 0.64, 1) -33s infinite alternate,
animY 18s cubic-bezier(0.36, 0, 0.64, 1) -24s infinite alternate,
scale 36s cubic-bezier(0.36, 0, 0.64, 1) -24s infinite alternate;
}
.circle10 {
animation: animX 18s cubic-bezier(0.36, 0, 0.64, 1) -36s infinite alternate,
animY 18s cubic-bezier(0.36, 0, 0.64, 1) -27s infinite alternate,
scale 36s cubic-bezier(0.36, 0, 0.64, 1) -27s infinite alternate;
}
/*
6个图x和y轴动画加起来是18s, 18s/6
*/
@keyframes myRotate1 {
0% {
top: 97px;
......@@ -101,14 +199,15 @@ export default {
color: #ffffff;
font-size: 36.08px;
background-position-y: top;
position: absolute;
}
.mod1 {
position: absolute;
top: 155px;
left: 466px;
background-image: url("../assets/home/风险分级.png");
background-image: url("../assets/home/重要工作部署.png");
background-image: url("../assets/home/隐患排查-1.png");
background-image: url("../assets/home/riskgrade.png");
background-image: url("../assets/home/majorworkdeploy.png");
background-image: url("../assets/home/hidedangerexclude1.png");
background-position: center;
background-repeat: no-repeat;
}
......@@ -116,10 +215,10 @@ export default {
position: absolute;
top: 97px;
left: 839px;
background-image: url("../assets/home/行业信息预警.png");
background-image: url("../assets/home/风险分级.png");
background-image: url("../assets/home/证书管理.png");
background-image: url("../assets/home/安全教育培训.png");
background-image: url("../assets/home/indusinfopre.png");
background-image: url("../assets/home/riskgrade.png");
background-image: url("../assets/home/certifymanage.png");
background-image: url("../assets/home/securityteach.png");
background-position: center;
background-repeat: no-repeat;
transform-origin: 121px 443px;
......@@ -129,9 +228,9 @@ export default {
position: absolute;
top: 299px;
left: 108px;
background-image: url("../assets/home/隐患排查-1.png");
background-image: url("../assets/home/安全教育培训.png");
background-image: url("../assets/home/风险分级.png");
background-image: url("../assets/home/hidedangerexclude1.png");
background-image: url("../assets/home/securityteach.png");
background-image: url("../assets/home/riskgrade.png");
background-position: center;
background-repeat: no-repeat;
background-size: 100% 96%;
......@@ -140,8 +239,8 @@ export default {
position: absolute;
top: 264px;
left: 1564px;
background-image: url("../assets/home/证书管理.png");
background-image: url("../assets/home/行业信息预警.png");
background-image: url("../assets/home/certifymanage.png");
background-image: url("../assets/home/indusinfopre.png");
background-position: center;
background-repeat: no-repeat;
}
......@@ -149,24 +248,24 @@ export default {
position: absolute;
top: 585px;
left: 281px;
background-image: url("../assets/home/数据统计分析.png");
background-image: url("../assets/home/隐患排查-1.png");
background-image: url("../assets/home/重要工作部署.png");
background-image: url("../assets/home/datastaticanalyze.png");
background-image: url("../assets/home/hidedangerexclude1.png");
background-image: url("../assets/home/majorworkdeploy.png");
background-position: center;
background-repeat: no-repeat;
background-position-y: top;
background-size: 100% 90%;
span {
position: relative;
top: 15px
top: 15px;
}
}
.mod6 {
position: absolute;
top: 577px;
left: 1379px;
background-image: url("../assets/home/特种设备.png");
background-image: url("../assets/home/行业信息预警.png");
background-image: url("../assets/home/specialdevice.png");
background-image: url("../assets/home/indusinfopre.png");
background-repeat: no-repeat;
background-position: center;
background-size: 100% 95%;
......@@ -179,9 +278,9 @@ export default {
position: absolute;
top: 695px;
left: 652px;
background-image: url("../assets/home/行业信息预警.png");
background-image: url("../assets/home/安全教育培训.png");
background-image: url("../assets/home/证书管理.png");
background-image: url("../assets/home/indusinfopre.png");
background-image: url("../assets/home/securityteach.png");
background-image: url("../assets/home/certifymanage.png");
background-repeat: no-repeat;
background-position-x: center;
background-position-y: top;
......@@ -192,8 +291,8 @@ export default {
top: 695px;
left: 1021px;
background-image: url("../assets/home/特殊作业审批.png");
background-image: url("../assets/home/数据统计分析.png");
background-image: url("../assets/home/特种设备.png");
background-image: url("../assets/home/datastaticanalyze.png");
background-image: url("../assets/home/specialdevice.png");
background-repeat: no-repeat;
background-position-x: center;
background-position-y: top;
......@@ -208,9 +307,9 @@ export default {
position: absolute;
top: 165px;
left: 1207px;
background-image: url("../assets/home/重要工作部署.png");
background-image: url("../assets/home/特种设备.png");
background-image: url("../assets/home/数据统计分析.png");
background-image: url("../assets/home/majorworkdeploy.png");
background-image: url("../assets/home/specialdevice.png");
background-image: url("../assets/home/datastaticanalyze.png");
background-repeat: no-repeat;
background-position-x: center;
background-position-y: top;
......
......@@ -60,7 +60,14 @@
prop="hdInspectExpert"
width="70"
/>
<el-table-column label="发现问题" prop="hdName" width="360" />
<!--<el-table-column label="发现问题" prop="hdName" width="360" />-->
<el-table-column label="发现问题" width="360">
<template slot-scope="scope1">
{{
scope1.row.comment ? scope1.row.comment : scope1.row.hdName
}}
</template>
</el-table-column>
<el-table-column label="隐患图片" width="80">
<template slot-scope="scope1">
<el-image
......@@ -278,7 +285,7 @@
></el-option>
</el-select>
</el-form-item>
<el-form-item label="备注">
<el-form-item label="隐患描述">
<el-input v-model="formInfo.comment" placeholder="备注" />
</el-form-item>
<el-form-item label="检查依据">
......@@ -441,7 +448,7 @@
></el-option>
</el-select>
</el-form-item>
<el-form-item label="备注">
<el-form-item label="隐患描述">
<el-input v-model="formInfo.comment" />
</el-form-item>
<el-form-item label="检查依据">
......
......@@ -2585,6 +2585,19 @@
/>
</div>
</div>
<!-- 检查日期 -->
<div class="enter-hd-child-item-norect-expert-wrapper">
<div class="enter-hd-child-item-norect-expert-title">
检查日期:&nbsp;
</div>
<div class="enter-hd-child-item-norect-expert">
{{
curSelectHDDetail.hdInspectDate
? curSelectHDDetail.hdInspectDate.split(" ")[0]
: curSelectHDDetail.hdInspectDate
}}
</div>
</div>
<!-- 检查专家 -->
<div class="enter-hd-child-item-norect-expert-wrapper">
<div class="enter-hd-child-item-norect-expert-title">
......@@ -2606,8 +2619,8 @@
<!-- 隐患描述 -->
<div class="enter-hd-child-item-norect-desc-wrapper">
<span class="enter-hd-child-item-norect-desc-title"
>隐患描述:&nbsp;<span class="enter-hd-child-item-norect-desc">{{
curSelectHDDetail.hdDesc
>检查依据:&nbsp;<span class="enter-hd-child-item-norect-desc">{{
curSelectHDDetail.basis
}}</span></span
>
</div>
......@@ -2660,7 +2673,7 @@
验收人:&nbsp;
</div>
<div class="enter-hd-child-item-rect-hdAcceptancePerson">
{{ curSelectHDDetail.hdInspectExpert }}
{{ curSelectHDDetail.hdAcceptancePerson }}
</div>
</div>
</div>
......@@ -4008,9 +4021,9 @@ export default {
//this.initTrainEnterprises();
//this.initAllDanger();
// this.initAllCertifies();
findUploadEnterprise().then(res => {
console.log(res, "res findUploadEnterprise findUploadEnterprise");
});
// findUploadEnterprise().then(res => {
// console.log(res, "res findUploadEnterprise findUploadEnterprise");
// });
// axios
// .get(
// "https://8.143.198.78/tojiankong/api/v1/stream/start?serial=34020000001110000200&code=34020100001321111111"
......@@ -4057,7 +4070,6 @@ export default {
},
methods: {
trainClick(item, index) {
console.log(item, "trainclick trainclick trainclick trainclick");
// 安全教育培训点击
this.curSelectTrainIndex = index;
this.curTrainItem.location = item.location;
......@@ -4310,10 +4322,12 @@ export default {
console.log(res, "双体系证书 双体系证书 双体系证书");
this.dualSystemEnters[i].certifies = [
...res.content.map(item => {
const index1 = item.filePath.indexOf("\\");
const index2 = item.filePath.indexOf("\\", index1 + 1);
const index3 = item.filePath.indexOf("\\", index2 + 1);
item.filePath = item.filePath.substr(index3);
//const index1 = item.filePath.indexOf("\\");
//const index2 = item.filePath.indexOf("\\", index1 + 1);
//const index3 = item.filePath.indexOf("\\", index2 + 1);
item.filePath =
"/enterprise-certificate/" +
item.filePath.split("\\enterprise-certificate\\")[1];
return item;
})
];
......@@ -6759,6 +6773,12 @@ export default {
await getHideDangeByIdOrderHdLevel(maskarr.coms[j].companyId).then(
res => {
this.curSelectHD = [...res.content];
this.curSelectHD = this.curSelectHD.map(item => {
if (item.comment) {
item.hdName = item.comment;
}
return item;
});
this.curSelectNormalHD = this.curSelectHD.filter(
item => Number(item.hdLevel) === 1
);
......@@ -7244,6 +7264,7 @@ export default {
});
}
},
// 改变上侧按钮下的企业数量
changeSixSums(region, isAdd) {
if (isAdd) {
getRiskTownEnterSum(region, "低风险").then(res => {
......@@ -7926,7 +7947,9 @@ export default {
},
// new点击区域
async clickRegion(index) {
// 判断当前的区域是否高亮
if (this.regionsWithShow[index].isShow === false) {
// 获取某个行业下企业的数量, 新增显示
for (let i = 0; i < this.emergenciesWithShow.length; i++) {
getEnterIndusSum(
this.regionsWithShow[index].region,
......@@ -7956,12 +7979,14 @@ export default {
arrDim.push(i);
}
}
// 两次模拟点击行业按钮,重新加载地图上的企业锚点(第一次)
arrEmer.forEach(item => {
this.$refs["eginmarkers" + item][0].click();
});
arrDim.forEach(item => {
this.$refs["ntinmarkers" + item][0].click();
});
// 判断上侧的按钮是否高亮,点击取消高亮
let tempIndex = 0;
if (this.riskTypeIndex === 1) {
tempIndex = 1;
......@@ -8014,6 +8039,7 @@ export default {
this.$refs["dangertypes3"].click();
}
// 模仿风险、隐患、超期、行业、应急行业的点击
// 两次模拟点击行业按钮,重新加载地图上的企业锚点(第二次)
arrEmer.forEach(item => {
this.$refs["eginmarkers" + item][0].click();
});
......@@ -8021,6 +8047,7 @@ export default {
this.$refs["ntinmarkers" + item][0].click();
});
} else {
// 获取某个行业下企业的数量, 减少显示
for (let i = 0; i < this.emergenciesWithShow.length; i++) {
getEnterIndusSum(
this.regionsWithShow[index].region,
......@@ -8045,6 +8072,7 @@ export default {
arrDim.push(i);
}
}
// 两次模拟点击行业按钮,重新加载地图上的企业锚点(第一次)
arrEmer.forEach(item => {
this.$refs["eginmarkers" + item][0].click();
});
......@@ -8082,6 +8110,7 @@ export default {
}
this.regionsWithShow[index].isShow = false;
// 模仿风险、隐患、超期、行业、应急行业的点击
// 两次模拟点击行业按钮,重新加载地图上的企业锚点(第一次)
arrEmer.forEach(item => {
this.$refs["eginmarkers" + item][0].click();
});
......@@ -8230,6 +8259,12 @@ export default {
toRE[0].coms[k].companyId
).then(res => {
this.curSelectHD = [...res.content];
this.curSelectHD = this.curSelectHD.map(item => {
if (item.comment) {
item.hdName = item.comment;
}
return item;
});
this.curSelectNormalHD = this.curSelectHD.filter(
item => Number(item.hdLevel) === 1
);
......@@ -8309,60 +8344,9 @@ export default {
).then(res => {
this.curEnterStar = res;
});
// let evalueteSum = 0;
// this.curSelectSC.forEach(item =>
// item.items.forEach(rsb => {
// if (!rsb.rsbInspectCase) {
// evalueteSum++;
// }
// })
// );
// if (evalueteSum === 0) {
// this.curEnterStar = 5;
// } else if (evalueteSum < 10) {
// this.curEnterStar = 4;
// } else if (evalueteSum < 20) {
// this.curEnterStar = 3;
// } else if (evalueteSum < 30) {
// this.curEnterStar = 2;
// } else {
// this.curEnterStar = 1;
// }
// this.curSelectHD.filter(
// item => item.hdLevel == 2 && item.hdStatus == 0
// ).length > 0
// ? (this.curEnterStar = 1)
// : null;
// let evalueteResSum = 0;
// let totalResSum = 0;
// this.curSelectCerl.forEach(item =>
// item.items.forEach(rsb => {
// if (!rsb.cerlQualified) {
// evalueteResSum++;
// }
// totalResSum++;
// })
// );
// if (evalueteResSum === 0) {
// this.curEnterStar2 = 5;
// } else if (evalueteResSum < 10) {
// this.curEnterStar2 = 4;
// } else if (evalueteResSum < 30) {
// this.curEnterStar2 = 3;
// } else if (evalueteResSum < 50) {
// this.curEnterStar2 = 2;
// } else if (totalResSum === evalueteResSum) {
// this.curEnterStar2 = 0;
// } else {
// this.curEnterStar2 = 1;
// }
// 显示企业信息
this.isShowEnterInfo = true;
// if (!this.isShowEnterHD) {
// // 关闭隐患
// this.enterHDClick()
// }
const hdDom = document.querySelector(
".curSelect-enter-hd-items-animation-wrapper"
);
......@@ -8537,6 +8521,12 @@ export default {
toRD[0].coms[k].companyId
).then(res => {
this.curSelectHD = [...res.content];
this.curSelectHD = this.curSelectHD.map(item => {
if (item.comment) {
item.hdName = item.comment;
}
return item;
});
this.curSelectNormalHD = this.curSelectHD.filter(
item => Number(item.hdLevel) === 1
);
......@@ -8894,6 +8884,12 @@ export default {
toRHD[0].coms[k].companyId
).then(res => {
this.curSelectHD = [...res.content];
this.curSelectHD = this.curSelectHD.map(item => {
if (item.comment) {
item.hdName = item.comment;
}
return item;
});
this.curSelectNormalHD = this.curSelectHD.filter(
item => Number(item.hdLevel) === 1
);
......@@ -9274,6 +9270,12 @@ export default {
toRHD[0].coms[k].companyId
).then(res => {
this.curSelectHD = [...res.content];
this.curSelectHD = this.curSelectHD.map(item => {
if (item.comment) {
item.hdName = item.comment;
}
return item;
});
this.curSelectNormalHD = this.curSelectHD.filter(
item => Number(item.hdLevel) === 1
);
......@@ -9650,6 +9652,12 @@ export default {
toOver[0].coms[k].companyId
).then(res => {
this.curSelectHD = [...res.content];
this.curSelectHD = this.curSelectHD.map(item => {
if (item.comment) {
item.hdName = item.comment;
}
return item;
});
this.curSelectNormalHD = this.curSelectHD.filter(
item => Number(item.hdLevel) === 1
);
......@@ -10031,6 +10039,12 @@ export default {
toRRisk[0].coms[k].companyId
).then(res => {
this.curSelectHD = [...res.content];
this.curSelectHD = this.curSelectHD.map(item => {
if (item.comment) {
item.hdName = item.comment;
}
return item;
});
this.curSelectNormalHD = this.curSelectHD.filter(
item => Number(item.hdLevel) === 1
);
......@@ -10413,6 +10427,12 @@ export default {
toRRisk[0].coms[k].companyId
).then(res => {
this.curSelectHD = [...res.content];
this.curSelectHD = this.curSelectHD.map(item => {
if (item.comment) {
item.hdName = item.comment;
}
return item;
});
this.curSelectNormalHD = this.curSelectHD.filter(
item => Number(item.hdLevel) === 1
);
......@@ -10795,6 +10815,12 @@ export default {
toRRisk[0].coms[k].companyId
).then(res => {
this.curSelectHD = [...res.content];
this.curSelectHD = this.curSelectHD.map(item => {
if (item.comment) {
item.hdName = item.comment;
}
return item;
});
this.curSelectNormalHD = this.curSelectHD.filter(
item => Number(item.hdLevel) === 1
);
......@@ -11177,6 +11203,12 @@ export default {
toRRisk[0].coms[k].companyId
).then(res => {
this.curSelectHD = [...res.content];
this.curSelectHD = this.curSelectHD.map(item => {
if (item.comment) {
item.hdName = item.comment;
}
return item;
});
this.curSelectNormalHD = this.curSelectHD.filter(
item => Number(item.hdLevel) === 1
);
......@@ -12750,6 +12782,12 @@ export default {
// 当前选中的企业隐患
await getHideDangeByIdOrderHdLevel(item.companyId).then(res => {
this.curSelectHD = [...res.content];
this.curSelectHD = this.curSelectHD.map(item => {
if (item.comment) {
item.hdName = item.comment;
}
return item;
});
this.curSelectNormalHD = this.curSelectHD.filter(
item => Number(item.hdLevel) === 1
);
......@@ -13118,6 +13156,12 @@ export default {
// 当前选中的企业隐患
await getHideDangeByIdOrderHdLevel(item.companyId).then(res => {
this.curSelectHD = [...res.content];
this.curSelectHD = this.curSelectHD.map(item => {
if (item.comment) {
item.hdName = item.comment;
}
return item;
});
this.curSelectNormalHD = this.curSelectHD.filter(
item => Number(item.hdLevel) === 1
);
......@@ -13601,6 +13645,12 @@ export default {
// 当前选中的企业隐患
await getHideDangeByIdOrderHdLevel(item.company_id).then(res => {
this.curSelectHD = [...res.content];
this.curSelectHD = this.curSelectHD.map(item => {
if (item.comment) {
item.hdName = item.comment;
}
return item;
});
this.curSelectNormalHD = this.curSelectHD.filter(
item => Number(item.hdLevel) === 1
);
......@@ -13937,7 +13987,7 @@ html {
.urgentfunc {
flex: 1;
height: 100%;
background-image: url("../assets/home/未选中.png");
background-image: url("../assets/home/nochosen1.png");
background-position: top;
background-repeat: no-repeat;
background-size: 100% 90%;
......@@ -13947,7 +13997,7 @@ html {
transform: scale(0.9);
&.active {
color: white;
background-image: url("../assets/home/选中.png");
background-image: url("../assets/home/chosen1.png");
text-shadow: 1px 1px 2px black, -1px -1px 2px black;
}
/* flex: 1;
......@@ -13963,7 +14013,7 @@ html {
.hidedangerfunc {
flex: 1;
height: 100%;
background-image: url("../assets/home/未选中.png");
background-image: url("../assets/home/nochosen1.png");
background-position: top;
background-repeat: no-repeat;
background-size: 100% 90%;
......@@ -13973,14 +14023,14 @@ html {
transform: scale(0.9);
&.active {
color: white;
background-image: url("../assets/home/选中.png");
background-image: url("../assets/home/chosen1.png");
text-shadow: 1px 1px 2px black, -1px -1px 2px black;
}
}
.specialapprovalfunc {
flex: 1;
height: 100%;
background-image: url("../assets/home/未选中.png");
background-image: url("../assets/home/nochosen1.png");
background-position: top;
background-repeat: no-repeat;
background-size: 100% 90%;
......@@ -13990,14 +14040,14 @@ html {
transform: scale(0.9);
&.active {
color: white;
background-image: url("../assets/home/选中.png");
background-image: url("../assets/home/chosen1.png");
text-shadow: 1px 1px 2px black, -1px -1px 2px black;
}
}
.specialdevicefunc {
flex: 1;
height: 100%;
background-image: url("../assets/home/未选中.png");
background-image: url("../assets/home/nochosen1.png");
background-position: top;
background-repeat: no-repeat;
background-size: 100% 90%;
......@@ -14007,7 +14057,7 @@ html {
transform: scale(0.9);
&.active {
color: white;
background-image: url("../assets/home/选中.png");
background-image: url("../assets/home/chosen1.png");
text-shadow: 1px 1px 2px black, -1px -1px 2px black;
}
}
......@@ -14021,7 +14071,7 @@ html {
.datastaticfunc {
flex: 1;
height: 100%;
background-image: url("../assets/home/未选中.png");
background-image: url("../assets/home/nochosen1.png");
background-position: top;
background-repeat: no-repeat;
background-size: 100% 90%;
......@@ -14031,14 +14081,14 @@ html {
transform: scale(0.9);
&.active {
color: white;
background-image: url("../assets/home/选中.png");
background-image: url("../assets/home/chosen1.png");
text-shadow: 1px 1px 2px black, -1px -1px 2px black;
}
}
.secureteachfunc {
flex: 1;
height: 100%;
background-image: url("../assets/home/未选中.png");
background-image: url("../assets/home/nochosen1.png");
background-position: top;
background-repeat: no-repeat;
background-size: 100% 90%;
......@@ -14048,14 +14098,14 @@ html {
transform: scale(0.9);
&.active {
color: white;
background-image: url("../assets/home/选中.png");
background-image: url("../assets/home/chosen1.png");
text-shadow: 1px 1px 2px black, -1px -1px 2px black;
}
}
.policiesfunc {
flex: 1;
height: 100%;
background-image: url("../assets/home/未选中.png");
background-image: url("../assets/home/nochosen1.png");
background-position: top;
background-repeat: no-repeat;
background-size: 100% 90%;
......@@ -14065,14 +14115,14 @@ html {
transform: scale(0.9);
&.active {
color: white;
background-image: url("../assets/home/选中.png");
background-image: url("../assets/home/chosen1.png");
text-shadow: 1px 1px 2px black, -1px -1px 2px black;
}
}
.backendfunc {
flex: 1;
height: 100%;
background-image: url("../assets/home/未选中.png");
background-image: url("../assets/home/nochosen1.png");
background-position: top;
background-repeat: no-repeat;
background-size: 100% 90%;
......@@ -14082,7 +14132,7 @@ html {
transform: scale(0.9);
&.active {
color: white;
background-image: url("../assets/home/选中.png");
background-image: url("../assets/home/chosen1.png");
text-shadow: 1px 1px 2px black, -1px -1px 2px black;
}
}
......@@ -14250,14 +14300,14 @@ html {
display: flex;
align-items: center;
color: #05e8fe;
background-image: url("../assets/home/形状3.png");
background-image: url("../assets/home/shape3.png");
background-size: 100% 100%;
height: 52px;
font-weight: 600;
.worker-deploy-icon1 {
width: 52px;
height: 40px;
background-image: url("../assets/home/工作部署拷贝.png");
background-image: url("../assets/home/workdeploymentcopy.png");
background-position: 0 0px;
position: relative;
top: 0px;
......@@ -14311,7 +14361,7 @@ html {
margin-top: 3px;
width: 131px;
height: 91px;
background-image: url("../assets/home/企业2.png");
background-image: url("../assets/home/enterprise2.png");
background-position: center;
opacity: 0.5;
&.active {
......@@ -14348,7 +14398,7 @@ html {
margin-top: 3px;
width: 131px;
height: 91px;
background-image: url("../assets/home/人员.png");
background-image: url("../assets/home/personnel.png");
background-position: center;
opacity: 0.5;
&.active {
......@@ -14360,7 +14410,7 @@ html {
position: absolute;
left: -3px;
top: -3px;
background-image: url("../assets/home/211.png");
background-image: url("../assets/home/group211.png");
width: 52px;
height: 20px;
}
......@@ -14368,7 +14418,7 @@ html {
position: absolute;
right: -3px;
bottom: -3px;
background-image: url("../assets/home/212.png");
background-image: url("../assets/home/group212.png");
width: 52px;
height: 20px;
}
......@@ -14412,7 +14462,7 @@ html {
margin-top: 3px;
width: 131px;
height: 91px;
background-image: url("../assets/home/企业2.png");
background-image: url("../assets/home/enterprise2.png");
background-position: center;
opacity: 0.5;
&.active {
......@@ -14449,7 +14499,7 @@ html {
margin-top: 3px;
width: 131px;
height: 91px;
background-image: url("../assets/home/人员.png");
background-image: url("../assets/home/personnel.png");
background-position: center;
opacity: 0.5;
&.active {
......@@ -14461,7 +14511,7 @@ html {
position: absolute;
left: -3px;
top: -3px;
background-image: url("../assets/home/211.png");
background-image: url("../assets/home/group211.png");
width: 52px;
height: 20px;
}
......@@ -14469,7 +14519,7 @@ html {
position: absolute;
right: -3px;
bottom: -3px;
background-image: url("../assets/home/212.png");
background-image: url("../assets/home/group212.png");
width: 52px;
height: 20px;
}
......@@ -14514,13 +14564,13 @@ html {
}
}
.certify-icon1 {
background-image: url("../assets/home/企业2.png");
background-image: url("../assets/home/enterprise2.png");
}
.certify-icon2 {
background-image: url("../assets/home/应急采购.png");
background-image: url("../assets/home/Emergencyprocurement.png");
}
.certify-icon3 {
background-image: url("../assets/home/标准化协议.png");
background-image: url("../assets/home/Standardizationprotocol.png");
}
.certify-manage-item1-wrapper {
flex-basis: 33.33%;
......@@ -14755,7 +14805,7 @@ html {
top: -4px;
width: 52px;
height: 20px;
background-image: url("../assets/home/211.png");
background-image: url("../assets/home/group211.png");
background-repeat: no-repeat;
background-position: center;
}
......@@ -14766,7 +14816,7 @@ html {
bottom: -4px;
width: 52px;
height: 20px;
background-image: url("../assets/home/212.png");
background-image: url("../assets/home/group212.png");
background-repeat: no-repeat;
background-position: center;
}
......@@ -14777,7 +14827,7 @@ html {
bottom: -4px;
width: 52px;
height: 20px;
background-image: url("../assets/home/组21拷贝8.png");
background-image: url("../assets/home/group21copy8.png");
background-repeat: no-repeat;
background-position: center;
}
......@@ -14788,7 +14838,7 @@ html {
top: -4px;
width: 52px;
height: 20px;
background-image: url("../assets/home/组21拷贝7.png");
background-image: url("../assets/home/group21copy7.png");
background-repeat: no-repeat;
background-position: center;
}
......@@ -14882,7 +14932,7 @@ html {
top: -4px;
width: 52px;
height: 20px;
background-image: url("../assets/home/211.png");
background-image: url("../assets/home/group211.png");
background-repeat: no-repeat;
background-position: center;
}
......@@ -14893,7 +14943,7 @@ html {
bottom: -4px;
width: 52px;
height: 20px;
background-image: url("../assets/home/212.png");
background-image: url("../assets/home/group212.png");
background-repeat: no-repeat;
background-position: center;
}
......@@ -14904,7 +14954,7 @@ html {
bottom: -4px;
width: 52px;
height: 20px;
background-image: url("../assets/home/组21拷贝8.png");
background-image: url("../assets/home/group21copy8.png");
background-repeat: no-repeat;
background-position: center;
}
......@@ -14915,7 +14965,7 @@ html {
top: -4px;
width: 52px;
height: 20px;
background-image: url("../assets/home/组21拷贝7.png");
background-image: url("../assets/home/group21copy7.png");
background-repeat: no-repeat;
background-position: center;
}
......@@ -14934,7 +14984,7 @@ html {
.department-indus-title-wrapper {
width: 100%;
height: 43px;
background-image: url("../assets/home/矩形7拷贝5.png");
background-image: url("../assets/home/rect7copy5.png");
background-repeat: no-repeat;
font-family: "SourceHanSansCN-Bold";
font-weight: Bold;
......@@ -14986,7 +15036,7 @@ html {
.indus-types-title-wrapper {
width: 100%;
height: 43px;
background-image: url("../assets/home/矩形7拷贝5.png");
background-image: url("../assets/home/rect7copy5.png");
background-repeat: no-repeat;
font-family: "SourceHanSansCN-Bold";
font-weight: Bold;
......@@ -15038,7 +15088,7 @@ html {
.enter-list-title-wrapper {
width: 100%;
height: 43px;
background-image: url("../assets/home/矩形7拷贝5.png");
background-image: url("../assets/home/rect7copy5.png");
background-repeat: no-repeat;
font-family: "SourceHanSansCN-Bold";
font-weight: Bold;
......@@ -15090,7 +15140,7 @@ html {
.certify-list-title-wrapper {
width: 100%;
height: 43px;
background-image: url("../assets/home/矩形7拷贝5.png");
background-image: url("../assets/home/rect7copy5.png");
background-repeat: no-repeat;
font-family: "SourceHanSansCN-Bold";
font-weight: Bold;
......@@ -15141,7 +15191,7 @@ html {
.danger-list-title-wrapper {
width: 100%;
height: 43px;
background-image: url("../assets/home/矩形7拷贝5.png");
background-image: url("../assets/home/rect7copy5.png");
background-repeat: no-repeat;
font-family: "SourceHanSansCN-Bold";
font-weight: Bold;
......@@ -15192,7 +15242,7 @@ html {
.train-list-title-wrapper {
width: 100%;
height: 43px;
background-image: url("../assets/home/矩形7拷贝5.png");
background-image: url("../assets/home/rect7copy5.png");
background-repeat: no-repeat;
font-family: "SourceHanSansCN-Bold";
font-weight: Bold;
......@@ -15248,7 +15298,7 @@ html {
margin-top: 24px;
width: 200px;
height: 50px;
background-image: url("../assets/home/矩形7拷贝5.png");
background-image: url("../assets/home/rect7copy5.png");
background-repeat: no-repeat;
line-height: 44px;
}
......@@ -15598,7 +15648,7 @@ html {
.department-indus-title-wrapper {
width: 100%;
height: 43px;
background-image: url("../assets/home/矩形7拷贝5.png");
background-image: url("../assets/home/rect7copy5.png");
background-repeat: no-repeat;
font-family: "SourceHanSansCN-Bold";
font-weight: Bold;
......@@ -15649,7 +15699,7 @@ html {
.indus-types-title-wrapper {
width: 100%;
height: 43px;
background-image: url("../assets/home/矩形7拷贝5.png");
background-image: url("../assets/home/rect7copy5.png");
background-repeat: no-repeat;
font-family: "SourceHanSansCN-Bold";
font-weight: Bold;
......@@ -15700,7 +15750,7 @@ html {
.enter-list-title-wrapper {
width: 308px;
height: 43px;
background-image: url("../assets/home/矩形7拷贝5.png");
background-image: url("../assets/home/rect7copy5.png");
background-repeat: no-repeat;
font-family: "SourceHanSansCN-Bold";
font-weight: Bold;
......@@ -16688,7 +16738,7 @@ html {
height: 36px;
/* background: #04FFDF; */
/* opacity: 0.27; */
background-image: url("../assets/home/右边.png");
background-image: url("../assets/home/right2.png");
background-size: 100% 100%;
padding: 0 16px;
transform: translateX(-50%);
......@@ -16898,7 +16948,7 @@ html {
.curSelect-enter-comprehensiveinfo-icon {
width: 21px;
height: 21px;
background-image: url("../assets/home/企业.png");
background-image: url("../assets/home/enterprise.png");
background-repeat: no-repeat;
background-position: center;
}
......@@ -16915,7 +16965,7 @@ html {
bottom: -4px;
width: 20px;
height: 20px;
background-image: url("../assets/home/查看拷贝.png");
background-image: url("../assets/home/viewcopy.png");
background-repeat: no-repeat;
background-position: center;
cursor: pointer;
......@@ -16926,7 +16976,7 @@ html {
.curSelect-enter-comprehensiveinfo-name-icon {
width: 19px;
height: 19px;
background-image: url("../assets/home/责任人.png");
background-image: url("../assets/home/responsebody.png");
background-repeat: no-repeat;
background-position: center;
}
......@@ -16967,7 +17017,7 @@ html {
bottom: -4px;
width: 20px;
height: 20px;
background-image: url("../assets/home/查看拷贝.png");
background-image: url("../assets/home/viewcopy.png");
background-repeat: no-repeat;
background-position: center;
cursor: pointer;
......@@ -16982,7 +17032,7 @@ html {
.curSelect-enter-comprehensiveinfo-safetymanagement-icon {
width: 23px;
height: 23px;
background-image: url("../assets/home/安全.png");
background-image: url("../assets/home/security.png");
background-repeat: no-repeat;
background-position: center;
}
......@@ -17016,7 +17066,7 @@ html {
bottom: 0;
width: 20px;
height: 20px;
background-image: url("../assets/home/查看拷贝.png");
background-image: url("../assets/home/viewcopy.png");
background-repeat: no-repeat;
background-position: center;
cursor: pointer;
......@@ -17033,7 +17083,7 @@ html {
.curSelect-enter-comprehensiveinfo-mainresponsebilitylists-left-icon {
width: 20px;
height: 20px;
background-image: url("../assets/home/清单.png");
background-image: url("../assets/home/list2.png");
background-repeat: no-repeat;
background-position: center;
}
......@@ -17075,7 +17125,7 @@ html {
bottom: 0;
width: 20px;
height: 20px;
background-image: url("../assets/home/查看拷贝.png");
background-image: url("../assets/home/viewcopy.png");
background-repeat: no-repeat;
background-position: center;
cursor: pointer;
......@@ -17088,7 +17138,7 @@ html {
top: -4px;
width: 52px;
height: 20px;
background-image: url("../assets/home/211.png");
background-image: url("../assets/home/group211.png");
background-repeat: no-repeat;
background-position: center;
}
......@@ -17099,7 +17149,7 @@ html {
bottom: -4px;
width: 52px;
height: 20px;
background-image: url("../assets/home/212.png");
background-image: url("../assets/home/group212.png");
background-repeat: no-repeat;
background-position: center;
}
......@@ -17348,7 +17398,7 @@ html {
.curSelect-enter-risk-content-item-video-icon {
width: 22px;
height: 22px;
background-image: url("../assets/home/视频.png");
background-image: url("../assets/home/video.png");
background-size: 100% 100%;
}
.curSelect-enter-risk-content-item-monitor-icon {
......@@ -17390,7 +17440,7 @@ html {
top: -4px;
width: 52px;
height: 20px;
background-image: url("../assets/home/211.png");
background-image: url("../assets/home/group211.png");
background-repeat: no-repeat;
background-position: center;
}
......@@ -17401,7 +17451,7 @@ html {
bottom: -4px;
width: 52px;
height: 20px;
background-image: url("../assets/home/212.png");
background-image: url("../assets/home/group212.png");
background-repeat: no-repeat;
background-position: center;
}
......@@ -17621,7 +17671,7 @@ html {
top: -4px;
width: 52px;
height: 20px;
background-image: url("../assets/home/211.png");
background-image: url("../assets/home/group211.png");
background-repeat: no-repeat;
background-position: center;
}
......@@ -17632,7 +17682,7 @@ html {
bottom: -4px;
width: 52px;
height: 20px;
background-image: url("../assets/home/212.png");
background-image: url("../assets/home/group212.png");
background-repeat: no-repeat;
background-position: center;
}
......@@ -18250,7 +18300,7 @@ html {
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
background: url("../assets/home/安全措施大图.png");
background: url("../assets/home/securityopebigpic.png");
background-position: center;
background-repeat: no-repeat;
overflow: hidden;
......@@ -18261,7 +18311,7 @@ html {
top: 24px;
width: 41px;
height: 41px;
background-image: url("../assets/home/关闭.png");
background-image: url("../assets/home/close.png");
background-position: center;
background-repeat: no-repeat;
cursor: pointer;
......@@ -18281,7 +18331,7 @@ html {
font-family: "SourceHanSansCN-Bold";
color: #dfeef3;
font-size: 29px;
background-image: url("../assets/home/矩形5拷贝.png");
background-image: url("../assets/home/rect5copy.png");
background-repeat: no-repeat;
background-position: center;
background-size: 100% 100%;
......@@ -18323,7 +18373,7 @@ html {
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
background: url("../assets/home/安全措施大图.png");
background: url("../assets/home/securityopebigpic.png");
background-position: center;
background-repeat: no-repeat;
overflow: hidden;
......@@ -18334,7 +18384,7 @@ html {
top: 24px;
width: 41px;
height: 41px;
background-image: url("../assets/home/关闭.png");
background-image: url("../assets/home/close.png");
background-position: center;
background-repeat: no-repeat;
cursor: pointer;
......@@ -18354,7 +18404,7 @@ html {
font-family: "SourceHanSansCN-Bold";
color: #dfeef3;
font-size: 29px;
background-image: url("../assets/home/矩形5拷贝.png");
background-image: url("../assets/home/rect5copy.png");
background-repeat: no-repeat;
background-position: center;
background-size: 100% 100%;
......@@ -18394,7 +18444,7 @@ html {
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
background-image: url("../assets/home/隐患整改大图.png");
background-image: url("../assets/home/hidedangerrectbigpic.png");
background-position: center;
background-repeat: no-repeat;
/* 关闭按钮 */
......@@ -18404,7 +18454,7 @@ html {
top: 26px;
width: 41px;
height: 41px;
background-image: url("../assets/home/关闭.png");
background-image: url("../assets/home/close.png");
background-position: center;
background-repeat: no-repeat;
cursor: pointer;
......@@ -18425,7 +18475,7 @@ html {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
background-image: url("../assets/home/矩形5拷贝.png");
background-image: url("../assets/home/rect5copy.png");
background-position: center;
background-repeat: no-repeat;
}
......@@ -18640,7 +18690,7 @@ html {
transform: translate(-50%, -50%);
width: 1159px;
height: 920px;
background-image: url("../assets/home/隐患整改大图.png");
background-image: url("../assets/home/hidedangerrectbigpic.png");
background-position: center;
background-repeat: no-repeat;
overflow-y: scroll;
......@@ -18654,7 +18704,7 @@ html {
top: 26px;
width: 41px;
height: 41px;
background-image: url("../assets/home/关闭.png");
background-image: url("../assets/home/close.png");
background-position: center;
background-repeat: no-repeat;
cursor: pointer;
......@@ -18674,7 +18724,7 @@ html {
white-space: nowrap;
overflow: visible;
/* text-overflow: ellipsis; */
background-image: url("../assets/home/矩形5拷贝.png");
background-image: url("../assets/home/rect5copy.png");
position: relative;
/* background-position: center; */
/* background-repeat: no-repeat; */
......@@ -18776,7 +18826,7 @@ html {
transform: translate(-50%, -50%);
width: 1109px;
height: 874px;
background-image: url("../assets/home/安全措施大图.png");
background-image: url("../assets/home/securityopebigpic.png");
background-position: center;
background-repeat: no-repeat;
padding: 5px;
......@@ -18787,7 +18837,7 @@ html {
top: 27px;
width: 42px;
height: 42px;
background-image: url("../assets/home/关闭.png");
background-image: url("../assets/home/close.png");
background-position: center;
background-repeat: no-repeat;
cursor: pointer;
......@@ -18846,7 +18896,7 @@ html {
transform: translate(-50%, -50%);
width: 1109px;
height: 874px;
background-image: url("../assets/home/安全措施大图.png");
background-image: url("../assets/home/securityopebigpic.png");
background-position: center;
background-repeat: no-repeat;
padding: 5px;
......@@ -18856,7 +18906,7 @@ html {
top: 27px;
width: 42px;
height: 42px;
background-image: url("../assets/home/关闭.png");
background-image: url("../assets/home/close.png");
background-position: center;
background-repeat: no-repeat;
cursor: pointer;
......@@ -18897,7 +18947,7 @@ html {
transform: translate(-50%, -50%);
width: 1109px;
height: 874px;
background-image: url("../assets/home/安全措施大图.png");
background-image: url("../assets/home/securityopebigpic.png");
background-position: center;
background-repeat: no-repeat;
padding: 5px;
......@@ -18907,7 +18957,7 @@ html {
top: 27px;
width: 42px;
height: 42px;
background-image: url("../assets/home/关闭.png");
background-image: url("../assets/home/close.png");
background-position: center;
background-repeat: no-repeat;
cursor: pointer;
......@@ -18944,7 +18994,7 @@ html {
transform: translate(-50%, -50%);
width: 1109px;
height: 874px;
background-image: url("../assets/home/安全措施大图.png");
background-image: url("../assets/home/securityopebigpic.png");
background-position: center;
background-repeat: no-repeat;
padding: 5px;
......@@ -18955,7 +19005,7 @@ html {
top: 27px;
width: 42px;
height: 42px;
background-image: url("../assets/home/关闭.png");
background-image: url("../assets/home/close.png");
background-position: center;
background-repeat: no-repeat;
cursor: pointer;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment