forked from jasder/forgeplus
237 lines
54 KiB
JavaScript
237 lines
54 KiB
JavaScript
webpackJsonp([200],{
|
||
|
||
/***/ 1078:
|
||
/***/ (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__(1326);
|
||
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;
|
||
|
||
|
||
/***/ }),
|
||
|
||
/***/ 1326:
|
||
/***/ (function(module, exports, __webpack_require__) {
|
||
|
||
exports = module.exports = __webpack_require__(299)(true);
|
||
// imports
|
||
|
||
|
||
// module
|
||
exports.push([module.i, ".polllisthover:hover{-webkit-box-shadow:0 2px 6px rgba(51,51,51,.09);box-shadow:0 2px 6px rgba(51,51,51,.09);opacity:1;border-radius:2px}.workList_Item{display:-ms-flexbox;display:flex;background-color:#fff;margin-bottom:20px;padding-top:10px}p span{cursor:default}.mt-5{margin-top:-5px}.bankNav li{float:left;margin-right:20px}.bankNav li:last-child{margin-right:0}.bankNav li.active a{color:#fff!important;background-color:#4cacff}.bankNav li a{display:block;padding:0 10px;height:28px;line-height:28px;background-color:#f5f5f5;border-radius:36px;color:#666!important}.task_menu_ul{width:600px}.task_menu_ul .ant-menu-item,.task_menu_ul .ant-menu-submenu-title{padding:0;margin-right:30px;line-height:68px;font-size:16px}.ant-menu{color:#05101a}.task_menu_ul .ant-menu-horizontal{border-bottom:none}.task_menu_ul .ant-menu-horizontal>.ant-menu-item:hover{border-bottom:2px solid transparent}.task_menu_ul .ant-menu-horizontal>.ant-menu-item-selected{border-bottom:2px solid #4cacff!important}.sourceTag a{display:block;float:left;background-color:#e5f3ff;padding:0 10px;height:24px;line-height:24px;color:#4e7a9b;margin:5px 0 5px 10px}.sourceTag a.active{color:#fff;background-color:#4cacff}", "", {"version":3,"sources":["/Users/jasder/work/trustie3.0/educoder/public/react/src/modules/courses/css/busyWork.css"],"names":[],"mappings":"AACA,qBACE,gDAAoD,AAC5C,wCAA4C,AACpD,UAAW,AACX,iBAAmB,CACpB,AAED,eAEE,oBAAqB,AACrB,aAAc,AACd,sBAAuB,AACvB,mBAAoB,AACpB,gBAAkB,CACnB,AACD,OACE,cAAgB,CACjB,AACD,MAAO,eAAgB,CAAC,AAIxB,YACE,WAAY,AACZ,iBAAmB,CACpB,AACD,uBACE,cAAkB,CACnB,AACD,qBACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,cACE,cAAe,AACf,eAAiB,AACjB,YAAa,AACb,iBAAkB,AAClB,yBAA0B,AAC1B,mBAAoB,AACpB,oBAAyB,CAC1B,AAID,cACE,WAAa,CACd,AAED,mEACE,UAAY,AACZ,kBAAmB,AACnB,iBAAkB,AAClB,cAAgB,CACjB,AACD,UACE,aAAe,CAChB,AACD,mCACE,kBAAoB,CACrB,AACD,wDACE,mCAAoC,CACrC,AACD,2DACE,yCAA4C,CAC7C,AAED,aACE,cAAe,AACf,WAAY,AACZ,yBAAyB,AACzB,eAAkB,AAClB,YAAa,AACb,iBAAkB,AAClB,cAAe,AACf,qBAAwB,CACzB,AACD,oBACE,WAAe,wBAAyB,CACzC","file":"busyWork.css","sourcesContent":["\n.polllisthover:hover {\n -webkit-box-shadow: 0px 2px 6px rgba(51,51,51,0.09);\n box-shadow: 0px 2px 6px rgba(51,51,51,0.09);\n opacity: 1;\n border-radius: 2px;\n}\n\n.workList_Item{\n /* padding:20px 30px; */\n display: -ms-flexbox;\n display: flex;\n background-color: #fff;\n margin-bottom: 20px;\n padding-top: 10px;\n}\np span{\n cursor: default;\n}\n.mt-5{ margin-top:-5px;}\n\n\n/* <20><><EFBFBD>ѡ<EFBFBD><D1A1>tab */\n.bankNav li{\n float: left;\n margin-right: 20px;\n}\n.bankNav li:last-child{\n margin-right: 0px;\n}\n.bankNav li.active a{\n color: #fff!important;\n background-color: #4CACFF;\n}\n.bankNav li a{\n display: block;\n padding:0px 10px;\n height: 28px;\n line-height: 28px;\n background-color: #F5F5F5;\n border-radius: 36px;\n color: #666666!important;\n}\n\n\n\n.task_menu_ul{\n width: 600px;\n}\n\n.task_menu_ul .ant-menu-item,.task_menu_ul .ant-menu-submenu-title{\n padding:0px;\n margin-right: 30px;\n line-height: 68px;\n font-size: 16px;\n}\n.ant-menu{\n color: #05101a;\n}\n.task_menu_ul .ant-menu-horizontal{\n border-bottom: none;\n}\n.task_menu_ul .ant-menu-horizontal > .ant-menu-item:hover{\n border-bottom:2px solid transparent;\n}\n.task_menu_ul .ant-menu-horizontal > .ant-menu-item-selected{\n border-bottom: 2px solid #4CACFF !important;\n}\n\n.sourceTag a{\n display: block;\n float: left;\n background-color:#E5F3FF;\n padding: 0px 10px;\n height: 24px;\n line-height: 24px;\n color: #4E7A9B;\n margin:5px 0px 5px 10px;\n}\n.sourceTag a.active{\n color: #FFFFFF;background-color:#4CACFF; \n}\n\n"],"sourceRoot":""}]);
|
||
|
||
// exports
|
||
|
||
|
||
/***/ }),
|
||
|
||
/***/ 1327:
|
||
/***/ (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__(1349);
|
||
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;
|
||
|
||
|
||
/***/ }),
|
||
|
||
/***/ 1349:
|
||
/***/ (function(module, exports, __webpack_require__) {
|
||
|
||
exports = module.exports = __webpack_require__(299)(true);
|
||
// imports
|
||
|
||
|
||
// module
|
||
exports.push([module.i, ".courseForm .formBlock{padding:20px 30px 30px;border-bottom:1px solid #ededed;margin-bottom:0;background:#fff}.courseForm .noBorder{border-bottom:none}.edu-class-container{width:1200px;margin:10px auto 20px}.courseForm .ant-form-item-label{margin-left:-10px}.courseForm .notRequired .ant-form-item-label{margin-left:0}.courseForm .ant-input:focus{border-color:#40a9ff}@media (min-width:576px){.courseForm .ant-col-sm-24{text-align:left}}.ant-form-item-control-wrapper.ant-col-xs-24.ant-col-sm-24{margin-left:2px}.errorInline.ant-form-item{margin-bottom:8px}.errorInline .ant-form-item-children input{width:auto}.errorInline .ant-form-explain{display:inline;margin-left:10px}.setemailposition{position:absolute;right:40px;top:10px}", "", {"version":3,"sources":["/Users/jasder/work/trustie3.0/educoder/public/react/src/modules/courses/common/formCommon.css"],"names":[],"mappings":"AAAA,uBACE,uBAA6B,AAC7B,gCAAiC,AACjC,gBAAmB,AACnB,eAAiB,CAClB,AACD,sBACE,kBAAoB,CACrB,AAGD,qBACE,aAAc,AACd,qBAAuB,CACxB,AAGD,iCACE,iBAAmB,CACpB,AACD,8CACE,aAAiB,CAClB,AAID,6BACE,oBAAsB,CACvB,AACD,yBACE,2BACE,eAAiB,CAClB,CACF,AACD,2DACE,eAAiB,CAClB,AAID,2BACE,iBAAmB,CACpB,AAED,2CACE,UAAW,CACZ,AACD,+BACE,eAAgB,AAChB,gBAAkB,CACnB,AAGD,kBACI,kBAAmB,AACnB,WAAY,AACZ,QAAU,CACb","file":"formCommon.css","sourcesContent":[".courseForm .formBlock {\r\n padding: 20px 30px 30px 30px;\r\n border-bottom: 1px solid #EDEDED;\r\n margin-bottom: 0px;\r\n background: #fff;\r\n}\r\n.courseForm .noBorder {\r\n border-bottom: none;\r\n}\r\n\r\n/* common */\r\n.edu-class-container {\r\n width: 1200px;\r\n margin: 10px auto 20px;\r\n}\r\n\r\n/* 小红点 */\r\n.courseForm .ant-form-item-label {\r\n margin-left: -10px;\r\n}\r\n.courseForm .notRequired .ant-form-item-label {\r\n margin-left: 0px;\r\n}\r\n\r\n\r\n/* 不知道被哪个样式影响,这里需要重置 */\r\n.courseForm .ant-input:focus {\r\n border-color: #40a9ff;\r\n}\r\n@media (min-width: 576px) {\r\n .courseForm .ant-col-sm-24 {\r\n text-align: left;\r\n }\r\n}\r\n.ant-form-item-control-wrapper.ant-col-xs-24.ant-col-sm-24 {\r\n margin-left: 2px;\r\n}\r\n\r\n\r\n/* errorInline ----------- */\r\n.errorInline.ant-form-item {\r\n margin-bottom: 8px;\r\n}\r\n/* 这里需要指定form组件的宽度 style={{ width: 270 }} */ \r\n.errorInline .ant-form-item-children input {\r\n width: auto\r\n}\r\n.errorInline .ant-form-explain {\r\n display: inline;\r\n margin-left: 10px;\r\n}\r\n/* errorInline ----------- */\r\n\r\n.setemailposition{\r\n position: absolute;\r\n right: 40px;\r\n top: 10px;\r\n}"],"sourceRoot":""}]);
|
||
|
||
// exports
|
||
|
||
|
||
/***/ }),
|
||
|
||
/***/ 1358:
|
||
/***/ (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__(1435);
|
||
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;
|
||
|
||
|
||
/***/ }),
|
||
|
||
/***/ 1435:
|
||
/***/ (function(module, exports, __webpack_require__) {
|
||
|
||
exports = module.exports = __webpack_require__(299)(true);
|
||
// imports
|
||
|
||
|
||
// module
|
||
exports.push([module.i, ".ant-form{color:#05101a}.ant-checkbox-disabled+span,.ant-radio-disabled+span{color:#666!important;cursor:default}.ant-radio-wrapper{color:#666!important}.ant-checkbox-wrapper+.ant-checkbox-wrapper{margin-left:0!important}.ant-select-selection,.ant-select-selection-selected-value{min-height:40px;min-line-height:40px}.ml61{margin-left:61px}.w64{width:64px}.w55{width:55px!important}.max1010{width:1010px!important;max-width:1010px!important}.yw18{min-width:18px}.chooseAnswer{display:inline-block;width:68px;text-align:center;height:24px;line-height:24px;background:#ededed;color:#666;margin-left:10px;border-radius:12px}.problemShow{padding:30px;border-bottom:1px solid #eee}.problemShow:last-child{border-bottom:none}.invite-tipysls{position:absolute;top:-8px;right:140px;color:#fff;-webkit-box-sizing:border-box;box-sizing:border-box;width:170px;text-align:center;border-radius:2px;background-color:rgba(5,16,26,.6)}.yslinvitetip{display:block;right:-16px}.right-black-trangle,.yslinvitetip{border-width:8px;position:absolute;top:10px;border-style:dashed solid dashed dashed;border-color:transparent transparent transparent rgba(5,16,26,.6);font-size:0;line-height:0}.right-black-trangle{left:-16px}.right-black-trangles{top:10px;left:-16px;border-color:transparent rgba(5,16,26,.6) transparent transparent}.right-black-trangles,.top-black-trangle{border-width:8px;position:absolute;border-style:dashed solid dashed dashed;font-size:0;line-height:0}.top-black-trangle{top:-16px;right:4px;border-color:transparent transparent rgba(5,16,26,.6)}.invite-tipysl{color:#999;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;border-radius:2px;font-size:14px}.edu-position-hideysl li a:hover{background:#f1f1f1;color:#05101a}.to-back-left{width:0;height:0;margin-top:27px;border-right:15px solid #fafafa;border-top:10px solid transparent;border-bottom:10px solid transparent}.unlimit{height:24px;line-height:24px;padding:0 10px;border-radius:12px;cursor:pointer;border:1px solid #cdcdcd;color:#666}.unlimit.active{background-color:#4cacff;border:1px solid #4cacff;color:#fff}.edu-table tbody tr:last-child td,.edu-table thead th{border-bottom:none!important}.edu-table tbody tr:hover td{background-color:#fff!important}.countList p.countHeader{background-color:#f8f8f8;color:#666;height:38px;font-size:16px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;display:-webkit-flex}.countList p.countHeader ul{width:100%;padding:0 30px}.countList div.countBody span,.countList p.countHeader span{float:left}.countList div.countBody{margin:0 30px;border-bottom:1px solid #ebebeb;padding:12px 0}.countList div.countBody:last-child{border-bottom:none}.countList div.countBody span:first-child,.countList p.countHeader span:first-child{width:50%;text-align:left}.countList div.countBody span:nth-child(2),.countList p.countHeader span:nth-child(2){width:15%;text-align:center}.countList div.countBody span:nth-child(3),.countList p.countHeader span:nth-child(3){width:35%;text-align:left}.percentForm{width:330px;background:#f5f5f5;position:relative;margin-top:7px}.percentForm,.percentValue{height:11px;border-radius:6px}.percentValue{position:absolute;top:0;left:0;background:#29bd8b}.answerTxt{max-height:500px;background-color:#f2f9ff;width:100%;margin-top:10px;padding:10px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#4c4c4c}.otherTxt{border:none!important;border-bottom:1px solid #eee!important;background:transparent!important;-ms-flex:1 1;flex:1 1;height:20px!important;line-height:20px!important}.otherTxt.ant-input:focus,.otherTxt.ant-input:hover{border:none!important;border-bottom:1px solid #eee!important;background:#f8f8f8!important}.mustAnswer{padding:0 10px;border-radius:15px;height:22px;line-height:22px;background:#eaeaea;color:#999;font-size:14px}.previewList{border-bottom:1px solid #ebebeb}.previewList:last-child{border-bottom:none}.textLine{-ms-flex:1 1;flex:1 1;height:22px;border-bottom:1px solid #ebebeb}.answerList{margin-bottom:20px}.answerList,.answerList li{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.answerList li{padding:10px 30px;line-height:20px}.answerList li:hover{background:#f0f8ff}textarea:-moz-read-only{background:#f3f3f3}textarea:read-only{background:#f3f3f3}.ant-calendar-picker-input{height:40px}.questionsNo{position:relative;padding:30px;border-bottom:1px solid #ebebeb}.questionsfixed{position:fixed;padding:30px;z-index:12;top:60px;width:1200px;background:#fff}.answered,.answerFalse,.answerHalf,.answerTure,.unanswer{position:relative}.answered:after{border-radius:50%;background:#cbcbcb}.answered:after,.unanswer:after{position:absolute;right:35px;top:4px;width:12px;height:12px;content:\"\"}.unanswer:after{border-radius:50%;background:#fff;border:1px solid #cbcbcb}.answerTure:after{background:#29bd8b}.answerFalse:after,.answerTure:after{position:absolute;right:35px;top:4px;width:20px;height:10px;border-radius:5px;content:\"\"}.answerFalse:after{background:#ff3756}.color-red{color:#ff3756!important}.answerHalf:after{position:absolute;left:-25px;top:4px;width:20px;height:10px;border-radius:5px;background:#ff6800;content:\"\"}.leaderMainNav,.leaderNav{margin-top:20px}.leaderMainNav a,.leaderNav a{display:block;float:left;margin-right:10px;border-radius:50%;border:1px solid #cbcbcb;height:40px;line-height:40px;width:40px;text-align:center;color:#999;cursor:pointer;margin-bottom:5px}.leaderMainNav a{background:#ff3756;color:#fff;border:1px solid #ff3756}.leaderNav a.acted{background:#cbcbcb;color:#fff}.leaderMainNav a.acted{background-color:#29bd8b;color:#fff;border:1px solid #29bd8b}.leaderMainNav a.half{background-color:#ff6800;color:#fff;border:1px solid #ff6800}.pollForm .ant-form-item-control{line-height:20px}.pollForm.ant-form-item{margin-bottom:0}.setInfo .ant-select-selection__rendered{line-height:40px}.ant-select-dropdown-menu .ant-select-dropdown-menu-item{padding:5px 15px}.ant-select-dropdown.ant-select-dropdown--multiple .ant-select-dropdown-menu-item .ant-select-selected-icon{right:15px}.noticeTip{border:1px solid red;border-radius:5px}.pollResultList .ant-table-tbody>tr>td,.pollResultList .ant-table-thead>tr>th{padding:15px 6px}.setScoreInput{width:60px!important;height:30px!important;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center!important;background:#f8f8f8;color:#666}.setScoreInput:focus{background:#fff;color:#ff6800}.standardAnswer p{line-height:20px!important}.remainingTime li{width:40px;background-color:#111c24;color:#fff;border-radius:4px}.remainingTime li,.remainingTime span{float:left;line-height:40px;text-align:center}.remainingTime span{width:20px}.myyslwidth{min-width:1200px}.zexercisetitle{font-size:16px;color:#333;min-width:95px}", "", {"version":3,"sources":["/Users/jasder/work/trustie3.0/educoder/public/react/src/modules/courses/poll/pollStyle.css"],"names":[],"mappings":"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","file":"pollStyle.css","sourcesContent":["/* 单选或多选 */\n.ant-form{\n color:#05101A;\n}\n.ant-radio-disabled + span,.ant-checkbox-disabled + span{\n color: #666!important;\n cursor: default\n}\n.ant-radio-wrapper {\n color: #666!important;\n}\n.ant-checkbox-wrapper + .ant-checkbox-wrapper{\n margin-left: 0px!important;\n}\n/* 下拉 */\n.ant-select-selection,.ant-select-selection-selected-value{\n min-height: 40px;\n min-line-height: 40px;\n}\n.ml61{\n margin-left: 61px;\n}\n.w64{\n width: 64px;\n}\n.w55{\n width: 55px!important;\n}\n.max1010{\n width: 1010px !important;\n max-width: 1010px !important;\n}\n.yw18{\n min-width: 18px;\n}\n/* 选答 */\n.chooseAnswer{\n display: inline-block;\n width: 68px;\n text-align: center;\n height: 24px;\n line-height: 24px;\n background: #EDEDED;\n color: #666;\n margin-left: 10px;\n border-radius: 12px;\n}\n\n.problemShow{\n padding:30px;\n border-bottom: 1px solid #eee;\n}\n.problemShow:last-child{\n border-bottom: none;\n}\n.invite-tipysls{position: absolute;top: -8px;right: 140px;color: #fff; -webkit-box-sizing: border-box; box-sizing: border-box;width: 170px;text-align: center;border-radius: 2px;background-color: rgba(5,16,26,0.6)}\n.yslinvitetip{display: block;border-width: 8px;position: absolute;top: 10px;right: -16px;border-style: dashed solid dashed dashed;border-color: transparent transparent transparent rgba(5,16,26,0.6);font-size: 0;line-height: 0;}\n.right-black-trangle{border-width: 8px;position: absolute;top: 10px;left: -16px;border-style: dashed solid dashed dashed;border-color: transparent transparent transparent rgba(5,16,26,0.6);font-size: 0;line-height: 0;}\n.right-black-trangles{border-width: 8px;position: absolute;top: 10px;left: -16px;border-style: dashed solid dashed dashed;border-color: transparent rgba(5,16,26,0.6) transparent transparent;font-size: 0;line-height: 0;}\n.top-black-trangle{border-width: 8px;position: absolute;top: -16px;right: 4px;border-style: dashed solid dashed dashed;border-color: transparent transparent rgba(5,16,26,0.6) transparent;font-size: 0;line-height: 0;}\n.invite-tipysl{color: #999999; -webkit-box-sizing: border-box; box-sizing: border-box;text-align: center;border-radius: 2px;font-size: 14px}\n.edu-position-hideysl li a:hover{ background:#F1F1F1; color:#05101A;}\n.to-back-left {\n width: 0;\n height: 0;\n margin-top: 27px;\n border-right: 15px solid #FAFAFA;\n border-top: 10px solid transparent;\n border-bottom: 10px solid transparent;\n}\n/* 问卷详情 */\n/* 答题列表 */\n.unlimit{\n height: 24px;\n line-height: 24px;\n padding:0px 10px;\n border-radius: 12px;\n cursor: pointer;\n border:1px solid #cdcdcd;\n color:#666;\n}\n.unlimit.active{\n background-color: #4CACFF;\n border:1px solid #4CACFF;\n color: #fff;\n}\n.edu-table thead th,.edu-table tbody tr:last-child td{\n border-bottom: none!important;\n}\n.edu-table tbody tr:hover td{\n background-color: #fff!important;\n}\n/* 统计结果 */\n.countList p.countHeader{\n background-color: #f8f8f8;\n color: #666;\n height: 38px;\n font-size: 16px;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n display: -webkit-flex;\n}\n.countList p.countHeader ul{\n width: 100%;\n padding:0px 30px\n}\n.countList p.countHeader span,.countList div.countBody span{\n float: left;\n}\n.countList div.countBody{\n margin:0px 30px;\n border-bottom:1px solid #EBEBEB;\n padding:12px 0px;\n}\n.countList div.countBody:last-child{\n border-bottom: none;\n}\n.countList p.countHeader span:nth-child(1),.countList div.countBody span:nth-child(1){\n width: 50%;\n text-align: left;\n}\n.countList p.countHeader span:nth-child(2),.countList div.countBody span:nth-child(2){\n width:15%;\n text-align: center;\n}\n.countList p.countHeader span:nth-child(3),.countList div.countBody span:nth-child(3){\n width:35%;\n text-align: left;\n}\n.percentForm{\n width: 330px;\n height: 11px;\n background: #F5F5F5;\n border-radius: 6px;\n position: relative;\n margin-top: 7px;\n}\n.percentValue{\n position: absolute;\n top:0px;\n left: 0px;\n height: 11px;\n background: #29BD8B;\n border-radius: 6px;\n}\n.answerTxt{\n max-height: 500px;\n background-color: #F2F9FF;\n width: 100%;\n margin-top: 10px;\n padding:10px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #4c4c4c;\n}\n.otherTxt{\n border:none!important;\n border-bottom: 1px solid #eee!important;\n background: transparent!important;\n -ms-flex:1 1;\n flex:1 1;\n height: 20px!important;\n line-height: 20px!important;\n}\n.otherTxt.ant-input:hover,.otherTxt.ant-input:focus{\n border:none!important;\n border-bottom: 1px solid #eee!important;\n background: #F8F8F8!important;\n}\n\n/* 必答 */\n.mustAnswer{\n padding:0px 10px;\n border-radius: 15px;\n height: 22px;\n line-height: 22px;\n background: #eaeaea;\n color: #999;\n font-size: 14px;\n}\n/* 问卷内容 */\n.previewList{\n border-bottom: 1px solid #ebebeb;\n}\n.previewList:last-child{\n border-bottom:none;\n}\n.textLine{\n -ms-flex: 1 1;\n flex: 1 1;\n height:22px;\n border-bottom: 1px solid #ebebeb;\n}\n.answerList{\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n width: 100%;\n margin-bottom: 20px;\n}\n.answerList li{\n padding:10px 30px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n line-height:20px;\n width: 100%;\n}\n.answerList li:hover{\n background: #F0F8FF;\n}\ntextarea:-moz-read-only{\n background: #f3f3f3;\n}\ntextarea:read-only{\n background: #f3f3f3;\n}\n.ant-calendar-picker-input{\n height: 40px;\n}\n\n/* 问卷答题 */\n.questionsNo{\n position: relative;\n padding: 30px;\n border-bottom: 1px solid #ebebeb;\n}\n.questionsfixed{\n position: fixed;\n padding: 30px;\n z-index: 12;\n top: 60px;\n width: 1200px;\n background: #fff;\n}\n.answered,.unanswer,.answerTure,.answerFalse,.answerHalf{\n position: relative;\n}\n.answered::after{\n position: absolute;\n right:35px;\n top:4px;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: #CBCBCB;\n content: \"\";\n}\n.unanswer::after{\n position: absolute;\n right:35px;\n top:4px;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: #fff;\n content: \"\";\n border:1px solid rgba(203,203,203,1);\n}\n.answerTure::after{\n position: absolute;\n right:35px;\n top:4px;\n width: 20px;\n height: 10px;\n border-radius: 5px;\n background: #29BD8B;\n content: \"\";\n}\n.answerFalse::after{\n position: absolute;\n right:35px;\n top:4px;\n width: 20px;\n height: 10px;\n border-radius: 5px;\n background: #FF3756;\n content: \"\";\n}\n.color-red{color: #FF3756!important}\n.answerHalf::after{\n position: absolute;\n left:-25px;\n top:4px;\n width: 20px;\n height: 10px;\n border-radius: 5px;\n background: #FF6800;\n content: \"\";\n}\n.leaderNav,.leaderMainNav{\n margin-top: 20px;\n}\n.leaderNav a,.leaderMainNav a{\n display: block;\n float: left;\n margin-right: 10px;\n border-radius: 50%;\n border:1px solid #CBCBCB;\n height: 40px;\n line-height: 40px;\n width: 40px;\n text-align: center;\n color: #999999;\n cursor: pointer;\n margin-bottom: 5px;\n}\n.leaderMainNav a{\n background: #FF3756;\n color: #fff;\n border:1px solid #FF3756;\n}\n.leaderNav a.acted{\n background:rgba(203,203,203,1);\n color: #fff;\n}\n.leaderMainNav a.acted{\n background-color: #29BD8B;\n color: #fff;\n border:1px solid #29BD8B;\n}\n.leaderMainNav a.half{\n background-color: #FF6800;\n color: #fff;\n border:1px solid #FF6800;\n}\n\n/* 问卷设置 */\n.pollForm .ant-form-item-control{\n line-height: 20px;\n}\n.pollForm.ant-form-item{\n margin-bottom: 0px\n}\n.setInfo .ant-select-selection__rendered{\n line-height: 40px;\n}\n\n/* 下拉搜索框 */\n.ant-select-dropdown-menu .ant-select-dropdown-menu-item{\n padding:5px 15px;\n}\n.ant-select-dropdown.ant-select-dropdown--multiple .ant-select-dropdown-menu-item .ant-select-selected-icon{\n right: 15px;\n}\n\n.noticeTip{\n border:1px solid #FF0000;\n border-radius: 5px;\n}\n.pollResultList .ant-table-thead > tr > th,.pollResultList .ant-table-tbody > tr > td{\n padding:15px 6px;\n}\n/* 试卷 */\n.setScoreInput{\n width: 60px!important;height: 30px!important;-webkit-box-sizing: border-box;box-sizing: border-box;\n text-align: center!important;\n background: #F8F8F8;\n color:#666;\n}\n.setScoreInput:focus{\n background: #fff;\n color:#FF6800\n}\n.standardAnswer p{\n line-height: 20px!important;\n}\n/* 倒计时 */\n.remainingTime li{\n float: left;\n width: 40px;\n line-height: 40px;\n background-color: #111C24;\n color: #fff;\n border-radius: 4px;\n text-align: center\n}\n.remainingTime span{\n float: left;\n width: 20px;\n line-height: 40px;\n text-align: center;\n}\n.myyslwidth {\n min-width:1200px\n}\n\n.zexercisetitle {\n font-size: 16px;\n color: rgba(51, 51, 51, 1);\n min-width: 95px;\n}\n"],"sourceRoot":""}]);
|
||
|
||
// exports
|
||
|
||
|
||
/***/ }),
|
||
|
||
/***/ 1882:
|
||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
||
"use strict";
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_modal_style_css__ = __webpack_require__(27);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_modal_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_antd_lib_modal_style_css__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_modal__ = __webpack_require__(28);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_modal___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_antd_lib_modal__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_antd_lib_radio_style_css__ = __webpack_require__(178);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_antd_lib_radio_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_antd_lib_radio_style_css__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_antd_lib_radio__ = __webpack_require__(176);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_antd_lib_radio___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_antd_lib_radio__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_antd_lib_input_style_css__ = __webpack_require__(57);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_antd_lib_input_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_antd_lib_input_style_css__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_antd_lib_input__ = __webpack_require__(58);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_antd_lib_input___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_antd_lib_input__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react__ = __webpack_require__(0);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_react__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_axios__ = __webpack_require__(8);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_axios__);
|
||
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 Search=__WEBPACK_IMPORTED_MODULE_5_antd_lib_input___default.a.Search;var SendTopics=function(_Component){_inherits(SendTopics,_Component);function SendTopics(props){_classCallCheck(this,SendTopics);var _this=_possibleConstructorReturn(this,(SendTopics.__proto__||Object.getPrototypeOf(SendTopics)).call(this,props));_this.onupdatalist=function(search){var url="/question_banks/my_courses.json";__WEBPACK_IMPORTED_MODULE_7_axios___default.a.get(url,{params:{search:search}}).then(function(result){_this.setState({courses:result.data.courses});}).catch(function(error){console.log(error);});};_this.onSearchChange=function(e){_this.setState({search:e.target.value});// this.onupdatalist(e.target.value)
|
||
};_this.onSearch=function(search){_this.onupdatalist(search);};_this.onChange=function(e){console.log("SendTopics");console.log(e);_this.setState({Radiolist:e.target.value});};_this.submitInfo=function(){_this.setState({smallisSpin:true});var Radiolist=_this.state.Radiolist;var url="/question_banks/send_to_course.json";var object_id=_this.props.checkBoxValues;var object_type=_this.props.category;if(Radiolist===undefined){_this.setState({showcheck:true,smallisSpin:false});}else{__WEBPACK_IMPORTED_MODULE_7_axios___default.a.post(url,{object_id:object_id,object_type:object_type,course_id:Radiolist}).then(function(result){_this.setState({smallisSpin:false});if(result.data.status===0){_this.props.showNotification(result.data.message);_this.props.topicscancelmodel();// result.data.task_ids;
|
||
try{_this.props.updataslist();}catch(e){}debugger;if(_this.props.mysendall===true){//详情页面跳过来的
|
||
try{var rurls="";if(_this.state.yslbanksMenu.category==="normal"){//普通作业
|
||
rurls="/courses/"+_this.state.Radiolist+"/common_homeworks/"+result.data.task_ids+"/setting";}else if(_this.state.yslbanksMenu.category==="group"){//分组作业
|
||
rurls="/courses/"+_this.state.Radiolist+"/group_homeworks/"+result.data.task_ids+"/setting";}else if(_this.state.yslbanksMenu.category==="exercise"){// 试卷
|
||
rurls="/courses/"+_this.state.Radiolist+"/exercises/"+result.data.task_ids+"/student_exercise_list?tab=3";}else if(_this.state.yslbanksMenu.category==="poll"){//问卷
|
||
rurls="/courses/"+_this.state.Radiolist+"/polls/"+result.data.task_ids+"/detail?tab=3";}window.open(rurls,'_blank');}catch(e){}}else{//外部多个列表页跳过来的
|
||
debugger;try{var rurls="";if(_this.props.category==="normal"){//普通作业
|
||
rurls="/courses/"+_this.state.Radiolist+"/common_homeworks/"+result.data.category_id;}else if(_this.props.category==="group"){//分组作业
|
||
rurls="/courses/"+_this.state.Radiolist+"/group_homeworks/"+result.data.category_id;}else if(_this.props.category==="exercise"){// 试卷
|
||
rurls="/courses/"+_this.state.Radiolist+"/exercises/"+result.data.category_id;}else if(_this.props.category==="poll"){//问卷
|
||
rurls="/courses/"+_this.state.Radiolist+"/polls/"+result.data.category_id;}window.open(rurls,'_blank');}catch(e){console.log(e);}}}else{_this.props.showNotification(result.data.message);}}).catch(function(error){console.log(error);_this.setState({smallisSpin:false});});}};_this.state={courses:[],search:null,Radiolist:undefined,showcheck:false,smallisSpin:false,yslbanksMenu:undefined};return _this;}_createClass(SendTopics,[{key:"componentDidMount",value:function componentDidMount(){// console.log("SendTopicssssssssssss");
|
||
// console.log(this.props);
|
||
var search=this.state.search;this.onupdatalist(search);this.setState({yslbanksMenu:this.props.banksMenu});}},{key:"render",value:function render(){var _this2=this;var _state=this.state,courses=_state.courses,Radiolist=_state.Radiolist,showcheck=_state.showcheck,smallisSpin=_state.smallisSpin;var radioStyle={display:'block',height:'30px',lineHeight:'30px'};return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("div",null,__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("style",null,"\n\t\t\t\t\t\t.ant-modal-body{\n\t\t\t\t\t\t padding:20px 40px;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t.onSearchtopics input{\n\t\t\t\t\t\t height:40px;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t.over221{\n\t\t\t\t\t\t height:221px;\n\t\t\t\t\t\t overflow-y: auto;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t"),__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_modal___default.a,{keyboard:false,title:"\u53D1\u9001\u81F3\u8BFE\u5802",visible:this.props.visible,closable:false,footer:null,destroyOnClose:true,width:600},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("div",{className:"newupload_conbox"},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("div",{className:"mb15 font-14 edu-txt-center color-orange-tip"},"\u6E29\u99A8\u63D0\u793A\uFF1A\u9009\u62E9\u7684\u9898\u5C06\u4F1A\u53D1\u9001\u5230\u6307\u5B9A\u8BFE\u5802"),__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("div",{className:"mb5"// onMouseLeave={this.closeList}
|
||
},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(Search,{className:"mb14 onSearchtopics",placeholder:"\u8BF7\u8F93\u5165\u8BFE\u5802\u540D\u79F0\u8FDB\u884C\u641C\u7D22",onChange:this.onSearchChange,onSearch:this.onSearch})),__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("div",{className:"edu-back-skyblue pl15 pr15 clearfix over221 pt5"},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_3_antd_lib_radio___default.a.Group,{onChange:this.onChange,value:Radiolist},courses&&courses.map(function(item,key){return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("div",{className:"mt5",key:key},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_3_antd_lib_radio___default.a,{style:radioStyle,value:item.course_id,key:item.course_id},item.course_name));}))),showcheck===true?__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("div",{className:"color-red mt10"},"\u8BF7\u5148\u9009\u62E9\u8BFE\u5802"):"",__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("div",{className:"mt20 clearfix edu-txt-center"},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("a",{onClick:function onClick(){return _this2.props.topicscancelmodel();},className:"pop_close task-btn mr30 "},"\u53D6\u6D88"),__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("a",{className:"task-btn task-btn-orange",onClick:function onClick(){return _this2.submitInfo();}},"\u786E\u5B9A")))));}}]);return SendTopics;}(__WEBPACK_IMPORTED_MODULE_6_react__["Component"]);/* harmony default export */ __webpack_exports__["a"] = (SendTopics);
|
||
|
||
/***/ }),
|
||
|
||
/***/ 2255:
|
||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
||
"use strict";
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_menu_style_css__ = __webpack_require__(970);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_menu_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_antd_lib_menu_style_css__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_menu__ = __webpack_require__(915);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_menu___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_antd_lib_menu__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_router_dom__ = __webpack_require__(48);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_educoder__ = __webpack_require__(5);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__usersInfo_css__ = __webpack_require__(1596);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__usersInfo_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__usersInfo_css__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__courses_css_Courses_css__ = __webpack_require__(312);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__courses_css_Courses_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__courses_css_Courses_css__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__courses_css_busyWork_css__ = __webpack_require__(1078);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__courses_css_busyWork_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7__courses_css_busyWork_css__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__modals_SendTopics__ = __webpack_require__(1882);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__modals_Modals__ = __webpack_require__(175);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_axios__ = __webpack_require__(8);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_axios__);
|
||
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 BanksMenu=function(_Component){_inherits(BanksMenu,_Component);function BanksMenu(props){_classCallCheck(this,BanksMenu);var _this=_possibleConstructorReturn(this,(BanksMenu.__proto__||Object.getPrototypeOf(BanksMenu)).call(this,props));_this.sendTopics=function(){_this.setState({visible:true});};_this.topicscancelmodel=function(){_this.setState({Modalstype:false,Loadtype:false,visible:false,Modalstopval:"",ModalCancel:"",ModalSave:"",checkBoxValues:[],checkedtype:false});};_this.deletecheckBoxValues=function(id,type){_this.setState({Modalstype:true,Modalstopval:"是否确认删除?",ModalCancel:_this.topicscancelmodel,ModalSave:function ModalSave(){return _this.topicssavedelete(id,type);}});};_this.topicssavedelete=function(id,type){// console.log("删除了");
|
||
// console.log(id);
|
||
// console.log(type);
|
||
var url='/question_banks/multi_delete.json';__WEBPACK_IMPORTED_MODULE_10_axios___default.a.delete(url,{data:{object_id:[id],object_type:type}}).then(function(response){if(response){if(response.data){if(response.data.status===0){_this.props.showNotification(response.data.message);window.location.href='/users/'+_this.props.current_user.login+'/topics/personal';}else{_this.props.showNotification(response.data.message);}}}}).catch(function(error){console.log(error);});_this.topicscancelmodel();};_this.changeTab=function(e){_this.setState({tab:e.key});console.log(e.key);// if(e.key === 0){
|
||
//
|
||
// }else{
|
||
//
|
||
//
|
||
// }
|
||
};_this.state={visible:false,tab:['0']};return _this;}//发送至相关
|
||
_createClass(BanksMenu,[{key:'componentDidMount',value:function componentDidMount(){// var thestring=this.props;
|
||
// var yslarr=thestring.split("/");
|
||
// console.log(yslarr);
|
||
try{var query=this.props.location.search;var type=query.split('?tab=');if(type[1]===undefined){this.setState({tab:['0']});}else{if(type[1]==="0"){this.setState({tab:['0']});}else if(type[1]==="1"){this.setState({tab:['1']});}}}catch(e){this.setState({tab:['0']});}}//删除相关
|
||
},{key:'render',value:function render(){var _this2=this;var banksMenu=this.props.banksMenu;var _state=this.state,visible=_state.visible,tab=_state.tab;// console.log("问卷预览");
|
||
// console.log(visible);
|
||
var user_id=this.props.current_user&&this.props.current_user.user_id;var user_type=this.props.current_user&&this.props.current_user.user_identity;var targetuserid=this.props.data&&this.props.data.id;// console.log("_____________________________");
|
||
// console.log(this.props);
|
||
// console.log("++++++++++++++++=");
|
||
// console.log("banksMenubanksMenubanksMenubanksMenu");
|
||
// console.log(banksMenu);
|
||
return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'clearfix bor-bottom-greyE edu-back-white',style:{padding:"0px 30px"}},this.state.Modalstype&&this.state.Modalstype===true?__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_9__modals_Modals__["a" /* default */],{modalsType:this.state.Modalstype,modalsTopval:this.state.Modalstopval,modalCancel:this.state.ModalCancel,modalSave:this.state.ModalSave,modalsBottomval:this.state.ModalsBottomval,loadtype:this.state.Loadtype}):"",visible&&visible===true?__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_8__modals_SendTopics__["a" /* default */],Object.assign({},this.state,this.props,{mysendall:true,visible:visible,category:banksMenu&&banksMenu.category,checkBoxValues:[banksMenu&&banksMenu.id],topicscancelmodel:function topicscancelmodel(){return _this2.topicscancelmodel();}})):"",banksMenu&&__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'task_menu_ul fl'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_menu___default.a,{mode:'horizontal',selectedKeys:tab,onClick:this.changeTab},banksMenu.menuArray&&banksMenu.menuArray.map(function(item,key){// console.log("BanksMenussss");
|
||
// console.log(this.props);
|
||
// console.log(this.props.content);
|
||
return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_menu___default.a.Item,{key:key},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_3_react_router_dom__["b" /* Link */],{to:''+item.to},item.content));}))),banksMenu===undefined?__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',{className:'fr mt18'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4_educoder__["A" /* WordsBtn */],{onClick:function onClick(){return _this2.deletecheckBoxValues(banksMenu&&banksMenu.id,banksMenu&&banksMenu.category);},style:'blue',className:'ml20 font-16'},'\u5220\u9664'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4_educoder__["A" /* WordsBtn */],{to:banksMenu.tos?banksMenu.tos:"",style:'blue',className:'ml20 font-16'},'\u7F16\u8F91'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4_educoder__["A" /* WordsBtn */],{onClick:function onClick(){return _this2.sendTopics();},style:'blue',className:'ml20 font-16'},'\u53D1\u9001')):banksMenu.authorize===true?__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',{className:'fr mt18'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4_educoder__["A" /* WordsBtn */],{onClick:function onClick(){return _this2.deletecheckBoxValues(banksMenu&&banksMenu.id,banksMenu&&banksMenu.category);},style:'blue',className:'ml20 font-16'},'\u5220\u9664'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4_educoder__["A" /* WordsBtn */],{to:banksMenu.tos?banksMenu.tos:"",style:'blue',className:'ml20 font-16'},'\u7F16\u8F91'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4_educoder__["A" /* WordsBtn */],{onClick:function onClick(){return _this2.sendTopics();},style:'blue',className:'ml20 font-16'},'\u53D1\u9001')):__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',{className:'fr mt18'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4_educoder__["A" /* WordsBtn */],{onClick:function onClick(){return _this2.sendTopics();},style:'blue',className:'ml20 font-16'},'\u53D1\u9001')));}}]);return BanksMenu;}(__WEBPACK_IMPORTED_MODULE_2_react__["Component"]);/* harmony default export */ __webpack_exports__["a"] = (BanksMenu);
|
||
|
||
/***/ }),
|
||
|
||
/***/ 4846:
|
||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
||
"use strict";
|
||
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
||
/* 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_react_router_dom__ = __webpack_require__(48);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_educoder__ = __webpack_require__(5);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_axios__ = __webpack_require__(8);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_axios__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__user_usersInfo_banks_banksMenu__ = __webpack_require__(2255);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react_loadable__ = __webpack_require__(325);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react_loadable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_react_loadable__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__Loading__ = __webpack_require__(324);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__css_members_css__ = __webpack_require__(314);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__css_members_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7__css_members_css__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__common_formCommon_css__ = __webpack_require__(1327);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__common_formCommon_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8__common_formCommon_css__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__css_Courses_css__ = __webpack_require__(312);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__css_Courses_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9__css_Courses_css__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__css_busyWork_css__ = __webpack_require__(1078);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__css_busyWork_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10__css_busyWork_css__);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__poll_pollStyle_css__ = __webpack_require__(1358);
|
||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__poll_pollStyle_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_11__poll_pollStyle_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 Completetopicdetails=__WEBPACK_IMPORTED_MODULE_5_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(210).then(__webpack_require__.bind(null, 4847));},loading:__WEBPACK_IMPORTED_MODULE_6__Loading__["a" /* default */]});var CompletetopicdePage=function(_Component){_inherits(CompletetopicdePage,_Component);//毕设选题内容详情
|
||
function CompletetopicdePage(props){_classCallCheck(this,CompletetopicdePage);// this.answerMdRef = React.createRef();
|
||
var _this=_possibleConstructorReturn(this,(CompletetopicdePage.__proto__||Object.getPrototypeOf(CompletetopicdePage)).call(this,props));_this.getdata=function(workid){var workids=workid;if(workids){}else{workids=_this.state.workid;}_this.setState({isSpin:true});var url='/gtopic_banks/'+workids+'.json';//
|
||
__WEBPACK_IMPORTED_MODULE_3_axios___default.a.get(url).then(function(response){if(response){if(response.data){_this.setState({datas:response.data});try{var crumbData={title:response&&response.data&&response.data.name,is_public:response&&response.data&&response.data.is_public,crumbArray:[{content:'详情'}]};var menuData={tab:'0',//tab选中的index
|
||
menuArray:[//tab以及tab路由
|
||
{to:'/banks/gtopic/'+workids+'/'+_this.props.match.params.type+'?tab=0',content:'内容详情'}],category:'gtopic',//毕设选题
|
||
tos:'/banks/gtopic/'+workids+'/edit/'+_this.props.match.params.type+'?tab=0',id:workids,is_public:response&&response.data&&response.data.is_public,type:_this.props.match.params.type,authorize:response&&response.data&&response.data.authorize};_this.setState({banksMenu:menuData});_this.props.initPublic(crumbData,response.data);}catch(e){}}else{_this.setState({datas:[]});}}else{_this.setState({datas:[]});}_this.setState({isSpin:false});}).catch(function(error){console.log(error);_this.setState({datas:[],isSpin:false});});};_this.state={workid:1,isSpin:false,datas:[],visible:false,banksMenu:undefined};return _this;}_createClass(CompletetopicdePage,[{key:'componentDidMount',value:function componentDidMount(){if(this.props.match.params.workid){this.setState({workid:this.props.match.params.workid});}this.getdata(this.props.match.params.workid);}//获取数据的地方
|
||
},{key:'render',value:function render(){var _this2=this;var _state=this.state,tab=_state.tab,datas=_state.datas,visible=_state.visible;var banksMenu=this.state.banksMenu;//
|
||
// const common={
|
||
// initPublic:this.initPublic,
|
||
// }
|
||
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_0_react___default.a.Fragment,null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'pd30'},banksMenu&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__user_usersInfo_banks_banksMenu__["a" /* default */],Object.assign({banksMenu:banksMenu},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["f" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/banks/gtopic/:workid/'+this.props.match.params.type,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Completetopicdetails,Object.assign({},_this2.props,props,_this2.state,{datas:datas}));}}))));}}]);return CompletetopicdePage;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (CompletetopicdePage);
|
||
|
||
/***/ })
|
||
|
||
}); |