ll
liukangdong
2025-03-11 8093070b19412312f64046244ebf9ed9c5c77a7b
screen/src/views/LogisticsEfficiency.vue
@@ -353,7 +353,8 @@
          <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">
@@ -633,6 +634,8 @@
const echartMap = ref()
const initMap = () => {
  console.log('----')
  var myChart = echarts.init(echartMap.value)
  echarts.registerMap('js', ahJSON)
  const scatterData = data7.value.carsList.map(item => {
@@ -830,7 +833,7 @@
  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 }
@@ -853,7 +856,7 @@
}
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 }
@@ -957,6 +960,11 @@
  carsListPost().then(res => {
    const result = res.data || {}
    data7.value = result
    initMap()
  }, () => {
    data7.value = {
      carsList: []
    }
    initMap()
  })
  carsEventListP().then(res => {
@@ -1917,6 +1925,7 @@
          border-bottom: 1px solid rgba(255, 255, 255, 0.16);
          margin-bottom: 10px;
          padding-right: 10px;
          .code {
            font-weight: 500;
            font-size: 14px;