修改 变电站总数量 趋势图
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
<vxe-column field="num" title="监测点个数" sortable :formatter="formatter" />
|
||||
<vxe-column field="integrityRate" sortable title="完整率(%)" />
|
||||
<vxe-column field="onLineRate" sortable title="在线率(%)" />
|
||||
<vxe-column field="outOfStandardRate" sortable title="超标监测点占比(%)" />
|
||||
<vxe-column field="outOfStandardRate" sortable title="超标监测点占比(%)" />
|
||||
</vxe-table>
|
||||
</div>
|
||||
</el-dialog>
|
||||
@@ -68,6 +68,7 @@ const trendEChart: any = ref()
|
||||
|
||||
const picEChart = ref()
|
||||
const open = async (row: any) => {
|
||||
time.value = '1'
|
||||
rowList.value = {
|
||||
deviceInfoParam: {
|
||||
...row
|
||||
@@ -99,8 +100,8 @@ const analysis = (e: any) => {
|
||||
let num = 0
|
||||
for (let k in res.data) {
|
||||
name.push(k)
|
||||
num = num + res.data[k]
|
||||
data.push(num)
|
||||
// num = num + res.data[k]
|
||||
data.push(res.data[k])
|
||||
}
|
||||
|
||||
trendEChart.value = {
|
||||
|
||||
@@ -101,6 +101,7 @@ const tableData: any = ref([])
|
||||
const picEChart: any = ref([{}, {}, {}, {}, {}])
|
||||
|
||||
const open = async (row: any) => {
|
||||
time.value = '1'
|
||||
rowList.value = {
|
||||
deviceInfoParam: {
|
||||
...row
|
||||
@@ -289,8 +290,8 @@ const analysis = (e: any) => {
|
||||
let num = 0
|
||||
for (let k in res.data) {
|
||||
name.push(k)
|
||||
num = num + res.data[k]
|
||||
data.push(num)
|
||||
// num = num + res.data[k]
|
||||
data.push(res.data[k])
|
||||
}
|
||||
|
||||
trendEChart.value = {
|
||||
|
||||
@@ -84,6 +84,7 @@ const trendEChart: any = ref({})
|
||||
|
||||
const picEChart = ref()
|
||||
const open = async (row: any) => {
|
||||
time.value = '1'
|
||||
rowList.value = {
|
||||
deviceInfoParam: {
|
||||
...row
|
||||
@@ -184,8 +185,8 @@ const analysis = (e: any) => {
|
||||
let num = 0
|
||||
for (let k in res.data) {
|
||||
name.push(k)
|
||||
num = num + res.data[k]
|
||||
data.push(num)
|
||||
// num = num + res.data[k]
|
||||
data.push(res.data[k])
|
||||
}
|
||||
|
||||
trendEChart.value = {
|
||||
|
||||
Reference in New Issue
Block a user