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
5 years ago
|
webpackJsonp([238],{4067:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var l=t(69),n=(t.n(l),t(70)),N=t.n(n),c=t(167),s=(t.n(c),t(26)),y=t.n(s),o=t(30),r=(t.n(o),t(31)),f=t.n(r),m=t(0),v=t.n(m),i=t(3),u=(t.n(i),t(12)),p=t.n(u),d=t(5),g=t(1753),_=(t.n(g),t(2234),t(3035)),h=(t.n(_),t(2928)),E=(t.n(h),function(e,a,t){return a&&b(e.prototype,a),t&&b(e,t),e});function b(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 w=(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),E(x,[{key:"componentWillMount",value:function(){window.document.title="课程达成评价结果"}},{key:"componentDidMount",value:function(){var a=this;console.log("componentDidMount"),console.log("EcCompletionCalculation"),p.a.get("/ec_courses/706/evaluation.json").then(function(e){200===e.status&&a.setState({schooldata:e.data,ec_course_id:706,graduation_list:e.data.graduation_subitem_evaluations,target_list:e.data.course_targets,ec_course_targets_count:e.data.course_targets.length,course_achievement:e.data.course_achievement,course_rate:e.data.course_rate,score_levels:e.data.score_levels})}).catch(function(e){console.log(e)}),this.props.Ontitine("competition_calculation_info");try{this.props.triggerRef(this)}catch(e){}}},{key:"render",value:function(){function t(e){for(var a=[],t=0;t<e;t++)a.push(v.a.createElement("span",{className:"column-1 color-666",key:t},"目标",t+1));return a}function l(e,a){var t=[];if(e&&0<e.length)for(var l=0;l<e.length;l++)console.log("TargetresContentList"),e[l].id===a[0]?t.push(v.a.createElement("span",{className:" column-1 color-green",key:l},v.a.createElement("i",{class:"iconfont icon-gouxuan color-green font-16 mr5"}))):t.push(v.a.createElement("span",{className:0===l?" column-1 color-666":"column-1 color-666",key:l},v.a.createElement("i",{class:"iconfont icon-guanbi font-14 mr5"})));return t}var n=this,e=this.state,a=e.Spintype,c=e.calculatesetype,s=(e.ec_course_id,e.course_total_scoreaverage,e.score_levels),o=e.ec_course_targets_count,r=e.course_achievement,m=(e.schooldata,e.course_rate),i=(e.ecComponentState,e.course_total_score),u=e.total_rate_data,p=(e.ec_course_targets,e.graduation_list),d=e.target_list,g=(e.target_score,e.evaluate_result,e.morelisttype),_=e.titlemessage,h=e.completiontype,E=e.completionlist;return e.ismanager,v.a.createElement("div",{className:"newMain clearfix"},v.a.createElement(f.a,{title:_,visible:h,className:"ecmodeldelet",closable:!1,footer:null},v.a.createElement("div",{className:"task-popup-content"},v.a.createElement("div",{className:"task-popup-text-center font-14"},E)),!0===c?v.a.createElement("div",{className:"task-popup-submit clearfix",style:{width:"69px"}},v.a.createElement("a",{className:"task-btn task-btn-orange fr",style:{fontWeight:"400"},onClick:this.hidecompletion},"知道啦")):v.a.createElement("div",{className:"task-popup-submit clearfix"},v.a.createElement("a",{onClick:this.hidecompletion,className:"task-btn fl"},"取消"),v.a.createElement("a",{className:"task-btn task-btn-orange fr",onClick:this.hidecompletion},"确定"))),v.a.createElement("div",{className:"educontent"},v.a.createElement("div",{className:"ListTableLine newSystem mb20",id:"school_major_list"},v.a.createElement("p",{className:"clearfix padding10im"},v.a.createElement("span",{className:"column-1 color-666"},"课程目标"),v.a.createElement("span",{className:"column-1 operationright color-666"},"达成结果"),v.a.createElement("span",{className:"column-1 operationright color-666"},"达成标准(分)"),v.a.createElement("span",{className:"column-1 operationright color-666"},"实际达成"),v.a.createElement("span",{className:"column-1 operationright color-666"},"权重")),!0===a?v.a.c
|