qinzhipeng_v 5 жил өмнө
parent
commit
eddc210908

+ 2 - 2
src/views/Platform/presentation/Templates/ClientReport.vue

@@ -239,10 +239,10 @@ export default {
             const sendImgData = imgData.substring(imgData.indexOf(',') + 1)
             const postData = { 'reportId': ele.id, 'imgStr': sendImgData, 'url': window.location.href, 'emailUser': e.name, 'copyTo': e.names }
             projectTestReportSendmail(postData).then(res => {
-              res.code === 200 ? this.$message.success('发送测试日报成功') : this.$message.error('发送测试日报失败,请联系管理员!')
+              res.code === 200 ? this.$message.success('报告发送中,请稍后进行邮件查收!') : this.$message.error('发送测试日报失败,请联系管理员!')
               this.handleClose()
-              document.querySelector('body').removeChild(copyDom)
               this.send = false
+              document.querySelector('body').removeChild(copyDom)
             })
           })
         }, 500)

+ 1 - 1
src/views/Platform/presentation/Templates/DailyReport.vue

@@ -193,7 +193,7 @@ export default {
             url = url.toString().substring(url.indexOf(',') + 1)
             var postData = { 'reportId': ele.id, 'imgStr': url, 'url': window.location.href, 'emailUser': e.name, 'copyTo': e.names }
             dailyReportSendmail(postData).then(res => {
-              res.code === 200 ? this.$message({ type: 'success', message: '发送测试日报成功' }) : this.$message({ type: 'error', message: '发送测试日报失败,请联系管理员!' })
+              res.code === 200 ? this.$message({ type: 'success', message: '报告发送中,请稍后进行邮件查收!' }) : this.$message({ type: 'error', message: '发送测试日报失败,请联系管理员!' })
               this.send = false
               this.handleClose()
               // document.querySelector('body').removeChild(copyDom)

+ 1 - 1
src/views/Platform/presentation/Templates/TestReport.vue

@@ -251,7 +251,7 @@ export default {
             const sendImgData = imgData.substring(imgData.indexOf(',') + 1)
             const postData = { 'reportId': ele.id, 'imgStr': sendImgData, 'url': window.location.href, 'emailUser': e.name, 'copyTo': e.names }
             launchTestSendmail(postData).then(res => {
-              res.code === 200 ? this.$message.success('发送测试日报成功') : this.$message.error('发送测试日报失败,请联系管理员!')
+              res.code === 200 ? this.$message.success('报告发送中,请稍后进行邮件查收!') : this.$message.error('发送测试日报失败,请联系管理员!')
               this.handleClose1()
               this.send = false
               document.querySelector('body').removeChild(copyDom)