123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086 |
- <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">
- <div class="leftContent"><span>综合分析</span></div>
- </div>
- <div class="downPdf" id="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>
-
- <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>
-
- <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";
- import dataJson from "./dataJson.json"
- 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;
- });
- },
- },
- mounted() {
- this.dataChange(dataJson.data)
- this.tabledataChange(dataJson.data)
- this.changePieData();
- },
- 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;
- if (data == -2) {
- this.companyVal = "SXJ_KGDL_GFFD_ZGS";
- } else {
- this.companyVal = this.companyOptions[0].id;
- }
- 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,
- };
- this.comAnalysisData = [];
- this.comAnalysisDataCompare = {};
- const { data: datas } = await getApimaintoplist(params);
- this.dataChange(datas)
- this.changePieData();
- },
- dataChange(datas) {
- if (datas.data.length > 0) {
- datas.data.forEach((it) => {
- if (it.type !== "比较") {
- this.comAnalysisData.push(it);
- } else {
- this.comAnalysisDataCompare = it;
- }
- });
- }
- },
- async getTableCenterData() {
- this.samePeriodOfTheMonth = [];
- this.samePeriodOfTheYear = [];
- let params = {
- companys: this.companyVal,
- type: this.tabIndex,
- month: this.pickerTimer,
- };
- const { data: datas } = await getApimaincenterlist(params);
- this.tabledataChange(datas)
- },
- tabledataChange(datas) {
- if (datas.code === 200) {
- if (datas && datas.data) {
- this.samePeriodOfTheMonth = datas.data["当月"];
- this.samePeriodOfTheYear = datas.data["当年"];
- }
- } else {
- if (datas && datas.tabledata) {
- this.samePeriodOfTheMonth = datas.tabledata["当月"];
- this.samePeriodOfTheYear = datas.tabledata["当年"];
- }
- }
- },
-
- 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: ["#05bb4c", "#ba3237", "#e17e23", "#fff", "#c531c7"],
- legend: {
- type: "scroll",
- orient: "vertical",
- right: 15,
- top: "30%",
- 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: ["38%", "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: [
- {
-
- type: "pie",
- radius: [0, 80],
- center: ["38%", "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.getElementById("downPdf"),
- "综合分析" + 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: 45px;
- line-height: 45px;
- background: url("~@/assets/imgs/title_left_bg1.png") no-repeat;
- span {
- font-size: 16px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #05bb4c;
- margin-left: 25px;
- }
- }
- }
- .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>
|