flx:提交承包商
This commit is contained in:
parent
20cc0c1a70
commit
584d948fc3
@ -855,9 +855,11 @@ export default {
|
|||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
console.log(res, "基本信息");
|
console.log(res, "基本信息");
|
||||||
if (res.result) {
|
if (res.result) {
|
||||||
for (let i in this.supplierDetail) {
|
this.supplierDetail = {
|
||||||
this.supplierDetail[i] = res.result[i];
|
...res.result,
|
||||||
}
|
enterpriseQualificationUrl: res.result.enterpriseQualificationUrl ? (res.result.enterpriseQualificationUrl.includes(this.$store.state.FILEURL) ? res.result.enterpriseQualificationUrl : this.$store.state.FILEURL + res.result.enterpriseQualificationUrl) : res.result.enterpriseQualificationUrl,
|
||||||
|
logo: res.result.logo ? (res.result.logo.includes(this.$store.state.FILEURL) ? res.result.logo : this.$store.state.FILEURL + res.result.logo) : res.result.logo,
|
||||||
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -920,7 +922,13 @@ export default {
|
|||||||
getEnterpriseSupplierInfoListApi(requestData).then((res) => {
|
getEnterpriseSupplierInfoListApi(requestData).then((res) => {
|
||||||
console.log(res, "承包项目信息");
|
console.log(res, "承包项目信息");
|
||||||
if (res.result) {
|
if (res.result) {
|
||||||
this.supplierDetailCBS = res.result;
|
this.supplierDetailCBS = res.result.map(item => {
|
||||||
|
return {
|
||||||
|
...item,
|
||||||
|
constructionMapUrl: item.constructionMapUrl ? (item.constructionMapUrl.includes(this.$store.state.FILEURL) ? item.constructionMapUrl : this.$store.state.FILEURL + item.constructionMapUrl) : item.constructionMapUrl,
|
||||||
|
layoutImage: item.layoutImage ? (item.layoutImage.includes(this.$store.state.FILEURL) ? item.layoutImage : this.$store.state.FILEURL + item.layoutImage) : item.layoutImage,
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user