forked from jasder/forgeplus
214 lines
64 KiB
JavaScript
214 lines
64 KiB
JavaScript
webpackJsonp([202],{
|
||
|
||
/***/ 2399:
|
||
/***/ (function(module, exports) {
|
||
|
||
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKYAAABaCAYAAAAy2C0VAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjlGNjJBN0M4MUVBRDExRTk4ODA5QjE3MzIyODMyMzIzIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjlGNjJBN0M5MUVBRDExRTk4ODA5QjE3MzIyODMyMzIzIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6OUY2MkE3QzYxRUFEMTFFOTg4MDlCMTczMjI4MzIzMjMiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6OUY2MkE3QzcxRUFEMTFFOTg4MDlCMTczMjI4MzIzMjMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz72CKK/AAAEXklEQVR42uzdz4tNYRzH8Wcm0ZSFYsPCysrOjmyUsmKjxGLU+LEwY+jOf+HX+DE0lEHGKEoIKVZjIZSyYzMbNlIURX6kGc/HvcSYe+855/sxm3m/6lvK3Lv49unMnOd8n+d0bLw29SiltDoBMWtyPXZ9WWeuw/QUBgPOL1Mwb+aaoK8I2pxrmTOYk7mG6CuC5uXqdQZTzud6S28RtCdXlzOYn3Kdoa8IWpKr2xlMGc71jd4iqJarwxnM17ku0lcErcy13hlMOZ5rit4iqN8dzOe57tFXBG3KtcIZTDlIX2G44O13B3M81zN6i6AduRY5gymD9BVBC3Ptcgfzaq5X9BZBe1pkrFIwv+c6SV8RtKJxI2QLppzN9Z7eIqjmDuaHXCP0FUHrcq1yBjM1fp1/p7eY7atmu2DqBugKfUXQllQf8LAFU47SVwR1Ne7QrcHUYvs4vUVQX675zmDKAfqKoKW5trmDeT/VBzyAWbkJKhpMjcIdo68I0rLRGmcwZTTVh4mB/37VLBNMbbsYpq8I0jbf5c5gijasfaS3CNA2333uYGqL7wV6i6DdqT4WZwum6HCESXqLAA0Qd7uDqeNkbtBbBOnXeYczmHKEviJI23w3uIP5OBmPnMOcNeAOprCbElEbGldOazBvJY4vRIz+xux3B1N35ifoLYK2pxm2+XYGv/Rc4vhCxGg9c7c7mJ8TxxciTktH85zBFD0//0JvEaBn55vdwdTE0SV6i6D97mAKxxciam36Y5uvK5iabr9LbxFUcwdTeEyJKO0JWuoO5nji+ELEaBdlnzuYwlvWEKX95wvcwXxCXxGkEzu2uoPZS1/huAlyBlPHgPTQUxh8cAazO5U8OAlo4qArmBpfqtFPGPx8pY8rmE0HPoGStB4+5QrmAP2EgeYuLusfjmC23FQElHAqNV606wim5W2rmPN0wsvvI4iiwbS9nxpznk54ee8KZk+qr18CEXoBxV9v44sEs9DhSEAB13O9dAWz0HFyQAH/DP9EgskSERzGcz11BXN1o4CoGV/XUzWYXC3hoMePd1zB/GerJVBR002MVYLZn6ZtTgcq0OPH0Wb/WTaYWrPcQU9hoKc8X13BZOYSDnr8eLrVD5QJJjOXcNHjx3euYDJzCQc9fhxq90NlgskSERz0+HHCFUxmLuFS6J2kRYPJzCUcHqSCL5UoEszFiZlLzOLVsmgwtW7JzCWiXuS67QomM5dwXi0nXcFk5hIOb3KNlflAu2CyRAQH7X787AomM5dwqPRmk06ulvjPRlKFd0E1CyYzl3DQzc5QlQ82C+bexMwl4go9fiwaTK1Z7qSnMBis+sGZgsnMJRwepsA77acHk5lLuIReFDE9mMxcwkF/V952BpMlIjgcSiUeP7YLJjOXcNCa5Vj0S/4MJjOXcDiZSj5+bBVMZi7hoEAOO77oVzCZuYTDxVTh8WOzYDJzCQfd7Ay6vkzBZOYSDloemnAGkyUiOBxwftkPAQYALbmhq8Q7hlsAAAAASUVORK5CYII="
|
||
|
||
/***/ }),
|
||
|
||
/***/ 3055:
|
||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
||
"use strict";
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ecTitle_css__ = __webpack_require__(3056);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ecTitle_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__ecTitle_css__);
|
||
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var EcTitleCourseEvaluations=function(_Component){_inherits(EcTitleCourseEvaluations,_Component);function EcTitleCourseEvaluations(props){_classCallCheck(this,EcTitleCourseEvaluations);var _this=_possibleConstructorReturn(this,(EcTitleCourseEvaluations.__proto__||Object.getPrototypeOf(EcTitleCourseEvaluations)).call(this,props));_this.state={schooldata:{},ecComponentState:"",ecpaths:""};return _this;}_createClass(EcTitleCourseEvaluations,[{key:'componentWillReceiveProps',value:function componentWillReceiveProps(nextProps){var schooldata=nextProps.schooldata,ecComponentState=nextProps.ecComponentState,ecpath=nextProps.ecpath;this.setState({schooldata:schooldata,ecComponentState:ecComponentState,ecpaths:ecpath});}},{key:'render',value:function render(){var _state=this.state,schooldata=_state.schooldata,ecComponentState=_state.ecComponentState,ecpaths=_state.ecpaths;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'mb10 mt10 eaSystemp'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{href:schooldata.user_url},schooldata.user_name===undefined?"":schooldata.user_name+" > "),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{href:schooldata.school_url},schooldata.school_name===undefined?"":schooldata.school_name+"认证"),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{href:schooldata.major_url},schooldata.school_name===undefined?"":" > "+schooldata.major_name+" > "),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('span',null,' ',schooldata.school_name===undefined?"":schooldata.year+"届")),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('ul',{className:'clearfix mb0 traningNavs ',id:'traningNav',style:{display:ecpaths==='none'?"none":"flex"}},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('li',{className:"ecimgs"},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{className:"ecTitle ecTitles"},'1'),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{className:"ecTitlefont",href:schooldata.major_training},'\u57F9\u517B\u76EE\u6807')),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('li',{className:"ecimgs"},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{className:"ecTitle ecTitles"},'2'),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{className:"ecTitlefont",href:schooldata.graduation_requirement_url},'\u6BD5\u4E1A\u8981\u6C42')),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('li',{className:"ecimgs"},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{className:"ecTitle ecTitles"},'3'),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{className:"ecTitlefont",href:schooldata.requirement_vs_objective_url},'\u6BD5\u4E1A\u8981\u6C42 vs \u57F9\u517B\u76EE\u6807')),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('li',{className:"ecimgs"},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{className:"ecTitle ecTitles"},'4'),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{className:"ecTitlefont",href:schooldata.requirement_vs_standard},'\u6BD5\u4E1A\u8981\u6C42 vs \u901A\u7528\u6807\u51C6')),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('li',{className:ecpaths==="ecStudentList"?"ecimgs11":"ecimgs",style:{width:ecpaths==="ecStudentList"?'126px':'83px'}},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{className:ecpaths==="ecStudentList"?"ml18 ecTitleFFF ecTitles":"ecTitle"},'5'),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{className:ecpaths==="ecStudentList"?"ecTitlefontFFF":"ecTitlefont",href:schooldata.students_url},'\u5B66\u751F')),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('li',{className:ecpaths==="ec_course_support_setting"||ecpaths==="show"?"ecimgs11":"ecimgs"},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{className:ecpaths==="ec_course_support_setting"||ecpaths==="show"?"ml18 ecTitleFFF ecTitles":"ecTitle ecTitles"},'6'),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{className:ecpaths==="ec_course_support_setting"||ecpaths==="show"?"ecTitlefontFFF":"ecTitlefont",href:schooldata.course_setting_url},'\u8BFE\u7A0B\u4F53\u7CFB')),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('li',{className:ecpaths==="requirement_vs_courses"?"ecimgs3":"ecimgs"},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{className:ecpaths==="requirement_vs_courses"?"ecmarginleft ecTitleFFF ecTitles":"ecTitle ecTitles"},'7'),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{className:ecpaths==="requirement_vs_courses"?"ecTitlefontFFF":"ecTitlefont",href:schooldata.requirement_vs_courses},'\u8BFE\u7A0B\u4F53\u7CFB vs \u6BD5\u4E1A\u8981\u6C42')),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('li',{className:ecpaths==="reach_calculation_info"?"ecimgs2 info2":"ecimgs"},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{className:ecpaths==="reach_calculation_info"?"ecTitleFFF ml18 ecTitles":"ecTitle ecTitles"},'8'),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{className:ecpaths==="reach_calculation_info"?"ecTitlefontFFF":"ecTitlefont",href:schooldata.reach_calculation_info_url},'\u8FBE\u6210\u5EA6\u8BC4\u4EF7\u7ED3\u679C'))));}}]);return EcTitleCourseEvaluations;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* unused harmony default export */ var _unused_webpack_default_export = (EcTitleCourseEvaluations);
|
||
|
||
/***/ }),
|
||
|
||
/***/ 3056:
|
||
/***/ (function(module, exports, __webpack_require__) {
|
||
|
||
// style-loader: Adds some css to the DOM by adding a <style> tag
|
||
|
||
// load the styles
|
||
var content = __webpack_require__(3057);
|
||
if(typeof content === 'string') content = [[module.i, content, '']];
|
||
// Prepare cssTransformation
|
||
var transform;
|
||
|
||
var options = {"hmr":false}
|
||
options.transform = transform
|
||
// add the styles to the DOM
|
||
var update = __webpack_require__(300)(content, options);
|
||
if(content.locals) module.exports = content.locals;
|
||
|
||
|
||
/***/ }),
|
||
|
||
/***/ 3057:
|
||
/***/ (function(module, exports, __webpack_require__) {
|
||
|
||
exports = module.exports = __webpack_require__(299)(true);
|
||
// imports
|
||
|
||
|
||
// module
|
||
exports.push([module.i, "#traningNav{display:-ms-flexbox;display:flex}#traningNav>li{float:none!important}#traningNav>li:last-child{-ms-flex:1 1;flex:1 1}#traningNav>li>.ecTitle{width:24px;height:24px;border:1px solid #418ccd;border-radius:50%;text-align:center;line-height:22px;display:inline-block;color:#418ccd!important;margin-right:10px}#traningNav>li>.ecTitles{line-height:16px!important;height:18px!important;width:18px!important}#traningNav>li>.ecTitlefont:hover{color:#418ccd!important}.ecimgs3{background:url(" + __webpack_require__(2399) + ");background-repeat:no-repeat;background-size:100% 100%;-moz-background-size:100% 100%;width:235px}.ecimgs2,.ecimgs3{height:90px;line-height:90px}.ecimgs2{background:url(" + __webpack_require__(3058) + ");background-repeat:no-repeat;background-size:100% 100%;-moz-background-size:100% 100%;width:190px}.ecimgs11{background:url(" + __webpack_require__(2399) + ");background-repeat:no-repeat;background-size:100% 100%;-moz-background-size:100% 100%;height:90px;line-height:90px;width:146px}.ml18{margin-left:18px}.ecimgs{height:90px;line-height:90px}.ecmarginleft{margin-left:23px}#traningNav>li>.ecTitlefontFFF{color:#fff!important}#traningNav>li>.ecTitleFFF{width:24px;height:24px;border:1px solid #fff;border-radius:50%;text-align:center;line-height:22px;display:inline-block;color:#fff!important;margin-right:10px}.traningNavs{padding:0!important}.traningNavs>li{padding:0 10px 30px!important}.mb0{margin-bottom:0!important}.info2{width:232px}.info1,.info2{text-align:center}.info1{width:206px}", "", {"version":3,"sources":["/Users/jasder/work/trustie3.0/educoder/public/react/src/modules/ecs/ecTitle/ecTitle.css"],"names":[],"mappings":"AAAA,YACI,oBAAqB,AACrB,YAAa,CAChB,AACA,eACG,oBAAuB,CAC1B,AAED,0BACI,aAAc,AACV,QAAU,CACjB,AAED,wBACI,WAAY,AACZ,YAAa,AACb,yBAAwC,AACxC,kBAAmB,AACnB,kBAAmB,AACnB,iBAAkB,AAClB,qBAAsB,AACtB,wBAAwC,AACxC,iBAAmB,CACtB,AACD,yBACI,2BAA6B,AAC7B,sBAAuB,AACvB,oBAAsB,CACzB,AAED,kCACI,uBAAyC,CAC5C,AAED,SACI,yCAA+B,AAC/B,4BAA6B,AAC7B,0BAA2B,AAC3B,+BAAgC,AAGhC,WAAa,CAChB,AACD,kBAJI,YAAa,AACb,gBAAkB,CAWrB,AARD,SACI,yCAA+B,AAC/B,4BAA6B,AAC7B,0BAA2B,AAC3B,+BAAgC,AAGhC,WAAa,CAChB,AACD,UACI,yCAA+B,AAC/B,4BAA6B,AAC7B,0BAA2B,AAC3B,+BAAgC,AAChC,YAAa,AACb,iBAAkB,AAClB,WAAa,CAChB,AACD,MACI,gBAAkB,CACrB,AACD,QACI,YAAa,AACb,gBAAkB,CACrB,AACD,cACI,gBAAkB,CACrB,AAED,+BACI,oBAAuB,CAC1B,AAED,2BACI,WAAY,AACZ,YAAa,AACb,sBAAuB,AACvB,kBAAmB,AACnB,kBAAmB,AACnB,iBAAkB,AAClB,qBAAsB,AACtB,qBAAuB,AACvB,iBAAmB,CACtB,AACD,aACI,mBAAqC,CACxC,AACD,gBACI,6BAAuC,CAC1C,AAED,KACI,yBAA8B,CACjC,AAED,OACE,WAAY,CAEb,AACD,cAFI,iBAAmB,CAKtB,AAHD,OACE,WAAa,CAEd","file":"ecTitle.css","sourcesContent":["#traningNav {\n display: -ms-flexbox;\n display: flex \n}\n #traningNav>li {\n float: none !important;\n}\n /* 最后一个item 占满剩余空间 */\n#traningNav>li:last-child{\n -ms-flex: 1 1;\n flex: 1 1;\n}\n\n#traningNav>li>.ecTitle {\n width: 24px;\n height: 24px;\n border: 1px solid rgba(65, 140, 205, 1);\n border-radius: 50%;\n text-align: center;\n line-height: 22px;\n display: inline-block;\n color: rgba(65, 140, 205, 1) !important;\n margin-right: 10px;\n}\n#traningNav>li>.ecTitles {\n line-height: 16px !important;\n height: 18px!important;\n width: 18px!important;\n}\n\n#traningNav>li>.ecTitlefont:hover{\n color: rgba(65, 140, 205, 1) !important;\n}\n\n.ecimgs3{\n background: url(\"./img/3.png\");\n background-repeat: no-repeat;\n background-size: 100% 100%;\n -moz-background-size: 100% 100%;\n height: 90px;\n line-height: 90px;\n width: 235px;\n}\n.ecimgs2{\n background: url(\"./img/4.png\");\n background-repeat: no-repeat;\n background-size: 100% 100%;\n -moz-background-size: 100% 100%;\n height: 90px;\n line-height: 90px;\n width: 190px;\n}\n.ecimgs11{\n background: url(\"./img/3.png\");\n background-repeat: no-repeat;\n background-size: 100% 100%;\n -moz-background-size: 100% 100%;\n height: 90px;\n line-height: 90px;\n width: 146px;\n}\n.ml18{\n margin-left: 18px;\n}\n.ecimgs{\n height: 90px;\n line-height: 90px;\n}\n.ecmarginleft{\n margin-left: 23px;\n}\n\n#traningNav>li>.ecTitlefontFFF{\n color:#fff !important;\n}\n\n#traningNav>li>.ecTitleFFF {\n width: 24px;\n height: 24px;\n border: 1px solid #fff;\n border-radius: 50%;\n text-align: center;\n line-height: 22px;\n display: inline-block;\n color: #fff !important;\n margin-right: 10px;\n}\n.traningNavs{\n padding: 0px 0px 0px 0px !important;\n}\n.traningNavs>li{\n padding: 0px 10px 30px 10px !important;\n}\n\n.mb0{\n margin-bottom: 0px !important;\n}\n\n.info2{\n width:232px;\n text-align: center;\n}\n.info1{\n width: 206px;\n text-align: center;\n}"],"sourceRoot":""}]);
|
||
|
||
// exports
|
||
|
||
|
||
/***/ }),
|
||
|
||
/***/ 3058:
|
||
/***/ (function(module, exports) {
|
||
|
||
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANsAAABaCAYAAAAxbyM9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkY5MUI0MTQ2MUVBRDExRTlBQjdFQzE1MEYwOTgxRUNDIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkY5MUI0MTQ3MUVBRDExRTlBQjdFQzE1MEYwOTgxRUNDIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6RjkxQjQxNDQxRUFEMTFFOUFCN0VDMTUwRjA5ODFFQ0MiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RjkxQjQxNDUxRUFEMTFFOUFCN0VDMTUwRjA5ODFFQ0MiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz55gaL6AAACpUlEQVR42uzdPWqUYRSG4TdiY611FpAVZAVWVtYpop2oEHehxH8hCP6hNgqCYiFoNZ1a2VlZ2dhYKCiKhMT3MLOF51TXBWcDB24m+WbOzNqpF4fvxxibA4g6MmfXGqAntldzvlgF5GM7mHPbKiAfW3k457t1QD6233PuWgfkYyt7c/5ZCeRj+zbnsZVAPrZyc86htUA+ts9z3loL5GMrV6wFemJbzPlkNZCPrVyzGuiJ7fmcr9YD+dj259yxHsjHVu7N+WFFkI/t55z7VgT52MbqT8l9a4J8bPWQ5Jk1QT62ct2aoCe2eoN7YVWQj61ctiroie3dWH5IGQjHVmc3N6wL8rGVJ2N5YAqEY6uvTNizMsjHVupLgX5ZG+Rjq6+7e2RtkI+t1Be6Hlgd5GOrryp/aXWQj61ctTroie3DaoBwbMW3cEFTbK+Hn5qCltjqieQtK4R8bOXB8FNT0BLbn+GnpqAltlKfl/xrlZCPrS4Bnlol5GMrfmoKmmKrK+431gn52IqPcEFTbIvhp6agJbaya6XQE9tHK4We2M5ZKeRjOzZn20ohH9vWnBNWCtnY1ubsWCfkYzs5Z8M6IR/bJauEfGwbq1c2IBzbzup/NiAYWz193LJGyMe2PZbvrwHB2I7OuWiFkI/t9Jx1K4R8bB73Q0Nsm6sBwrF5VYOG2NZX/68B4dgujOWTSCAYW72ndsbaIB+bmzVoiM3NGjTF5mYNmmLzuB8aYnOzBk2xuVmDhtiODzdr0BJbva/mZg3CsblZg6bY3KxBU2we90NDbG7WoCk2r2rQEJubNWiK7fxwswbx2Oo9tbNWA/nY3KxBQ2xu1qApNjdr0BSbx/3QEJubNWiKzc0aNMTmZg2aYnOzBg2xuVmDptjcrEFTbB73Q4P/AgwAADNRqm1PSDIAAAAASUVORK5CYII="
|
||
|
||
/***/ }),
|
||
|
||
/***/ 4969:
|
||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
||
"use strict";
|
||
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_tooltip_style_css__ = __webpack_require__(173);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_tooltip_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_antd_lib_tooltip_style_css__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip__ = __webpack_require__(172);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_antd_lib_input_style_css__ = __webpack_require__(57);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_antd_lib_input_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_antd_lib_input_style_css__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_antd_lib_input__ = __webpack_require__(58);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_antd_lib_input___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_antd_lib_input__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_antd_lib_spin_style_css__ = __webpack_require__(76);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_antd_lib_spin_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_antd_lib_spin_style_css__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_antd_lib_spin__ = __webpack_require__(77);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_antd_lib_spin___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_antd_lib_spin__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_antd_lib_icon_style_css__ = __webpack_require__(179);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_antd_lib_icon_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_antd_lib_icon_style_css__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_antd_lib_icon__ = __webpack_require__(26);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_antd_lib_icon___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_antd_lib_icon__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_antd_lib_modal_style_css__ = __webpack_require__(27);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_antd_lib_modal_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_antd_lib_modal_style_css__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_antd_lib_modal__ = __webpack_require__(28);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_antd_lib_modal___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_antd_lib_modal__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_antd_lib_select_style_css__ = __webpack_require__(307);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_antd_lib_select_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_antd_lib_select_style_css__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_antd_lib_select__ = __webpack_require__(303);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_antd_lib_select___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_11_antd_lib_select__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_react__ = __webpack_require__(0);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_12_react__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13_react_router_dom__ = __webpack_require__(48);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_classnames__ = __webpack_require__(3);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_14_classnames__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15_axios__ = __webpack_require__(8);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_15_axios__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16_educoder__ = __webpack_require__(5);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17_antd_dist_antd_css__ = __webpack_require__(2389);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17_antd_dist_antd_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_17_antd_dist_antd_css__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__css_ecCourseEvaluations_css__ = __webpack_require__(3422);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__css_ecCourseEvaluations_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_18__css_ecCourseEvaluations_css__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__ecTitle_ecTitle__ = __webpack_require__(3055);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__eccourseevalut_css__ = __webpack_require__(4970);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__eccourseevalut_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_20__eccourseevalut_css__);
|
||
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}// import { TPMIndexHOC } from '../../../tpm/TPMIndexHOC';
|
||
var $=window.$;// 课程目标评价方法
|
||
var EcCourseEvaluationsbottom=function(_Component){_inherits(EcCourseEvaluationsbottom,_Component);function EcCourseEvaluationsbottom(props){_classCallCheck(this,EcCourseEvaluationsbottom);var _this=_possibleConstructorReturn(this,(EcCourseEvaluationsbottom.__proto__||Object.getPrototypeOf(EcCourseEvaluationsbottom)).call(this,props));_this.getec_course_achievement_methods=function(){var newec_course_idbottom=_this.state.newec_course_idbottom;if(newec_course_idbottom!=undefined){// const url ='ec_courses/:course_id/course_targets.json';
|
||
// const url = `/ec_course_achievement_methods?ec_course_id=`+newec_course_idbottom;
|
||
var course_id=706;var url='/ec_courses/'+course_id+'/course_targets/course_achievement_methods.json';__WEBPACK_IMPORTED_MODULE_15_axios___default.a.get(url,{withCredentials:true}).then(function(response){_this.setState({achievement_list:response.data.course_targets,spinningstate:false,ismanager:true});}).catch(function(error){console.log(error);});}// this.setState({
|
||
// achievement_list:[
|
||
// {course_achievement_methods: [
|
||
// {
|
||
// evaluate_id: 24,
|
||
// evaluate_name: "期末考试",
|
||
// course_evaluation_subitems: [
|
||
// {evaluation_relates_id: 31, evaluation_relates_name: "期末考试1目标1考题"},
|
||
// {evaluation_relates_id: 32, evaluation_relates_name: "期末考试1目标2考题"}
|
||
// ],
|
||
// percentage: 100,
|
||
// score: 15
|
||
// }
|
||
// ],
|
||
// target_id: 5
|
||
// },
|
||
// ],
|
||
// spinningstate:false
|
||
// })
|
||
};_this.getNavigationData=function(ec_course_id){// const jol =`/ec_major_schools/get_navigation_data?ec_year_id=`+ec_year_id+"&ec_course_id="+ec_course_id;
|
||
var jol='/ec_major_schools/get_navigation_data?ec_course_id='+ec_course_id;__WEBPACK_IMPORTED_MODULE_15_axios___default.a.get(jol,{withCredentials:true}).then(function(response){if(response.status===200){// if(response.data.allow_visit===false){
|
||
// window.location.href="/403"
|
||
// }
|
||
_this.setState({schooldata:response.data});}}).catch(function(error){console.log(error);});};_this.editecCourseEvaluationslist=function(e){var id=e.target.getAttribute("target_id");var newid=e.target.name;_this.setState({buttomSaveCourseEvaluationsbottom:_this.SaveCourseEvaluationsbottom,target_id:id,percentagetype:false});// $("#ecCourseEvaluationsbottomsubmit").show();
|
||
// $("#SystemParametersbottom").show();
|
||
// let offsettop=$("#ecCourseEvaluationsbottomsubmit").position().top||$("#ecCourseEvaluationsbottomsubmit").scrollTop || $("#ecCourseEvaluationsbottomsubmit").pageYOffset;
|
||
// window.scrollTo(0, offsettop)
|
||
var _this$state=_this.state,evaluations_list=_this$state.evaluations_list,evaluation_subitems_list=_this$state.evaluation_subitems_list,achievement_methods=_this$state.achievement_methods;_this.setState({achievement_methods:undefined,selectevaluation_phase:[],course_select_value:'',evaluations_lists:[],sequenceid:newid,methodologytype:false,Modallists:' ',meweacoursetype:false,eacoursesavetypes:false,newshowredvalue:false});var newevaluations_list=[];var newevaluation_subitems_list=new Object();var newachievement_methods=[];var url='/ec_course_achievement_methods/edit_course_target?ec_course_target_id='+id;__WEBPACK_IMPORTED_MODULE_15_axios___default.a.get(url,{withCredentials:true}).then(function(response){if(response.status===200){if(response.data.evaluation_phase_list.length===0){_this.setState({achievement_methods:undefined});var newObject=new Object();newachievement_methods.push(newObject);}if(response.data.evaluation_phase_list.length>0){var evaluation_phase_list=response.data.evaluation_phase_list;var _evaluations_list=response.data.evaluations_list;for(var i=0;i<evaluation_phase_list.length;i++){var course_select_value=null;var newevaluation_phase=evaluation_phase_list[i].evaluation_phase;var selectevaluation_phase=[];for(var j=0;j<response.data.evaluations_list.length;j++){if(evaluation_phase_list[i].evaluation_id===_evaluations_list[j].id){course_select_value=_evaluations_list[j].name;}}for(var z=0;z<newevaluation_phase.length;z++){selectevaluation_phase.push(newevaluation_phase[z].name);}var _newObject={course_evaluation_id:evaluation_phase_list[i].evaluation_id,score:evaluation_phase_list[i].score,percentage:evaluation_phase_list[i].percentage,evaluation_subitems:evaluation_phase_list[i].evaluation_phase,course_select_value:course_select_value,selectevaluation_phase:selectevaluation_phase};newachievement_methods.push(_newObject);}}for(var i=0;i<response.data.evaluations_list.length;i++){newevaluations_list.push(response.data.evaluations_list[i].name);newevaluation_subitems_list[response.data.evaluations_list[i].name]=[];for(var j=0;j<response.data.evaluations_list[i].evaluation_subitems_list.length;j++){newevaluation_subitems_list[response.data.evaluations_list[i].name].push(response.data.evaluations_list[i].evaluation_subitems_list[j].name);}}// let newec_course_target_name="";
|
||
// let newec_course_target_namelist=response.data.evaluations_list;
|
||
// for(var o=0; o<newec_course_target_namelist.length;o++){
|
||
// newec_course_target_name=newec_course_target_namelist[o].ec_course_target_name
|
||
// }
|
||
_this.setState({achievement_methods:newachievement_methods,totalevaluations_list:response.data,// ec_course_target_name:newec_course_target_name,
|
||
evaluations_list:newevaluations_list,evaluation_subitems_list:newevaluation_subitems_list,newec_course_target_id:id,methodologytype:true,ec_course_target_name:response.data.ec_course_target_name,ismanager:true});// this.setState({
|
||
// // evaluations_lists: evaluation_subitems_list[evaluations_list[0]],
|
||
// evaluation_subitems_lists: evaluation_subitems_list[evaluations_list[0]][0]
|
||
// })
|
||
}}).catch(function(error){console.log(error);});};_this.handleevaluations_list=function(value,keythis){var _this$state2=_this.state,evaluation_subitems_list=_this$state2.evaluation_subitems_list,totalevaluations_list=_this$state2.totalevaluations_list,achievement_methods=_this$state2.achievement_methods;var newachievement_methods=achievement_methods;var newlist=new Object();var location=keythis.key;var list=totalevaluations_list.evaluations_list;// 点击切换清空
|
||
for(var z=0;z<newachievement_methods.length;z++){if(z===location){newachievement_methods[z].evaluation_subitems=[];}}_this.setState({evaluations_lists:evaluation_subitems_list[value],evaluation_subitems_lists:evaluation_subitems_list[value][0],achievement_methods:newachievement_methods});if(newachievement_methods.length===0){for(var i=0;i<list.length;i++){if(list[i].name===value){newlist.course_evaluation_id=list[i].id;}}newachievement_methods.push(newlist);}else if(newachievement_methods.length>0){if(newachievement_methods[location]===undefined){newachievement_methods.push(newlist);}for(var i=0;i<list.length;i++){if(list[i].name===value){newachievement_methods[location].course_evaluation_id=list[i].id;newachievement_methods[location].course_select_value=value;newachievement_methods[location].selectevaluation_phase=[];}}}_this.setState({achievement_methods:newachievement_methods});};_this.handevaluation_subitems_list=function(value,keynum){var _this$state3=_this.state,totalevaluations_list=_this$state3.totalevaluations_list,achievement_methods=_this$state3.achievement_methods;var newachievement_methods=[];var id=void 0;if(value.length>0){newachievement_methods=achievement_methods;for(var j=0;j<value.length;j++){if(!isNaN(keynum[j].key)){id=keynum[j].key;}}var list=[];for(var k=0;k<value.length;k++){for(var i=0;i<totalevaluations_list.evaluations_list.length;i++){var newlist=totalevaluations_list.evaluations_list[i].evaluation_subitems_list;for(var z=0;z<newlist.length;z++){if(value[k]===newlist[z].name){var Objectlist=new Object();Objectlist.id=newlist[z].id;// Objectlist.name=newlist[z].name;
|
||
Objectlist.position=newlist[z].position;list.push(Objectlist);}}}}newachievement_methods[id].evaluation_subitems=list;newachievement_methods[id].selectevaluation_phase=value;_this.setState({evaluation_subitems_lists:value,achievement_methods:newachievement_methods});}};_this.handevaluation_Addlist=function(value,keynum){var id=parseInt(keynum.key);var achievement_methods=_this.state.achievement_methods;var newachievement_methods=achievement_methods;for(var i=0;i<newachievement_methods.length;i++){if(isNaN(id)){for(var j=0;j<newachievement_methods[i].evaluation_subitems.length;j++){if(newachievement_methods[i].evaluation_subitems[j].name===value){newachievement_methods[i].evaluation_subitems.splice(j,1);newachievement_methods[i].selectevaluation_phase.splice(j,1);}}}else{if(id===i){newachievement_methods[i].evaluation_subitems.splice(i,1);newachievement_methods[i].selectevaluation_phase.splice(i,1);}}}_this.setState({achievement_methods:newachievement_methods});};_this.handevaluation_CourseScore=function(e){var achievement_methods=_this.state.achievement_methods;var newachievement_methods=achievement_methods;var id=e.target.id;var value=parseFloat(e.target.value);for(var i=0;i<newachievement_methods.length;i++){newachievement_methods[id].score=value;}_this.setState({achievement_methods:newachievement_methods});};_this.handevaluation_CoursePercentag=function(e){var achievement_methods=_this.state.achievement_methods;var newachievement_methods=achievement_methods;var id=e.target.id;var value=parseFloat(e.target.value);if(value>100){// message.warning('占比请输入0~100的数');
|
||
_this.setState({Modallists:'占比请输入0~100的数',meweacoursetype:true,newshowredvalue:true});value=100;}if(value<0){// message.warning('占比请输入0~100的数');
|
||
_this.setState({Modallists:'占比不能小于0',meweacoursetype:true,newshowredvalue:true});value=0;}if(value===""||value===null||value===undefined){// message.warning('占比请输入0~100的数');
|
||
_this.setState({Modallists:'占比不能为空',meweacoursetype:true,newshowredvalue:true});value=0;}for(var i=0;i<newachievement_methods.length;i++){newachievement_methods[id].percentage=value;}_this.setState({achievement_methods:newachievement_methods});};_this.Addhandevaluation=function(e){var achievement_methods=_this.state.achievement_methods;var newachievement_methods=achievement_methods;var newlist=new Object();newachievement_methods.push(newlist);_this.setState({achievement_methods:newachievement_methods});};_this.Delethandevaluation=function(e){var achievement_methods=_this.state.achievement_methods;var id=e.target.getAttribute("index");var newachievement_methods=achievement_methods;newachievement_methods.splice(id,1);_this.setState({achievement_methods:newachievement_methods});};_this.EvaluationsSaveonloadgetdata=function(id){var course_id=706;var url='/ec_courses/'+course_id+'/course_targets/with_achievement_methods.json';__WEBPACK_IMPORTED_MODULE_15_axios___default.a.get(url,{withCredentials:true}).then(function(response){_this.setState({achievement_list:response.data.course_targets,spinningstate:false,ismanager:true});}).catch(function(error){console.log(error);this.setState({spinningstate:false});});};_this.ecrestoration=function(){_this.setState({buttomSaveCourseEvaluationsbottom:_this.SaveCourseEvaluationsbottom});};_this.SaveCourseEvaluationsbottom=function(){var ec_course_id=_this.props.match.params.ec_course_id;_this.setState({buttomSaveCourseEvaluationsbottom:'',percentagetype:true});var _this$state4=_this.state,newec_course_target_id=_this$state4.newec_course_target_id,achievement_methods=_this$state4.achievement_methods;for(var j=0;j<achievement_methods.length;j++){if(achievement_methods[j].course_evaluation_id===undefined){// message.error('提交失败!请选择该目标评价环节');
|
||
_this.setState({Modallists:'提交失败,评价环节不能为空',meweacoursetype:true,eacoursesavetypes:true});_this.ecrestoration();return;}if(achievement_methods[j].evaluation_subitems===undefined){// message.error('提交失败!请选择支撑项');
|
||
_this.setState({Modallists:'提交失败,支撑项内容不能为空',meweacoursetype:true,eacoursesavetypes:true});_this.ecrestoration();return;}if(achievement_methods[j].score===undefined||achievement_methods[j].score===NaN||achievement_methods[j].score===null){// message.error('提交失败!请填写支撑分数!');
|
||
_this.setState({Modallists:'提交失败,支撑分数不能为空',meweacoursetype:true,eacoursesavetypes:true});_this.ecrestoration();return;}if(achievement_methods[j].percentage===undefined||achievement_methods[j].percentage===NaN||achievement_methods[j].percentage===null){// message.error('提交失败!请填写占比!');
|
||
_this.setState({Modallists:'提交失败,占比不能为空',meweacoursetype:true,eacoursesavetypes:true,newshowredvalue:true});_this.ecrestoration();return;}}var percentagenum=0;for(var o=0;o<achievement_methods.length;o++){percentagenum=percentagenum+achievement_methods[o].percentage;}if(percentagenum>100){// message.error('提交失败!支撑占比不能超过总和100%');
|
||
_this.setState({Modallists:'提交失败,支撑占比不能超过总和100%',meweacoursetype:true,newshowredvalue:true,percentagetype:true});_this.setState({buttomSaveCourseEvaluationsbottom:_this.SaveCourseEvaluationsbottom});return;}if(percentagenum<100){// message.error('提交失败!支撑占比不能超过总和100%');
|
||
_this.setState({Modallists:'提交失败,支撑占比总和要等于100%',meweacoursetype:true,newshowredvalue:true,percentagetype:true});_this.setState({buttomSaveCourseEvaluationsbottom:_this.SaveCourseEvaluationsbottom});return;}for(var i=0;i<achievement_methods.length;i++){if(JSON.stringify(achievement_methods[i])==="{}"){achievement_methods.splice(i,1);}else{delete achievement_methods[i].course_select_value;delete achievement_methods[i].selectevaluation_phase;for(var j=0;j<achievement_methods[i].evaluation_subitems.length;j++){delete achievement_methods[i].evaluation_subitems[j].evaluation_subitem_id;delete achievement_methods[i].evaluation_subitems[j].name;}}}// var Url = '/ec_course_achievement_methods/create_evaluation_methods';
|
||
var Url='/ec_courses/:course_id/course_targets/:target_id/course_achievement_methods.json';__WEBPACK_IMPORTED_MODULE_15_axios___default.a.post(Url,{ec_course_target_id:newec_course_target_id,achievement_methods:achievement_methods},{withCredentials:true}).then(function(response){if(response.data.status===0){_this.setState({target_id:null,newec_course_idbottom:response.data.ec_course_id,buttomSaveCourseEvaluationsbottom:_this.SaveCourseEvaluationsbottom,// Modallists:response.data.message,
|
||
// eacoursetype:true,
|
||
Modallists:' ',meweacoursetype:false,achievement_methods:undefined,eacoursesavetypes:false,newshowredvalue:false,ismanager:true});// $("#ecCourseEvaluationsbottomsubmit").hide();
|
||
// $("#SystemParametersbottom").hide();
|
||
_this.EvaluationsSaveonloadgetdata(response.data.ec_course_id);_this.getNavigationData(ec_course_id);}else if(response.data.status===-1){_this.setState({buttomSaveCourseEvaluationsbottom:_this.SaveCourseEvaluationsbottom,Modallists:response.data.message,eacoursetype:true});}}).catch(function(error){console.log(error);});};_this.CancelecCourseEvaluationsbottom=function(){_this.setState({achievement_methods:undefined,target_id:null,methodologytype:false,Modallists:' ',meweacoursetype:false,eacoursesavetypes:false,newshowredvalue:false,percentagetype:false});// $("#ecCourseEvaluationsbottomsubmit").hide();
|
||
// $("#SystemParametersbottom").hide();
|
||
_this.getec_course_achievement_methods();};_this.selectsonFocuslist=function(e,key){var value=e.course_select_value;var _this$state5=_this.state,evaluation_subitems_list=_this$state5.evaluation_subitems_list,totalevaluations_list=_this$state5.totalevaluations_list,achievement_methods=_this$state5.achievement_methods;var newachievement_methods=achievement_methods;var newlist=new Object();var location=key;var list=totalevaluations_list.evaluations_list;_this.setState({evaluations_lists:evaluation_subitems_list[value],evaluation_subitems_lists:evaluation_subitems_list[value][0]});if(newachievement_methods.length===0){for(var i=0;i<list.length;i++){if(list[i].name===value){newlist.course_evaluation_id=list[i].id;}}newachievement_methods.push(newlist);}else if(newachievement_methods.length>0){if(newachievement_methods[location]===undefined){newachievement_methods.push(newlist);}for(var i=0;i<list.length;i++){if(list[i].name===value){newachievement_methods[location].course_evaluation_id=list[i].id;}}}_this.setState({achievement_methods:newachievement_methods});};_this.hidemodeleacourse=function(){_this.setState({eacoursetype:false});};_this.state={totalevaluations_list:[],ec_course_target_id:0,achievement_list:[],evaluations_listSelec:[],evaluations_lists:[],evaluation_subitems_lists:[],evaluations_list:[],evaluation_subitems_list:{},achievement_methods:[],ec_course_target_name:"",buttomSaveCourseEvaluationsbottom:_this.SaveCourseEvaluationsbottom,spinningstate:true,schooldata:{},sequenceid:0,target_id:null,titlemessages:"提示",Modallists:"",eacoursetype:false,eacoursesavetypes:false,newec_course_idbottom:undefined,methodologytype:false,meweacoursetype:false,newshowredvalue:false,percentagetype:false,ismanager:true};return _this;}_createClass(EcCourseEvaluationsbottom,[{key:'componentDidMount',value:function componentDidMount(){var _this2=this;var ec_course_id=this.props.match.params.ec_course_id;var course_id=706;var url='/ec_courses/'+course_id+'/course_targets/with_achievement_methods.json';// /ec_courses//course_targets/course_achievement_methods.json
|
||
// const url = `/ec_course_achievement_methods?ec_course_id=`+course_id;
|
||
__WEBPACK_IMPORTED_MODULE_15_axios___default.a.get(url).then(function(response){_this2.setState({achievement_list:response.data.course_targets,spinningstate:false,ismanager:true});}).catch(function(error){console.log(error);});// this.getNavigationData(ec_course_id);
|
||
this.setState({newec_course_idbottom:course_id});this.props.Ontitine("evaluation_methods");}},{key:'render',value:function render(){var _this3=this;var Option=__WEBPACK_IMPORTED_MODULE_11_antd_lib_select___default.a.Option;var _state=this.state,schooldata=_state.schooldata,achievement_list=_state.achievement_list,spinningstate=_state.spinningstate,evaluations_list=_state.evaluations_list,evaluations_lists=_state.evaluations_lists,newec_course_target_id=_state.newec_course_target_id,achievement_methods=_state.achievement_methods,ec_course_target_name=_state.ec_course_target_name,buttomSaveCourseEvaluationsbottom=_state.buttomSaveCourseEvaluationsbottom,sequenceid=_state.sequenceid,target_id=_state.target_id,titlemessages=_state.titlemessages,Modallists=_state.Modallists,eacoursetype=_state.eacoursetype,eacoursesavetypes=_state.eacoursesavetypes,methodologytype=_state.methodologytype,newec_course_idbottom=_state.newec_course_idbottom,meweacoursetype=_state.meweacoursetype,percentagetype=_state.percentagetype,ismanager=_state.ismanager;// console.log("EcCourseEvaluationsbottom12345");
|
||
// console.log(achievement_list);
|
||
return __WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'newMain clearfix'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'educontent mb50'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_9_antd_lib_modal___default.a,{title:titlemessages// visible={modeldelet===true&&listid===list.id?true:false}
|
||
,visible:eacoursetype,className:"ecmodeldelet",closable:false,footer:null},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'task-popup-content'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'task-popup-text-center font-14'},Modallists)),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'task-popup-submit clearfix'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('a',{onClick:this.hidemodeleacourse,className:'task-btn fl'},'\u53D6\u6D88'),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('a',{className:'task-btn task-btn-orange fr',onClick:this.hidemodeleacourse},'\u786E\u5B9A'))),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'ListTableLine newSystem',id:'school_major_list'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('p',{className:'clearfix Coursetitle',style:{width:"1200px"}},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 color-666'},'\u8BFE\u7A0B\u76EE\u6807'),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 color-666'},'\u8BC4\u4EF7\u73AF\u8282'),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 ml15 color-666'},'\u6570\u636E\u5185\u5BB9'),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 operationright color-666 f5f5f5'},'\u64CD\u4F5C'),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 ml30 operationright color-666'},'\u8BC4\u4EF7\u5360\u6BD4'),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 ml15 operationright color-666'},'\u652F\u6491\u603B\u5206\u503C')),achievement_list===undefined?"":achievement_list&&achievement_list.length===0?__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5_antd_lib_spin___default.a,{spinning:spinningstate,className:'Spinlarge',indicator:__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7_antd_lib_icon___default.a,{type:'loading',style:{fontSize:30},spin:true})}):achievement_list&&achievement_list.map(function(item,key){return __WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{key:key},item.course_achievement_methods.length===0?__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('li',{key:key,className:'clearfix'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',_defineProperty({style:{width:'99.8%'},className:"yslpadding"},'style',{display:parseInt(target_id)===item.id?"none":"block"}),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 mt4 textaligncenters'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',null,key+1)),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',null,__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 textaligncenters mt4'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',null)),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 ml15 textaligncenters color99 mt4 newtextaligncenter evaluationdataClassy'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',null)),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 operationright mt4'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'operationColumn'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'right operationalter nulleditSubentry',style:{display:ismanager===false?'none':'block'}},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('a',{className:'mr16 editSubentry','data-tip-down':'\u7F16\u8F91'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('i',{target_id:item.id,name:key,onClick:_this3.editecCourseEvaluationslist.bind(_this3),className:'iconfont icon-bianjidaibeijing color-green'}))))),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 operationright mt4 percentages'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',null)),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 mr20 operationright mt4'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'ColorF68'})))),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'ListTableLine newSystem',id:'EvaluationsList'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{style:{display:parseInt(target_id)===item.id?"block":"none"}},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'edu-back-white eacourse',id:'SystemParametersbottom',style:{display:parseInt(target_id)===item.id?"block":"none"}},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'padding20-30',id:'SystemParameters',style:{paddingLeft:'0px'}},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'fl SystemParameters'},'\u8BFE\u7A0B\u76EE\u6807',key+1,'\uFF1A',ec_course_target_name))),achievement_methods===undefined?" ":achievement_methods.map(function(item,itemkey){return __WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{key:itemkey,className:'clearfix editorModify'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:''},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 mr12',style:{paddingLeft:'0px'}},'\u8BC4\u4EF7\u73AF\u8282'),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_11_antd_lib_select___default.a,{// className={item.course_select_value===undefined&&eacoursesavetypes===true? "inputWeight bor-red": "inputWeight"}
|
||
className:item.course_select_value===undefined&&eacoursesavetypes===true?Modallists==='提交失败,评价环节不能为空'?"inputWeight bor-red":"inputWeight":"inputWeight",placeholder:'\u8BF7\u9009\u62E9\u8BE5\u76EE\u6807\u7684\u8BC4\u4EF7\u73AF\u8282',size:'large',style:{width:'20%'},value:item.course_select_value,onChange:_this3.handleevaluations_list.bind(_this3)},evaluations_list.map(function(province){return __WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement(Option,{value:province,key:itemkey},province);})),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 mr13'}),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_11_antd_lib_select___default.a,{mode:'multiple'// className={item.selectevaluation_phase===undefined&&eacoursesavetypes===true? "inputWeight bor-red": "inputWeight"}
|
||
,className:item.selectevaluation_phase===undefined&&eacoursesavetypes===true?Modallists==='提交失败,支撑项内容不能为空'?"inputWeight bor-red":"inputWeight":"inputWeight",placeholder:'\u8BF7\u9009\u62E9\u5177\u4F53\u6570\u636E\u5185\u5BB9',size:'large',id:'Coursemultiple',style:{width:'37%'},onChange:_this3.handevaluation_subitems_list.bind(_this3),onDeselect:_this3.handevaluation_Addlist.bind(_this3),value:item.selectevaluation_phase,onFocus:function onFocus(){return _this3.selectsonFocuslist(item,itemkey);}},evaluations_lists.map(function(city){return __WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement(Option,{value:city,key:itemkey},city);})),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 mr14'}),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_3_antd_lib_input___default.a,{size:'large',type:'number',value:item.score,className:item.score===undefined&&eacoursesavetypes===true?Modallists==='提交失败,支撑分数不能为空'?"bor-red":"":"",onInput:_this3.handevaluation_CourseScore.bind(_this3),id:itemkey,style:{width:'11%'},placeholder:'\u8BF7\u8F93\u5165\u652F\u6491\u5206\u6570'}),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 ml5 mr10'},'\u5206'),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_3_antd_lib_input___default.a,{size:'large',type:'number',value:item.percentage,className:item.percentage===undefined&&eacoursesavetypes===true||item.percentage>100&&eacoursesavetypes===true||percentagetype===true?"bor-red":"",onInput:_this3.handevaluation_CoursePercentag.bind(_this3),id:itemkey,style:{width:'11%'},placeholder:'\u8BF7\u8F93\u5165\u5360\u6BD4'}),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 ml5 mr10'},'%'),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'buttoninline SetTheAssociated',style:{marginLeft:'10px'}},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'left operatebutton',style:{display:ismanager===false?'none':'block'}},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('a',{className:'mr15 delSubentry',style:{display:itemkey===0?'none':'inline-block'}},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip___default.a,{placement:'bottom',title:'\u5220\u9664'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('i',{className:'iconfont icon-shanchu color-grey-c font-17',index:itemkey,onClick:_this3.Delethandevaluation.bind(_this3)}))),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('a',{className:'newAddSubentry','data-tip-down':'\u6DFB\u52A0',style:{display:itemkey===achievement_methods.length-1?'inline-block':'none'}},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('i',{className:'iconfont icon-tianjiafangda color-green',index:itemkey,onClick:_this3.Addhandevaluation.bind(_this3)}))))),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('br',null));}),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'c_red none ml30',id:'error_tip',style:{display:meweacoursetype===true?'inline-block':'none'}},Modallists),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'right editglybuttonbox mb10',id:'ecCourseEvaluationsbottomsubmit',style:{display:parseInt(target_id)===item.target_id?"block":"none"}},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'defalutSubmitbtn fr',onClick:buttomSaveCourseEvaluationsbottom},'\u4FDD\u5B58'),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'defalutCancelbtn fr mr20',onClick:_this3.CancelecCourseEvaluationsbottom},'\u53D6\u6D88'))))):item.course_achievement_methods.map(function(i,k){return __WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('li',{key:key,className:achievement_list&&achievement_list.length-1===key?item.course_achievement_methods.length-1===k?"clearfix yslinitials ":" yslinitials bordereaeaea clearfix":item.course_achievement_methods.length-1===k?" yslinitials bordereaeaeas clearfix":" yslinitials bordereaeaea clearfix",style:{display:parseInt(target_id)===item.target_id&&methodologytype===true?item.course_achievement_methods.length-1===k?'block':"none":"block"}},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',_defineProperty({style:{width:'99.8%'},className:"yslpadding"},'style',{display:parseInt(target_id)===item.target_id&&methodologytype===true?"none":"block"}),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 mt4 textaligncenters'},key-k===key?key+1:""),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',null,__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 textaligncenters mt4 '},i.course_evaluation.name),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 ml15 textaligncenters color99 mt4 newtextaligncenter evaluationdataClassy'},i.course_evaluation_subitems.map(function(y,e){return __WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{key:y},y.name+" ",' ');})),key-k===key?__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 operationright mt4'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'operationColumn'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'right operationalter neweditSubentry',style:{display:ismanager===false?'none':'block'}},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('a',{className:'mr20 editSubentry','data-tip-down':'\u7F16\u8F91'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('i',{target_id:item.target_id,name:key,onClick:_this3.editecCourseEvaluationslist.bind(_this3),className:'iconfont icon-bianjidaibeijing color-green'}))))):__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 operationright mt4'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'operationColumn'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'left operationalter neweditSubentry'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('a',{className:'mr20 editSubentry'})))),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 operationright mt4 percentages'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',null,i.percentage+"%")),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 mr20 operationright mt4'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'ColorF68'},i.score)))),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'ListTableLine newSystem',id:'EvaluationsList'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{style:{display:parseInt(target_id)===item.target_id&&item.course_achievement_methods.length-1===k?"block":"none"}},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'edu-back-white eacourse',id:'SystemParametersbottom',style:{display:parseInt(target_id)===item.target_id&&item.course_achievement_methods.length-1===k?"block":"none"}},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'padding20-30',id:'SystemParameters',style:{paddingLeft:'0px'}},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'fl SystemParameters'},'\u8BFE\u7A0B\u76EE\u6807',key+1,'\uFF1A',ec_course_target_name))),achievement_methods===undefined?" ":achievement_methods.map(function(item,itemkey){return __WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{key:itemkey,className:'clearfix editorModify'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:''},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 mr12',style:{paddingLeft:'0px'}},'\u8BC4\u4EF7\u73AF\u8282'),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_11_antd_lib_select___default.a,{className:item.course_select_value===undefined&&eacoursesavetypes===true?Modallists==='提交失败,评价环节不能为空'?"inputWeight bor-red":"inputWeight":"inputWeight",placeholder:'\u8BF7\u9009\u62E9\u8BE5\u76EE\u6807\u7684\u8BC4\u4EF7\u73AF\u8282',size:'large',style:{width:'20%'},value:item.course_select_value,onChange:_this3.handleevaluations_list.bind(_this3)},evaluations_list.map(function(province){return __WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement(Option,{value:province,key:itemkey},province);})),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 mr13'}),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_11_antd_lib_select___default.a,{mode:'multiple',className:item.selectevaluation_phase===undefined&&eacoursesavetypes===true?Modallists==='提交失败,支撑项内容不能为空'?"inputWeight bor-red":"inputWeight":"inputWeight",placeholder:'\u8BF7\u9009\u62E9\u5177\u4F53\u652F\u6491\u9879',size:'large',id:'Coursemultiple',style:{width:'37%'},onChange:_this3.handevaluation_subitems_list.bind(_this3),onDeselect:_this3.handevaluation_Addlist.bind(_this3),value:item.selectevaluation_phase,onFocus:function onFocus(){return _this3.selectsonFocuslist(item,itemkey);}},evaluations_lists.map(function(city){return __WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement(Option,{value:city,key:itemkey},city);})),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 mr14'}),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_3_antd_lib_input___default.a,{size:'large',type:'number',value:item.score,className:item.score===undefined&&eacoursesavetypes===true?Modallists==='提交失败,支撑分数不能为空'?"bor-red":"":"",onInput:_this3.handevaluation_CourseScore.bind(_this3),id:itemkey,style:{width:'11%'},placeholder:'\u8BF7\u8F93\u5165\u652F\u6491\u5206\u6570'}),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 ml5 mr10'},'\u5206'),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_3_antd_lib_input___default.a,{size:'large',type:'number',value:item.percentage,className:item.percentage===undefined&&eacoursesavetypes===true||item.percentage>100&&eacoursesavetypes===true||percentagetype===true?"bor-red":"",onInput:_this3.handevaluation_CoursePercentag.bind(_this3),id:itemkey,style:{width:'11%'},placeholder:'\u8BF7\u8F93\u5165\u5360\u6BD4'}),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'column-1 ml5 mr10'},'%'),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'buttoninline SetTheAssociated',style:{marginLeft:'10px'}},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'left operatebutton',style:{display:ismanager===false?'none':'block'}},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('a',{className:'mr15 delSubentry',style:{display:achievement_methods.length===1?'none':'inline-block'}},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip___default.a,{placement:'bottom',title:'\u5220\u9664'},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('i',{className:'iconfont icon-shanchu color-grey-c font-17',index:itemkey,onClick:_this3.Delethandevaluation.bind(_this3)}))),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('a',{className:'newAddSubentry','data-tip-down':'\u6DFB\u52A0',style:{display:itemkey===achievement_methods.length-1?'inline-block':'none'}},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('i',{className:'iconfont icon-tianjiafangda color-green',index:itemkey,onClick:_this3.Addhandevaluation.bind(_this3)}))))),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('br',null));}),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('span',{className:'c_red none ml30',id:'error_tip',style:{display:meweacoursetype===true?'inline-block':'none'}},Modallists),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'right editglybuttonbox mb10',id:'ecCourseEvaluationsbottomsubmit',style:{display:parseInt(target_id)===item.target_id?"block":"none"}},__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'defalutSubmitbtn fr',onClick:buttomSaveCourseEvaluationsbottom},'\u4FDD\u5B58'),__WEBPACK_IMPORTED_MODULE_12_react___default.a.createElement('div',{className:'defalutCancelbtn fr mr20',onClick:_this3.CancelecCourseEvaluationsbottom},'\u53D6\u6D88')))));}));}))));}}]);return EcCourseEvaluationsbottom;}(__WEBPACK_IMPORTED_MODULE_12_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_16_educoder__["w" /* SnackbarHOC */])()(EcCourseEvaluationsbottom));
|
||
|
||
/***/ }),
|
||
|
||
/***/ 4970:
|
||
/***/ (function(module, exports, __webpack_require__) {
|
||
|
||
// style-loader: Adds some css to the DOM by adding a <style> tag
|
||
|
||
// load the styles
|
||
var content = __webpack_require__(4971);
|
||
if(typeof content === 'string') content = [[module.i, content, '']];
|
||
// Prepare cssTransformation
|
||
var transform;
|
||
|
||
var options = {"hmr":false}
|
||
options.transform = transform
|
||
// add the styles to the DOM
|
||
var update = __webpack_require__(300)(content, options);
|
||
if(content.locals) module.exports = content.locals;
|
||
|
||
|
||
/***/ }),
|
||
|
||
/***/ 4971:
|
||
/***/ (function(module, exports, __webpack_require__) {
|
||
|
||
exports = module.exports = __webpack_require__(299)(true);
|
||
// imports
|
||
|
||
|
||
// module
|
||
exports.push([module.i, ".yslinitials{display:-ms-flexbox;display:flex;-ms-flex-direction:initial;flex-direction:row}.yslpadding{padding:0 30px}", "", {"version":3,"sources":["/Users/jasder/work/trustie3.0/educoder/public/react/src/modules/ecs/subroute/ecCourseEvaluations/eccourseevalut.css"],"names":[],"mappings":"AAAA,aAEI,oBAAqB,AAErB,aAAc,AACd,2BAA2B,AACvB,kBAAuB,CAC9B,AACD,YACI,cAAkB,CACrB","file":"eccourseevalut.css","sourcesContent":[".yslinitials{\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-direction:initial;\n flex-direction:initial;\n}\n.yslpadding{\n padding: 0px 30px;\n}"],"sourceRoot":""}]);
|
||
|
||
// exports
|
||
|
||
|
||
/***/ })
|
||
|
||
}); |