修改冀北现场问题

This commit is contained in:
GGJ
2025-12-17 09:22:19 +08:00
parent 264f33302f
commit 92aa66436e
25 changed files with 493 additions and 366 deletions

View File

@@ -706,7 +706,7 @@ const getProviteData = async () => {
getFileNamePath(proviteData.value.additionalAttachments, 'additionalAttachments')
}
// 入网评估报告
// 系统接入方案
if (detailData.value.netInReport.length > 0) {
netInReportList.value = []
detailData.value.netInReport.forEach((item: any) => {

View File

@@ -1,8 +1,8 @@
<template>
<div>
<TableHeader area ref='TableHeaderRef' showExport>
<TableHeader area ref="TableHeaderRef" showExport>
<template #select>
<el-form-item label='运行状态'>
<el-form-item label="运行状态">
<el-select v-model="tableStore.table.params.runF" clearable placeholder="请选择运行状态">
<el-option
v-for="item in runFlagList"
@@ -12,20 +12,23 @@
></el-option>
</el-select>
</el-form-item>
<el-form-item label='信息查询'>
<el-input style="width:200px;" placeholder="电站名称,终端名称,型号" v-model='tableStore.table.params.searchValue' clearable></el-input>
<el-form-item label="数据筛选">
<el-input
style="width: 200px"
placeholder="电站名称,终端名称,型号"
v-model="tableStore.table.params.searchValue"
clearable
></el-input>
</el-form-item>
</template>
<template #operation>
<!-- <el-button icon='el-icon-Download' type='primary'>导出</el-button> -->
</template>
</TableHeader>
<Table ref='tableRef' />
<Table ref="tableRef" />
</div>
</template>
<script setup lang='ts'>
<script setup lang="ts">
import { ref, onMounted, provide, nextTick } from 'vue'
import TableStore from '@/utils/tableStore'
import Table from '@/components/table/index.vue'
@@ -44,11 +47,15 @@ const tableStore = new TableStore({
url: '/device-boot/runManage/getDeviceLedger',
publicHeight: 65,
method: 'POST',
filename:'终端台账',
filename: '终端台账',
column: [
{ title: '序号', width: 80,formatter: (row: any) => {
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
} },
{
title: '序号',
width: 80,
formatter: (row: any) => {
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
}
},
{
field: 'areaName',
title: '省公司',
@@ -69,7 +76,7 @@ const tableStore = new TableStore({
},
{ field: 'devType', title: '终端型号', minWidth: 100 },
{ field: 'ip', title: '终端网络参数' ,width:'120px'},
{ field: 'ip', title: '终端网络参数', width: '120px' },
{ field: 'port', title: '端口号', minWidth: 40 },
{
field: 'runFlag',
@@ -77,14 +84,13 @@ const tableStore = new TableStore({
minWidth: 80,
render: 'tag',
custom: {
'投运': 'success',
'停运': 'danger',
'检修': 'warning',
'调试': 'warning',
'退运': 'danger',
},
},
投运: 'success',
停运: 'danger',
检修: 'warning',
调试: 'warning',
退运: 'danger'
}
}
/* {
title: '操作',
@@ -112,30 +118,28 @@ const tableStore = new TableStore({
name: '电网拓扑',
code: 'Power_Network'
}
tableStore.table.params.runFlag = []
if(tableStore.table.params.runF!=null){
if (tableStore.table.params.runF != null) {
tableStore.table.params.runFlag = [tableStore.table.params.runF]
}
}
})
tableStore.table.params.runF=0
tableStore.table.params.runFlag=[]
tableStore.table.params.searchValue=''
const runFlagList = [{id:0,name:'投运'},{id:1,name:'检修'},{id:2,name:'停运'},{id:3,name:'调试'},{id:4,name:'退运'}]
tableStore.table.params.runF = 0
tableStore.table.params.runFlag = []
tableStore.table.params.searchValue = ''
const runFlagList = [
{ id: 0, name: '投运' },
{ id: 1, name: '检修' },
{ id: 2, name: '停运' },
{ id: 3, name: '调试' },
{ id: 4, name: '退运' }
]
provide('tableStore', tableStore)
onMounted(() => {
tableStore.index()
})
</script>

View File

@@ -12,7 +12,7 @@
></el-option>
</el-select>
</el-form-item>
<el-form-item label="信息查询">
<el-form-item label="数据筛选">
<el-input
style="width: 240px"
placeholder="电站名称,终端编号,监测点名称"
@@ -178,7 +178,7 @@ provide('tableStore', tableStore)
onMounted(() => {
tableStore.index()
})
const setSearchValue = (val:string) => {
const setSearchValue = (val: string) => {
tableStore.table.params.searchValue = val
tableStore.index()
}

View File

@@ -2,7 +2,7 @@
<div>
<TableHeader datePicker area nextFlag theCurrentTime ref="TableHeaderRef" showExport>
<template #select>
<el-form-item label="信息查询">
<el-form-item label="数据筛选">
<el-input
style="width: 200px"
placeholder="请输入变电站/监测点名称"
@@ -32,7 +32,7 @@ const tableStore = new TableStore({
method: 'POST',
isWebPaging: true,
paramsPOST: true,
filename:'变电站台账',
filename: '变电站台账',
column: [
{ field: 'deptName', title: '所在地市', minWidth: 100 },
{ field: 'substationName', title: '变电站名称', minWidth: 100 },
@@ -50,7 +50,7 @@ const tableStore = new TableStore({
title: '非电网侧监测点名称',
minWidth: 150,
formatter: (obj: any) => {
return obj.cellValue.length == 0 ? '/' : obj.cellValue.join('\n ')
return obj.cellValue.length == 0 ? '/' : obj.cellValue.join('\n ')
}
},
{ field: 'alarmFreq', title: '告警频次', minWidth: 80 },