|
|
|
@ -1,12 +1,10 @@
|
|
|
|
|
import React,{ Component } from "react";
|
|
|
|
|
import { Input,Checkbox,Table, Pagination, Modal,Menu, Tooltip,Spin } from "antd";
|
|
|
|
|
import { WordsBtn,on, off, trigger } from 'educoder';
|
|
|
|
|
import {BrowserRouter as Router,Route,Switch,Link} from 'react-router-dom';
|
|
|
|
|
import { Input,Checkbox, Pagination,Menu, AutoComplete,Spin } from "antd";
|
|
|
|
|
import { WordsBtn,on, trigger } from 'educoder';
|
|
|
|
|
import {Link} from 'react-router-dom';
|
|
|
|
|
import axios from'axios';
|
|
|
|
|
import HomeworkModal from "../coursesPublic/HomeworkModal";
|
|
|
|
|
import OneSelfOrderModal from "../coursesPublic/OneSelfOrderModal";
|
|
|
|
|
import ShixunModal from "../coursesPublic/ShixunModal";
|
|
|
|
|
import PathModal from "../coursesPublic/PathModal";
|
|
|
|
|
|
|
|
|
|
import NewShixunModel from '../coursesPublic/NewShixunModel';
|
|
|
|
|
import AddcoursesNav from "../coursesPublic/AddcoursesNav";
|
|
|
|
|
import Modals from '../../modals/Modals';
|
|
|
|
@ -16,7 +14,7 @@ import '../css/busyWork.css'
|
|
|
|
|
import ShixunhomeWorkItem from "./ShixunhomeWorkItem";
|
|
|
|
|
import NoneData from "../coursesPublic/NoneData";
|
|
|
|
|
|
|
|
|
|
const Search = Input.Search;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class ShixunHomework extends Component{
|
|
|
|
|
constructor(props){
|
|
|
|
@ -1212,12 +1210,27 @@ class ShixunHomework extends Component{
|
|
|
|
|
</Menu>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="fr mt16 mb16 searchView">
|
|
|
|
|
<Search
|
|
|
|
|
value={Coursename}
|
|
|
|
|
placeholder="请输入名称进行搜索"
|
|
|
|
|
onInput={this.SearchCoursenames}
|
|
|
|
|
onSearch={value => this.SearchCoursename(value)}
|
|
|
|
|
></Search>
|
|
|
|
|
{/*<Search*/}
|
|
|
|
|
{/* value={Coursename}*/}
|
|
|
|
|
{/* placeholder="请输入名称进行搜索"*/}
|
|
|
|
|
{/* onInput={this.SearchCoursenames}*/}
|
|
|
|
|
{/* onSearch={value => this.SearchCoursename(value)}*/}
|
|
|
|
|
{/* allowClear*/}
|
|
|
|
|
{/*></Search>*/}
|
|
|
|
|
<AutoComplete
|
|
|
|
|
allowClear
|
|
|
|
|
className="certain-category-search"
|
|
|
|
|
dropdownClassName="certain-category-search-dropdown"
|
|
|
|
|
dropdownMatchSelectWidth={false}
|
|
|
|
|
dropdownStyle={{ width: 300 }}
|
|
|
|
|
size="large"
|
|
|
|
|
style={{ width: '100%' }}
|
|
|
|
|
dataSource={options}
|
|
|
|
|
placeholder="input here"
|
|
|
|
|
optionLabelProp="value"
|
|
|
|
|
>
|
|
|
|
|
<Input suffix={<Icon type="search" className="certain-category-icon" />} />
|
|
|
|
|
</AutoComplete>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|