waiting.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801
  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. id: "",
  355. });
  356. // 开始时间段配置
  357. const timeList = reactive({
  358. list: [
  359. {
  360. day1: [],
  361. day2: [],
  362. day3: [],
  363. day4: [],
  364. day5: [],
  365. day6: [],
  366. day7: [],
  367. timePicker: [],
  368. id: "",
  369. },
  370. ],
  371. });
  372. const timeShow = ref(true);
  373. // 获取系统设置数据
  374. const getlist = async (message) => {
  375. let res = await axios({
  376. method: "post",
  377. url: api.value + "/carBook/cnqueryHb.action",
  378. headers: {
  379. token: sessionStorage.getItem("token"),
  380. },
  381. });
  382. console.log(res);
  383. if (res.data.code == 200) {
  384. ruleForm.yy_duration = res.data.data.yy_duration;
  385. ruleForm.scanInterval = res.data.data.scanInterval;
  386. ruleForm.yy_end = res.data.data.yy_end; //
  387. ruleForm.hh_end = res.data.data.hh_end; //
  388. ruleForm.black_count = res.data.data.black_count;
  389. ruleForm.notice_time = res.data.data.notice_time;
  390. ruleForm.startTime = res.data.data.sm_start;
  391. ruleForm.endTime = res.data.data.sm_end;
  392. ruleForm.bb_before = res.data.data.bb_before;
  393. ruleForm.workTime = res.data.data.workTime.split("-");
  394. ruleForm.workMobile = res.data.data.workMobile;
  395. ruleForm.id = res.data.data.id;
  396. sessionStorage.setItem("sm_start", res.data.data.sm_start);
  397. sessionStorage.setItem("sm_end", res.data.data.sm_end);
  398. ruleForm.refundRule = res.data.data.refundRule;
  399. if (message) {
  400. ElMessage({
  401. type: "success",
  402. showClose: true,
  403. message: message,
  404. center: true,
  405. });
  406. }
  407. } else {
  408. ElMessage({
  409. type: "error",
  410. showClose: true,
  411. message: res.data.message,
  412. center: true,
  413. });
  414. if (res.data.message == "token错误") {
  415. router.push({
  416. path: `/login`,
  417. });
  418. }
  419. }
  420. };
  421. const getTimeList = async () => {
  422. let res = await axios({
  423. method: "post",
  424. url: api.value + "/carBook/weekConfigqueryList.action",
  425. headers: {
  426. token: sessionStorage.getItem("token"),
  427. },
  428. });
  429. console.log(res, "开始时间段配置");
  430. if (res.data.code == 200) {
  431. let resData = res.data.data;
  432. let arr = [];
  433. resData.forEach((i) => {
  434. arr.push({
  435. day1: i.day1 ? [i.day1] : [],
  436. day2: i.day2 ? [i.day2] : [],
  437. day3: i.day3 ? [i.day3] : [],
  438. day4: i.day4 ? [i.day4] : [],
  439. day5: i.day5 ? [i.day5] : [],
  440. day6: i.day6 ? [i.day6] : [],
  441. day7: i.day7 ? [i.day7] : [],
  442. timePicker: [i.startTime, i.endTime],
  443. id: i.id,
  444. });
  445. });
  446. timeList.list = arr;
  447. console.log(arr, "开始时间段配置");
  448. } else {
  449. ElMessage({
  450. type: "error",
  451. showClose: true,
  452. message: res.data.message,
  453. center: true,
  454. });
  455. if (res.data.message == "token错误") {
  456. router.push({
  457. path: `/login`,
  458. });
  459. }
  460. }
  461. };
  462. // 页面数据一修改就调用函数
  463. const timeVerify = (val) => {
  464. const regex = /^[0-9]+$/;
  465. if (regex.test(val)) {
  466. timeUpdata();
  467. } else {
  468. getlist();
  469. ElMessage({
  470. type: "warning",
  471. showClose: true,
  472. message: "请输入正确数值",
  473. center: true,
  474. });
  475. }
  476. };
  477. // 退改设置修改就调用函数
  478. const refundRuleClick = (val) => {
  479. const regex = /^(\d+)(\.\d{1,2})?$/;
  480. if (regex.test(val)) {
  481. timeUpdata();
  482. } else {
  483. getlist();
  484. ElMessage({
  485. type: "warning",
  486. showClose: true,
  487. message: "请输入正确数值",
  488. center: true,
  489. });
  490. }
  491. };
  492. const timeUpdata = async () => {
  493. if (ruleForm.black_count <= 0) {
  494. ruleForm.black_count = 1;
  495. }
  496. let data = {
  497. yy_duration: ruleForm.yy_duration,
  498. scanInterval: ruleForm.scanInterval,
  499. yy_end: ruleForm.yy_end,
  500. hh_end: ruleForm.hh_end,
  501. black_count: ruleForm.black_count,
  502. notice_time: ruleForm.notice_time,
  503. sm_start: ruleForm.startTime,
  504. sm_end: ruleForm.endTime,
  505. bb_before: ruleForm.bb_before,
  506. id: ruleForm.id,
  507. workTime:ruleForm.workTime.join("-"),
  508. workMobile:ruleForm.workMobile,
  509. refundRule: JSON.stringify(ruleForm.refundRule),
  510. };
  511. console.log(data);
  512. let res = await axios({
  513. method: "post",
  514. url: api.value + "/carBook/cnupdate.action",
  515. headers: {
  516. "Content-Type": "application/json;charset=utf-8",
  517. token: sessionStorage.getItem("token"),
  518. },
  519. data: data,
  520. });
  521. console.log(res, "修改候补");
  522. if (res.data.code == 200) {
  523. // getlist();
  524. store.dispatch("sm_time");
  525. ElMessage({
  526. type: "success",
  527. showClose: true,
  528. message: res.data.message,
  529. center: true,
  530. });
  531. } else {
  532. getlist();
  533. ElMessage({
  534. type: "error",
  535. showClose: true,
  536. message: "修改失败",
  537. center: true,
  538. });
  539. }
  540. };
  541. const addTime = lodash.debounce(async (ind) => {
  542. console.log("添加", ind);
  543. // timeList.list.splice(ind + 1, 0, {
  544. // day1: [],
  545. // day2: [],
  546. // day3: [],
  547. // day4: [],
  548. // day5: [],
  549. // day6: [],
  550. // day7: [],
  551. // timePicker: [],
  552. // id: "",
  553. // });
  554. let arr = {
  555. day1: 0,
  556. day2: 0,
  557. day3: 0,
  558. day4: 0,
  559. day5: 0,
  560. day6: 0,
  561. day7: 0,
  562. timePicker: null,
  563. };
  564. let res = await axios({
  565. method: "post",
  566. url: api.value + "/carBook/weekConfiginsert.action",
  567. headers: {
  568. token: sessionStorage.getItem("token"),
  569. },
  570. data: arr,
  571. });
  572. if (res.data.code == 200) {
  573. getTimeList();
  574. ElMessage({
  575. type: "success",
  576. showClose: true,
  577. message: res.data.message,
  578. center: true,
  579. });
  580. } else {
  581. ElMessage({
  582. type: "error",
  583. showClose: true,
  584. message: res.data.message,
  585. center: true,
  586. });
  587. }
  588. }, 500);
  589. const delTime = async (ind, id) => {
  590. // timeList.list.splice(ind, 1);
  591. let data = new FormData();
  592. data.append("id", id);
  593. let res = await axios({
  594. method: "post",
  595. url: api.value + "/carBook/weekConfigdel.action",
  596. headers: {
  597. token: sessionStorage.getItem("token"),
  598. },
  599. data: data,
  600. });
  601. if (res.data.code == 200) {
  602. getTimeList();
  603. ElMessage({
  604. type: "success",
  605. showClose: true,
  606. message: res.data.message,
  607. center: true,
  608. });
  609. } else {
  610. ElMessage({
  611. type: "error",
  612. showClose: true,
  613. message: res.data.message,
  614. center: true,
  615. });
  616. }
  617. };
  618. const saveTime = async (event, id, txt) => {
  619. // console.log(event,'id:'+id,txt);
  620. console.log(timeList.list);
  621. let arr = timeList.list.map((i) => {
  622. console.log(i);
  623. return {
  624. day1: i.day1.length ? 1 : 0,
  625. day2: i.day2.length ? 1 : 0,
  626. day3: i.day3.length ? 1 : 0,
  627. day4: i.day4.length ? 1 : 0,
  628. day5: i.day5.length ? 1 : 0,
  629. day6: i.day6.length ? 1 : 0,
  630. day7: i.day7.length ? 1 : 0,
  631. startTime: i.timePicker[0],
  632. endTime: i.timePicker[1],
  633. id: i.id,
  634. };
  635. });
  636. // console.log(arr);
  637. let augment = arr.filter((i) => {
  638. return i.id == id;
  639. });
  640. // console.log(augment);
  641. let res = await axios({
  642. method: "post",
  643. url: api.value + "/carBook/weekConfigupdate.action",
  644. headers: {
  645. "Content-Type": "application/json;charset=utf-8",
  646. token: sessionStorage.getItem("token"),
  647. },
  648. data: augment[0],
  649. });
  650. if (res.data.code == 200) {
  651. getTimeList();
  652. ElMessage({
  653. type: "success",
  654. showClose: true,
  655. message: res.data.message,
  656. center: true,
  657. });
  658. } else {
  659. getTimeList();
  660. ElMessage({
  661. type: "error",
  662. showClose: true,
  663. message: res.data.message,
  664. center: true,
  665. });
  666. }
  667. };
  668. const editSystem = () => {
  669. timeShow.value = false;
  670. };
  671. const saveSystem = () => {
  672. timeShow.value = true;
  673. };
  674. const cancelSystem = () => {
  675. timeShow.value = true;
  676. };
  677. onBeforeMount(() => {
  678. api.value = store.state.user.api;
  679. getlist();
  680. getTimeList();
  681. });
  682. onUnmounted(() => {});
  683. </script>
  684. <style scoped lang="scss">
  685. .content-box {
  686. width: calc(100% - 40px);
  687. height: calc(100% - 105px);
  688. margin: 20px auto;
  689. background-color: #fff;
  690. color: #fff;
  691. display: flex;
  692. flex-direction: column;
  693. .left {
  694. // width: calc(100wh - 40px);
  695. display: flex;
  696. align-items: center;
  697. height: 60px;
  698. margin: 0 30px;
  699. border-bottom: 1px solid #ccc;
  700. color: #000;
  701. font-size: 18px;
  702. font-weight: 600;
  703. .camera {
  704. margin-right: 15px;
  705. color: #4392f7;
  706. }
  707. }
  708. .middle {
  709. width: calc(100% - 60px);
  710. height: calc(100% - 60px);
  711. // overflow: auto;
  712. margin: 0 auto;
  713. color: #000;
  714. display: flex;
  715. // border-bottom: 1px solid rgb(231, 231, 231);
  716. .filter {
  717. height: 100%;
  718. display: flex;
  719. // flex-wrap: wrap;
  720. flex-direction: column;
  721. overflow: auto;
  722. .condition {
  723. display: flex;
  724. flex-direction: column;
  725. margin: 10px 30px 10px 0;
  726. h3 {
  727. margin: 12px 12px 12px 0;
  728. }
  729. span {
  730. margin: 0 10px 0 0;
  731. font-size: 18px;
  732. color: #000;
  733. }
  734. .addTime {
  735. display: flex;
  736. flex-wrap: wrap;
  737. align-items: center;
  738. .el-checkbox-group {
  739. .el-checkbox {
  740. margin: 0 15px 0 0;
  741. }
  742. }
  743. :deep(.timePicker) {
  744. width: 200px;
  745. }
  746. }
  747. }
  748. }
  749. .gongneng {
  750. margin: 10px 0;
  751. }
  752. :deep(.cont) {
  753. width: 60%;
  754. margin: 20px auto;
  755. }
  756. :deep(.download) {
  757. display: flex;
  758. align-items: center;
  759. margin: 10px;
  760. }
  761. :deep(.download span) {
  762. font-size: 16px;
  763. margin-left: 20px;
  764. }
  765. :deep(.cont .el-button) {
  766. margin-left: 60px;
  767. margin-bottom: 30px;
  768. }
  769. :deep(.cont .accomplish) {
  770. width: 100%;
  771. display: flex;
  772. justify-content: center;
  773. }
  774. :deep(.cont .accomplish .el-button) {
  775. width: 50%;
  776. margin: 0;
  777. }
  778. }
  779. }
  780. .el-input {
  781. width: 192px;
  782. }
  783. </style>