index.vue 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440
  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: 'driverTel'
  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.activeName = '0'
  1027. this.optionList = this.optionListOne
  1028. }else if (this.roleName.indexOf('平台') !== -1){
  1029. this.activeName = '0'
  1030. this.optionList = this.optionListTwo
  1031. }else if (this.roleName.indexOf('车队') !== -1){
  1032. this.activeName = '2'
  1033. this.optionList = this.optionListThree
  1034. }else {
  1035. this.activeName = '3'
  1036. this.optionList = this.optionListFour
  1037. }
  1038. this.option = await this.getColumnData(this.getColumnName(85.7), this.optionList);
  1039. this.key++
  1040. fleetList().then(res=>{
  1041. this.findObject(this.option.column, "fleetShortName").dicData = res.data.data
  1042. })
  1043. getSalesman().then(res=>{
  1044. this.findObject(this.option.column, "salesmanName").dicData = res.data.data
  1045. })
  1046. let i = 0;
  1047. this.option.column.forEach(item => {
  1048. if (item.search) i++
  1049. })
  1050. if (this.roleName.indexOf('经理') !== -1 || this.roleName.indexOf('部门经理') !== -1 || this.roleName.indexOf('总经理') !== -1 || this.roleName.indexOf('总调度') !== -1) {
  1051. // this.option.menu = false
  1052. this.option.header = false
  1053. }
  1054. if (i % 3 !== 0) {
  1055. const num = 3 - Number(i % 3)
  1056. this.option.searchMenuSpan = num * 8;
  1057. this.option.searchMenuPosition = "right";
  1058. }
  1059. },
  1060. mounted() {
  1061. businessStatisticsFrequency().then(res=>{
  1062. // let this_ = this
  1063. // this_.entrustTimer = setInterval(function () {
  1064. // if (JSON.parse(localStorage.getItem("saber-token")).content) {
  1065. // totalList(1).then(res => {
  1066. // this_.totalData = res.data.data
  1067. // })
  1068. // }
  1069. // }, Number(res.data.data[0].dictKey)*1000)
  1070. })
  1071. },
  1072. beforeDestroy() {
  1073. this.map && this.map.destroy();
  1074. clearInterval(this.entrustTimer); //关闭
  1075. },
  1076. methods: {
  1077. openTrack(row) {
  1078. location({itemId: row.itemId, plateNo: row.plateNo, tenantId: '234557', color: '2'}).then(res => {
  1079. this.dialogVisible = true
  1080. let this_ = this
  1081. setTimeout(function () {
  1082. this_.initMap(res.data.data, row.plateNo);
  1083. }, 1000)
  1084. })
  1085. },
  1086. markerClick(e) {
  1087. this.infoWindow.setContent(e.target.content);
  1088. this.infoWindow.open(this.map, e.target.getPosition());
  1089. },
  1090. initMap(data, plateNo) {
  1091. console.log(data,plateNo)
  1092. this.map = new AMap.Map("container", {resizeEnable: true});
  1093. this.infoWindow = new AMap.InfoWindow({
  1094. ffset: new AMap.Pixel(0, -30),
  1095. offset: new AMap.Pixel(0, -30)
  1096. });
  1097. let icon = new AMap.Icon({
  1098. size: new AMap.Size(52, 26), // 图标尺寸
  1099. image: 'https://trade.tubaosoft.com/file/bladex/000000/1123598821738675201/che.png',
  1100. imageSize: new AMap.Size(52, 26), // 根据所设置的大小拉伸或压缩图片
  1101. });
  1102. this.marker = new AMap.Marker({
  1103. position: data.location,
  1104. map: this.map,
  1105. icon: icon,
  1106. markerMeta: new AMap.Size(28, 28),
  1107. offset: new AMap.Pixel(-26, -15),
  1108. autoRotation: true,
  1109. angle: -15
  1110. });
  1111. this.marker.content = '<div style="width: 300px;">'
  1112. + '<p style="font-size: 22px;font-weight: bold;background-color: #2d8cf0;color: #fff;">' + plateNo + '</p>'
  1113. + '<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>'
  1114. + '<div style="width: 150px;float: left;">'
  1115. + '<p style="padding: 5px 0"><span style="color: #a0a0a0">车辆状态:</span>' + (data.speed > 0 ? '行驶中' : '停车') + '</p>'
  1116. + '</div>'
  1117. + '<div style="width: 150px;float: right;">'
  1118. + '<p style="padding: 5px 0"><span style="color: #a0a0a0">速度:</span>' + data.speed + 'km/h</p>'
  1119. + '</div>'
  1120. + '<p><span style="color: #a0a0a0">当前位置:</span>' + data.address + '</p>'
  1121. + '<p style="padding: 5px 0"><span style="color: #a0a0a0">经纬度:</span>' + data.location.join(',') + '</p>'
  1122. + '</div>'
  1123. this.infoWindow.open(this.map, this.map.getCenter());
  1124. this.marker.on('click', this.markerClick);
  1125. this.marker.emit('click', {target: this.marker});
  1126. this.map.setFitView();
  1127. },
  1128. selectionChange(list) {
  1129. this.selectionList = list
  1130. // this.$message.success('选中的数据'+ JSON.stringify(list));
  1131. },
  1132. //自定义列保存
  1133. async saveColumn() {
  1134. /**
  1135. * 已定义全局方法,直接使用,saveColumnData保存列数据方法,参数传值(表格名称,当前表格的option数据)
  1136. * 已定义全局方法,直接使用,getColumnName方法用来获取枚举值,参数根据自己定义的code值获取中文名
  1137. * 一定要执行异步操作,要等接口成功返回,才能执行下一行代码
  1138. */
  1139. const inSave = await this.saveColumnData(this.getColumnName(85.7), this.option);
  1140. if (inSave) {
  1141. this.$message.success("保存成功");
  1142. //关闭窗口
  1143. this.$refs.crud.$refs.dialogColumn.columnBox = false;
  1144. }
  1145. },
  1146. //自定义列重置
  1147. async resetColumn() {
  1148. this.option = this.optionList;
  1149. const inSave = await this.delColumnData(this.getColumnName(85.7), this.optionList);
  1150. if (inSave) {
  1151. this.$message.success("重置成功");
  1152. this.$refs.crud.$refs.dialogColumn.columnBox = false;
  1153. if (this.roleName.indexOf('经理') !== -1 || this.roleName.indexOf('部门经理') !== -1 || this.roleName.indexOf('总经理') !== -1) {
  1154. this.option.menu = false
  1155. this.option.header = false
  1156. }
  1157. }
  1158. },
  1159. // 获得高度
  1160. searchCriteriaSwitch(type) {
  1161. if (type) {
  1162. this.option.height = this.option.height - 138
  1163. } else {
  1164. this.option.height = this.option.height + 138
  1165. }
  1166. this.$refs.crud.getTableHeight()
  1167. },
  1168. //切换订单状态
  1169. handleClick(tab) {
  1170. this.activeName = tab
  1171. this.onLoad(this.page)
  1172. },
  1173. onLoad(page, params = {}) {
  1174. totalList().then(res => {
  1175. this.totalData = res.data.data
  1176. })
  1177. let queryParams = {
  1178. size: page.pageSize,
  1179. current: page.currentPage,
  1180. // itemStatus: this.activeName,
  1181. statusIds: this.activeName,
  1182. ...Object.assign(params, this.query)
  1183. }
  1184. this.loading = true;
  1185. selectInvoiceList(queryParams).then(res => {
  1186. this.dataList = res.data.data.records
  1187. this.page.total = res.data.data.total
  1188. this.option.height = window.innerHeight - 350;
  1189. }).finally(() => {
  1190. this.loading = false;
  1191. })
  1192. },
  1193. //搜索
  1194. searchChange(params, done) {
  1195. let data = params
  1196. if (params.arrivalTime) {
  1197. data.beginArrivalTime = params.arrivalTime[0]
  1198. data.endArrivalTime = params.arrivalTime[1]
  1199. }
  1200. if (params.createTime) {
  1201. data.beginCrateTime = params.createTime[0]
  1202. data.endCrateTime = params.createTime[1]
  1203. }
  1204. delete data.arrivalTime
  1205. delete data.createTime
  1206. this.query = data;
  1207. this.onLoad(this.page, data)
  1208. done();
  1209. },
  1210. //列表删除
  1211. rowDel(row) {
  1212. this.$confirm('此操作将永久删除该单据, 是否继续?', '提示', {
  1213. confirmButtonText: '确定',
  1214. cancelButtonText: '取消',
  1215. type: 'warning'
  1216. }).then(() => {
  1217. removeDelegationList({ids: row.id}).then(res => {
  1218. this.$message.success('删除成功');
  1219. this.onLoad(this.page)
  1220. })
  1221. }).catch(() => {
  1222. this.$message({
  1223. type: 'info',
  1224. message: '已取消删除'
  1225. });
  1226. });
  1227. },
  1228. //行编辑
  1229. rowCell(row, index) {
  1230. // console.log(localStorage.getItem("roleName").split(','))
  1231. this.id = row.id
  1232. this.show = false
  1233. },
  1234. rowSave() {
  1235. this.show = false
  1236. },
  1237. //复制单据
  1238. copyDocument() {
  1239. this.id = 'copy' + this.selectionList[0].id
  1240. this.show = false
  1241. },
  1242. backToList(type) {
  1243. if (type) {
  1244. this.home = false
  1245. this.$router.push({
  1246. path: '/landTransportation/bulkCargo/index'
  1247. });
  1248. }
  1249. this.id = ''
  1250. this.show = true
  1251. this.onLoad(this.page)
  1252. },
  1253. ToBreak(val) {
  1254. if (val) return val.replace(/\n/g, '<br/>')
  1255. }
  1256. }
  1257. }
  1258. </script>
  1259. <style lang="scss" scoped>
  1260. .selected{
  1261. color: #1e9fff !important;
  1262. }
  1263. .home-container {
  1264. padding: 0px 5px 5px 5px;
  1265. box-sizing: border-box;
  1266. height: 100%;
  1267. ::v-deep .el-card__body {
  1268. padding: 10px 5px;
  1269. font-size: 14px;
  1270. }
  1271. &__card {
  1272. width: 100%;
  1273. height: 100%;
  1274. }
  1275. .title {
  1276. display: flex;
  1277. justify-content: space-between;
  1278. .right {
  1279. display: flex;
  1280. align-items: center;
  1281. &_but {
  1282. margin-right: 10px;
  1283. border: 1px solid #409eff;
  1284. width: 80px;
  1285. border-radius: 3px;
  1286. display: flex;
  1287. &_left {
  1288. width: 40px;
  1289. text-align: center;
  1290. color: #409eff;
  1291. cursor: pointer;
  1292. }
  1293. &_right {
  1294. width: 40px;
  1295. text-align: center;
  1296. color: #409eff;
  1297. cursor: pointer;
  1298. }
  1299. &_active {
  1300. color: #fff;
  1301. background-color: #409eff;
  1302. }
  1303. }
  1304. }
  1305. }
  1306. }
  1307. .content {
  1308. display: flex;
  1309. justify-content: center;
  1310. align-items: center;
  1311. height: 6vh;
  1312. width: 80vw;
  1313. .divider {
  1314. display: block;
  1315. height: 0px;
  1316. width: 100%;
  1317. border-top: 1px dashed #dcdfe6;
  1318. }
  1319. &-item {
  1320. margin-left: 1vw;
  1321. .card {
  1322. width: 130px;
  1323. display: flex;
  1324. align-items: center;
  1325. &-title {
  1326. width: 40px;
  1327. height: 40px;
  1328. text-align: center;
  1329. border-radius: 50%;
  1330. font-size: 20px;
  1331. font-weight: 600;
  1332. display: flex;
  1333. justify-content: center;
  1334. align-items: center;
  1335. span {
  1336. line-height: 20px;
  1337. }
  1338. }
  1339. &-title1 {
  1340. color: #037fe1;
  1341. background-color: rgba(3, 127, 225, 0.15);
  1342. }
  1343. &-title2 {
  1344. color: #ffa21e;
  1345. background-color: rgba(255, 162, 30, 0.15);
  1346. }
  1347. &-title3 {
  1348. color: #fb5b60;
  1349. background-color: rgba(251, 91, 96, 0.15);
  1350. }
  1351. &-title4 {
  1352. color: #42bc6f;
  1353. background-color: rgba(66, 188, 111, 0.15);
  1354. }
  1355. &-title5 {
  1356. color: #14cde1;
  1357. background-color: rgba(52, 149, 161, 0.15);
  1358. }
  1359. &-title6 {
  1360. color: rgba(4, 66, 31, 0.63);
  1361. background-color: rgba(66, 188, 111, 0.15);
  1362. }
  1363. &-title7 {
  1364. color: rgba(231, 90, 15, 0.63);
  1365. background-color: rgba(220, 150, 42, 0.15);
  1366. }
  1367. &-content {
  1368. padding-left: 1vw;
  1369. display: flex;
  1370. flex-direction: column;
  1371. &-num {
  1372. font-size: 20px;
  1373. font-weight: 600;
  1374. }
  1375. &-text {
  1376. color: #909399;
  1377. }
  1378. }
  1379. }
  1380. }
  1381. }
  1382. #container {
  1383. height: 80vh;
  1384. width: 100%;
  1385. }
  1386. ::v-deep .el-dialog {
  1387. margin-top: 5vh !important;
  1388. margin-bottom: 0 !important;
  1389. }
  1390. ::v-deep .amap-info-close {
  1391. right: 10px !important;
  1392. top: 12px !important;
  1393. }
  1394. ::v-deep .amap-info-content {
  1395. padding: 5px 5px 5px 5px !important;
  1396. }
  1397. </style>