【修改】 会议上传文件邮件发送提醒
This commit is contained in:
@@ -29,16 +29,19 @@
|
||||
</a-row>
|
||||
</a-form>
|
||||
</a-spin>
|
||||
<email-error-msg-modal ref="emailError"></email-error-msg-modal>
|
||||
</j-modal>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import JUpload from '@comp/jero/JUpload'
|
||||
import {httpAction} from '@api/manage'
|
||||
import EmailErrorMsgModal from '@views/projectManagement/modules/EmailErrorMsgModal'
|
||||
|
||||
export default {
|
||||
name: 'UploadMeetFileModal',
|
||||
components: {
|
||||
EmailErrorMsgModal,
|
||||
JUpload
|
||||
},
|
||||
data() {
|
||||
@@ -166,7 +169,15 @@ export default {
|
||||
}
|
||||
httpAction(url, params, 'post').then(res => {
|
||||
if (res.success) {
|
||||
that.$message.success(res.message)
|
||||
|
||||
if (Array.isArray(res.result) && res.result.length > 0) {
|
||||
// msgWarn(this,res.result,0)
|
||||
that.$refs.emailError.open()
|
||||
that.$refs.emailError.msgList = res.result
|
||||
console.log(this.$refs.emailError.msgList, 'this.$refs.emailError.msgList ')
|
||||
}else {
|
||||
that.$message.success(res.message)
|
||||
}
|
||||
that.$emit('ok')
|
||||
this.confirmLoading = false
|
||||
that.close()
|
||||
|
||||
@@ -20,7 +20,7 @@ export default {
|
||||
desc:'邮件发送失败的提示弹框',
|
||||
data(){
|
||||
return {
|
||||
title:'邮箱失败提醒',
|
||||
title:'邮箱发送提醒',
|
||||
msgList:[],// 要显示的消息提醒数组
|
||||
visible:false,
|
||||
width:400
|
||||
|
||||
Reference in New Issue
Block a user