index.vue 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467
  1. <template>
  2. <div>
  3. <basic-container v-show="show">
  4. <div class="home-container"
  5. v-if="roleName.indexOf('平台') !== -1 || roleName.indexOf('客户') !== -1 || roleName.indexOf('administrator') !== -1 || roleName.indexOf('admin') !== -1">
  6. <div style="display: flex;justify-content: center;">
  7. <div class="content">
  8. <div class="content-item" @click="handleClick('')">
  9. <div class="card">
  10. <div class="card-title card-title1">
  11. <span>
  12. </span>
  13. </div>
  14. <div class="card-content">
  15. <span class="card-content-num" :class="!activeName?'selected':''">{{ totalData.all }}</span>
  16. <span class="card-content-text" :class="!activeName?'selected':''">全部</span>
  17. </div>
  18. </div>
  19. </div>
  20. <div class="divider"/>
  21. <div class="content-item" @click="handleClick('0')">
  22. <div class="card">
  23. <div class="card-title card-title7">
  24. <span>
  25. </span>
  26. </div>
  27. <div class="card-content">
  28. <span class="card-content-num" :class="activeName === '0'?'selected':''">{{ totalData.last }}</span>
  29. <span class="card-content-text" :class="activeName === '0'?'selected':''">未提交</span>
  30. </div>
  31. </div>
  32. </div>
  33. <div class="divider"/>
  34. <div class="content-item" @click="handleClick('1')">
  35. <div class="card">
  36. <div class="card-title card-title2">
  37. <span>
  38. </span>
  39. </div>
  40. <div class="card-content">
  41. <span class="card-content-num" :class="activeName === '1'?'selected':''">{{ totalData.zero }}</span>
  42. <span class="card-content-text" :class="activeName === '1'?'selected':''">未调度</span>
  43. </div>
  44. </div>
  45. </div>
  46. <div class="divider"/>
  47. <div class="content-item" @click="handleClick('2')">
  48. <div class="card">
  49. <div class="card-title card-title3">
  50. <span>
  51. </span>
  52. </div>
  53. <div class="card-content">
  54. <span class="card-content-num" :class="activeName === '2'?'selected':''">{{ totalData.one }}</span>
  55. <span class="card-content-text" :class="activeName === '2'?'selected':''">未派车</span>
  56. </div>
  57. </div>
  58. </div>
  59. <div class="divider"/>
  60. <div class="content-item" @click="handleClick('3')">
  61. <div class="card">
  62. <div class="card-title card-title4">
  63. <span>
  64. </span>
  65. </div>
  66. <div class="card-content">
  67. <span class="card-content-num" :class="activeName === '3'?'selected':''">{{ totalData.two }}</span>
  68. <span class="card-content-text" :class="activeName === '3'?'selected':''">未受理</span>
  69. </div>
  70. </div>
  71. </div>
  72. <div class="divider"/>
  73. <div class="content-item" @click="handleClick('4,6')">
  74. <div class="card">
  75. <div class="card-title card-title5">
  76. <span>
  77. </span>
  78. </div>
  79. <div class="card-content">
  80. <span class="card-content-num" :class="activeName === '4,6'?'selected':''">{{
  81. totalData.three
  82. }}</span>
  83. <span class="card-content-text" :class="activeName === '4,6'?'selected':''">未完工</span>
  84. </div>
  85. </div>
  86. </div>
  87. <div class="divider"/>
  88. <div class="content-item" @click="handleClick('5')">
  89. <div class="card">
  90. <div class="card-title card-title6">
  91. <span>
  92. </span>
  93. </div>
  94. <div class="card-content">
  95. <span class="card-content-num" :class="activeName === '5'?'selected':''">{{ totalData.four }}</span>
  96. <span class="card-content-text" :class="activeName === '5'?'selected':''">已关闭</span>
  97. </div>
  98. </div>
  99. </div>
  100. </div>
  101. </div>
  102. </div>
  103. <div class="home-container" v-if="roleName.indexOf('车队') !== -1">
  104. <div style="display: flex;justify-content: center;">
  105. <div class="content">
  106. <div class="content-item" @click="handleClick('')">
  107. <div class="card">
  108. <div class="card-title card-title1">
  109. <span>
  110. </span>
  111. </div>
  112. <div class="card-content">
  113. <span class="card-content-num" :class="!activeName?'selected':''">{{ totalData.all }}</span>
  114. <span class="card-content-text" :class="!activeName?'selected':''">全部</span>
  115. </div>
  116. </div>
  117. </div>
  118. <div class="divider"/>
  119. <div class="content-item" @click="handleClick('2')">
  120. <div class="card">
  121. <div class="card-title card-title3">
  122. <span>
  123. </span>
  124. </div>
  125. <div class="card-content">
  126. <span class="card-content-num" :class="activeName === '2'?'selected':''">{{ totalData.one }}</span>
  127. <span class="card-content-text" :class="activeName === '2'?'selected':''">未派车</span>
  128. </div>
  129. </div>
  130. </div>
  131. <div class="divider"/>
  132. <div class="content-item" @click="handleClick('3')">
  133. <div class="card">
  134. <div class="card-title card-title4">
  135. <span>
  136. </span>
  137. </div>
  138. <div class="card-content">
  139. <span class="card-content-num" :class="activeName === '3'?'selected':''">{{ totalData.two }}</span>
  140. <span class="card-content-text" :class="activeName === '3'?'selected':''">未受理</span>
  141. </div>
  142. </div>
  143. </div>
  144. <div class="divider"/>
  145. <div class="content-item" @click="handleClick('4,6')">
  146. <div class="card">
  147. <div class="card-title card-title5">
  148. <span>
  149. </span>
  150. </div>
  151. <div class="card-content">
  152. <span class="card-content-num" :class="activeName === '4,6'?'selected':''">{{
  153. totalData.three
  154. }}</span>
  155. <span class="card-content-text" :class="activeName === '4,6'?'selected':''">未完工</span>
  156. </div>
  157. </div>
  158. </div>
  159. <div class="divider"/>
  160. <div class="content-item" @click="handleClick('5')">
  161. <div class="card">
  162. <div class="card-title card-title6">
  163. <span>
  164. </span>
  165. </div>
  166. <div class="card-content">
  167. <span class="card-content-num" :class="activeName === '5'?'selected':''">{{ totalData.four }}</span>
  168. <span class="card-content-text" :class="activeName === '5'?'selected':''">已关闭</span>
  169. </div>
  170. </div>
  171. </div>
  172. </div>
  173. </div>
  174. </div>
  175. <div class="home-container" v-if="roleName.indexOf('司机') !== -1">
  176. <div style="display: flex;justify-content: center;">
  177. <div class="content">
  178. <div class="content-item" @click="handleClick('')">
  179. <div class="card">
  180. <div class="card-title card-title1">
  181. <span>
  182. </span>
  183. </div>
  184. <div class="card-content">
  185. <span class="card-content-num" :class="!activeName?'selected':''">{{ totalData.all }}</span>
  186. <span class="card-content-text" :class="!activeName?'selected':''">全部</span>
  187. </div>
  188. </div>
  189. </div>
  190. <div class="divider"/>
  191. <div class="content-item" @click="handleClick('3')">
  192. <div class="card">
  193. <div class="card-title card-title4">
  194. <span>
  195. </span>
  196. </div>
  197. <div class="card-content">
  198. <span class="card-content-num" :class="activeName === '3'?'selected':''">{{ totalData.two }}</span>
  199. <span class="card-content-text" :class="activeName === '3'?'selected':''">未受理</span>
  200. </div>
  201. </div>
  202. </div>
  203. <div class="divider"/>
  204. <div class="content-item" @click="handleClick('4,6')">
  205. <div class="card">
  206. <div class="card-title card-title5">
  207. <span>
  208. </span>
  209. </div>
  210. <div class="card-content">
  211. <span class="card-content-num" :class="activeName === '4,6'?'selected':''">{{
  212. totalData.three
  213. }}</span>
  214. <span class="card-content-text" :class="activeName === '4,6'?'selected':''">未完工</span>
  215. </div>
  216. </div>
  217. </div>
  218. <div class="divider"/>
  219. <div class="content-item" @click="handleClick('5')">
  220. <div class="card">
  221. <div class="card-title card-title6">
  222. <span>
  223. </span>
  224. </div>
  225. <div class="card-content">
  226. <span class="card-content-num" :class="activeName === '5'?'selected':''">{{ totalData.four }}</span>
  227. <span class="card-content-text" :class="activeName === '5'?'selected':''">已关闭</span>
  228. </div>
  229. </div>
  230. </div>
  231. </div>
  232. </div>
  233. </div>
  234. </basic-container>
  235. <basic-container v-show="show">
  236. <avue-crud
  237. :key="key"
  238. :table-loading="loading"
  239. :page.sync="page"
  240. :data="dataList"
  241. ref="crud"
  242. :option="option"
  243. :search.sync="query"
  244. @on-load="onLoad"
  245. @row-del="rowDel"
  246. @search-reset="query={};activeName = ''"
  247. @selection-change="selectionChange"
  248. @resetColumn="resetColumn"
  249. @saveColumn="saveColumn"
  250. @search-criteria-switch="searchCriteriaSwitch"
  251. @search-change="searchChange">
  252. <template slot="menuLeft" slot-scope="{size}"
  253. v-if="roleName.indexOf('客户') !== -1 || roleName.indexOf('分管调度') !== -1 || roleName.indexOf('administrator') !== -1 || roleName.indexOf('admin') !== -1">
  254. <el-button type="primary" icon="el-icon-plus" :size="size" @click="rowSave">创建单据</el-button>
  255. <el-button type="success" :size="size" :disabled="selectionList.length !== 1" @click="copyDocument">复制单据
  256. </el-button>
  257. <el-button type="info" :size="size" icon="el-icon-printer">报表打印</el-button>
  258. </template>
  259. <template slot="plateNo" slot-scope="{row}" v-if="!row.$cellEdit">
  260. <span class="el-button--text" style="cursor: pointer" @click="openTrack(row)">{{ row.plateNo }}</span>
  261. </template>
  262. <template slot="corpShortNameSearch" slot-scope="{ row,index}">
  263. <crop-select
  264. v-model="row.corpId"
  265. :corpType="'KH'"
  266. :label="'shortName'"
  267. ></crop-select>
  268. </template>
  269. <!-- <template slot="corpNameSearch" slot-scope="{ row,index}">-->
  270. <!-- <crop-select-->
  271. <!-- v-model="row.corpId"-->
  272. <!-- ></crop-select>-->
  273. <!-- </template>-->
  274. <template slot="addressDetail" slot-scope="{ row,index}">
  275. <el-tooltip class="item" effect="dark" placement="top">
  276. <div v-html="ToBreak(row.addressDetail)" slot="content"></div>
  277. <div style="overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">{{ row.addressDetail }}</div>
  278. </el-tooltip>
  279. </template>
  280. <template slot="unloadingPlace" slot-scope="{ row,index}">
  281. <el-tooltip class="item" effect="dark" placement="top">
  282. <div v-html="ToBreak(row.unloadingPlace)" slot="content"></div>
  283. <div style="overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">{{ row.unloadingPlace }}</div>
  284. </el-tooltip>
  285. </template>
  286. <template slot-scope="{row,index}" slot="menu">
  287. <el-button type="text"
  288. icon="el-icon-edit"
  289. size="small"
  290. @click.stop="rowCell(row,index)">查看
  291. </el-button>
  292. <el-button type="text"
  293. icon="el-icon-delete"
  294. size="small"
  295. :disabled="roleName.indexOf('经理') !== -1 || roleName.indexOf('部门经理') !== -1 || roleName.indexOf('总经理') !== -1 || roleName.indexOf('总调度') !== -1"
  296. v-if="row.status < 1"
  297. @click.stop="$refs.crud.rowDel(row,index)">删除
  298. </el-button>
  299. </template>
  300. <template slot="corpShortName" slot-scope="{row,index}">
  301. <span class="el-button--text" style="cursor: pointer"
  302. @click.stop="rowCell(row,index)">{{ row.corpShortName }}</span>
  303. </template>
  304. <template slot="dispatchNumber" slot-scope="{row,index}">
  305. <span class="el-button--text" style="cursor: pointer"
  306. @click.stop="rowCell(row,index)">{{ row.dispatchNumber }}</span>
  307. </template>
  308. <template slot="orderNo" slot-scope="{row,index}">
  309. <span class="el-button--text" style="cursor: pointer"
  310. @click.stop="rowCell(row,index)">{{ row.orderNo }}</span>
  311. </template>
  312. <template slot="contractNo" slot-scope="{row,index}">
  313. <span class="el-button--text" style="cursor: pointer" @click.stop="rowCell(row,index)">{{
  314. row.contractNo
  315. }}</span>
  316. </template>
  317. <template slot="fleetNameDetail" slot-scope="{row,index}">
  318. <span class="el-button--text" style="cursor: pointer" @click.stop="rowCell(row,index)">{{
  319. row.fleetNameDetail
  320. }}</span>
  321. </template>
  322. </avue-crud>
  323. </basic-container>
  324. <detail-page v-if="!show" @backToList="backToList" :id="id" :home="home"></detail-page>
  325. <el-dialog
  326. title="实时位置"
  327. append-to-body
  328. custom-class="dialog_two"
  329. :visible.sync="dialogVisible"
  330. lock-scroll
  331. width="80%">
  332. <div id="container"></div>
  333. </el-dialog>
  334. </div>
  335. </template>
  336. <script>
  337. import detailPage from './detailPage'
  338. import {getSalesman, removeDelegationList, selectInvoiceList, totalList} from "@/api/landTransportation/bulkCargo";
  339. import {getQueryString} from "@/util/util";
  340. import {businessStatisticsFrequency} from "@/api/wel";
  341. import {gaude, location} from "@/api/gaude";
  342. import {customerList, fleetList} from "@/api/basicData/customerInformation";
  343. import {defaultDate} from "@/util/date";
  344. export default {
  345. name: "index",
  346. components: {
  347. detailPage
  348. },
  349. data() {
  350. return {
  351. id: '',
  352. map: null,
  353. infoWindow: null,
  354. marker: null,
  355. dialogVisible: false,
  356. lineArr: [],
  357. activeName: '0',
  358. show: true,
  359. query: {},
  360. selectionList: [],
  361. dataList: [],
  362. loading: false,
  363. page: {
  364. pageSize: 10,
  365. currentPage: 1,
  366. total: 0,
  367. pageSizes: [10, 50, 100, 200, 300]
  368. },
  369. key: 0,
  370. totalData: {},
  371. option: {},
  372. optionList: {},
  373. //客户
  374. optionListOne: {
  375. align: 'center',
  376. stripe: true,
  377. index: true,
  378. menu: true,
  379. menuWidth: 120,
  380. addBtn: false,
  381. editBtn: false,
  382. delBtn: false,
  383. height: "auto",
  384. searchSpan: 8,
  385. searchIcon: true,
  386. searchIndex: 2,
  387. selection: true,
  388. highlightCurrentRow: true,
  389. showSummary: true,
  390. summaryText: "合计",
  391. sumColumnList: [{
  392. name: 'freightCollect',
  393. type: 'sum',
  394. decimals: 2
  395. }, {
  396. name: 'freightPay',
  397. type: 'sum',
  398. decimals: 2
  399. }],
  400. column: [
  401. {
  402. label: '货运日期',
  403. prop: 'arrivalTime',
  404. overHidden: true,
  405. type: "date",
  406. searchRange: true,
  407. defaultTime: ['00:00:00', '23:59:59'],
  408. format: "yyyy-MM-dd HH:mm",
  409. valueFormat: "yyyy-MM-dd HH:mm:ss",
  410. index: 1,
  411. width: 126,
  412. search: true,
  413. }, {
  414. label: '业务员',
  415. index: 2,
  416. width: 70,
  417. prop: 'salesmanName',
  418. searchProp: 'salesman',
  419. search: true,
  420. overHidden: true,
  421. filterable: true,
  422. type: "select",
  423. dicUrl: "/api/blade-user/userList?roleAlias=业务员",
  424. props: {
  425. label: "realName",
  426. value: "id"
  427. }
  428. }, {
  429. label: '物流运输',
  430. prop: 'dispatchDeptName',
  431. searchProp: 'dispatchDept',
  432. search: true,
  433. filterable: true,
  434. dicUrl: "/api/blade-system/dept/top-list?deptCategory=1",
  435. type: "select",
  436. props: {
  437. label: "deptName",
  438. value: "id"
  439. },
  440. overHidden: true,
  441. index: 3,
  442. width: 80
  443. }, {
  444. label: '运输调度',
  445. prop: 'dispatcherName',
  446. overHidden: true,
  447. index: 4,
  448. width: 70,
  449. }, {
  450. label: '派车单号',
  451. width: 80,
  452. index: 5,
  453. prop: 'dispatchNumber',
  454. overHidden: true,
  455. search: true,
  456. }, {
  457. label: '装货地点',
  458. prop: 'addressDetail',
  459. index: 6,
  460. width: 132,
  461. search: true,
  462. }, {
  463. label: '卸货地点',
  464. prop: 'unloadingPlace',
  465. index: 7,
  466. width: 132,
  467. search: true,
  468. }, {
  469. label: '车队',
  470. width: 90,
  471. index: 8,
  472. overHidden: true,
  473. prop: 'fleetShortName',
  474. searchProp: 'fleetId',
  475. type: 'select',
  476. cascader: ['plateNo'],
  477. props: {
  478. label: "cname",
  479. value: "id"
  480. },
  481. filterable: true,
  482. search: true,
  483. }, {
  484. label: '车型',
  485. width: 90,
  486. index: 9,
  487. prop: 'fleetVolum'
  488. }, {
  489. label: '运费',
  490. index: 11,
  491. width: 100,
  492. prop: 'freightCollect'
  493. }, {
  494. label: '状态',
  495. prop: 'status',
  496. index: 12,
  497. dicUrl: "/api/blade-system/dict-biz/dictionary?code=land_order_status_two",
  498. props: {
  499. label: "dictValue",
  500. value: "dictKey"
  501. },
  502. dataType: "string",
  503. type: 'select',
  504. overHidden: true,
  505. search: true,
  506. width: 90
  507. }, {
  508. label: '备注',
  509. index: 13,
  510. overHidden: true,
  511. width: 130,
  512. prop: 'remarks',
  513. }, {
  514. label: '公司名称',
  515. prop: 'corpShortName',
  516. overHidden: true,
  517. index: 14,
  518. width: 120,
  519. search: true,
  520. }, {
  521. label: '制单人',
  522. prop: 'createUserName',
  523. overHidden: true,
  524. index: 15,
  525. width: 60,
  526. }, {
  527. label: '制单日期',
  528. overHidden: true,
  529. prop: 'createTime',
  530. type: "date",
  531. searchRange: true,
  532. defaultTime: ['00:00:00', '23:59:59'],
  533. format: "yyyy-MM-dd HH:mm",
  534. valueFormat: "yyyy-MM-dd HH:mm:ss",
  535. index: 16,
  536. width: 135,
  537. search: true,
  538. }]
  539. },
  540. //调度
  541. optionListTwo: {
  542. align: 'center',
  543. stripe: true,
  544. index: true,
  545. menu: true,
  546. menuWidth: 120,
  547. addBtn: false,
  548. editBtn: false,
  549. delBtn: false,
  550. height: "auto",
  551. searchSpan: 8,
  552. searchIcon: true,
  553. searchIndex: 2,
  554. selection: true,
  555. highlightCurrentRow: true,
  556. showSummary: true,
  557. summaryText: "合计",
  558. sumColumnList: [{
  559. name: 'freightCollect',
  560. type: 'sum',
  561. decimals: 2
  562. }, {
  563. name: 'freightPay',
  564. type: 'sum',
  565. decimals: 2
  566. }],
  567. column: [
  568. {
  569. label: '货运日期',
  570. prop: 'arrivalTime',
  571. overHidden: true,
  572. type: "date",
  573. searchRange: true,
  574. defaultTime: ['00:00:00', '23:59:59'],
  575. format: "yyyy-MM-dd HH:mm",
  576. valueFormat: "yyyy-MM-dd HH:mm:ss",
  577. index: 1,
  578. width: 126,
  579. search: true,
  580. }, {
  581. label: '业务员',
  582. index: 2,
  583. width: 70,
  584. prop: 'salesmanName',
  585. searchProp: 'salesman',
  586. search: true,
  587. overHidden: true,
  588. filterable: true,
  589. type: "select",
  590. dicUrl: "/api/blade-user/userList?roleAlias=业务员",
  591. props: {
  592. label: "realName",
  593. value: "id"
  594. }
  595. }, {
  596. label: '运输调度',
  597. prop: 'dispatcherName',
  598. overHidden: true,
  599. index: 3,
  600. width: 70,
  601. }, {
  602. label: '派车单号',
  603. width: 80,
  604. index: 4,
  605. prop: 'dispatchNumber',
  606. overHidden: true,
  607. search: true,
  608. }, {
  609. label: '装货地点',
  610. prop: 'addressDetail',
  611. index: 5,
  612. width: 132,
  613. search: true,
  614. }, {
  615. label: '卸货地点',
  616. prop: 'unloadingPlace',
  617. index: 6,
  618. width: 132,
  619. search: true,
  620. }, {
  621. label: '车队',
  622. width: 90,
  623. index: 7,
  624. overHidden: true,
  625. prop: 'fleetShortName',
  626. searchProp: 'fleetId',
  627. type: 'select',
  628. dicData: [],
  629. cascader: ['plateNo'],
  630. props: {
  631. label: "cname",
  632. value: "id"
  633. },
  634. filterable: true,
  635. search: true,
  636. }, {
  637. label: '车号',
  638. width: 90,
  639. index: 8,
  640. prop: 'plateNo'
  641. }, {
  642. label: '车型',
  643. width: 90,
  644. index: 9,
  645. prop: 'fleetVolum'
  646. }, {
  647. label: '应收运费',
  648. index: 11,
  649. width: 100,
  650. prop: 'freightCollect'
  651. }, {
  652. label: '状态',
  653. prop: 'status',
  654. index: 12,
  655. dicUrl: "/api/blade-system/dict-biz/dictionary?code=land_order_status_two",
  656. props: {
  657. label: "dictValue",
  658. value: "dictKey"
  659. },
  660. dataType: "string",
  661. type: 'select',
  662. overHidden: true,
  663. search: true,
  664. width: 90
  665. }, {
  666. label: '应付运费',
  667. prop: 'freightPay',
  668. overHidden: true,
  669. width: 100,
  670. index: 13,
  671. }, {
  672. label: '备注',
  673. index: 14,
  674. overHidden: true,
  675. width: 130,
  676. prop: 'remarks',
  677. }, {
  678. label: '公司名称',
  679. prop: 'corpShortName',
  680. overHidden: true,
  681. index: 15,
  682. width: 120,
  683. search: true,
  684. }, {
  685. label: '制单人',
  686. prop: 'createUserName',
  687. overHidden: true,
  688. index: 16,
  689. width: 60,
  690. }, {
  691. label: '制单日期',
  692. overHidden: true,
  693. prop: 'createTime',
  694. type: "date",
  695. searchRange: true,
  696. defaultTime: ['00:00:00', '23:59:59'],
  697. format: "yyyy-MM-dd HH:mm",
  698. valueFormat: "yyyy-MM-dd HH:mm:ss",
  699. index: 17,
  700. width: 135,
  701. search: true,
  702. }]
  703. },
  704. optionListThree: {
  705. align: 'center',
  706. stripe: true,
  707. index: true,
  708. menu: true,
  709. menuWidth: 120,
  710. addBtn: false,
  711. editBtn: false,
  712. delBtn: false,
  713. height: "auto",
  714. searchSpan: 8,
  715. searchIcon: true,
  716. searchIndex: 2,
  717. selection: true,
  718. highlightCurrentRow: true,
  719. showSummary: true,
  720. summaryText: "合计",
  721. sumColumnList: [{
  722. name: 'freightCollect',
  723. type: 'sum',
  724. decimals: 2
  725. }, {
  726. name: 'freightPay',
  727. type: 'sum',
  728. decimals: 2
  729. }],
  730. column: [
  731. {
  732. label: '货运日期',
  733. prop: 'arrivalTime',
  734. overHidden: true,
  735. type: "date",
  736. searchRange: true,
  737. defaultTime: ['00:00:00', '23:59:59'],
  738. format: "yyyy-MM-dd HH:mm",
  739. valueFormat: "yyyy-MM-dd HH:mm:ss",
  740. index: 1,
  741. width: 126,
  742. search: true,
  743. }, {
  744. label: '物流运输',
  745. prop: 'dispatchDeptName',
  746. searchProp: 'dispatchDept',
  747. search: true,
  748. filterable: true,
  749. dicUrl: "/api/blade-system/dept/top-list?deptCategory=1",
  750. type: "select",
  751. props: {
  752. label: "deptName",
  753. value: "id"
  754. },
  755. overHidden: true,
  756. index: 2,
  757. width: 80
  758. }, {
  759. label: '运输调度',
  760. prop: 'dispatcherName',
  761. overHidden: true,
  762. index: 3,
  763. width: 70,
  764. }, {
  765. label: '派车单号',
  766. width: 80,
  767. index: 4,
  768. prop: 'dispatchNumber',
  769. overHidden: true,
  770. search: true,
  771. }, {
  772. label: '装货地点',
  773. prop: 'addressDetail',
  774. index: 5,
  775. width: 132,
  776. search: true,
  777. }, {
  778. label: '卸货地点',
  779. prop: 'unloadingPlace',
  780. index: 6,
  781. width: 132,
  782. search: true,
  783. }, {
  784. label: '车队',
  785. width: 90,
  786. index: 7,
  787. overHidden: true,
  788. prop: 'fleetShortName',
  789. searchProp: 'fleetId',
  790. type: 'select',
  791. cascader: ['plateNo'],
  792. props: {
  793. label: "cname",
  794. value: "id"
  795. },
  796. filterable: true,
  797. search: true,
  798. }, {
  799. label: '车号',
  800. width: 90,
  801. index: 8,
  802. prop: 'plateNo',
  803. type: "select",
  804. cascader: ['driverId'],
  805. dicUrl: "/api/blade-client/land-vehicle/vehicle-list?fleetId={{key}}",
  806. props: {
  807. label: "plateNo",
  808. value: "plateNo"
  809. },
  810. filterable: true,
  811. search: true,
  812. }, {
  813. label: '司机',
  814. width: 70,
  815. index: 9,
  816. prop: 'driverName',
  817. searchProp: 'driverId',
  818. filterable: true,
  819. type: "select",
  820. dicUrl: "/api/blade-client/land-driver/driver-list?plateNo={{key}}",
  821. props: {
  822. label: "name",
  823. value: "id"
  824. },
  825. search: true,
  826. }, {
  827. label: '电话',
  828. width: 120,
  829. index: 10,
  830. prop: 'driverTel'
  831. }, {
  832. label: '车型',
  833. width: 90,
  834. index: 11,
  835. prop: 'fleetVolum'
  836. },
  837. // {
  838. // label: '状态',
  839. // prop: 'status',
  840. // index: 13,
  841. // dicUrl: "/api/blade-system/dict-biz/dictionary?code=land_order_status_two",
  842. // props: {
  843. // label: "dictValue",
  844. // value: "dictKey"
  845. // },
  846. // dataType: "string",
  847. // type: 'select',
  848. // overHidden: true,
  849. // search: true,
  850. // width: 140
  851. // },
  852. {
  853. label: '应付运费',
  854. prop: 'freightPay',
  855. overHidden: true,
  856. width: 100,
  857. index: 13,
  858. }, {
  859. label: '备注',
  860. index: 14,
  861. overHidden: true,
  862. width: 130,
  863. prop: 'remarks',
  864. }]
  865. },
  866. optionListFour: {
  867. align: 'center',
  868. stripe: true,
  869. index: true,
  870. menu: true,
  871. menuWidth: 120,
  872. addBtn: false,
  873. editBtn: false,
  874. delBtn: false,
  875. height: "auto",
  876. searchSpan: 8,
  877. searchIcon: true,
  878. searchIndex: 2,
  879. selection: true,
  880. highlightCurrentRow: true,
  881. showSummary: false,
  882. summaryText: "合计",
  883. sumColumnList: [{
  884. name: 'freightCollect',
  885. type: 'sum',
  886. decimals: 2
  887. }, {
  888. name: 'freightPay',
  889. type: 'sum',
  890. decimals: 2
  891. }],
  892. column: [
  893. {
  894. label: '货运日期',
  895. prop: 'arrivalTime',
  896. overHidden: true,
  897. type: "date",
  898. searchRange: true,
  899. defaultTime: ['00:00:00', '23:59:59'],
  900. format: "yyyy-MM-dd HH:mm",
  901. valueFormat: "yyyy-MM-dd HH:mm:ss",
  902. index: 1,
  903. width: 126,
  904. search: true,
  905. }, {
  906. label: '物流运输',
  907. prop: 'dispatchDeptName',
  908. searchProp: 'dispatchDept',
  909. search: true,
  910. filterable: true,
  911. dicUrl: "/api/blade-system/dept/top-list?deptCategory=1",
  912. type: "select",
  913. props: {
  914. label: "deptName",
  915. value: "id"
  916. },
  917. overHidden: true,
  918. index: 2,
  919. width: 80
  920. }, {
  921. label: '运输调度',
  922. prop: 'dispatcherName',
  923. overHidden: true,
  924. index: 3,
  925. width: 70,
  926. }, {
  927. label: '派车单号',
  928. width: 80,
  929. index: 4,
  930. prop: 'dispatchNumber',
  931. overHidden: true,
  932. search: true,
  933. }, {
  934. label: '装货地点',
  935. prop: 'addressDetail',
  936. index: 5,
  937. width: 132,
  938. search: true,
  939. }, {
  940. label: '卸货地点',
  941. prop: 'unloadingPlace',
  942. index: 6,
  943. width: 132,
  944. search: true,
  945. }, {
  946. label: '车队',
  947. width: 90,
  948. index: 7,
  949. overHidden: true,
  950. prop: 'fleetShortName',
  951. searchProp: 'fleetId',
  952. type: 'select',
  953. cascader: ['plateNo'],
  954. props: {
  955. label: "cname",
  956. value: "id"
  957. },
  958. filterable: true,
  959. search: true,
  960. }, {
  961. label: '车号',
  962. width: 90,
  963. index: 8,
  964. prop: 'plateNo',
  965. type: "select",
  966. cascader: ['driverId'],
  967. dicUrl: "/api/blade-client/land-vehicle/vehicle-list?fleetId={{key}}",
  968. props: {
  969. label: "plateNo",
  970. value: "plateNo"
  971. },
  972. filterable: true,
  973. search: true,
  974. }, {
  975. label: '司机',
  976. width: 70,
  977. index: 9,
  978. prop: 'driverName',
  979. searchProp: 'driverId',
  980. filterable: true,
  981. type: "select",
  982. dicUrl: "/api/blade-client/land-driver/driver-list?plateNo={{key}}",
  983. props: {
  984. label: "name",
  985. value: "id"
  986. },
  987. search: true,
  988. }, {
  989. label: '电话',
  990. width: 120,
  991. index: 10,
  992. prop: 'driverTel'
  993. }, {
  994. label: '车型',
  995. width: 90,
  996. index: 11,
  997. prop: 'fleetVolum'
  998. },
  999. // {
  1000. // label: '状态',
  1001. // prop: 'status',
  1002. // index: 13,
  1003. // dicUrl: "/api/blade-system/dict-biz/dictionary?code=land_order_status_two",
  1004. // props: {
  1005. // label: "dictValue",
  1006. // value: "dictKey"
  1007. // },
  1008. // dataType: "string",
  1009. // type: 'select',
  1010. // overHidden: true,
  1011. // search: true,
  1012. // width: 140
  1013. // },
  1014. {
  1015. label: '备注',
  1016. index: 14,
  1017. overHidden: true,
  1018. width: 130,
  1019. prop: 'remarks',
  1020. }]
  1021. },
  1022. home: false,
  1023. entrustTimer: null,
  1024. roleName: localStorage.getItem("roleName").split(','),
  1025. }
  1026. },
  1027. activated() {
  1028. if (this.$route.query.id) {
  1029. this.rowCell({id: this.$route.query.id}, 0)
  1030. this.$router.$avueRouter.closeTag(window.location.hash.slice(1))
  1031. this.home = true
  1032. // this.$router.push({ query: {} });
  1033. }
  1034. },
  1035. async created() {
  1036. // this.option = this.optionListOne
  1037. // this.option = this.optionListTwo
  1038. // this.option = this.optionListThree
  1039. this.query = {
  1040. arrivalTime: [defaultDate(4)[0] + ' 00:00:00',defaultDate(4)[1] + ' 23:59:59']
  1041. }
  1042. if (this.roleName.indexOf('客户') !== -1 || this.roleName.indexOf('admin') !== -1) {
  1043. this.activeName = '0'
  1044. this.optionList = this.optionListOne
  1045. } else if (this.roleName.indexOf('平台') !== -1) {
  1046. this.activeName = '0'
  1047. this.optionList = this.optionListTwo
  1048. } else if (this.roleName.indexOf('车队') !== -1) {
  1049. this.activeName = '2'
  1050. this.optionList = this.optionListThree
  1051. } else {
  1052. this.activeName = '3'
  1053. this.optionList = this.optionListFour
  1054. }
  1055. this.option = await this.getColumnData(this.getColumnName(85.7), this.optionList);
  1056. this.key++
  1057. fleetList().then(res => {
  1058. this.findObject(this.option.column, "fleetShortName").dicData = res.data.data
  1059. })
  1060. getSalesman().then(res => {
  1061. this.findObject(this.option.column, "salesmanName").dicData = res.data.data
  1062. })
  1063. let i = 0;
  1064. this.option.column.forEach(item => {
  1065. if (item.search) i++
  1066. })
  1067. if (this.roleName.indexOf('经理') !== -1 || this.roleName.indexOf('部门经理') !== -1 || this.roleName.indexOf('总经理') !== -1 || this.roleName.indexOf('总调度') !== -1) {
  1068. // this.option.menu = false
  1069. this.option.header = false
  1070. }
  1071. if (i % 3 !== 0) {
  1072. const num = 3 - Number(i % 3)
  1073. this.option.searchMenuSpan = num * 8;
  1074. this.option.searchMenuPosition = "right";
  1075. }
  1076. },
  1077. mounted() {
  1078. businessStatisticsFrequency().then(res => {
  1079. // let this_ = this
  1080. // this_.entrustTimer = setInterval(function () {
  1081. // if (JSON.parse(localStorage.getItem("saber-token")).content) {
  1082. // totalList(1).then(res => {
  1083. // this_.totalData = res.data.data
  1084. // })
  1085. // }
  1086. // }, Number(res.data.data[0].dictKey)*1000)
  1087. })
  1088. },
  1089. beforeDestroy() {
  1090. this.map && this.map.destroy();
  1091. clearInterval(this.entrustTimer); //关闭
  1092. },
  1093. methods: {
  1094. openTrack(row) {
  1095. location({itemId: row.itemId, plateNo: row.plateNo, tenantId: '234557', color: '2'}).then(res => {
  1096. this.dialogVisible = true
  1097. let this_ = this
  1098. setTimeout(function () {
  1099. this_.initMap(res.data.data, row.plateNo);
  1100. }, 1000)
  1101. })
  1102. },
  1103. markerClick(e) {
  1104. this.infoWindow.setContent(e.target.content);
  1105. this.infoWindow.open(this.map, e.target.getPosition());
  1106. },
  1107. initMap(data, plateNo) {
  1108. console.log(data, plateNo)
  1109. this.map = new AMap.Map("container", {resizeEnable: true});
  1110. this.infoWindow = new AMap.InfoWindow({
  1111. ffset: new AMap.Pixel(0, -30),
  1112. offset: new AMap.Pixel(0, -30)
  1113. });
  1114. let icon = new AMap.Icon({
  1115. size: new AMap.Size(52, 26), // 图标尺寸
  1116. image: 'https://trade.tubaosoft.com/file/bladex/000000/1123598821738675201/che.png',
  1117. imageSize: new AMap.Size(52, 26), // 根据所设置的大小拉伸或压缩图片
  1118. });
  1119. this.marker = new AMap.Marker({
  1120. position: data.location,
  1121. map: this.map,
  1122. icon: icon,
  1123. markerMeta: new AMap.Size(28, 28),
  1124. offset: new AMap.Pixel(-26, -15),
  1125. autoRotation: true,
  1126. angle: -15
  1127. });
  1128. this.marker.content = '<div style="width: 300px;">'
  1129. + '<p style="font-size: 22px;font-weight: bold;background-color: #2d8cf0;color: #fff;">' + plateNo + '</p>'
  1130. + '<p style="padding: 5px 0"><span style="color: #a0a0a0">最后上报时间:</span>' + new Date(Number(data.time) + 8 * 60 * 60 * 1000).toJSON().split('T').join(' ').substr(0, 19) + '</p>'
  1131. + '<div style="width: 150px;float: left;">'
  1132. + '<p style="padding: 5px 0"><span style="color: #a0a0a0">车辆状态:</span>' + (data.speed > 0 ? '行驶中' : '停车') + '</p>'
  1133. + '</div>'
  1134. + '<div style="width: 150px;float: right;">'
  1135. + '<p style="padding: 5px 0"><span style="color: #a0a0a0">速度:</span>' + data.speed + 'km/h</p>'
  1136. + '</div>'
  1137. + '<p><span style="color: #a0a0a0">当前位置:</span>' + data.address + '</p>'
  1138. + '<p style="padding: 5px 0"><span style="color: #a0a0a0">经纬度:</span>' + data.location.join(',') + '</p>'
  1139. + '</div>'
  1140. this.infoWindow.open(this.map, this.map.getCenter());
  1141. this.marker.on('click', this.markerClick);
  1142. this.marker.emit('click', {target: this.marker});
  1143. this.map.setFitView();
  1144. },
  1145. selectionChange(list) {
  1146. this.selectionList = list
  1147. // this.$message.success('选中的数据'+ JSON.stringify(list));
  1148. },
  1149. //自定义列保存
  1150. async saveColumn() {
  1151. /**
  1152. * 已定义全局方法,直接使用,saveColumnData保存列数据方法,参数传值(表格名称,当前表格的option数据)
  1153. * 已定义全局方法,直接使用,getColumnName方法用来获取枚举值,参数根据自己定义的code值获取中文名
  1154. * 一定要执行异步操作,要等接口成功返回,才能执行下一行代码
  1155. */
  1156. const inSave = await this.saveColumnData(this.getColumnName(85.7), this.option);
  1157. if (inSave) {
  1158. this.$message.success("保存成功");
  1159. //关闭窗口
  1160. this.$refs.crud.$refs.dialogColumn.columnBox = false;
  1161. }
  1162. },
  1163. //自定义列重置
  1164. async resetColumn() {
  1165. this.option = this.optionList;
  1166. const inSave = await this.delColumnData(this.getColumnName(85.7), this.optionList);
  1167. if (inSave) {
  1168. this.$message.success("重置成功");
  1169. this.$refs.crud.$refs.dialogColumn.columnBox = false;
  1170. if (this.roleName.indexOf('经理') !== -1 || this.roleName.indexOf('部门经理') !== -1 || this.roleName.indexOf('总经理') !== -1) {
  1171. this.option.menu = false
  1172. this.option.header = false
  1173. }
  1174. }
  1175. },
  1176. // 获得高度
  1177. searchCriteriaSwitch(type) {
  1178. if (type) {
  1179. this.option.height = this.option.height - 138
  1180. } else {
  1181. this.option.height = this.option.height + 138
  1182. }
  1183. this.$refs.crud.getTableHeight()
  1184. },
  1185. //切换订单状态
  1186. handleClick(tab) {
  1187. this.activeName = tab
  1188. this.onLoad(this.page)
  1189. },
  1190. onLoad(page, params = {}) {
  1191. totalList().then(res => {
  1192. this.totalData = res.data.data
  1193. })
  1194. let queryParams = {
  1195. size: page.pageSize,
  1196. current: page.currentPage,
  1197. // itemStatus: this.activeName,
  1198. statusIds: this.activeName,
  1199. ...Object.assign(params, this.query)
  1200. }
  1201. if (queryParams.arrivalTime) {
  1202. queryParams.beginArrivalTime = queryParams.arrivalTime[0]
  1203. queryParams.endArrivalTime = queryParams.arrivalTime[1]
  1204. }
  1205. delete queryParams.arrivalTime
  1206. this.loading = true;
  1207. selectInvoiceList(queryParams).then(res => {
  1208. this.dataList = res.data.data.records
  1209. this.page.total = res.data.data.total
  1210. this.option.height = window.innerHeight - 350;
  1211. }).finally(() => {
  1212. this.loading = false;
  1213. })
  1214. },
  1215. //搜索
  1216. searchChange(params, done) {
  1217. let data = params
  1218. if (params.arrivalTime) {
  1219. data.beginArrivalTime = params.arrivalTime[0]
  1220. data.endArrivalTime = params.arrivalTime[1]
  1221. }
  1222. if (params.createTime) {
  1223. data.beginCrateTime = params.createTime[0]
  1224. data.endCrateTime = params.createTime[1]
  1225. }
  1226. delete data.arrivalTime
  1227. delete data.createTime
  1228. this.query = data;
  1229. this.onLoad(this.page, data)
  1230. done();
  1231. },
  1232. //列表删除
  1233. rowDel(row) {
  1234. this.$confirm('此操作将永久删除该单据, 是否继续?', '提示', {
  1235. confirmButtonText: '确定',
  1236. cancelButtonText: '取消',
  1237. type: 'warning'
  1238. }).then(() => {
  1239. removeDelegationList({ids: row.id}).then(res => {
  1240. this.$message.success('删除成功');
  1241. this.onLoad(this.page)
  1242. })
  1243. }).catch(() => {
  1244. this.$message({
  1245. type: 'info',
  1246. message: '已取消删除'
  1247. });
  1248. });
  1249. },
  1250. //行编辑
  1251. rowCell(row, index) {
  1252. // console.log(localStorage.getItem("roleName").split(','))
  1253. this.id = row.id
  1254. this.show = false
  1255. },
  1256. rowSave() {
  1257. this.show = false
  1258. },
  1259. //复制单据
  1260. copyDocument() {
  1261. this.id = 'copy' + this.selectionList[0].id
  1262. this.show = false
  1263. },
  1264. backToList(type) {
  1265. if (type) {
  1266. this.home = false
  1267. this.$router.push({
  1268. path: '/landTransportation/bulkCargo/index'
  1269. });
  1270. }
  1271. this.id = ''
  1272. this.show = true
  1273. this.onLoad(this.page)
  1274. },
  1275. ToBreak(val) {
  1276. if (val) return val.replace(/\n/g, '<br/>')
  1277. }
  1278. }
  1279. }
  1280. </script>
  1281. <style lang="scss" scoped>
  1282. .selected {
  1283. color: #1e9fff !important;
  1284. }
  1285. .home-container {
  1286. padding: 0px 5px 5px 5px;
  1287. box-sizing: border-box;
  1288. height: 100%;
  1289. ::v-deep .el-card__body {
  1290. padding: 10px 5px;
  1291. font-size: 14px;
  1292. }
  1293. &__card {
  1294. width: 100%;
  1295. height: 100%;
  1296. }
  1297. .title {
  1298. display: flex;
  1299. justify-content: space-between;
  1300. .right {
  1301. display: flex;
  1302. align-items: center;
  1303. &_but {
  1304. margin-right: 10px;
  1305. border: 1px solid #409eff;
  1306. width: 80px;
  1307. border-radius: 3px;
  1308. display: flex;
  1309. &_left {
  1310. width: 40px;
  1311. text-align: center;
  1312. color: #409eff;
  1313. cursor: pointer;
  1314. }
  1315. &_right {
  1316. width: 40px;
  1317. text-align: center;
  1318. color: #409eff;
  1319. cursor: pointer;
  1320. }
  1321. &_active {
  1322. color: #fff;
  1323. background-color: #409eff;
  1324. }
  1325. }
  1326. }
  1327. }
  1328. }
  1329. .content {
  1330. display: flex;
  1331. justify-content: center;
  1332. align-items: center;
  1333. height: 6vh;
  1334. width: 80vw;
  1335. .divider {
  1336. display: block;
  1337. height: 0px;
  1338. width: 100%;
  1339. border-top: 1px dashed #dcdfe6;
  1340. }
  1341. &-item {
  1342. margin-left: 1vw;
  1343. .card {
  1344. width: 130px;
  1345. display: flex;
  1346. align-items: center;
  1347. &-title {
  1348. width: 40px;
  1349. height: 40px;
  1350. text-align: center;
  1351. border-radius: 50%;
  1352. font-size: 20px;
  1353. font-weight: 600;
  1354. display: flex;
  1355. justify-content: center;
  1356. align-items: center;
  1357. span {
  1358. line-height: 20px;
  1359. }
  1360. }
  1361. &-title1 {
  1362. color: #037fe1;
  1363. background-color: rgba(3, 127, 225, 0.15);
  1364. }
  1365. &-title2 {
  1366. color: #ffa21e;
  1367. background-color: rgba(255, 162, 30, 0.15);
  1368. }
  1369. &-title3 {
  1370. color: #fb5b60;
  1371. background-color: rgba(251, 91, 96, 0.15);
  1372. }
  1373. &-title4 {
  1374. color: #42bc6f;
  1375. background-color: rgba(66, 188, 111, 0.15);
  1376. }
  1377. &-title5 {
  1378. color: #14cde1;
  1379. background-color: rgba(52, 149, 161, 0.15);
  1380. }
  1381. &-title6 {
  1382. color: rgba(4, 66, 31, 0.63);
  1383. background-color: rgba(66, 188, 111, 0.15);
  1384. }
  1385. &-title7 {
  1386. color: rgba(231, 90, 15, 0.63);
  1387. background-color: rgba(220, 150, 42, 0.15);
  1388. }
  1389. &-content {
  1390. padding-left: 1vw;
  1391. display: flex;
  1392. flex-direction: column;
  1393. &-num {
  1394. font-size: 20px;
  1395. font-weight: 600;
  1396. }
  1397. &-text {
  1398. color: #909399;
  1399. }
  1400. }
  1401. }
  1402. }
  1403. }
  1404. #container {
  1405. height: 80vh;
  1406. width: 100%;
  1407. }
  1408. ::v-deep .el-dialog {
  1409. margin-top: 5vh !important;
  1410. margin-bottom: 0 !important;
  1411. }
  1412. ::v-deep .amap-info-close {
  1413. right: 10px !important;
  1414. top: 12px !important;
  1415. }
  1416. ::v-deep .amap-info-content {
  1417. padding: 5px 5px 5px 5px !important;
  1418. }
  1419. </style>