|
|
@ -91,7 +91,7 @@ class NewMyShixunModel extends Component {
|
|
|
|
page: this.state.page,
|
|
|
|
page: this.state.page,
|
|
|
|
per_page:10,
|
|
|
|
per_page:10,
|
|
|
|
oj_status:null,
|
|
|
|
oj_status:null,
|
|
|
|
item_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
exam_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.getdata(data);
|
|
|
|
this.getdata(data);
|
|
|
|
|
|
|
|
|
|
|
@ -117,7 +117,7 @@ class NewMyShixunModel extends Component {
|
|
|
|
page: 1,
|
|
|
|
page: 1,
|
|
|
|
per_page:10,
|
|
|
|
per_page:10,
|
|
|
|
oj_status:null,
|
|
|
|
oj_status:null,
|
|
|
|
item_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
exam_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.getdata(data);
|
|
|
|
this.getdata(data);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -141,7 +141,7 @@ class NewMyShixunModel extends Component {
|
|
|
|
page: 1,
|
|
|
|
page: 1,
|
|
|
|
per_page:10,
|
|
|
|
per_page:10,
|
|
|
|
oj_status:null,
|
|
|
|
oj_status:null,
|
|
|
|
item_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
exam_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.getdata(data);
|
|
|
|
this.getdata(data);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -156,7 +156,7 @@ class NewMyShixunModel extends Component {
|
|
|
|
public: defaultActiveKey,
|
|
|
|
public: defaultActiveKey,
|
|
|
|
page:1,
|
|
|
|
page:1,
|
|
|
|
per_page:10,
|
|
|
|
per_page:10,
|
|
|
|
item_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
exam_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.getdata(data);
|
|
|
|
this.getdata(data);
|
|
|
|
|
|
|
|
|
|
|
@ -209,7 +209,7 @@ class NewMyShixunModel extends Component {
|
|
|
|
page: 1,
|
|
|
|
page: 1,
|
|
|
|
per_page:10,
|
|
|
|
per_page:10,
|
|
|
|
oj_status:null,
|
|
|
|
oj_status:null,
|
|
|
|
item_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
exam_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.getdata(data);
|
|
|
|
this.getdata(data);
|
|
|
|
|
|
|
|
|
|
|
@ -342,7 +342,7 @@ class NewMyShixunModel extends Component {
|
|
|
|
page: pageNumber,
|
|
|
|
page: pageNumber,
|
|
|
|
per_page:10,
|
|
|
|
per_page:10,
|
|
|
|
oj_status:this.state.oj_status,
|
|
|
|
oj_status:this.state.oj_status,
|
|
|
|
item_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
exam_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.getdata(data);
|
|
|
|
this.getdata(data);
|
|
|
@ -461,7 +461,7 @@ class NewMyShixunModel extends Component {
|
|
|
|
page:1,
|
|
|
|
page:1,
|
|
|
|
per_page:10,
|
|
|
|
per_page:10,
|
|
|
|
oj_status:null,
|
|
|
|
oj_status:null,
|
|
|
|
item_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
exam_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
this.getdata(data);
|
|
|
|
this.getdata(data);
|
|
|
@ -488,7 +488,7 @@ class NewMyShixunModel extends Component {
|
|
|
|
per_page:10,
|
|
|
|
per_page:10,
|
|
|
|
keywords:null,
|
|
|
|
keywords:null,
|
|
|
|
oj_status:null,
|
|
|
|
oj_status:null,
|
|
|
|
item_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
exam_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
this.getdata(data);
|
|
|
|
this.getdata(data);
|
|
|
@ -543,7 +543,7 @@ class NewMyShixunModel extends Component {
|
|
|
|
page: this.state.page,
|
|
|
|
page: this.state.page,
|
|
|
|
per_page:10,
|
|
|
|
per_page:10,
|
|
|
|
oj_status:this.state.oj_status,
|
|
|
|
oj_status:this.state.oj_status,
|
|
|
|
item_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
exam_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
this.getdata(data);
|
|
|
|
this.getdata(data);
|
|
|
@ -567,7 +567,7 @@ class NewMyShixunModel extends Component {
|
|
|
|
keywords: this.state.keywords,
|
|
|
|
keywords: this.state.keywords,
|
|
|
|
page: this.state.page,
|
|
|
|
page: this.state.page,
|
|
|
|
per_page:10,
|
|
|
|
per_page:10,
|
|
|
|
item_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
exam_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.getdata(data);
|
|
|
|
this.getdata(data);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -593,7 +593,7 @@ class NewMyShixunModel extends Component {
|
|
|
|
keywords: this.state.keywords,
|
|
|
|
keywords: this.state.keywords,
|
|
|
|
page: this.state.page,
|
|
|
|
page: this.state.page,
|
|
|
|
per_page:10,
|
|
|
|
per_page:10,
|
|
|
|
item_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
exam_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.getdata(data);
|
|
|
|
this.getdata(data);
|
|
|
@ -661,7 +661,7 @@ class NewMyShixunModel extends Component {
|
|
|
|
keywords: this.state.keywords,
|
|
|
|
keywords: this.state.keywords,
|
|
|
|
page: this.state.page,
|
|
|
|
page: this.state.page,
|
|
|
|
per_page:10,
|
|
|
|
per_page:10,
|
|
|
|
item_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
exam_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.getdatasy(data);
|
|
|
|
this.getdatasy(data);
|
|
|
|
this.getbasket_listdata();
|
|
|
|
this.getbasket_listdata();
|
|
|
@ -683,7 +683,7 @@ class NewMyShixunModel extends Component {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
axios.delete(url,{ data: {
|
|
|
|
axios.delete(url,{ data: {
|
|
|
|
item_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
exam_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
}})
|
|
|
|
}})
|
|
|
|
.then((result) => {
|
|
|
|
.then((result) => {
|
|
|
|
if (result.data.status == 0) {
|
|
|
|
if (result.data.status == 0) {
|
|
|
@ -698,7 +698,7 @@ class NewMyShixunModel extends Component {
|
|
|
|
keywords: this.state.keywords,
|
|
|
|
keywords: this.state.keywords,
|
|
|
|
page: this.state.page,
|
|
|
|
page: this.state.page,
|
|
|
|
per_page:10,
|
|
|
|
per_page:10,
|
|
|
|
item_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
exam_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.getdatasy(data);
|
|
|
|
this.getdatasy(data);
|
|
|
|
this.getbasket_listdata();
|
|
|
|
this.getbasket_listdata();
|
|
|
@ -739,7 +739,7 @@ class NewMyShixunModel extends Component {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const data={
|
|
|
|
const data={
|
|
|
|
item_ids:item_idsdata,
|
|
|
|
item_ids:item_idsdata,
|
|
|
|
item_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
exam_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.getitem_baskets(data);
|
|
|
|
this.getitem_baskets(data);
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
@ -768,7 +768,7 @@ class NewMyShixunModel extends Component {
|
|
|
|
keywords: this.state.keywords,
|
|
|
|
keywords: this.state.keywords,
|
|
|
|
page: this.state.page,
|
|
|
|
page: this.state.page,
|
|
|
|
per_page:10,
|
|
|
|
per_page:10,
|
|
|
|
item_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
exam_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.getdata(data);
|
|
|
|
this.getdata(data);
|
|
|
|
this.getbasket_listdata();
|
|
|
|
this.getbasket_listdata();
|
|
|
@ -806,7 +806,7 @@ class NewMyShixunModel extends Component {
|
|
|
|
page: this.state.page,
|
|
|
|
page: this.state.page,
|
|
|
|
per_page:10,
|
|
|
|
per_page:10,
|
|
|
|
oj_status:oj_status,
|
|
|
|
oj_status:oj_status,
|
|
|
|
item_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
exam_id:this.props.exam_id===undefined?"":parseInt(this.props.exam_id),
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.getdata(data);
|
|
|
|
this.getdata(data);
|
|
|
|
}
|
|
|
|
}
|
|
|
|