微调
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
<el-card v-for="(item, index) in tableStore.table.data" :key="index">
|
||||
<template #header>
|
||||
<div style="cursor: pointer;" @click="queryline(item, false)">
|
||||
<el-tag v-if="item.data < 60 && item.data >= 0"
|
||||
<el-tag v-if="item.data < 60 && item.data >= 0 && item.data !== 3.14159"
|
||||
style="color: #fff; background: #339966" size="small">
|
||||
优
|
||||
</el-tag>
|
||||
@@ -56,7 +56,7 @@
|
||||
<div class="card-item" v-for="(item1, index1) in item.children"
|
||||
:key="index1" @click="queryline(item1, true)">
|
||||
|
||||
<el-tag v-if="item1.data < 60 && item1.data >= 0"
|
||||
<el-tag v-if="item1.data < 60 && item1.data >= 0 && item1.data !== 3.14159"
|
||||
style="color: #fff; background: #339966" size="small">
|
||||
优
|
||||
</el-tag>
|
||||
|
||||
@@ -160,7 +160,7 @@ import { getFileNameAndFilePath } from '@/api/system-boot/file'
|
||||
import { getUserByDeptId, getPlanDetailsById } from '@/api/supervision-boot/plan/index'
|
||||
import { Link, View } from '@element-plus/icons-vue'
|
||||
import { useAdminInfo } from '@/stores/adminInfo'
|
||||
import {download} from '@/utils/fileDownload'
|
||||
import {download} from '@/utils/fileDownLoad'
|
||||
defineOptions({ name: 'BpmUserReportDetail' })
|
||||
const { query } = useRoute() // 查询参数
|
||||
const props = defineProps({
|
||||
|
||||
@@ -91,6 +91,8 @@ const info = (list: any, searchBeginTime: any, searchEndTime: any,selectedAreaNa
|
||||
},
|
||||
...list.voltageStatistics.voltageLevelCalculation
|
||||
]
|
||||
|
||||
|
||||
let all = 0
|
||||
|
||||
list.monthlyStatistics.monthCalculation.forEach((item: any) => {
|
||||
@@ -103,6 +105,7 @@ const info = (list: any, searchBeginTime: any, searchEndTime: any,selectedAreaNa
|
||||
},
|
||||
...list.monthlyStatistics.monthCalculation
|
||||
]
|
||||
|
||||
}
|
||||
const formatter = (row: any) => {
|
||||
if (row.column.field == 'areaName') {
|
||||
|
||||
@@ -112,7 +112,7 @@ const map = (res: any) => {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
console.log('areaData', areaData)
|
||||
echartMapList.value = {
|
||||
name: '',
|
||||
title: {
|
||||
|
||||
@@ -165,8 +165,8 @@ const lineId = ref('')
|
||||
const handler = async ({ BMap, map }: any) => {
|
||||
let data = props.mapList
|
||||
let r = 0.0035
|
||||
let list = data.filter((item: any) => item.lng != 0)
|
||||
|
||||
//let list = data.filter((item: any) => item.lng != 0)
|
||||
let list = data
|
||||
list.forEach((item: any) => {
|
||||
// 变电站图标
|
||||
item.icon = {
|
||||
@@ -271,7 +271,7 @@ const syncCenterAndZoom = (e: any) => {
|
||||
zoom.value = e.target.getZoom()
|
||||
}
|
||||
const markerClick = (e: any) => {
|
||||
console.log("🚀 ~ markerClick ~ e:", e)
|
||||
//console.log("🚀 ~ markerClick ~ e:", e)
|
||||
infoWindowPoint.value = e
|
||||
monitoringPoint.setValue('lineId', e.lineId)
|
||||
infoWindowPoint.value.show = true
|
||||
|
||||
Reference in New Issue
Block a user