|
@ -347,11 +347,22 @@ export default { |
|
|
this.$message({ showClose: true, type: 'error', message: '请选择一条记录进行重推操作' }) |
|
|
this.$message({ showClose: true, type: 'error', message: '请选择一条记录进行重推操作' }) |
|
|
return |
|
|
return |
|
|
} else { |
|
|
} else { |
|
|
|
|
|
const loading = this.$loading({ |
|
|
|
|
|
lock: true, |
|
|
|
|
|
text: '数据推送中', |
|
|
|
|
|
spinner: 'el-icon-loading', |
|
|
|
|
|
background: 'rgba(0, 0, 0, 0.7)' |
|
|
|
|
|
}) |
|
|
req.ctcgykd({ cgrkdSid: this.sids[0] }).then((resp) => { |
|
|
req.ctcgykd({ cgrkdSid: this.sids[0] }).then((resp) => { |
|
|
if (resp.success) { |
|
|
if (resp.success) { |
|
|
|
|
|
loading.close() |
|
|
this.$message({ showClose: true, type: 'success', message: '推送成功' }) |
|
|
this.$message({ showClose: true, type: 'success', message: '推送成功' }) |
|
|
this.getList() |
|
|
this.getList() |
|
|
|
|
|
} else { |
|
|
|
|
|
loading.close() |
|
|
} |
|
|
} |
|
|
|
|
|
}).catch(() => { |
|
|
|
|
|
loading.close() |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|