index.vue 24 KB

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