diff --git a/public/react/src/modules/ecs/EcSetting/CourseSupports/index.js b/public/react/src/modules/ecs/EcSetting/CourseSupports/index.js index a38bc814a..53ad2d936 100644 --- a/public/react/src/modules/ecs/EcSetting/CourseSupports/index.js +++ b/public/react/src/modules/ecs/EcSetting/CourseSupports/index.js @@ -556,6 +556,10 @@ class CourseSupports extends Component { console.log(error) }); } + + toforums=(url)=>{ + window.open( url, '_blank'); + } render() { const Option = Select.Option; let {max_support_count,data,ec_courses_list,editcourse,editnum,index,ec_year_id,Supportsclasskey,ecComponentState,hidesupport,supportid,Editkey,titlemessage,Supportstype,Supportslist,Supportssum,Supportsclass,major_school_id} = this.state; @@ -575,7 +579,7 @@ class CourseSupports extends Component { let ismidbox={width:123.82*max_support_count+"px",margin:'0px 0px'}; - console.log(this.props) + console.log(this.props.year&&this.props.year.can_manager) return (
导出培养目标 */} - + this.confirmysl(`/ec_years/${this.props.match.params.ec_year_id}/graduation_course_supports.xlsx`)}>导出课程体系支撑矩阵 -
用矩阵图的形式说明本专业课程体系对毕业要求的支撑关系 window.elasticLayer(3534)} >查看详情
+
用矩阵图的形式说明本专业课程体系对毕业要求的支撑关系 this.toforums(`/forums/${3534}`)} >查看详情
@@ -675,7 +679,7 @@ class CourseSupports extends Component {
{Math.round(item.weights_total*100)/100===0?0:(Math.round(item.weights_total*100)/100)}
- {data.is_manager===false?"": + {this.props.year&&this.props.year.can_manager===false?"": }