|
@@ -63,23 +63,23 @@ export default {
|
|
|
},
|
|
|
anew: {
|
|
|
conditions: ({ row, index, column }) => {
|
|
|
- return true
|
|
|
+ return row.sendStatus == 'NO'
|
|
|
},
|
|
|
prompt: '是否确定重新发送?',
|
|
|
click: ({ row, index, column }) => {
|
|
|
- // insureResend({
|
|
|
- // emailBatchNo: row.emailBatchNo
|
|
|
- // })
|
|
|
- // .then(res => {
|
|
|
- // this.$refs.pageRef.refreshList()
|
|
|
- // this.$message({
|
|
|
- // type: 'success',
|
|
|
- // message: `发送成功!`
|
|
|
- // })
|
|
|
- // })
|
|
|
- // .catch(err => {
|
|
|
- // console.log(err)
|
|
|
- // })
|
|
|
+ insureResend({
|
|
|
+ sendBatch: row.sendBatch
|
|
|
+ })
|
|
|
+ .then(res => {
|
|
|
+ this.$refs.pageRef.refreshList()
|
|
|
+ this.$message({
|
|
|
+ type: 'success',
|
|
|
+ message: `发送完成!`
|
|
|
+ })
|
|
|
+ })
|
|
|
+ .catch(err => {
|
|
|
+ console.log(err)
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
})
|