diff --git a/src/pages/push/batchingpush/index.jsx b/src/pages/push/batchingpush/index.jsx index 88c8829..ae687ef 100644 --- a/src/pages/push/batchingpush/index.jsx +++ b/src/pages/push/batchingpush/index.jsx @@ -9,7 +9,8 @@ import PushFrom from './components/PushFrom'; import { GetDevicePushRecodePage, DevicePushRecodeAdd, - DevicePushRecodeDelete + DevicePushRecodeDelete, + DevicePushRecodeUpdate } from './services'; @@ -109,6 +110,21 @@ const goodspush = () => { > 下发详情 , + { + DevicePushRecodeUpdate(record.id).then((r)=>{ + if(r.data){ + message.success('操作成功'); + actionRef.current.reload(); + }else{ + message.error('操作失败'); + } + }) + }} + > + 重发 + , { > 下发详情 , + { + DevicePushRecodeUpdate(record.id).then((r)=>{ + if(r.data){ + message.success('操作成功'); + actionRef.current.reload(); + }else{ + message.error('操作失败'); + } + }) + }} + > + 重发 + , { > 下发详情 , + { + DevicePushRecodeUpdate(record.id).then((r)=>{ + if(r.data){ + message.success('操作成功'); + actionRef.current.reload(); + }else{ + message.error('操作失败'); + } + }) + }} + > + 重发 + ,