index.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989
  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. @size-change="handleSizeDChange"
  261. :page-sizes="[23, 50, 100, 500]"
  262. layout="total, sizes, prev, pager, next, jumper"
  263. @current-change="handlePageDChange"
  264. :current-page="pageD.currentPage"
  265. :page-size="pageD.pagesize"
  266. :total="pageD.total"
  267. >
  268. </el-pagination>
  269. </div>
  270. </div>
  271. <el-dialog
  272. class="dialogs"
  273. width="90%"
  274. top="40px"
  275. v-model="dialogVisible"
  276. :show-close="true"
  277. >
  278. <template #title>
  279. <div class="dialog-title">
  280. <div class="title">对标排名分析</div>
  281. </div>
  282. </template>
  283. <div class="dialog-body">
  284. <img class="dialog-img" src="@assets/imgs/dialog.png" />
  285. <dayinfo
  286. :radarValue="radarValue"
  287. :title="[windNum, windNum2, windNum3, windNum4, windNum5]"
  288. :windNum="windNum"
  289. :windNum2="windNum2"
  290. :windNum3="windNum3"
  291. :windNum4="windNum4"
  292. :windNum5="windNum5"
  293. :tabs="tabs"
  294. :analyisDialog="analyisDialog"
  295. />
  296. </div>
  297. </el-dialog>
  298. </div>
  299. </template>
  300. <script>
  301. import dayjs from "dayjs";
  302. import {
  303. tableHeader,
  304. tableHeaderG,
  305. tableHeaderDetail,
  306. tableHeaderGDetail,
  307. } from "@/utills//constant.js";
  308. import { companys } from "@/api/curveAnalyse";
  309. import {
  310. getStation,
  311. getProject,
  312. getLine,
  313. wxssl,
  314. details,
  315. } from "@/api/performance";
  316. import PieChart from "../../homePage/components/pieChart.vue";
  317. import BarCharts from "../../homePage/components/barCharts.vue";
  318. import dayinfo from "../compontent/dayinfo.vue";
  319. export default {
  320. name: "lostRate", //场际对标
  321. components: {
  322. PieChart,
  323. BarCharts,
  324. dayinfo,
  325. },
  326. data() {
  327. return {
  328. tableHeader,
  329. tableHeaderG,
  330. tableHeaderDetail,
  331. tableHeaderGDetail,
  332. company: "",
  333. companyOptions: [],
  334. stationObj: [],
  335. stationList: [],
  336. projectObj: "",
  337. projectList: [],
  338. lineObj: [],
  339. lineList: [],
  340. starTime: "",
  341. endTime: "",
  342. tabIndex: -1,
  343. tabOptions: [
  344. { id: -1, name: "风电" },
  345. { id: -2, name: "光伏" },
  346. ],
  347. tableData: [],
  348. detailTable: [],
  349. chooseList: [],
  350. lossPower: [],
  351. barList: [],
  352. displayDetail: false,
  353. dialogVisible: false,
  354. radarValue: [],
  355. windNum: "",
  356. windNum2: "",
  357. windNum3: "",
  358. windNum4: "",
  359. windNum5: "",
  360. tabs: [],
  361. analyisDialog: [],
  362. detailRow: {},
  363. pageD: {
  364. pagesize: 23,
  365. currentPage: 1,
  366. total: 0,
  367. },
  368. };
  369. },
  370. created() {
  371. let date = new Date();
  372. date.setDate(1);
  373. let month = parseInt(date.getMonth() + 1);
  374. let day = date.getDate();
  375. if (month < 10) {
  376. month = "0" + month;
  377. }
  378. if (day < 10) {
  379. day = "0" + day;
  380. }
  381. this.starTime = date.getFullYear() + "-" + month + "-" + day;
  382. this.endTime = dayjs(new Date().getTime()).format("YYYY-MM-DD");
  383. this.initialization();
  384. },
  385. methods: {
  386. handlePageDChange(val) {
  387. this.pageD.currentPage = val;
  388. this.goDetail();
  389. },
  390. handleSizeDChange(val) {
  391. this.pageD.currentPage = 1;
  392. this.pageD.pagesize = val;
  393. this.goDetail();
  394. },
  395. tabClick(val) {
  396. this.tabIndex = val;
  397. this.stationObj = [];
  398. this.stationList = [];
  399. this.projectObj = [];
  400. this.projectList = [];
  401. this.lineObj = [];
  402. this.lineList = [];
  403. this.tableData = [];
  404. if (val == -2) {
  405. this.company = "SXJ_KGDL_GFFD_ZGS";
  406. this.getStation(this.company);
  407. } else {
  408. this.company = this.companyOptions[0].id;
  409. this.getStation(this.company);
  410. }
  411. // this.gerWxssl();
  412. },
  413. initialization() {
  414. companys().then(({ data: res }) => {
  415. if (res.data) {
  416. this.company = res.data[0].id;
  417. this.companyOptions = res.data;
  418. this.getStation(res.data[0].id);
  419. }
  420. });
  421. },
  422. getStation(companyids) {
  423. getStation({
  424. companyids: companyids,
  425. type: this.tabIndex,
  426. }).then(({ data: res }) => {
  427. if (res.data.length) {
  428. this.stationList = res.data;
  429. this.getProject(res.data[0].id);
  430. }
  431. });
  432. },
  433. getProject(wpids) {
  434. getProject({
  435. wpids: wpids,
  436. }).then(({ data: res }) => {
  437. if (res.data.length) {
  438. this.projectList = res.data;
  439. this.getLine(res.data[0].id);
  440. } else {
  441. this.projectList = [];
  442. this.getLine("");
  443. }
  444. });
  445. },
  446. getLine(pjids) {
  447. getLine({
  448. pjids: pjids,
  449. }).then(({ data: res }) => {
  450. if (res.data.length) {
  451. this.lineList = res.data;
  452. this.gerWxssl();
  453. } else {
  454. this.lineList = [];
  455. this.gerWxssl();
  456. }
  457. });
  458. },
  459. gerWxssl() {
  460. this.BASE.showLoading();
  461. wxssl({
  462. companys: this.company,
  463. type: this.tabIndex,
  464. beginDate: this.starTime,
  465. endDate: this.endTime,
  466. wpids: this.stationObj.join(","),
  467. projectids: this.projectObj.join(","),
  468. lineids: this.lineObj.join(","),
  469. target: "",
  470. sort: "",
  471. }).then(({ data: res }) => {
  472. if (res.data.length) {
  473. let barList = [
  474. {
  475. name: "故障损失电量",
  476. children: [],
  477. date: [],
  478. },
  479. {
  480. name: "检修损失电量",
  481. children: [],
  482. },
  483. {
  484. name: "性能损失电量",
  485. children: [],
  486. },
  487. {
  488. name: "限电损失电量",
  489. children: [],
  490. },
  491. {
  492. name: "受累损失电量",
  493. children: [],
  494. },
  495. ];
  496. this.tableData = res.data;
  497. let lossPower = [];
  498. res.data.forEach((item) => {
  499. let obj = {
  500. name: item.name,
  501. value: item.zssdl,
  502. };
  503. lossPower.push(obj);
  504. barList[0].date.push(item.name);
  505. barList[0].children.push(item.gzssdl);
  506. barList[1].children.push(item.jxssdl);
  507. barList[2].children.push(item.xnssdl);
  508. barList[3].children.push(item.xdssdl);
  509. barList[4].children.push(item.slssdl);
  510. });
  511. this.lossPower = lossPower;
  512. this.barList = barList;
  513. this.BASE.closeLoading();
  514. } else {
  515. this.BASE.closeLoading();
  516. this.tableData = [];
  517. this.lossPower = [];
  518. this.barList = [];
  519. }
  520. });
  521. },
  522. handleCompanyChange(val) {
  523. this.company = val;
  524. this.lineObj = [];
  525. this.getStation(val);
  526. },
  527. handleStationChange(val) {
  528. this.projectObj = [];
  529. this.lineObj = [];
  530. this.getProject(val);
  531. },
  532. handleProjectChange(val) {
  533. this.lineObj = [];
  534. this.getLine(val);
  535. },
  536. handleCurrentChange(val) {
  537. if (val.length > 5) {
  538. let del_row = val.shift();
  539. this.$refs.multipleTable.toggleRowSelection(del_row, false);
  540. }
  541. let arr = [];
  542. val.forEach((item, index) => {
  543. if (index < 5) {
  544. arr.push(item);
  545. }
  546. });
  547. this.chooseList = arr;
  548. },
  549. goDetail(row) {
  550. if (!this.displayDetail) {
  551. this.displayDetail = true;
  552. this.detailRow = row;
  553. }
  554. details({
  555. id: this.detailRow.id,
  556. beginDate: this.starTime,
  557. endDate: this.endTime,
  558. pageSize: this.pageD.pagesize,
  559. pageNum: this.pageD.currentPage,
  560. target: "",
  561. sort: "",
  562. }).then(({ data: res }) => {
  563. if (res.data) {
  564. this.detailTable = res.data.resultList;
  565. this.pageD.total = res.data.total;
  566. }
  567. });
  568. },
  569. goBack() {
  570. this.displayDetail = false;
  571. },
  572. dbfx() {
  573. if (this.chooseList.length <= 5) {
  574. this.dialogVisible = true;
  575. this.AjaxDbfx();
  576. }
  577. },
  578. AjaxDbfx() {
  579. var data = this.chooseList;
  580. this.windNum = data[0]?.date || data[0]?.name;
  581. this.windNum2 = data[1]?.date || data[1]?.name;
  582. this.windNum3 = data[2]?.date || data[2]?.name;
  583. this.windNum4 = data[3]?.date || data[3]?.name;
  584. this.windNum5 = data[4]?.date || data[4]?.name;
  585. let tabs = [
  586. {
  587. name: "发电量",
  588. code: "fdl",
  589. },
  590. {
  591. name: "故障损失电量",
  592. code: "gzssdl",
  593. },
  594. {
  595. name: "检修损失电量",
  596. code: "jxssdl",
  597. },
  598. {
  599. name: "性能未达标损失电量",
  600. code: "xnssdl",
  601. },
  602. {
  603. name: "受累损失电量",
  604. code: "slssdl",
  605. },
  606. {
  607. name: "风能利用率",
  608. code: "fnlyl",
  609. },
  610. {
  611. name: "故障损失率",
  612. code: "gzssl",
  613. },
  614. {
  615. name: "检修损失率",
  616. code: "jxssl",
  617. },
  618. {
  619. name: "弃风率",
  620. code: "qfl",
  621. },
  622. {
  623. name: "性能损失率",
  624. code: "xnssl",
  625. },
  626. {
  627. name: "受累损失率",
  628. code: "slssl",
  629. },
  630. ];
  631. tabs = tabs.map((item) => {
  632. if (item.code == "fnlyl") {
  633. if (this.tabIndex == -1) {
  634. item.name = "风能利用率";
  635. } else {
  636. item.name = "光能利用率";
  637. }
  638. }
  639. if (item.code == "qfl") {
  640. if (this.tabIndex == -1) {
  641. item.name = "弃风率";
  642. } else {
  643. item.name = "弃光率";
  644. }
  645. }
  646. return item;
  647. });
  648. tabs.forEach((val) => {
  649. data.forEach((item, index) => {
  650. val["windData" + (index + 1)] = item[val.code];
  651. });
  652. });
  653. this.tabs = tabs;
  654. let radarValue = [];
  655. data.forEach((item, index) => {
  656. let data = {
  657. indicator: [
  658. "风能利用率排名",
  659. "故障损失率排名",
  660. "检修损失率排名",
  661. "弃风率排名",
  662. "性能损失率排名",
  663. "受累损失率排名",
  664. ],
  665. data: [
  666. {
  667. value: [
  668. item.fnlylpm,
  669. item.gzsslpm,
  670. item.jxsslpm,
  671. item.qflpm,
  672. item.xnsslpm,
  673. item.slsslpm,
  674. ],
  675. name: item.name,
  676. },
  677. ],
  678. };
  679. if (this.tabIndex == -1) {
  680. data.indicator = [
  681. "风能利用率排名",
  682. "故障损失率排名",
  683. "检修损失率排名",
  684. "弃风率排名",
  685. "性能损失率排名",
  686. "受累损失率排名",
  687. ];
  688. } else {
  689. data.indicator = [
  690. "光能利用率排名",
  691. "故障损失率排名",
  692. "检修损失率排名",
  693. "弃光率排名",
  694. "性能损失率排名",
  695. "受累损失率排名",
  696. ];
  697. }
  698. radarValue.push(data);
  699. });
  700. this.radarValue = radarValue;
  701. var analyis = [],
  702. gzssdl = [],
  703. jxssdl = [],
  704. xnssdl = [],
  705. xdssdl = [],
  706. slssdl = [];
  707. data.forEach((item, index) => {
  708. gzssdl.push({
  709. text: item.name,
  710. value: item.gzssdl,
  711. });
  712. jxssdl.push({
  713. text: item.name,
  714. value: item.jxssdl,
  715. });
  716. xnssdl.push({
  717. text: item.name,
  718. value: item.xnssdl,
  719. });
  720. xdssdl.push({
  721. text: item.name,
  722. value: item.xdssdl,
  723. });
  724. slssdl.push({
  725. text: item.name,
  726. value: item.slssdl,
  727. });
  728. });
  729. analyis.push(
  730. {
  731. title: "故障损失电量",
  732. yAxisIndex: 0,
  733. value: gzssdl,
  734. },
  735. {
  736. title: "检修损失电量",
  737. yAxisIndex: 0,
  738. value: jxssdl,
  739. },
  740. {
  741. title: "性能损失电量",
  742. yAxisIndex: 0,
  743. value: xnssdl,
  744. },
  745. {
  746. title: "限电损失电量",
  747. yAxisIndex: 0,
  748. value: xdssdl,
  749. },
  750. {
  751. title: "受累损失电量",
  752. yAxisIndex: 0,
  753. value: slssdl,
  754. }
  755. );
  756. this.analyisDialog = analyis;
  757. },
  758. },
  759. watch: {},
  760. };
  761. </script>
  762. <style lang="less" scoped>
  763. .parcel-box {
  764. height: 100%;
  765. width: 100%;
  766. padding: 0 20px;
  767. padding-bottom: 10px;
  768. }
  769. .form-wrapper {
  770. display: flex;
  771. flex-direction: row;
  772. align-items: center;
  773. margin-top: 10px;
  774. margin-bottom: 10px;
  775. .tabCut {
  776. display: inline-block;
  777. margin: 0 10px;
  778. white-space: nowrap;
  779. div {
  780. display: inline-block;
  781. width: 60px;
  782. height: 27px;
  783. border: 1px solid #274934;
  784. text-align: center;
  785. line-height: 25px;
  786. cursor: pointer;
  787. }
  788. div:nth-child(1) {
  789. border-radius: 13px 0px 0px 13px;
  790. border-right-width: 0;
  791. }
  792. div:nth-child(2) {
  793. border-radius: 0px 13px 13px 0px;
  794. }
  795. .active {
  796. background-color: rgba(5, 187, 76, 0.9);
  797. color: #fff;
  798. }
  799. .disabled {
  800. cursor: not-allowed;
  801. pointer-events: none;
  802. }
  803. }
  804. .tabCut1 {
  805. display: inline-block;
  806. margin: 0 10px;
  807. div {
  808. display: inline-block;
  809. width: 60px;
  810. height: 27px;
  811. border: 1px solid #274934;
  812. text-align: center;
  813. line-height: 25px;
  814. cursor: pointer;
  815. }
  816. div:nth-child(1) {
  817. border-radius: 13px 0px 0px 13px;
  818. }
  819. div:nth-child(3) {
  820. border-radius: 0px 13px 13px 0px;
  821. }
  822. .active {
  823. background-color: rgba(5, 187, 76, 0.9);
  824. color: #fff;
  825. }
  826. }
  827. .station {
  828. display: flex;
  829. flex-direction: row;
  830. align-items: center;
  831. white-space: nowrap;
  832. font-size: 14px;
  833. font-family: Microsoft YaHei;
  834. font-weight: 400;
  835. color: #b3b3b3;
  836. margin-right: 10px;
  837. }
  838. .search-input {
  839. margin-left: 10px;
  840. }
  841. .but {
  842. display: flex;
  843. flex-direction: row;
  844. align-content: center;
  845. margin-left: 20px;
  846. }
  847. .buttons {
  848. background-color: rgba(5, 187, 76, 0.2);
  849. border: 1px solid #3b6c53;
  850. color: #b3b3b3;
  851. font-size: 14px;
  852. &:hover {
  853. background-color: rgba(5, 187, 76, 0.5);
  854. color: #ffffff;
  855. }
  856. }
  857. }
  858. .bodys {
  859. width: 100%;
  860. height: calc(100% - 345px - 43px - 20px);
  861. background-color: rgba(0, 0, 0, 0.45);
  862. // padding-bottom: 20px;
  863. border-radius: 5px;
  864. }
  865. .line {
  866. display: flex;
  867. flex-direction: row;
  868. align-items: center;
  869. justify-content: space-between;
  870. width: 100%;
  871. .leftContent {
  872. width: 242px;
  873. height: 41px;
  874. display: flex;
  875. align-items: center;
  876. background: url("~@/assets/imgs/title_left_bg1.png") no-repeat;
  877. span {
  878. font-size: 16px;
  879. font-family: Microsoft YaHei;
  880. font-weight: 400;
  881. color: #05bb4c;
  882. margin-left: 25px;
  883. }
  884. }
  885. }
  886. .economicTable {
  887. width: 100%;
  888. height: calc(100% - 36px);
  889. }
  890. .echarts {
  891. width: 100%;
  892. height: 345px;
  893. display: flex;
  894. flex-direction: row;
  895. align-items: center;
  896. .chart-name {
  897. display: flex;
  898. align-items: center;
  899. padding-left: 20px;
  900. position: relative;
  901. height: 39px;
  902. width: 98%;
  903. margin-left: 1%;
  904. border-bottom: 1px solid rgba(153, 153, 153, 0.5);
  905. font-size: 16px;
  906. font-family: Microsoft YaHei;
  907. font-weight: 400;
  908. color: #ffffff;
  909. }
  910. .pie-echarts {
  911. width: 30%;
  912. height: 100%;
  913. background: rgba(0, 0, 0, 0.45);
  914. border-radius: 5px;
  915. }
  916. .bar-echarts {
  917. width: calc(70% - 20px);
  918. margin-left: 20px;
  919. height: 100%;
  920. background: rgba(0, 0, 0, 0.45);
  921. border-radius: 5px;
  922. }
  923. }
  924. .pagination-class {
  925. text-align: right;
  926. margin-top: 5px;
  927. }
  928. .point {
  929. width: 6px;
  930. height: 1px;
  931. background-color: #ffffff;
  932. position: absolute;
  933. &.point-left {
  934. left: 0;
  935. }
  936. &.point-right {
  937. right: 0;
  938. }
  939. &.top {
  940. top: -1px;
  941. }
  942. &.bottom {
  943. bottom: -1px;
  944. }
  945. }
  946. /*去除表头全选框*/
  947. ::v-deep .el-table__header-wrapper .el-checkbox {
  948. display: none;
  949. }
  950. ::v-deep .el-table__body-wrapper .el-checkbox {
  951. .el-checkbox__input {
  952. display: block;
  953. }
  954. }
  955. </style>