|
@@ -210,7 +210,7 @@ class SpreadDrop extends Component{
|
|
|
//点确定后隐藏弹窗
|
|
|
this.props.handleHide();
|
|
|
}
|
|
|
- handleSelect(item,isExclu,joint,listIndex,selected){//console.log(item,selected)
|
|
|
+ handleSelect(item,isExclu,joint,listIndex,selected){
|
|
|
let {withOn,withs,noneOn,exclusion,exists,nowOn,nones,noneIds,ban} = this.state;
|
|
|
/*if(this.props.selecteds)
|
|
|
console.log(exists,this.props.selecteds.exists,exists===this.props.selecteds.exists)*/
|
|
@@ -435,7 +435,9 @@ class ListItems extends Component{
|
|
|
}
|
|
|
searchSelect(item){
|
|
|
const {handleSelect,handleConfirm} = this.props;
|
|
|
- handleSelect&&handleSelect(item); //添加到大数据推送一起选中
|
|
|
+ //添加id字段,用于调尾巴
|
|
|
+ const it = Object.assign({id:item.questionId},item);
|
|
|
+ handleSelect&&handleSelect(it); //添加到大数据推送一起选中
|
|
|
handleConfirm&&handleConfirm(); //确定事件
|
|
|
}
|
|
|
render (){
|