index.vue 46 KB

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