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
18 KiB
1 line
18 KiB
6 years ago
|
webpackJsonp([231],{4016:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var l=t(83),c=(t.n(l),t(84)),N=t.n(c),n=t(163),o=(t.n(n),t(25)),f=t.n(o),r=t(34),s=(t.n(r),t(35)),v=t.n(s),m=t(0),y=t.n(m),i=t(3),u=(t.n(i),t(26)),p=t.n(u),d=t(5),g=t(1872),_=(t.n(g),t(2322),t(3494)),E=(t.n(_),t(3395)),h=(t.n(E),function(e,a,t){return a&&w(e.prototype,a),t&&w(e,t),e});function w(e,a){for(var t=0;t<a.length;t++){var l=a[t];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}window.$;var b=(function(e,a){if("function"!=typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function, not "+typeof a);e.prototype=Object.create(a&&a.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(e,a):e.__proto__=a)}(x,m.Component),h(x,[{key:"componentWillMount",value:function(){window.document.title="课程达成评价结果"}},{key:"componentDidMount",value:function(){var a=this,t=this.props.match.params.ec_course_id;this.UpdateClassData(!0);var e="/ec_major_schools/get_navigation_data?ec_course_id="+t;p.a.get(e,{withCredentials:!0}).then(function(e){200===e.status&&a.setState({schooldata:e.data,ec_course_id:t})}).catch(function(e){console.log(e)})}},{key:"render",value:function(){function t(e){for(var a=[],t=0;t<e;t++)a.push(y.a.createElement("span",{className:"column-1 operationright color-666",key:t},"目标",e-t));return a}function l(e,a){var t=[];if(null!=a){for(var l=0;l<e;l++)1===a[l]?t.push(y.a.createElement("span",{className:"column-1 operationright color-green",key:l},y.a.createElement("i",{class:"iconfont icon-gouxuan color-green font-16 mr5"}))):t.push(y.a.createElement("span",{className:"column-1 operationright color-666",key:l},y.a.createElement("i",{class:"iconfont icon-guanbi font-14 mr5"})));return t.reverse(),t}}var e=this,a=this.state,c=a.Spintype,n=a.calculatesetype,o=(a.ec_course_id,a.course_total_scoreaverage),r=a.ec_course_targets_count,s=a.schooldata,m=(a.ecComponentState,a.course_total_score),i=a.total_rate_data,u=(a.ec_course_targets,a.graduation_list),p=a.target_list,d=a.target_score,g=(a.evaluate_result,a.morelisttype),_=a.titlemessage,E=a.completiontype,h=a.completionlist;return a.ismanager,y.a.createElement("div",{className:"newMain clearfix"},y.a.createElement(v.a,{title:_,visible:E,className:"ecmodeldelet",closable:!1,footer:null},y.a.createElement("div",{className:"task-popup-content"},y.a.createElement("div",{className:"task-popup-text-center font-14"},h)),!0===n?y.a.createElement("div",{className:"task-popup-submit clearfix",style:{width:"69px"}},y.a.createElement("a",{className:"task-btn task-btn-orange fr",style:{fontWeight:"400"},onClick:this.hidecompletion},"知道啦")):y.a.createElement("div",{className:"task-popup-submit clearfix"},y.a.createElement("a",{onClick:this.hidecompletion,className:"task-btn fl"},"取消"),y.a.createElement("a",{className:"task-btn task-btn-orange fr",onClick:this.hidecompletion},"确定"))),y.a.createElement("div",{className:"educontent mb290"},y.a.createElement("div",{className:"ListTableLine newSystem mb20",id:"school_major_list"},y.a.createElement("p",{className:"clearfix padding10im"},y.a.createElement("span",{className:"column-1 color-666"},"课程目标"),y.a.createElement("span",{className:"column-1 operationright color-666"},"达成结果"),y.a.createElement("span",{className:"column-1 operationright color-666"},"达成标准(分)"),y.a.createElement("span",{className:"column-1 operationright color-666"},"实际达成"),y.a.createElement("span",{className:"column-1 operationright color-666"},"权重")),!0===c?y.a.createElement(N.a,{className:"Spinlarge",indicator:y.a.createElement(f.a,{type:"loading",style:{fontSize:30},spin:!0})}):"",0===p.length&&!1===c?y.a.createElement("li",{className:"clearfix newtarget_scoreclass lipadding10im"},y.a.createElement("span",{className:"column-1 color-05101A"},"--"),y.a.createElement("span",{className:"column-575 color-05101A"},"--"),y.a.createElement(
|