12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199 |
- <template>
- <headerNav @typeFlag="typeFlag" :isAll="true" />
- <div
- :class="$store.state.themeName === 'dark' ? 'dark-matrix' : 'light-matrix'"
- >
- <el-header>
- <el-row>
- <el-col :span="12" v-if="activeTab == 'fc'">
- <div class="fd-header1">
- <el-col class="fd-img">
- <div class="imgs">
- <img src="@assets/imgs/downF.png" />
- <img
- width="30"
- height="26"
- src="@assets/imgs/windup.png"
- class="qty_imgs"
- />
- </div>
- <div class="titles" @click="changeShow('all')">
- <div>接入风机</div>
- <p style="text-align: center; cursor: pointer">
- {{ sourceMap.jrts || "0" }}
- </p>
- </div>
- </el-col>
- <el-col @click="changeShow(0)" style="cursor: pointer">
- <div class="active-b" :class="{ active_bor: fillFjzt == 0 }">
- <p class="left_p"></p>
- <p class="right_p"></p>
- <div class="yuan">
- <p><span class="circle"></span></p>
- <p>待机</p>
- </div>
- <div>
- {{ sourceMap.djts || "0" }}
- </div>
- </div>
- </el-col>
- <el-col @click="changeShow(1)" style="cursor: pointer">
- <div class="active-b" :class="{ active_bor: fillFjzt == 1 }">
- <p class="left_p"></p>
- <p class="right_p"></p>
- <div class="yuan">
- <p><span class="circle"></span></p>
- <p>并网</p>
- </div>
- <div>
- {{ sourceMap.bwts || "0" }}
- </div>
- </div>
- </el-col>
- <el-col @click="changeShow(2)" style="cursor: pointer">
- <div class="active-b" :class="{ active_bor: fillFjzt == 2 }">
- <p class="left_p"></p>
- <p class="right_p"></p>
- <div class="yuan">
- <p><span class="circle"></span></p>
- <p>故障</p>
- </div>
- <div>
- {{ sourceMap.gzts || "0" }}
- </div>
- </div>
- </el-col>
- <el-col @click="changeShow(3)" style="cursor: pointer">
- <div class="active-b" :class="{ active_bor: fillFjzt == 3 }">
- <p class="left_p"></p>
- <p class="right_p"></p>
- <div class="yuan">
- <p><span class="circle"></span></p>
- <p>检修</p>
- </div>
- <div>
- {{ sourceMap.jxts || "0" }}
- </div>
- </div>
- </el-col>
- <el-col @click="changeShow(4)" style="cursor: pointer">
- <div class="active-b" :class="{ active_bor: fillFjzt == 4 }">
- <p class="left_p"></p>
- <p class="right_p"></p>
- <div class="yuan">
- <p><span class="circle"></span></p>
- <p>限电</p>
- </div>
- <div>
- {{ sourceMap.xdts || "0" }}
- </div>
- </div>
- </el-col>
- <el-col @click="changeShow(5)" style="cursor: pointer">
- <div class="active-b" :class="{ active_bor: fillFjzt == 5 }">
- <p class="left_p"></p>
- <p class="right_p"></p>
- <div class="yuan">
- <p><span class="circle"></span></p>
- <p>受累</p>
- </div>
- <div>
- {{ sourceMap.slts || "0" }}
- </div>
- </div>
- </el-col>
- <el-col @click="changeShow(6)" style="cursor: pointer">
- <div class="active-b" :class="{ active_bor: fillFjzt == 6 }">
- <p class="left_p"></p>
- <p class="right_p"></p>
- <div class="yuan">
- <p><span class="circle"></span></p>
- <p>离线</p>
- </div>
- <div>
- {{ sourceMap.lxts || "0" }}
- </div>
- </div>
- </el-col>
- </div>
- </el-col>
- <el-col :span="12" v-if="activeTab == 'gf'">
- <div class="fd-header2">
- <el-col class="gf-img">
- <div class="imgs">
- <img src="@assets/imgs/downg.png" />
- <img src="@assets/imgs/ptyup.png" class="qty_img" />
- </div>
- <div class="titles">
- <div>接入光伏</div>
- <p
- style="text-align: center; cursor: pointer"
- @click="changeShow('all')"
- >
- {{ sourceMap.gfjrts || "0" }}
- </p>
- </div>
- </el-col>
- <el-col @click="changeShow(0)" style="cursor: pointer">
- <div class="active-b" :class="{ active_bor: fillFjzt == 0 }">
- <p class="left_p"></p>
- <p class="right_p"></p>
- <div class="yuan">
- <p><span class="circle"></span></p>
- <p>待机</p>
- </div>
- <div>
- {{ sourceMap.gfdjts || "0" }}
- </div>
- </div>
- </el-col>
- <el-col @click="changeShow(1)" style="cursor: pointer">
- <div class="active-b" :class="{ active_bor: fillFjzt == 1 }">
- <p class="left_p"></p>
- <p class="right_p"></p>
- <div class="yuan">
- <p><span class="circle"></span></p>
- <p>并网</p>
- </div>
- <div>
- {{ sourceMap.gfbwts || "0" }}
- </div>
- </div>
- </el-col>
- <el-col @click="changeShow(2)" style="cursor: pointer">
- <div class="active-b" :class="{ active_bor: fillFjzt == 2 }">
- <p class="left_p"></p>
- <p class="right_p"></p>
- <div class="yuan">
- <p><span class="circle"></span></p>
- <p>故障</p>
- </div>
- <div>
- {{ sourceMap.gfgzts || "0" }}
- </div>
- </div>
- </el-col>
- <el-col @click="changeShow(3)" style="cursor: pointer">
- <div class="active-b" :class="{ active_bor: fillFjzt == 3 }">
- <p class="left_p"></p>
- <p class="right_p"></p>
- <div class="yuan">
- <p><span class="circle"></span></p>
- <p>检修</p>
- </div>
- <div>
- {{ sourceMap.gfwhts || "0" }}
- </div>
- </div>
- </el-col>
- <el-col @click="changeShow(4)" style="cursor: pointer">
- <div class="active-b" :class="{ active_bor: fillFjzt == 4 }">
- <p class="left_p"></p>
- <p class="right_p"></p>
- <div class="yuan">
- <p><span class="circle"></span></p>
- <p>限电</p>
- </div>
- <div>
- {{ sourceMap.gfxdts || "0" }}
- </div>
- </div>
- </el-col>
- <el-col @click="changeShow(5)" style="cursor: pointer">
- <div class="active-b" :class="{ active_bor: fillFjzt == 5 }">
- <p class="left_p"></p>
- <p class="right_p"></p>
- <div class="yuan">
- <p><span class="circle"></span></p>
- <p>受累</p>
- </div>
- <div>
- {{ sourceMap.gfslts || "0" }}
- </div>
- </div>
- </el-col>
- <el-col @click="changeShow(6)" style="cursor: pointer">
- <div class="active-b" :class="{ active_bor: fillFjzt == 6 }">
- <p class="left_p"></p>
- <p class="right_p"></p>
- <div class="yuan">
- <p><span class="circle"></span></p>
- <p>离线</p>
- </div>
- <div>
- {{ sourceMap.gflxts || "0" }}
- </div>
- </div>
- </el-col>
- </div>
- </el-col>
- </el-row>
- </el-header>
- <el-scrollbar style="height: calc(100% - 62px)">
- <div
- class="wind_power_plant"
- v-for="(item, index) in showMatrixList"
- :key="index"
- >
- <el-row class="data_statistics">
- <el-col>
- <i
- v-if="item.czlx == -1"
- class="svg-icon svg-icon-sm svg-icon-green"
- >
- <SvgIcon svgid="svg-wind-site"></SvgIcon>
- </i>
- <i v-else class="svg-icon svg-icon-sm svg-icon-orange">
- <SvgIcon svgid="svg-photovoltaic"></SvgIcon>
- </i>
- <span
- class="station-name"
- :style="item.czlx == -1 ? '' : 'color:#ff8100'"
- >{{ item.wpname }}</span
- >
- </el-col>
- <el-col>
- 接入台数<span>{{
- item.jrts ? item.jrts.toFixed(0) : "0"
- }}</span></el-col
- >
- <el-col>
- 待机台数<span>{{
- item.djts ? item.djts.toFixed(0) : "0"
- }}</span></el-col
- >
- <el-col>
- 并网台数<span>{{
- item.bwts ? item.bwts.toFixed(0) : "0"
- }}</span></el-col
- >
- <el-col>
- 故障台数<span>{{
- item.gzts ? item.gzts.toFixed(0) : "0"
- }}</span></el-col
- >
- <el-col>
- 检修台数<span>{{
- item.jxts ? item.jxts.toFixed(0) : "0"
- }}</span></el-col
- >
- <el-col>
- 限电台数<span>{{
- item.xdts ? item.xdts.toFixed(0) : "0"
- }}</span></el-col
- >
- <el-col>
- 受累台数<span>{{
- item.slts ? item.slts.toFixed(0) : "0"
- }}</span></el-col
- >
- <el-col>
- 离线台数<span>{{
- item.lxts ? item.lxts.toFixed(0) : "0"
- }}</span></el-col
- >
- <el-col
- style="cursor: pointer"
- v-if="item.czlx == -1"
- @click="handleIndicatorClick(item.czlx, item.wpid)"
- >
- 风速<span>{{ item.spped ? item.spped.toFixed(2) : "0.00" }}</span>
- </el-col>
- <el-col
- style="cursor: pointer"
- v-else
- @click="handleIndicatorClick(item.czlx, item.wpid)"
- >
- 光照强度<span>{{
- item.spped ? item.spped.toFixed(2) : "0.00"
- }}</span></el-col
- >
- <el-col
- style="cursor: pointer"
- @click="handleIndicatorClick(item.czlx, item.wpid)"
- >
- 预测功率<span>{{
- item.ycgl ? item.ycgl.toFixed(2) : "0.00"
- }}</span></el-col
- >
- <el-col
- v-if="item.czlx == -1"
- style="cursor: pointer"
- @click="handleIndicatorClick(item.czlx, item.wpid)"
- >
- 保证功率<span>{{
- item.bzgl ? (item.bzgl / 1000).toFixed(2) : "0.00"
- }}</span></el-col
- >
- <el-col
- style="cursor: pointer"
- v-if="item.czlx == -2"
- @click="handleIndicatorClick(item.czlx, item.wpid)"
- >
- 理论功率<span>{{
- item.llgl ? (item.llgl / 1000).toFixed(2) : "0.00"
- }}</span></el-col
- >
- <el-col
- style="cursor: pointer"
- @click="handleIndicatorClick(item.czlx, item.wpid)"
- >
- 实际功率<span>{{
- item.sjgl ? (item.sjgl / 1000).toFixed(2) : "0.00"
- }}</span></el-col
- >
- <!-- <el-col>
- AGC指令<span>{{
- item.agc ? item.agc.toFixed(2) : "0.00"
- }}</span></el-col
- >
- <el-col>
- 出线功率<span>{{
- item.cxgl ? (item.cxgl / 1000).toFixed(2) : "0.00"
- }}</span></el-col
- > -->
- </el-row>
- <div class="data_views_text" v-for="(value, key, index) in item.wtlist" :key="index">
- <div class="textsx">{{key}}</div>
- <div class="data_views" :class="{ active_vie: value.length == 0 }">
- <div
- v-for="(subItem, index) in value"
- :key="index"
- @click="goDetails(subItem, item.czlx, item.wpid)"
- >
- <div class="subItemstatus" :class="getColor(subItem?.status)">
- <div style="align-items: center;display: flex;width: 40px;padding: 0 2px;">{{ subItem.wtname }}</div>
- <div style="height: 40px">
- <div style="height: 20px;align-items: center;display: flex;">
- <span style="width: 35px;display: inline-block;text-align: end;">{{ subItem.czlx }}</span>
- <span style="width: 30px;display: inline-block;text-align: end;">m/s</span>
- </div>
- <div style="height: 20px;align-items: center;display: flex;">
- <span style="width: 35px;display: inline-block;text-align: end;">{{ subItem.czlx }}</span>
- <span style="width: 30px;display: inline-block;text-align: end;">MW</span>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
-
- </div>
- </el-scrollbar>
- </div>
- <el-dialog
- :fullscreen="true"
- width="90%"
- top="40px"
- v-model="displayMatrix"
- :show-close="true"
- destroy-on-close
- >
- <template #title>
- <div class="dialog-title">
- <div class="title">设备详情</div>
- </div>
- </template>
- <div class="dialog-body" style="height: 900px">
- <img class="dialog-img" src="@assets/imgs/dialog.png" />
- <windDetail
- v-if="wtType == -1"
- :wind="wind"
- :wtType="wtType"
- :flag="flag"
- ></windDetail>
- <lightDetail
- v-if="wtType == -2"
- :wind="wind"
- :wtType="wtType"
- :flag="flag"
- ></lightDetail>
- </div>
- </el-dialog>
- <qushi-dialog ref="child" :chartName="chartName"></qushi-dialog>
- </template>
- <script>
- import qushiDialog from "@/components/qushi/qushiDialog.vue";
- import windDetail from "@/components/windDetail/index";
- import lightDetail from "@/components/lightDetial/index.vue";
- import { deepClone, chunkArray } from "@/utills/func.js";
- import SvgIcon from "@com/coms/icon/svg-icon.vue";
- import api from "@api/cockpit/matrix/index.js";
- import { setInterval, clearInterval } from "timers";
- import HeaderNav from "@/components/headerNavSta/index.vue";
- import dataJson from "./dataJson.json"
- export default {
- // 名称
- name: "LightMatrix", //基础矩阵
- // 使用组件
- components: {
- HeaderNav,
- qushiDialog,
- SvgIcon,
- windDetail,
- lightDetail,
- },
- // 数据
- data() {
- return {
- loading: false,
- timmer: null, // 计时器
- sourceMap: {}, // 核心数据
- showMatrixList: [],
- fillCategory: null, // 过滤条件
- fillFjzt: "all", // 过滤条件
- displayMatrix: false, //风机详情
- wind: {},
- wtType: -1,
- flag: false,
- gfdetialDisplay: false,
- stationId: "",
- windId: "",
- contrastDisplay: false,
- chooseList: [],
- activeTab: "fc", //全部 风电 光伏
- enterpriseIndex: "all",
- tabIndex: -1,
- // wp指标
- stse: [
- {
- statiomName: "风速",
- stse: "",
- sts: "SSPJFS",
- },
- {
- statiomName: "预测功率",
- stse: "",
- sts: "FCFGDQDT0001",
- },
- {
- statiomName: "保证功率",
- stse: "",
- sts: "SSZBZGL",
- },
- // {
- // statiomName: "理论功率",
- // stse: "",
- // sts: "SSZNHGLZS",
- // },
- {
- statiomName: "实际功率",
- stse: "",
- sts: "SSZGL",
- },
- ],
- chartName: "对比曲线",
- };
- },
- // 函数
- methods: {
- deepClone,
- chunkArray,
- typeFlag(activeTab, enterpriseIndex) {
- this.activeTab = activeTab;
- this.tabIndex = activeTab == "all" ? 0 : activeTab == "fc" ? -1 : -2;
- this.enterpriseIndex = enterpriseIndex;
- this.requestData(true);
- clearInterval(this.timmer);
- this.timmer = null;
- this.timmer = setInterval(() => {
- this.requestData();
- }, 5000);
- },
- // 根据风机状态码返回对应 class
- getColor(fjzt) {
- switch (fjzt) {
- case 0:
- return "blue";
- case 1:
- return "green";
- case 2:
- return "red";
- case 3:
- return "orange";
- case 4:
- return "pink";
- case 5:
- return "write";
- case 6:
- return "gray";
- }
- },
- // 切换显示种类
- changeShow(fjzt) {
- // 风机状态
- this.fillFjzt = fjzt;
- let showMatrixList = this.deepClone(this.sourceMap.powerVos);
- if (fjzt !== "all") {
- // 展示数据过滤
- this.showMatrixList = showMatrixList?.map(function (item) {
- item.wtlist = item.wtlist.filter(function (y) {
- return y.status === fjzt;
- });
- return item;
- });
- } else {
- this.showMatrixList = showMatrixList;
- }
- },
- // 请求服务
- requestData(first) {
- if (first) {
- this.BASE.showLoading();
- }
- api
- .matrixPush({
- company:
- this.enterpriseIndex == "all"
- ? "0"
- : this.enterpriseIndex.toString(),
- type: this.tabIndex.toString(),
- })
- .then((res) => {
- this.BASE.closeLoading();
- if (Object.values(res.data.data).length) {
- this.sourceMap = res.data.data;
- if (first) {
- const tempWtArray = this.chunkArray(this.sourceMap.powerVos, 3);
- this.showMatrixList = tempWtArray[0];
- for (let i = 1; i < tempWtArray.length; i++) {
- setTimeout(() => {
- this.showMatrixList.push(...tempWtArray[i]);
- }, 5);
- }
- } else {
- this.changeShow(this.fillFjzt);
- }
- // if (this.fillFjzt) {
- // this.changeShow(this.fillFjzt);
- // }
- } else {
- this.sourceMap = {};
- this.showMatrixList = [];
- }
- });
- },
- // 展示对比曲线
- handleIndicatorClick(czlx, wpid) {
- let y = this.deepClone(this.stse);
- if (czlx == "-2") {
- y[0].statiomName = "光照强度";
- y[0].sts = "SSPJGZD";
- y[2].statiomName = "理论功率";
- y[2].sts = "SSZNHGLZS";
- }
- this.$refs.child.openCurvDatas(y, 1, wpid);
- },
- // 查看风机详情
- goDetails(wt, type, wpid) {
- this.displayMatrix = true;
- this.wtType = -1;
- // this.wtType = type;
- this.$nextTick(() => {
- this.wind = { ...wt, wtType: type, wpid };
- this.flag = true;
- });
- },
- selectList(val) {
- val.forEach((item) => {
- this.handleChoose(item.id);
- });
- },
- handleChoose(value) {
- this.sourceMap.fjmap.forEach((val) => {
- val.forEach((item) => {
- if (item.wtId === value) {
- if (item.active) {
- let showIndex = null;
- this.chooseList.forEach((res, index) => {
- if (res.wtId === item.wtId) {
- showIndex = index;
- }
- });
- this.chooseList.splice(showIndex, 1);
- } else {
- this.chooseList.push(item);
- }
- item.active = !item.active;
- }
- });
- });
- },
- handleClick() {
- this.contrastDisplay = true;
- this.$refs.contrast.handleSearch(this.chooseList);
- },
- },
- created() {
- this.sourceMap = dataJson.sourceMapData
- this.showMatrixList = dataJson.showMatrixListdata
- dataJson.showMatrixListdata.forEach((it, index) =>{
- for(let i in it.wtlist) {
- it.wtlist[i] = new Array(35).fill({
- wtname: "1B01",
- // status: index === 2 ? 6 : index,
- status: i.indexOf("一") > -1 ? 1 : i.indexOf("二") > -1 ? 2 :
- i.indexOf("三") > -1 ? 3 : i.indexOf("四") > -1 ? 4 : i.indexOf("五") > -1 ? 5 : 1,
- czlx: 251,
- wpid: 5
- })
- }
- })
-
- let that = this;
- // that.$nextTick(() => {
- // // this.loading = true;
- // that.requestData(true);
- // that.timmer = setInterval(() => {
- // that.requestData();
- // }, 5000);
- // });
- },
- unmounted() {
- clearInterval(this.timmer);
- this.timmer = null;
- },
- };
- </script>
- <style lang="less" scoped>
- .dark-matrix {
- height: calc(100% - 59px);
- padding: 0 16px;
- display: flex;
- flex-direction: column;
- padding-bottom: 10px;
- p {
- margin: 0;
- }
- .el-header {
- height: 78px;
- // margin-top: 10px;
- background-color: rgba(0, 0, 0, 0.45);
- border-radius: 5px 5px 0 0;
- .el-row {
- align-items: center;
- height: 100%;
- .el-col {
- width: 40px;
- div {
- text-align: center;
- }
- .fd-header1,
- .fd-header2 {
- display: flex;
- position: relative;
- .el-col {
- flex: 1;
- display: flex;
- align-items: center;
- .active-b {
- border: 1px solid transparent;
- padding: 4px 10px;
- position: relative;
- .left_p {
- width: 12px;
- height: 12px;
- position: absolute;
- left: -1px;
- top: -1px;
- }
- .right_p {
- width: 12px;
- height: 12px;
- position: absolute;
- left: 61px;
- top: 45px;
- }
- .yuan {
- font-family: AgencyFB-Reg;
- line-height: 30px;
- display: flex;
- > p:first-of-type {
- width: 13px;
- height: 13px;
- border: 1px solid transparent;
- position: absolute;
- top: 9px;
- left: 10px;
- }
- > p:last-of-type {
- margin-left: 20px;
- }
- .circle {
- display: inline-block;
- width: 4px;
- height: 4px;
- vertical-align: middle;
- margin-right: 10px;
- position: absolute;
- top: 3.5px;
- left: 3px;
- }
- }
- }
- }
- .el-col.fd-img,
- .el-col.gf-img {
- flex: 1.5 0 auto;
- display: flex;
- color: #b3b3b3;
- align-items: none;
- // border: 0;
- // padding: 0;
- .imgs {
- margin-right: 20px;
- }
- .titles {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- font-size: 14px;
- p {
- font-size: 16px;
- margin-top: 5px;
- }
- }
- }
- .el-col.fd-img {
- .qty_imgs {
- position: absolute;
- left: 11px;
- top: 12px;
- animation: move 1s infinite linear;
- }
- @keyframes move {
- 0% {
- top: 12px;
- }
- 20% {
- top: 11px;
- }
- 40% {
- top: 10px;
- }
- 80% {
- top: 11px;
- }
- 100% {
- top: 12px;
- }
- }
- }
- // 待机
- .el-col:nth-child(2) {
- color: #1c99ff;
- .active_bor {
- border: 1px solid #1c99ff;
- .left_p {
- border-left: 1.5px solid #ffffff;
- border-top: 1.5px solid #ffffff;
- }
- .right_p {
- border-right: 1.5px solid #ffffff;
- border-bottom: 1.5px solid #ffffff;
- }
- div {
- > p:first-of-type {
- border: 1px solid #1c99ff !important;
- }
- }
- }
- .circle {
- background-color: #1c99ff;
- }
- }
- //并网
- .el-col:nth-child(3) {
- color: #05bb4c;
- .active_bor {
- border: 1px solid #05bb4c;
- .left_p {
- border-left: 1.5px solid #ffffff;
- border-top: 1.5px solid #ffffff;
- }
- .right_p {
- border-right: 1.5px solid #ffffff;
- border-bottom: 1.5px solid #ffffff;
- }
- div {
- > p:first-of-type {
- border: 1px solid #05bb4c !important;
- }
- }
- }
- .circle {
- background-color: #05bb4c;
- }
- }
- // 故障
- .el-col:nth-child(4) {
- color: #ba3237;
- .active_bor {
- border: 1px solid #ba3237;
- .left_p {
- border-left: 1.5px solid #ffffff;
- border-top: 1.5px solid #ffffff;
- }
- .right_p {
- border-right: 1.5px solid #ffffff;
- border-bottom: 1.5px solid #ffffff;
- }
- div {
- > p:first-of-type {
- border: 1px solid #ba3237 !important;
- }
- }
- }
- .circle {
- background-color: #ba3237;
- }
- }
- // 检修
- .el-col:nth-child(5) {
- color: #e17d24;
- .active_bor {
- border: 1px solid #e17d24;
- .left_p {
- border-left: 1.5px solid #ffffff;
- border-top: 1.5px solid #ffffff;
- }
- .right_p {
- border-right: 1.5px solid #ffffff;
- border-bottom: 1.5px solid #ffffff;
- }
- div {
- > p:first-of-type {
- border: 1px solid #e17d24 !important;
- }
- }
- }
- .circle {
- background-color: #e17d24;
- }
- }
- // 限电
- .el-col:nth-child(6) {
- color: #c530c8;
- .active_bor {
- border: 1px solid #c530c8;
- .left_p {
- border-left: 1.5px solid #ffffff;
- border-top: 1.5px solid #ffffff;
- }
- .right_p {
- border-right: 1.5px solid #ffffff;
- border-bottom: 1.5px solid #ffffff;
- }
- div {
- > p:first-of-type {
- border: 1px solid #c530c8 !important;
- }
- }
- }
- .circle {
- background-color: #c530c8;
- }
- }
- // 受累
- .el-col:nth-child(7) {
- color: rgba(255, 255, 255, 1);
- .active_bor {
- border: 1px solid rgba(255, 255, 255, 1);
- .left_p {
- border-left: 1.5px solid #ffffff;
- border-top: 1.5px solid #ffffff;
- }
- .right_p {
- border-right: 1.5px solid #ffffff;
- border-bottom: 1.5px solid #ffffff;
- }
- div {
- > p:first-of-type {
- border: 1px solid rgba(255, 255, 255, 1) !important;
- }
- }
- }
- .circle {
- background-color: rgba(255, 255, 255, 1);
- }
- }
- // 离线
- .el-col:nth-child(8) {
- color: #606769;
- .active_bor {
- border: 1px solid #606769;
- .left_p {
- border-left: 1.5px solid #ffffff;
- border-top: 1.5px solid #ffffff;
- }
- .right_p {
- border-right: 1.5px solid #ffffff;
- border-bottom: 1.5px solid #ffffff;
- }
- div {
- > p:first-of-type {
- border: 1px solid #606769 !important;
- }
- }
- }
- .circle {
- background-color: #606769;
- }
- }
- }
- .fd-header2 {
- .el-col.gf-img {
- .qty_img {
- position: absolute;
- left: 11px;
- top: 18px;
- animation: moves 1s infinite linear;
- }
- @keyframes moves {
- 0% {
- top: 18px;
- }
- 20% {
- top: 17px;
- }
- 40% {
- top: 16px;
- }
- 80% {
- top: 17px;
- }
- 100% {
- top: 18px;
- }
- }
- }
- }
- }
- }
- }
- .data_statistics {
- width: 100%;
- height: 32px;
- line-height: 32px;
- // background-color: rgba(0, 24, 68, 0.8);
- background-color: rgba(96, 103, 105, 0.4);
- padding: 0 12px;
- .icon-photovoltaic {
- color: #ff8100;
- }
- .el-col {
- height: 32px;
- }
- .el-col + .el-col {
- padding-left: 0;
- }
- .el-col:first-child {
- flex: 0 0 auto;
- margin-right: 10px;
- font-family: AgencyFB-Reg;
- color: #05bb4c;
- font-size: 14px;
- i {
- margin-right: 5px;
- font-size: 15px;
- position: relative;
- top: 3px;
- }
- }
- .el-col:not(:first-child) {
- flex: 1 0 auto;
- color: #b3b3b3;
- display: flex;
- align-items: center;
- span {
- font-family: Arial;
- color: #9ca5a8;
- font-size: 12px;
- // display: inline-block;
- width: 45px;
- text-align: left;
- margin-left: 5px;
- vertical-align: middle;
- }
- }
- .el-col:nth-child(2) {
- span {
- color: #fff;
- }
- }
- .el-col:nth-child(3) {
- span {
- color: #1c99ff;
- }
- }
- .el-col:nth-child(4) {
- span {
- color: #05bb4c;
- }
- }
- .el-col:nth-child(5) {
- span {
- color: #ba3237;
- }
- }
- .el-col:nth-child(6) {
- span {
- color: #e17d24;
- }
- }
- .el-col:nth-child(7) {
- span {
- color: #c530c8;
- }
- }
- .el-col:nth-child(8) {
- span {
- color: #ffffff;
- }
- }
- .el-col:nth-child(9) {
- span {
- color: #606769;
- }
- }
- }
- .data_views_text{
- display: flex;
- .textsx{
- writing-mode: vertical-lr;
- font-size: 14px;
- letter-spacing: 5px;
- text-align: center;
- }
- .data_views {
- width: 99%;
- padding: 5px 0;
- display: grid;
- justify-content: space-between;
- grid-template-columns: repeat(auto-fill, 110px);
- .subItemstatus {
- cursor: pointer;
- display: flex;
- justify-content: space-around;
- min-width: 110px;
- // height: 30px;
- // line-height: 30px;
- text-align: center;
- border: 1px solid #4b55ae;
- color: #4b55ae;
- border-radius: 2px;
- margin-bottom: 3px;
- margin-right: 4px;
- font-size: 13px;
- position: relative;
- .lock {
- width: 0;
- height: 0;
- border-top: 8px solid #fff;
- border-right: 8px solid transparent;
- position: absolute;
- top: 0;
- left: 0;
- }
- }
- .card_hover {
- background: #1a7ccd;
- }
- // 待机
- .blue {
- color: #1c99ff;
- border-color: #1c99ff;
- }
- // 并网
- .green {
- color: #05bb4c;
- border-color: #05bb4c;
- }
- // 限电
- .pink {
- color: #c530c8;
- border-color: #c530c8;
- }
- // 故障
- .red {
- color: #fff;
- border-color: #ba3237;
- // background-color: #ba3237;
- }
- // 检修
- .orange {
- color: #e17d24;
- border-color: #e17d24;
- }
- // 受累
- .write {
- color: #ffffff;
- border-color: rgba(255, 255, 255, 1);
- }
- // 离线
- .gray {
- color: #a7a7a7;
- border-color: #606769;
- background-color: rgba(96, 103, 105, 0.2);
- }
- .line_ll {
- color: #ffffff !important;
- border-color: #606701 !important;
- background-color: #606239 !important;
- }
- }
- }
-
- }
- </style>
|