From 343a5a97637bad3a6bbb2109d07d723ef1cde544 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Thu, 11 Aug 2022 10:43:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/plan/key/list.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/plan/key/list.js b/src/pages/plan/key/list.js index 172e38a0..d7180e47 100644 --- a/src/pages/plan/key/list.js +++ b/src/pages/plan/key/list.js @@ -306,7 +306,7 @@ export default class acclist extends React.Component { res, (req, msg) => { const newData = req.data.map((item) => { - if ([1, 2, 8, 7].includes(item.status)) { + if (![4, 5].includes(item.status)) { item.disabled = true } return item @@ -592,13 +592,13 @@ export default class acclist extends React.Component { bulkSendFunction() { let isNotify = '' this.state.gridSelection.filter((item) => { - if (![4, 5, 6].includes(item.status)) { + if (![4, 5].includes(item.status)) { return (isNotify = true) } }) if (isNotify) { - return Notify.warn('只有状态为进行中、暂停中、已完结的允许发送') + return Notify.warn('只有状态为进行中、暂停中的允许发送') } this.getResellerInfoFunction(this.state.gridSelection[0].reseller_id) this.setState({ isBulkSend: true })