|
|
@ -404,12 +404,23 @@ export default { |
|
|
|
// 重推 |
|
|
|
toPush() { |
|
|
|
if (this.sids.length === 1) { |
|
|
|
ckxstz({ ckSid: this.sids[0] }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.$message({ showClose: true, type: 'success', message: '重推成功' }) |
|
|
|
this.getList() |
|
|
|
} |
|
|
|
}) |
|
|
|
if (this.multipleSelection[0].nodeState === '已办结') { |
|
|
|
const loading = this.$loading({ |
|
|
|
lock: true, |
|
|
|
text: 'Loading', |
|
|
|
spinner: 'el-icon-loading', |
|
|
|
background: 'rgba(0, 0, 0, 0.7)' |
|
|
|
}) |
|
|
|
ckxstz({ ckSid: this.sids[0] }).then((resp) => { |
|
|
|
loading.close() |
|
|
|
if (resp.success) { |
|
|
|
this.$message({ showClose: true, type: 'success', message: '重推成功' }) |
|
|
|
this.getList() |
|
|
|
} |
|
|
|
}) |
|
|
|
} else { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请选择状态为已办结的记录进行重推操作' }) |
|
|
|
} |
|
|
|
} else { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请选择一条记录进行重推操作' }) |
|
|
|
} |
|
|
|