From b713e9faef2fadcd8fcc1065445efe765ccf7d20 Mon Sep 17 00:00:00 2001 From: Vce Date: Tue, 18 Jun 2024 16:02:19 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=94=B9=E8=8A=B1?= =?UTF-8?q?=E5=90=8D=E5=86=8C=E4=B8=B4=E6=97=B6=E4=BA=BA=E5=91=98=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E7=8E=B0=E5=9C=BA=E9=87=87=E9=9B=86=E7=85=A7=E7=89=87?= =?UTF-8?q?=E6=97=B6=E4=B8=8D=E5=BC=B9=E5=87=BA=E8=A3=81=E5=89=AA=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../comboForm/dialogPage/adminDialog.vue | 12 ------------ .../comboForm/dialogPage/temporaryDialog.vue | 17 ++++++++++------- 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/src/views/projectFront/laborManage/components/comboForm/dialogPage/adminDialog.vue b/src/views/projectFront/laborManage/components/comboForm/dialogPage/adminDialog.vue index 772a3dab..ec037565 100644 --- a/src/views/projectFront/laborManage/components/comboForm/dialogPage/adminDialog.vue +++ b/src/views/projectFront/laborManage/components/comboForm/dialogPage/adminDialog.vue @@ -1784,18 +1784,6 @@ export default { this.$store.state.FILEURL + imgInfo.imageUrl; 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; } } diff --git a/src/views/projectFront/laborManage/components/comboForm/dialogPage/temporaryDialog.vue b/src/views/projectFront/laborManage/components/comboForm/dialogPage/temporaryDialog.vue index 39b5300a..e1c9d935 100644 --- a/src/views/projectFront/laborManage/components/comboForm/dialogPage/temporaryDialog.vue +++ b/src/views/projectFront/laborManage/components/comboForm/dialogPage/temporaryDialog.vue @@ -1261,13 +1261,16 @@ export default { loading.close(); }) }else{ - if(res.code == 200 && res.result.checkType == "1"){ - this.cropperOption.img = - this.$store.state.FILEURL + imgInfo.imageUrl; - this.cropperDialog = true; - }else{ - this.$message.error(res.result.message) - } + this.cropperOption.img = + this.$store.state.FILEURL + imgInfo.imageUrl; + this.cropperDialog = true; + // if(res.code == 200 && res.result.checkType == "1"){ + // this.cropperOption.img = + // this.$store.state.FILEURL + imgInfo.imageUrl; + // this.cropperDialog = true; + // }else{ + // this.$message.error(res.result.message) + // } } // let imgStatus = result.file.size / 1024 < 500 // if (!imgStatus) {