修改冀北现场问题
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<div style="height: 110px">
|
||||
<div class="title">
|
||||
<span>
|
||||
稳态综合评估
|
||||
区域污染水平评估
|
||||
<el-popover placement="right" :width="190" trigger="hover">
|
||||
<template #reference>
|
||||
<WarningFilled class="WarningFilled" />
|
||||
@@ -22,6 +22,15 @@
|
||||
<span style="color: #a52a2a">重度污染:(10000</span>
|
||||
</div>
|
||||
</el-popover>
|
||||
<el-switch
|
||||
v-model="heat"
|
||||
class="ml5"
|
||||
@change="changeHeat"
|
||||
size="small"
|
||||
inline-prompt
|
||||
active-text="热力图"
|
||||
inactive-text="热力图"
|
||||
/>
|
||||
</span>
|
||||
<span class="info" @click="open(0)">
|
||||
详情
|
||||
@@ -256,6 +265,7 @@ import {
|
||||
getEventLevelEvaluation,
|
||||
getSupervisionData
|
||||
} from '@/api/device-boot/panorama'
|
||||
const emit = defineEmits(['changeHeat'])
|
||||
const dictData = useDictData()
|
||||
const show = ref(false)
|
||||
const height = mainHeight(30)
|
||||
@@ -309,6 +319,7 @@ const options = ref([
|
||||
value: '9'
|
||||
}
|
||||
])
|
||||
const heat = ref(false)
|
||||
const technology: any = ref({})
|
||||
const harmonicType = ref('6')
|
||||
const transientNum = ref([0, 0])
|
||||
@@ -366,7 +377,7 @@ const PollutionList = dictData.getBasicData('Pollution_Calc').filter(item => ite
|
||||
const value = ref(options1[0].id)
|
||||
const open = (e: number) => {
|
||||
if (e == 0) {
|
||||
evaluateRef.value.open(formRow.value,assessList.value)
|
||||
evaluateRef.value.open(formRow.value, assessList.value)
|
||||
} else if (e == 1) {
|
||||
steadyStateRef.value.open(formRow.value)
|
||||
} else if (e == 2) {
|
||||
@@ -375,7 +386,10 @@ const open = (e: number) => {
|
||||
techniqueRef.value.open(formRow.value)
|
||||
}
|
||||
}
|
||||
const setColor = val => {
|
||||
const changeHeat = (e:any) => {
|
||||
emit('changeHeat', e)
|
||||
}
|
||||
const setColor = (val:any) => {
|
||||
return val == 3.14159
|
||||
? ''
|
||||
: val > 10000
|
||||
@@ -390,7 +404,7 @@ const setColor = val => {
|
||||
? '#00B07D'
|
||||
: ''
|
||||
}
|
||||
const setVal = val => {
|
||||
const setVal = (val:any) => {
|
||||
return val == 3.14159
|
||||
? '/'
|
||||
: val > 10000
|
||||
|
||||
Reference in New Issue
Block a user