index.vue 22 KB

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