From c9b314604aa22b57a91f80f24bb1d17791c02fef Mon Sep 17 00:00:00 2001 From: zhaoy <137053305@qq.com> Date: Thu, 1 Feb 2024 10:32:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E6=95=B0=E6=8D=AE=E4=B8=8B?= =?UTF-8?q?=E5=8F=91=E9=87=8D=E5=8F=91=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/push/batchingpush/index.jsx | 18 +++++++++++++++++- src/pages/push/batchingpush/services.js | 5 ++--- src/pages/push/goodspush/index.jsx | 18 +++++++++++++++++- src/pages/push/goodspush/services.js | 5 ++--- src/pages/push/technologypush/index.jsx | 18 +++++++++++++++++- src/pages/push/technologypush/services.js | 5 ++--- src/pages/scene/foodmenu/services.js | 8 ++++---- src/pages/scene/store/services.js | 2 +- 8 files changed, 62 insertions(+), 17 deletions(-) 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('操作失败'); + } + }) + }} + > + 重发 + ,