fix 一些问题
This commit is contained in:
@@ -185,10 +185,10 @@ export default class index extends Component {
|
||||
<List.Item
|
||||
key={record.id}
|
||||
actions={[
|
||||
<Auth auth="sysUser:edit">
|
||||
<Auth auth="houseMember:edit">
|
||||
<a onClick={() => this.onOpen(this.editForm, record)}>编辑</a>
|
||||
</Auth>,
|
||||
<Auth auth="sysOrg:delete">
|
||||
<Auth auth="houseMember:delete">
|
||||
<Popconfirm
|
||||
placement="topRight"
|
||||
title="是否确认删除"
|
||||
@@ -197,7 +197,7 @@ export default class index extends Component {
|
||||
<a>删除</a>
|
||||
</Popconfirm>
|
||||
</Auth>,
|
||||
<Auth aut="sysUser:resetPwd">
|
||||
<Auth aut="houseMember:resetPwd">
|
||||
<a onClick={() => this.onResetPassword(record)}>重置密码</a>
|
||||
</Auth>,
|
||||
]}
|
||||
@@ -247,7 +247,7 @@ export default class index extends Component {
|
||||
<Descriptions.Item label="邮箱">{record.email || '未设置'}</Descriptions.Item>
|
||||
</Descriptions>
|
||||
<div className="yo-list-content--h">
|
||||
<Auth auth="sysUser:changeStatus">
|
||||
<Auth auth="houseMember:changeStatus">
|
||||
<div className="yo-list-content--h--item text-center">
|
||||
<Switch
|
||||
checked={!record.status}
|
||||
@@ -292,7 +292,7 @@ export default class index extends Component {
|
||||
autoLoad={false}
|
||||
loadData={this.loadData}
|
||||
query={
|
||||
<Auth auth="sysApp:page">
|
||||
<Auth auth="houseMember:page">
|
||||
<Form.Item label="关键词" name="searchValue">
|
||||
<Input
|
||||
autoComplete="off"
|
||||
|
||||
Reference in New Issue
Block a user