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