From f017300e3063e867d0ca88a589274f23dec836fc Mon Sep 17 00:00:00 2001 From: LiuJiaNan <15703339975@163.com> Date: Wed, 15 Apr 2026 13:54:19 +0800 Subject: [PATCH] bug15680 --- .../UserExchangeList/index.js | 67 ++++++------------- .../UserExchangeRecordList/index.js | 2 +- 2 files changed, 21 insertions(+), 48 deletions(-) diff --git a/src/pages/Container/Supervision/PersonnelEvaluation/UserExchangeList/index.js b/src/pages/Container/Supervision/PersonnelEvaluation/UserExchangeList/index.js index 3e44a88..9c5a0b6 100644 --- a/src/pages/Container/Supervision/PersonnelEvaluation/UserExchangeList/index.js +++ b/src/pages/Container/Supervision/PersonnelEvaluation/UserExchangeList/index.js @@ -154,53 +154,26 @@ function UserExchangeList(props) { fixed: "right", render: (_, record) => ( - { - props.entrance === "enterprise" - ? ( - <> - {props.permission("qyd-rykpgl-exchange-info") && ( - - )} - {props.permission("qyd-rykpgl-eval-record") && ( - - )} - - ) - : ( - <> - - - - ) - } + {(props.entrance === "enterprise" || props.permission("qyd-rykpgl-exchange-info")) && ( + + )} + {(props.entrance === "enterprise" || props.permission("qyd-rykpgl-eval-record")) && ( + + )} ), }, diff --git a/src/pages/Container/Supervision/PersonnelEvaluation/UserExchangeRecordList/index.js b/src/pages/Container/Supervision/PersonnelEvaluation/UserExchangeRecordList/index.js index 25cba03..844db3f 100644 --- a/src/pages/Container/Supervision/PersonnelEvaluation/UserExchangeRecordList/index.js +++ b/src/pages/Container/Supervision/PersonnelEvaluation/UserExchangeRecordList/index.js @@ -47,7 +47,7 @@ function UserExchangeRecordList(props) {