权限
This commit is contained in:
@@ -52,6 +52,7 @@ const CompanyListForm: React.FC = () => {
|
||||
fixed: tableFixedByPhone('left'),
|
||||
render: (_, item) => (
|
||||
<GapBox>
|
||||
{auth.SF_ADMIN_COMPANY_EDIT && (
|
||||
<Button
|
||||
type='primary'
|
||||
onClick={() => {
|
||||
@@ -60,6 +61,8 @@ const CompanyListForm: React.FC = () => {
|
||||
>
|
||||
编辑
|
||||
</Button>
|
||||
)}
|
||||
{auth.SF_ADMIN_USER_VIEW && (
|
||||
<Button
|
||||
type='text'
|
||||
onClick={() => {
|
||||
@@ -69,6 +72,7 @@ const CompanyListForm: React.FC = () => {
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
)}
|
||||
</GapBox>
|
||||
),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user