leftdata.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963
  1. <template>
  2. <div class="backbone">
  3. <div class="BOXYI">
  4. <h3>任务统计</h3>
  5. <div class="BOXsan">
  6. <div class="YC02" @click="getwgl">
  7. <strong class="texyellow">
  8. {{ onrelevance ? onrelevance : 0 }}</strong
  9. >
  10. <span>待分析任务</span>
  11. </div>
  12. <div class="YC02" @click="getwfx">
  13. <strong class="textred"> {{ abnormal ? abnormal : 0 }}</strong>
  14. <span>异常任务</span>
  15. </div>
  16. <div class="YC03" @click="getpd">
  17. <strong class="textred"> {{ queueNumber ? queueNumber : 0 }}</strong>
  18. <span>排队任务</span>
  19. </div>
  20. </div>
  21. <el-dialog title="待分析任务统计表" :visible.sync="glShow" width="45%">
  22. <!-- 外部容器设置最大高度和滚动条 -->
  23. <div style="max-height: 400px; overflow-y: auto">
  24. <el-table :data="glData" style="width: 100%">
  25. <el-table-column
  26. prop="fieldName"
  27. label="风场名称"
  28. width="180"
  29. ></el-table-column>
  30. <el-table-column
  31. prop="analysisName"
  32. label="分析名称"
  33. ></el-table-column>
  34. <el-table-column
  35. prop="createTime"
  36. label="创建时间"
  37. width="180"
  38. ></el-table-column>
  39. <el-table-column fixed="right" label="操作" width="100">
  40. <template slot-scope="scope">
  41. <el-button
  42. @click="handleClick(scope.row)"
  43. type="text"
  44. size="small"
  45. >编辑</el-button
  46. >
  47. </template>
  48. </el-table-column>
  49. </el-table>
  50. </div>
  51. </el-dialog>
  52. <el-dialog title="异常任务统计表" :visible.sync="YCShow" width="45%">
  53. <div style="max-height: 400px; overflow-y: auto">
  54. <el-table :data="FXData" style="width: 100%">
  55. <el-table-column prop="fieldName" label="风场名称" width="180">
  56. </el-table-column>
  57. <el-table-column prop="analysisName" label="分析名称">
  58. </el-table-column>
  59. <el-table-column prop="createTime" label="创建时间" width="180">
  60. </el-table-column>
  61. <el-table-column fixed="right" label="操作" width="100">
  62. <template slot-scope="scope">
  63. <el-button
  64. @click="YChandleClick(scope.row)"
  65. type="text"
  66. size="small"
  67. >编辑</el-button
  68. >
  69. </template>
  70. </el-table-column>
  71. </el-table>
  72. </div>
  73. </el-dialog>
  74. <el-dialog title="排队任务统计表" :visible.sync="PdShow" width="45%">
  75. <div style="max-height: 400px; overflow-y: auto">
  76. <el-table :data="PdData" style="width: 100%">
  77. <el-table-column prop="fieldName" label="风场名称" width="180">
  78. </el-table-column>
  79. <el-table-column prop="analysisName" label="分析名称">
  80. </el-table-column>
  81. <el-table-column prop="createTime" label="创建时间" width="180">
  82. </el-table-column>
  83. <el-table-column fixed="right" label="操作" width="100">
  84. <template slot-scope="scope">
  85. <el-button @click="PDClick(scope.row)" type="text" size="small"
  86. >编辑</el-button
  87. >
  88. </template>
  89. </el-table-column>
  90. </el-table>
  91. </div>
  92. </el-dialog>
  93. </div>
  94. <!-- 入库信息 -->
  95. <div class="BOX">
  96. <h3 class="centeredh3">
  97. 入库数据
  98. <span>
  99. <span style="cursor: pointer" @click="importdata">导入数据</span>
  100. <span style="cursor: pointer" @click="more">更多</span>
  101. <span style="cursor: pointer" @click="onlinedata">在线数据</span>
  102. </span>
  103. </h3>
  104. <div>
  105. <p class="titleYC"><span>风场名称</span><span>入库时间</span></p>
  106. <tabroll
  107. :table-data="tableData"
  108. :shujuloading="shujuloading"
  109. :columns="YCtableColumns"
  110. :column-widths="YCcolumnWidths"
  111. :max-height="140"
  112. ></tabroll>
  113. <!-- <el-table
  114. :data="tableData"
  115. :max-height="maxHeight"
  116. ref="shujuscroll_Table"
  117. strip
  118. id="Tabtab"
  119. show-overflow-tooltip
  120. :header-cell-style="{ backgroundColor: 'red' }"
  121. >
  122. <el-table-column
  123. prop="windFarmName"
  124. label="风场名称"
  125. width="130"
  126. show-overflow-tooltip
  127. >
  128. </el-table-column>
  129. <el-table-column
  130. prop="createTime"
  131. label="时间"
  132. width="150"
  133. show-overflow-tooltip
  134. >
  135. </el-table-column>
  136. </el-table> -->
  137. </div>
  138. </div>
  139. <el-dialog
  140. title="实时数据采集统计"
  141. :visible.sync="lineShow"
  142. width="1340px"
  143. :before-close="handleClose"
  144. >
  145. <el-container>
  146. <el-aside width="300px">
  147. <h1>当日实时数据</h1>
  148. <el-input
  149. placeholder="请输入内容"
  150. size="small"
  151. v-model="searchvalue"
  152. prefix-icon="el-icon-search"
  153. ></el-input>
  154. <div class="windbox">
  155. <div
  156. class="windlist"
  157. v-for="(item, index) in windList"
  158. :key="index"
  159. >
  160. <h3>{{ item.fieldName }}</h3>
  161. <p>数据类型:{{ item.dataType }}</p>
  162. <p>采集次数:{{ item.collectCount }} 次</p>
  163. <p>接入时间:{{ item.createTime }}</p>
  164. </div>
  165. </div>
  166. </el-aside>
  167. <el-main>
  168. <div class="inquire">
  169. <p>
  170. 风场名称:
  171. <el-select v-model="windvalue" placeholder="请选择" size="small">
  172. <el-option
  173. v-for="item in windoptions"
  174. :key="item.value"
  175. :label="item.label"
  176. :value="item.value"
  177. >
  178. </el-option>
  179. </el-select>
  180. </p>
  181. <p>
  182. 转换类型:
  183. <el-select v-model="typevalue" placeholder="请选择" size="small">
  184. <el-option
  185. v-for="item in typeoptions"
  186. :key="item.value"
  187. :label="item.label"
  188. :value="item.value"
  189. >
  190. </el-option>
  191. </el-select>
  192. </p>
  193. <p>
  194. 时间范围:
  195. <el-date-picker
  196. size="small"
  197. v-model="value1"
  198. type="daterange"
  199. range-separator="至"
  200. start-placeholder="开始日期"
  201. end-placeholder="结束日期"
  202. >
  203. </el-date-picker>
  204. </p>
  205. <div>
  206. <el-button size="small">查询</el-button>
  207. <el-button size="small">重置</el-button>
  208. </div>
  209. </div>
  210. <el-table
  211. :data="ListtableData"
  212. style="width: 100%"
  213. class="custom-table"
  214. >
  215. <el-table-column prop="name" label="风场名称"> </el-table-column>
  216. <el-table-column prop="type" label="类型" align="center">
  217. </el-table-column>
  218. <el-table-column
  219. prop="address"
  220. label="采集总天数"
  221. align="center"
  222. width="150"
  223. >
  224. </el-table-column>
  225. <el-table-column
  226. prop="count"
  227. label="采集总条数"
  228. align="center"
  229. width="180"
  230. >
  231. </el-table-column>
  232. <el-table-column prop="daytime" label="最近采集时间" align="center">
  233. </el-table-column>
  234. </el-table>
  235. <el-pagination class="fenye" layout="prev, pager, next" :total="50">
  236. </el-pagination>
  237. </el-main>
  238. </el-container>
  239. </el-dialog>
  240. <el-dialog title="入库信息" width="70%" :visible.sync="dialogTableVisible">
  241. <el-button size="small" @click="importdata">导入数据</el-button>
  242. <el-table :data="gridData" style="max-height: 400px; overflow: auto">
  243. <el-table-column
  244. property="windFarmName"
  245. label="风场名称"
  246. show-overflow-tooltip
  247. width="150px"
  248. ></el-table-column>
  249. <el-table-column
  250. property="minuteTimeAreaList"
  251. label="SCADA分钟级"
  252. show-overflow-tooltip
  253. ></el-table-column>
  254. <el-table-column
  255. property="secondTimeAreaList"
  256. label="SCADA秒级"
  257. show-overflow-tooltip
  258. ></el-table-column>
  259. <el-table-column
  260. property="faultTimeAreaList"
  261. label="故障数据"
  262. show-overflow-tooltip
  263. ></el-table-column>
  264. <el-table-column
  265. property="warnTimeAreaList"
  266. label="报警数据"
  267. show-overflow-tooltip
  268. ></el-table-column>
  269. <el-table-column
  270. property="vibrationTimeAreaList"
  271. label="振动数据"
  272. show-overflow-tooltip
  273. ></el-table-column>
  274. </el-table>
  275. </el-dialog>
  276. </div>
  277. </template>
  278. <script>
  279. import {
  280. queryWaitTask,
  281. getAnalysisResultStateList,
  282. getAnalysisResultErrStateList,
  283. analysisResultList,
  284. } from "@/api/ledger.js";
  285. import axios from "axios";
  286. import Tabroll from "./tabroll.vue";
  287. export default {
  288. // props: {
  289. // maplistArr: {
  290. // type: Object,
  291. // default: () => ({}),
  292. // },
  293. // defaultdata: {
  294. // type: Object,
  295. // default: () => ({}),
  296. // },
  297. // },
  298. components: {
  299. Tabroll,
  300. },
  301. data() {
  302. return {
  303. onrelevance: "",
  304. abnormal: "",
  305. queueNumber: "",
  306. glShow: false,
  307. YCShow: false,
  308. PdShow: false,
  309. lineShow: false,
  310. dialogTableVisible: false,
  311. glData: [],
  312. FXData: [],
  313. PdData: [],
  314. tableData: [],
  315. maxHeight: "200",
  316. gridData: [],
  317. shujuloading: false,
  318. searchvalue: "",
  319. value1: "",
  320. windvalue: "",
  321. typevalue: "",
  322. windoptions: [],
  323. typeoptions: [],
  324. windList: [
  325. {
  326. fieldName: "招远风电场",
  327. dataType: "SCADA秒级",
  328. collectCount: "采集次数:600 次",
  329. createTime: "接入时间:2025-11-11 11:11:11",
  330. },
  331. {
  332. fieldName: "招远风电场",
  333. dataType: "SCADA秒级",
  334. collectCount: "采集次数:600 次",
  335. createTime: "接入时间:2025-11-11 11:11:11",
  336. },
  337. {
  338. fieldName: "招远风电场",
  339. dataType: "SCADA秒级",
  340. collectCount: "采集次数:600 次",
  341. createTime: "接入时间:2025-11-11 11:11:11",
  342. },
  343. {
  344. fieldName: "招远风电场",
  345. dataType: "SCADA秒级",
  346. collectCount: "采集次数:600 次",
  347. createTime: "接入时间:2025-11-11 11:11:11",
  348. },
  349. {
  350. fieldName: "招远风电场",
  351. dataType: "SCADA秒级",
  352. collectCount: "采集次数:600 次",
  353. createTime: "接入时间:2025-11-11 11:11:11",
  354. },
  355. {
  356. fieldName: "招远风电场",
  357. dataType: "SCADA秒级",
  358. collectCount: "采集次数:600 次",
  359. createTime: "接入时间:2025-11-11 11:11:11",
  360. },
  361. {
  362. fieldName: "招远风电场",
  363. dataType: "SCADA秒级",
  364. collectCount: "采集次数:600 次",
  365. createTime: "接入时间:2025-11-11 11:11:11",
  366. },
  367. ],
  368. YCtableColumns: [{ prop: "windFarmName" }, { prop: "createTime" }],
  369. YCcolumnWidths: {
  370. windFarmName: 130,
  371. createTime: 150,
  372. },
  373. ListtableData: [
  374. {
  375. name: "招远风电场",
  376. type: "SCADA分钟级",
  377. address: "985",
  378. count: "10000",
  379. daytime: "2025-11-11 11:11:11",
  380. },
  381. {
  382. name: "招远风电场",
  383. type: "SCADA分钟级",
  384. address: "985",
  385. count: "10000",
  386. daytime: "2025-11-11 11:11:11",
  387. },
  388. {
  389. name: "招远风电场",
  390. type: "SCADA分钟级",
  391. address: "985",
  392. count: "10000",
  393. daytime: "2025-11-11 11:11:11",
  394. },
  395. {
  396. name: "招远风电场",
  397. type: "SCADA分钟级",
  398. address: "985",
  399. count: "10000",
  400. daytime: "2025-11-11 11:11:11",
  401. },
  402. {
  403. name: "招远风电场",
  404. type: "SCADA分钟级",
  405. address: "985",
  406. count: "10000",
  407. daytime: "2025-11-11 11:11:11",
  408. },
  409. {
  410. name: "招远风电场",
  411. type: "SCADA分钟级",
  412. address: "985",
  413. count: "10000",
  414. daytime: "2025-11-11 11:11:11",
  415. },
  416. {
  417. name: "招远风电场",
  418. type: "SCADA分钟级",
  419. address: "985",
  420. count: "10000",
  421. daytime: "2025-11-11 11:11:11",
  422. },
  423. {
  424. name: "招远风电场",
  425. type: "SCADA分钟级",
  426. address: "985",
  427. count: "10000",
  428. daytime: "2025-11-11 11:11:11",
  429. },
  430. {
  431. name: "招远风电场",
  432. type: "SCADA分钟级",
  433. address: "985",
  434. count: "10000",
  435. daytime: "2025-11-11 11:11:11",
  436. },
  437. {
  438. name: "招远风电场",
  439. type: "SCADA分钟级",
  440. address: "985",
  441. count: "10000",
  442. daytime: "2025-11-11 11:11:11",
  443. },
  444. ],
  445. };
  446. },
  447. created() {
  448. this.getbacklog();
  449. this.ruku();
  450. },
  451. mounted() {},
  452. methods: {
  453. getbacklog() {
  454. queryWaitTask().then((res) => {
  455. this.abnormal = res.data.errCount;
  456. this.onrelevance = res.data.uncorrelatedCount;
  457. this.queueNumber = res.data.queueNumber;
  458. });
  459. },
  460. getwgl() {
  461. const arr = {
  462. pageSize: 999,
  463. analysisState: "-1",
  464. };
  465. analysisResultList(arr).then((res) => {
  466. this.glData = res.data.list;
  467. this.glShow = true;
  468. });
  469. },
  470. getwfx() {
  471. const arr = {
  472. pageSize: 999,
  473. errState: 1,
  474. };
  475. analysisResultList(arr).then((res) => {
  476. this.FXData = res.data.list;
  477. this.YCShow = true;
  478. });
  479. },
  480. getpd() {
  481. const arr = {
  482. pageSize: 999,
  483. analysisState: "10",
  484. };
  485. analysisResultList(arr).then((res) => {
  486. this.PdData = res.data.list;
  487. this.PdShow = true;
  488. });
  489. },
  490. PDClick(row) {
  491. const fieldName = row.fieldName; // 获取当前行的 fieldName 数据
  492. const analysisState = "10";
  493. // 打开新窗口
  494. const newWindow = window.open(
  495. "/home/performance/assetssMag?id=195",
  496. "_blank"
  497. );
  498. // 等待窗口加载完成后发送消息
  499. newWindow.onload = () => {
  500. newWindow.postMessage({ fieldName, analysisState }, "*");
  501. };
  502. },
  503. handleClick(row) {
  504. const fieldName = row.fieldName; // 获取当前行的 fieldName 数据
  505. const analysisState = "-1";
  506. // 打开新窗口
  507. const newWindow = window.open(
  508. "/home/performance/assetssMag?id=195",
  509. "_blank"
  510. );
  511. // 等待窗口加载完成后发送消息
  512. newWindow.onload = () => {
  513. newWindow.postMessage({ fieldName, analysisState }, "*");
  514. };
  515. },
  516. YChandleClick(row) {
  517. const fieldName = row.fieldName; // 获取当前行的 fieldName 数据
  518. const errState = 1;
  519. const analysisState = "30";
  520. // 打开新窗口
  521. const newWindow = window.open(
  522. "/home/performance/assetssMag?id=195",
  523. "_blank"
  524. );
  525. // 等待窗口加载完成后发送消息
  526. newWindow.onload = () => {
  527. newWindow.postMessage({ fieldName, errState, analysisState }, "*");
  528. };
  529. },
  530. more() {
  531. this.dialogTableVisible = true;
  532. axios
  533. .post(`/ETLapi/dataTransfer/pltIndexMore`)
  534. .then((res) => {
  535. if (res.data.code === 200) {
  536. this.gridData = res.data.datas.map((item) => {
  537. // 合并数组中的元素,用 '/' 分隔
  538. if (
  539. item.secondTimeAreaList &&
  540. item.secondTimeAreaList.length > 0
  541. ) {
  542. item.secondTimeAreaList = [item.secondTimeAreaList.join(" / ")];
  543. }
  544. if (item.faultTimeAreaList && item.faultTimeAreaList.length > 0) {
  545. item.faultTimeAreaList = [item.faultTimeAreaList.join(" / ")];
  546. }
  547. if (
  548. item.minuteTimeAreaList &&
  549. item.minuteTimeAreaList.length > 0
  550. ) {
  551. item.minuteTimeAreaList = [item.minuteTimeAreaList.join(" / ")];
  552. }
  553. if (
  554. item.vibrationTimeAreaList &&
  555. item.vibrationTimeAreaList.length > 0
  556. ) {
  557. item.vibrationTimeAreaList = [
  558. item.vibrationTimeAreaList.join(" / "),
  559. ];
  560. }
  561. if (item.warnTimeAreaList && item.warnTimeAreaList.length > 0) {
  562. item.warnTimeAreaList = [item.warnTimeAreaList.join(" / ")];
  563. }
  564. return item;
  565. });
  566. }
  567. if (res.data.code === 500) {
  568. this.$message.error(res.data.message);
  569. }
  570. })
  571. .catch((error) => {
  572. console.error("Error fetching data:", error);
  573. });
  574. },
  575. importdata() {
  576. window.open(this.$router.resolve({ path: "/transition" }).href, "_blank");
  577. },
  578. ruku() {
  579. axios
  580. .post(`/ETLapi/dataTransfer/recentlyImportedSuccessful5Data`)
  581. .then((res) => {
  582. if (res.data.code === 200) {
  583. this.tableData = res.data.datas;
  584. }
  585. if (res.data.code === 500) {
  586. this.$message.error(res.data.message);
  587. }
  588. })
  589. .catch((error) => {
  590. console.error("Error fetching data:", error);
  591. });
  592. },
  593. // 在线数据
  594. onlinedata() {
  595. this.lineShow = true;
  596. },
  597. handleClose() {
  598. this.lineShow = false;
  599. },
  600. },
  601. };
  602. </script>
  603. <style lang="scss" scoped>
  604. .backbone {
  605. width: 300px;
  606. color: #fff;
  607. border-radius: 5px;
  608. // padding: 20px;
  609. }
  610. .BOXYI {
  611. background: rgba(0, 79, 95, 0.8);
  612. display: flex;
  613. flex-wrap: wrap;
  614. padding-left: 10px;
  615. padding-right: 10px;
  616. padding-bottom: 15px;
  617. color: #fff;
  618. border-radius: 5px;
  619. margin-bottom: 10px;
  620. .BOXsan {
  621. width: 100%;
  622. display: flex;
  623. justify-content: space-around;
  624. .YC01 {
  625. width: 154px;
  626. height: 60px;
  627. background-image: url("../../../../assets/001.png");
  628. background-size: 154px 60px;
  629. background-repeat: no-repeat;
  630. background-position: center;
  631. margin-top: 15px;
  632. text-align: center;
  633. strong {
  634. display: block;
  635. font-size: 26px;
  636. color: #4bffff;
  637. }
  638. span {
  639. display: block;
  640. font-size: 12px;
  641. }
  642. }
  643. .YC02 {
  644. width: 70px;
  645. height: 60px;
  646. background-image: url("../../../../assets/002.png");
  647. background-size: 70px 60px;
  648. background-repeat: no-repeat;
  649. background-position: center;
  650. margin-top: 15px;
  651. text-align: center;
  652. cursor: pointer;
  653. .textred {
  654. color: #d9001b;
  655. }
  656. .texyellow {
  657. color: #facd91;
  658. }
  659. strong {
  660. display: block;
  661. font-size: 26px;
  662. color: #4bffff;
  663. }
  664. span {
  665. display: block;
  666. font-size: 12px;
  667. }
  668. }
  669. .YC03 {
  670. width: 70px;
  671. height: 60px;
  672. background-image: url("../../../../assets/002.png");
  673. background-size: 70px 60px;
  674. background-repeat: no-repeat;
  675. background-position: center;
  676. margin-top: 15px;
  677. text-align: center;
  678. cursor: pointer;
  679. .textred {
  680. color: #d9001b;
  681. }
  682. .texyellow {
  683. color: #facd91;
  684. }
  685. strong {
  686. display: block;
  687. font-size: 26px;
  688. color: #4bffff;
  689. }
  690. span {
  691. display: block;
  692. font-size: 12px;
  693. }
  694. }
  695. }
  696. h3 {
  697. margin-top: 5px;
  698. width: 100%;
  699. }
  700. }
  701. .BOX {
  702. background: rgba(0, 79, 95, 0.8);
  703. display: flex;
  704. padding-left: 10px;
  705. flex-wrap: wrap;
  706. padding-bottom: 15px;
  707. color: #fff;
  708. border-radius: 5px;
  709. margin-bottom: 10px;
  710. h3 {
  711. margin-top: 5px;
  712. }
  713. .centeredh3 {
  714. width: 100%;
  715. display: flex;
  716. justify-content: space-between;
  717. margin-bottom: 5px;
  718. span {
  719. font-size: 12px;
  720. padding-right: 10px;
  721. }
  722. }
  723. }
  724. .Tabtab {
  725. font-size: 12px;
  726. }
  727. ::v-deep.el-table__cell {
  728. padding: 2px 0 !important;
  729. }
  730. ::v-deep.el-table .el-table__cell {
  731. padding: 2px 0 !important;
  732. }
  733. ::v-deep.el-table--scrollable-y .el-table__body-wrapper {
  734. overflow-y: clip !important;
  735. }
  736. .titleYC {
  737. font-size: 14px;
  738. background: #214e5d;
  739. padding: 5px 0;
  740. span:nth-child(1) {
  741. margin: 0 70px 0 10px;
  742. }
  743. }
  744. .titleJQ {
  745. font-size: 14px;
  746. background: #214e5d;
  747. padding: 5px 0;
  748. span:nth-child(1) {
  749. margin: 0 15px 0 10px;
  750. }
  751. span:nth-child(2) {
  752. margin: 0 45px 0 30px;
  753. }
  754. }
  755. #Tabtab {
  756. font-size: 12px;
  757. }
  758. ::v-deep.el-table .el-table__cell {
  759. padding: 2px 0 !important;
  760. }
  761. /* 去掉最下面的那一条线 */
  762. .el-table::before {
  763. height: 0px;
  764. }
  765. /* 滚动条样式 */
  766. ::v-deep .el-table__body-wrapper::-webkit-scrollbar-track {
  767. background-color: #004f5f;
  768. }
  769. ::v-deep .el-table__body-wrapper::-webkit-scrollbar {
  770. width: 0px;
  771. opacity: 0.5;
  772. }
  773. ::v-deep .el-table__body-wrapper::-webkit-scrollbar-thumb {
  774. border-radius: 15px;
  775. // background-color: rgba(0, 79, 95, 0.75);
  776. }
  777. // 。。。。。。。。。。。。。。。。。。。。。。。。。。
  778. #Tabtab {
  779. font-size: 12px;
  780. }
  781. ::v-deep.el-table .el-table__cell {
  782. padding: 2px 0 !important;
  783. }
  784. /* 去掉最下面的那一条线 */
  785. .el-table::before {
  786. height: 0px;
  787. }
  788. /* 滚动条样式 */
  789. ::v-deep .el-table__body-wrapper::-webkit-scrollbar-track {
  790. background-color: #004f5f;
  791. }
  792. ::v-deep .el-table__body-wrapper::-webkit-scrollbar {
  793. width: 0px;
  794. opacity: 0.5;
  795. }
  796. ::v-deep .el-table__body-wrapper::-webkit-scrollbar-thumb {
  797. border-radius: 15px;
  798. // background-color: rgba(0, 79, 95, 0.75);
  799. }
  800. .el-aside {
  801. background-color: #e9e9e9;
  802. .el-input {
  803. width: 273px;
  804. margin: 10px 0 0 10px;
  805. }
  806. .windbox {
  807. height: 565px;
  808. overflow: hidden;
  809. overflow-y: auto;
  810. .windlist {
  811. margin: 10px;
  812. padding: 10px;
  813. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
  814. p {
  815. line-height: 20px;
  816. }
  817. margin-bottom: 10px;
  818. background: #fff;
  819. }
  820. }
  821. /* 自定义滚动条样式 */
  822. ::-webkit-scrollbar {
  823. width: 8px;
  824. /* 设置滚动条的宽度 */
  825. }
  826. ::-webkit-scrollbar-thumb {
  827. background-color: #888;
  828. /* 滚动条滑块的颜色 */
  829. border-radius: 10px;
  830. /* 滚动条滑块的圆角 */
  831. border: 2px solid #f1f1f1;
  832. /* 滚动条滑块的边框 */
  833. }
  834. ::-webkit-scrollbar-thumb:hover {
  835. background-color: #555;
  836. /* 滚动条滑块的悬浮颜色 */
  837. }
  838. ::-webkit-scrollbar-track {
  839. background: #f1f1f1;
  840. /* 滚动条轨道的颜色 */
  841. border-radius: 10px;
  842. /* 滚动条轨道的圆角 */
  843. }
  844. }
  845. .el-main {
  846. padding-right: 0;
  847. .inquire {
  848. display: flex;
  849. p {
  850. margin-right: 10px;
  851. }
  852. .el-select {
  853. width: 180px;
  854. }
  855. .el-range-editor--small.el-input__inner {
  856. width: 240px;
  857. }
  858. }
  859. .el-table {
  860. margin: 20px 0;
  861. }
  862. }
  863. ::v-deep .custom-table .el-table__row {
  864. height: 40px;
  865. }
  866. .fenye {
  867. margin: 20px auto;
  868. text-align: center;
  869. }
  870. h1 {
  871. font-size: 24px;
  872. font-weight: 800;
  873. margin-left: 10px;
  874. margin-top: 10px;
  875. }
  876. ::v-deep .el-dialog {
  877. margin-top: 7vh !important;
  878. }
  879. </style>