消息列表createAt,人员授权oakid
This commit is contained in:
parent
501016db5c
commit
48f08175ba
|
|
@ -9,7 +9,7 @@ export default function Render(props) {
|
|||
{messages?.length > 0 ? (<div>
|
||||
{messages?.map((message, index) => (<MessageCell oakId={message.id} key={message.id} onItemClicked={(item) => {
|
||||
goDetailById(item.id);
|
||||
}} title={message.title} router={message.router} id={message.id} visitState={message.visitState} visit={(id) => {
|
||||
}} title={message.title} router={message.router} id={message.id} visitState={message.visitState} $$createAt$$={message.$$createAt$$} visit={(id) => {
|
||||
methods.updateItem({}, id, 'visit');
|
||||
methods.execute(undefined, false);
|
||||
}}/>))}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ export default function Render(props) {
|
|||
const { id } = item;
|
||||
onClose && onClose();
|
||||
goDetailById(id);
|
||||
}} title={message.title} router={message.router} id={message.id} visitState={message.visitState} visit={(id) => {
|
||||
}} title={message.title} router={message.router} id={message.id} visitState={message.visitState} $$createAt$$={message.$$createAt$$} visit={(id) => {
|
||||
methods.updateItem({}, id, 'visit');
|
||||
methods.execute(undefined, false);
|
||||
}}/>))}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ export default function Render(props) {
|
|||
}} placeholder="请输入手机号码" type="tel"/>
|
||||
</Form.Item>
|
||||
</Form>
|
||||
{mobileValueReady && (<OnUser oakAutoUnmount={true} oakPath={`${oakFullpath}.user`} entity={entity} entityId={entityId} relations={relations} setPasswordConfirm={setPasswordConfirm} passwordRequire={passwordRequire} allowUpdateName={allowUpdateName} allowUpdateNickname={allowUpdateNickname} isNew={isNew} />)}
|
||||
{mobileValueReady && (<OnUser oakAutoUnmount={true} oakPath={`${oakFullpath}.user`} oakId={userId} entity={entity} entityId={entityId} relations={relations} setPasswordConfirm={setPasswordConfirm} passwordRequire={passwordRequire} allowUpdateName={allowUpdateName} allowUpdateNickname={allowUpdateNickname} isNew={isNew} />)}
|
||||
<Form colon labelCol={{ span: 4 }} wrapperCol={{ span: 8 }}>
|
||||
<Form.Item wrapperCol={{ offset: 4 }}>
|
||||
<Space>
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ export default function Render(
|
|||
}, id, 'visit');
|
||||
methods.execute(undefined, false);
|
||||
}}
|
||||
$$createAt$$={message.$$createAt$$}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ export default function Render(
|
|||
}, id, 'visit');
|
||||
methods.execute(undefined, false);
|
||||
}}
|
||||
$$createAt$$={message.$$createAt$$}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -84,6 +84,7 @@ export default function Render(
|
|||
<OnUser
|
||||
oakAutoUnmount={true}
|
||||
oakPath={`${oakFullpath}.user`}
|
||||
oakId={userId}
|
||||
entity={entity}
|
||||
entityId={entityId}
|
||||
relations={relations}
|
||||
|
|
|
|||
Loading…
Reference in New Issue