|
|
@@ -238,12 +238,10 @@ export default class extends Vue {
|
|
|
that.imgHasErr = false;
|
|
|
}
|
|
|
} else {
|
|
|
- const high_Definition_img = that.allRes.F_ResultCollageFilePath || that.allRes.F_ResultFilePath || that.allRes.F_ResultlargeFilePath || that.allRes.F_ResultSmallFilePath;
|
|
|
+ let high_Definition_img = that.allRes.F_ResultFilePath || that.allRes.F_ResultlargeFilePath || that.allRes.F_ResultSmallFilePath;
|
|
|
if (high_Definition_img) {
|
|
|
- // that.imageUrl = that.allRes.BaseUrl + high_Definition_img;
|
|
|
- // that.imageUrlSmall = that.allRes.BaseUrl + that.allRes.F_ResultSmallFilePath;
|
|
|
- that.imageUrl = that.allRes.BaseUrl + high_Definition_img;
|
|
|
- that.imageUrlSmall = that.allRes.BaseUrl + high_Definition_img;
|
|
|
+ that.imageUrl = that.allRes.BaseUrl + high_Definition_img;
|
|
|
+ that.imageUrlSmall = that.allRes.BaseUrl + that.allRes.F_ResultSmallFilePath;
|
|
|
that.imgHasErr = false;
|
|
|
}
|
|
|
}
|
|
|
@@ -402,12 +400,10 @@ export default class extends Vue {
|
|
|
if (this.agentFrom === 'stoneLikePaint' && this.wallType === 'outside') {
|
|
|
this.getProjectDisableFlag();
|
|
|
}
|
|
|
- const high_Definition_img = response.Data.F_ResultCollageFilePath || response.Data.F_ResultFilePath || response.Data.F_ResultlargeFilePath || response.Data.F_ResultSmallFilePath;
|
|
|
- if (high_Definition_img ) {
|
|
|
- // that.imageUrl = response.Data.BaseUrl + high_Definition_img;
|
|
|
- // that.imageUrlSmall = response.Data.BaseUrl + response.Data.F_ResultSmallFilePath;
|
|
|
- that.imageUrl = response.Data.BaseUrl + high_Definition_img;
|
|
|
- that.imageUrlSmall = response.Data.BaseUrl + high_Definition_img;
|
|
|
+ if (response.Data.F_ResultFilePath || response.Data.F_ResultlargeFilePath) {
|
|
|
+ const high_Definition_img = response.Data.F_ResultFilePath || response.Data.F_ResultlargeFilePath || response.Data.F_ResultSmallFilePath;
|
|
|
+ that.imageUrl = response.Data.BaseUrl + high_Definition_img;
|
|
|
+ that.imageUrlSmall = response.Data.BaseUrl + response.Data.F_ResultSmallFilePath;
|
|
|
that.UserFilePathUrl = response.Data.BaseUrl + response.Data.F_UserFilePath;
|
|
|
}
|
|
|
if (response.Data.StateCode == 1) {
|
|
|
@@ -456,12 +452,10 @@ export default class extends Vue {
|
|
|
if (this.agentFrom === 'stoneLikePaint' && this.wallType === 'outside') {
|
|
|
this.getProjectDisableFlag();
|
|
|
}
|
|
|
- const high_Definition_img = response.Data.F_ResultCollageFilePath || response.Data.F_ResultFilePath || response.Data.F_ResultlargeFilePath || response.Data.F_ResultSmallFilePath;
|
|
|
- if (high_Definition_img) {
|
|
|
- // that.imageUrl = response.Data.BaseUrl + high_Definition_img;
|
|
|
- // that.imageUrlSmall = response.Data.BaseUrl + response.Data.F_ResultSmallFilePath;
|
|
|
- that.imageUrl = response.Data.BaseUrl + high_Definition_img;
|
|
|
- that.imageUrlSmall = response.Data.BaseUrl + high_Definition_img;
|
|
|
+ if (response.Data.F_ResultFilePath || response.Data.F_ResultlargeFilePath) {
|
|
|
+ const high_Definition_img = response.Data.F_ResultFilePath || response.Data.F_ResultlargeFilePath || response.Data.F_ResultlargeFilePath;
|
|
|
+ that.imageUrl = response.Data.BaseUrl + high_Definition_img;
|
|
|
+ that.imageUrlSmall = response.Data.BaseUrl + response.Data.F_ResultSmallFilePath;
|
|
|
that.UserFilePathUrl = response.Data.BaseUrl + response.Data.F_UserFilePath;
|
|
|
}
|
|
|
if (response.Data.StateCode == 2 || response.Data.StateCode == 3 || response.Data.StateCode == 4) {
|