index.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786
  1. <template>
  2. <div class="app-container">
  3. <div class="box" v-if="phone">
  4. <ul>
  5. <li class="oneUl" v-for="(item, i) in cabinetList" :key="i">
  6. <div class="title">{{ item.name }}</div>
  7. <table class="table" @click="opens(item.number)">
  8. <tr>
  9. <td style="text-align: left; width: 86px">柜子编号</td>
  10. <td style="text-align: right; width: 145px">{{ item.number }}</td>
  11. </tr>
  12. <tr>
  13. <td style="text-align: left; width: 86px">柜子IP</td>
  14. <td style="text-align: right; width: 145px">
  15. {{ item.ip }}
  16. </td>
  17. </tr>
  18. <tr>
  19. <td style="text-align: left; width: 86px">格子数量</td>
  20. <td style="text-align: right; width: 145px; color: #00f6ff">
  21. {{ item.gridCount }}
  22. </td>
  23. </tr>
  24. <tr>
  25. <td style="text-align: left; width: 86px">连接信息</td>
  26. <td
  27. style="text-align: right; width: 145px; color: #13ce66"
  28. v-if="item.connected != '断开连接'"
  29. >
  30. {{ item.connected }}
  31. </td>
  32. <td
  33. style="text-align: right; width: 145px; color: #ff4949"
  34. v-else
  35. >
  36. {{ item.connected }}
  37. </td>
  38. </tr>
  39. <tr>
  40. <td style="text-align: left; width: 86px">开门状态</td>
  41. <td
  42. style="text-align: right; width: 145px; color: #13ce66"
  43. v-if="item.connected != '允许开启'"
  44. >
  45. {{ item.allowOpen }}
  46. </td>
  47. <td
  48. style="text-align: right; width: 145px; color: #ff4949"
  49. v-else
  50. >
  51. {{ item.allowOpen }}
  52. </td>
  53. </tr>
  54. </table>
  55. </li>
  56. </ul>
  57. </div>
  58. <div class="box1" v-if="phone2">
  59. <el-form
  60. :model="queryParams"
  61. ref="queryForm"
  62. :inline="true"
  63. v-show="showSearch"
  64. label-width="68px"
  65. >
  66. <el-form-item prop="gridNumber">
  67. <div
  68. style="
  69. width: 87px;
  70. height: 36px;
  71. text-align: center;
  72. border-radius: 4px;
  73. margin-left: 31px;
  74. background-color: #196299;
  75. "
  76. >
  77. <i
  78. class="el-icon-arrow-left"
  79. style="color: #fff; cursor: pointer"
  80. @click="dianJi"
  81. >返回</i
  82. >
  83. </div>
  84. </el-form-item>
  85. <!-- <el-form-item prop="gridNumber">
  86. <el-input
  87. v-model="queryParams.cabinetNum"
  88. placeholder="请输入格子编号"
  89. clearable
  90. size="small"
  91. @input="opens"
  92. />
  93. </el-form-item>
  94. <el-form-item>
  95. <el-button size="btp" @click="resetQuery">重置</el-button>
  96. </el-form-item> -->
  97. <div class="shuJu">
  98. <span class="box4 public"> 已存放 :{{ green }}个</span>
  99. <span class="box5 public"> 未放入 :{{ red }}个</span>
  100. <span class="box6"> 已请假 :{{ yellow }}个</span>
  101. <span class="box7"> 未绑定 :{{ grey }}个</span>
  102. </div>
  103. </el-form>
  104. <ul class="twoUl">
  105. <li
  106. v-for="(item, i) in gridList"
  107. :key="i"
  108. :class="{
  109. greed: item.gridState == '手机已存放',
  110. red: item.gridState == '手机未放入',
  111. yellow: item.gridState == '人员请假',
  112. grey: item.gridState == '未绑定人员',
  113. }"
  114. >
  115. <div class="two_div">
  116. <span>{{ item.deviceId }}</span>
  117. </div>
  118. <el-button
  119. size="mini"
  120. @click.native="buttOn(item.staffInfoWithId, item)"
  121. >{{ item.staffInfoWithId.Name }}</el-button
  122. >
  123. </li>
  124. </ul>
  125. </div>
  126. <!-- 格子记录弹出层 -->
  127. <el-dialog
  128. :title="title"
  129. :visible.sync="open"
  130. width="860px"
  131. append-to-body
  132. :close-on-click-modal="false"
  133. >
  134. <div class="userAgree">
  135. <div class="box2">
  136. <el-form
  137. ref="form"
  138. :model="form"
  139. :rules="rules"
  140. inline
  141. label-position="right"
  142. >
  143. <div class="jiben">基本信息</div>
  144. <el-form-item label="柜子编号 :" prop="number">
  145. <div style="width: 100px">{{ cabinetNumber }}</div>
  146. </el-form-item>
  147. <el-form-item label="格子编号 :" prop="storageQuantity">
  148. <div style="width: 100px">{{ deviceId }}</div>
  149. </el-form-item>
  150. <el-form-item label="存物状态 :" prop="address">
  151. <div style="width: 100px">{{ stoneState }}</div>
  152. </el-form-item>
  153. <el-form-item label="发生时间 :" prop="gridNumber">
  154. <div style="width: 120px">{{ happenTime }}</div>
  155. </el-form-item>
  156. <div style="margin-top: -30px; margin-bottom: 7px">
  157. <img src="../../../assets/images/虚线1.png" alt="" />
  158. </div>
  159. <el-form-item label="绑定人员 :" prop="number">
  160. <div style="width: 100px">{{ jiBen.Name }}</div>
  161. </el-form-item>
  162. <el-form-item label="性ㅤㅤ别 :" prop="address">
  163. <div style="width: 100px" v-if="jiBen.Sex == '1'">男</div>
  164. <div style="width: 100px" v-if="jiBen.Sex == '2'">女</div>
  165. <div style="width: 100px" v-else></div>
  166. </el-form-item>
  167. <el-form-item label="请假状态 :" prop="storageQuantity">
  168. <div style="width: 100px" v-if="jiBen.VacationState == '1'">
  169. 请假
  170. </div>
  171. <div style="width: 100px" v-if="jiBen.VacationState == '2'">
  172. 正常
  173. </div>
  174. <div style="width: 100px" v-else></div>
  175. </el-form-item>
  176. <el-form-item label="所在单位 :" prop="gridNumber">
  177. <div style="width: 120px">{{ departmentName }}</div>
  178. </el-form-item>
  179. <div class="jiben">存取记录</div>
  180. <el-table
  181. v-loading="loading"
  182. :data="tableData"
  183. style="width: 100%; padding-right: 40px"
  184. :header-cell-style="{ background: '#004274', color: 'white' }"
  185. >
  186. <el-table-column label="序号" width="50px">
  187. <template scope="scope">
  188. <span>{{
  189. (queryParams.pageNo - 1) * queryParams.pageSize +
  190. scope.$index +
  191. 1
  192. }}</span>
  193. </template>
  194. </el-table-column>
  195. <el-table-column prop="cabinetNumber" label="编号">
  196. </el-table-column>
  197. <el-table-column prop="staffName" label="姓名"> </el-table-column>
  198. <el-table-column prop="happenTime" label="发生时间" width="140px">
  199. </el-table-column>
  200. <el-table-column prop="warnState" label="存物状态">
  201. </el-table-column>
  202. </el-table>
  203. </el-form>
  204. </div>
  205. </div>
  206. <pagination
  207. v-show="total > 0"
  208. :total="total"
  209. :page.sync="queryParams.pageNo"
  210. :limit.sync="queryParams.pageSize"
  211. @pagination="offMeng"
  212. />
  213. <!-- <div slot="footer" class="dialog-footer"></div> -->
  214. </el-dialog>
  215. </div>
  216. </template>
  217. <script>
  218. import {
  219. getCabinet,
  220. delCabinet,
  221. addCabinet,
  222. updateCabinet,
  223. exportCabinet,
  224. xianPhone,
  225. xianPhoneGeZi,
  226. xianPhoneOppe,
  227. } from "@/api/phone/cabinet";
  228. import axios from "axios";
  229. import Cookies from "js-cookie";
  230. export default {
  231. name: "Cabinet",
  232. data() {
  233. return {
  234. // 遮罩层
  235. loading: true,
  236. // 导出遮罩层
  237. exportLoading: false,
  238. // 选中数组
  239. ids: [],
  240. // 非单个禁用
  241. single: true,
  242. // 非多个禁用
  243. multiple: true,
  244. // 显示搜索条件
  245. showSearch: true,
  246. // 总条数
  247. total: 0,
  248. // 手机柜表格数据
  249. cabinetList: [],
  250. // 手机柜格子列表
  251. gridList: [],
  252. // 弹出层标题
  253. title: "",
  254. // 是否显示弹出层
  255. open: false,
  256. // 查询参数
  257. queryParams: {
  258. pageNo: 1,
  259. pageSize: 10,
  260. number: null,
  261. address: null,
  262. gridNumber: null,
  263. storageQuantity: null,
  264. exceptionsNumber: null,
  265. unitId: null,
  266. unitName: null,
  267. },
  268. // 表单参数
  269. form: {},
  270. // 表单校验
  271. rules: {},
  272. // 手机柜第一个显示与隐藏
  273. phone: true,
  274. // 第二个显示与隐藏
  275. phone2: false,
  276. tableData: [],
  277. // 统计个数
  278. red: 0,
  279. green: 0,
  280. yellow: 0,
  281. grey: 0,
  282. // 基本人员数据
  283. jiBen: {},
  284. // 柜子编号
  285. cabinetNumber: null,
  286. // 格子编号
  287. deviceId: null,
  288. // 存物状态
  289. stoneState: null,
  290. // 发生时间
  291. happenTime: null,
  292. // 单位名字
  293. departmentName: null,
  294. };
  295. },
  296. created() {
  297. this.getList();
  298. this.xianShang();
  299. },
  300. methods: {
  301. // 开关们记录查询
  302. offMeng() {
  303. this.loading = true;
  304. const params = this.queryParams;
  305. xianPhoneOppe(params).then((res) => {
  306. console.log(res);
  307. this.tableData = res.data.infos;
  308. this.total = res.data.totalCount;
  309. this.happenTime = res.data.infos[0].happenTime;
  310. this.departmentName = res.data.infos[0].departmentName;
  311. this.loading = false;
  312. });
  313. // axios
  314. // .get("http://114.115.153.156:12090/wl/api/v1/log/grid", {
  315. // params,
  316. // headers: { Authorization: Cookies.get("accessToken") },
  317. // })
  318. // .then((res) => {
  319. // this.tableData = res.data.infos;
  320. // this.total = res.data.totalCount;
  321. // this.happenTime = res.data.infos[0].happenTime;
  322. // this.departmentName = res.data.infos[0].departmentName;
  323. // this.loading = false;
  324. // });
  325. },
  326. // 线上地址
  327. xianShang() {
  328. axios
  329. .post("http://114.115.153.156:12090/wl/api/getAccessToken", {
  330. password: "super123fs456wl",
  331. username: "admin",
  332. })
  333. .then((res) => {
  334. Cookies.set("accessToken", res.data.accessToken);
  335. });
  336. },
  337. // 点击名字触发
  338. buttOn(row, data) {
  339. this.jiBen = row;
  340. this.deviceId = data.deviceId;
  341. this.stoneState = data.stoneState;
  342. this.queryParams.pageNo = 1;
  343. this.offMeng();
  344. this.open = true;
  345. this.title = "柜子记录";
  346. },
  347. // 点击返回触发
  348. dianJi() {
  349. this.phone2 = false;
  350. this.phone = true;
  351. this.queryParams.gridNumber = null;
  352. this.red = 0;
  353. this.green = 0;
  354. this.yellow = 0;
  355. this.grey = 0;
  356. },
  357. // 点击手机柜触发
  358. opens(cabinetNum) {
  359. this.phone = false;
  360. this.phone2 = true;
  361. this.cabinetNumber = cabinetNum;
  362. xianPhoneGeZi(this.cabinetNumber).then((res) => {
  363. this.gridList = res.data.infos;
  364. console.log(res);
  365. this.gridList.forEach((item) => {
  366. if (item.gridState == "手机未放入") {
  367. this.red += 1;
  368. } else if (item.gridState == "手机已存放") {
  369. this.green += 1;
  370. } else if (item.gridState == "人员请假") {
  371. this.yellow += 1;
  372. } else {
  373. this.grey += 1;
  374. }
  375. });
  376. });
  377. // axios
  378. // .get("http://114.115.153.156:12090/wl/api/v1/grids", {
  379. // params: { cabinetNum },
  380. // headers: { Authorization: Cookies.get("accessToken") },
  381. // })
  382. // .then((res) => {
  383. // console.log(res);
  384. // this.gridList = res.data.infos;
  385. // this.gridList.forEach((item) => {
  386. // if (item.gridState == "手机未放入") {
  387. // this.red += 1;
  388. // } else if (item.gridState == "手机已存放") {
  389. // this.green += 1;
  390. // } else if (item.gridState == "人员请假") {
  391. // this.yellow += 1;
  392. // } else {
  393. // this.grey += 1;
  394. // }
  395. // });
  396. // });
  397. },
  398. /** 查询手机柜列表 */
  399. getList() {
  400. xianPhone().then((res) => {
  401. this.cabinetList = res.data.infos;
  402. });
  403. // axios
  404. // .get("http://114.115.153.156:12090/wl/api/v1/cabinets", {
  405. // headers: { Authorization: Cookies.get("accessToken") },
  406. // })
  407. // .then((res) => {
  408. // this.cabinetList = res.data.infos;
  409. // });
  410. },
  411. // 取消按钮
  412. cancel() {
  413. this.open = false;
  414. this.reset();
  415. },
  416. // 表单重置
  417. reset() {
  418. this.form = {
  419. id: null,
  420. number: null,
  421. address: null,
  422. gridNumber: null,
  423. storageQuantity: null,
  424. exceptionsNumber: null,
  425. unitId: null,
  426. unitName: null,
  427. };
  428. this.resetForm("form");
  429. },
  430. /** 搜索按钮操作 */
  431. handleQuery() {
  432. this.queryParams.pageNum = 1;
  433. this.getList();
  434. },
  435. /** 重置按钮操作 */
  436. resetQuery() {
  437. this.resetForm("queryForm");
  438. this.handleQuery();
  439. },
  440. // 多选框选中数据
  441. handleSelectionChange(selection) {
  442. this.ids = selection.map((item) => item.id);
  443. this.single = selection.length !== 1;
  444. this.multiple = !selection.length;
  445. },
  446. /** 新增按钮操作 */
  447. handleAdd() {
  448. this.reset();
  449. this.open = true;
  450. this.title = "添加手机柜";
  451. },
  452. /** 修改按钮操作 */
  453. handleUpdate(row) {
  454. this.reset();
  455. const id = row.id || this.ids;
  456. getCabinet(id).then((response) => {
  457. this.form = response.data;
  458. this.open = true;
  459. this.title = "修改手机柜";
  460. });
  461. },
  462. /** 提交按钮 */
  463. submitForm() {
  464. this.$refs["form"].validate((valid) => {
  465. if (valid) {
  466. if (this.form.id != null) {
  467. updateCabinet(this.form).then((response) => {
  468. this.$modal.msgSuccess("修改成功");
  469. this.open = false;
  470. this.getList();
  471. });
  472. } else {
  473. addCabinet(this.form).then((response) => {
  474. this.$modal.msgSuccess("新增成功");
  475. this.open = false;
  476. this.getList();
  477. });
  478. }
  479. }
  480. });
  481. },
  482. /** 删除按钮操作 */
  483. handleDelete(row) {
  484. const ids = row.id || this.ids;
  485. this.$modal
  486. .confirm("是否确认删除手机柜的数据项?")
  487. .then(function () {
  488. return delCabinet(ids);
  489. })
  490. .then(() => {
  491. this.getList();
  492. this.$modal.msgSuccess("删除成功");
  493. })
  494. .catch(() => {});
  495. },
  496. /** 导出按钮操作 */
  497. handleExport() {
  498. const queryParams = this.queryParams;
  499. this.$modal
  500. .confirm("是否确认导出所有手机柜数据项?")
  501. .then(() => {
  502. this.exportLoading = true;
  503. return exportCabinet(queryParams);
  504. })
  505. .then((response) => {
  506. this.$download.name(response.msg);
  507. this.exportLoading = false;
  508. })
  509. .catch(() => {});
  510. },
  511. },
  512. watch: {},
  513. };
  514. </script>
  515. <style scoped>
  516. * {
  517. padding: 0;
  518. }
  519. ul {
  520. list-style-type: none;
  521. }
  522. .box ul {
  523. /* display: flex;
  524. flex-flow: wrap; */
  525. display: flex;
  526. flex-flow: wrap;
  527. margin-left: 2%;
  528. padding-left: -1%;
  529. padding-top: 28px;
  530. }
  531. .oneUl {
  532. flex: 1;
  533. /* display: inline-block; */
  534. background: url("../../../assets/images/柜子2.png") no-repeat;
  535. /* width: 306px; */
  536. height: 285px;
  537. padding: 22px;
  538. min-width: 308px;
  539. margin-bottom: 40px;
  540. }
  541. .title {
  542. color: #fff;
  543. height: 16px;
  544. display: inline-table;
  545. margin-left: 100px;
  546. }
  547. .table {
  548. margin-top: 18px;
  549. line-height: 32px;
  550. padding-left: 12px;
  551. color: #fff;
  552. cursor: pointer;
  553. }
  554. .mb9 {
  555. margin-bottom: 20px;
  556. margin-top: 10px;
  557. }
  558. ::v-deep .el-input__inner {
  559. color: #fff;
  560. /* width: 200px; */
  561. height: 36px;
  562. }
  563. .red {
  564. background: url("../../../assets/images/抽屉-红色1.png") no-repeat;
  565. }
  566. .greed {
  567. background: url("../../../assets/images/抽屉-绿色1.png") no-repeat;
  568. }
  569. .yellow {
  570. background: url("../../../assets/images/抽屉-黄色1.png") no-repeat;
  571. }
  572. .grey {
  573. background: url("../../../assets/images/柜子-灰.png") no-repeat;
  574. }
  575. .box1 {
  576. padding-top: 17px;
  577. padding-left: 24px;
  578. }
  579. .twoUl li {
  580. height: 114px;
  581. padding: 20px;
  582. margin-right: 22px;
  583. margin-bottom: 43px;
  584. min-width: 175px;
  585. /* margin-bottom: 43px;
  586. flex: 1;
  587. max-width: 173px;
  588. margin-right: 2%; */
  589. }
  590. .twoUl {
  591. /* display: inline-block;
  592. padding-left: 0px;
  593. margin-left: 10px;
  594. margin-top: 0px;
  595. margin-bottom: 38px;
  596. margin-right: 14px; */
  597. padding-left: 12px;
  598. display: flex;
  599. flex-flow: wrap;
  600. margin-top: 0px;
  601. }
  602. .two_div {
  603. text-align: center;
  604. margin-top: 10px;
  605. padding-top: 10px;
  606. color: #fff;
  607. }
  608. ::v-deep .el-button--mini {
  609. margin-left: 25px !important;
  610. margin-top: 6px !important;
  611. background: #1263aa;
  612. border-color: #1263aa;
  613. color: #ffffff;
  614. width: 82px;
  615. height: 30px;
  616. }
  617. .shuJu {
  618. height: 16px;
  619. margin-top: 26px;
  620. margin-right: 90px;
  621. float: right;
  622. color: #fff;
  623. font-size: 14px;
  624. }
  625. .box4::before {
  626. display: inline-block;
  627. content: "";
  628. width: 8px;
  629. height: 8px;
  630. /* border-radius: 50%; */
  631. background-color: #67c23a;
  632. margin-left: 26px;
  633. }
  634. .box5::before {
  635. display: inline-block;
  636. content: "";
  637. width: 8px;
  638. height: 8px;
  639. /* border-radius: 50%; */
  640. background-color: #ff4949;
  641. margin-left: 26px;
  642. }
  643. .box6::before {
  644. display: inline-block;
  645. content: "";
  646. width: 8px;
  647. height: 8px;
  648. /* border-radius: 50%; */
  649. background-color: #ffba00;
  650. margin-left: 26px;
  651. }
  652. .box7::before {
  653. display: inline-block;
  654. content: "";
  655. width: 8px;
  656. height: 8px;
  657. /* border-radius: 50%; */
  658. background-color: #98a7bc;
  659. margin-left: 26px;
  660. }
  661. ::v-deep .el-dialog {
  662. background-color: #004d86;
  663. margin: auto;
  664. }
  665. ::v-deep .el-dialog__header {
  666. border-bottom: 1px solid #718a9d;
  667. margin: auto;
  668. }
  669. ::v-deep .el-dialog__title {
  670. color: #fff;
  671. font: 18px;
  672. }
  673. .box2 form .el-form-item {
  674. color: #fff;
  675. margin-right: 20px;
  676. }
  677. /* 鼠标经过颜色 */
  678. ::v-deep .el-table__body tr:hover > td {
  679. background-color: transparent !important;
  680. }
  681. ::v-deep .box1 form {
  682. margin-left: -14px;
  683. }
  684. ::v-deep .box1 form .el-form-item {
  685. margin-top: 17px;
  686. }
  687. ::v-deep .el-form-item {
  688. margin-bottom: 29px;
  689. }
  690. .jiben {
  691. width: 100%;
  692. height: 32px;
  693. background-image: url(/static/img/小标题底.b7c6f45a.png);
  694. margin-bottom: 18px;
  695. color: #fff;
  696. padding-left: 16px;
  697. line-height: 32px;
  698. background-size: contain;
  699. }
  700. ::v-deep .el-table tr:nth-child(odd) {
  701. background: #004d86;
  702. }
  703. ::v-deep .el-dialog__body {
  704. padding: 30px 0px 30px 40px;
  705. }
  706. ::v-deep .el-form-item__label {
  707. padding: 0 0 0 0;
  708. }
  709. /* 重置按钮 */
  710. .el-button--btp.is-active,
  711. .el-button--btp:active {
  712. background: #3da1f8;
  713. border-color: #3da1f8;
  714. color: #ffffff;
  715. }
  716. .el-button--btp:focus,
  717. .el-button--btp:hover {
  718. background: #3da1f8;
  719. border-color: #3da1f8;
  720. color: #ffffff;
  721. }
  722. .el-button--btp {
  723. color: #ffffff;
  724. width: 76px;
  725. height: 36px;
  726. background-color: #1d96ff;
  727. border-radius: 4px;
  728. font-size: 14px;
  729. text-align: center;
  730. margin-top: 1px;
  731. }
  732. ::v-deep .el-dialog {
  733. border-radius: 8px;
  734. }
  735. ::v-deep .has-gutter tr {
  736. height: 60px;
  737. }
  738. /* 分页样式 */
  739. ::v-deep .pagination-container {
  740. background: #004d85 !important;
  741. }
  742. ::v-deep .el-pagination__total {
  743. margin-top: 2px !important;
  744. }
  745. ::v-deep .el-pagination .el-select .el-input .el-input__inner {
  746. background-color: #196299 !important;
  747. height: 30px;
  748. }
  749. ::v-deep .el-pagination.is-background .btn-prev,
  750. .el-pagination.is-background .btn-next {
  751. background-color: #265070 !important;
  752. }
  753. ::v-deep .el-pagination.is-background .el-pager li {
  754. background-color: #196299 !important;
  755. }
  756. ::v-deep .el-pagination__editor.el-input .el-input__inner {
  757. background-color: #196299 !important;
  758. }
  759. ::v-deep .el-pagination.is-background .el-pager li:not(.disabled).active {
  760. background-color: #1890ff !important;
  761. }
  762. ::v-deep .el-pagination.is-background .btn-next {
  763. background: #265070 !important;
  764. }
  765. ::v-deep .el-pagination__sizes {
  766. display: none !important;
  767. }
  768. ::v-deep .el-table {
  769. background-color: transparent;
  770. }
  771. ::v-deep .el-pagination {
  772. padding: 2px 54px;
  773. }
  774. </style>