1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084 |
- <template>
- <div class="comAnalysis">
- <div class="comAnalysis_top">
- <el-select
- size="mini"
- v-model="companyVal"
- placeholder="请选择"
- @change="changeCompan"
- >
- <el-option
- v-for="item in companyOptions"
- :key="item.id"
- :label="item.aname"
- :value="item.id"
- >
- </el-option>
- </el-select>
- <div class="tabCut">
- <div
- @click="tabClick(val.id)"
- :class="tabIndex === val.id ? 'active' : ''"
- v-for="val in tabOptions"
- :key="val.id"
- >
- <span>{{ val.name }}</span>
- </div>
- </div>
- <div class="station">
- 时间:
- <div class="">
- <el-date-picker
- size="mini"
- v-model="pickerTimer"
- type="month"
- value-format="YYYY-MM"
- placeholder="选择日期"
- popper-class="date-select"
- >
- </el-date-picker>
- </div>
- </div>
- <div class="but">
- <el-button round size="mini" class="buttons" @click="seachData"
- >搜索</el-button
- >
- <el-button round size="mini" class="buttons" @click="downXlsxFn"
- >导出</el-button
- >
- </div>
- </div>
- <div class="comAnalysis_title clearfix">
- <div class="leftContent floatLeft"><span>综合分析</span></div>
- </div>
- <div class="downPdf">
- <div class="comAnalysis_Table">
- <div class="table_month" style="margin-right: 5px">
- <div class="table_top">
- <div class="table_top_tit">
- <span>月度</span>
- <span>万kWh</span>
- </div>
- <!-- :cell-style="{ padding: '6px' }" :row-style="{ height: '0' }" -->
- <el-table
- :data="comAnalysisData"
- size="mini"
- stripe
- ref="stand_table"
- style="width: 100%"
- height="100%"
- >
- <el-table-column prop="type" align="center"> </el-table-column>
- <el-table-column
- v-for="(item, index) in tableHeaderMonth"
- :key="index"
- width="64"
- :prop="item.code"
- :label="item.title"
- align="center"
- >
- <template #header="scope">
- <div v-if="scope.column.label.indexOf('(') > 0">
- <div>
- {{
- scope.column.label.slice(
- 0,
- scope.column.label.indexOf("(")
- )
- }}
- </div>
- <div>
- {{
- scope.column.label.slice(
- scope.column.label.indexOf("(")
- )
- }}
- </div>
- </div>
- <div v-else>{{ scope.column.label }}</div>
- </template>
- <template #default="scope">
- <div class="columFlex">
- <div style="width: 80%">
- <span>{{ scope.row[item.code] }}</span>
- </div>
- <div>
- <Bottom
- class="botSvg"
- v-if="comAnalysisDataCompare[item.code] * 1 === 2"
- />
- <Top
- class="topSvg"
- v-else-if="comAnalysisDataCompare[item.code] * 1 === 1"
- />
- </div>
- </div>
- </template>
- </el-table-column>
- </el-table>
- </div>
- <div class="table_bot">
- <el-table
- :data="samePeriodOfTheMonth"
- size="mini"
- height="100%"
- stripe
- ref="stand_table"
- class="lvTable"
- style="width: 100%"
- >
- <el-table-column prop="wpid" align="center">
- <el-table-column prop="wpid" align="center"></el-table-column>
- </el-table-column>
- <el-table-column
- v-for="(item, index) in tabIndex === -1
- ? tableHeaderBot
- : tableHeaderBot1"
- :key="index"
- width="64"
- :label="item.title"
- align="center"
- >
- <el-table-column :prop="item.code1" label="当月" align="center">
- <template #default="scope">
- <div class="columFlex">
- <div style="width: 80%">
- <span>{{ scope.row[item.code1] }}</span>
- </div>
- <div>
- <Bottom
- class="botSvg"
- v-if="scope.row[item.code3] * 1 === 2"
- />
- <Top class="topSvg" v-else />
- </div>
- </div>
- </template>
- </el-table-column>
- <el-table-column :prop="item.code2" label="同期" align="center">
- <template #default="scope">
- <span>{{ scope.row[item.code2] }}</span>
- </template>
- </el-table-column>
- </el-table-column>
- </el-table>
- </div>
- </div>
- <div class="table_year" style="margin-left: 5px">
- <div class="table_top">
- <div class="table_top_tit">
- <span>年度</span>
- <span>万kWh</span>
- </div>
- <!-- :cell-style="{ padding: '6px' }" :row-style="{ height: '0' }" -->
- <el-table
- :data="comAnalysisData"
- size="mini"
- stripe
- ref="stand_table"
- style="width: 100%"
- height="calc(100% - 24px)"
- >
- <el-table-column prop="type" align="center"> </el-table-column>
- <el-table-column
- v-for="(item, index) in tableHeaderYear"
- :key="index"
- width="63"
- :prop="item.code"
- :label="item.title"
- align="center"
- >
- <template #header="scope">
- <div v-if="scope.column.label.indexOf('(') > 0">
- <div>
- {{
- scope.column.label.slice(
- 0,
- scope.column.label.indexOf("(")
- )
- }}
- </div>
- <div>
- {{
- scope.column.label.slice(
- scope.column.label.indexOf("(")
- )
- }}
- </div>
- </div>
- <div v-else>{{ scope.column.label }}</div>
- </template>
- <template #default="scope">
- <div class="columFlex">
- <div style="width: 80%">
- <span>{{ scope.row[item.code] }}</span>
- </div>
- <div>
- <Bottom
- class="botSvg"
- v-if="comAnalysisDataCompare[item.code] * 1 === 2"
- />
- <Top
- class="topSvg"
- v-else-if="comAnalysisDataCompare[item.code] * 1 === 1"
- />
- </div>
- </div>
- </template>
- </el-table-column>
- </el-table>
- </div>
- <div class="table_bot">
- <el-table
- :data="samePeriodOfTheYear"
- size="mini"
- height="100%"
- stripe
- ref="stand_table"
- style="width: 100%"
- >
- <el-table-column prop="wpid" align="center">
- <el-table-column prop="wpid" align="center"></el-table-column>
- </el-table-column>
- <el-table-column
- v-for="(item, index) in tabIndex === -1
- ? tableHeaderBot
- : tableHeaderBot1"
- :key="index"
- width="64"
- :label="item.title"
- align="center"
- >
- <el-table-column :prop="item.code1" label="当月" align="center">
- <template #default="scope">
- <div class="columFlex">
- <div style="width: 80%">
- <span>{{ scope.row[item.code1] }}</span>
- </div>
- <div>
- <Bottom
- class="botSvg"
- v-if="scope.row[item.code3] * 1 === 2"
- />
- <Top class="topSvg" v-else />
- </div>
- </div>
- </template>
- </el-table-column>
- <el-table-column :prop="item.code2" label="同期" align="center">
- <template #default="scope">
- <span>{{ scope.row[item.code2] }}</span>
- </template>
- </el-table-column>
- </el-table-column>
- </el-table>
- </div>
- </div>
- </div>
- <div class="comAnalysis_Echarts">
- <div class="echarts_month">
- <div class="echartsWid" style="margin-right: 15px">
- <div class="chart-name">
- <div class="point point-left bottom"></div>
- <div class="point point-right bottom"></div>
- <span>当月电量分析</span>
- </div>
- <div id="monthChart" class="echartsSty"></div>
- </div>
- <div class="echartsWid">
- <div class="chart-name">
- <div class="point point-left bottom"></div>
- <div class="point point-right bottom"></div>
- <span>同期电量分析</span>
- </div>
- <div id="monthTqChart" class="echartsSty"></div>
- </div>
- </div>
- <div class="echarts_year">
- <div class="echartsWid" style="margin: 0 15px 0 5px">
- <div class="chart-name">
- <div class="point point-left bottom"></div>
- <div class="point point-right bottom"></div>
- <span>当年电量分析</span>
- </div>
- <div id="yearChart" class="echartsSty"></div>
- </div>
- <div class="echartsWid">
- <div class="chart-name">
- <div class="point point-left bottom"></div>
- <div class="point point-right bottom"></div>
- <span>同期电量分析</span>
- </div>
- <div id="yearTqChart" class="echartsSty"></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </template>
- <script>
- import {
- getApicompanyslist,
- getApimaintoplist,
- getApimaincenterlist,
- } from "@/api/monthlyPerformanceAnalysis";
- import Get_PDF from "@/tools/htmlToPdf.js";
- import * as echarts from "echarts";
- export default {
- name: "comprehensiveAnalysis",
- data() {
- return {
- companyVal: "",
- companyOptions: [],
- pickerTimer: "",
- comAnalysisData: [],
- comAnalysisDataCompare: {},
- samePeriodOfTheMonth: [],
- samePeriodOfTheYear: [],
- showBtn: true,
- tabIndex: -1,
- tabOptions: [
- { id: -1, name: "风电" },
- { id: -2, name: "光伏" },
- ],
- tableHeaderMonth: [
- { title: "理论发电量", code: "yllfdl" },
- { title: "实际发电量", code: "ysjfdl" },
- { title: "风能利用率(%)", code: "yfnlyl" },
- { title: "维护损失电量", code: "ywhssdl" },
- { title: "维护损失率(%)", code: "ywhssl" },
- { title: "故障损失电量", code: "ygzssdl" },
- { title: "故障损失率(%)", code: "ygzssl" },
- { title: "限电损失电量", code: "yxdssdl" },
- { title: "限电损失率(%)", code: "yxdssl" },
- { title: "性能损失电量", code: "yxnssdl" },
- { title: "性能损失率(%)", code: "yxnssl" },
- { title: "受累损失电量", code: "yslssdl" },
- { title: "受累损失率(%)", code: "yslssl" },
- ],
- tableHeaderYear: [
- { title: "理论发电量", code: "nllfdl" },
- { title: "实际发电量", code: "nsjfdl" },
- { title: "风能利用率(%)", code: "nfnlyl" },
- { title: "维护损失电量", code: "nwhssdl" },
- { title: "维护损失率(%)", code: "nwhssl" },
- { title: "故障损失电量", code: "ngzssdl" },
- { title: "故障损失率(%)", code: "ngzssl" },
- { title: "限电损失电量", code: "nxdssdl" },
- { title: "限电损失率(%)", code: "nxdssl" },
- { title: "性能损失电量", code: "nxnssdl" },
- { title: "性能损失率(%)", code: "nxnssl" },
- { title: "受累损失电量", code: "nslssdl" },
- { title: "受累损失率(%)", code: "nslssl" },
- ],
- tableHeaderBot: [
- {
- title: "复位及时率(%)",
- code1: "fwjsl",
- code2: "tqfwjsl",
- code3: "fwjslCompare",
- },
- {
- title: "状态转换率(%)",
- code1: "ztzhl",
- code2: "tqztzhl",
- code3: "ztzhlCompare",
- },
- {
- title: "消缺及时率(%)",
- code1: "xqjsl",
- code2: "tqxqjsl",
- code3: "xqjslCompare",
- },
- { title: "MTBF", code1: "mtbf", code2: "tqmtbf", code3: "mtbfCompare" },
- { title: "MTTR", code1: "mttr", code2: "tqmttr", code3: "mttrCompare" },
- ],
- tableHeaderBot1: [
- {
- title: "系统效率(%)",
- code1: "fwjsl",
- code2: "tqfwjsl",
- code3: "fwjslCompare",
- },
- {
- title: "离散率(%)",
- code1: "ztzhl",
- code2: "tqztzhl",
- code3: "ztzhlCompare",
- },
- {
- title: "转换率(%)",
- code1: "xqjsl",
- code2: "tqxqjsl",
- code3: "xqjslCompare",
- },
- { title: "MTBF", code1: "mtbf", code2: "tqmtbf", code3: "mtbfCompare" },
- { title: "MTTR", code1: "mttr", code2: "tqmttr", code3: "mttrCompare" },
- ],
- };
- },
- created() {
- this.getCompanyData();
- },
- watch: {
- tabIndex(val) {
- this.tableHeaderMonth = this.tableHeaderMonth.map((item) => {
- if (val == -1) {
- if (item.code == "yfnlyl") {
- item.title = "风能利用率(%)";
- }
- } else {
- if (item.code == "yfnlyl") {
- item.title = "光能利用率(%)";
- }
- }
- return item;
- });
- this.tableHeaderYear = this.tableHeaderYear.map((item) => {
- if (val == -1) {
- if (item.code == "nfnlyl") {
- item.title = "风能利用率(%)";
- }
- } else {
- if (item.code == "nfnlyl") {
- item.title = "光能利用率(%)";
- }
- }
- return item;
- });
- },
- },
- methods: {
- // 获取公司列表
- async getCompanyData() {
- this.companyOptions = [];
- this.pickerTimer = this.getchangeTime(new Date());
- const { data: datas } = await getApicompanyslist();
- this.companyOptions = datas.data;
- this.companyVal = datas.data[0]?.id;
- this.getTableTopData();
- this.getTableCenterData();
- },
- changeCompan(val) {
- this.companyVal = val;
- this.seachData();
- },
- tabClick(data) {
- this.tabIndex = data;
- this.seachData();
- },
- changeBtn(id) {
- this.tabIndex = id;
- this.seachData();
- },
- seachData() {
- this.getTableTopData();
- this.getTableCenterData();
- },
- async getTableTopData() {
- let params = {
- companys: this.companyVal,
- type: this.tabIndex,
- month: this.pickerTimer,
- };
- const { data: datas } = await getApimaintoplist(params);
- this.comAnalysisData = [];
- this.comAnalysisDataCompare = {};
- if (datas.data.length > 0) {
- datas.data.forEach((it) => {
- if (it.type !== "比较") {
- this.comAnalysisData.push(it);
- } else {
- this.comAnalysisDataCompare = it;
- }
- });
- }
- this.changePieData();
- },
- async getTableCenterData() {
- this.samePeriodOfTheMonth = [];
- this.samePeriodOfTheYear = [];
- let params = {
- companys: this.companyVal,
- type: this.tabIndex,
- month: this.pickerTimer,
- };
- const { data: datas } = await getApimaincenterlist(params);
- if (datas && datas.data) {
- this.samePeriodOfTheMonth = datas.data["当月"];
- this.samePeriodOfTheYear = datas.data["当年"];
- }
- },
- // 处理饼状图数据
- changePieData() {
- let lenged = ["性能损失", "维护损失", "故障损失", "限电损失", "受累损失"];
- let series = [];
- let series2 = [];
- let series3 = [];
- let series4 = [];
- this.comAnalysisData.forEach((it) => {
- if (it.type === "本期") {
- series = [
- { name: "性能损失", value: it.yxnssdl },
- { name: "维护损失", value: it.ywhssl },
- { name: "故障损失", value: it.ygzssdl },
- { name: "限电损失", value: it.yxdssdl },
- { name: "受累损失", value: it.yslssdl },
- ];
- series3 = [
- { name: "性能损失", value: it.nxnssdl },
- { name: "维护损失", value: it.nwhssl },
- { name: "故障损失", value: it.ngzssdl },
- { name: "限电损失", value: it.nxdssdl },
- { name: "受累损失", value: it.nslssdl },
- ];
- } else if (it.type === "同期") {
- series2 = [
- { name: "性能损失", value: it.yxnssdl },
- { name: "维护损失", value: it.ywhssl },
- { name: "故障损失", value: it.ygzssdl },
- { name: "限电损失", value: it.yxdssdl },
- { name: "受累损失", value: it.yslssdl },
- ];
- series4 = [
- { name: "性能损失", value: it.nxnssdl },
- { name: "维护损失", value: it.nwhssl },
- { name: "故障损失", value: it.ngzssdl },
- { name: "限电损失", value: it.nxdssdl },
- { name: "受累损失", value: it.nslssdl },
- ];
- }
- });
- this.getPieChart("当月电量分析", lenged, series, "monthChart");
- this.getPieChart("同期电量分析", lenged, series2, "monthTqChart");
- this.getPieChart("当年电量分析", lenged, series3, "yearChart");
- this.getPieChart("同期电量分析", lenged, series4, "yearTqChart");
- },
- //转换时间
- getchangeTime(date) {
- var y = date.getFullYear();
- var m = date.getMonth() + 1;
- m = m < 10 ? "0" + m : m;
- return y + "-" + m;
- },
- headerArr(label) {
- let arr = label.split("");
- let Newarr = [];
- let num = 0;
- let str = "";
- arr.forEach((it, index) => {
- num++;
- str += it;
- if (label.indexOf(it) + 1 !== label.length) {
- if (num % 3 === 0) {
- Newarr.push(str);
- str = "";
- }
- } else {
- Newarr.push(str);
- }
- });
- return Newarr;
- },
- getPieChart(nameTit, lenged, series, name) {
- let option = {
- color: ["#019f2e", "#db6200", "#a10f0f", "#850894", "#9fa0a2"],
- legend: {
- type: "scroll",
- orient: "vertical",
- right: 10,
- bottom: 0,
- itemWidth: 8,
- itemHeight: 8,
- textStyle: {
- color: "#fff",
- fontSize: 12,
- },
- formatter(params) {
- switch (params) {
- case "实发电量":
- return (
- params +
- " " +
- series.find((val) => val.name === params)?.value
- );
- case "故障损失":
- return (
- params +
- " " +
- series.find((val) => val.name === params)?.value
- );
- case "维护损失":
- return (
- params +
- " " +
- series.find((val) => val.name === params)?.value
- );
- case "受累损失":
- return (
- params +
- " " +
- series.find((val) => val.name === params)?.value
- );
- case "限电损失":
- return (
- params +
- " " +
- series.find((val) => val.name === params)?.value
- );
- case "性能损失":
- return (
- params +
- " " +
- series.find((val) => val.name === params)?.value
- );
- }
- },
- data: lenged,
- },
- radar: [
- {
- indicator: [{ text: "" }],
- center: ["45%", "50%"],
- radius: [0, 79],
- startAngle: 60,
- splitNumber: 5,
- shape: "circle",
- name: {
- formatter: "",
- textStyle: {
- color: "#0000FF",
- },
- },
- splitArea: {
- areaStyle: {
- color: "rgba(0, 0, 0, 0)",
- },
- },
- axisLine: {
- lineStyle: {
- color: "rgba(0, 0, 0, 0)",
- },
- },
- splitLine: {
- lineStyle: {
- color: "#0a389c",
- shadowColor: "#0a389c",
- shadowBlur: 10,
- },
- },
- },
- ],
- tooltip: {
- trigger: "item",
- },
- toolbox: {
- show: true,
- },
- series: [
- {
- // name: nameTit,
- type: "pie",
- radius: [0, 80],
- center: ["45%", "50%"],
- roseType: "area",
- label: {
- normal: {
- color: "#fff",
- formatter: "{d}%",
- },
- },
- itemStyle: {
- normal: {
- // 阴影的大小
- shadowBlur: 20,
- // 阴影水平方向上的偏移
- shadowOffsetX: 0,
- // 阴影垂直方向上的偏移
- shadowOffsetY: 0,
- // 阴影颜色
- shadowColor: "rgba(0,70,199, 0.8)",
- },
- borderRadius: 2,
- },
- labelLine: {
- length: 0,
- length2: 10,
- maxSurfaceAngle: 80,
- },
- data: series,
- },
- ],
- };
- let dom = document.getElementById(name);
- dom.removeAttribute("_echarts_instance_");
- let myChart = echarts.init(dom);
- myChart.clear();
- myChart.setOption(option);
- window.addEventListener("resize", function () {
- myChart.resize();
- });
- },
- downXlsxFn() {
- // Get_PDF.downloadPDF(document.querySelector(".comAnalysis"), "综合分析"+new Date(), false);
- Get_PDF.downloadPDF(
- document.getElementById("app"),
- "综合分析" + new Date(),
- false
- );
- },
- },
- };
- </script>
- <style lang="less">
- .comAnalysis {
- padding: 0 20px;
- height: 100%;
- .comAnalysis_title {
- background: rgba(0, 0, 0, 0.45);
- .leftContent {
- width: 242px;
- height: 41px;
- line-height: 41px;
- background: url("~@/assets/imgs/title_left_bg1.png") no-repeat;
- span {
- font-size: 16px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #ffffff;
- margin-left: 25px;
- }
- }
- .floatLeft {
- float: left;
- }
- .floatRight {
- float: right;
- }
- }
- .clearfix::after {
- content: "";
- clear: both;
- height: 0;
- line-height: 0;
- visibility: hidden;
- display: block;
- }
- .clearfix {
- zoom: 1;
- }
- .comAnalysis_top {
- display: flex;
- flex-direction: row;
- align-items: center;
- padding-top: 10px;
- padding-bottom: 10px;
- .station {
- display: flex;
- flex-direction: row;
- align-items: center;
- font-size: 14px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #b3b3b3;
- margin-right: 10px;
- margin-left: 10px;
- }
- .tabCut {
- display: inline-block;
- margin: 0 10px;
- div {
- display: inline-block;
- width: 60px;
- height: 27px;
- border: 1px solid #274934;
- text-align: center;
- line-height: 25px;
- cursor: pointer;
- }
- div:nth-child(1) {
- border-radius: 13px 0px 0px 13px;
- }
- div:nth-child(2) {
- border-radius: 0px 13px 13px 0px;
- // cursor: not-allowed;
- }
- .active {
- background-color: rgba(5, 187, 76, 0.9);
- color: #fff;
- }
- }
- .search-input {
- margin-left: 10px;
- .el-input__inner {
- width: 175px;
- }
- .el-input__suffix {
- right: -50px;
- }
- }
- .but {
- display: flex;
- flex-direction: row;
- align-content: center;
- margin-left: 20px;
- .buttons:nth-child(1) {
- background: rgba(5, 187, 76, 0.6);
- border: 1px solid #3b6c53;
- border-radius: 13px;
- color: #fff;
- &:hover {
- background: rgba(5, 187, 76, 0.9);
- border-radius: 13px;
- color: #fff;
- }
- }
- .buttons:nth-child(2) {
- background: rgba(67, 81, 107, 0.3);
- border: 1px solid #3b6c53;
- border-radius: 13px;
- font-size: 14px;
- color: #b3b3b3;
- }
- }
- }
- .downPdf {
- height: calc(100% - 58px - 32px);
- padding-bottom: 10px;
- .comAnalysis_Table {
- padding-bottom: 10px;
- display: flex;
- height: calc(100% - 300px);
- .table_month,
- .table_year {
- width: 50%;
- height: 100%;
- background: rgba(0, 0, 0, 0.45);
- .table_top {
- height: 174px;
- .el-table--mini {
- .el-table__header-wrapper {
- tr {
- background: rgba(83, 89, 104, 0.3) !important;
- th {
- vertical-align: top !important;
- }
- .cell {
- color: #b3b3b3;
- font-family: MicrosoftYaHei;
- font-size: 14px;
- }
- }
- }
- .el-table__body-wrapper {
- tr {
- .cell {
- color: #d8d8d9;
- font-family: ArialMT;
- font-size: 13px;
- height: 25px !important;
- }
- }
- }
- }
- .columFlex {
- display: flex;
- justify-content: space-between;
- .topSvg {
- width: 1em;
- height: 1em;
- color: #1c99ff;
- }
- .botSvg {
- width: 1em;
- height: 1em;
- color: #ff8300;
- }
- }
- .table_top_tit {
- text-align: center;
- height: 30px;
- background: rgba(22, 31, 30, 1);
- span:nth-child(1) {
- font-size: 16px;
- color: #fff;
- line-height: 30px;
- font-family: MicrosoftYaHei;
- }
- span:nth-child(2) {
- float: right;
- font-family: MicrosoftYaHei;
- font-size: 12px;
- color: #b3b3b3;
- line-height: 30px;
- margin-right: 10px;
- }
- }
- }
- .table_bot {
- height: calc(100% - 174px - 20px);
- margin-top: 20px;
- .el-table--mini .el-table__cell {
- padding: 3px 0;
- }
- .el-table--mini {
- .el-table__header-wrapper {
- tr {
- .cell {
- color: #b3b3b3;
- font-family: MicrosoftYaHei;
- font-size: 14px;
- }
- }
- tr:nth-child(1) {
- background: rgba(83, 89, 104, 0.3) !important;
- }
- }
- .el-table__body-wrapper {
- tr {
- .cell {
- color: #d8d8d9;
- font-family: ArialMT;
- font-size: 13px;
- }
- }
- }
- }
- .columFlex {
- display: flex;
- justify-content: space-between;
- .topSvg {
- width: 1em;
- height: 1em;
- color: #1c99ff;
- }
- .botSvg {
- width: 1em;
- height: 1em;
- color: #ff8300;
- }
- }
- }
- }
- }
- .comAnalysis_Echarts {
- height: 300px;
- display: flex;
- .echarts_month,
- .echarts_year {
- width: 50%;
- display: flex;
- height: 100%;
- .echartsWid {
- width: calc(50% - 10px);
- background: rgba(0, 0, 0, 0.45);
- position: relative;
- height: 100%;
- // border-bottom: 1px solid rgba(153, 153, 153, 0.5);
- font-size: 16px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #ffffff;
- .chart-name {
- display: flex;
- align-items: center;
- padding: 0 5px 0 20px;
- position: relative;
- height: 39px;
- width: 100%;
- border-bottom: 1px solid rgba(153, 153, 153, 0.5);
- font-size: 16px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #ffffff;
- background: rgba(22, 31, 30, 1);
- }
- p {
- font-size: 16px;
- font-family: Microsoft YaHei;
- color: #fff;
- margin-left: 20px;
- margin-top: 10px;
- }
- .echartsSty {
- width: 100%;
- height: calc(100% - 39px);
- background: rgba(96, 103, 105, 0.2);
- }
- .point {
- width: 6px;
- height: 1px;
- background-color: #ffffff;
- position: absolute;
- &.point-left {
- left: 0;
- }
- &.point-right {
- right: 0;
- }
- &.top {
- top: -1px;
- }
- &.bottom {
- bottom: -1px;
- }
- }
- }
- }
- }
- }
- }
- </style>
|