Commit 75856e6e by zhaochengxiang

模型送审

parent 0a90276c
......@@ -281,7 +281,6 @@ const RuleReviewItem = ({ value = {}, onChange, loading, users }) => {
triggerChange({
standardApprovalUserList: (users??[])
.filter(item => val===item.name)
.map(item => ({ userId: item.id, userName: item.name, userCnName: item.dname }))
})
}}
/>
......@@ -411,7 +410,7 @@ const DesignUsersItem = ({ value, onChange, loading, users }) => {
return (
<Select showSearch loading={loading} allowClear
placeholder='请选择设计评审人员'
value={value?.map(item => item.userName)}
value={value?.map(item => item.name)}
searchValue={searchValue}
onSearch={(val) => {
setSearchValue(val)
......@@ -425,7 +424,6 @@ const DesignUsersItem = ({ value, onChange, loading, users }) => {
onChange?.(
(users??[])
.filter(item => val===item.name)
.map(item => ({ userId: item.id, userName: item.name, userCnName: item.dname }))
)
}}
/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment