|
|
|
@ -138,13 +138,14 @@ class CommonWorkPost extends Component{
|
|
|
|
|
let {fileList,selectmemberslist,workslist, memberNumMin, memberNumMax}=this.state;
|
|
|
|
|
|
|
|
|
|
let userids=[];
|
|
|
|
|
if(selectmemberslist!=undefined&&selectmemberslist.length>0) {
|
|
|
|
|
for (var list of selectmemberslist) {
|
|
|
|
|
|
|
|
|
|
for(var list of selectmemberslist){
|
|
|
|
|
if (list.user_id != undefined && list.user_id != null) {
|
|
|
|
|
userids.push(list.user_id)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(list.user_id!=undefined&&list.user_id!=null){
|
|
|
|
|
userids.push(list.user_id)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
const isGroup = this.props.isGroup()
|
|
|
|
|
if(!isGroup){
|
|
|
|
@ -152,11 +153,11 @@ class CommonWorkPost extends Component{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let listid=[];
|
|
|
|
|
|
|
|
|
|
for(var list of fileList){
|
|
|
|
|
listid.push(list.id || list.response.id)
|
|
|
|
|
if(fileList!=undefined&&fileList.length>0) {
|
|
|
|
|
for (var list of fileList) {
|
|
|
|
|
listid.push(list.id || list.response.id)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
e.preventDefault();
|
|
|
|
|
if( true ){
|
|
|
|
|
this.props.form.validateFields((err, values) => {
|
|
|
|
|