|
@ -21,7 +21,7 @@ const PlanModal = ({ visible, onCreate, onCancel, dispatch, userLoading, userLis |
|
|
dispatch(getUserList()) |
|
|
dispatch(getUserList()) |
|
|
dispatch(getProjectList()) |
|
|
dispatch(getProjectList()) |
|
|
} |
|
|
} |
|
|
if (type === 'edit') { |
|
|
if (type === 'edit' || type === 'view') { |
|
|
dispatch(positionList({ projectId: curRecord?.project?.id })).then(res => { |
|
|
dispatch(positionList({ projectId: curRecord?.project?.id })).then(res => { |
|
|
if (res.success) { |
|
|
if (res.success) { |
|
|
setPoints(res.payload.data?.rows) |
|
|
setPoints(res.payload.data?.rows) |
|
|