index.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901
  1. <template>
  2. <div>
  3. <basic-container>
  4. <div class="home-container">
  5. <div style="display: flex;justify-content: center;">
  6. <div class="content">
  7. <div class="content-item" @click="handleClick('')">
  8. <div class="card">
  9. <div class="card-title card-title1">
  10. <span>
  11. </span>
  12. </div>
  13. <div class="card-content">
  14. <span class="card-content-num">{{ totalData.all }}</span>
  15. <span class="card-content-text">全部</span>
  16. </div>
  17. </div>
  18. </div>
  19. <div class="divider"/>
  20. <div class="content-item" @click="handleClick('2')">
  21. <div class="card">
  22. <div class="card-title card-title4">
  23. <span>
  24. </span>
  25. </div>
  26. <div class="card-content">
  27. <span class="card-content-num">{{ totalData.two }}</span>
  28. <span class="card-content-text">未受理</span>
  29. </div>
  30. </div>
  31. </div>
  32. <div class="divider"/>
  33. <div class="content-item" @click="handleClick('3')">
  34. <div class="card">
  35. <div class="card-title card-title5">
  36. <span>
  37. </span>
  38. </div>
  39. <div class="card-content">
  40. <span class="card-content-num">{{ totalData.three }}</span>
  41. <span class="card-content-text">未完工</span>
  42. </div>
  43. </div>
  44. </div>
  45. <div class="divider"/>
  46. <div class="content-item" @click="handleClick('4')">
  47. <div class="card">
  48. <div class="card-title card-title6">
  49. <span>
  50. </span>
  51. </div>
  52. <div class="card-content">
  53. <span class="card-content-num">{{ totalData.four }}</span>
  54. <span class="card-content-text">已完工</span>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. </basic-container>
  62. <basic-container v-if="key>0">
  63. <avue-crud
  64. :data="goodsList"
  65. :option="goodsOptionCrud"
  66. :table-loading="loading"
  67. :page.sync="page"
  68. ref="crud"
  69. @on-load="onLoad"
  70. @resetColumn="resetColumn"
  71. @saveColumn="saveColumn"
  72. @search-change="searchChange"
  73. @search-criteria-switch="searchCriteriaSwitch"
  74. @row-save="(row,done,loading)=>{rowSave(row,0,done,loading)}"
  75. @row-update="rowSave">
  76. <template slot-scope="{row}" slot="fleetId">
  77. <span>{{ row.fleetName }}</span>
  78. </template>
  79. <template slot-scope="{row}" slot="fleetIdSearch">
  80. <crop-select
  81. v-model="row.fleetId"
  82. corpType="CD"
  83. ></crop-select>
  84. </template>
  85. <template slot-scope="{row,index}" slot="menu">
  86. <el-button
  87. type="text"
  88. size="small"
  89. v-if="row.status === 2"
  90. @click="rowSaveT(row,index)"
  91. >{{ row.$cellEdit ? '保 存' : '修 改' }}
  92. </el-button>
  93. <el-button
  94. size="small"
  95. type="text"
  96. @click="designate(row, index)"
  97. v-if="row.status===2"
  98. >受 理
  99. </el-button>
  100. <el-button
  101. size="small"
  102. type="text"
  103. @click="cancelDesignate(row, index)"
  104. v-if="row.status===6"
  105. >取消受理
  106. </el-button>
  107. <el-button
  108. size="small"
  109. type="text"
  110. @click="confirmArrival(row, index)"
  111. v-if="row.status === 5"
  112. >确认到厂
  113. </el-button>
  114. <el-button
  115. size="small"
  116. type="text"
  117. @click="confirmCompletion(row, index)"
  118. v-if="row.status === 3"
  119. >确认完工
  120. </el-button>
  121. <el-button
  122. size="small"
  123. type="text"
  124. @click="suitcase(row, index)"
  125. v-if="row.status === 6"
  126. >提箱
  127. </el-button>
  128. <el-button
  129. size="small"
  130. type="text"
  131. @click="annexOpen(row, index)"
  132. >附 件
  133. </el-button>
  134. </template>
  135. <template slot="addressDetail" slot-scope="{ row,index}">
  136. <el-tooltip class="item" effect="dark" placement="top">
  137. <div v-html="ToBreak(row.addressDetail)" slot="content"></div>
  138. <div style="overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">{{row.addressDetail}}</div>
  139. </el-tooltip>
  140. </template>
  141. </avue-crud>
  142. <el-dialog
  143. title="附件"
  144. :visible.sync="dialogVisible"
  145. append-to-body
  146. width="70%">
  147. <c-upload
  148. typeUpload="GZ"
  149. :basic="true"
  150. deleteUrl="/api/blade-client/common-file/remove"
  151. :data="orderList"
  152. :disabled="form.status===4"
  153. :enumerationValue="76"
  154. ></c-upload>
  155. <span slot="footer" class="dialog-footer">
  156. <el-button @click="dialogVisible = false" size="small">取 消</el-button>
  157. <el-button type="primary" @click="saveAnnex" size="small" :disabled="form.status===4">保 存</el-button>
  158. </span>
  159. </el-dialog>
  160. </basic-container>
  161. </div>
  162. </template>
  163. <script>
  164. import {
  165. driverQueryCollection,
  166. acceptanceCollection,
  167. acceptanceDispatchCollection,
  168. confirmCompletion,
  169. fleetList, motorcadeDriver, fleetDriverSave, getAttachment, saveAttached, arrival,borrow
  170. } from "@/api/landTransportation";
  171. export default {
  172. name: "index",
  173. data() {
  174. return {
  175. key:0,
  176. form: {},
  177. orderList:[],
  178. dialogVisible: false,
  179. loading: false,
  180. activeName:'',
  181. page: {
  182. pageSize: 10,
  183. currentPage: 1,
  184. total: 0,
  185. pageSizes: [10, 50, 100, 200, 300]
  186. },
  187. roleName: localStorage.getItem("roleName").split(',')[0],
  188. goodsList: [],
  189. goodsOptionCrud:{},
  190. optionList: {
  191. stripe:true,
  192. index: true,
  193. addBtn: false,
  194. delBtn: false,
  195. cellBtn: false,
  196. cancelBtn: false,
  197. editBtn: false,
  198. addRowBtn: false,
  199. searchIcon: true,
  200. searchIndex: 2,
  201. searchSpan: 8,
  202. searchMenuPosition: "right",
  203. searchMenuSpan: 6,
  204. align: 'center',
  205. height: "auto",
  206. showSummary: true,
  207. summaryText: "合计",
  208. sumColumnList: [
  209. {
  210. name: 'landWeight',
  211. type: 'sum',
  212. decimals: 2
  213. }, {
  214. name: 'landAmountC',
  215. type: 'sum',
  216. decimals: 2
  217. }, {
  218. name: 'ctnQuantity',
  219. type: 'count'
  220. },{
  221. name: 'oneFeeC',
  222. type: 'sum',
  223. decimals: 2
  224. },{
  225. name: 'twoFeeC',
  226. type: 'sum',
  227. decimals: 2
  228. },{
  229. name: 'threeFeeC',
  230. type: 'sum',
  231. decimals: 2
  232. },{
  233. name: 'fourFeeC',
  234. type: 'sum',
  235. decimals: 2
  236. },{
  237. name: 'fiveFeeC',
  238. type: 'sum',
  239. decimals: 2
  240. }],
  241. column: [{
  242. label: '货运日期',
  243. prop: 'arrivalTime',
  244. overHidden: true,
  245. type: "date",
  246. searchRange: true,
  247. defaultTime: ['00:00:00', '23:59:59'],
  248. format: "yyyy-MM-dd HH:mm:ss",
  249. valueFormat: "yyyy-MM-dd HH:mm:ss",
  250. index: 1,
  251. width: 140,
  252. search: true,
  253. },{
  254. label: '货运地点',
  255. index: 2,
  256. width: 160,
  257. search: true,
  258. prop: 'addressDetail'
  259. },{
  260. label: '提单号',
  261. width: 100,
  262. index:3,
  263. search: true,
  264. overHidden: true,
  265. prop: 'billNo'
  266. }, {
  267. label: '场站',
  268. prop: 'station',
  269. overHidden: true,
  270. index: 4,
  271. width: 140,
  272. search: true,
  273. }, {
  274. label: '车队',
  275. width: 200,
  276. search: true,
  277. index:5,
  278. overHidden: true,
  279. prop: 'fleetId'
  280. },{
  281. label: '车号',
  282. width: 150,
  283. prop: 'plateNo',
  284. overHidden: true,
  285. index:6,
  286. type: 'select',
  287. search: true,
  288. dicUrl: "/api/blade-client/land-vehicle/vehicle-list?fleetId={{key}}",
  289. props: {
  290. label: "plateNo",
  291. value: "plateNo"
  292. }
  293. }, {
  294. label: '司机',
  295. width: 115,
  296. index:7,
  297. search: true,
  298. overHidden: true,
  299. prop: 'driverId',
  300. type: 'select',
  301. dicUrl: "/api/blade-client/land-driver/driver-list?vehicleId={{key}}",
  302. props: {
  303. label: "name",
  304. value: "id"
  305. },
  306. }, {
  307. label: '电话',
  308. width: 160,
  309. index:8,
  310. overHidden: true,
  311. search: true,
  312. prop: 'tel'
  313. }, {
  314. label: '平台号',
  315. width: 100,
  316. index: 9,
  317. search: true,
  318. overHidden: true,
  319. prop: 'orderNo'
  320. }, {
  321. label: '箱号',
  322. cell: true,
  323. width: 245,
  324. index: 10,
  325. overHidden: true,
  326. search: true,
  327. prop: 'ctnNo'
  328. },{
  329. label: '实际到厂时间',
  330. prop: 'realArrivalTime',
  331. overHidden: true,
  332. type: "date",
  333. searchRange: true,
  334. defaultTime: ['00:00:00', '23:59:59'],
  335. format: "yyyy-MM-dd HH:mm:ss",
  336. valueFormat: "yyyy-MM-dd HH:mm:ss",
  337. index: 11,
  338. width: 140
  339. },{
  340. label: '受理日期',
  341. type: "datetime",
  342. format: 'yyyy-MM-dd HH:mm:ss',
  343. valueFormat: 'yyyy-MM-dd HH:mm:ss',
  344. width: 200,
  345. index: 12,
  346. prop: 'acceptTime'
  347. },{
  348. label: '提箱时间',
  349. type: "borrowTime",
  350. format: 'yyyy-MM-dd HH:mm:ss',
  351. valueFormat: 'yyyy-MM-dd HH:mm:ss',
  352. width: 200,
  353. index: 12,
  354. prop: 'acceptTime'
  355. },{
  356. label: '完工日期',
  357. prop: 'finishedTime',
  358. overHidden: true,
  359. type: "date",
  360. searchRange: true,
  361. defaultTime: ['00:00:00', '23:59:59'],
  362. format: "yyyy-MM-dd HH:mm:ss",
  363. valueFormat: "yyyy-MM-dd HH:mm:ss",
  364. index:13,
  365. width: 140,
  366. // search: true,
  367. },{
  368. label: '箱型',
  369. width: 100,
  370. search: true,
  371. index: 14,
  372. overHidden: true,
  373. prop: 'ctnType',
  374. type: 'select',
  375. dicUrl: "/api/blade-system/dict-biz/dictionary?code=boxType",
  376. props: {
  377. label: "dictValue",
  378. value: "dictValue"
  379. },
  380. }, {
  381. label: '箱量',
  382. width: 50,
  383. index: 15,
  384. prop: 'ctnQuantity'
  385. },{
  386. label: '货物名称',
  387. overHidden: true,
  388. width: 160,
  389. search: true,
  390. index: 16,
  391. prop: 'goods'
  392. }, {
  393. label: '件数',
  394. width: 100,
  395. search: true,
  396. index: 17,
  397. overHidden: true,
  398. controls: false,
  399. cell: true,
  400. prop: 'quantity',
  401. type: 'number',
  402. precision:0
  403. }, {
  404. label: '重量(吨)',
  405. width: 160,
  406. prop: 'landWeight',
  407. controls: false,
  408. overHidden: true,
  409. index: 18,
  410. precision: 2,
  411. type: 'number'
  412. },{
  413. label: '尺码',
  414. width: 100,
  415. // search: true,
  416. index:19,
  417. overHidden: true,
  418. cell: true,
  419. prop: 'size',
  420. }, {
  421. label: '应付陆运费',
  422. overHidden: true,
  423. index: 20,
  424. prop: 'landAmountC'
  425. }, {
  426. label: '委托备注',
  427. overHidden: true,
  428. width: 245,
  429. index: 21,
  430. prop: 'remarks'
  431. }, {
  432. label: '车队备注',
  433. overHidden: true,
  434. width: 245,
  435. index: 22,
  436. prop: 'fleetRemarks'
  437. }, {
  438. label: '司机备注',
  439. overHidden: true,
  440. cell: true,
  441. width: 245,
  442. index: 23,
  443. prop: 'driverRemarks'
  444. },{
  445. label: '场站费',
  446. width: 100,
  447. precision: 2,
  448. cell: true,
  449. index: 24,
  450. controls: false,
  451. type: 'number',
  452. prop: 'oneFeeC'
  453. }, {
  454. label: '港杂费',
  455. width: 100,
  456. precision: 2,
  457. cell: true,
  458. index: 25,
  459. controls: false,
  460. type: 'number',
  461. prop: 'twoFeeC'
  462. }, {
  463. label: '扣款',
  464. width: 100,
  465. precision: 2,
  466. cell: true,
  467. index: 26,
  468. controls: false,
  469. type: 'number',
  470. prop: 'threeFeeC'
  471. }, {
  472. label: '待时费',
  473. width: 100,
  474. index: 27,
  475. precision: 2,
  476. cell: true,
  477. controls: false,
  478. type: 'number',
  479. prop: 'fourFeeC'
  480. }, {
  481. label: '其他',
  482. width: 100,
  483. precision: 2,
  484. index: 28,
  485. cell: true,
  486. type: 'number',
  487. controls: false,
  488. prop: 'fiveFeeC'
  489. }, {
  490. label: '费用备注',
  491. width: 245,
  492. index: 29,
  493. cell: true,
  494. prop: 'feeRemarksC'
  495. },{
  496. label: '制单日期',
  497. overHidden: true,
  498. prop: 'createTime',
  499. type: "date",
  500. searchRange: true,
  501. defaultTime: ['00:00:00', '23:59:59'],
  502. format: "yyyy-MM-dd HH:mm:ss",
  503. valueFormat: "yyyy-MM-dd HH:mm:ss",
  504. index: 30,
  505. width: 140,
  506. search: true,
  507. },{
  508. label: '船名航次',
  509. prop: 'factory',
  510. overHidden: true,
  511. index: 31,
  512. width: 140,
  513. search: true,
  514. },{
  515. label: '状态',
  516. width: 100,
  517. type: 'select',
  518. index:32,
  519. overHidden: true,
  520. dicUrl: "/api/blade-system/dict-biz/dictionary?code=land_order_status",
  521. props: {
  522. label: "dictValue",
  523. value: "dictKey"
  524. },
  525. dataType: "string",
  526. prop: 'status'
  527. }
  528. ],
  529. },
  530. totalData:{}
  531. }
  532. },
  533. async created() {
  534. this.goodsOptionCrud = await this.getColumnData(this.getColumnName(88), this.optionList);
  535. this.key++
  536. let i = 0;
  537. this.goodsOptionCrud.column.forEach(item => {
  538. if (item.search) i++
  539. })
  540. if (i % 3 !== 0) {
  541. const num = 3 - Number(i % 3)
  542. this.goodsOptionCrud.searchMenuSpan = num * 8;
  543. this.goodsOptionCrud.searchMenuPosition = "right";
  544. }
  545. },
  546. methods: {
  547. //自定义列保存
  548. async saveColumn() {
  549. /**
  550. * 已定义全局方法,直接使用,saveColumnData保存列数据方法,参数传值(表格名称,当前表格的option数据)
  551. * 已定义全局方法,直接使用,getColumnName方法用来获取枚举值,参数根据自己定义的code值获取中文名
  552. * 一定要执行异步操作,要等接口成功返回,才能执行下一行代码
  553. */
  554. const inSave = await this.saveColumnData(this.getColumnName(88), this.goodsOptionCrud);
  555. if (inSave) {
  556. this.$message.success("保存成功");
  557. //关闭窗口
  558. this.$refs.crud.$refs.dialogColumn.columnBox = false;
  559. }
  560. },
  561. //自定义列重置
  562. async resetColumn() {
  563. this.goodsOptionCrud = this.optionList;
  564. const inSave = await this.delColumnData(this.getColumnName(88), this.optionList);
  565. if (inSave) {
  566. this.$message.success("重置成功");
  567. this.$refs.crud.$refs.dialogColumn.columnBox = false;
  568. }
  569. },
  570. // 获得高度
  571. searchCriteriaSwitch(type) {
  572. if (type) {
  573. this.goodsOptionCrud.height = this.goodsOptionCrud.height - 230
  574. } else {
  575. this.goodsOptionCrud.height = this.goodsOptionCrud.height + 230
  576. }
  577. this.$refs.crud.getTableHeight()
  578. },
  579. //箱信息保存
  580. rowSave(row, index, done, loading) {
  581. done()
  582. },
  583. //箱信息选择车队
  584. getfleetIdT(data, row) {
  585. this.$set(row, 'fleetName', data.cname)
  586. },
  587. //搜索
  588. searchChange(params, done) {
  589. let data = params
  590. if (params.arrivalTime) {
  591. data.beginArrivalTime = params.arrivalTime[0]
  592. data.endArrivalTime = params.arrivalTime[1]
  593. }
  594. if (params.createTime) {
  595. data.beginCrateTime = params.createTime[0]
  596. data.endCrateTime = params.createTime[1]
  597. }
  598. delete data.arrivalTime
  599. delete data.createTime
  600. this.onLoad(this.page, params)
  601. done();
  602. },
  603. //切换订单状态
  604. handleClick(tab) {
  605. this.activeName = tab
  606. this.onLoad(this.page)
  607. },
  608. //查询
  609. onLoad(page, params) {
  610. motorcadeDriver(4).then(res=>{
  611. this.totalData = res.data.data
  612. })
  613. let queryParams = {
  614. size: page.pageSize,
  615. current: page.currentPage,
  616. tag: '4',
  617. ...params
  618. }
  619. this.loading = true;
  620. driverQueryCollection(queryParams).then(res => {
  621. this.goodsList = res.data.data.records
  622. this.page.total = res.data.data.total
  623. this.goodsOptionCrud.height = window.innerHeight - 345;
  624. }).finally(() => {
  625. this.loading = false;
  626. })
  627. },
  628. //箱信息保存
  629. rowSaveT(row, index, done, loading) {
  630. if (row.$cellEdit){
  631. fleetDriverSave(row).then(res=>{
  632. this.$message.success("保存成功");
  633. })
  634. }
  635. this.$refs.crud.rowCell(row, index)
  636. },
  637. //箱信息派车
  638. designate(row) {
  639. this.$confirm('是否确定受理', '提示', {
  640. confirmButtonText: '确定',
  641. cancelButtonText: '取消',
  642. type: 'warning'
  643. }).then(() => {
  644. acceptanceCollection(row).then(res => {
  645. this.$message.success('操作成功');
  646. this.onLoad(this.page)
  647. })
  648. }).catch(() => {
  649. this.$message({
  650. type: 'info',
  651. message: '已取消'
  652. });
  653. });
  654. },
  655. //取消派车
  656. cancelDesignate(row) {
  657. this.$confirm('是否确定取消受理', '提示', {
  658. confirmButtonText: '确定',
  659. cancelButtonText: '取消',
  660. type: 'warning'
  661. }).then(() => {
  662. acceptanceDispatchCollection({id: row.id}).then(res => {
  663. this.$message.success('操作成功');
  664. this.onLoad(this.page)
  665. })
  666. }).catch(() => {
  667. this.$message({
  668. type: 'info',
  669. message: '已取消'
  670. });
  671. });
  672. },
  673. confirmCompletion(row) {
  674. if (row.realArrivalTime){
  675. this.$confirm('是否确定完工', '提示', {
  676. confirmButtonText: '确定',
  677. cancelButtonText: '取消',
  678. type: 'warning'
  679. }).then(() => {
  680. confirmCompletion({id: row.id}).then(res => {
  681. this.$message.success('操作成功');
  682. this.onLoad(this.page)
  683. })
  684. }).catch(() => {
  685. this.$message({
  686. type: 'info',
  687. message: '已取消'
  688. });
  689. });
  690. }else {
  691. this.$message({
  692. type: 'warning',
  693. message: '请选择实际到厂时间!'
  694. });
  695. }
  696. },
  697. suitcase(row){
  698. this.$confirm('是否确定提箱', '提示', {
  699. confirmButtonText: '确定',
  700. cancelButtonText: '取消',
  701. type: 'warning'
  702. }).then(() => {
  703. borrow({id: row.id}).then(res => {
  704. this.$message.success('操作成功');
  705. this.onLoad(this.page)
  706. })
  707. }).catch(() => {
  708. this.$message({
  709. type: 'info',
  710. message: '已取消'
  711. });
  712. });
  713. },
  714. confirmArrival(row) {
  715. this.$confirm('是否确定到厂', '提示', {
  716. confirmButtonText: '确定',
  717. cancelButtonText: '取消',
  718. type: 'warning'
  719. }).then(() => {
  720. arrival({id: row.id}).then(res => {
  721. this.$message.success('操作成功');
  722. this.onLoad(this.page)
  723. })
  724. }).catch(() => {
  725. this.$message({
  726. type: 'info',
  727. message: '已取消'
  728. });
  729. });
  730. },
  731. //打开附件
  732. annexOpen(row, index){
  733. this.dialogVisible = true
  734. this.form = row
  735. getAttachment({id:row.id}).then(res=>{
  736. console.log(res)
  737. this.orderList = res.data.data
  738. })
  739. },
  740. //保存
  741. saveAnnex(){
  742. saveAttached({
  743. id:this.form.id,
  744. fileList:this.orderList
  745. }).then(res=>{
  746. this.annexOpen(this.form)
  747. })
  748. },
  749. ToBreak (val) {
  750. if (val)return val.replace(/\n/g, '<br/>')
  751. }
  752. }
  753. }
  754. </script>
  755. <style lang="scss" scoped>
  756. .home-container {
  757. padding: 0px 5px 5px 5px;
  758. box-sizing: border-box;
  759. height: 100%;
  760. ::v-deep .el-card__body {
  761. padding: 10px 15px;
  762. font-size: 14px;
  763. }
  764. &__card {
  765. width: 100%;
  766. height: 100%;
  767. }
  768. .title {
  769. display: flex;
  770. justify-content: space-between;
  771. .right {
  772. display: flex;
  773. align-items: center;
  774. &_but {
  775. margin-right: 10px;
  776. border: 1px solid #409eff;
  777. width: 80px;
  778. border-radius: 3px;
  779. display: flex;
  780. &_left {
  781. width: 40px;
  782. text-align: center;
  783. color: #409eff;
  784. cursor: pointer;
  785. }
  786. &_right {
  787. width: 40px;
  788. text-align: center;
  789. color: #409eff;
  790. cursor: pointer;
  791. }
  792. &_active {
  793. color: #fff;
  794. background-color: #409eff;
  795. }
  796. }
  797. }
  798. }
  799. }
  800. .content {
  801. display: flex;
  802. justify-content: center;
  803. align-items: center;
  804. height: 6vh;
  805. width: 80vw;
  806. .divider {
  807. display: block;
  808. height: 0px;
  809. width: 100%;
  810. border-top: 1px dashed #dcdfe6;
  811. }
  812. &-item {
  813. margin-left: 1vw;
  814. .card {
  815. width: 130px;
  816. display: flex;
  817. align-items: center;
  818. &-title {
  819. width: 40px;
  820. height: 40px;
  821. text-align: center;
  822. border-radius: 50%;
  823. font-size: 20px;
  824. font-weight: 600;
  825. display: flex;
  826. justify-content: center;
  827. align-items: center;
  828. span {
  829. line-height: 20px;
  830. }
  831. }
  832. &-title1 {
  833. color: #037fe1;
  834. background-color: rgba(3, 127, 225, 0.15);
  835. }
  836. &-title2 {
  837. color: #ffa21e;
  838. background-color: rgba(255, 162, 30, 0.15);
  839. }
  840. &-title3 {
  841. color: #fb5b60;
  842. background-color: rgba(251, 91, 96, 0.15);
  843. }
  844. &-title4 {
  845. color: #42bc6f;
  846. background-color: rgba(66, 188, 111, 0.15);
  847. }
  848. &-title5 {
  849. color: #14cde1;
  850. background-color: rgba(52, 149, 161, 0.15);
  851. }
  852. &-title6 {
  853. color: rgba(4, 66, 31, 0.63);
  854. background-color: rgba(66, 188, 111, 0.15);
  855. }
  856. &-content {
  857. padding-left: 1vw;
  858. display: flex;
  859. flex-direction: column;
  860. &-num {
  861. font-size: 20px;
  862. font-weight: 600;
  863. }
  864. &-text {
  865. color: #909399;
  866. }
  867. }
  868. }
  869. }
  870. }
  871. </style>