添加前置绑定监测点功能
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
</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.label" :value="item.id" />
|
||||
<el-option v-for="item in sign" :key="item.id" :label="item.name" :value="item.algoDescribe" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
@@ -265,10 +265,8 @@ const options = dictData.getBasicData('Pollution_Statis', [
|
||||
'Plt',
|
||||
'Freq_Dev'
|
||||
])
|
||||
const sign = ref([
|
||||
{ label: '电网侧', id: '0' },
|
||||
{ label: '用户侧', id: '1' }
|
||||
])
|
||||
const sign = dictData.getBasicData('power_flag')
|
||||
console.log('🚀 ~ sign:', sign)
|
||||
const tableStore = new TableStore({
|
||||
url: '/harmonic-boot/PollutionSubstation/deptSubstationRelations',
|
||||
method: 'POST',
|
||||
@@ -282,7 +280,7 @@ provide('tableStore', tableStore)
|
||||
tableStore.table.params.deptIndex = dictData.state.area[0].id
|
||||
tableStore.table.params.statisticalType = options[0]
|
||||
tableStore.table.params.monitorFlag = 2
|
||||
tableStore.table.params.powerFlag = '2'
|
||||
tableStore.table.params.powerFlag = sign[0]?.algoDescribe || 0
|
||||
tableStore.table.params.reportFlag = 3
|
||||
tableStore.table.params.serverName = 'event-boot'
|
||||
const handleTabChange = (val: any) => {
|
||||
|
||||
Reference in New Issue
Block a user