|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
import React, { Component } from 'react';
|
|
|
|
|
|
|
|
|
|
import axios from 'axios';
|
|
|
|
|
import { Spin } from 'antd';
|
|
|
|
|
|
|
|
|
|
import { TPMIndexHOC } from '../../tpm/TPMIndexHOC';
|
|
|
|
|
|
|
|
|
@ -30,7 +31,8 @@ class ecStudentList extends Component {
|
|
|
|
|
studentall:false,
|
|
|
|
|
student_id:undefined,
|
|
|
|
|
Modallisttypess:0,
|
|
|
|
|
ismanager:false
|
|
|
|
|
ismanager:false,
|
|
|
|
|
isSpin:false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
componentDidMount(){
|
|
|
|
@ -120,6 +122,7 @@ class ecStudentList extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
uploadfile=(file)=>{
|
|
|
|
|
this.setState({isSpin:true})
|
|
|
|
|
let {majorschoollist}=this.state;
|
|
|
|
|
let Url =majorschoollist.import_url;
|
|
|
|
|
const form = new FormData();
|
|
|
|
@ -132,7 +135,8 @@ class ecStudentList extends Component {
|
|
|
|
|
// titlemessage: response.data.message+"(支撑关系变更)",
|
|
|
|
|
Modallist: '已成功导入'+response.data.count+"条数据!",
|
|
|
|
|
Modallisttype:true,
|
|
|
|
|
Modallisttypes:1
|
|
|
|
|
Modallisttypes:1,
|
|
|
|
|
isSpin:false
|
|
|
|
|
})
|
|
|
|
|
}else if(response.data.status===0){
|
|
|
|
|
// message.warning(response.data.message);
|
|
|
|
@ -140,7 +144,8 @@ class ecStudentList extends Component {
|
|
|
|
|
// titlemessage: response.data.message+"(支撑关系变更)",
|
|
|
|
|
Modallist:response.data.message,
|
|
|
|
|
Modallisttype:true,
|
|
|
|
|
Modallisttypes:0
|
|
|
|
|
Modallisttypes:0,
|
|
|
|
|
isSpin:false
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}).catch((error) => {
|
|
|
|
@ -357,8 +362,8 @@ class ecStudentList extends Component {
|
|
|
|
|
删除
|
|
|
|
|
</div>}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className="ListTableLine minH-560 edu-back-white mb80" id="listContent">
|
|
|
|
|
<Spin spinning={this.state.isSpin}>
|
|
|
|
|
<div className="ListTableLine minH-560 edu-back-white mb80" id="listContent">
|
|
|
|
|
<p className="clearfix">
|
|
|
|
|
<span className="column-No column-2 relative">
|
|
|
|
|
<Checkbox
|
|
|
|
@ -411,6 +416,7 @@ class ecStudentList extends Component {
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</Spin>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|