This commit is contained in:
@@ -178,7 +178,7 @@ import toast from '../../../uview-ui/libs/function/toast';
|
||||
imgRes.data.forEach(imgItem => {
|
||||
const mapping = imgIdToIndexMap.find(m => m.id === imgItem.ossId);
|
||||
if (mapping) {
|
||||
this.$set(this.hotList[mapping.index], 'activityImgUrl', imgItem.url);
|
||||
this.$set(this.hotList[mapping.index], 'activityImgUrl', this.vuex_config.imageUrl+imgItem.url);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@@ -134,7 +134,7 @@
|
||||
this.loading = true;
|
||||
|
||||
let params = {
|
||||
type: "1952989217332658178",
|
||||
// type: "1952989217332658178",
|
||||
pageNum: this.pageNum,
|
||||
pageSize: this.pageSize
|
||||
};
|
||||
|
@@ -108,7 +108,7 @@ export default {
|
||||
if (!this.detail.orderImgUrl) return;
|
||||
const imgIds = this.detail.orderImgUrl.split(',');
|
||||
const res = await this.$u.api.getImageUrl({}, imgIds.join(','));
|
||||
if (res.code == 200 && res.data) this.orderImgUrls = res.data.map(item => item.url);
|
||||
if (res.code == 200 && res.data) this.orderImgUrls = res.data.map(item => this.vuex_config.imageUrl+item.url);
|
||||
},
|
||||
async getHandler() {
|
||||
let handlers = await this.$u.api.getHandler3({}, this.detail.type);
|
||||
|
@@ -83,7 +83,7 @@
|
||||
if (!this.detailItem.imgUrl) return;
|
||||
const imgIds = this.detailItem.imgUrl.split(',');
|
||||
const res = await this.$u.api.getImageUrl({}, imgIds.join(','));
|
||||
if (res.code == 200 && res.data) this.imageList = res.data.map(item => item.url);
|
||||
if (res.code == 200 && res.data) this.imageList = res.data.map(item => this.vuex_config.imageUrl+item.url);
|
||||
},
|
||||
// 设置评分
|
||||
setRating(rating) {
|
||||
|
@@ -171,7 +171,7 @@ export default {
|
||||
const result = await this.$u.api.getImageUrl({}, imgIds);
|
||||
if (result.code == 200 && result.data) {
|
||||
// 提取res.data数组中每个对象的url字段
|
||||
this.realImages = result.data.map(item => item.url);
|
||||
this.realImages = result.data.map(item => this.vuex_config.imageUrl+item.url);
|
||||
}
|
||||
}
|
||||
this.loading = false;
|
||||
|
@@ -108,7 +108,7 @@ export default {
|
||||
if (!this.detail.orderImgUrl) return;
|
||||
const imgIds = this.detail.orderImgUrl.split(',');
|
||||
const res = await this.$u.api.getImageUrl({}, imgIds.join(','));
|
||||
if (res.code == 200 && res.data) this.orderImgUrls = res.data.map(item => item.url);
|
||||
if (res.code == 200 && res.data) this.orderImgUrls = res.data.map(item => this.vuex_config.imageUrl+item.url);
|
||||
},
|
||||
async getHandler() {
|
||||
let handlers = await this.$u.api.getHandler3({}, this.detail.type);
|
||||
|
@@ -75,7 +75,7 @@
|
||||
url:'/pages/sys/user/myRepair/myRepair'
|
||||
},
|
||||
{
|
||||
icon: 'https://picsum.photos/80/80?random=3',
|
||||
icon: '/static/aaaa_gzxj.png',
|
||||
text: '工作巡检',
|
||||
url:'/pages/sys/workbench/inspection/inspection'
|
||||
},
|
||||
|
Reference in New Issue
Block a user