update 工作组催款邮件发送提示
This commit is contained in:
@@ -168,6 +168,8 @@
|
|||||||
<working-group-member-unit-module ref="modalForm" @ok="modalFormOk"></working-group-member-unit-module>
|
<working-group-member-unit-module ref="modalForm" @ok="modalFormOk"></working-group-member-unit-module>
|
||||||
<working-group-member-set-charge-notice ref="setChargeNotic"
|
<working-group-member-set-charge-notice ref="setChargeNotic"
|
||||||
@ok="modalFormOk"></working-group-member-set-charge-notice>
|
@ok="modalFormOk"></working-group-member-set-charge-notice>
|
||||||
|
|
||||||
|
<email-error-msg-modal ref="emailError"></email-error-msg-modal>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -183,6 +185,7 @@ import WorkingGroupMemberSetChargeNotice from './modules/WorkingGroupMemberSetCh
|
|||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import { ACCESS_TOKEN } from '../../store/mutation-types'
|
import { ACCESS_TOKEN } from '../../store/mutation-types'
|
||||||
import PreviewFile from '../../components/jero/PreviewFile'
|
import PreviewFile from '../../components/jero/PreviewFile'
|
||||||
|
import EmailErrorMsgModal from './modules/EmailErrorMsgModal'
|
||||||
|
|
||||||
// eslint-disable-next-line no-undef,no-unused-vars
|
// eslint-disable-next-line no-undef,no-unused-vars
|
||||||
const Base64 = require('js-base64').Base64
|
const Base64 = require('js-base64').Base64
|
||||||
@@ -196,7 +199,8 @@ export default {
|
|||||||
ProjectDetailModal,
|
ProjectDetailModal,
|
||||||
WorkingGroupMemberUnitModule,
|
WorkingGroupMemberUnitModule,
|
||||||
WorkingGroupMemberSetChargeNotice,
|
WorkingGroupMemberSetChargeNotice,
|
||||||
PreviewFile
|
PreviewFile,
|
||||||
|
EmailErrorMsgModal
|
||||||
},
|
},
|
||||||
mixins: [JeroListMixin],
|
mixins: [JeroListMixin],
|
||||||
computed: {
|
computed: {
|
||||||
@@ -483,6 +487,13 @@ export default {
|
|||||||
dunningReminder(param).then((res) => {
|
dunningReminder(param).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
that.$message.success(res.message)
|
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(that.$refs.emailError.msgList, 'that.$refs.emailError.msgList ')
|
||||||
|
}
|
||||||
that.loadData()
|
that.loadData()
|
||||||
that.onClearSelected()
|
that.onClearSelected()
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user