| | |
| | | <div class="list"> |
| | | <div class="item" v-for="item in activeCar.contractList"> |
| | | <div class="head"> |
| | | <div class="code">合同号:<span v-if="item.detailList && item.detailList.length > 0">{{ item.detailList[0].contractNum }}</span></div> |
| | | <div class="code">合同号:<span v-if="item.detailList && item.detailList.length > 0">{{ |
| | | item.detailList[0].contractNum }}</span></div> |
| | | <div class="addr">收货地:{{ item.address }}</div> |
| | | </div> |
| | | <div class="line" v-for="i in item.detailList"> |
| | |
| | | |
| | | const echartMap = ref() |
| | | const initMap = () => { |
| | | console.log('----') |
| | | |
| | | var myChart = echarts.init(echartMap.value) |
| | | echarts.registerMap('js', ahJSON) |
| | | const scatterData = data7.value.carsList.map(item => { |
| | |
| | | myChart.on('click', function (params) { |
| | | const item = params.data |
| | | getCarsJobDetails({ carCode: item.code }).then(res => { |
| | | // getCarsJobDetails({ id: item.id }).then(res => { |
| | | // getCarsJobDetails({ id: item.id }).then(res => { |
| | | // getCarsJobDetails({ carCode: '皖AE5277' }).then(res => { |
| | | showModal.value = true |
| | | activeCar.value = { ...res.data, carCode: item.code } |
| | |
| | | } |
| | | const taskClick = (item) => { |
| | | // getCarsJobDetails({ carCode: item.carCodeFront }).then(res => { |
| | | getJobDetailsById({ id: item.id }).then(res => { |
| | | getJobDetailsById({ id: item.id }).then(res => { |
| | | // getCarsJobDetails({ carCode: '皖AE5277' }).then(res => { |
| | | showModal.value = true |
| | | activeCar.value = { ...res.data, carCode: item.carCodeFront } |
| | |
| | | carsListPost().then(res => { |
| | | const result = res.data || {} |
| | | data7.value = result |
| | | initMap() |
| | | }, () => { |
| | | data7.value = { |
| | | carsList: [] |
| | | } |
| | | initMap() |
| | | }) |
| | | carsEventListP().then(res => { |
| | |
| | | border-bottom: 1px solid rgba(255, 255, 255, 0.16); |
| | | margin-bottom: 10px; |
| | | padding-right: 10px; |
| | | |
| | | .code { |
| | | font-weight: 500; |
| | | font-size: 14px; |