index.vue 22 KB

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