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