|
|
|
@ -97,12 +97,12 @@ class Curriculum extends Component {
|
|
|
|
|
}
|
|
|
|
|
bindRef = ref => {
|
|
|
|
|
console.log(ref);
|
|
|
|
|
console.log("调用了子对象1");
|
|
|
|
|
// console.log("调用了子对象1");
|
|
|
|
|
this.child = ref
|
|
|
|
|
};
|
|
|
|
|
newrightcalculatebuttonysl=(child)=>{
|
|
|
|
|
console.log("调用了子对象2");
|
|
|
|
|
console.log(child);
|
|
|
|
|
// console.log("调用了子对象2");
|
|
|
|
|
// console.log(child);
|
|
|
|
|
child.newrightcalculatebutton();
|
|
|
|
|
}
|
|
|
|
|
onAclick=(i)=>{
|
|
|
|
@ -221,7 +221,7 @@ class Curriculum extends Component {
|
|
|
|
|
titine===5?
|
|
|
|
|
<span>
|
|
|
|
|
<span className={ismanager===false?"none":""} style={{top: "26px"}}>
|
|
|
|
|
<a className="white-btn edu-blueback-btn fr mb10 mr10 mt9" target="_blank" href={"/ec_courses/"+ec_course_id+"/export_evaluation_result.xls"}>导出评价详情</a>
|
|
|
|
|
<a className="white-btn edu-blueback-btn fr mb10 mr10 mt9" target="_blank" href={`/ec_courses/${ec_course_id}/course_targets.xlsx`}>导出评价详情</a>
|
|
|
|
|
</span>
|
|
|
|
|
<span className={ismanager===false?"none":"right newrightcalculatebuttons fr mb10 mr20 "}
|
|
|
|
|
onClick={()=>this.newrightcalculatebuttonysl(this.child)}>计算</span>
|
|
|
|
|