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
10 KiB
1 line
10 KiB
webpackJsonp([168],{1538:function(e,t,n){var o=n(1658);"string"==typeof o&&(o=[[e.i,o,""]]);var r={hmr:!1,transform:void 0};n(289)(o,r);o.locals&&(e.exports=o.locals)},1657:function(e,t,n){"use strict";var o=n(0),r=n.n(o),a=(n(5),n(1538)),l=(n.n(a),function(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e});function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.DownloadOpenPdf=function(e,t){!0===e?window.open(t):window.location.href=t},t.getTrainingjobsetting=function(){t.props.match.params.homeworkid},t.scrollToAnchor=function(e){if(e){var t=document.getElementById(e);t&&t.scrollIntoView()}},t.state={},t}(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)})(s,o.Component),l(s,[{key:"componentDidMount",value:function(){console.log("Groupjobquesanswer"),console.log("componentDidMount")}},{key:"render",value:function(){var e=this,t=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 e.DownloadOpenPdf(t.is_pdf,t.url)},title:t&&t.title,className:"mr12 yslahover overflowHidden1",length:"58",style:{maxWidth:"480px",fontSize:"16px"}},r.a.createElement("span",null,t&&t.title)),r.a.createElement("span",{className:"color656565 color-grey-6 font-12 mr8"},t&&t.filesize))}}])},1658:function(e,t,n){(e.exports=n(288)(!0)).push([e.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(e,t,n){"use strict";var o=n(0),r=n.n(o),a=(n(5),n(1538)),l=(n.n(a),function(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e});function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var s=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,o.Component),l(i,[{key:"componentDidMount",value:function(){console.log("Groupjobquesanswer"),console.log("componentDidMount")}},{key:"render",value:function(){var e=this.props,t=e.datas;return!0===e.bool?r.a.createElement("div",{className:"ml47text"},void 0===t?"":void 0===t.min_num||void 0===t.max_num?"":null===t.min_num||null===t.max_num?"":r.a.createElement("p",null,r.a.createElement("span",{className:"ysltextcolor66"},"分组要求:"),r.a.createElement("span",{className:"ysltextcolor05"},t&&t.min_num,"~ ",t&&t.max_num," 人(学生提交作品时需要关联同组成员,组内成员作品共享)")),void 0===t?"":void 0===t.base_on_project?"":!0===t.base_on_project?r.a.createElement("p",null,r.a.createElement("span",{className:"ysltextcolor66"},"基于项目实施"),r.a.createElement("span",{className:"ysltextcolor05"},"(学生必须在本平台创建项目,项目管理员可以提交作品)")):!1===t.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===t?"":void 0===t.group_info?"":void 0===t.group_info.min_number||void 0===t.group_info.max_number?"":null===t.group_info.min_number||null===t.group_info.max_number?"":r.a.createElement("p",null,r.a.createElement("span",{className:"ysltextcolor66"},"分组要求:"),r.a.createElement("span",{className:"ysltextcolor05"},t&&t.group_info&&t.group_info.min_number,"~ ",t&&t.group_info&&t.group_info.max_number," 人(学生提交作品时需要关联同组成员,组内成员作品共享)")),t&&t.group_info&&1===t.group_info.base_on_project?r.a.createElement("p",null,r.a.createElement("span",{className:"ysltextcolor66"},"基于项目实施"),r.a.createElement("span",{className:"ysltextcolor05"},"(学生必须在本平台创建项目,项目管理员可以提交作品)")):t&&t.group_info&&0===t.group_info.base_on_project?r.a.createElement("p",null,r.a.createElement("span",{className:"ysltextcolor66"},"不基于项目"),r.a.createElement("span",{className:"ysltextcolor05"},"(无需在平台创建项目,任意小组成员均可以提交作品)")):"")}}]),i);function i(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,e));return t.getTrainingjobsetting=function(){t.props.match.params.homeworkid},t.scrollToAnchor=function(e){if(e){var t=document.getElementById(e);t&&t.scrollIntoView()}},t.state={},t}t.a=s},4260:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n.n(o),a=n(5),l=n(339),c=(n(1657),n(2286),n(303)),s=n(1538),i=(n.n(s),function(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),e});function p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var u=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(m,o.Component),i(m,[{key:"componentDidMount",value:function(){console.log("Groupjobquesanswer"),console.log("componentDidMount")}},{key:"render",value:function(){var e=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===e.reference_answer?"":"null"===e.reference_answer?"":""===e.reference_answer?"":r.a.createElement(a.s,{content:e.reference_answer,selector:"work_content",className:"mb10 yslquesHeigth"}),void 0===e.reference_attachments?void 0===e.reference_answer||null===e.reference_answer||""===e.reference_answer?r.a.createElement(c.a,null):"":""===e.reference_attachments?void 0===e.reference_answer||null===e.reference_answer||""===e.reference_answer?r.a.createElement(c.a,null):"":null===e.reference_attachments?void 0===e.reference_answer||null===e.reference_answer||""===e.reference_answer?r.a.createElement(c.a,null):"":0===e.reference_attachments.length?void 0===e.reference_answer||null===e.reference_answer||""===e.reference_answer?r.a.createElement(c.a,null):"":r.a.createElement("div",{className:"mt24"},r.a.createElement(l.a,Object.assign({},this.state,this.props,{attachments:e.reference_attachments})))))}}]),m);function m(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,m);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,e));return t.getTrainingjobsetting=function(){t.props.match.params.homeworkid},t.scrollToAnchor=function(e){if(e){var t=document.getElementById(e);t&&t.scrollIntoView()}},t.state={},t}t.default=u}}); |