|
@@ -14,7 +14,32 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div style="display: flex; flex-direction: row;margin-right: 90px;width: 800px;">
|
|
|
+ <div class="infoMsg">
|
|
|
+ <div class="infoTitle">
|
|
|
+ <span>欠发电量</span>
|
|
|
+ </div>
|
|
|
+ <div class="infoMain" :class="
|
|
|
+ data.num1 === 5
|
|
|
+ ? 'item9'
|
|
|
+ : data.num1 === 4
|
|
|
+ ? 'item8'
|
|
|
+ : data.num1 === 3
|
|
|
+ ? 'item7'
|
|
|
+ : data.num1 === 2
|
|
|
+ ? 'item6'
|
|
|
+ : data.num1 === 1
|
|
|
+ ? 'item5'
|
|
|
+ : '' " v-for="(data, index) of panel2Data.datas" :key="index">
|
|
|
+ <div class="infoMain_top">
|
|
|
+ <span class="whiteBox"></span>
|
|
|
+ <span class="infoMainMsg">×{{ data.num1 }}</span>
|
|
|
+ </div>
|
|
|
+ <div class="infoMain_bot">
|
|
|
+ <span>{{ data.num3 }}</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- <div style="display: flex; flex-direction: row;margin-right: 90px;width: 800px;">
|
|
|
<div class="item2" v-for="(data, index) of panel2Data.datas" :key="index">
|
|
|
<div :class="
|
|
|
data.num1 === 5
|
|
@@ -35,78 +60,176 @@
|
|
|
<div class="num3">{{ data.num3 }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
</div>
|
|
|
<div class="content">
|
|
|
<box-select node=".box" @selectList="selectList">
|
|
|
<div class="windStation" v-for="(item, index) in stationArr" :key="index">
|
|
|
- <div class="stationTitle">
|
|
|
+ <div class="stationTitle" v-if="item[0].stationId">
|
|
|
<div class="stationName">
|
|
|
- {{
|
|
|
- stationList.filter((val) => item[0].stationId === val.id)[0]
|
|
|
- ?.name
|
|
|
- }}
|
|
|
+ {{getStationName(item)}}
|
|
|
</div>
|
|
|
<div class="num">
|
|
|
<div class="jrts">接入台数</div>
|
|
|
- <div class="jrts_num">{{ item.length }}</div>
|
|
|
+ <!-- <div class="jrts_num">{{ item.length }}</div> -->
|
|
|
+ <div class="jrts_num">{{ getStatus(item, 'jr') }}</div>
|
|
|
</div>
|
|
|
<div class="num">
|
|
|
<div class="djts">待机台数</div>
|
|
|
<div class="djts_num">
|
|
|
- {{ item.filter((val) => val.status === 2)?.length }}
|
|
|
+ <!-- {{ item.filter((val) => val.status === 2)?.length }} -->
|
|
|
+ <div class="jrts_num">{{ getStatus(item, 'dj') }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="num">
|
|
|
<div class="bwts">并网台数</div>
|
|
|
<div class="bwts_num">
|
|
|
- {{ item.filter((val) => val.status === 4)?.length }}
|
|
|
+ <!-- {{ item.filter((val) => val.status === 4)?.length }} -->
|
|
|
+ <div class="jrts_num">{{ getStatus(item, 'bw') }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="num">
|
|
|
<div class="gzts">故障台数</div>
|
|
|
<div class="gzts_num">
|
|
|
- {{ item.filter((val) => val.status === 5)?.length }}
|
|
|
+ <!-- {{ item.filter((val) => val.status === 5)?.length }} -->
|
|
|
+ <div class="jrts_num">{{ getStatus(item, 'gz') }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="num">
|
|
|
<div class="jxts">检修台数</div>
|
|
|
<div class="jxts_num">
|
|
|
- {{ item.filter((val) => val.status === 6)?.length }}
|
|
|
+ <!-- {{ item.filter((val) => val.status === 6)?.length }} -->
|
|
|
+ <div class="jrts_num">{{ getStatus(item, 'jx') }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="num">
|
|
|
<div class="lxts">离线台数</div>
|
|
|
<div class="lxts_num">
|
|
|
- {{ item.filter((val) => val.status === 7)?.length }}
|
|
|
+ <!-- {{ item.filter((val) => val.status === 7)?.length }} -->
|
|
|
+ <div class="jrts_num">{{ getStatus(item, 'lx') }}</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="stationInfo">
|
|
|
+ <div class="name">实时功率</div>
|
|
|
+ <div class="nums">
|
|
|
+ <!-- {{
|
|
|
+ $store.state.titleInfo.stationOverviewInfos[
|
|
|
+ item[0].stationId
|
|
|
+ ]?.realTimePower?.value.toFixed(2)
|
|
|
+ }}MW -->
|
|
|
+ {{getseeting($store.state.titleInfo.stationOverviewInfos, item[0], 'power')}}MW
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="stationInfo">
|
|
|
+ <div class="name">平均风速</div>
|
|
|
+ <div class="nums">
|
|
|
+ <!-- {{
|
|
|
+ $store.state.titleInfo.stationOverviewInfos[
|
|
|
+ item[0].stationId
|
|
|
+ ]?.averageWindSpeed?.value.toFixed(2)
|
|
|
+ }}m/s -->
|
|
|
+ {{getseeting($store.state.titleInfo.stationOverviewInfos, item[0], 'wind')}}m/s
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="stationTitle" v-else>
|
|
|
+ <div class="stationName">
|
|
|
+ {{getStationName(item)}}
|
|
|
+ </div>
|
|
|
+ <div class="num">
|
|
|
+ <div class="jrts">接入台数</div>
|
|
|
+ <!-- <div class="jrts_num">{{ item.length }}</div> -->
|
|
|
+ <div class="jrts_num">{{ getStatus(item, 'jr') }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="num">
|
|
|
+ <div class="djts">待机台数</div>
|
|
|
+ <div class="djts_num">
|
|
|
+ <!-- {{ item.filter((val) => val.status === 2)?.length }} -->
|
|
|
+ <div class="jrts_num">{{ getStatus(item, 'dj') }}</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="num">
|
|
|
+ <div class="bwts">并网台数</div>
|
|
|
+ <div class="bwts_num">
|
|
|
+ <!-- {{ item.filter((val) => val.status === 4)?.length }} -->
|
|
|
+ <div class="jrts_num">{{ getStatus(item, 'bw') }}</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="num">
|
|
|
+ <div class="gzts">故障台数</div>
|
|
|
+ <div class="gzts_num">
|
|
|
+ <!-- {{ item.filter((val) => val.status === 5)?.length }} -->
|
|
|
+ <div class="jrts_num">{{ getStatus(item, 'gz') }}</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="num">
|
|
|
+ <div class="jxts">离线台数</div>
|
|
|
+ <div class="jxts_num">
|
|
|
+ <!-- {{ item.filter((val) => val.status === 6)?.length }} -->
|
|
|
+ <div class="jrts_num">{{ getStatus(item, 'lx') }}</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="num">
|
|
|
+ <div class="lxts">维护台数</div>
|
|
|
+ <div class="lxts_num">
|
|
|
+ <!-- {{ item.filter((val) => val.status === 7)?.length }} -->
|
|
|
+ <div class="jrts_num">{{ getStatus(item, 'wh') }}</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="num">
|
|
|
+ <div class="gzts">限电台数</div>
|
|
|
+ <div class="gzts_num">
|
|
|
+ <!-- {{ item.filter((val) => val.status === 7)?.length }} -->
|
|
|
+ <div class="jrts_num">{{ getStatus(item, 'xd') }}</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="num">
|
|
|
+ <div class="gzts">限电停机台数</div>
|
|
|
+ <div class="gzts_num">
|
|
|
+ <!-- {{ item.filter((val) => val.status === 5)?.length }} -->
|
|
|
+ <div class="jrts_num">{{ getStatus(item, 'xdtj') }}</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="num">
|
|
|
+ <div class="lxts">未知台数</div>
|
|
|
+ <div class="lxts_num">
|
|
|
+ <!-- {{ item.filter((val) => val.status === 6)?.length }} -->
|
|
|
+ <div class="jrts_num">{{ getStatus(item, 'wz') }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="stationInfo">
|
|
|
<div class="name">实时功率</div>
|
|
|
<div class="nums">
|
|
|
- {{
|
|
|
+ <!-- {{
|
|
|
$store.state.titleInfo.stationOverviewInfos[
|
|
|
item[0].stationId
|
|
|
]?.realTimePower?.value.toFixed(2)
|
|
|
- }}MW
|
|
|
+ }}MW -->
|
|
|
+ {{getseeting($store.state.titleInfo.stationOverviewInfos, 'power')}}MW
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="stationInfo">
|
|
|
<div class="name">平均风速</div>
|
|
|
<div class="nums">
|
|
|
- {{
|
|
|
+ <!-- {{
|
|
|
$store.state.titleInfo.stationOverviewInfos[
|
|
|
item[0].stationId
|
|
|
]?.averageWindSpeed?.value.toFixed(2)
|
|
|
- }}m/s
|
|
|
+ }}m/s -->
|
|
|
+ {{getseeting($store.state.titleInfo.stationOverviewInfos, 'wind')}}m/s
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="block">
|
|
|
+ <div class="block" v-if="showWh(item)">
|
|
|
<UnpaidMatrixBlock @on-click="handleDetial" @choose-click="handleClick" :dataList="item">
|
|
|
</UnpaidMatrixBlock>
|
|
|
</div>
|
|
|
+ <div class="block" v-else>
|
|
|
+ <UnpaidMatrixBlockPv @on-click="handleDetial" @choose-click="handleClick" :dataList="item">
|
|
|
+ </UnpaidMatrixBlockPv>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</box-select>
|
|
|
</div>
|
|
@@ -119,13 +242,16 @@
|
|
|
<script>
|
|
|
import BackgroundData from "utils/BackgroundData";
|
|
|
import UnpaidMatrixBlock from "components/unpaidMatrixBlock.vue";
|
|
|
+import UnpaidMatrixBlockPv from "components/unpaidMatrixBlockPv.vue";
|
|
|
import WindturbineDetailPages from "components/WindturbineDetailPages.vue";
|
|
|
import boxSelect from "components/boxSelect.vue";
|
|
|
import ParametersContrast from "./control/parametersContrast.vue";
|
|
|
+import MessageBridge from "../utils/MessageBridge";
|
|
|
import api from "api/index";
|
|
|
export default {
|
|
|
components: {
|
|
|
UnpaidMatrixBlock,
|
|
|
+ UnpaidMatrixBlockPv,
|
|
|
WindturbineDetailPages,
|
|
|
boxSelect,
|
|
|
ParametersContrast,
|
|
@@ -184,23 +310,99 @@ export default {
|
|
|
},
|
|
|
mounted() { },
|
|
|
methods: {
|
|
|
+ showWh(item) {
|
|
|
+ let show = false
|
|
|
+ if (item[0].stationId) {
|
|
|
+ show = true
|
|
|
+ }
|
|
|
+ return show
|
|
|
+ },
|
|
|
+ getStatus(item, type) {
|
|
|
+ let num = 0
|
|
|
+ if (item[0].stationId) {
|
|
|
+ if (type === 'jr') {
|
|
|
+ num = item.length
|
|
|
+ } else if (type === 'dj') {
|
|
|
+ num = item.filter((val) => val.status === 2)?.length
|
|
|
+ } else if (type === 'bw') {
|
|
|
+ num = item.filter((val) => val.status === 4)?.length
|
|
|
+ } else if (type === 'gz') {
|
|
|
+ num = item.filter((val) => val.status === 5)?.length
|
|
|
+ } else if (type === 'jx') {
|
|
|
+ num = item.filter((val) => val.status === 6)?.length
|
|
|
+ } else if (type === 'lx') {
|
|
|
+ num = item.filter((val) => val.status === 7)?.length
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ if (type === 'jr') {
|
|
|
+ num = item.length
|
|
|
+ } else if (type === 'dj') {
|
|
|
+ num = item.filter((val) => val.status === 0)?.length
|
|
|
+ } else if (type === 'bw') {
|
|
|
+ num = item.filter((val) => val.status === 1)?.length
|
|
|
+ } else if (type === 'gz') {
|
|
|
+ num = item.filter((val) => val.status === 2)?.length
|
|
|
+ } else if (type === 'lx') {
|
|
|
+ num = item.filter((val) => val.status === 3)?.length
|
|
|
+ } else if (type === 'wh') {
|
|
|
+ num = item.filter((val) => val.status === 4)?.length
|
|
|
+ } else if (type === 'xd') {
|
|
|
+ num = item.filter((val) => val.status === 5)?.length
|
|
|
+ } else if (type === 'xdtj') {
|
|
|
+ num = item.filter((val) => val.status === 6)?.length
|
|
|
+ } else if (type === 'wz') {
|
|
|
+ num = item.filter((val) => val.status === -1)?.length
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return num
|
|
|
+ },
|
|
|
+ getStationName(item) {
|
|
|
+ let name = ''
|
|
|
+ if (item[0]) {
|
|
|
+ this.stationList.forEach(val =>{
|
|
|
+ if (item[0].stationId) {
|
|
|
+ if (item[0].stationId === val.id) {
|
|
|
+ name = val.name
|
|
|
+ }
|
|
|
+ } else if (item[0].station) {
|
|
|
+ if (item[0].station === val.id) {
|
|
|
+ name = val.name
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ return name
|
|
|
+ },
|
|
|
+ getseeting(arr, item, type) {
|
|
|
+ let num = ''
|
|
|
+ if (arr[item.stationId]) {
|
|
|
+ if (arr[item.stationId].realTimePower) {
|
|
|
+ if (type === 'power') {
|
|
|
+ num = arr[item.stationId].realTimePower.value.toFixed(2)
|
|
|
+ } else {
|
|
|
+ num = arr[item.stationId].averageWindSpeed.value.toFixed(2)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return num
|
|
|
+ },
|
|
|
opened() {
|
|
|
let stationList = [
|
|
|
{
|
|
|
id: "all",
|
|
|
- name: "全部风机",
|
|
|
+ name: "全部",
|
|
|
},
|
|
|
];
|
|
|
let stations = this.$store.state.stationList;
|
|
|
stations.forEach((item) => {
|
|
|
- if (item.id.indexOf("FDC") != -1) {
|
|
|
+ if (item.id.indexOf("FDC") != -1 || item.id.indexOf("GDC") != -1) {
|
|
|
stationList.push(item);
|
|
|
this.stationObj[item.id] = [];
|
|
|
}
|
|
|
});
|
|
|
this.stationList = stationList;
|
|
|
this.handleWindturbineChange();
|
|
|
- this.intervals = setInterval(this.handleWindturbineChange, 3000);
|
|
|
+ // this.intervals = setInterval(this.handleWindturbineChange, 3000);
|
|
|
},
|
|
|
closed() {
|
|
|
this.chooseList = [];
|
|
@@ -214,7 +416,7 @@ export default {
|
|
|
let stations = this.$store.state.stationList;
|
|
|
stations.forEach((item) => {
|
|
|
if (val === "all") {
|
|
|
- if (item.id.indexOf("FDC") != -1) {
|
|
|
+ if (item.id.indexOf("FDC") != -1 || item.id.indexOf("GDC") != -1) {
|
|
|
stationObj[item.id] = [];
|
|
|
}
|
|
|
} else if (item.id === val) {
|
|
@@ -516,44 +718,137 @@ export default {
|
|
|
this.parametersDisplay = true;
|
|
|
}
|
|
|
},
|
|
|
- handleWindturbineChange() {
|
|
|
- api.getWindturbine().then((res) => {
|
|
|
- if (res.data) {
|
|
|
- let stationArr = [];
|
|
|
- for (const key in this.stationObj) {
|
|
|
- this.stationObj[key] = [];
|
|
|
- }
|
|
|
- this.windterbin = res.data;
|
|
|
- let arr = Object.keys(res.data).sort();
|
|
|
- for (const id of arr) {
|
|
|
- let val = res.data[id];
|
|
|
- if (val.lockValue === 9) {
|
|
|
- val.lockValues = this.lockValues.filter(
|
|
|
- (item) => val.windturbineId === item.windturbineID
|
|
|
- )[0]?.value;
|
|
|
+ getPvMsg(msg) {
|
|
|
+ window.sessionStorage.removeItem('pv')
|
|
|
+ // let jsonMsg = JSON.parse(msg)
|
|
|
+ window.sessionStorage.setItem('pv', msg)
|
|
|
+ this.changeData()
|
|
|
+ },
|
|
|
+ getWindMsg(msg) {
|
|
|
+ window.sessionStorage.removeItem('wind')
|
|
|
+ // let jsonMsg = JSON.parse(msg)
|
|
|
+ window.sessionStorage.setItem('wind', msg)
|
|
|
+ this.changeData()
|
|
|
+ },
|
|
|
+ changeData() {
|
|
|
+ let wswind = JSON.parse(window.sessionStorage.getItem('wind'))
|
|
|
+ let pv = JSON.parse(window.sessionStorage.getItem('pv'))
|
|
|
+ let msg = {}
|
|
|
+ if (wswind && pv) {
|
|
|
+ msg = {...wswind, ...pv}
|
|
|
+ let stationArr = [];
|
|
|
+ for (const key in this.stationObj) {
|
|
|
+ this.stationObj[key] = [];
|
|
|
}
|
|
|
- this.chooseList.forEach((item) => {
|
|
|
- if (item.windturbineId === val.windturbineId) {
|
|
|
- val.active = true;
|
|
|
- }
|
|
|
- });
|
|
|
- if (this.current === "all") {
|
|
|
- this.stationObj[val.stationId]?.push(val);
|
|
|
- } else {
|
|
|
- if (this.current === val.stationId) {
|
|
|
- this.stationObj[val.stationId]?.push(val);
|
|
|
- }
|
|
|
+ this.windterbin = msg;
|
|
|
+ let arr = Object.keys(msg).sort();
|
|
|
+ for (const id of arr) {
|
|
|
+ let val = msg[id];
|
|
|
+
|
|
|
+ //风机
|
|
|
+ if (val.stationId) {
|
|
|
+ if (val.lockValue === 9) {
|
|
|
+ val.lockValues = this.lockValues.filter(
|
|
|
+ (item) => val.windturbineId === item.windturbineID
|
|
|
+ )[0]?.value;
|
|
|
+ }
|
|
|
+ this.chooseList.forEach((item) => {
|
|
|
+ if (item.windturbineId === val.windturbineId) {
|
|
|
+ val.active = true;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ if (this.current === "all") {
|
|
|
+ this.stationObj[val.stationId]?.push(val);
|
|
|
+ } else {
|
|
|
+ if (this.current === val.stationId) {
|
|
|
+ this.stationObj[val.stationId]?.push(val);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // 光伏
|
|
|
+ if(val.station) {
|
|
|
+ if (this.current === "all") {
|
|
|
+ this.stationObj[val.station]?.push(val);
|
|
|
+ } else {
|
|
|
+ if (this.current === val.station) {
|
|
|
+ this.stationObj[val.station]?.push(val);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
- this.current === "all" &&
|
|
|
- (this.cache = JSON.parse(JSON.stringify(this.stationObj)));
|
|
|
- let list = Object.keys(this.stationObj).sort();
|
|
|
- for (const id of list) {
|
|
|
- stationArr.push(this.stationObj[id]);
|
|
|
- }
|
|
|
- this.stationArr = stationArr;
|
|
|
+ this.current === "all" &&
|
|
|
+ (this.cache = JSON.parse(JSON.stringify(this.stationObj)));
|
|
|
+ let list = Object.keys(this.stationObj).sort();
|
|
|
+ for (const id of list) {
|
|
|
+ stationArr.push(this.stationObj[id]);
|
|
|
+ }
|
|
|
+ // this.stationArr = stationArr;
|
|
|
+ this.stationArr = this.sortStarionArr(stationArr);
|
|
|
}
|
|
|
- });
|
|
|
+ },
|
|
|
+ // 按照场站排序
|
|
|
+ sortStarionArr(arr) {
|
|
|
+ let newArr = []
|
|
|
+ for (let i = 0; i<this.stationList.length; i++) {
|
|
|
+ let item = this.stationList[i]
|
|
|
+ for (let j = 0; j<arr.length; j++) {
|
|
|
+ let itn = arr[j]
|
|
|
+ if (itn[0].stationId && itn[0].stationId === item.id) {
|
|
|
+ newArr.push(itn)
|
|
|
+ } else if (itn[0].station && itn[0].station === item.id) {
|
|
|
+ newArr.push(itn)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return newArr
|
|
|
+ },
|
|
|
+ handleWindturbineChange() {
|
|
|
+ let ws = MessageBridge.getInstance();
|
|
|
+ let wind = [
|
|
|
+ { key: "/topic/windturbine", action: this.getWindMsg },
|
|
|
+ ];
|
|
|
+ let guangfu = [
|
|
|
+ { key: "/topic/pv", action: this.getPvMsg },
|
|
|
+ ];
|
|
|
+ ws.register(wind);
|
|
|
+ ws.register(guangfu);
|
|
|
+ // api.getWindturbine().then((res) => {
|
|
|
+ // if (res.data) {
|
|
|
+ // let stationArr = [];
|
|
|
+ // for (const key in this.stationObj) {
|
|
|
+ // this.stationObj[key] = [];
|
|
|
+ // }
|
|
|
+ // this.windterbin = res.data;
|
|
|
+ // let arr = Object.keys(res.data).sort();
|
|
|
+ // for (const id of arr) {
|
|
|
+ // let val = res.data[id];
|
|
|
+ // if (val.lockValue === 9) {
|
|
|
+ // val.lockValues = this.lockValues.filter(
|
|
|
+ // (item) => val.windturbineId === item.windturbineID
|
|
|
+ // )[0]?.value;
|
|
|
+ // }
|
|
|
+ // this.chooseList.forEach((item) => {
|
|
|
+ // if (item.windturbineId === val.windturbineId) {
|
|
|
+ // val.active = true;
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ // if (this.current === "all") {
|
|
|
+ // this.stationObj[val.stationId]?.push(val);
|
|
|
+ // } else {
|
|
|
+ // if (this.current === val.stationId) {
|
|
|
+ // this.stationObj[val.stationId]?.push(val);
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // this.current === "all" &&
|
|
|
+ // (this.cache = JSON.parse(JSON.stringify(this.stationObj)));
|
|
|
+ // let list = Object.keys(this.stationObj).sort();
|
|
|
+ // for (const id of list) {
|
|
|
+ // stationArr.push(this.stationObj[id]);
|
|
|
+ // }
|
|
|
+ // this.stationArr = stationArr;
|
|
|
+ // }
|
|
|
+ // });
|
|
|
},
|
|
|
},
|
|
|
};
|
|
@@ -583,9 +878,68 @@ export default {
|
|
|
margin-left: 3vw;
|
|
|
padding-top: 8px;
|
|
|
position: absolute;
|
|
|
- width: 100%;
|
|
|
+ width: 96%;
|
|
|
background-color: #000000;
|
|
|
padding-bottom: 10px;
|
|
|
+ .infoMsg{
|
|
|
+ display: flex;
|
|
|
+ background: #fff;
|
|
|
+ border-radius: 10px;
|
|
|
+ height: 34px;
|
|
|
+ padding: 0 10px;
|
|
|
+ margin-right: 20px;
|
|
|
+ .infoTitle{
|
|
|
+ position: relative;
|
|
|
+ top: 7px;
|
|
|
+ color: #000;
|
|
|
+ font-weight: 600;
|
|
|
+ padding: 0 10px;
|
|
|
+ span{
|
|
|
+ margin-right: 10px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .infoMain{
|
|
|
+ padding: 0 20px;
|
|
|
+ color: #fff;
|
|
|
+ .infoMain_top{
|
|
|
+ display: flex;
|
|
|
+ justify-content: end;
|
|
|
+ .whiteBox{
|
|
|
+ display: inline-block;
|
|
|
+ width: 15px;
|
|
|
+ height: 5px;
|
|
|
+ background: #fff;
|
|
|
+ position: relative;
|
|
|
+ top: 5px;
|
|
|
+ }
|
|
|
+ .infoMainMsg{
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .infoMain_bot{
|
|
|
+ position: relative;
|
|
|
+ top: -3px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .item9 {
|
|
|
+ background-color: rgba(05, 187, 76, 1);
|
|
|
+ }
|
|
|
+
|
|
|
+ .item8 {
|
|
|
+ background-color: #0ec7dc;
|
|
|
+ }
|
|
|
+
|
|
|
+ .item7 {
|
|
|
+ background-color: rgba(75, 85, 174, 1);
|
|
|
+ }
|
|
|
+
|
|
|
+ .item6 {
|
|
|
+ background-color: rgba(225, 125, 36, 1);
|
|
|
+ }
|
|
|
+
|
|
|
+ .item5 {
|
|
|
+ background-color: rgba(186, 50, 55, 1);
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.title {
|
|
@@ -613,9 +967,9 @@ export default {
|
|
|
}
|
|
|
|
|
|
.content {
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- margin-top: 65px;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ margin-top: 50px;
|
|
|
}
|
|
|
|
|
|
.block {
|
|
@@ -775,43 +1129,5 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-.item9 {
|
|
|
- background-color: #57cf3a;
|
|
|
- flex: 1;
|
|
|
- display: flex;
|
|
|
- width: 20%;
|
|
|
- flex-wrap: wrap;
|
|
|
-}
|
|
|
|
|
|
-.item8 {
|
|
|
- background-color: #0ec7dc;
|
|
|
- flex: 1;
|
|
|
- display: flex;
|
|
|
- width: 20%;
|
|
|
- flex-wrap: wrap;
|
|
|
-}
|
|
|
-
|
|
|
-.item7 {
|
|
|
- background-color: #1974ff;
|
|
|
- flex: 1;
|
|
|
- display: flex;
|
|
|
- width: 20%;
|
|
|
- flex-wrap: wrap;
|
|
|
-}
|
|
|
-
|
|
|
-.item6 {
|
|
|
- background-color: #cd4cdd;
|
|
|
- flex: 1;
|
|
|
- display: flex;
|
|
|
- width: 20%;
|
|
|
- flex-wrap: wrap;
|
|
|
-}
|
|
|
-
|
|
|
-.item5 {
|
|
|
- background-color: #ff3c80;
|
|
|
- flex: 1;
|
|
|
- display: flex;
|
|
|
- width: 20%;
|
|
|
- flex-wrap: wrap;
|
|
|
-}
|
|
|
</style>
|