You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
30 KiB
1 line
30 KiB
5 years ago
|
webpackJsonp([183],{4395:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(66),o=(n.n(a),n(67)),B=n.n(o),i=n(165),r=(n.n(i),n(164)),f=n.n(r),s=n(70),A=(n.n(s),n(71)),b=n.n(A),l=n(169),c=(n.n(l),n(26)),y=n.n(c),p=n(30),m=(n.n(p),n(31)),_=n.n(m),u=n(296),d=(n.n(u),n(291)),w=n.n(d),C=n(0),E=n.n(C),g=(n(45),n(12)),h=n.n(g),x=n(4396),S=(n.n(x),function(t,e,n){return e&&k(t.prototype,e),n&&k(t,n),t});function k(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}var v=window.$,D=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(N,C.Component),S(N,[{key:"componentWillMount",value:function(){this.setState({ec_year_id:this.props.match.params.ec_year_id,major_school_id:this.props.match.params.major_school_id}),window.document.title="课程体系 vs 毕业要求"}},{key:"componentDidMount",value:function(){this.setState({ec_year_id:this.props.match.params.ec_year_id,major_school_id:this.props.match.params.major_school_id}),this.UpdateClassData()}},{key:"focus",value:function(){this.inputNumberRef.focus()}},{key:"blur",value:function(){this.inputNumberRef.blur()}},{key:"confirmysl",value:function(e){var n=this;h.a.get(e+"?export=true").then(function(t){t.data.status&&-1===t.data.status||(t.data.status&&-2===t.data.status?"100"===t.data.message?n.setState({DownloadType:!0,DownloadMessageval:100}):n.setState({DownloadType:!0,DownloadMessageval:500}):(n.props.showNotification("正在下载中"),window.open("/api"+e,"_blank")))}).catch(function(t){console.log(t)})}},{key:"render",value:function(){var e=this,a=w.a.Option,t=this.state,n=t.max_support_count,o=t.data,i=t.ec_courses_list,r=t.editcourse,s=t.editnum,A=t.index,l=(t.ec_year_id,t.Supportsclasskey),c=(t.ecComponentState,t.hidesupport,t.supportid),p=t.Editkey,m=t.titlemessage,u=t.Supportstype,d=t.Supportslist,C=t.Supportssum,g=t.Supportsclass,h=(t.major_school_id,{width:126.6*n+"px"}),x={width:123.82*n+"px",margin:"0px 0px"};return E.a.createElement("div",{className:"newMain clearfix"},E.a.createElement(_.a,{title:m,visible:u,className:"ecmodeldelet",closable:!1,footer:null},E.a.createElement("div",{className:"task-popup-content"},E.a.createElement("div",{className:"task-popup-text-center font-14"},d)),E.a.createElement("div",{className:"task-popup-submit clearfix"},E.a.createElement("a",{onClick:this.hideSupports,className:"task-btn fl"},"取消"),null===c?E.a.createElement("a",{className:"task-btn task-btn-orange fr",onClick:this.hideSupports},"确定"):E.a.createElement("a",{className:"task-btn task-btn-orange fr",onClick:function(){return e.Deletcourse(c)}},"确定"))),E.a.createElement("div",{className:"educontent mb20"},E.a.createElement("div",{className:"edu-back-white eacourse"},E.a.createElement("div",{className:"clearfix padding20-30 bor-bottom-greyE",style:{position:"relative"}},E.a.createElement("span",{className:"font-18 courseSystem"},"课程体系对毕业要求的支撑"),E.a.createElement("span",{className:this.props.year&&!1===this.props.year.can_manager?"none":"Importclassroomdata",style:{top:"29px"}},E.a.createElement("a",{className:"white-btn edu-blueback-btn fr mb10 mr10",onClick:function(){return e.confirmysl("/ec_years/"+e.props.match.params.ec_year_id+"/graduation_course_supports.xlsx")}},"导出课程体系支撑矩阵")),E.a.createElement("div",{className:"color-grey-9 mr10"},"用矩阵图的形式说明本专业课程体系对毕业要求的支撑关系 ",E.a.createElement("a",{className:"color-blue",onClick:function(){return e.toforums("/forums/3534")}},"查看详情"))),E.a.createElement("div",{className:"padding20-30",id:"training_objective_contents"},E.a.createElement("span",{className:"fl SystemParameters"},"毕业要求指标点(",E.a.createElement
|