冀北监测点试运行调整

This commit is contained in:
cdf
2024-05-22 19:53:25 +08:00
parent 11b63cbab9
commit e666784f2d
4 changed files with 14 additions and 44 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div class="default-main">
<div >
<el-divider style="" content-position="left">干扰源用户信息</el-divider>
<el-descriptions :column="2" border>
<el-descriptions-item label="工程预期投产日期">

View File

@@ -50,8 +50,12 @@ const tableStore = new TableStore({
method: 'POST',
column: [
{ title: '序号', type: 'seq', width: 80 },
{ field: 'lineName', title: '监测点名称' , minWidth: 150 },
{ field: 'connectedBus', title: '关联母线' , minWidth: 170 },
{ field: 'monitoringTerminalName', title: '所属装置' , minWidth: 170 },
{ field: 'powerSubstationName', title: '电网侧电站' , minWidth: 170 },
{ field: 'orgName', title: '填报部门名称' , minWidth: 170 },
{ field: 'reportDate', title: '填报日期', minWidth: 170},
{ field: 'reportDate', title: '填报日期', minWidth: 150},
{ field: 'reporter', title: '填报人', minWidth: 80 },
{
field: 'status',
@@ -71,43 +75,6 @@ const tableStore = new TableStore({
4: '已取消'
}
},
{ field: 'monitoringTerminalName', title: '设备名称', minWidth: 170 },
// { field: 'substation', title: '所属变电站', minWidth: 170 },
// {
// field: 'userType',
// title: '用户性质',
// minWidth: 150,
// formatter: (obj: any) => {
// const userType = obj.row.userType
// return getUserTypeName(userType)
// }
// },
// { field: 'informationSecurityTestReport', title: '信息安全检测报告', minWidth: 170 },
// { field: 'otherAttachments', title: '其他附件', minWidth: 170 },
// { field: 'orgName', title: '填报部门名称'},
// { field: 'performanceTestReport', title: '性能检测报告', minWidth: 170 },
// {
// field: 'userStatus',
// title: '用户状态',
// minWidth: 100,
// render: 'tag',
// custom: {
// 0: 'primary',
// 1: 'primary',
// 2: 'success',
// 3: 'warning'
// },
// replaceValue: {
// 0: '可研',
// 1: '建设',
// 2: '运行',
// 3: '退运'
// }
// },
// { field: 'substation', title: '变电站', minWidth: 100 },
// { field: 'createTime', title: '开始时间', minWidth: 170 },
{
title: '操作',
minWidth: 150,

View File

@@ -50,6 +50,9 @@ const tableStore = new TableStore({
method: 'POST',
column: [
{ title: '序号', type: 'seq', width: 80 },
{ field: 'substation', title: '所属变电站', minWidth: 170 },
{ field: 'monitoringTerminalCode', title: '设备编号', minWidth: 170 },
{ field: 'monitoringTerminalName', title: '设备名称', minWidth: 170 },
{ field: 'orgName', title: '填报部门名称' , minWidth: 170 },
{ field: 'reportDate', title: '填报日期', minWidth: 170},
{ field: 'reporter', title: '填报人', minWidth: 80 },
@@ -71,7 +74,7 @@ const tableStore = new TableStore({
4: '已取消'
}
},
// { field: 'monitoringTerminalName', title: '设备名称', minWidth: 170 },
// { field: 'substation', title: '所属变电站', minWidth: 170 },
// {
// field: 'userType',

View File

@@ -142,8 +142,6 @@ onMounted(() => {
tableStore.index()
})
const dateValue = ref([])
/** 处理审批按钮 */
const handleAudit = (instanceId: any) => {
@@ -156,8 +154,9 @@ const handleAudit = (instanceId: any) => {
}
//试运行
let monitorIds: any = []
let flag = true
const startRunTest = () => {
let flag = true
if (tableStore.table.selection.length === 0) {
return ElMessage({
message: '请至少选择一个监测点进行试运行',
@@ -211,10 +210,11 @@ const runTestSubmit = () => {
}
addRunTest(data).then((res: any) => {
if (res.code === 'A0000') {
return ElMessage({
ElMessage({
message: '发起试运行成功',
type: 'success'
})
tableStore.index()
}
})
}