From c451174172ba3cc195b5119c78237675cd76457f Mon Sep 17 00:00:00 2001 From: zhangminghua Date: Fri, 14 Jul 2023 10:18:05 +0800 Subject: [PATCH] =?UTF-8?q?(*)=E9=94=80=E5=94=AE=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E5=88=86=E5=B8=83=E7=BC=96=E8=BE=91=E5=88=A0=E9=99=A4=E6=9D=83?= =?UTF-8?q?=E9=99=90=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../salersDistribution/personnelDistribution.jsx | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/web/client/src/sections/humanAffairs/containers/salersDistribution/personnelDistribution.jsx b/web/client/src/sections/humanAffairs/containers/salersDistribution/personnelDistribution.jsx index 8033f20..33649b1 100644 --- a/web/client/src/sections/humanAffairs/containers/salersDistribution/personnelDistribution.jsx +++ b/web/client/src/sections/humanAffairs/containers/salersDistribution/personnelDistribution.jsx @@ -181,11 +181,17 @@ const PersonnelDistribution = (props) => { width: 120, render: (text, record) => { return
- onEdit(record)}>编辑   - confirmDelete(record.pepUserId)} style={{ width: 330 }} - > 删除 + { + isAuthorized('ADDSALESPERSONNEL') || isAuthorized('IMPORTSALESPERSONNELDISTRIBUTION') ? +
+ onEdit(record)}>编辑   + confirmDelete(record.pepUserId)} style={{ width: 330 }} + > 删除 +
+ : "" + }
} }];