修改中建四局(双碳管理页面)-预警列表表格调整

This commit is contained in:
yjl 2022-11-08 18:16:39 +08:00
parent fe363dbad8
commit f78a6bfa8e
3 changed files with 178 additions and 11 deletions

View File

@ -56,7 +56,8 @@ export default {
alarmList: [], alarmList: [],
sprayDevList: [], sprayDevList: [],
value: true, value: true,
// list: [{ // list: [
// {
// type:'222222', // type:'222222',
// alarmTypeName:'2222222', // alarmTypeName:'2222222',
// deviceName:'deviceName', // deviceName:'deviceName',
@ -64,7 +65,170 @@ export default {
// alarmValue:'alarmValue', // alarmValue:'alarmValue',
// tempAlarmTime:'tempAlarmTime', // tempAlarmTime:'tempAlarmTime',
// exceed:'exceed' // exceed:'exceed'
// }], // },
// {
// type:'222222',
// alarmTypeName:'2222222',
// deviceName:'deviceName',
// avgData:'avgData',
// alarmValue:'alarmValue',
// tempAlarmTime:'tempAlarmTime',
// exceed:'exceed'
// },
// {
// type:'222222',
// alarmTypeName:'2222222',
// deviceName:'deviceName',
// avgData:'avgData',
// alarmValue:'alarmValue',
// tempAlarmTime:'tempAlarmTime',
// exceed:'exceed'
// },
// {
// type:'222222',
// alarmTypeName:'2222222',
// deviceName:'deviceName',
// avgData:'avgData',
// alarmValue:'alarmValue',
// tempAlarmTime:'tempAlarmTime',
// exceed:'exceed'
// },
// {
// type:'222222',
// alarmTypeName:'2222222',
// deviceName:'deviceName',
// avgData:'avgData',
// alarmValue:'alarmValue',
// tempAlarmTime:'tempAlarmTime',
// exceed:'exceed'
// },
// {
// type:'222222',
// alarmTypeName:'2222222',
// deviceName:'deviceName',
// avgData:'avgData',
// alarmValue:'alarmValue',
// tempAlarmTime:'tempAlarmTime',
// exceed:'exceed'
// },
// {
// type:'222222',
// alarmTypeName:'2222222',
// deviceName:'deviceName',
// avgData:'avgData',
// alarmValue:'alarmValue',
// tempAlarmTime:'tempAlarmTime',
// exceed:'exceed'
// },
// {
// type:'222222',
// alarmTypeName:'2222222',
// deviceName:'deviceName',
// avgData:'avgData',
// alarmValue:'alarmValue',
// tempAlarmTime:'tempAlarmTime',
// exceed:'exceed'
// },
// {
// type:'222222',
// alarmTypeName:'2222222',
// deviceName:'deviceName',
// avgData:'avgData',
// alarmValue:'alarmValue',
// tempAlarmTime:'tempAlarmTime',
// exceed:'exceed'
// },
// {
// type:'222222',
// alarmTypeName:'2222222',
// deviceName:'deviceName',
// avgData:'avgData',
// alarmValue:'alarmValue',
// tempAlarmTime:'tempAlarmTime',
// exceed:'exceed'
// },
// {
// type:'222222',
// alarmTypeName:'2222222',
// deviceName:'deviceName',
// avgData:'avgData',
// alarmValue:'alarmValue',
// tempAlarmTime:'tempAlarmTime',
// exceed:'exceed'
// },
// {
// type:'222222',
// alarmTypeName:'2222222',
// deviceName:'deviceName',
// avgData:'avgData',
// alarmValue:'alarmValue',
// tempAlarmTime:'tempAlarmTime',
// exceed:'exceed'
// },
// {
// type:'222222',
// alarmTypeName:'2222222',
// deviceName:'deviceName',
// avgData:'avgData',
// alarmValue:'alarmValue',
// tempAlarmTime:'tempAlarmTime',
// exceed:'exceed'
// },
// {
// type:'222222',
// alarmTypeName:'2222222',
// deviceName:'deviceName',
// avgData:'avgData',
// alarmValue:'alarmValue',
// tempAlarmTime:'tempAlarmTime',
// exceed:'exceed'
// },
// {
// type:'222222',
// alarmTypeName:'2222222',
// deviceName:'deviceName',
// avgData:'avgData',
// alarmValue:'alarmValue',
// tempAlarmTime:'tempAlarmTime',
// exceed:'exceed'
// },
// {
// type:'222222',
// alarmTypeName:'2222222',
// deviceName:'deviceName',
// avgData:'avgData',
// alarmValue:'alarmValue',
// tempAlarmTime:'tempAlarmTime',
// exceed:'exceed'
// },
// {
// type:'222222',
// alarmTypeName:'2222222',
// deviceName:'deviceName',
// avgData:'avgData',
// alarmValue:'alarmValue',
// tempAlarmTime:'tempAlarmTime',
// exceed:'exceed'
// },
// {
// type:'222222',
// alarmTypeName:'2222222',
// deviceName:'deviceName',
// avgData:'avgData',
// alarmValue:'alarmValue',
// tempAlarmTime:'tempAlarmTime',
// exceed:'exceed'
// },
// {
// type:'222222',
// alarmTypeName:'2222222',
// deviceName:'deviceName',
// avgData:'avgData',
// alarmValue:'alarmValue',
// tempAlarmTime:'tempAlarmTime',
// exceed:'exceed'
// },
// ],
list: [], list: [],
time: [], time: [],
alarmTypeIdArr: [], alarmTypeIdArr: [],
@ -168,8 +332,8 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
.containerBox { .containerBox {
width: 100%; width: 103%;
height: 100%; height: 320px;
.titleTxt { .titleTxt {
font-size: 18px; font-size: 18px;
color: #6ee4f0; color: #6ee4f0;
@ -177,8 +341,8 @@ export default {
margin-left: 5px; margin-left: 5px;
} }
.greenTable { .greenTable {
width: 100%; width: 98%;
height: 100%; height: 10%;
position: relative; position: relative;
th { th {
color: #72bdc9; color: #72bdc9;
@ -190,12 +354,12 @@ export default {
color: #fff; color: #fff;
line-height: 35px; line-height: 35px;
} }
margin-right: 15px; margin-right: 0px;
margin-left: -6px; margin-left: -6px;
.noDataDiv { .noDataDiv {
position: absolute; position: absolute;
width: 100%; width: 100px;
height: 100%; height: 100px;
margin-top: 100px; margin-top: 100px;
img { img {
@ -204,6 +368,9 @@ export default {
} }
p { p {
text-align: center; text-align: center;
margin-left: 173px;
width: 100px;
font-size: 16px;
} }
} }
} }

View File

@ -21,7 +21,7 @@
<div id="waterMain" v-if="show"></div> <div id="waterMain" v-if="show"></div>
<div style="margin-top: 50px;" v-else> <div style="margin-top: 50px;" v-else>
<img style="margin: auto 190px;" src="@/assets/images/noData.png" alt="" /> <img style="margin: auto 190px;" src="@/assets/images/noData.png" alt="" />
<p style="text-align: center;">暂无数据</p> <p style="text-align: center;font-size:16px">暂无数据</p>
</div> </div>
</div> </div>
</Card> </Card>

View File

@ -45,7 +45,7 @@
<div id="bottomElectric" v-if="show"></div> <div id="bottomElectric" v-if="show"></div>
<div v-else style="margin-top:60px; height: 65%;" > <div v-else style="margin-top:60px; height: 65%;" >
<img src="@/assets/images/noData.png" alt=""> <img src="@/assets/images/noData.png" alt="">
<p style="text-align: center;">暂无数据</p > <p style="text-align: center;font-size:16px">暂无数据</p >
</div> </div>
</div> </div>
</Card> </Card>