绘制技术监督页面 联调承载能力评估

This commit is contained in:
GGJ
2024-03-12 11:16:54 +08:00
parent 3ba3016135
commit fd8742555f
24 changed files with 1898 additions and 242186 deletions

View File

@@ -121,10 +121,10 @@ const rules = {
const ruleFormRef = ref()
const tableStore = new TableStore({
url: '/advance-boot/carrycapacity/queryCarryCapacityData',
url: '/advance-boot/result/queryResultList',
method: 'POST',
column: [
{ width: '60', type: 'checkbox' },
// { width: '60', type: 'checkbox' },
{
field: 'index',
@@ -134,12 +134,29 @@ const tableStore = new TableStore({
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
}
},
{ field: 'name', title: '配变台区' },
{ field: 'type', title: '评估类型' },
{ field: 'lineName', title: '配变台区' },
{ field: 'evaluateType', title: '评估类型' },
{ field: 'Area', title: '预评估用户' },
{ field: 'level', title: '评估结果' },
{ field: 'mav1', title: '评估日期' },
{ field: 'userName', title: '预评估用户' },
{
field: 'reslutLevel',
title: '评估结果',
formatter: (row: any) => {
// 1-安全2-III级预警3-II级预警4-I 级预警,5-禁止接入
return row.reslutLevel == 1
? '合格'
: row.reslutLevel == 2
? 'III级预警'
: row.reslutLevel == 3
? 'II级预警'
: row.reslutLevel == 4
? 'I 级预警'
: row.reslutLevel == 5
? '禁止接入'
: ''
}
},
{ field: 'evaluateDate', title: '评估日期' },
{
title: '操作',
@@ -179,21 +196,7 @@ const tableStore = new TableStore({
}
],
loadCallback: () => {
tableStore.table.data = [
{
name: '光伏电站用户1',
type: '光伏电站',
Area: '中国',
level: '220',
mav1: '100',
mav2: '100',
detailed: '详情',
user: 'Admin',
time: '2024-01-03'
}
]
}
loadCallback: () => {}
})
tableStore.table.params.userType = ''
tableStore.table.params.userId = dictData.state.area[0].id