yz3456
2024-03-26 eaafe26cb6aa070b002037ede1c7de74b6b5600b
ruoyi-ui/src/views/travel/index.vue
@@ -119,7 +119,7 @@
                    alt=""
                    style="width: 35px; height: 35px;"
                    fit="cover"
                    v-if="!scope.row.url "
                    v-if="scope.row.url"
                  >
                  <img
                    class="el-upload-list__item-thumbnail"
@@ -127,7 +127,7 @@
                    alt=""
                    style="width: 35px; height: 35px;"
                    fit="cover"
                    v-if="scope.row.url "
                    v-if="!scope.row.url"
                  >
                </template>
              </el-table-column>
@@ -770,6 +770,7 @@
      listTravelPrice(this.queryParams).then(response => {
        this.travelpriceList = response.data.data;
      //alert(this.travelpriceList.url)
      console.log("0000")
      console.log(this.travelpriceList)
        this.total = response.data.total;
@@ -781,6 +782,7 @@
        const promises = [];
        for (const item of this.travelpriceList) {
          const promise = listTravelBase({ cid: item.id }).then(result => {
           console.log(result.data)
            travelBaseMap[item.id] = result.data;
          });
          promises.push(promise);