调整云南曲靖问题

This commit is contained in:
guanj
2026-01-16 14:03:40 +08:00
parent 0b76347853
commit a19952b771
21 changed files with 856 additions and 855 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 263 KiB

After

Width:  |  Height:  |  Size: 243 KiB

View File

@@ -26,7 +26,7 @@
</el-table-column> </el-table-column>
<el-table-column align="center" prop="number" label="总分段数目"></el-table-column> <el-table-column align="center" prop="number" label="总分段数目"></el-table-column>
<el-table-column align="center" prop="number" label="三相电压不平衡度(%)" width="180"></el-table-column> <el-table-column align="center" prop="number" label="三相电压不平衡度(%)" width="180"></el-table-column>
<el-table-column align="center" prop="number" label="暂降类型"></el-table-column> <el-table-column align="center" prop="number" label="触发类型"></el-table-column>
<el-table-column align="center" prop="number" label="暂降原因"></el-table-column> <el-table-column align="center" prop="number" label="暂降原因"></el-table-column>
</el-table> </el-table>
</el-tab-pane> </el-tab-pane>

View File

@@ -25,7 +25,7 @@
{{ Math.floor(row.eventValue * 10000) / 100 }} {{ Math.floor(row.eventValue * 10000) / 100 }}
</template> </template>
</vxe-column> </vxe-column>
<vxe-column field="eventType" width="100px" title="暂降类型"> <vxe-column field="eventType" width="100px" title="触发类型">
<template #default="{ row }"> <template #default="{ row }">
{{ event.filter(item => item.id == row.eventType)[0]?.name || '/' }} {{ event.filter(item => item.id == row.eventType)[0]?.name || '/' }}
</template> </template>
@@ -79,7 +79,7 @@ const init = async () => {
// 设置消息接收回调 // 设置消息接收回调
mqttClient.onMessage((topic, message) => { mqttClient.onMessage((topic, message) => {
const msg = JSON.parse(message.toString()) const msg = JSON.parse(message.toString())
// console.log('🚀 ~ init ~ msg:', msg) console.log('🚀 ~ init ~ msg:', msg)
if (msg.deptList.includes(adminInfo.$state.deptId)) { if (msg.deptList.includes(adminInfo.$state.deptId)) {
drawer.value = true drawer.value = true
isLoading.value = true isLoading.value = true

View File

@@ -28,7 +28,7 @@ router.beforeEach((to, from, next) => {
const token = adminInfo.getToken() const token = adminInfo.getToken()
// token 不存在 // token 不存在
if (token === null || token === '') { if (token === null || token === '') {
ElMessage.error('您还没有登录,请先登录') // ElMessage.error('您还没有登录,请先登录')
next('/login') next('/login')
} else { } else {
next() next()

View File

@@ -83,7 +83,7 @@
v-else v-else
class="box-item" class="box-item"
title="确定重启吗?" title="确定重启吗?"
placement="bottom" placement="left"
@confirm="restart(data)" @confirm="restart(data)"
> >
<template #actions="{ confirm, cancel }"> <template #actions="{ confirm, cancel }">

View File

@@ -131,7 +131,7 @@ const tableStore = new TableStore({
{ field: 'scale', title: '电压等级', minWidth: '110' }, { field: 'scale', title: '电压等级', minWidth: '110' },
// { // {
// field: 'advanceType', // field: 'advanceType',
// title: '暂降类型', // title: '触发类型',
// minWidth: '90', // minWidth: '90',
// formatter: (row: any) => { // formatter: (row: any) => {
// return row.cellValue || '其他' // return row.cellValue || '其他'
@@ -147,7 +147,7 @@ const tableStore = new TableStore({
}, },
{ {
field: 'eventType', field: 'eventType',
title: '暂态统计类型', title: '触发类型',
minWidth: '120', minWidth: '120',
formatter: (row: any) => { formatter: (row: any) => {
return eventList.filter(item => item.id === row.cellValue)[0]?.name return eventList.filter(item => item.id === row.cellValue)[0]?.name

View File

@@ -109,9 +109,10 @@ const handleNodeClick = (data: any, node: any) => {
} }
// 上传 // 上传
const choose = (files: any) => { const choose = (files: any) => {
const isJPG = files.raw.type === 'image/jpeg' const isJPG = files.raw.type === 'image/jpg'
const isJPEG = files.raw.type === 'image/jpeg'
const isPNG = files.raw.type === 'image/png' const isPNG = files.raw.type === 'image/png'
if (!isJPG && !isPNG) { if (!isJPG && !isPNG && !isJPEG) {
ElMessage.warning('上传文件只能是 jpg/png 格式!') ElMessage.warning('上传文件只能是 jpg/png 格式!')
return false return false
} }

View File

@@ -32,7 +32,7 @@
<div class="statistics-box"> <div class="statistics-box">
<MyEChart style="height: 250px" :options="picEChart1" /> <MyEChart style="height: 250px" :options="picEChart1" />
<el-table size="small" height="250px" :data="resembleData"> <el-table size="small" height="250px" :data="resembleData">
<el-table-column prop="name" label="暂降类型" width="80px" align="center" /> <el-table-column prop="name" label="触发类型" width="80px" align="center" />
<el-table-column prop="value" label="暂降次数" width="80px" align="center" /> <el-table-column prop="value" label="暂降次数" width="80px" align="center" />
</el-table> </el-table>
</div> </div>

View File

@@ -53,7 +53,7 @@
<div class="statistics-box"> <div class="statistics-box">
<MyEChart style="height: 250px" :options="picEChart1" /> <MyEChart style="height: 250px" :options="picEChart1" />
<el-table size="small" height="250px" :data="resembleData"> <el-table size="small" height="250px" :data="resembleData">
<el-table-column prop="name" label="暂降类型" width="80px" align="center" /> <el-table-column prop="name" label="触发类型" width="80px" align="center" />
<el-table-column prop="value" label="暂降次数" width="80px" align="center" /> <el-table-column prop="value" label="暂降次数" width="80px" align="center" />
</el-table> </el-table>
</div> </div>

View File

@@ -1,5 +1,5 @@
<template> <template>
<span style="color: red; font-size: 12px">:暂降类型仅统计暂降原因为短路故障事件</span> <span style="color: red; font-size: 12px">:触发类型仅统计暂降原因为短路故障事件</span>
<div class="statistics-main"> <div class="statistics-main">
<template v-if="flag"> <template v-if="flag">
@@ -17,7 +17,7 @@
</div> </div>
<div> <div>
<vxe-table height="auto" auto-resize :data="resembleData" v-bind="defaultAttribute"> <vxe-table height="auto" auto-resize :data="resembleData" v-bind="defaultAttribute">
<vxe-column field="name" title="暂降类型"></vxe-column> <vxe-column field="name" title="触发类型"></vxe-column>
<vxe-column field="value" title="暂降次数"></vxe-column> <vxe-column field="value" title="暂降次数"></vxe-column>
</vxe-table> </vxe-table>
</div> </div>
@@ -86,7 +86,7 @@ const info = (res: any) => {
} }
resemble.value = { resemble.value = {
title: { title: {
text: '暂降类型' text: '触发类型'
}, },
legend: { legend: {
type: 'scroll', type: 'scroll',
@@ -109,7 +109,7 @@ const info = (res: any) => {
options: { options: {
series: [ series: [
{ {
name: '暂降类型', name: '触发类型',
type: 'pie', type: 'pie',
center: ['50%', '50%'], center: ['50%', '50%'],
selectedOffset: 30, selectedOffset: 30,

View File

@@ -85,8 +85,8 @@
></el-input> ></el-input>
</el-form-item> </el-form-item>
<!-- <el-form-item label="暂降类型:"> <!-- <el-form-item label="触发类型:">
<el-select v-model="tableStore.table.params.eventType" placeholder="请选择暂降类型" clearable multiple <el-select v-model="tableStore.table.params.eventType" placeholder="请选择触发类型" clearable multiple
collapse-tags style="width: 100%"> collapse-tags style="width: 100%">
<el-option v-for="item in typeoptions" :key="item.id" :label="item.name" <el-option v-for="item in typeoptions" :key="item.id" :label="item.name"
:value="item.id"></el-option> :value="item.id"></el-option>
@@ -251,7 +251,7 @@ const tableStore = new TableStore({
return triggeroptions.filter(item => item.id == row.eventType)[0]?.name return triggeroptions.filter(item => item.id == row.eventType)[0]?.name
} }
}, },
// { field: 'advanceType', title: '暂降类型', minWidth: '100', }, // { field: 'advanceType', title: '触发类型', minWidth: '100', },
{ field: 'advanceReason', title: '暂态原因', minWidth: '100' }, { field: 'advanceReason', title: '暂态原因', minWidth: '100' },
{ {
field: 'depth', field: 'depth',

View File

@@ -56,7 +56,7 @@
<vxe-table-column field="duration" title="持续时间(s)" align="center" width="120"></vxe-table-column> <vxe-table-column field="duration" title="持续时间(s)" align="center" width="120"></vxe-table-column>
<vxe-table-column <vxe-table-column
field="advanceType" field="advanceType"
title="暂降类型" title="触发类型"
align="center" align="center"
width="120" width="120"
:formatter="formFilter" :formatter="formFilter"

View File

@@ -39,7 +39,7 @@
</template> </template>
</vxe-table-column> </vxe-table-column>
<vxe-table-column field="duration" title="持续时间(s)" align="center" width="120"></vxe-table-column> <vxe-table-column field="duration" title="持续时间(s)" align="center" width="120"></vxe-table-column>
<vxe-table-column field="advanceType" title="暂降类型" align="center" width="120" <vxe-table-column field="advanceType" title="触发类型" align="center" width="120"
:formatter="formFilter"></vxe-table-column> :formatter="formFilter"></vxe-table-column>
<vxe-table-column field="advanceReason" title="暂降原因" align="center" width="120" <vxe-table-column field="advanceReason" title="暂降原因" align="center" width="120"
:formatter="formFilter"></vxe-table-column> :formatter="formFilter"></vxe-table-column>

View File

@@ -249,7 +249,7 @@ const initThird = () => {
backgroundColor: '#fff', //背景色, backgroundColor: '#fff', //背景色,
animation: false, animation: false,
title: { title: {
text: '暂降类型', text: '触发类型',
x: 'center' x: 'center'
}, },
@@ -277,7 +277,7 @@ const initThird = () => {
}, },
series: [ series: [
{ {
name: '暂降类型', name: '触发类型',
type: 'pie', type: 'pie',
radius: '65%', radius: '65%',
center: ['50%', '60%'], center: ['50%', '60%'],

View File

@@ -61,7 +61,7 @@ const tableStore = new TableStore({
{ title: '网络参数', field: 'ip', width: '120px' }, { title: '网络参数', field: 'ip', width: '120px' },
{ title: '电压等级(kV)', field: 'voltageScale', width: '120' }, { title: '电压等级(kV)', field: 'voltageScale', width: '120' },
{ title: '暂降发生时刻', field: 'startTime', width: '200' }, { title: '暂降发生时刻', field: 'startTime', width: '200' },
// { title: '暂降类型', field: 'advanceType', minWidth: '130' }, // { title: '触发类型', field: 'advanceType', minWidth: '130' },
{ title: '暂降原因', field: 'advanceReason', minWidth: '130' }, { title: '暂降原因', field: 'advanceReason', minWidth: '130' },
{ {
title: '触发类型', title: '触发类型',

View File

@@ -109,7 +109,7 @@
<el-row> <el-row>
<el-col :span="12" class="mTop"> <el-col :span="12" class="mTop">
<div class="grid-content"> <div class="grid-content">
<div class="divBox">暂降类型</div> <div class="divBox">触发类型</div>
</div> </div>
</el-col> </el-col>
<el-col :span="12" class="mTop"> <el-col :span="12" class="mTop">

View File

@@ -10,7 +10,7 @@
placeholder="请输入监测点名称" placeholder="请输入监测点名称"
/> />
</el-form-item> </el-form-item>
<el-form-item label="暂降类型"> <el-form-item label="触发类型">
<el-select v-model.trim="tableStore.table.params.dicData" placeholder="请选择" clearable> <el-select v-model.trim="tableStore.table.params.dicData" placeholder="请选择" clearable>
<el-option <el-option
v-for="item in triggerType" v-for="item in triggerType"
@@ -79,7 +79,7 @@ const tableStore: any = new TableStore({
{ field: 'objName', title: '监测对象', minWidth: '170' }, { field: 'objName', title: '监测对象', minWidth: '170' },
// { // {
// field: 'advanceType', // field: 'advanceType',
// title: '暂降类型', // title: '触发类型',
// minWidth: '90', // minWidth: '90',
// formatter: (row: any) => { // formatter: (row: any) => {
// return row.cellValue || '其他' // return row.cellValue || '其他'
@@ -95,7 +95,7 @@ const tableStore: any = new TableStore({
}, },
{ {
field: 'eventType', field: 'eventType',
title: '暂态统计类型', title: '触发类型',
minWidth: '120', minWidth: '120',
formatter: (row: any) => { formatter: (row: any) => {
return triggerType.filter(item => item.id === row.cellValue)[0]?.name return triggerType.filter(item => item.id === row.cellValue)[0]?.name

View File

@@ -8,7 +8,7 @@
<vxe-column field="gdName" title="供电公司" min-width="150"></vxe-column> <vxe-column field="gdName" title="供电公司" min-width="150"></vxe-column>
<vxe-column field="subName" title="变电站" min-width="150"></vxe-column> <vxe-column field="subName" title="变电站" min-width="150"></vxe-column>
<vxe-column field="lineName" title="监测点" min-width="150"></vxe-column> <vxe-column field="lineName" title="监测点" min-width="150"></vxe-column>
<vxe-column field="advanceType" title="暂降类型" width="100"> <vxe-column field="advanceType" title="触发类型" width="100">
<template #default="{ row }"> <template #default="{ row }">
{{ type.find(item => item.id === row.advanceType)?.name }} {{ type.find(item => item.id === row.advanceType)?.name }}
</template> </template>

View File

@@ -117,7 +117,7 @@
<el-row> <el-row>
<el-col :span="12" class="mTop"> <el-col :span="12" class="mTop">
<div class="grid-content"> <div class="grid-content">
<div class="divBox">暂降类型</div> <div class="divBox">触发类型</div>
</div> </div>
</el-col> </el-col>
<el-col :span="12" class="mTop"> <el-col :span="12" class="mTop">

View File

@@ -122,7 +122,7 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<div class="grid-content"> <div class="grid-content">
<div class="divBox">暂降类型</div> <div class="divBox">触发类型</div>
</div> </div>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">

View File

@@ -107,7 +107,7 @@ const list = ref([
} }
}, },
{ field: 'duration', title: '持续时间(s)', width: '120' }, { field: 'duration', title: '持续时间(s)', width: '120' },
{ field: 'advanceType', title: '暂降类型(机器判断)', width: '150' } { field: 'advanceType', title: '触发类型(机器判断)', width: '150' }
] ]
}, },
{ {