联调 前置管理页面

This commit is contained in:
GGJ
2025-04-29 15:59:23 +08:00
parent 503398d050
commit dabb960d09
6 changed files with 46 additions and 8 deletions

View File

@@ -73,6 +73,11 @@
></el-option>
</el-select>
</el-form-item>
<el-form-item label="电网标志">
<el-select v-model="tableStore.table.params.powerFlag" placeholder="请选择电网标志">
<el-option v-for="item in sign" :key="item.id" :label="item.name" :value="item.algoDescribe" />
</el-select>
</el-form-item>
</template>
</TableHeader>
</div>
@@ -117,6 +122,7 @@ const interfereoption = dictData.getBasicData('Interference_Source')
//字典获取统计类型
const classificationData = dictData.getBasicData('Statistical_Type', ['Report_Type'])
//调用区域接口获取区域
const sign = dictData.getBasicData('power_flag')
const treeData = ref([])
const idArr = ref([])
const activeName = ref(0)
@@ -204,6 +210,7 @@ tableStore.table.params.statisticalType = classificationData[0]
tableStore.table.params.scale = []
tableStore.table.params.manufacturer = []
tableStore.table.params.loadType = []
tableStore.table.params.powerFlag = sign[0]?.algoDescribe || 0
tableStore.table.params.serverName = 'harmonicBoot'
provide('tableStore', tableStore)
const tree2List = (list: any, pid?: string) => {

View File

@@ -2,6 +2,11 @@
<div class="default-main">
<TableHeader datePicker ref="header">
<template v-slot:select>
<el-form-item label="电网标志">
<el-select v-model="tableStore.table.params.powerFlag" placeholder="请选择电网标志">
<el-option v-for="item in sign" :key="item.id" :label="item.name" :value="item.algoDescribe" />
</el-select>
</el-form-item>
</template>
</TableHeader>
<div v-loading="tableStore.table.loading" class="pr10">
@@ -138,7 +143,7 @@ defineOptions({
})
const dictData = useDictData()
const echartList = ref({})
const sign = dictData.getBasicData('power_flag')
const header = ref()
const options = dictData.getBasicData('Pollution_Statis', ['I_Neg', 'V_Inharm', 'V_Dev', 'V_Unbalance', 'Plt', 'Freq_Dev'])
const tableStore = new TableStore({
@@ -158,7 +163,7 @@ provide('tableStore', tableStore)
tableStore.table.params.deptIndex = dictData.state.area[0].id
tableStore.table.params.monitorFlag = 2
tableStore.table.params.powerFlag = 2
tableStore.table.params.powerFlag = sign[0]?.algoDescribe || 0
tableStore.table.params.statisticalType = {}

View File

@@ -129,6 +129,7 @@ const tableStore = new TableStore({
url: '/harmonic-boot/steadyQualify/getSteadyQualifyCensus',
showPage: false,
method: 'POST',
// publicHeight: 10,
column: [],
beforeSearchFun: () => {
tableStore.table.params = tableStoreParams.value

View File

@@ -73,6 +73,11 @@
></el-option>
</el-select>
</el-form-item>
<el-form-item label="电网标志">
<el-select v-model="tableStore.table.params.powerFlag" placeholder="请选择电网标志">
<el-option v-for="item in sign" :key="item.id" :label="item.name" :value="item.algoDescribe" />
</el-select>
</el-form-item>
</template>
</TableHeader>
</div>
@@ -118,6 +123,7 @@ const interfereoption = dictData.getBasicData('Interference_Source')
const classificationData = dictData.getBasicData('Statistical_Type', ['Report_Type'])
//调用区域接口获取区域
const treeData = ref([])
const sign = dictData.getBasicData('power_flag')
const idArr = ref([])
const activeName = ref(0)
const getTreeData = async () => {
@@ -263,6 +269,7 @@ tableStore.table.params.scale = []
tableStore.table.params.manufacturer = []
tableStore.table.params.loadType = []
tableStore.table.params.serverName = 'harmonicBoot'
tableStore.table.params.powerFlag = sign[0]?.algoDescribe || 0
provide('tableStore', tableStore)
const tree2List = (list: any, pid?: string) => {
//存储结果的数组