dev_aliyun_beta
杨树林 6 years ago
parent 9d6060c7ff
commit dcb0f0aae7

@ -1566,7 +1566,7 @@ samp {
padding-left: 5px;
}
.padding10200{
padding: 10px 20px 0px;
padding: 10px 20px;
}
.padding1020{
padding: 10px 20px 10px;

@ -125,6 +125,7 @@ class studentsList extends Component{
isSpin:false,
DownloadType:false,
DownloadMessageval:undefined,
donwloading:false,
}
}
/// 确认是否下载
@ -153,13 +154,18 @@ class studentsList extends Component{
}else {
this.props.showNotification(`正在下载中`);
// window.open("/api"+url, '_blank');
this.setState({ donwloading: true })
downloadFile({
url: url,
successCallback: (url) => {
console.log('successCallback')
this.setState({ donwloading: false })
},
failCallback: (responseHtml, url) => {
console.log('failCallback')
this.setState({ donwloading: false })
}
})
}
@ -603,6 +609,7 @@ class studentsList extends Component{
`}</style>
{ isAdmin &&
<Spin spinning={this.state.donwloading} style={{ }}>
<li className="li_line drop_down fr color-blue font-16">
导出<i className="iconfont icon-xiajiantou font-12 ml2"></i>
<ul className="drop_down_menu" style={{"right": "-20px", "left": "unset", "height": "auto"}}>
@ -617,6 +624,7 @@ class studentsList extends Component{
</li>
</ul>
</li>
</Spin>
}
{/*<WordsBtn style="blue" className="" onClick={(url)=>this.confirmysl(exportUrl)} >导出成绩</WordsBtn>*/}
{/* */}

@ -606,7 +606,7 @@ class CoursesNew extends Component {
`}
</style>
<div className="stud-class-set bor-bottom-greyE padding10200 ">
<div className="stud-class-set bor-bottom-greyE padding1020 ">
<div className={"TabsWarpcourse"}>
<style>{
`
@ -624,21 +624,7 @@ class CoursesNew extends Component {
background-color: #fafafa!important;
}
.yslzxueshis .ant-select-dropdown{
width: 655px !important;
height:160px !important;
}
.yslzxueshisy .ant-select-dropdown{
width: 655px !important;
height:160px !important;
}
.yslzxueshis .ant-select-dropdown-menu{
width: 655px !important;
}
.ant-select-dropdown{
width: 655px !important;
height:160px !important;
}
`
}</style>
<Form.Item label="课程名称">
@ -647,7 +633,7 @@ class CoursesNew extends Component {
})(
<AutoComplete
style={{ width: 720}}
style={{ width: 704}}
onSearch={this.handleSearch}
onSelect={this.handleSearchsysl}
className="fl construction yslzxueshis "
@ -884,7 +870,7 @@ class CoursesNew extends Component {
<AutoComplete style={{ width: 280 }}
onSearch={this.handleSearchschool}
// onChange={this.handleChangeschools}
className={"fl construction mr10 "}
className={"fl construction mr10 yslzxueshis2"}
placeholder="请输入并选择课本堂的所属单位"
>
{optionschool}

@ -794,18 +794,7 @@ class Goldsubject extends Component {
width: 65px !important;
background-color: #fafafa!important;
}
.yslzxueshis .ant-select-dropdown{
width: 655px !important;
height:160px !important;
}
.yslzxueshis .ant-select-dropdown-menu{
width: 655px !important;
}
.ant-select-dropdown{
width: 655px !important;
height:160px !important;
}
`
}</style>
<style>
@ -828,7 +817,7 @@ class Goldsubject extends Component {
})(
<AutoComplete
style={{width: 720}}
style={{width: 704}}
onSearch={this.handleSearch}
className={"fl construction yslzxueshis "}
dataSource={options}
@ -1029,6 +1018,7 @@ class Goldsubject extends Component {
{/*</div>*/}
<div className="stud-class-set padding10200 mb20">
<Form.Item label="课堂所属单位">
{getFieldDecorator('school', {
rules: [{required: true, message: "不能为空"}],
@ -1036,7 +1026,7 @@ class Goldsubject extends Component {
<AutoComplete style={{ width: 280 }}
onSearch={this.handleSearchschool}
// onChange={this.handleChangeschools}
className={"fl construction mr10 "}
className={"fl construction mr10 yslzxueshis2 "}
placeholder="请输入并选择课本堂的所属单位"
>
{optionschool}

Loading…
Cancel
Save