|
|
|
@ -268,11 +268,11 @@ class EcCompletionCalculation extends Component {
|
|
|
|
|
this.setState({
|
|
|
|
|
Spintype:true
|
|
|
|
|
})
|
|
|
|
|
let {ec_course_id}=this.state;
|
|
|
|
|
const Orl =`/ec_courses/`+ec_course_id+`/sync_data`;
|
|
|
|
|
axios.get(Orl, {
|
|
|
|
|
withCredentials:true,
|
|
|
|
|
})
|
|
|
|
|
// let {ec_course_id}=this.state;
|
|
|
|
|
const ec_course_id=706;
|
|
|
|
|
// const Orl =`/ec_courses/`+ec_course_id+`/sync_data`;
|
|
|
|
|
const Orl =`/ec_courses/${ec_course_id}/evaluation.json`;
|
|
|
|
|
axios.get(Orl)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
if(response.data.status===1){
|
|
|
|
|
this.setState({
|
|
|
|
|