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.
p6tsc84h5/static/js/169.577ca811.chunk.js

1 line
10 KiB

webpackJsonp([169],{1538:function(t,e,n){var o=n(1658);"string"==typeof o&&(o=[[t.i,o,""]]);var r={hmr:!1,transform:void 0};n(289)(o,r);o.locals&&(t.exports=o.locals)},1657:function(t,e,n){"use strict";var o=n(0),r=n.n(o),a=(n(5),n(1538)),i=(n.n(a),function(t,e,n){return e&&l(t.prototype,e),n&&l(t,n),t});function l(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function s(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s);var e=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,t));return e.DownloadOpenPdf=function(t,e){!0===t?window.open(e):window.location.href=e},e.getTrainingjobsetting=function(){e.props.match.params.homeworkid},e.scrollToAnchor=function(t){if(t){var e=document.getElementById(t);e&&e.scrollIntoView()}},e.state={},e}(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)})(s,o.Component),i(s,[{key:"componentDidMount",value:function(){console.log("Groupjobquesanswer"),console.log("componentDidMount")}},{key:"render",value:function(){var t=this,e=this.props.attachments;return r.a.createElement("div",{className:"color-grey df yslquesmat26",key:this.props.key,style:{lineHeight:"17px"}},r.a.createElement("a",{className:"color-grey "},r.a.createElement("i",{className:"font-14 color-green iconfont icon-fujian mr8","aria-hidden":"true"})),r.a.createElement("style",null,"\n\t\t\t\t\t\t\t\ta:hover {\n\t\t\t\t\t\t\t\t\t\t\tcolor: #459be5 !important;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\ta:link, a:visited {\n \t\t\t\t\t\t\t\ttext-decoration: none;\n\t\t\t\t\t\t\t\t\t color: #999999 !important;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t"),r.a.createElement("a",{onClick:function(){return t.DownloadOpenPdf(e.is_pdf,e.url)},title:e&&e.title,className:"mr12 yslahover overflowHidden1",length:"58",style:{maxWidth:"480px",fontSize:"16px"}},r.a.createElement("span",null,e&&e.title)),r.a.createElement("span",{className:"color656565 color-grey-6 font-12 mr8"},e&&e.filesize))}}])},1658:function(t,e,n){(t.exports=n(288)(!0)).push([t.i,".yslquestionbank1{padding-top:30px!important;padding-right:30px!important;padding-left:30px!important;min-height:500px!important}.yslquesHeigth{width:100%!important}.yslquesmarkdowntext{font-size:16px;color:#707070}.yslquesmat26{margin-top:26px;padding-bottom:33px!important}.ysltextcolor9999{color:#999;font-size:14px}.ysltextcolor66{color:#666;font-size:14px}.ysltextcolor05{color:#05101a;font-size:14px}.ml47text{margin-left:17px;margin-top:33px;padding-bottom:37px}.ysltextcolor99999{color:#999;font-size:16px}.yslahover{color:#999}.mt24{margin-top:24px!important}.pd30{margin-bottom:30px}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/src/modules/courses/groupjobbank/questionbanks.css"],names:[],mappings:"AAAA,kBACI,2BAA6B,AAC7B,6BAA+B,AAC/B,4BAA8B,AAC9B,0BAA6B,CAChC,AACD,eACI,oBAAuB,CAG1B,AACD,qBACI,eAAgB,AAChB,aAAe,CAElB,AACD,cACI,gBAAiB,AACjB,6BAAgC,CACnC,AACD,kBACI,WAAe,AACf,cAAgB,CACnB,AACD,gBACI,WAAe,AACf,cAAgB,CACnB,AACD,gBACI,cAAe,AACf,cAAgB,CACnB,AACD,UACI,iBAAkB,AAClB,gBAAiB,AACjB,mBAAqB,CACxB,AACD,mBACI,WAAe,AACf,cAAgB,CACnB,AACD,WACI,UAAgB,CACnB,AACD,MACI,yBAA6B,CAChC,AACD,MACI,kBAAoB,CACvB",file:"questionbanks.css",sourcesContent:[".yslquestionbank1{\n padding-top: 30px !important;\n padding-right: 30px !important;\n padding-left: 30px !important;\n min-height: 500px !important;\n}\n.yslquesHeigth{\n width: 100% !important;\n\n\n}\n.yslquesmarkdowntext{\n font-size: 16px;\n color: #707070;\n\n}\n.yslquesmat26{\n margin-top: 26px;\n padding-bottom: 33px !important;\n}\n.ysltextcolor9999{\n color: #999999;\n font-size: 14px;\n}\n.ysltextcolor66{\n color: #666666;\n font-size: 14px;\n}\n.ysltextcolor05{\n color: #05101A;\n font-size: 14px;\n}\n.ml47text{\n margin-left: 17px;\n margin-top: 33px;\n padding-bottom: 37px;\n}\n.ysltextcolor99999{\n color: #999999;\n font-size: 16px;\n}\n.yslahover {\n color: #999999 ;\n}\n.mt24{\n margin-top: 24px !important ;\n}\n.pd30{\n margin-bottom: 30px;\n}"],sourceRoot:""}])},2286:function(t,e,n){"use strict";var o=n(0),r=n.n(o),a=(n(5),n(1538)),i=(n.n(a),function(t,e,n){return e&&l(t.prototype,e),n&&l(t,n),t});function l(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var s=(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)}(c,o.Component),i(c,[{key:"componentDidMount",value:function(){console.log("Groupjobquesanswer"),console.log("componentDidMount")}},{key:"render",value:function(){var t=this.props,e=t.datas;return!0===t.bool?r.a.createElement("div",{className:"ml47text"},void 0===e?"":void 0===e.min_num||void 0===e.max_num?"":null===e.min_num||null===e.max_num?"":r.a.createElement("p",null,r.a.createElement("span",{className:"ysltextcolor66"},"分组要求:"),r.a.createElement("span",{className:"ysltextcolor05"},e&&e.min_num,"~ ",e&&e.max_num," 人(学生提交作品时需要关联同组成员,组内成员作品共享)")),void 0===e?"":void 0===e.base_on_project?"":!0===e.base_on_project?r.a.createElement("p",null,r.a.createElement("span",{className:"ysltextcolor66"},"基于项目实施"),r.a.createElement("span",{className:"ysltextcolor05"},"(学生必须在本平台创建项目,项目管理员可以提交作品)")):!1===e.base_on_project?r.a.createElement("p",null,r.a.createElement("span",{className:"ysltextcolor66"},"不基于项目"),r.a.createElement("span",{className:"ysltextcolor05"},"(无需在平台创建项目,任意小组成员均可以提交作品)")):""):r.a.createElement("div",{className:"ml47text"},void 0===e?"":void 0===e.group_info?"":void 0===e.group_info.min_number||void 0===e.group_info.max_number?"":null===e.group_info.min_number||null===e.group_info.max_number?"":r.a.createElement("p",null,r.a.createElement("span",{className:"ysltextcolor66"},"分组要求:"),r.a.createElement("span",{className:"ysltextcolor05"},e&&e.group_info&&e.group_info.min_number,"~ ",e&&e.group_info&&e.group_info.max_number," 人(学生提交作品时需要关联同组成员,组内成员作品共享)")),e&&e.group_info&&1===e.group_info.base_on_project?r.a.createElement("p",null,r.a.createElement("span",{className:"ysltextcolor66"},"基于项目实施"),r.a.createElement("span",{className:"ysltextcolor05"},"(学生必须在本平台创建项目,项目管理员可以提交作品)")):e&&e.group_info&&0===e.group_info.base_on_project?r.a.createElement("p",null,r.a.createElement("span",{className:"ysltextcolor66"},"不基于项目"),r.a.createElement("span",{className:"ysltextcolor05"},"(无需在平台创建项目,任意小组成员均可以提交作品)")):"")}}]),c);function c(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c);var e=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,t));return e.getTrainingjobsetting=function(){e.props.match.params.homeworkid},e.scrollToAnchor=function(t){if(t){var e=document.getElementById(t);e&&e.scrollIntoView()}},e.state={},e}e.a=s},4259:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),r=n.n(o),a=n(5),i=n(1538),l=(n.n(i),n(1657),n(339)),s=n(303),c=n(2286),p=function(t,e,n){return e&&u(t.prototype,e),n&&u(t,n),t};function u(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var m=(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)}(f,o.Component),p(f,[{key:"componentDidMount",value:function(){console.log("Groupjobbandetails"),console.log("componentDidMount")}},{key:"render",value:function(){var t=this.props.datas;return r.a.createElement("div",{className:" clearfix edu-back-white ",ref:"targetElementTrainingjobsetting",style:{margin:"auto",minWidth:"1200px"}},r.a.createElement("div",{className:"yslquestionbank1"},null===t.description?"":"null"===t.description?"":""===t.description?"":r.a.createElement(a.s,{content:t.description,selector:"work_content",className:"mb10 yslquesHeigth"}),void 0===t.attachments?void 0===t.description||null===t.description||""===t.description?r.a.createElement(s.a,null):"":""===t.attachments?void 0===t.description||null===t.description||""===t.description?r.a.createElement(s.a,null):"":null===t.attachments?void 0===t.description||null===t.description||""===t.description?r.a.createElement(s.a,null):"":0===t.attachments.length?void 0===t.description||null===t.description||""===t.description?r.a.createElement(s.a,null):"":r.a.createElement("div",{className:"mt24"},r.a.createElement(l.a,Object.assign({},this.state,this.props,{attachments:t.attachments}))),r.a.createElement(c.a,{datas:t,bool:!0})))}}]),f);function f(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f);var e=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(f.__proto__||Object.getPrototypeOf(f)).call(this,t));return e.getTrainingjobsetting=function(){e.props.match.params.homeworkid},e.scrollToAnchor=function(t){if(t){var e=document.getElementById(t);e&&e.scrollIntoView()}},e.state={},e}e.default=m}});