meter.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897
  1. <template>
  2. <div class="content-box">
  3. <div class="left">
  4. <!-- <el-icon :size="23" class="camera"><VideoCameraFilled /></el-icon> -->
  5. <span class="cameratxt">水电表管理</span>
  6. </div>
  7. <div>
  8. <div class="middle">
  9. <div class="filter">
  10. <div class="condition">
  11. <span>关键字&nbsp;&nbsp;</span>
  12. <el-input
  13. :clearable="true"
  14. @clear="searchBtn"
  15. v-model="searchInput.keyWord"
  16. class="w-50 m-2"
  17. placeholder="请输入关键字"
  18. />
  19. </div>
  20. <div class="condition">
  21. <span>创建时间&nbsp;&nbsp;</span>
  22. <el-date-picker
  23. v-model="searchInput.createTime"
  24. type="daterange"
  25. range-separator="-"
  26. start-placeholder="起始时间"
  27. end-placeholder="结束时间"
  28. format="YYYY-MM-DD"
  29. value-format="YYYY-MM-DD"
  30. :prefix-icon="Calendar"
  31. placeholder="请选择日期"
  32. />
  33. </div>
  34. <el-button
  35. color="rgba(0, 97, 255, 1)"
  36. type="primary"
  37. class="search"
  38. @click="searchBtn"
  39. ><el-icon>
  40. <Search />
  41. </el-icon>
  42. <span>查询</span></el-button
  43. >
  44. </div>
  45. <!-- 按钮列表 -->
  46. <div class="gongneng">
  47. <el-button
  48. type="primary"
  49. color="rgba(0, 97, 255, 1)"
  50. @click="addClick"
  51. ><span>添加</span></el-button
  52. >
  53. <el-button type="primary" color="rgba(0, 97, 255, 1)" @click="addlist"
  54. ><span>导出</span></el-button
  55. >
  56. <el-button type="primary" color="rgba(0, 97, 255, 1)" @click="addlist"
  57. ><span>导入</span></el-button
  58. >
  59. </div>
  60. </div>
  61. <div class="footer" v-loading="loading">
  62. <el-table
  63. :row-class-name="tableRowClassName"
  64. :data="tableData.list"
  65. @selection-change="handleSelectionChange"
  66. style="width: 100%"
  67. :header-cell-style="{
  68. background: 'rgba(240, 243, 247, 1)',
  69. height: '50px',
  70. border: 0,
  71. }"
  72. >
  73. <!-- <el-table-column align="center" type="selection" width="80" /> -->
  74. <el-table-column
  75. width="150"
  76. align="center "
  77. type="index"
  78. label="序号"
  79. />
  80. <el-table-column align="center" prop="hName" label="房型" />
  81. <el-table-column align="center" prop="price" label="房费(元)" />
  82. <el-table-column align="center" prop="number" label="数量" />
  83. <el-table-column align="center" label="操作" width="200">
  84. <template #default="scope">
  85. <div class="edit">
  86. <div class="look" @click="editClick(scope.row)">编辑</div>
  87. <el-popconfirm
  88. width="220"
  89. confirm-button-text="确认"
  90. cancel-button-text="取消"
  91. :icon="InfoFilled"
  92. icon-color="#f89626"
  93. title="是否删除此房型?"
  94. @confirm="del(scope.row)"
  95. @cancel="cancelEvent"
  96. >
  97. <template #reference>
  98. <div class="del">删除</div>
  99. </template>
  100. </el-popconfirm>
  101. </div>
  102. </template>
  103. </el-table-column>
  104. </el-table>
  105. </div>
  106. <!-- 编辑按钮 -->
  107. <el-dialog
  108. class="editDialog"
  109. v-model="editVisible"
  110. :close-on-click-modal="false"
  111. :close-on-press-escape="false"
  112. :title="titleDialog"
  113. align-center
  114. width="550"
  115. :before-close="cancelEdit"
  116. >
  117. <el-form
  118. ref="editRef"
  119. :model="editRuleForm"
  120. :rules="editRules"
  121. label-width="90px"
  122. class="demo-ruleForm"
  123. :size="formSize"
  124. label-position="left"
  125. status-icon
  126. >
  127. <el-form-item label="水电编码 :" prop="SD_encoding">
  128. <el-input
  129. v-model="editRuleForm.SD_encoding"
  130. placeholder="请输入水电编码"
  131. clearable
  132. style="width: 500px"
  133. />
  134. </el-form-item>
  135. <el-form-item label="电表编码 :" prop="DB_encoding">
  136. <el-input
  137. v-model="editRuleForm.DB_encoding"
  138. placeholder="请输入电表编码"
  139. clearable
  140. style="width: 500px"
  141. />
  142. </el-form-item>
  143. <el-form-item label="房间号 :" prop="roomNum">
  144. <!-- <el-tree
  145. :data="roomNumData"
  146. :props="{
  147. label: 'label',
  148. children: 'children',
  149. value: 'value',
  150. disabled: 'disabled',
  151. }"
  152. node-key="id"
  153. show-checkbox
  154. ref="roomNumRef"
  155. @node-click="roomNumClick"
  156. @check-change="handleCheckChange"
  157. /> -->
  158. <el-cascader
  159. v-model="editRuleForm.roomNum"
  160. :options="roomNumData"
  161. :show-all-levels="false"
  162. />
  163. </el-form-item>
  164. <el-form-item class="options">
  165. <el-button
  166. color="rgba(41, 109, 227, 1)"
  167. class="queding"
  168. type="primary"
  169. @click="confirmEdit(editRef)"
  170. >
  171. 确定
  172. </el-button>
  173. <el-button @click="cancelEdit(editRef)">取消</el-button>
  174. </el-form-item>
  175. </el-form>
  176. </el-dialog>
  177. <!-- 分页组件 -->
  178. <div class="pageSize">
  179. <span></span>
  180. <el-pagination
  181. background
  182. :current-page="currentPage"
  183. :page-size="pageSize"
  184. layout="total, prev, pager, next, jumper, slot"
  185. :total="total"
  186. @update:current-page="handleCurrentChange"
  187. />
  188. </div>
  189. </div>
  190. <div class="bgImg" v-if="bgImg">
  191. <el-carousel
  192. @click="bgImg = false"
  193. ref="bgImgs"
  194. indicator-position
  195. arrow="always"
  196. :autoplay="false"
  197. trigger
  198. >
  199. <el-carousel-item v-for="item in bgImgList" :key="item.id">
  200. <img :src="item.url" alt="" />
  201. </el-carousel-item>
  202. </el-carousel>
  203. </div>
  204. </div>
  205. </template>
  206. <script setup>
  207. import {
  208. ref,
  209. reactive,
  210. watch,
  211. nextTick,
  212. onBeforeMount,
  213. onUnmounted,
  214. } from "vue";
  215. import { useRouter } from "vue-router";
  216. import { ElMessage, ElMessageBox } from "element-plus";
  217. import { Calendar } from "@element-plus/icons-vue";
  218. import vidiconsApi from "@/api/vidicons.js";
  219. import { dayjs } from "element-plus";
  220. import lodash from "lodash";
  221. import axios from "axios";
  222. import { useStore } from "vuex";
  223. const store = useStore();
  224. const api = ref("");
  225. const router = useRouter();
  226. // 表格数据
  227. const loading = ref(false);
  228. const tableData = reactive({
  229. list: [
  230. // {
  231. // userName: "双人房",
  232. // userPhone: 150,
  233. // teamName: 12,
  234. // },
  235. // {
  236. // userName: "双人房",
  237. // userPhone: 150,
  238. // teamName: 12,
  239. // },
  240. // {
  241. // userName: "双人房",
  242. // userPhone: 150,
  243. // teamName: 12,
  244. // },
  245. // {
  246. // userName: "双人房",
  247. // userPhone: 150,
  248. // teamName: 12,
  249. // },
  250. ],
  251. });
  252. const searchInput = reactive({
  253. keyWord: "",
  254. createTime: "",
  255. }); // 搜索按钮数据
  256. const currentPage = ref(1); // 当前页
  257. const pageSize = ref(10);
  258. const total = ref(); // 当前总数
  259. // 编辑功能
  260. const titleDialog = ref("");
  261. const editVisible = ref(false);
  262. const editRef = ref();
  263. const editRuleForm = reactive({
  264. SD_encoding: "",
  265. DB_encoding: "",
  266. roomNum: "",
  267. id: "",
  268. });
  269. // 树形结构配置
  270. const roomNumRef = ref();
  271. const roomNumData = [
  272. {
  273. value: 1,
  274. label: "Level one 1",
  275. children: [
  276. {
  277. value: 11,
  278. label: "Level two 1-1",
  279. },
  280. {
  281. value: 12,
  282. label: "Level two 1-2",
  283. },
  284. ],
  285. },
  286. {
  287. value: 2,
  288. label: "Level one 2",
  289. children: [
  290. {
  291. value: 21,
  292. label: "Level two 2-1",
  293. },
  294. {
  295. value: 22,
  296. label: "Level two 2-2",
  297. },
  298. ],
  299. },
  300. ];
  301. // 表单验证
  302. const editRules = reactive({
  303. SD_encoding: [
  304. { required: true, message: "水电编码不能为空", trigger: "blur" },
  305. ],
  306. DB_encoding: [
  307. {
  308. required: true,
  309. message: "电表编码不能为空",
  310. trigger: "blur",
  311. },
  312. ],
  313. roomNum: [
  314. {
  315. required: true,
  316. message: "房间号不能为空",
  317. trigger: "blur",
  318. },
  319. ],
  320. });
  321. // 查看房型列表
  322. const getList = async () => {
  323. loading.value = true;
  324. let data = {
  325. page: currentPage.value,
  326. rows: pageSize.value,
  327. hName: searchInput.keyWord, // 房型名称
  328. managerId: sessionStorage.getItem("token"),
  329. };
  330. let res = await axios({
  331. method: "post",
  332. url: api.value + "/mhotel/housequeryPage.action",
  333. headers: {
  334. // token: sessionStorage.getItem("token"),
  335. // user_head: sessionStorage.getItem("userhead"),
  336. },
  337. params: data,
  338. });
  339. console.log(res, "房型管理");
  340. if (res.data.code == 200) {
  341. loading.value = false;
  342. tableData.list = res.data.data.pageList;
  343. total.value = res.data.data.total;
  344. // ElMessage({
  345. // type: "success",
  346. // showClose: true,
  347. // message: res.data.message,
  348. // center: true,
  349. // });
  350. } else {
  351. loading.value = false;
  352. ElMessage({
  353. type: "error",
  354. showClose: true,
  355. message: res.data.message,
  356. center: true,
  357. });
  358. }
  359. };
  360. // 搜索功能
  361. const searchBtn = lodash.debounce(async () => {
  362. getList();
  363. }, 300);
  364. // 添加按钮 (-------------------------------------------)
  365. const addClick = async () => {
  366. titleDialog.value = "新增";
  367. editVisible.value = true;
  368. // let data = {
  369. // linkId: row.id,
  370. // };
  371. // let res = await axios({
  372. // method: "post",
  373. // url: api.value + "/mhotel/uploadgetByLinkId.action",
  374. // headers: {},
  375. // params: data,
  376. // });
  377. // console.log(res, "编辑中查找图片");
  378. // if (res.data.code == 200) {
  379. // // res.data.data.fileInfoList.forEach((item) => {
  380. // // item.uid = item.id;
  381. // // });
  382. // // fileList.list = res.data.data.fileInfoList;
  383. // // ruleForm.fileListJson = fileList.list;
  384. // res.data.data.forEach((item) => {
  385. // item.uid = item.id;
  386. // });
  387. // fileList.list = res.data.data;
  388. // ruleForm.fileListJson = fileList.list;
  389. // // ElMessage({
  390. // // type: "success",
  391. // // showClose: true,
  392. // // message: res.data.message,
  393. // // center: true,
  394. // // });
  395. // } else {
  396. // ElMessage({
  397. // type: "error",
  398. // showClose: true,
  399. // message: res.data.message,
  400. // center: true,
  401. // });
  402. // }
  403. };
  404. //编辑按钮 (-------------------------------------------)
  405. const editClick = async () => {
  406. titleDialog.value = "编辑";
  407. editVisible.value = true;
  408. // let data = {
  409. // linkId: row.id,
  410. // };
  411. // let res = await axios({
  412. // method: "post",
  413. // url: api.value + "/mhotel/uploadgetByLinkId.action",
  414. // headers: {},
  415. // params: data,
  416. // });
  417. // console.log(res, "编辑中查找图片");
  418. // if (res.data.code == 200) {
  419. // // res.data.data.fileInfoList.forEach((item) => {
  420. // // item.uid = item.id;
  421. // // });
  422. // // fileList.list = res.data.data.fileInfoList;
  423. // // ruleForm.fileListJson = fileList.list;
  424. // res.data.data.forEach((item) => {
  425. // item.uid = item.id;
  426. // });
  427. // fileList.list = res.data.data;
  428. // ruleForm.fileListJson = fileList.list;
  429. // // ElMessage({
  430. // // type: "success",
  431. // // showClose: true,
  432. // // message: res.data.message,
  433. // // center: true,
  434. // // });
  435. // } else {
  436. // ElMessage({
  437. // type: "error",
  438. // showClose: true,
  439. // message: res.data.message,
  440. // center: true,
  441. // });
  442. // }
  443. };
  444. const cancelEdit = () => {
  445. editVisible.value = false;
  446. editRuleForm.roomNum = "";
  447. };
  448. // // 树形结构 复选框被触发
  449. // const handleCheckChange = (data, checked, indeterminate) => {
  450. // // console.log(data, checked, indeterminate);
  451. // if (data.list) {
  452. // // console.log(data.list);
  453. // } else {
  454. // if (checked) {
  455. // roomNumRef.value.setCheckedKeys([data.id]);
  456. // }
  457. // let keys = roomNumRef.value.getCheckedKeys();
  458. // console.log(keys);
  459. // editRuleForm.roomNum = keys;
  460. // }
  461. // };
  462. // // 树形结构 被点击时触发
  463. // const roomNumClick = (data, node, component) => {
  464. // // * @description: node - click 节点被点击时的回调
  465. // // * @param {*} data 该节点所对应的对象
  466. // // * @param {*} node 节点对应的 Node
  467. // // * @param {*} component 节点组件本身
  468. // console.log("子组件触发 node-click 事件", data, node, component);
  469. // // buildIdsRef.value.setCheckedKeys(item.build);
  470. // };
  471. // 确定编辑
  472. const confirmEdit = (formEl) => {
  473. if (!formEl) return;
  474. formEl.validate(async (valid, fields) => {
  475. if (valid) {
  476. }
  477. });
  478. };
  479. //删除按钮
  480. const del = async (row) => {
  481. let data = {
  482. id: row.id,
  483. };
  484. let res = await axios({
  485. method: "post",
  486. url: api.value + "/mhotel/housedelHouser.action",
  487. headers: {
  488. // token: sessionStorage.getItem("token"),
  489. // user_head: sessionStorage.getItem("userhead"),
  490. },
  491. params: data,
  492. });
  493. if (res.data.code == 200) {
  494. if (tableData.list.length == 1 && currentPage.value != 1) {
  495. currentPage.value = currentPage.value - 1;
  496. }
  497. getList();
  498. ElMessage({
  499. type: "success",
  500. showClose: true,
  501. message: res.data.message,
  502. center: true,
  503. });
  504. } else {
  505. ElMessage({
  506. type: "error",
  507. showClose: true,
  508. message: res.data.message,
  509. center: true,
  510. });
  511. }
  512. // console.log(res);
  513. };
  514. // 多选框功能
  515. const handleSelectionChange = (val) => {
  516. console.log(val);
  517. selectData.list = val;
  518. };
  519. //导出功能
  520. // const importExcel = async () => {
  521. // if (searchInput.createTime == null) {
  522. // searchInput.createTime = "";
  523. // }
  524. // let data = new FormData();
  525. // data.set("car_number", searchInput.carnumber);
  526. // data.set("create_time", searchInput.createTime);
  527. // let res = await axios({
  528. // method: "post",
  529. // url: api.value + "/carBook/cinfotoExcel.action",
  530. // headers: {
  531. // token: sessionStorage.getItem("token"),
  532. // },
  533. // data: data,
  534. // });
  535. // // console.log(res, "导出账号");
  536. // if (res.data.code == 200) {
  537. // // const elt = document.createElement("a");
  538. // // elt.setAttribute(
  539. // // "href",
  540. // // "https://chtech.ncjti.edu.cn/carstop" + res.data.downurl
  541. // // );
  542. // // elt.setAttribute("download", "file.png");
  543. // // elt.style.display = "none";
  544. // // document.body.appendChild(elt);
  545. // // elt.click();
  546. // var downloadPath = "https://chtech.ncjti.edu.cn/carstop" + res.data.downurl;
  547. // console.log("获得地址数据:", downloadPath);
  548. // var downloadLink = document.createElement("a");
  549. // downloadLink.style.display = "none"; // 使其隐藏
  550. // downloadLink.href = downloadPath;
  551. // downloadLink.download = "";
  552. // downloadLink.click();
  553. // document.body.appendChild(downloadLink);
  554. // document.body.removeChild(downloadLink);
  555. // ElMessage({
  556. // type: "success",
  557. // showClose: true,
  558. // message: res.data.message,
  559. // center: true,
  560. // });
  561. // } else {
  562. // ElMessage({
  563. // type: "error",
  564. // showClose: true,
  565. // message: res.data.message,
  566. // center: true,
  567. // });
  568. // }
  569. // };
  570. // 表格斑马纹颜色修改
  571. const tableRowClassName = ({ row, rowIndex }) => {
  572. if (rowIndex % 2 === 0) {
  573. return "even";
  574. } else if (rowIndex % 2 !== 0) {
  575. return "odd";
  576. }
  577. return "";
  578. };
  579. // 分页
  580. const handleCurrentChange = (value) => {
  581. // console.log(value);
  582. currentPage.value = value;
  583. getList();
  584. };
  585. onBeforeMount(async () => {
  586. api.value = store.state.user.api;
  587. getList();
  588. });
  589. onUnmounted(() => {
  590. // document.removeEventListener("keyup", Enters);
  591. });
  592. </script>
  593. <style scoped lang="scss">
  594. .content-box {
  595. width: 97.5%;
  596. height: 89%;
  597. margin: 20px auto;
  598. background-color: #fff;
  599. color: #fff;
  600. display: flex;
  601. flex-direction: column;
  602. box-shadow: 0px 3px 10px rgba(0, 97, 255, 0.2);
  603. .left {
  604. // width: calc(100wh - 40px);
  605. display: flex;
  606. align-items: center;
  607. height: 60px;
  608. margin: 0 30px;
  609. border-bottom: 1px solid #ccc;
  610. color: rgb(0, 0, 0);
  611. font-size: 18px;
  612. font-weight: 600;
  613. span {
  614. margin-right: 20px;
  615. cursor: pointer;
  616. }
  617. .is_active {
  618. color: rgba(111, 182, 184, 1);
  619. }
  620. }
  621. .middle {
  622. width: 96%;
  623. margin: 0 auto;
  624. color: #000;
  625. // border-bottom: 1px solid rgb(231, 231, 231);
  626. .filter {
  627. display: flex;
  628. flex-wrap: wrap;
  629. align-items: center;
  630. margin: 10px 0 0 0;
  631. .search {
  632. color: #fff;
  633. }
  634. .condition {
  635. display: flex;
  636. align-items: center;
  637. margin: 10px 30px 10px 0;
  638. :deep(.el-input .el-input__inner) {
  639. font-size: 14px;
  640. }
  641. span {
  642. margin: 0 10px 0 0;
  643. }
  644. }
  645. }
  646. .gongneng {
  647. margin: 10px 0 20px 0;
  648. span {
  649. color: #fff;
  650. }
  651. .el-button {
  652. margin-right: 10px;
  653. }
  654. }
  655. :deep(.cont) {
  656. width: 60%;
  657. margin: 20px auto;
  658. }
  659. :deep(.download) {
  660. display: flex;
  661. align-items: center;
  662. margin: 10px;
  663. }
  664. :deep(.download span) {
  665. font-size: 16px;
  666. margin-left: 20px;
  667. }
  668. :deep(.cont .el-button) {
  669. margin-left: 60px;
  670. margin-bottom: 30px;
  671. }
  672. :deep(.cont .accomplish) {
  673. width: 100%;
  674. display: flex;
  675. justify-content: center;
  676. }
  677. :deep(.cont .accomplish .el-button) {
  678. width: 50%;
  679. margin: 0;
  680. }
  681. }
  682. .footer {
  683. width: 96%;
  684. height: 550px;
  685. margin: 10px auto 30px;
  686. .el-table--fit {
  687. height: 100%;
  688. :deep(.el-table__header-wrapper) {
  689. background-color: #000;
  690. font-size: 16px;
  691. tr {
  692. color: #000;
  693. }
  694. }
  695. :deep(.el-table__row) {
  696. height: 50px;
  697. font-size: 16px;
  698. color: #000;
  699. }
  700. :deep(.el-table__row):nth-child(2n) {
  701. .el-table-fixed-column--right {
  702. background-color: rgba(240, 243, 247, 1);
  703. }
  704. }
  705. :deep(.el-table__row td) {
  706. padding: 0;
  707. border: 0;
  708. }
  709. .el-button--primary {
  710. margin-left: 5px;
  711. }
  712. :deep(.el-table__body .even) {
  713. background-color: #fff;
  714. }
  715. :deep(.el-table__body .odd) {
  716. background-color: rgba(240, 243, 247, 1);
  717. }
  718. :deep(.edit) {
  719. display: flex;
  720. align-items: center;
  721. justify-content: center;
  722. color: rgba(111, 182, 184, 1);
  723. }
  724. :deep(.look) {
  725. padding: 0 10px;
  726. cursor: pointer;
  727. color: rgba(30, 125, 251, 1);
  728. }
  729. .del {
  730. padding: 0 10px;
  731. color: rgba(212, 48, 48, 1);
  732. cursor: pointer;
  733. }
  734. // :deep(.look):hover {
  735. // color: red;
  736. // }
  737. // :deep(.del):hover {
  738. // color: red;
  739. // }
  740. }
  741. }
  742. // 编辑按钮
  743. :deep(.editDialog) {
  744. // height: 420px;
  745. border-radius: 11px;
  746. .el-dialog__header {
  747. border-radius: 11px 11px 0 0;
  748. background: rgba(237, 241, 245, 1);
  749. font-weight: 600;
  750. margin: 0;
  751. .el-dialog__headerbtn {
  752. outline: none;
  753. }
  754. }
  755. .el-dialog__body {
  756. padding: 30px 20px 10px 20px;
  757. .el-form-item__content {
  758. width: 200px;
  759. .el-tree-node__content {
  760. // border: 1px solid red;
  761. .el-checkbox {
  762. display: none;
  763. }
  764. }
  765. .el-tree-node__children {
  766. .el-checkbox {
  767. display: block;
  768. }
  769. }
  770. }
  771. .options {
  772. margin: 10px 20px 20px 0;
  773. width: 100%;
  774. .el-form-item__content {
  775. display: flex;
  776. flex-direction: row-reverse;
  777. }
  778. .queding {
  779. color: #fff;
  780. margin-left: 15px;
  781. }
  782. }
  783. }
  784. }
  785. .pageSize {
  786. display: flex;
  787. align-items: center;
  788. justify-content: space-between;
  789. margin: 0 30px;
  790. span {
  791. color: #000;
  792. }
  793. .el-pagination {
  794. // width: 1600px;
  795. :deep(.el-pagination__total) {
  796. color: #000;
  797. }
  798. :deep(.el-pagination__goto) {
  799. color: #000;
  800. }
  801. :deep(.el-pagination__classifier) {
  802. color: #000;
  803. }
  804. :deep(.el-input__wrapper) {
  805. border: 1px solid rgba(0, 0, 0, 1);
  806. border-radius: 5px;
  807. box-shadow: none;
  808. }
  809. :deep(.el-pager li) {
  810. margin: 0 5px;
  811. border: 1px solid rgba(0, 0, 0, 1);
  812. border-radius: 5px;
  813. background-color: transparent;
  814. }
  815. :deep(.el-pager li.is-active) {
  816. // background-color: rgba(0, 97, 255, 0.8);
  817. border: 1px solid rgba(0, 97, 255, 1);
  818. color: rgba(0, 97, 255, 1);
  819. }
  820. :deep(.btn-prev) {
  821. margin-right: 5px;
  822. border: 1px solid rgba(0, 0, 0, 1);
  823. border-radius: 5px;
  824. background-color: transparent;
  825. }
  826. :deep(.btn-next) {
  827. margin-left: 5px;
  828. border: 1px solid rgba(0, 0, 0, 1);
  829. border-radius: 5px;
  830. background-color: transparent;
  831. }
  832. }
  833. }
  834. }
  835. .el-input {
  836. width: 192px;
  837. }
  838. </style>