index.vue 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774
  1. <template>
  2. <div>
  3. <basic-container v-show="isShow">
  4. <avue-crud :option="option" :table-loading="loading" :data="data" :page.sync="page" :search.sync="query"
  5. v-model="form" id="out-table" :header-cell-class-name="headerClassName" ref="crud" @row-del="rowDel"
  6. @search-change="searchChange" @search-reset="searchReset" @selection-change="selectionChange"
  7. @current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange"
  8. @resetColumn="resetColumn('crud', 'option', 'optionBack', 387)"
  9. @saveColumn="saveColumn('crud', 'option', 'optionBack', 387)" @on-load="onLoad">
  10. <template slot="checkboxSearch">
  11. <el-checkbox-group v-model="query.checkbox" @change="handleCheckedChange">
  12. <el-checkbox v-for="item in statusList" :label="item.value" :key="item.value">{{ item.label
  13. }}</el-checkbox>
  14. </el-checkbox-group>
  15. <!-- <avue-form v-model="query.checkbox" :option="checkboxOption"></avue-form> -->
  16. </template>
  17. <tempalte slot="operatorNameSearch">
  18. <dic-select v-model="query.operatorName" placeholder="操作员" key="id" label="realName"
  19. res="records" url="/blade-user/page" :filterable="true" :remote="true" dataName="realName"></dic-select>
  20. </tempalte>
  21. <template slot="status" slot-scope="{ row }">
  22. <div>
  23. <span v-if="row.status == item.dictKey" v-for="(item, index) in auditStatusList" :key="index"
  24. :style="{ 'background-color': item.colour }"
  25. style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;">
  26. {{ item.dictValue }}
  27. </span>
  28. </div>
  29. </template>
  30. <template slot="stlDrStatusDescr" slot-scope="{ row }">
  31. <div>
  32. <span v-if="row.stlDrStatusDescr == '未结'"
  33. style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #67C23A;">
  34. 未结
  35. </span>
  36. <span v-if="row.stlDrStatusDescr == '已结'"
  37. style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #409EFF;">
  38. 已结
  39. </span>
  40. <span v-if="row.stlDrStatusDescr == '部分结'"
  41. style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #F56C6C;">
  42. 部分结
  43. </span>
  44. </div>
  45. </template>
  46. <template slot="stlCrStatusDescr" slot-scope="{ row }">
  47. <div>
  48. <span v-if="row.stlCrStatusDescr == '未结'"
  49. style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #67C23A;">
  50. 未结
  51. </span>
  52. <span v-if="row.stlCrStatusDescr == '结清'"
  53. style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #409EFF;">
  54. 结清
  55. </span>
  56. <span v-if="row.stlCrStatusDescr == '部分'"
  57. style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #F56C6C;">
  58. 部分
  59. </span>
  60. </div>
  61. </template>
  62. <template slot="menuLeft">
  63. <el-button type="primary" size="small" icon="el-icon-plus" @click="addButton">新 增
  64. </el-button>
  65. <el-button type="success" size="small" :disabled="selectionList.length != 1" @click="copyButton">复制订单
  66. </el-button>
  67. <el-button type="warning" size="small" :disabled="selectionList.length == 0" @click="allClick('退押')">退押
  68. </el-button>
  69. <el-button type="info" size="small" :disabled="selectionList.length == 0" @click="allClick('撤销退押')">撤销退押
  70. </el-button>
  71. <!-- <el-button type="warning" size="small" @click="outExport">导 出
  72. </el-button> -->
  73. </template>
  74. <template slot="menu" slot-scope="{ row, index }">
  75. <el-button size="small" icon="el-icon-edit" type="text" @click="rowEdit(row)">编辑</el-button>
  76. <el-button size="small" icon="el-icon-delete" type="text" @click="rowDel(row, index)"
  77. :disabled="row.status != '0'">删 除</el-button>
  78. </template>
  79. <template slot="bookingNo" slot-scope="{ row }">
  80. <span style="color: #1e9fff;cursor: pointer;" @click="rowEdit(row)">{{ row.bookingNo }}</span>
  81. </template>
  82. </avue-crud>
  83. </basic-container>
  84. <detailsPage v-if="!isShow" :detailData="detailData" @goBack="goBack"></detailsPage>
  85. </div>
  86. </template>
  87. <script>
  88. import { getList, remove, retreatPledge } from "@/api/tradeAgency/oceanFreightImport";
  89. import detailsPage from "./detailsPage";
  90. import { getToken } from "@/util/auth";
  91. import dicSelect from "@/components/dicSelect/main";
  92. import { getWorkDicts } from "@/api/system/dictbiz";
  93. export default {
  94. data() {
  95. return {
  96. auditStatusList: [],
  97. detailData: {},
  98. isShow: true,
  99. form: {},
  100. query: {
  101. checkbox: [],
  102. },
  103. loading: false,
  104. page: {
  105. pageSize: 10,
  106. currentPage: 1,
  107. total: 0
  108. },
  109. selectionList: [],
  110. statusList: [
  111. {
  112. label: '已开船',
  113. value: 'whetherSail'
  114. },
  115. {
  116. label: '已到港',
  117. value: 'whetherReachHarbor'
  118. },
  119. {
  120. label: '已通关',
  121. value: 'whetherClearance'
  122. },
  123. {
  124. label: '已派车',
  125. value: 'whetherDispatchCar'
  126. },
  127. {
  128. label: '已入库',
  129. value: ''
  130. },
  131. {
  132. label: '已取消',
  133. value: 'whetherCancel'
  134. }
  135. ],
  136. option: {},
  137. optionBack: {
  138. height: 'auto',
  139. calcHeight: 30,
  140. menuWidth: 140,
  141. tip: false,
  142. searchShow: true,
  143. searchMenuSpan: 12,
  144. border: true,
  145. index: true,
  146. addBtn: false,
  147. viewBtn: false,
  148. editBtn: false,
  149. delBtn: false,
  150. selection: true,
  151. searchIcon: true,
  152. searchIndex: 3,
  153. column: [
  154. {
  155. label: "是否退押",
  156. prop: "billingStatus",
  157. width: "70",
  158. type: 'select',
  159. dicData: [{
  160. label: '是',
  161. value: 1
  162. }, {
  163. label: '否',
  164. value: 0
  165. }],
  166. // searchOrder: 10,
  167. // search: true,
  168. overHidden: true
  169. },
  170. {
  171. label: "客户名称",
  172. prop: "corpCnName",
  173. width: "120",
  174. overHidden: true,
  175. search: true,
  176. type: 'select',
  177. filterable: true,
  178. remote: true,
  179. dicUrl: "/api/blade-los/bcorps/listByType?corpTypeName=客户&cnName={{key}}",
  180. props: {
  181. label: 'cnName',
  182. value: 'cnName',
  183. res: 'data.records'
  184. },
  185. searchOrder: 1,
  186. },
  187. {
  188. label: "合同号",
  189. prop: "bookingNo",
  190. width: "140",
  191. overHidden: true,
  192. search: true,
  193. searchOrder: 3,
  194. },
  195. {
  196. label: "提单号",
  197. prop: "mblno",
  198. width: "120",
  199. overHidden: true,
  200. search: true,
  201. searchOrder: 2,
  202. },
  203. {
  204. label: "业务编号",
  205. prop: "billNo",
  206. width: "120",
  207. overHidden: true,
  208. search: true,
  209. searchOrder: 9,
  210. },
  211. {
  212. label: "委托编号",
  213. prop: "hblno",
  214. width: "120",
  215. overHidden: true,
  216. search: true,
  217. searchOrder: 9.1,
  218. },
  219. {
  220. label: "放单方式",
  221. prop: "mconsigneeCntyCode",
  222. width: "90",
  223. overHidden: true,
  224. },
  225. {
  226. label: "应收结算状态",
  227. prop: "stlDrStatusDescr",
  228. type: 'select',
  229. search: true,
  230. searchOrder: 14,
  231. dicData: [{
  232. label: '未结',
  233. value: '未结'
  234. }, {
  235. label: '部分',
  236. value: '部分'
  237. }, {
  238. label: '结清',
  239. value: '结清'
  240. }],
  241. width: "100",
  242. searchLabelWidth:'100',
  243. overHidden: true,
  244. },
  245. {
  246. label: "应付结算状态",
  247. prop: "stlCrStatusDescr",
  248. type: 'select',
  249. search: true,
  250. searchOrder: 15,
  251. dicData: [{
  252. label: '未结',
  253. value: '未结'
  254. }, {
  255. label: '部分',
  256. value: '部分'
  257. }, {
  258. label: '结清',
  259. value: '结清'
  260. }],
  261. width: "100",
  262. searchLabelWidth:'100',
  263. overHidden: true,
  264. },
  265. {
  266. label: "审核状态",
  267. prop: "status",
  268. type: 'select',
  269. dicUrl: "/api/blade-system/dict-biz/dictionary?code=audit_status_los",
  270. width: '120',
  271. props: {
  272. label: "dictValue",
  273. value: "dictKey"
  274. },
  275. overHidden: true,
  276. },
  277. {
  278. label: '操作员',
  279. prop: 'operatorName',
  280. search: true,
  281. searchOrder: 11,
  282. overHidden: true
  283. },
  284. {
  285. label: "发货人",
  286. prop: "hshipperCnName",
  287. width: "80",
  288. overHidden: true,
  289. },
  290. {
  291. label: "收货人",
  292. prop: "hconsigneeCnName",
  293. width: "80",
  294. overHidden: true,
  295. },
  296. {
  297. label: "船名",
  298. prop: "vesselCnName",
  299. width: "80",
  300. overHidden: true,
  301. },
  302. {
  303. label: "航次",
  304. prop: "voyageNo",
  305. width: "80",
  306. overHidden: true,
  307. },
  308. {
  309. label: "起运港",
  310. prop: "polCnName",
  311. width: "80",
  312. overHidden: true
  313. },
  314. {
  315. label: "目的港",
  316. prop: "podCnName",
  317. width: "80",
  318. overHidden: true
  319. },
  320. {
  321. label: '原产地',
  322. prop: "mnotifyCntyCode",
  323. width: "80",
  324. overHidden: true
  325. },
  326. {
  327. label: '报关单号',
  328. prop: "mnotify2CntyName",
  329. width: "100",
  330. overHidden: true
  331. },
  332. {
  333. label: '报关日期',
  334. prop: "issueDate",
  335. width: "100",
  336. overHidden: true
  337. },
  338. {
  339. label: "开船日期",
  340. prop: "etd",
  341. width: "120",
  342. overHidden: true,
  343. search: true,
  344. searchOrder: 6,
  345. searchProp: "etdList",
  346. type: "date",
  347. unlinkPanels: true,
  348. searchRange: true,
  349. format: "yyyy-MM-dd",
  350. valueFormat: "yyyy-MM-dd HH:mm:ss",
  351. searchDefaultTime: ["00:00:00", "23:59:59"],
  352. },
  353. {
  354. label: "预计到港",
  355. prop: "bookingDate",
  356. width: "120",
  357. overHidden: true,
  358. search: true,
  359. searchOrder: 7,
  360. searchProp: "bookingDateList",
  361. type: "date",
  362. unlinkPanels: true,
  363. searchRange: true,
  364. format: "yyyy-MM-dd",
  365. valueFormat: "yyyy-MM-dd HH:mm:ss",
  366. searchDefaultTime: ["00:00:00", "23:59:59"],
  367. },
  368. {
  369. label: "实际到港",
  370. prop: "eta",
  371. width: "120",
  372. overHidden: true,
  373. search: true,
  374. searchOrder: 8,
  375. searchProp: "etaList",
  376. type: "date",
  377. unlinkPanels: true,
  378. searchRange: true,
  379. format: "yyyy-MM-dd",
  380. valueFormat: "yyyy-MM-dd HH:mm:ss",
  381. searchDefaultTime: ["00:00:00", "23:59:59"],
  382. },
  383. {
  384. label: "品名",
  385. prop: "commodityDescr",
  386. width: "120",
  387. overHidden: true
  388. },
  389. {
  390. label: "件数",
  391. prop: "quantity",
  392. width: "80",
  393. overHidden: true
  394. },
  395. {
  396. label: "毛重",
  397. prop: "grossWeight",
  398. width: "80",
  399. overHidden: true
  400. },
  401. {
  402. label: "净重",
  403. prop: "netWeight",
  404. width: "80",
  405. overHidden: true
  406. },
  407. {
  408. label: "装箱方式",
  409. prop: "loadType",
  410. type: 'select',
  411. dicData: [{
  412. label: '整箱',
  413. value: 'FCL'
  414. }, {
  415. label: '拼箱',
  416. value: 'LCL'
  417. }],
  418. width: "120",
  419. overHidden: true,
  420. },
  421. {
  422. label: "箱型箱量",
  423. prop: "quantityCntrDescr",
  424. width: "100",
  425. overHidden: true
  426. },
  427. {
  428. label: "利润",
  429. prop: "amountProfitLoc",
  430. width: "100",
  431. overHidden: true
  432. },
  433. {
  434. label: "应付",
  435. prop: "amountCrLoc",
  436. width: "100",
  437. overHidden: true
  438. },
  439. {
  440. label: "应收",
  441. prop: "amountDrLoc",
  442. width: "100",
  443. overHidden: true
  444. },
  445. {
  446. label: '贸易方式',
  447. prop: "mshipperCntyName",
  448. width: "100",
  449. overHidden: true
  450. },
  451. {
  452. label: "创建人",
  453. prop: "createUserName",
  454. width: "80",
  455. overHidden: true
  456. },
  457. {
  458. label: "是否退押",
  459. prop: "billingStatus",
  460. width: "70",
  461. type: 'select',
  462. dicData: [{
  463. label: '是',
  464. value: 1
  465. }, {
  466. label: '否',
  467. value: 0
  468. }],
  469. hide: true,
  470. showColumn: false,
  471. searchOrder: 10,
  472. search: true,
  473. overHidden: true
  474. },
  475. {
  476. label: "创建日期",
  477. prop: "createTime",
  478. width: "100",
  479. overHidden: true
  480. },
  481. {
  482. label: "修改人",
  483. prop: "updateUserName",
  484. width: "80",
  485. overHidden: true
  486. },
  487. {
  488. label: "修改日期",
  489. prop: "updateTime",
  490. width: "100",
  491. overHidden: true
  492. },
  493. {
  494. label: "备注",
  495. prop: "remarks",
  496. width: "80",
  497. overHidden: true
  498. },
  499. {
  500. label: "多选",
  501. prop: "checkbox",
  502. overHidden: true,
  503. search: true,
  504. searchSpan: 12,
  505. searchOrder: 16,
  506. hide: true,
  507. showColumn: false,
  508. }
  509. ]
  510. },
  511. data: [],
  512. };
  513. },
  514. components: {
  515. detailsPage,
  516. dicSelect
  517. },
  518. async created() {
  519. this.option = await this.getColumnData(this.getColumnName(387), this.optionBack);
  520. // 获取业务审核状态
  521. getWorkDicts('audit_status_los').then(res => {
  522. this.auditStatusList = res.data.data;
  523. })
  524. },
  525. activated() {
  526. setTimeout(() => {
  527. if (this.$route.query.billNo) {
  528. this.isShow = false
  529. this.$store.commit("IN_OCEANFS_DETAIL");
  530. }
  531. if (this.$route.query.billId) {
  532. this.isShow = false
  533. this.$store.commit("IN_OCEANFS_DETAIL");
  534. }
  535. if (this.$route.query.id) {
  536. this.isShow = false
  537. this.$store.commit("IN_OCEANFS_DETAIL");
  538. }
  539. if (this.$route.query.home) {
  540. this.isShow = false
  541. }
  542. }, 100);
  543. },
  544. methods: {
  545. allClick(name) {
  546. if (name == '退押') {
  547. let ids = []
  548. for (let item of this.selectionList) {
  549. ids.push(item.id)
  550. if (item.billingStatus == 1) return this.$message.error('第' + Number(item.$index + 1) + '行不能退押');
  551. }
  552. const loading = this.$loading({
  553. lock: true,
  554. text: '加载中',
  555. spinner: 'el-icon-loading',
  556. background: 'rgba(255,255,255,0.7)'
  557. });
  558. retreatPledge({ ids: ids.join(','), type: 1 }).then(res => {
  559. this.$message.success("操作成功");
  560. this.onLoad(this.page, this.query);
  561. }).finally(() => {
  562. loading.close()
  563. })
  564. }
  565. if (name == '撤销退押') {
  566. let ids = []
  567. for (let item of this.selectionList) {
  568. ids.push(item.id)
  569. if (item.billingStatus == 0) return this.$message.error('第' + Number(item.$index + 1) + '行不能撤销退押');
  570. }
  571. const loading = this.$loading({
  572. lock: true,
  573. text: '加载中',
  574. spinner: 'el-icon-loading',
  575. background: 'rgba(255,255,255,0.7)'
  576. });
  577. retreatPledge({ ids: ids.join(','), type: 2 }).then(res => {
  578. this.$message.success("操作成功");
  579. this.onLoad(this.page, this.query);
  580. }).finally(() => {
  581. loading.close()
  582. })
  583. }
  584. },
  585. handleCheckedChange() {
  586. delete this.query.whetherSail
  587. delete this.query.whetherReachHarbor
  588. delete this.query.whetherClearance
  589. delete this.query.whetherDispatchCar
  590. delete this.query.whetherCancel
  591. if (this.query.checkbox) {
  592. this.query.checkbox.forEach(e => {
  593. this.query[e] = 1
  594. })
  595. }
  596. },
  597. addButton() {
  598. this.isShow = false
  599. this.$store.commit("IN_OCEANFS_DETAIL");
  600. },
  601. copyButton() {
  602. this.isShow = false
  603. this.detailData = {
  604. copyId: this.selectionList[0].id
  605. };
  606. this.$store.commit("IN_OCEANFS_DETAIL");
  607. },
  608. rowEdit(row) {
  609. this.detailData = {
  610. id: row.id
  611. };
  612. this.isShow = false
  613. this.$store.commit("IN_OCEANFS_DETAIL");
  614. },
  615. // 删除
  616. rowDel(row, index) {
  617. this.$confirm("确定将选择数据删除?", {
  618. confirmButtonText: "确定",
  619. cancelButtonText: "取消",
  620. type: "warning"
  621. }).then(() => {
  622. remove({ ids: row.id }).then(res => {
  623. this.onLoad(this.page, this.query);
  624. this.$message.success("成功删除");
  625. })
  626. })
  627. },
  628. searchReset() {
  629. this.query = this.$options.data().query;
  630. this.onLoad(this.page);
  631. },
  632. // 搜索按钮点击
  633. searchChange(params, done) {
  634. this.page.currentPage = 1;
  635. this.onLoad(this.page, this.query);
  636. done();
  637. },
  638. selectionChange(list) {
  639. this.selectionList = list;
  640. },
  641. currentChange(currentPage) {
  642. this.page.currentPage = currentPage;
  643. },
  644. sizeChange(pageSize) {
  645. this.page.pageSize = pageSize;
  646. },
  647. refreshChange() {
  648. this.onLoad(this.page, this.query);
  649. },
  650. onLoad(page, params = {}) {
  651. let obj = {}
  652. obj = {
  653. ...Object.assign(params, this.query),
  654. }
  655. console.log(obj)
  656. this.loading = true;
  657. getList(page.currentPage, page.pageSize, obj).then(res => {
  658. this.data = res.data.data.records;
  659. this.page.total = res.data.data.total;
  660. this.$nextTick(() => {
  661. this.$refs.crud.doLayout();
  662. this.$refs.crud.dicInit();
  663. });
  664. }).finally(() => {
  665. this.loading = false;
  666. })
  667. },
  668. // 详情的返回列表
  669. goBack() {
  670. // 初始化数据
  671. if (JSON.stringify(this.$route.query) != "{}") {
  672. this.$router.$avueRouter.closeTag();
  673. this.$router.push({
  674. path: "/tradeAgency/oceanFreightImport/index"
  675. });
  676. }
  677. this.$store.commit("OUT_OCEANFS_DETAIL");
  678. this.detailData = {}
  679. this.isShow = true;
  680. this.onLoad(this.page, this.query);
  681. },
  682. outExport() {
  683. let config = { params: { ...this.query } }
  684. if (config.params) {
  685. for (const propName of Object.keys(config.params)) {
  686. const value = config.params[propName];
  687. if (value !== null && typeof (value) !== "undefined") {
  688. if (value instanceof Array) {
  689. for (const key of Object.keys(value)) {
  690. let params = propName + '[' + key + ']';
  691. config.params[params] = value[key]
  692. }
  693. delete config.params[propName]
  694. }
  695. }
  696. }
  697. }
  698. const routeData = this.$router.resolve({
  699. path: '/api/blade-los/agentview/export', //跳转目标窗口的地址
  700. query: {
  701. ...config.params, //括号内是要传递给新窗口的参数
  702. identification: this.url
  703. }
  704. })
  705. window.open(routeData.href.slice(1, routeData.href.length) + '&' + `${this.website.tokenHeader}=${getToken()}`);
  706. },
  707. //自定义列保存
  708. async saveColumn(ref, option, optionBack, code) {
  709. /**
  710. * 已定义全局方法,直接使用,saveColumnData保存列数据方法,参数传值(表格名称,当前表格的option数据)
  711. * 已定义全局方法,直接使用,getColumnName方法用来获取枚举值,参数根据自己定义的code值获取中文名
  712. * 一定要执行异步操作,要等接口成功返回,才能执行下一行代码
  713. */
  714. const inSave = await this.saveColumnData(this.getColumnName(code), this[option]);
  715. if (inSave) {
  716. this.$message.success("保存成功");
  717. //关闭窗口
  718. this.$refs[ref].$refs.dialogColumn.columnBox = false;
  719. this.searchReset()
  720. }
  721. },
  722. //自定义列重置
  723. async resetColumn(ref, option, optionBack, code) {
  724. this[option] = this[optionBack];
  725. const inSave = await this.delColumnData(this.getColumnName(code), this[optionBack]);
  726. if (inSave) {
  727. this.$message.success("重置成功");
  728. this.$refs[ref].$refs.dialogColumn.columnBox = false;
  729. this.searchReset()
  730. }
  731. },
  732. // 更改表格颜色
  733. headerClassName(tab) {
  734. //颜色间隔
  735. let back = ""
  736. if (tab.columnIndex >= 0 && tab.column.level === 1) {
  737. if (tab.columnIndex % 2 === 0) {
  738. back = "back-one"
  739. } else if (tab.columnIndex % 2 === 1) {
  740. back = "back-two"
  741. }
  742. }
  743. return back;
  744. },
  745. }
  746. }
  747. </script>
  748. <style scoped>
  749. ::v-deep#out-table .back-one {
  750. background: #ecf5ff !important;
  751. text-align: center;
  752. }
  753. ::v-deep#out-table .back-two {
  754. background: #ecf5ff !important;
  755. text-align: center;
  756. }
  757. .pointerClick {
  758. cursor: pointer;
  759. color: #1e9fff;
  760. }
  761. ::v-deep .el-col-md-8 {
  762. width: 24.33333%;
  763. }
  764. </style>