dev_ec
杨树林 5 years ago
parent 107909bdb3
commit 720e8c9403

@ -47,6 +47,7 @@ class EcCompletionCalculation extends Component {
course_rate:"--",
score_levels:[],
score_levelsdata:[],
hife:"/ecs/major_schools/3/years/60/requirement_vs_courses",
}
}
@ -55,6 +56,8 @@ class EcCompletionCalculation extends Component {
}
componentDidMount(){
console.log("componentDidMount");
// console.log(this.props);
// let ec_course_id =this.props.match.params.ec_course_id;
// this.UpdateClassData(true);
@ -600,7 +603,7 @@ class EcCompletionCalculation extends Component {
<span className={"column-1 operationright Systemnum mrj15"}>{"--"}</span>
<span className="column-1 operationright color-05101A">{"--"}</span>
<span className="column-1 operationright">{"--"}</span>
<span className="column-1 operationright"> <a href={schooldata.requirement_vs_courses} style={{color:'rgb(76, 172, 255)'}}>立即配置</a></span>
<span className="column-1 operationright"> <a href={`/ecs/major_schools/${this.props.match.params.majorId}/years/${this.props.match.params.yearId}/requirement_vs_courses`} style={{color:'rgb(76, 172, 255)'}}>立即配置</a></span>
{TargetresContentList(5,[2,2,2,2,2])}
</li>
:""
@ -668,7 +671,7 @@ class EcCompletionCalculation extends Component {
{TargetresContentList(target_list,item.support_course_target_ids)}
</div>
<div className="myliysls">
{item.weights===null||item.weights===0?<span className="column-1 " ><a href={schooldata.requirement_vs_courses} style={{color:'rgb(76, 172, 255)'}}>立即配置</a></span>:<span className="column-1 " style={{textAlign:"center"}}>{item.weights}</span>}
{item.weights===null||item.weights===undefined||item.weights==="0.00"||item.weights===0.00||item.weights===0?<span className="column-1 " ><a href={`/ecs/major_schools/${this.props.match.params.majorId}/years/${this.props.match.params.yearId}/requirement_vs_courses`} style={{color:'rgb(76, 172, 255)'}}>立即配置</a></span>:<span className="column-1 " style={{textAlign:"center"}}>{item.weights}</span>}
<span className="column-1 " style={{textAlign:"center"}}>{item.actually_achievement===null?0:item.actually_achievement}</span>
<span className="column-1 color-05101A" style={{textAlign:"center"}}>{item.objective_achievement===null?0:item.objective_achievement}</span>
<span className={item.status==="not_achieved"?"column-1 Systemnum mrj15":"column-1 color-green mrj15"} style={{textAlign:"center"}}>{item.status==="not_achieved"?"未完成":"完成"}</span>

Loading…
Cancel
Save