|
|
@ -128,8 +128,8 @@ export default {
|
|
|
|
this.warn_comapny_list = res.data;
|
|
|
|
this.warn_comapny_list = res.data;
|
|
|
|
console.log("this.warn_comapny_list", this.warn_comapny_list);
|
|
|
|
console.log("this.warn_comapny_list", this.warn_comapny_list);
|
|
|
|
// 预警企业合计数量
|
|
|
|
// 预警企业合计数量
|
|
|
|
this.deal_list = this.dealWithData(this.warn_comapny_list)
|
|
|
|
this.deal_list = this.dealWithData(this.warn_comapny_list);
|
|
|
|
console.log('this.deal_list',this.deal_list);
|
|
|
|
console.log("this.deal_list", this.deal_list);
|
|
|
|
this.warn_num = res.total;
|
|
|
|
this.warn_num = res.total;
|
|
|
|
// this.label = `全部(${this.warn_num})`
|
|
|
|
// this.label = `全部(${this.warn_num})`
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -244,50 +244,59 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="less">
|
|
|
|
|
|
|
|
.warn_company {
|
|
|
|
|
|
|
|
.el-tabs {
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
.el-tabs__content {
|
|
|
|
|
|
|
|
height: calc(100% - 52px);
|
|
|
|
|
|
|
|
.el-tab-pane {
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
.main_box {
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
.list_body{
|
|
|
|
|
|
|
|
height: calc(100% - 40px);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
|
<style lang="less" scoped>
|
|
|
|
.warn_company {
|
|
|
|
.warn_company {
|
|
|
|
width: 30vw;
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background: url("~@/assets/realtimeWarning/warnback01.png") no-repeat;
|
|
|
|
background: url("~@/assets/realtimeWarning/warnback01.png") no-repeat;
|
|
|
|
background-size: 100% 100%;
|
|
|
|
background-size: 100% 100%;
|
|
|
|
.warn_search {
|
|
|
|
.warn_search {
|
|
|
|
width: 30vw;
|
|
|
|
padding: 12px;
|
|
|
|
height: 9%;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-around;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
.title_box {
|
|
|
|
.title_box {
|
|
|
|
width: 14vw;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
.warn_title {
|
|
|
|
.warn_title {
|
|
|
|
width: 5vw;
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
line-height: 6vh;
|
|
|
|
|
|
|
|
color: #ebfff4;
|
|
|
|
color: #ebfff4;
|
|
|
|
text-shadow: 0 0 9px rgba(21, 255, 195, 0.6);
|
|
|
|
text-shadow: 0 0 9px rgba(21, 255, 195, 0.6);
|
|
|
|
font-size: 16px;
|
|
|
|
font-size: 16px;
|
|
|
|
text-align: right;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.icon_left {
|
|
|
|
.icon_left {
|
|
|
|
width: 1vw;
|
|
|
|
|
|
|
|
height: 6vh;
|
|
|
|
|
|
|
|
line-height: 6vh;
|
|
|
|
|
|
|
|
color: #ebfff4;
|
|
|
|
color: #ebfff4;
|
|
|
|
text-shadow: 0 0 9px rgba(21, 255, 195, 0.6);
|
|
|
|
text-shadow: 0 0 9px rgba(21, 255, 195, 0.6);
|
|
|
|
font-size: 16px;
|
|
|
|
font-size: 16px;
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.warn_num {
|
|
|
|
.warn_num {
|
|
|
|
height: 6vh;
|
|
|
|
|
|
|
|
line-height: 6vh;
|
|
|
|
|
|
|
|
color: #ff9191;
|
|
|
|
color: #ff9191;
|
|
|
|
font-size: 16px;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 400;
|
|
|
|
font-weight: 400;
|
|
|
|
letter-spacing: 2px;
|
|
|
|
letter-spacing: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.icon_right {
|
|
|
|
.icon_right {
|
|
|
|
width: 1vw;
|
|
|
|
|
|
|
|
height: 6vh;
|
|
|
|
|
|
|
|
line-height: 6vh;
|
|
|
|
|
|
|
|
color: #ebfff4;
|
|
|
|
color: #ebfff4;
|
|
|
|
text-shadow: 0 0 9px rgba(21, 255, 195, 0.6);
|
|
|
|
text-shadow: 0 0 9px rgba(21, 255, 195, 0.6);
|
|
|
|
font-size: 16px;
|
|
|
|
font-size: 16px;
|
|
|
@ -296,8 +305,6 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* 查询框样式 */
|
|
|
|
/* 查询框样式 */
|
|
|
|
.search_box {
|
|
|
|
.search_box {
|
|
|
|
width: 16vw;
|
|
|
|
|
|
|
|
height: 6vh;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
align-items: center;
|
|
|
@ -352,14 +359,11 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.warn_company_list {
|
|
|
|
.warn_company_list {
|
|
|
|
width: 30vw;
|
|
|
|
height: calc(100% - 70px);
|
|
|
|
height: 91%;
|
|
|
|
padding: 0 12px;
|
|
|
|
display: flex;
|
|
|
|
box-sizing: border-box;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.warn_company_list_item {
|
|
|
|
.warn_company_list_item {
|
|
|
|
width: 29vw;
|
|
|
|
height: 100%;
|
|
|
|
height: 97%;
|
|
|
|
|
|
|
|
// border: 0.1px solid #495e70;
|
|
|
|
// border: 0.1px solid #495e70;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|