联调市详情页面

This commit is contained in:
GGJ
2024-04-29 16:37:07 +08:00
parent 0c7b5ff4d6
commit 830d2017a5
20 changed files with 1295 additions and 141 deletions

View File

@@ -17,8 +17,8 @@
<span>分布统计</span>
</div>
<div class="pie">
<MyEChart style="height: 260px; width: 60%" :options="picEChart" />
<el-table size="small" height="260px" style="width: 35%" :data="picList">
<MyEChart style="height: 260px; width: 50%" :options="picEChart" />
<el-table size="small" height="260px" style="width: 50%" :data="picList">
<el-table-column prop="orgName" width="80px" align="center"></el-table-column>
<el-table-column prop="onlineEvaluate" label="终端评价" align="center">
<template #default="scope">
@@ -42,7 +42,8 @@
</span>
</template>
</el-table-column>
<el-table-column prop="devCount" label="数" align="center"></el-table-column>
<el-table-column prop="devCount" label="在运终端数" align="center" />
<el-table-column prop="devCount" label="在线终端数" align="center" />
</el-table>
</div>
</el-col>
@@ -141,12 +142,12 @@ const open = async (row: any) => {
endAngle: 0,
labelLine: {
length: 8,
length2: 50,
length2: 30,
show: true
},
label: {
padding: [0, -50],
formatter: '{b}:{c}台\n\n'
padding: [0, -30],
formatter: '{b}\n\n'
},
itemStyle: {
borderColor: '#fff',
@@ -220,7 +221,7 @@ const analysis = (e: any) => {
}
const formatter = (row: any) => {
if (row.column.field == 'onlineEvaluate') {
return row.cellValue == 3.14159 ? '暂无数据' : row.cellValue * 100
return row.cellValue == 3.14159 ? '/' : row.cellValue * 100
} else {
return row.cellValue
}