index.vue 44 KB

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