Merge branch 'master' of http://47.93.189.255:8099/r/zhangshi_app_web
| | |
| | | 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" |
| | |
| | | alt="" |
| | | style="width: 35px; height: 35px;" |
| | | fit="cover" |
| | | v-if="scope.row.url " |
| | | v-if="!scope.row.url" |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | |
| | | |
| | | 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; |
| | |
| | | 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); |
| | |
| | | let pth = paths[i].substr(paths[i].length - 4, paths[i].length) |
| | | |
| | | if (_this.fot.includes(pth) === true) |
| | | { |
| | | if(paths[i].includes("https")) |
| | | _this.fileList.push({name:paths[i],url: paths[i]}) |
| | | else |
| | | _this.fileList.push({name:paths[i],url: process.env.VUE_APP_BASE_TRUE_API+paths[i]}) |
| | | } |
| | | else { |
| | | // alert(paths[i]) |
| | | if(paths[i].includes("https")) |
| | | _this.fileListOther.push({name:paths[i],url: paths[i]}) |
| | | else{ |
| | | let nms = paths[i].split("\/") |
| | | let nm = nms[nms.length - 1] |
| | | _this.fileListOther.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i]}) |
| | | } |
| | | } |
| | | } |
| | | } |
| | | this.loading = false; |
| | | }); |
| | | } |