index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967
  1. <template>
  2. <div class="parcel-box">
  3. <div class="form-wrapper">
  4. <el-select
  5. size="mini"
  6. :disabled="displayDetail"
  7. v-model="company"
  8. placeholder="请选择"
  9. @change="handleCompanyChange(company)"
  10. >
  11. <el-option
  12. v-for="item in companyOptions"
  13. :key="item.id"
  14. :label="item.aname"
  15. :value="item.id"
  16. >
  17. </el-option>
  18. </el-select>
  19. <div class="tabCut">
  20. <div
  21. @click="tabClick(val.id)"
  22. :class="[
  23. tabIndex === val.id ? 'active' : '',
  24. displayDetail ? 'disabled' : '',
  25. ]"
  26. v-for="val in tabOptions"
  27. :key="val.id"
  28. >
  29. <span>{{ val.name }}</span>
  30. </div>
  31. </div>
  32. <div class="station">
  33. 场站:
  34. <el-select
  35. size="mini"
  36. :disabled="displayDetail"
  37. v-model="stationObj"
  38. multiple
  39. collapse-tags
  40. placeholder="请选择"
  41. @change="handleStationChange(stationObj)"
  42. clearable
  43. >
  44. <el-option
  45. v-for="item in stationList"
  46. :key="item.id"
  47. :label="item.aname"
  48. :value="item.id"
  49. >
  50. </el-option>
  51. </el-select>
  52. </div>
  53. <div class="station">
  54. 项目:
  55. <el-select
  56. :disabled="displayDetail"
  57. size="mini"
  58. v-model="projectObj"
  59. multiple
  60. collapse-tags
  61. placeholder="请选择"
  62. @change="handleProjectChange(projectObj)"
  63. clearable
  64. >
  65. <el-option
  66. v-for="item in projectList"
  67. :key="item.id"
  68. :label="item.aname"
  69. :value="item.id"
  70. >
  71. </el-option>
  72. </el-select>
  73. </div>
  74. <div class="station">
  75. 线路:
  76. <el-select
  77. size="mini"
  78. :disabled="displayDetail"
  79. v-model="lineObj"
  80. multiple
  81. collapse-tags
  82. placeholder="请选择"
  83. clearable
  84. >
  85. <el-option
  86. v-for="item in lineList"
  87. :key="item.id"
  88. :label="item.aname"
  89. :value="item.id"
  90. >
  91. </el-option>
  92. </el-select>
  93. </div>
  94. <div class="station">
  95. 开始日期
  96. <div class="search-input">
  97. <el-date-picker
  98. v-model="starTime"
  99. :disabled="displayDetail"
  100. type="date"
  101. value-format="YYYY-MM-DD"
  102. placeholder="选择日期"
  103. popper-class="date-select"
  104. >
  105. </el-date-picker>
  106. </div>
  107. </div>
  108. <div class="station">
  109. 结束日期
  110. <div class="search-input">
  111. <el-date-picker
  112. :disabled="displayDetail"
  113. v-model="endTime"
  114. type="date"
  115. value-format="YYYY-MM-DD"
  116. placeholder="选择日期"
  117. popper-class="date-select"
  118. >
  119. </el-date-picker>
  120. </div>
  121. </div>
  122. <div class="but">
  123. <el-button
  124. round
  125. size="mini"
  126. class="buttons"
  127. :disabled="displayDetail"
  128. @click="gerWxssl"
  129. >搜索</el-button
  130. >
  131. <el-button
  132. round
  133. size="mini"
  134. class="buttons"
  135. @click="dbfx"
  136. :disabled="
  137. chooseList.length <= 5 && chooseList.length > 1 ? false : true
  138. "
  139. >对标分析</el-button
  140. >
  141. <el-button
  142. round
  143. size="mini"
  144. class="buttons"
  145. @click="goBack"
  146. v-if="displayDetail"
  147. >返回</el-button
  148. >
  149. <!-- <el-button round size="mini" class="buttons">导出</el-button> -->
  150. </div>
  151. </div>
  152. <div class="bodys" v-if="!displayDetail">
  153. <div class="line">
  154. <div class="leftContent"><span>五项损失率</span></div>
  155. </div>
  156. <div class="economicTable">
  157. <el-table
  158. :data="tableData"
  159. ref="multipleTable"
  160. size="mini"
  161. height="100%"
  162. :cell-style="{ padding: '4px' }"
  163. :row-style="{ height: '0' }"
  164. stripe
  165. @selection-change="handleCurrentChange"
  166. >
  167. <el-table-column type="selection" width="58" align="center">
  168. </el-table-column>
  169. <el-table-column
  170. align="center"
  171. prop="name"
  172. label="名称"
  173. show-overflow-tooltip
  174. sortable
  175. >
  176. <template #default="scope">
  177. <span
  178. @click="goDetail(scope.row)"
  179. style="cursor: pointer; color: #05bb4c"
  180. >{{ scope.row.name }}</span
  181. >
  182. </template>
  183. </el-table-column>
  184. <el-table-column
  185. align="center"
  186. v-for="item in tabIndex == -1 ? tableHeader : tableHeaderG"
  187. :key="item.code"
  188. :prop="item.code"
  189. :label="item.name"
  190. :width="item.name.length == 4 ? 55 : 68"
  191. show-overflow-tooltip
  192. sortable
  193. />
  194. </el-table>
  195. </div>
  196. </div>
  197. <div class="echarts" v-if="!displayDetail">
  198. <div class="pie-echarts">
  199. <div class="chart-name">
  200. <div class="point point-left bottom"></div>
  201. <div class="point point-right bottom"></div>
  202. 损失电量分析
  203. </div>
  204. <PieChart
  205. :lossPower="lossPower"
  206. width="100%"
  207. height="calc(100% - 39px)"
  208. :showLable="false"
  209. ></PieChart>
  210. </div>
  211. <div class="bar-echarts">
  212. <div class="chart-name">
  213. <div class="point point-left bottom"></div>
  214. <div class="point point-right bottom"></div>
  215. 五项损失
  216. </div>
  217. <BarCharts
  218. :list="barList"
  219. width="100%"
  220. height="calc(100% - 39px)"
  221. :showLegend="true"
  222. :xdate="false"
  223. :colorIndex="true"
  224. ></BarCharts>
  225. </div>
  226. </div>
  227. <div
  228. v-if="displayDetail"
  229. style="height: calc(100% - 43px - 35px); padding-bottom: 10px"
  230. >
  231. <el-table
  232. :data="detailTable"
  233. ref="multipleTable"
  234. size="mini"
  235. height="100%"
  236. :cell-style="{ padding: '0px' }"
  237. :row-style="{ height: '0' }"
  238. stripe
  239. @selection-change="handleCurrentChange"
  240. >
  241. <el-table-column type="selection" width="55" align="center">
  242. </el-table-column>
  243. <el-table-column align="center" prop="name" label="风机名称" sortable>
  244. </el-table-column>
  245. <el-table-column
  246. v-for="item in tabIndex == -1
  247. ? tableHeaderDetail
  248. : tableHeaderGDetail"
  249. :key="item.code"
  250. :prop="item.code"
  251. :label="item.name"
  252. align="center"
  253. :width="item.name.length == 4 ? 58 : 88"
  254. show-overflow-tooltip
  255. sortable
  256. />
  257. </el-table>
  258. <div class="pagination-class">
  259. <el-pagination
  260. @current-change="handlePageDChange"
  261. :current-page="pageD.currentPage"
  262. :page-size="pageD.pagesize"
  263. layout="total, prev, pager, next, jumper"
  264. :total="pageD.total"
  265. >
  266. </el-pagination>
  267. </div>
  268. </div>
  269. <el-dialog
  270. class="dialogs"
  271. width="90%"
  272. top="40px"
  273. v-model="dialogVisible"
  274. :show-close="true"
  275. >
  276. <template #title>
  277. <div class="dialog-title">
  278. <div class="title">对标排名分析</div>
  279. </div>
  280. </template>
  281. <div class="dialog-body">
  282. <img class="dialog-img" src="@assets/imgs/dialog.png" />
  283. <dayinfo
  284. :radarValue="radarValue"
  285. :title="[windNum, windNum2, windNum3, windNum4, windNum5]"
  286. :windNum="windNum"
  287. :windNum2="windNum2"
  288. :windNum3="windNum3"
  289. :windNum4="windNum4"
  290. :windNum5="windNum5"
  291. :tabs="tabs"
  292. :analyisDialog="analyisDialog"
  293. />
  294. </div>
  295. </el-dialog>
  296. </div>
  297. </template>
  298. <script>
  299. import dayjs from "dayjs";
  300. import {
  301. tableHeader,
  302. tableHeaderG,
  303. tableHeaderDetail,
  304. tableHeaderGDetail,
  305. } from "@/utills//constant.js";
  306. import { companys } from "@/api/curveAnalyse";
  307. import {
  308. getStation,
  309. getProject,
  310. getLine,
  311. wxssl,
  312. details,
  313. } from "@/api/performance";
  314. import PieChart from "../../homePage/components/pieChart.vue";
  315. import BarCharts from "../../homePage/components/barCharts.vue";
  316. import dayinfo from "../compontent/dayinfo.vue";
  317. export default {
  318. name: "lostRate", //场际对标
  319. components: {
  320. PieChart,
  321. BarCharts,
  322. dayinfo,
  323. },
  324. data() {
  325. return {
  326. tableHeader,
  327. tableHeaderG,
  328. tableHeaderDetail,
  329. tableHeaderGDetail,
  330. company: "",
  331. companyOptions: [],
  332. stationObj: [],
  333. stationList: [],
  334. projectObj: "",
  335. projectList: [],
  336. lineObj: [],
  337. lineList: [],
  338. starTime: "",
  339. endTime: "",
  340. tabIndex: -1,
  341. tabOptions: [
  342. { id: -1, name: "风电" },
  343. { id: -2, name: "光伏" },
  344. ],
  345. tableData: [],
  346. detailTable: [],
  347. chooseList: [],
  348. lossPower: [],
  349. barList: [],
  350. displayDetail: false,
  351. dialogVisible: false,
  352. radarValue: [],
  353. windNum: "",
  354. windNum2: "",
  355. windNum3: "",
  356. windNum4: "",
  357. windNum5: "",
  358. tabs: [],
  359. analyisDialog: [],
  360. detailRow: {},
  361. pageD: {
  362. pagesize: 23,
  363. currentPage: 1,
  364. total: 0,
  365. },
  366. };
  367. },
  368. created() {
  369. let date = new Date();
  370. date.setDate(1);
  371. let month = parseInt(date.getMonth() + 1);
  372. let day = date.getDate();
  373. if (month < 10) {
  374. month = "0" + month;
  375. }
  376. if (day < 10) {
  377. day = "0" + day;
  378. }
  379. this.starTime = date.getFullYear() + "-" + month + "-" + day;
  380. this.endTime = dayjs(new Date().getTime()).format("YYYY-MM-DD");
  381. this.initialization();
  382. },
  383. methods: {
  384. handlePageDChange(val) {
  385. this.pageD.currentPage = val;
  386. this.goDetail();
  387. },
  388. tabClick(val) {
  389. this.tabIndex = val;
  390. this.stationObj = [];
  391. this.stationList = [];
  392. this.projectObj = [];
  393. this.projectList = [];
  394. this.lineObj = [];
  395. this.lineList = [];
  396. this.tableData = [];
  397. this.getStation(this.company);
  398. // this.gerWxssl();
  399. },
  400. initialization() {
  401. companys().then(({ data: res }) => {
  402. if (res.data) {
  403. this.company = res.data[0].id;
  404. this.companyOptions = res.data;
  405. this.getStation(res.data[0].id);
  406. }
  407. });
  408. },
  409. getStation(companyids) {
  410. getStation({
  411. companyids: companyids,
  412. type: this.tabIndex,
  413. }).then(({ data: res }) => {
  414. if (res.data.length) {
  415. this.stationList = res.data;
  416. this.getProject(res.data[0].id);
  417. }
  418. });
  419. },
  420. getProject(wpids) {
  421. getProject({
  422. wpids: wpids,
  423. }).then(({ data: res }) => {
  424. if (res.data.length) {
  425. this.projectList = res.data;
  426. this.getLine(res.data[0].id);
  427. } else {
  428. this.projectList = [];
  429. this.getLine("");
  430. }
  431. });
  432. },
  433. getLine(pjids) {
  434. getLine({
  435. pjids: pjids,
  436. }).then(({ data: res }) => {
  437. if (res.data.length) {
  438. this.lineList = res.data;
  439. this.gerWxssl();
  440. } else {
  441. this.lineList = [];
  442. this.gerWxssl();
  443. }
  444. });
  445. },
  446. gerWxssl() {
  447. wxssl({
  448. companys: this.company,
  449. type: this.tabIndex,
  450. beginDate: this.starTime,
  451. endDate: this.endTime,
  452. wpids: this.stationObj.join(","),
  453. projectids: this.projectObj.join(","),
  454. lineids: this.lineObj.join(","),
  455. target: "",
  456. sort: "",
  457. }).then(({ data: res }) => {
  458. if (res.data) {
  459. let barList = [
  460. {
  461. name: "故障损失电量",
  462. children: [],
  463. date: [],
  464. },
  465. {
  466. name: "检修损失电量",
  467. children: [],
  468. },
  469. {
  470. name: "性能损失电量",
  471. children: [],
  472. },
  473. {
  474. name: "限电损失电量",
  475. children: [],
  476. },
  477. {
  478. name: "受累损失电量",
  479. children: [],
  480. },
  481. ];
  482. this.tableData = res.data;
  483. let lossPower = [];
  484. res.data.forEach((item) => {
  485. let obj = {
  486. name: item.name,
  487. value: item.zssdl,
  488. };
  489. lossPower.push(obj);
  490. barList[0].date.push(item.name);
  491. barList[0].children.push(item.gzssdl);
  492. barList[1].children.push(item.jxssdl);
  493. barList[2].children.push(item.xnssdl);
  494. barList[3].children.push(item.xdssdl);
  495. barList[4].children.push(item.slssdl);
  496. });
  497. this.lossPower = lossPower;
  498. this.barList = barList;
  499. }
  500. });
  501. },
  502. handleCompanyChange(val) {
  503. this.company = val;
  504. this.lineObj = [];
  505. this.getStation(val);
  506. },
  507. handleStationChange(val) {
  508. this.projectObj = [];
  509. this.lineObj = [];
  510. this.getProject(val);
  511. },
  512. handleProjectChange(val) {
  513. this.lineObj = [];
  514. this.getLine(val);
  515. },
  516. handleCurrentChange(val) {
  517. if (val.length > 5) {
  518. let del_row = val.shift();
  519. this.$refs.multipleTable.toggleRowSelection(del_row, false);
  520. }
  521. let arr = [];
  522. val.forEach((item, index) => {
  523. if (index < 5) {
  524. arr.push(item);
  525. }
  526. });
  527. this.chooseList = arr;
  528. },
  529. goDetail(row) {
  530. if (!this.displayDetail) {
  531. this.displayDetail = true;
  532. this.detailRow = row;
  533. }
  534. details({
  535. id: this.detailRow.id,
  536. beginDate: this.starTime,
  537. endDate: this.endTime,
  538. pageSize: this.pageD.pagesize,
  539. pageNum: this.pageD.currentPage,
  540. target: "",
  541. sort: "",
  542. }).then(({ data: res }) => {
  543. if (res.data) {
  544. this.detailTable = res.data.resultList;
  545. this.pageD.total = res.data.total;
  546. }
  547. });
  548. },
  549. goBack() {
  550. this.displayDetail = false;
  551. },
  552. dbfx() {
  553. if (this.chooseList.length <= 5) {
  554. this.dialogVisible = true;
  555. this.AjaxDbfx();
  556. }
  557. },
  558. AjaxDbfx() {
  559. var data = this.chooseList;
  560. this.windNum = data[0]?.date || data[0]?.name;
  561. this.windNum2 = data[1]?.date || data[1]?.name;
  562. this.windNum3 = data[2]?.date || data[2]?.name;
  563. this.windNum4 = data[3]?.date || data[3]?.name;
  564. this.windNum5 = data[4]?.date || data[4]?.name;
  565. let tabs = [
  566. {
  567. name: "发电量",
  568. code: "fdl",
  569. },
  570. {
  571. name: "故障损失电量",
  572. code: "gzssdl",
  573. },
  574. {
  575. name: "检修损失电量",
  576. code: "jxssdl",
  577. },
  578. {
  579. name: "性能未达标损失电量",
  580. code: "xnssdl",
  581. },
  582. {
  583. name: "受累损失电量",
  584. code: "slssdl",
  585. },
  586. {
  587. name: "风能利用率",
  588. code: "fnlyl",
  589. },
  590. {
  591. name: "故障损失率",
  592. code: "gzssl",
  593. },
  594. {
  595. name: "检修损失率",
  596. code: "jxssl",
  597. },
  598. {
  599. name: "弃风率",
  600. code: "qfl",
  601. },
  602. {
  603. name: "性能损失率",
  604. code: "xnssl",
  605. },
  606. {
  607. name: "受累损失率",
  608. code: "slssl",
  609. },
  610. ];
  611. tabs = tabs.map((item) => {
  612. if (item.code == "fnlyl") {
  613. if (this.tabIndex == -1) {
  614. item.name = "风能利用率";
  615. } else {
  616. item.name = "光能利用率";
  617. }
  618. }
  619. if (item.code == "qfl") {
  620. if (this.tabIndex == -1) {
  621. item.name = "弃风率";
  622. } else {
  623. item.name = "弃光率";
  624. }
  625. }
  626. return item;
  627. });
  628. tabs.forEach((val) => {
  629. data.forEach((item, index) => {
  630. val["windData" + (index + 1)] = item[val.code];
  631. });
  632. });
  633. this.tabs = tabs;
  634. let radarValue = [];
  635. data.forEach((item, index) => {
  636. let data = {
  637. indicator: [
  638. "风能利用率排名",
  639. "故障损失率排名",
  640. "检修损失率排名",
  641. "弃风率排名",
  642. "性能损失率排名",
  643. "受累损失率排名",
  644. ],
  645. data: [
  646. {
  647. value: [
  648. item.fnlylpm,
  649. item.gzsslpm,
  650. item.jxsslpm,
  651. item.qflpm,
  652. item.xnsslpm,
  653. item.slsslpm,
  654. ],
  655. name: item.name,
  656. },
  657. ],
  658. };
  659. if (this.tabIndex == -1) {
  660. data.indicator = [
  661. "风能利用率排名",
  662. "故障损失率排名",
  663. "检修损失率排名",
  664. "弃风率排名",
  665. "性能损失率排名",
  666. "受累损失率排名",
  667. ];
  668. } else {
  669. data.indicator = [
  670. "光能利用率排名",
  671. "故障损失率排名",
  672. "检修损失率排名",
  673. "弃光率排名",
  674. "性能损失率排名",
  675. "受累损失率排名",
  676. ];
  677. }
  678. radarValue.push(data);
  679. });
  680. this.radarValue = radarValue;
  681. var analyis = [],
  682. gzssdl = [],
  683. jxssdl = [],
  684. xnssdl = [],
  685. xdssdl = [],
  686. slssdl = [];
  687. data.forEach((item, index) => {
  688. gzssdl.push({
  689. text: item.name,
  690. value: item.gzssdl,
  691. });
  692. jxssdl.push({
  693. text: item.name,
  694. value: item.jxssdl,
  695. });
  696. xnssdl.push({
  697. text: item.name,
  698. value: item.xnssdl,
  699. });
  700. xdssdl.push({
  701. text: item.name,
  702. value: item.xdssdl,
  703. });
  704. slssdl.push({
  705. text: item.name,
  706. value: item.slssdl,
  707. });
  708. });
  709. analyis.push(
  710. {
  711. title: "故障损失电量",
  712. yAxisIndex: 0,
  713. value: gzssdl,
  714. },
  715. {
  716. title: "检修损失电量",
  717. yAxisIndex: 0,
  718. value: jxssdl,
  719. },
  720. {
  721. title: "性能损失电量",
  722. yAxisIndex: 0,
  723. value: xnssdl,
  724. },
  725. {
  726. title: "限电损失电量",
  727. yAxisIndex: 0,
  728. value: xdssdl,
  729. },
  730. {
  731. title: "受累损失电量",
  732. yAxisIndex: 0,
  733. value: slssdl,
  734. }
  735. );
  736. this.analyisDialog = analyis;
  737. },
  738. },
  739. watch: {},
  740. };
  741. </script>
  742. <style lang="less" scoped>
  743. .parcel-box {
  744. height: 100%;
  745. width: 100%;
  746. padding: 0 20px;
  747. padding-bottom: 10px;
  748. }
  749. .form-wrapper {
  750. display: flex;
  751. flex-direction: row;
  752. align-items: center;
  753. margin-top: 10px;
  754. margin-bottom: 10px;
  755. .tabCut {
  756. display: inline-block;
  757. margin: 0 10px;
  758. white-space: nowrap;
  759. div {
  760. display: inline-block;
  761. width: 60px;
  762. height: 27px;
  763. border: 1px solid #274934;
  764. text-align: center;
  765. line-height: 25px;
  766. cursor: pointer;
  767. }
  768. div:nth-child(1) {
  769. border-radius: 13px 0px 0px 13px;
  770. border-right-width: 0;
  771. }
  772. div:nth-child(2) {
  773. border-radius: 0px 13px 13px 0px;
  774. }
  775. .active {
  776. background-color: rgba(5, 187, 76, 0.9);
  777. color: #fff;
  778. }
  779. .disabled {
  780. cursor: not-allowed;
  781. pointer-events: none;
  782. }
  783. }
  784. .tabCut1 {
  785. display: inline-block;
  786. margin: 0 10px;
  787. div {
  788. display: inline-block;
  789. width: 60px;
  790. height: 27px;
  791. border: 1px solid #274934;
  792. text-align: center;
  793. line-height: 25px;
  794. cursor: pointer;
  795. }
  796. div:nth-child(1) {
  797. border-radius: 13px 0px 0px 13px;
  798. }
  799. div:nth-child(3) {
  800. border-radius: 0px 13px 13px 0px;
  801. }
  802. .active {
  803. background-color: rgba(5, 187, 76, 0.9);
  804. color: #fff;
  805. }
  806. }
  807. .station {
  808. display: flex;
  809. flex-direction: row;
  810. align-items: center;
  811. white-space: nowrap;
  812. font-size: 14px;
  813. font-family: Microsoft YaHei;
  814. font-weight: 400;
  815. color: #b3b3b3;
  816. margin-right: 10px;
  817. }
  818. .search-input {
  819. margin-left: 10px;
  820. }
  821. .but {
  822. display: flex;
  823. flex-direction: row;
  824. align-content: center;
  825. margin-left: 20px;
  826. }
  827. .buttons {
  828. background-color: rgba(5, 187, 76, 0.2);
  829. border: 1px solid #3b6c53;
  830. color: #b3b3b3;
  831. font-size: 14px;
  832. &:hover {
  833. background-color: rgba(5, 187, 76, 0.5);
  834. color: #ffffff;
  835. }
  836. }
  837. }
  838. .bodys {
  839. width: 100%;
  840. height: calc(100% - 345px - 43px - 20px);
  841. background-color: rgba(0, 0, 0, 0.45);
  842. // padding-bottom: 20px;
  843. border-radius: 5px;
  844. }
  845. .line {
  846. display: flex;
  847. flex-direction: row;
  848. align-items: center;
  849. justify-content: space-between;
  850. width: 100%;
  851. .leftContent {
  852. width: 242px;
  853. height: 41px;
  854. display: flex;
  855. align-items: center;
  856. background: url("~@/assets/imgs/title_left_bg1.png") no-repeat;
  857. span {
  858. font-size: 16px;
  859. font-family: Microsoft YaHei;
  860. font-weight: 400;
  861. color: #05bb4c;
  862. margin-left: 25px;
  863. }
  864. }
  865. }
  866. .economicTable {
  867. width: 100%;
  868. height: calc(100% - 36px);
  869. }
  870. .echarts {
  871. width: 100%;
  872. height: 345px;
  873. display: flex;
  874. flex-direction: row;
  875. align-items: center;
  876. .chart-name {
  877. display: flex;
  878. align-items: center;
  879. padding-left: 20px;
  880. position: relative;
  881. height: 39px;
  882. width: 98%;
  883. margin-left: 1%;
  884. border-bottom: 1px solid rgba(153, 153, 153, 0.5);
  885. font-size: 16px;
  886. font-family: Microsoft YaHei;
  887. font-weight: 400;
  888. color: #ffffff;
  889. }
  890. .pie-echarts {
  891. width: 30%;
  892. height: 100%;
  893. background: rgba(0, 0, 0, 0.45);
  894. border-radius: 5px;
  895. }
  896. .bar-echarts {
  897. width: calc(70% - 20px);
  898. margin-left: 20px;
  899. height: 100%;
  900. background: rgba(0, 0, 0, 0.45);
  901. border-radius: 5px;
  902. }
  903. }
  904. .pagination-class {
  905. text-align: right;
  906. margin-top: 5px;
  907. }
  908. .point {
  909. width: 6px;
  910. height: 1px;
  911. background-color: #ffffff;
  912. position: absolute;
  913. &.point-left {
  914. left: 0;
  915. }
  916. &.point-right {
  917. right: 0;
  918. }
  919. &.top {
  920. top: -1px;
  921. }
  922. &.bottom {
  923. bottom: -1px;
  924. }
  925. }
  926. /*去除表头全选框*/
  927. ::v-deep .el-table__header-wrapper .el-checkbox {
  928. display: none;
  929. }
  930. ::v-deep .el-table__body-wrapper .el-checkbox {
  931. .el-checkbox__input {
  932. display: block;
  933. }
  934. }
  935. </style>