Commit 75856e6e by zhaochengxiang

模型送审

parent 0a90276c
...@@ -281,7 +281,6 @@ const RuleReviewItem = ({ value = {}, onChange, loading, users }) => { ...@@ -281,7 +281,6 @@ const RuleReviewItem = ({ value = {}, onChange, loading, users }) => {
triggerChange({ triggerChange({
standardApprovalUserList: (users??[]) standardApprovalUserList: (users??[])
.filter(item => val===item.name) .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 }) => { ...@@ -411,7 +410,7 @@ const DesignUsersItem = ({ value, onChange, loading, users }) => {
return ( return (
<Select showSearch loading={loading} allowClear <Select showSearch loading={loading} allowClear
placeholder='请选择设计评审人员' placeholder='请选择设计评审人员'
value={value?.map(item => item.userName)} value={value?.map(item => item.name)}
searchValue={searchValue} searchValue={searchValue}
onSearch={(val) => { onSearch={(val) => {
setSearchValue(val) setSearchValue(val)
...@@ -425,7 +424,6 @@ const DesignUsersItem = ({ value, onChange, loading, users }) => { ...@@ -425,7 +424,6 @@ const DesignUsersItem = ({ value, onChange, loading, users }) => {
onChange?.( onChange?.(
(users??[]) (users??[])
.filter(item => val===item.name) .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