|
|
|
@ -290,11 +290,13 @@ class CoursesNew extends Component {
|
|
|
|
|
search:value
|
|
|
|
|
}).then((result)=>{
|
|
|
|
|
// console.log(result.data)
|
|
|
|
|
if (response.data.message===undefined) {
|
|
|
|
|
this.setState({
|
|
|
|
|
searchlist: result.data.course_lists,
|
|
|
|
|
// course:value,
|
|
|
|
|
fetching: false
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// this.props.form.setFieldsValue({
|
|
|
|
|
// course:value
|
|
|
|
|
// })
|
|
|
|
@ -343,6 +345,7 @@ class CoursesNew extends Component {
|
|
|
|
|
search: value
|
|
|
|
|
}
|
|
|
|
|
}).then((result)=>{
|
|
|
|
|
if (response.data.message===undefined) {
|
|
|
|
|
this.setState({
|
|
|
|
|
searchlistscholl: result.data.school_names,
|
|
|
|
|
scholl: value
|
|
|
|
@ -350,6 +353,7 @@ class CoursesNew extends Component {
|
|
|
|
|
this.props.form.setFieldsValue({
|
|
|
|
|
scholl: value
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}).catch((error)=>{
|
|
|
|
|
console.log(error)
|
|
|
|
|
})
|
|
|
|
|