|
|
@ -34,7 +34,8 @@ const PlanModal = ({ visible, onCancel, dispatch, type, curRecord, tableRef, che |
|
|
|
console.log('user,',userlist) |
|
|
|
let usedata = userlist.filter(i=>i?.username===values.name) |
|
|
|
console.log(usedata,'usedata') |
|
|
|
dispatch(putxinxi({phone:[params.name],email:[usedata[0]?.email],type:params.type})).then(res=>{ |
|
|
|
dispatch(putxinxi({phone:[params.name],email:[usedata[0]?.email],type:params.type,struction:curRecord?.points?.project?.name |
|
|
|
,point:curRecord?.points?.itemData?.name,number:curRecord?.patrolRecordIssueHandles[0]?.yanshoucishu})).then(res=>{ |
|
|
|
console.log(res,'res') |
|
|
|
}).then(()=>{ |
|
|
|
dispatch(modifyPatrolRecordIssueHandle(curRecord?.patrolRecordIssueHandles[0]?.id,{ |
|
|
|