dev_ec
杨树林 6 years ago
parent 5dc87e6b5a
commit a49eb656db

@ -97,12 +97,12 @@ class Curriculum extends Component {
} }
bindRef = ref => { bindRef = ref => {
console.log(ref); console.log(ref);
console.log("调用了子对象1"); // console.log("调用了子对象1");
this.child = ref this.child = ref
}; };
newrightcalculatebuttonysl=(child)=>{ newrightcalculatebuttonysl=(child)=>{
console.log("调用了子对象2"); // console.log("调用了子对象2");
console.log(child); // console.log(child);
child.newrightcalculatebutton(); child.newrightcalculatebutton();
} }
onAclick=(i)=>{ onAclick=(i)=>{
@ -221,7 +221,7 @@ class Curriculum extends Component {
titine===5? titine===5?
<span> <span>
<span className={ismanager===false?"none":""} style={{top: "26px"}}> <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>
<span className={ismanager===false?"none":"right newrightcalculatebuttons fr mb10 mr20 "} <span className={ismanager===false?"none":"right newrightcalculatebuttons fr mb10 mr20 "}
onClick={()=>this.newrightcalculatebuttonysl(this.child)}>计算</span> onClick={()=>this.newrightcalculatebuttonysl(this.child)}>计算</span>

@ -482,7 +482,7 @@ class EcCompletionCalculation extends Component {
</Modal> </Modal>
<div className="educontent mb290"> <div className="educontent">
{/*<EcTitleCourseEvaluations*/} {/*<EcTitleCourseEvaluations*/}
{/* {...this.props}*/} {/* {...this.props}*/}

Loading…
Cancel
Save