|
|
|
@ -302,7 +302,7 @@ class CoursesNew extends Component {
|
|
|
|
|
if(value!=""){
|
|
|
|
|
this.props.form.setFieldsValue({
|
|
|
|
|
classroom:value,
|
|
|
|
|
course:value
|
|
|
|
|
// course:value
|
|
|
|
|
});
|
|
|
|
|
this.Searchvalue(value)
|
|
|
|
|
}
|
|
|
|
@ -312,7 +312,7 @@ class CoursesNew extends Component {
|
|
|
|
|
handleChange=(value)=>{
|
|
|
|
|
|
|
|
|
|
this.props.form.setFieldsValue({
|
|
|
|
|
course:value,
|
|
|
|
|
// course:value,
|
|
|
|
|
classroom:value
|
|
|
|
|
})
|
|
|
|
|
};
|
|
|
|
@ -460,7 +460,7 @@ class CoursesNew extends Component {
|
|
|
|
|
|
|
|
|
|
<AutoComplete style={{ width: 280 }}
|
|
|
|
|
onSearch={this.handleSearch}
|
|
|
|
|
// onChange={this.handleChange}
|
|
|
|
|
onChange={this.handleChange}
|
|
|
|
|
className={"fl construction "}
|
|
|
|
|
placeholder="例如:数据结构"
|
|
|
|
|
>
|
|
|
|
|