|  |  |  | 
|---|
|  |  |  | <div class="num" v-if="data1.monthOutTotal || data1.yearOutTotal">{{ activeTab1 == 0 ? | 
|---|
|  |  |  | data1.monthOutTotal.toLocaleString() : data1.yearOutTotal.toLocaleString() }}</div> | 
|---|
|  |  |  | <div class="unit_wrap"> | 
|---|
|  |  |  | <span style="color: #869CC9;">{{ activeTab1 == 0 ? '同比' : '环比' }}</span> | 
|---|
|  |  |  | <!-- <span style="color: #869CC9;">{{ activeTab1 == 0 ? '同比' : '环比' }}</span> --> | 
|---|
|  |  |  | <span style="color: #869CC9;">环比</span> | 
|---|
|  |  |  | <template v-if="activeTab1 == 0 && data1.monthLastOutTotal"> | 
|---|
|  |  |  | <img v-if="data1.monthOutTotal > data1.monthLastOutTotal" src="@/assets/images/ic_up.png" | 
|---|
|  |  |  | class="icon" alt=""> | 
|---|
|  |  |  | 
|---|
|  |  |  | wltransportMeasure, | 
|---|
|  |  |  | carsListPost, | 
|---|
|  |  |  | getCarsJobDetails, | 
|---|
|  |  |  | getJobDetailsById, | 
|---|
|  |  |  | carsEventListP | 
|---|
|  |  |  | } from '@/api' | 
|---|
|  |  |  | import 'swiper/css/swiper.min.css' | 
|---|
|  |  |  | 
|---|
|  |  |  | myChart.on('click', function (params) { | 
|---|
|  |  |  | const item = params.data | 
|---|
|  |  |  | getCarsJobDetails({ carCode: item.code }).then(res => { | 
|---|
|  |  |  | // getCarsJobDetails({ id: item.id }).then(res => { | 
|---|
|  |  |  | // getCarsJobDetails({ carCode: '皖AE5277' }).then(res => { | 
|---|
|  |  |  | showModal.value = true | 
|---|
|  |  |  | activeCar.value = { ...res.data, carCode: item.code } | 
|---|
|  |  |  | 
|---|
|  |  |  | activeCar.value = {} | 
|---|
|  |  |  | } | 
|---|
|  |  |  | const taskClick = (item) => { | 
|---|
|  |  |  | getCarsJobDetails({ carCode: item.carCodeFront }).then(res => { | 
|---|
|  |  |  | // getCarsJobDetails({ carCode: item.carCodeFront }).then(res => { | 
|---|
|  |  |  | getJobDetailsById({ id: item.id }).then(res => { | 
|---|
|  |  |  | // getCarsJobDetails({ carCode: '皖AE5277' }).then(res => { | 
|---|
|  |  |  | showModal.value = true | 
|---|
|  |  |  | activeCar.value = { ...res.data, carCode: item.carCodeFront } | 
|---|
|  |  |  | 
|---|
|  |  |  | line-height: 36px; | 
|---|
|  |  |  | border-bottom: 1px solid rgba(255, 255, 255, 0.16); | 
|---|
|  |  |  | margin-bottom: 10px; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | padding-right: 10px; | 
|---|
|  |  |  | .code { | 
|---|
|  |  |  | font-weight: 500; | 
|---|
|  |  |  | font-size: 14px; | 
|---|