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