Merge branch 'bjxz-dev' of http://139.9.66.234:18023/dhp/zhgdyun into bjxz-dev

This commit is contained in:
kun 2024-06-18 18:36:38 +08:00
commit c98b4c79fd
2 changed files with 10 additions and 19 deletions

View File

@ -1784,18 +1784,6 @@ export default {
this.$store.state.FILEURL + imgInfo.imageUrl; this.$store.state.FILEURL + imgInfo.imageUrl;
this.cropperDialog = true; this.cropperDialog = true;
} }
// let imgStatus = result.file.size / 1024 < 500
// if (!imgStatus) {
// this.cropperOption.img =
// this.$store.state.FILEURL + imgInfo.imageUrl
// this.cropperDialog = true
// } else {
// if (this.isSzProject == 1) {
// this.checkImgLibrary(imgInfo.imageUrl)
// } else {
// this.checkFace(imgInfo.imageUrl)
// }
// }
break; break;
} }
} }

View File

@ -1261,13 +1261,16 @@ export default {
loading.close(); loading.close();
}) })
}else{ }else{
if(res.code == 200 && res.result.checkType == "1"){ this.cropperOption.img =
this.cropperOption.img = this.$store.state.FILEURL + imgInfo.imageUrl;
this.$store.state.FILEURL + imgInfo.imageUrl; this.cropperDialog = true;
this.cropperDialog = true; // if(res.code == 200 && res.result.checkType == "1"){
}else{ // this.cropperOption.img =
this.$message.error(res.result.message) // this.$store.state.FILEURL + imgInfo.imageUrl;
} // this.cropperDialog = true;
// }else{
// this.$message.error(res.result.message)
// }
} }
// let imgStatus = result.file.size / 1024 < 500 // let imgStatus = result.file.size / 1024 < 500
// if (!imgStatus) { // if (!imgStatus) {