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