联调承载能力评估

This commit is contained in:
GGJ
2024-04-02 16:43:18 +08:00
parent fe60893e89
commit 60462b0086
24 changed files with 674 additions and 422 deletions

View File

@@ -54,14 +54,14 @@
{{ lineList?.standardCapacity }}
</el-descriptions-item>
</el-descriptions>
<el-tabs v-model="activeName" class="mb10" :style="`height: calc(${tabsHeight} / 2 + 100px)`">
<el-tabs v-model="activeName" class="mb10" :style="`height: calc(${tabsHeight} / 2 + 50px)`">
<el-tab-pane label="有功功率" name="1" class="mt10">
<MyEChart :options="options1" />
</el-tab-pane>
<el-tab-pane label="无功功率" name="2">
<el-tab-pane label="无功功率" name="2" class="mt10">
<MyEChart :options="options2" />
</el-tab-pane>
<el-tab-pane label="谐波电流幅值" name="3">
<el-tab-pane label="谐波电流幅值" name="3" class="mt10">
<MyEChart :options="options3" />
</el-tab-pane>
<el-tab-pane label="首端电压模型参数" name="4">
@@ -75,7 +75,12 @@
</el-tabs>
<div class="bottomBox">
<el-row v-if="showAssess">
<el-col :span="16" :style="`height: calc(${tabsHeight} / 2 - 57px)`">
<el-col
:span="16"
:style="`height: calc(${tabsHeight} / 2 - ${
props.rowList.id == undefined ? 12 + 45 : 12
}px)`"
>
<vxe-table
style="flex: 1.5"
v-bind="defaultAttribute"
@@ -112,7 +117,12 @@
</vxe-column>
</vxe-table>
</el-col>
<el-col :span="8" :style="`height: calc(${tabsHeight} / 2 - 107px)`">
<el-col
:span="8"
:style="`height: calc(${tabsHeight} / 2 - ${
props.rowList.id == undefined ? 62 + 45 : 62
}px)`"
>
<MyEChart style="flex: 1" :options="pieCharts" />
</el-col>
</el-row>
@@ -223,7 +233,7 @@ const dotList: any = ref({
onMounted(() => {
const dom = document.getElementById('navigation-splitpanes')
if (dom) {
size.value = Math.round((180 / dom.offsetHeight) * 100)
size.value = Math.round((130 / dom.offsetHeight) * 100)
}
datePickerRef.value.setTimeOptions([{ label: '周', value: 4 }])
datePickerRef.value.setInterval(4)
@@ -278,9 +288,9 @@ const onSubmit = async () => {
for (let k in res[0].data.stringMap) {
voltageList.value.push({
name: k,
c: res[0].data.stringMap[k][0].toFixed(2),
a: res[0].data.stringMap[k][1].toFixed(2),
b: res[0].data.stringMap[k][2].toFixed(2)
c: res[0].data.stringMap[k][0],
a: res[0].data.stringMap[k][1],
b: res[0].data.stringMap[k][2]
})
}
setEChart(1, res[0].data.data, '有功功率', 'w')
@@ -334,6 +344,7 @@ const setEChart = (val: any, data: any, text: string, name: string) => {
// selectedMode: false,
},
grid: {
top: '30px',
left: '30px'
},
color: ['#FFCC33', '#00CC00', '#CC0000'],
@@ -448,7 +459,7 @@ const rendering = (data: any) => {
series: [
{
type: 'pie',
center: ['50%', '60%'],
center: ['60%', '70%'],
radius: ['35%', '48%'],
label: {
normal: {