this.$confirm('你正在进行退回操作', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
putAction('/task/' + id + '/status', {status: -1}).then(res => {
this.$message({
message: '已被退回',
type: 'success'
});
this.list()
})
}).catch(() => {
this.$message({
type: 'info',
message: '已经取消退回'
});
});
浙公网安备 33010602011771号