|
@@ -1,11 +1,7 @@
|
|
|
<template>
|
|
|
- <div style="width: 100%; height: 100%; padding: 10px;background: #030713;">
|
|
|
- <el-tabs
|
|
|
- v-model="tabActiveName"
|
|
|
- class="jjyxTabs"
|
|
|
- v-if="$route.path === '/economicsOperation'"
|
|
|
- >
|
|
|
- <el-tab-pane label="运行指标" name="yxzb">
|
|
|
+ <div style="width: 100%; height: 100%; padding: 10px; background: #030713">
|
|
|
+ <el-tabs v-model="tabActiveName" class="jjyxTabs" v-if="false">
|
|
|
+ <el-tab-pane label="运行指标" name="yxzb">
|
|
|
<iframe
|
|
|
:src="
|
|
|
iframeUrl +
|
|
@@ -154,8 +150,134 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-tab-pane>
|
|
|
-
|
|
|
</el-tabs>
|
|
|
+
|
|
|
+ <div class="operationHome" v-if="$route.path === '/economicsOperation'">
|
|
|
+ <!-- <tab @select="selectionItemClick" /> -->
|
|
|
+ <div class="homeMain">
|
|
|
+ <div class="homeLeaf">
|
|
|
+ <Row type="flex" class="plan" style="height: 21%">
|
|
|
+ <Col :span="24">
|
|
|
+ <com-panel
|
|
|
+ title="发电量"
|
|
|
+ sub-title="单位:万kWh"
|
|
|
+ bodyPadd="50px"
|
|
|
+ style="position: relative; height: 100%"
|
|
|
+ >
|
|
|
+ <div v-for="it in ForecastPower" :key="it" class="powerName">
|
|
|
+ <span :style="{ top: it.top }">{{ it.name }}</span>
|
|
|
+ <span :style="{ top: it.top1 }">{{ it.value }}</span>
|
|
|
+ <span :style="{ top: it.top2 }">{{ it.bfb }}%</span>
|
|
|
+ <span :style="{ top: it.top3 }"
|
|
|
+ >理论发电量 {{ it.total }}</span
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ <list-bar-chart-2 :list="ForecastPower" height="15vh" />
|
|
|
+ </com-panel>
|
|
|
+ </Col>
|
|
|
+ </Row>
|
|
|
+ <Row type="flex" class="plan" style="height: 79%">
|
|
|
+ <Col :span="24">
|
|
|
+ <com-panel
|
|
|
+ title="主要经济指标同期对比"
|
|
|
+ sub-title="单位:万kWh"
|
|
|
+ style="position: relative; height: 100%"
|
|
|
+ >
|
|
|
+ <operationTable :data="zbtqdb" height="100%"></operationTable>
|
|
|
+ </com-panel>
|
|
|
+ </Col>
|
|
|
+ </Row>
|
|
|
+ </div>
|
|
|
+ <div class="homeCenter">
|
|
|
+ <Row type="flex" style="height: 23%">
|
|
|
+ <Col :span="24" style="background: #142446 !important">
|
|
|
+ <com-panel
|
|
|
+ title="发电量完成率"
|
|
|
+ sub-title="单位:万kWh"
|
|
|
+ style="position: relative; height: 100%"
|
|
|
+ >
|
|
|
+ <power-plan :data="planData" :title="planBtnName" />
|
|
|
+ </com-panel>
|
|
|
+ </Col>
|
|
|
+ </Row>
|
|
|
+ <Row type="flex" style="height: 25%">
|
|
|
+ <Col :span="24">
|
|
|
+ <com-panel title="限电" style="position: relative; height: 100%">
|
|
|
+ <multiple-y-line-chart-normal
|
|
|
+ height="100%"
|
|
|
+ :list="Powertrend"
|
|
|
+ :yAxises="PowertrendYAxises"
|
|
|
+ :showLegend="true"
|
|
|
+ :hoverType="'axis'"
|
|
|
+ />
|
|
|
+ </com-panel>
|
|
|
+ </Col>
|
|
|
+ </Row>
|
|
|
+ <Row type="flex" style="height: 25%">
|
|
|
+ <Col :span="24">
|
|
|
+ <com-panel
|
|
|
+ title="损失电量"
|
|
|
+ style="position: relative; height: 100%"
|
|
|
+ >
|
|
|
+ <multiple-y-line-chart-normal
|
|
|
+ height="100%"
|
|
|
+ :list="Powerloss"
|
|
|
+ :yAxises="PowerlossYAxises"
|
|
|
+ :showLegend="true"
|
|
|
+ :hoverType="'axis'"
|
|
|
+ />
|
|
|
+ </com-panel>
|
|
|
+ </Col>
|
|
|
+ </Row>
|
|
|
+ <Row type="flex" style="height: 26%">
|
|
|
+ <Col :span="24">
|
|
|
+ <com-panel
|
|
|
+ title="发电量"
|
|
|
+ style="position: relative; height: 100%"
|
|
|
+ >
|
|
|
+ <!-- <marker-line-chart :height="'100%'" :list="Powersend" myUnit='MW' :showLegend="true" /> -->
|
|
|
+ <multiple-bar-chart
|
|
|
+ :list="Powersend"
|
|
|
+ :units="['电量(万kwh)']"
|
|
|
+ height="100%"
|
|
|
+ :showLegend="true"
|
|
|
+ />
|
|
|
+ </com-panel>
|
|
|
+ </Col>
|
|
|
+ </Row>
|
|
|
+ </div>
|
|
|
+ <div class="homeRight">
|
|
|
+ <div class="tabs">
|
|
|
+ <div
|
|
|
+ class="tab-item"
|
|
|
+ v-for="(item, index) of tabData"
|
|
|
+ :key="item"
|
|
|
+ :class="{ active: activeIndex == index }"
|
|
|
+ @click="selectTab(index, item)"
|
|
|
+ >
|
|
|
+ {{ item.text }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <Row
|
|
|
+ type="flex"
|
|
|
+ class="rightplan"
|
|
|
+ v-for="it in rightTableData"
|
|
|
+ :key="it.name"
|
|
|
+ style="height: 50%"
|
|
|
+ >
|
|
|
+ <Col :span="24">
|
|
|
+ <com-panel
|
|
|
+ :title="it.name + tabData[activeIndex].text + '排名'"
|
|
|
+ style="position: relative; height: 100%"
|
|
|
+ >
|
|
|
+ <operationTable :data="it.data" height="100%"></operationTable>
|
|
|
+ </com-panel>
|
|
|
+ </Col>
|
|
|
+ </Row>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
<router-view v-else />
|
|
|
</div>
|
|
|
</template>
|
|
@@ -404,7 +526,8 @@ export default {
|
|
|
}
|
|
|
.operationHome {
|
|
|
width: 100%;
|
|
|
- height: 100%;
|
|
|
+ height: calc(100% - 36px);
|
|
|
+ margin-top: 36px;
|
|
|
|
|
|
.homeMain {
|
|
|
width: 100%;
|