|
|
@@ -4861,24 +4861,24 @@ export default {
|
|
|
// result=this.getInfoDataById(infoId,result)
|
|
|
that.infoModel=result;
|
|
|
that.dataList=result.history;
|
|
|
- that.infoModel.applySign= JSON.parse(result.applySign);
|
|
|
- that.infoModel.threePhotos= JSON.parse(result.threePhotos);
|
|
|
- that.infoModel.commitmentBook= JSON.parse(result.commitmentBook);
|
|
|
- that.infoModel.isPriceApproval= JSON.parse(result.isPriceApproval);
|
|
|
- that.infoModel.legalIdCard= JSON.parse(result.legalIdCard);
|
|
|
- that.infoModel.operatorIdCard= JSON.parse(result.operatorIdCard);
|
|
|
- that.infoModel.authorizeBook= JSON.parse(result.authorizeBook);
|
|
|
- that.infoModel.businessLicense= JSON.parse(result.businessLicense);
|
|
|
- that.infoModel.zZBusinessLicense= JSON.parse(result.zZBusinessLicense);
|
|
|
- that.infoModel.centerBusiness= JSON.parse(result.centerBusiness);
|
|
|
- that.infoModel.contractOrProve= JSON.parse(result.contractOrProve);
|
|
|
- that.infoModel.riskTable= JSON.parse(result.riskTable);
|
|
|
- that.infoModel.trunkTable= JSON.parse(result.trunkTable);
|
|
|
- that.infoModel.trunkContract= JSON.parse(result.trunkContract);
|
|
|
- that.infoModel.accessPhone= JSON.parse(result.accessPhone);
|
|
|
- that.infoModel.accessPhoto= JSON.parse(result.accessPhoto);
|
|
|
- that.infoModel.accessTable= JSON.parse(result.accessTable);
|
|
|
- that.infoModel.commitment = JSON.parse(result.commitment);
|
|
|
+ that.infoModel.applySign= this.urlBase64(JSON.parse(result.applySign));
|
|
|
+ that.infoModel.threePhotos= this.urlBase64(JSON.parse(result.threePhotos));
|
|
|
+ that.infoModel.commitmentBook= this.urlBase64(JSON.parse(result.commitmentBook));
|
|
|
+ that.infoModel.isPriceApproval= this.urlBase64(JSON.parse(result.isPriceApproval));
|
|
|
+ that.infoModel.legalIdCard= this.urlBase64(JSON.parse(result.legalIdCard));
|
|
|
+ that.infoModel.operatorIdCard= this.urlBase64(JSON.parse(result.operatorIdCard));
|
|
|
+ that.infoModel.authorizeBook= this.urlBase64(JSON.parse(result.authorizeBook));
|
|
|
+ that.infoModel.businessLicense= this.urlBase64(JSON.parse(result.businessLicense));
|
|
|
+ that.infoModel.zZBusinessLicense= this.urlBase64(JSON.parse(result.zZBusinessLicense));
|
|
|
+ that.infoModel.centerBusiness= this.urlBase64(JSON.parse(result.centerBusiness));
|
|
|
+ that.infoModel.contractOrProve= this.urlBase64(JSON.parse(result.contractOrProve));
|
|
|
+ that.infoModel.riskTable= this.urlBase64(JSON.parse(result.riskTable));
|
|
|
+ that.infoModel.trunkTable= this.urlBase64(JSON.parse(result.trunkTable));
|
|
|
+ that.infoModel.trunkContract= this.urlBase64(JSON.parse(result.trunkContract));
|
|
|
+ that.infoModel.accessPhone= this.urlBase64(JSON.parse(result.accessPhone));
|
|
|
+ that.infoModel.accessPhoto= this.urlBase64(JSON.parse(result.accessPhoto));
|
|
|
+ that.infoModel.accessTable= this.urlBase64(JSON.parse(result.accessTable));
|
|
|
+ that.infoModel.commitment = this.urlBase64(JSON.parse(result.commitment));
|
|
|
that.infoModel.customType= result.customType ;
|
|
|
that.infoModel.scene= result.scene ;
|
|
|
var customType =result.customType;
|
|
|
@@ -5377,6 +5377,28 @@ export default {
|
|
|
}
|
|
|
return newArr;
|
|
|
},
|
|
|
+
|
|
|
+ /**
|
|
|
+ * url重新编码
|
|
|
+ * @param data
|
|
|
+ */
|
|
|
+ urlBase64(list){
|
|
|
+ if (list && list.length > 0){
|
|
|
+ for (let i=0;i<list.length;i++){
|
|
|
+ let data = list[i];
|
|
|
+ if (data.urlBase && data.url){
|
|
|
+ data.urlBase = window._CONFIG['onlinePreviewDomainURL'] + '?url='
|
|
|
+ + encodeURIComponent(
|
|
|
+ Base64.encode(
|
|
|
+ (data.url)
|
|
|
+ ))
|
|
|
+ list[i] = data;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ return list;
|
|
|
+ }
|
|
|
},
|
|
|
|
|
|
}
|