waiting.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820
  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 class="middle">
  8. <div class="filter">
  9. <div class="condition">
  10. <div style="display: flex; align-items: center">
  11. <h3>开始时间段设置</h3>
  12. <!-- <el-button
  13. color="rgba(61, 81, 232, 1)"
  14. @click="editSystem"
  15. v-if="timeShow"
  16. type="primary"
  17. >修改</el-button
  18. >
  19. <el-button
  20. color="rgba(61, 81, 232, 1)"
  21. @click="saveSystem"
  22. v-if="!timeShow"
  23. type="primary"
  24. >保存</el-button
  25. >
  26. <el-button @click="cancelSystem" v-if="!timeShow" plain
  27. >取消</el-button
  28. > -->
  29. </div>
  30. <span>周期配置 :&nbsp;&nbsp;</span>
  31. <div
  32. style="margin-bottom: 8px"
  33. v-for="(i, ind) in timeList.list"
  34. :key="ind"
  35. >
  36. <div class="addTime">
  37. <el-checkbox-group
  38. @change="saveTime($event, i.id, '星期一')"
  39. v-model="i.day1"
  40. >
  41. <el-checkbox :label="1">星期一</el-checkbox>
  42. </el-checkbox-group>
  43. <el-checkbox-group
  44. @change="saveTime($event, i.id, '星期二')"
  45. v-model="i.day2"
  46. >
  47. <el-checkbox :label="1">星期二</el-checkbox>
  48. </el-checkbox-group>
  49. <el-checkbox-group
  50. @change="saveTime($event, i.id, '星期三')"
  51. v-model="i.day3"
  52. >
  53. <el-checkbox :label="1">星期三</el-checkbox>
  54. </el-checkbox-group>
  55. <el-checkbox-group
  56. @change="saveTime($event, i.id, '星期四')"
  57. v-model="i.day4"
  58. >
  59. <el-checkbox :label="1">星期四</el-checkbox>
  60. </el-checkbox-group>
  61. <el-checkbox-group
  62. @change="saveTime($event, i.id, '星期五')"
  63. v-model="i.day5"
  64. >
  65. <el-checkbox :label="1">星期五</el-checkbox>
  66. </el-checkbox-group>
  67. <el-checkbox-group
  68. @change="saveTime($event, i.id, '星期六')"
  69. v-model="i.day6"
  70. >
  71. <el-checkbox :label="1">星期六</el-checkbox>
  72. </el-checkbox-group>
  73. <el-checkbox-group
  74. @change="saveTime($event, i.id, '星期日')"
  75. v-model="i.day7"
  76. >
  77. <el-checkbox :label="1">星期日</el-checkbox>
  78. </el-checkbox-group>
  79. <div style="margin: 0 18px">
  80. <el-time-picker
  81. class="timePicker"
  82. v-model="i.timePicker"
  83. :clearable="false"
  84. is-range
  85. format="HH:mm"
  86. value-format="HH:mm"
  87. range-separator="-"
  88. start-placeholder="开始时间"
  89. end-placeholder="结束时间"
  90. @change="saveTime($event, i.id)"
  91. />
  92. </div>
  93. <div>
  94. <span
  95. @click="addTime(ind)"
  96. style="cursor: pointer; color: rgb(30, 125, 251)"
  97. >添加</span
  98. >
  99. <span
  100. v-if="timeList.list.length > 1"
  101. @click="delTime(ind, i.id)"
  102. style="cursor: pointer; color: #f56c6c"
  103. >删除</span
  104. >
  105. </div>
  106. </div>
  107. </div>
  108. </div>
  109. <div class="condition">
  110. <h3>截止预约时间设置</h3>
  111. <div>
  112. <span>发车前</span>
  113. <el-input
  114. :clearable="false"
  115. v-model="ruleForm.yy_end"
  116. class="w-50 m-2"
  117. style="width: 100px"
  118. @change="timeVerify"
  119. />
  120. <!-- <el-time-picker
  121. v-model="ruleForm.hh_end"
  122. format="HH:mm"
  123. value-format="HH:mm"
  124. @change="timeUpdata"
  125. /> -->
  126. <span>&nbsp;&nbsp;分钟</span>
  127. </div>
  128. </div>
  129. <div class="condition">
  130. <h3>扫码时间设置</h3>
  131. <div>
  132. <span>发车前</span>
  133. <el-input
  134. :clearable="false"
  135. v-model="ruleForm.startTime"
  136. class="w-50 m-2"
  137. style="width: 100px"
  138. @change="timeVerify"
  139. />
  140. <span>&nbsp;&nbsp;分钟 ,</span>
  141. <span>发车后</span>
  142. <el-input
  143. :clearable="false"
  144. v-model="ruleForm.endTime"
  145. class="w-50 m-2"
  146. style="width: 100px"
  147. @change="timeVerify"
  148. />
  149. <span>&nbsp;&nbsp;分钟可扫码核销 </span>
  150. </div>
  151. <div style="margin-top: 15px">
  152. <span>扫码间隔</span>
  153. <el-input
  154. :clearable="false"
  155. v-model="ruleForm.scanInterval"
  156. class="w-50 m-2"
  157. style="width: 100px"
  158. @change="timeVerify"
  159. />
  160. <span>&nbsp;&nbsp;分钟 ,</span>
  161. <span>在此时间内多次扫码均提示已预约</span>
  162. </div>
  163. </div>
  164. <!-- <div class="condition">
  165. <h3>候补截止预约时间设置</h3>
  166. <div>
  167. <span>候补截止时间</span>
  168. <el-time-picker
  169. v-model="ruleForm.hh_end"
  170. placeholder="请选择时间"
  171. format="HH:mm"
  172. value-format="HH:mm"
  173. @change="timeUpdata"
  174. />
  175. </div>
  176. </div> -->
  177. <div class="condition">
  178. <h3>黑名单设置</h3>
  179. <div>
  180. <span>爽约</span>
  181. <el-input
  182. :clearable="false"
  183. v-model="ruleForm.black_count"
  184. class="w-50 m-2"
  185. style="width: 100px"
  186. @change="timeVerify"
  187. />
  188. <span>&nbsp;&nbsp;次,锁定账号</span>
  189. </div>
  190. </div>
  191. <div class="condition">
  192. <h3>通知时间</h3>
  193. <div>
  194. <span>发车前提前</span>
  195. <el-input
  196. :clearable="false"
  197. v-model="ruleForm.notice_time"
  198. class="w-50 m-2"
  199. style="width: 100px"
  200. @change="timeVerify"
  201. />
  202. <span>&nbsp;&nbsp;分钟,发送通知</span>
  203. </div>
  204. </div>
  205. <div class="condition">
  206. <h3>报备人员开始预约时间设置</h3>
  207. <div>
  208. <span>发车前</span>
  209. <el-input
  210. :clearable="false"
  211. v-model="ruleForm.bb_before"
  212. class="w-50 m-2"
  213. style="width: 100px"
  214. @change="timeVerify"
  215. />
  216. <span>&nbsp;&nbsp;分钟,可以预约车辆</span>
  217. </div>
  218. </div>
  219. </div>
  220. <div class="filter">
  221. <div class="condition" style="margin: 10px 0">
  222. <h3>退改设置</h3>
  223. <div>
  224. <span>发车前</span>
  225. <el-input
  226. :clearable="false"
  227. v-model="ruleForm.refundRule.a1.start"
  228. class="w-50 m-2"
  229. style="width: 80px"
  230. @change="refundRuleClick"
  231. />
  232. <span>&nbsp;&nbsp;小时以上,免收手续费</span>
  233. </div>
  234. <div style="margin-top: 15px">
  235. <span>发车前</span>
  236. <el-input
  237. :clearable="false"
  238. v-model="ruleForm.refundRule.a2.start"
  239. class="w-50 m-2"
  240. style="width: 80px"
  241. @change="refundRuleClick"
  242. />
  243. <span>&nbsp;&nbsp;小时以上</span>
  244. <el-input
  245. :clearable="false"
  246. v-model="ruleForm.refundRule.a2.end"
  247. class="w-50 m-2"
  248. style="width: 80px"
  249. @change="refundRuleClick"
  250. />
  251. <span>&nbsp;&nbsp;小时以内,收取</span>
  252. <el-input
  253. :clearable="false"
  254. v-model="ruleForm.refundRule.a2.fee"
  255. class="w-50 m-2"
  256. style="width: 60px"
  257. @change="refundRuleClick"
  258. />
  259. <span>&nbsp;&nbsp;(元)手续费</span>
  260. </div>
  261. <div style="margin-top: 15px">
  262. <span>发车前</span>
  263. <el-input
  264. :clearable="false"
  265. v-model="ruleForm.refundRule.a3.end"
  266. class="w-50 m-2"
  267. style="width: 80px"
  268. @change="refundRuleClick"
  269. />
  270. <span>&nbsp;&nbsp;小时以内,收取</span>
  271. <el-input
  272. :clearable="false"
  273. v-model="ruleForm.refundRule.a3.fee"
  274. class="w-50 m-2"
  275. style="width: 80px"
  276. @change="refundRuleClick"
  277. />
  278. <span>&nbsp;&nbsp;(元)手续费</span>
  279. </div>
  280. <div style="margin-top: 15px">
  281. <span>发车后不退票</span>
  282. </div>
  283. </div>
  284. <div class="condition">
  285. <h3>客服设置</h3>
  286. <div>
  287. <span>客服工作时间 </span>
  288. <el-time-picker
  289. style="width: 180px"
  290. class="timePicker"
  291. v-model="ruleForm.workTime"
  292. :clearable="false"
  293. is-range
  294. format="HH:mm"
  295. value-format="HH:mm"
  296. range-separator="-"
  297. start-placeholder="开始时间"
  298. end-placeholder="结束时间"
  299. @change="timeUpdata"
  300. />
  301. </div>
  302. <div style="margin-top: 15px">
  303. <span>客服手机号 </span>
  304. <el-input
  305. :clearable="false"
  306. v-model="ruleForm.workMobile"
  307. class="w-50 m-2"
  308. style="width: 180px"
  309. @change="timeUpdata"
  310. />
  311. </div>
  312. </div>
  313. </div>
  314. </div>
  315. <div class="footer"></div>
  316. </div>
  317. </template>
  318. <script setup>
  319. import {
  320. ref,
  321. reactive,
  322. watch,
  323. nextTick,
  324. onBeforeMount,
  325. onUnmounted,
  326. } from "vue";
  327. import { useRouter } from "vue-router";
  328. import { ElMessage, ElMessageBox } from "element-plus";
  329. import { dayjs } from "element-plus";
  330. import lodash from "lodash";
  331. import axios from "axios";
  332. import { useStore } from "vuex";
  333. const store = useStore();
  334. const api = ref("");
  335. const router = useRouter();
  336. // 表格数据
  337. const ruleForm = reactive({
  338. yy_duration: "",
  339. hh_end: "", //截止预约时间设置
  340. yy_end: "", //候补截止预约时间设置
  341. black_count: "", //黑名单设置次数
  342. notice_time: "", //发车前提前
  343. startTime: "", // 扫码前时间
  344. endTime: "", // 扫码后时间
  345. scanInterval: "", // 扫码间隔
  346. bb_before: "", // 报备人预约车辆时间设置
  347. workTime: [], // 客服工作时间
  348. workMobile: [], // 客服手机号
  349. refundRule: {
  350. a1: { fee: 0, start: 0 },
  351. a2: { fee: 0, start: 0, end: 0 },
  352. a3: { fee: 0, end: 0 },
  353. }, // 退改设置
  354. toPay: "", // 支付满多少金额
  355. toRelease: "", // 补贴释放多少金额
  356. teacherPrice: "", // 教师支付金额
  357. commonPrice: "", // 正常金额
  358. poorReduce: "", // 贫困户减免金额
  359. id: "",
  360. });
  361. // 开始时间段配置
  362. const timeList = reactive({
  363. list: [
  364. {
  365. day1: [],
  366. day2: [],
  367. day3: [],
  368. day4: [],
  369. day5: [],
  370. day6: [],
  371. day7: [],
  372. timePicker: [],
  373. id: "",
  374. },
  375. ],
  376. });
  377. const timeShow = ref(true);
  378. // 获取系统设置数据
  379. const getlist = async (message) => {
  380. let res = await axios({
  381. method: "post",
  382. url: api.value + "/carBook/cnqueryHb.action",
  383. headers: {
  384. token: sessionStorage.getItem("token"),
  385. },
  386. });
  387. console.log(res);
  388. if (res.data.code == 200) {
  389. ruleForm.yy_duration = res.data.data.yy_duration;
  390. ruleForm.scanInterval = res.data.data.scanInterval;
  391. ruleForm.yy_end = res.data.data.yy_end; //
  392. ruleForm.hh_end = res.data.data.hh_end; //
  393. ruleForm.black_count = res.data.data.black_count;
  394. ruleForm.notice_time = res.data.data.notice_time;
  395. ruleForm.startTime = res.data.data.sm_start;
  396. ruleForm.endTime = res.data.data.sm_end;
  397. ruleForm.bb_before = res.data.data.bb_before;
  398. ruleForm.workTime = res.data.data.workTime.split("-");
  399. ruleForm.workMobile = res.data.data.workMobile;
  400. ruleForm.id = res.data.data.id;
  401. sessionStorage.setItem("sm_start", res.data.data.sm_start);
  402. sessionStorage.setItem("sm_end", res.data.data.sm_end);
  403. ruleForm.refundRule = res.data.data.refundRule;
  404. ruleForm.toPay = res.data.data.toPay; // 支付满多少金额
  405. ruleForm.toRelease = res.data.data.toRelease; // 补贴释放多少金额
  406. ruleForm.teacherPrice = res.data.data.teacherPrice; // 教师支付金额
  407. ruleForm.commonPrice = res.data.data.commonPrice; // 正常金额
  408. ruleForm.poorReduce = res.data.data.poorReduce; // 贫困户减免金额
  409. if (message) {
  410. ElMessage({
  411. type: "success",
  412. showClose: true,
  413. message: message,
  414. center: true,
  415. });
  416. }
  417. } else {
  418. ElMessage({
  419. type: "error",
  420. showClose: true,
  421. message: res.data.message,
  422. center: true,
  423. });
  424. if (res.data.message == "token错误") {
  425. router.push({
  426. path: `/login`,
  427. });
  428. }
  429. }
  430. };
  431. const getTimeList = async () => {
  432. let res = await axios({
  433. method: "post",
  434. url: api.value + "/carBook/weekConfigqueryList.action",
  435. headers: {
  436. token: sessionStorage.getItem("token"),
  437. },
  438. });
  439. console.log(res, "开始时间段配置");
  440. if (res.data.code == 200) {
  441. let resData = res.data.data;
  442. let arr = [];
  443. resData.forEach((i) => {
  444. arr.push({
  445. day1: i.day1 ? [i.day1] : [],
  446. day2: i.day2 ? [i.day2] : [],
  447. day3: i.day3 ? [i.day3] : [],
  448. day4: i.day4 ? [i.day4] : [],
  449. day5: i.day5 ? [i.day5] : [],
  450. day6: i.day6 ? [i.day6] : [],
  451. day7: i.day7 ? [i.day7] : [],
  452. timePicker: [i.startTime, i.endTime],
  453. id: i.id,
  454. });
  455. });
  456. timeList.list = arr;
  457. console.log(arr, "开始时间段配置");
  458. } else {
  459. ElMessage({
  460. type: "error",
  461. showClose: true,
  462. message: res.data.message,
  463. center: true,
  464. });
  465. if (res.data.message == "token错误") {
  466. router.push({
  467. path: `/login`,
  468. });
  469. }
  470. }
  471. };
  472. // 页面数据一修改就调用函数
  473. const timeVerify = (val) => {
  474. const regex = /^[0-9]+$/;
  475. if (regex.test(val)) {
  476. timeUpdata();
  477. } else {
  478. getlist();
  479. ElMessage({
  480. type: "warning",
  481. showClose: true,
  482. message: "请输入正确数值",
  483. center: true,
  484. });
  485. }
  486. };
  487. // 退改设置修改就调用函数
  488. const refundRuleClick = (val) => {
  489. const regex = /^(\d+)(\.\d{1,2})?$/;
  490. if (regex.test(val)) {
  491. timeUpdata();
  492. } else {
  493. getlist();
  494. ElMessage({
  495. type: "warning",
  496. showClose: true,
  497. message: "请输入正确数值",
  498. center: true,
  499. });
  500. }
  501. };
  502. const timeUpdata = async () => {
  503. if (ruleForm.black_count <= 0) {
  504. ruleForm.black_count = 1;
  505. }
  506. let data = {
  507. yy_duration: ruleForm.yy_duration,
  508. scanInterval: ruleForm.scanInterval,
  509. yy_end: ruleForm.yy_end,
  510. hh_end: ruleForm.hh_end,
  511. black_count: ruleForm.black_count,
  512. notice_time: ruleForm.notice_time,
  513. sm_start: ruleForm.startTime,
  514. sm_end: ruleForm.endTime,
  515. bb_before: ruleForm.bb_before,
  516. id: ruleForm.id,
  517. workTime: ruleForm.workTime.join("-"),
  518. workMobile: ruleForm.workMobile,
  519. refundRule: JSON.stringify(ruleForm.refundRule),
  520. toPay: ruleForm.endTime, // 支付满多少金额
  521. toRelease: ruleForm.toRelease, // 补贴释放多少金额
  522. teacherPrice: ruleForm.teacherPrice, // 教师支付金额
  523. commonPrice: ruleForm.commonPrice, // 正常金额
  524. poorReduce: ruleForm.poorReduce, // 贫困户减免金额
  525. };
  526. console.log(data);
  527. let res = await axios({
  528. method: "post",
  529. url: api.value + "/carBook/cnupdate.action",
  530. headers: {
  531. "Content-Type": "application/json;charset=utf-8",
  532. token: sessionStorage.getItem("token"),
  533. },
  534. data: data,
  535. });
  536. console.log(res, "修改候补");
  537. if (res.data.code == 200) {
  538. // getlist();
  539. store.dispatch("sm_time");
  540. ElMessage({
  541. type: "success",
  542. showClose: true,
  543. message: res.data.message,
  544. center: true,
  545. });
  546. } else {
  547. getlist();
  548. ElMessage({
  549. type: "error",
  550. showClose: true,
  551. message: "修改失败",
  552. center: true,
  553. });
  554. }
  555. };
  556. const addTime = lodash.debounce(async (ind) => {
  557. console.log("添加", ind);
  558. // timeList.list.splice(ind + 1, 0, {
  559. // day1: [],
  560. // day2: [],
  561. // day3: [],
  562. // day4: [],
  563. // day5: [],
  564. // day6: [],
  565. // day7: [],
  566. // timePicker: [],
  567. // id: "",
  568. // });
  569. let arr = {
  570. day1: 0,
  571. day2: 0,
  572. day3: 0,
  573. day4: 0,
  574. day5: 0,
  575. day6: 0,
  576. day7: 0,
  577. timePicker: null,
  578. };
  579. let res = await axios({
  580. method: "post",
  581. url: api.value + "/carBook/weekConfiginsert.action",
  582. headers: {
  583. token: sessionStorage.getItem("token"),
  584. },
  585. data: arr,
  586. });
  587. if (res.data.code == 200) {
  588. getTimeList();
  589. ElMessage({
  590. type: "success",
  591. showClose: true,
  592. message: res.data.message,
  593. center: true,
  594. });
  595. } else {
  596. ElMessage({
  597. type: "error",
  598. showClose: true,
  599. message: res.data.message,
  600. center: true,
  601. });
  602. }
  603. }, 500);
  604. const delTime = async (ind, id) => {
  605. // timeList.list.splice(ind, 1);
  606. let data = new FormData();
  607. data.append("id", id);
  608. let res = await axios({
  609. method: "post",
  610. url: api.value + "/carBook/weekConfigdel.action",
  611. headers: {
  612. token: sessionStorage.getItem("token"),
  613. },
  614. data: data,
  615. });
  616. if (res.data.code == 200) {
  617. getTimeList();
  618. ElMessage({
  619. type: "success",
  620. showClose: true,
  621. message: res.data.message,
  622. center: true,
  623. });
  624. } else {
  625. ElMessage({
  626. type: "error",
  627. showClose: true,
  628. message: res.data.message,
  629. center: true,
  630. });
  631. }
  632. };
  633. const saveTime = async (event, id, txt) => {
  634. // console.log(event,'id:'+id,txt);
  635. console.log(timeList.list);
  636. let arr = timeList.list.map((i) => {
  637. console.log(i);
  638. return {
  639. day1: i.day1.length ? 1 : 0,
  640. day2: i.day2.length ? 1 : 0,
  641. day3: i.day3.length ? 1 : 0,
  642. day4: i.day4.length ? 1 : 0,
  643. day5: i.day5.length ? 1 : 0,
  644. day6: i.day6.length ? 1 : 0,
  645. day7: i.day7.length ? 1 : 0,
  646. startTime: i.timePicker[0],
  647. endTime: i.timePicker[1],
  648. id: i.id,
  649. };
  650. });
  651. // console.log(arr);
  652. let augment = arr.filter((i) => {
  653. return i.id == id;
  654. });
  655. // console.log(augment);
  656. let res = await axios({
  657. method: "post",
  658. url: api.value + "/carBook/weekConfigupdate.action",
  659. headers: {
  660. "Content-Type": "application/json;charset=utf-8",
  661. token: sessionStorage.getItem("token"),
  662. },
  663. data: augment[0],
  664. });
  665. if (res.data.code == 200) {
  666. getTimeList();
  667. ElMessage({
  668. type: "success",
  669. showClose: true,
  670. message: res.data.message,
  671. center: true,
  672. });
  673. } else {
  674. getTimeList();
  675. ElMessage({
  676. type: "error",
  677. showClose: true,
  678. message: res.data.message,
  679. center: true,
  680. });
  681. }
  682. };
  683. const editSystem = () => {
  684. timeShow.value = false;
  685. };
  686. const saveSystem = () => {
  687. timeShow.value = true;
  688. };
  689. const cancelSystem = () => {
  690. timeShow.value = true;
  691. };
  692. onBeforeMount(() => {
  693. api.value = store.state.user.api;
  694. getlist();
  695. getTimeList();
  696. });
  697. onUnmounted(() => {});
  698. </script>
  699. <style scoped lang="scss">
  700. .content-box {
  701. width: calc(100% - 40px);
  702. height: calc(100% - 105px);
  703. margin: 20px auto;
  704. background-color: #fff;
  705. color: #fff;
  706. display: flex;
  707. flex-direction: column;
  708. .left {
  709. // width: calc(100wh - 40px);
  710. display: flex;
  711. align-items: center;
  712. height: 60px;
  713. margin: 0 30px;
  714. border-bottom: 1px solid #ccc;
  715. color: #000;
  716. font-size: 18px;
  717. font-weight: 600;
  718. .camera {
  719. margin-right: 15px;
  720. color: #4392f7;
  721. }
  722. }
  723. .middle {
  724. width: calc(100% - 60px);
  725. height: calc(100% - 60px);
  726. // overflow: auto;
  727. margin: 0 auto;
  728. color: #000;
  729. display: flex;
  730. // border-bottom: 1px solid rgb(231, 231, 231);
  731. .filter {
  732. height: 100%;
  733. display: flex;
  734. // flex-wrap: wrap;
  735. flex-direction: column;
  736. overflow: auto;
  737. .condition {
  738. display: flex;
  739. flex-direction: column;
  740. margin: 10px 30px 10px 0;
  741. h3 {
  742. margin: 12px 12px 12px 0;
  743. }
  744. span {
  745. margin: 0 10px 0 0;
  746. font-size: 18px;
  747. color: #000;
  748. }
  749. .addTime {
  750. display: flex;
  751. flex-wrap: wrap;
  752. align-items: center;
  753. .el-checkbox-group {
  754. .el-checkbox {
  755. margin: 0 15px 0 0;
  756. }
  757. }
  758. :deep(.timePicker) {
  759. width: 200px;
  760. }
  761. }
  762. }
  763. }
  764. .gongneng {
  765. margin: 10px 0;
  766. }
  767. :deep(.cont) {
  768. width: 60%;
  769. margin: 20px auto;
  770. }
  771. :deep(.download) {
  772. display: flex;
  773. align-items: center;
  774. margin: 10px;
  775. }
  776. :deep(.download span) {
  777. font-size: 16px;
  778. margin-left: 20px;
  779. }
  780. :deep(.cont .el-button) {
  781. margin-left: 60px;
  782. margin-bottom: 30px;
  783. }
  784. :deep(.cont .accomplish) {
  785. width: 100%;
  786. display: flex;
  787. justify-content: center;
  788. }
  789. :deep(.cont .accomplish .el-button) {
  790. width: 50%;
  791. margin: 0;
  792. }
  793. }
  794. }
  795. .el-input {
  796. width: 192px;
  797. }
  798. </style>