设备监控-实时数据顶部按钮组改为便携式设备所有tab显示

This commit is contained in:
zhujiyan
2024-08-23 08:51:36 +08:00
parent 0a590c2862
commit f879cdaf09
5 changed files with 85 additions and 65 deletions

View File

@@ -20,7 +20,7 @@
<div class="right_charts"><MyEchart ref="pieChart6" :options="echartsDataA3"></MyEchart></div>
</div>
</div>
<div class="view_bot" v-loading="loading">
<div class="view_bot" v-loading="loading">
<div class="view_bot_tables">
<!-- 表格数据 -->
<div v-if="tableData.length != 0">
@@ -75,10 +75,10 @@
<div class="tbody">
<div class="tbody_cell" v-for="(vv, key) in item" :key="key">
{{
tableData.find(item => {
tableData.find((item: any) => {
return item.anotherName == vv.showName && item.phase == vv.phase
})?.statisticalData
? tableData.find(item => {
? tableData.find((item: any) => {
return item.anotherName == vv.showName && item.phase == vv.phase
})?.statisticalData
: '/'
@@ -317,7 +317,7 @@ const initRadioCharts = () => {
}
},
{
value:70,
value: 70,
name: 'B相',
itemStyle: {
color: '#DAA521'
@@ -448,7 +448,7 @@ const getTableData = (list: any) => {
})?.statisticalData
})
if (index < 4) {
columnsDataTop.value.push(item)
columnsDataTop.value.push(item)
}
if (index >= 4) {
columnsDataBot.value.push(item)
@@ -582,8 +582,8 @@ onMounted(() => {
height: auto;
display: flex;
justify-content: space-between;
border: 1px solid #eee;
padding: 10px;
//border: 1px solid #eee;
// padding: 10px;
.view_top_left,
.view_top_right {
width: 30%;
@@ -650,7 +650,7 @@ onMounted(() => {
.table_info {
width: 100%;
height: 120px;
border: 1px solid #eee;
// border: 1px solid #eee;
border-bottom: 2px solid #eee;
margin-bottom: 20px;
display: flex;