mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 05:16:44 +08:00
邮件发送loading2
This commit is contained in:
@@ -695,14 +695,21 @@ export default {
|
|||||||
}
|
}
|
||||||
this.$validator.validate().then(valid => {
|
this.$validator.validate().then(valid => {
|
||||||
if (true === valid) {
|
if (true === valid) {
|
||||||
getSendEmail(params).then(res => {
|
|
||||||
if (res.result == '0') {
|
|
||||||
Toast.loading({
|
Toast.loading({
|
||||||
message: '加载中...',
|
message: '加载中...',
|
||||||
loadingType: 'spinner',
|
loadingType: 'spinner',
|
||||||
forbidClick: true,
|
forbidClick: true,
|
||||||
duration: 2000
|
duration: 0
|
||||||
});
|
});
|
||||||
|
getSendEmail(params).then(res => {
|
||||||
|
Toast.clear();
|
||||||
|
if (res.result == '0') {
|
||||||
|
// Toast.loading({
|
||||||
|
// message: '加载中...',
|
||||||
|
// loadingType: 'spinner',
|
||||||
|
// forbidClick: true,
|
||||||
|
// duration: 2000
|
||||||
|
// });
|
||||||
// 调用下载方法
|
// 调用下载方法
|
||||||
// getDownloadZip({ orderNo: this.revokeOrderNo }).then(downRes => {、
|
// getDownloadZip({ orderNo: this.revokeOrderNo }).then(downRes => {、
|
||||||
// this.handleDownload(downRes)
|
// this.handleDownload(downRes)
|
||||||
@@ -717,6 +724,9 @@ export default {
|
|||||||
} else if (res.result == '1') {
|
} else if (res.result == '1') {
|
||||||
Toast.fail(res.resultMessage)
|
Toast.fail(res.resultMessage)
|
||||||
}
|
}
|
||||||
|
}).catch(error => {
|
||||||
|
Toast.clear();
|
||||||
|
throw error;
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user