调整现场部署报错问题
This commit is contained in:
BIN
src/assets/img/lightning.png
Normal file
BIN
src/assets/img/lightning.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.9 KiB |
@@ -7,7 +7,7 @@ import Array from '@/components/baInput/components/array.vue'
|
||||
import RemoteSelect from '@/components/baInput/components/remoteSelect.vue'
|
||||
import IconSelector from '@/components/baInput/components/iconSelector.vue'
|
||||
import Editor from '@/components/baInput/components/editor.vue'
|
||||
import { getArea } from '@/api/common'
|
||||
// import { getArea } from '@/api/common'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'baInput',
|
||||
|
||||
@@ -202,6 +202,8 @@ const tableStore: any = new TableStore({
|
||||
}
|
||||
})
|
||||
tableStore.table.params.deptId = dictData.state.area[0].id
|
||||
tableStore.table.params.alarmDayLimit = 5
|
||||
tableStore.table.params.warnDayLimit = 1
|
||||
const echart = () => {
|
||||
percentage.value = {
|
||||
color: ['#FF9100'],
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
<script>
|
||||
import { mapState } from 'pinia'
|
||||
import { globalStore } from '@/stores/indexs'
|
||||
// import { globalStore } from '@/stores/indexs'
|
||||
|
||||
const FormContainerTypeEnum = {
|
||||
DRAWER: 'drawer',
|
||||
@@ -29,7 +29,7 @@ export default {
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState(globalStore, ['formStyle']),
|
||||
// ...mapState(globalStore, ['formStyle']),
|
||||
slotKeys() {
|
||||
return Object.keys(this.$slots)
|
||||
},
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
label-position="left"
|
||||
:inline="true"
|
||||
>
|
||||
<el-form-item v-if="datePicker" style="grid-column: span 2; max-width: 620px">
|
||||
<el-form-item v-if="datePicker" style="grid-column: span 2; max-width: 630px">
|
||||
<template #label>
|
||||
<el-checkbox v-if="showTimeAll" v-model="timeAll" label="时间" />
|
||||
<span v-else>{{ dateLabel }}</span>
|
||||
|
||||
@@ -34,7 +34,11 @@
|
||||
<div class="divBox">
|
||||
<span class="iconfont icon-qiyezongshu" style="color: #57bc6e"></span>
|
||||
<span class="divBox_title">监测点总数</span>
|
||||
<span class="divBox_num text-style" style="color: #57bc6e" @click="totalTable(101, '')">
|
||||
<span
|
||||
class="divBox_num text-style"
|
||||
style="color: #57bc6e"
|
||||
@click="totalTable(100001, '')"
|
||||
>
|
||||
{{ monitoringPoints.runNum }}
|
||||
</span>
|
||||
</div>
|
||||
@@ -105,7 +109,7 @@
|
||||
<span
|
||||
style="width: 90px; color: #388e3c"
|
||||
class="text text-style"
|
||||
@click="renderTable(o.detailList, 101, o.citName + '_')"
|
||||
@click="renderTable(o.detailList, 100001, o.citName + '_')"
|
||||
>
|
||||
{{ o.citTotalNum }}
|
||||
</span>
|
||||
@@ -156,7 +160,7 @@
|
||||
</span>
|
||||
</template>
|
||||
</vxe-column>
|
||||
<vxe-column field="cit" title="参数地市" width="110px"></vxe-column>
|
||||
<vxe-column field="cit" title="所在地市" width="110px"></vxe-column>
|
||||
<vxe-column field="company" title="供电公司"></vxe-column>
|
||||
<vxe-column field="subStation" title="变电站"></vxe-column>
|
||||
<vxe-column field="manufacturer" title="终端厂家"></vxe-column>
|
||||
@@ -242,7 +246,6 @@ const runFlagList = [
|
||||
{ id: 3, name: '调试' },
|
||||
{ id: 4, name: '退运' }
|
||||
]
|
||||
// Statistical_Type
|
||||
|
||||
const segmented = ref('Power_Network')
|
||||
|
||||
@@ -261,7 +264,6 @@ const tableStore = new TableStore({
|
||||
tableStore.table.params.statisticalType = segmentedList.filter(item => item.code === segmented.value)[0]
|
||||
},
|
||||
loadCallback: () => {
|
||||
// tableStore.table.data
|
||||
monitoringPoints.value.runNum = tableStore.table.data.totalNum
|
||||
monitoringPoints.value.abnormalNum = tableStore.table.data.belowNum
|
||||
monitoringPoints.value.totalOnlineRate = tableStore.table.data.totalOnlineRate - 0
|
||||
@@ -272,14 +274,14 @@ const tableStore = new TableStore({
|
||||
.map((item: any) => item.detailList)
|
||||
.flat()
|
||||
.reduce((map: any, item: any) => {
|
||||
if (!map.has(item.deviceId)) {
|
||||
map.set(item.deviceId, item)
|
||||
if (!map.has(item.lineId)) {
|
||||
map.set(item.lineId, item)
|
||||
}
|
||||
return map
|
||||
}, new Map())
|
||||
.values()
|
||||
)
|
||||
totalTable(101, '')
|
||||
totalTable(100001, '')
|
||||
echart()
|
||||
}
|
||||
})
|
||||
@@ -346,7 +348,7 @@ const echart = () => {
|
||||
name: '异常占比',
|
||||
type: 'bar',
|
||||
barWidth: 13,
|
||||
data: [monitoringPoints.value.totalOnlineRate ==0?'':monitoringPoints.value.totalOnlineRate],
|
||||
data: [monitoringPoints.value.totalOnlineRate == 0 ? '' : monitoringPoints.value.totalOnlineRate],
|
||||
z: 0,
|
||||
zlevel: 0,
|
||||
itemStyle: {
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<div class="divBox">
|
||||
<span class="iconfont icon-qiyezongshu" style="color: #57bc6e"></span>
|
||||
<span class="divBox_title">终端总数</span>
|
||||
<span class="divBox_num text-style" style="color: #57bc6e" @click="totalTable(101, '')">
|
||||
<span class="divBox_num text-style" style="color: #57bc6e" @click="totalTable(100001, '')">
|
||||
{{ monitoringPoints.runNum }}
|
||||
</span>
|
||||
</div>
|
||||
@@ -105,7 +105,7 @@
|
||||
<span
|
||||
style="width: 90px; color: #388e3c"
|
||||
class="text text-style"
|
||||
@click="renderTable(o.detailList, 101, o.citName + '_')"
|
||||
@click="renderTable(o.detailList, 100001, o.citName + '_')"
|
||||
>
|
||||
{{ o.citTotalNum }}
|
||||
</span>
|
||||
@@ -156,7 +156,7 @@
|
||||
</span>
|
||||
</template>
|
||||
</vxe-column>
|
||||
<vxe-column field="cit" title="参数地市" width="110px"></vxe-column>
|
||||
<vxe-column field="cit" title="所在地市" width="110px"></vxe-column>
|
||||
<vxe-column field="company" title="供电公司"></vxe-column>
|
||||
<vxe-column field="subStation" title="变电站"></vxe-column>
|
||||
<vxe-column field="manufacturer" title="终端厂家"></vxe-column>
|
||||
@@ -259,7 +259,6 @@ const tableStore = new TableStore({
|
||||
tableStore.table.params.statisticalType = segmentedList.filter(item => item.code === segmented.value)[0]
|
||||
},
|
||||
loadCallback: () => {
|
||||
// tableStore.table.data
|
||||
monitoringPoints.value.runNum = tableStore.table.data.totalNum
|
||||
monitoringPoints.value.abnormalNum = tableStore.table.data.belowNum
|
||||
monitoringPoints.value.totalOnlineRate = tableStore.table.data.totalOnlineRate - 0
|
||||
@@ -278,7 +277,7 @@ const tableStore = new TableStore({
|
||||
.values()
|
||||
)
|
||||
|
||||
totalTable(101, '')
|
||||
totalTable(100001, '')
|
||||
echart()
|
||||
}
|
||||
})
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
</span>
|
||||
</template>
|
||||
</vxe-column>
|
||||
<vxe-column field="cit" title="参数地市" width="110px"></vxe-column>
|
||||
<vxe-column field="cit" title="所在地市" width="110px"></vxe-column>
|
||||
<vxe-column field="company" title="供电公司"></vxe-column>
|
||||
<vxe-column field="subName" title="变电站"></vxe-column>
|
||||
<vxe-column field="manufacturer" title="终端厂家"></vxe-column>
|
||||
|
||||
Reference in New Issue
Block a user