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
26 KiB
1 line
26 KiB
webpackJsonp([172],{1225:function(e,n,t){var o=t(1275);"string"==typeof o&&(o=[[e.i,o,""]]);var A={hmr:!1,transform:void 0};t(281)(o,A);o.locals&&(e.exports=o.locals)},1275:function(e,n,t){(e.exports=t(280)(!0)).push([e.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/yangshuming/Desktop/new__educode/educoder/public/react/src/modules/courses/poll/pollStyle.css"],names:[],mappings:"AACA,UACE,aAAc,CACf,AACD,qDACE,qBAAsB,AACtB,cAAe,CAChB,AACD,mBACE,oBAAsB,CACvB,AACD,4CACE,uBAA2B,CAC5B,AAED,2DACE,gBAAiB,AACjB,oBAAsB,CACvB,AACD,MACE,gBAAkB,CACnB,AACD,KACE,UAAY,CACb,AACD,KACE,oBAAsB,CACvB,AACD,SACE,uBAAyB,AACzB,0BAA6B,CAC9B,AACD,MACE,cAAgB,CACjB,AAED,cACE,qBAAsB,AACtB,WAAY,AACZ,kBAAmB,AACnB,YAAa,AACb,iBAAkB,AAClB,mBAAoB,AACpB,WAAY,AACZ,iBAAkB,AAClB,kBAAoB,CACrB,AAED,aACE,aAAa,AACb,4BAA8B,CAC/B,AACD,wBACE,kBAAoB,CACrB,AACD,gBAAgB,kBAAmB,SAAU,YAAa,WAAY,AAAC,8BAA+B,AAAC,sBAAuB,YAAa,kBAAmB,kBAAmB,iCAAmC,CAAC,AACrN,cAAc,cAAe,AAA+C,WAAa,CAA0I,AACnO,mCAD6B,iBAAkB,kBAAmB,SAAU,AAAa,wCAAyC,kEAAoE,YAAa,aAAe,CACR,AAA1N,qBAAoE,UAAY,CAA0I,AAC1N,sBAA2D,SAAU,WAAY,AAAyC,iEAAoE,CAA6B,AAC3N,yCADsB,iBAAkB,kBAAmB,AAAsB,wCAAyC,AAAoE,YAAa,aAAe,CACF,AAAxN,mBAAwD,UAAW,UAAW,AAAyC,qDAAoE,CAA6B,AACxN,eAAe,WAAe,AAAC,8BA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mBAAoB,AACpB,WAAY,AACZ,wBAAyB,CAC1B,AACD,mBACE,mBAA+B,AAC/B,UAAY,CACb,AACD,uBACE,yBAA0B,AAC1B,WAAY,AACZ,wBAAyB,CAC1B,AACD,sBACE,yBAA0B,AAC1B,WAAY,AACZ,wBAAyB,CAC1B,AAGD,iCACE,gBAAkB,CACnB,AACD,wBACE,eAAkB,CACnB,AACD,yCACE,gBAAkB,CACnB,AAGD,yDACE,gBAAiB,CAClB,AACD,4GACE,UAAY,CACb,AAED,WACE,qBAAyB,AACzB,iBAAmB,CACpB,AACD,8EACE,gBAAiB,CAClB,AAED,eACE,qBAAsB,sBAAuB,8BAA+B,sBAAuB,AACnG,4BAA6B,AAC7B,mBAAoB,AACpB,UAAW,CACZ,AACD,qBACE,gBAAiB,AACjB,aAAa,CACd,AACD,kBACE,0BAA4B,CAC7B,AAED,kBAEE,WAAY,AAEZ,yBAA0B,AAC1B,WAAY,AACZ,iBAAmB,CAEpB,AACD,sCARE,WAAY,AAEZ,iBAAkB,AAIlB,iBAAkB,CAOnB,AALD,oBAEE,UAAY,CAGb,AACD,YACE,gBAAgB,CACjB,AAED,gBACI,eAAgB,AAChB,WAA2B,AAC3B,cAAgB,CACnB",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:""}])},2890:function(e,n,t){"use strict";var o=t(284),A=(t.n(o),t(282)),r=t.n(A),a=t(166),i=(t.n(a),t(165)),s=t.n(i),l=t(0),p=t.n(l),d=t(295),c=t(294),C=(t.n(c),t(870)),b=(t.n(C),t(1225)),B=(t.n(b),function(e,n,t){return n&&u(e.prototype,n),t&&u(e,t),e});function u(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var x={1:"单选题",2:"多选题",3:"主观题",4:"主观题"},h=(function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(e,n):e.__proto__=n)}(m,l.Component),B(m,[{key:"render",value:function(){var e=this.props.pollDetail;return console.log("pollDetailpollDetail"),console.log(e),p.a.createElement("div",null,void 0!==e?p.a.createElement("div",{className:"edu-back-white"},e!==e.poll.polls_description&&p.a.createElement("p",{style:{whiteSpace:"pre-wrap"},className:"color-grey-3 padding20-30"},e.poll.polls_description),e&&e.questions&&0<e.questions.length&&p.a.createElement("p",{className:"padding20-30 clearfix edu-txt-left",style:{background:"#fafafa"}},e&&e.question_types&&0!==e.question_types.q_counts?p.a.createElement("span",{className:"color-grey-3"},e&&e.question_types&&0<e.question_types.q_counts&&p.a.createElement("span",null,"合计",e.question_types&&e.question_types.q_counts,"题:"),e&&0<e.question_types.q_singles&&p.a.createElement("span",{className:"mr15 color-grey-9"},"单选题",e.question_types.q_singles,"题"),e&&0<e.question_types.q_doubles&&p.a.createElement("span",{className:"mr15 color-grey-9"},"多选题",e.question_types.q_doubles,"题"),e&&0<e.question_types.q_mains&&p.a.createElement("span",{className:"color-grey-9"},"主观题",e.question_types.q_mains,"题")):""),e&&e.questions&&0<e.questions.length&&e.questions.map(function(e,n){return p.a.createElement("div",{className:"previewList"},p.a.createElement("p",{className:"pl30 pr30 pt30 pb15 font-16 clearfix"},p.a.createElement("span",{className:"color-blue mr8 fl"},e.question.question_number,"、",x[e.question.question_type]),1==e.question.is_necessary?p.a.createElement("span",{className:"mustAnswer fl ml10 mr10"},"必答"):p.a.createElement("span",{className:"mustAnswer fl ml10 mr10"},"选答"),2==e.question.question_type&&null!=e.question.min_choices&&null!=e.question.min_choices&&null!=e.question.max_choices&&null!=e.question.max_choices?p.a.createElement("span",{className:"color-grey-9 font-14 fl mt2"},e.question.min_choices==e.question.max_choices?"可选"+e.question.max_choices+"项":"可选"+e.question.min_choices+"-"+e.question.max_choices+"项"):""),p.a.createElement("p",{className:"pl30 pr30 pb15"},p.a.createElement("span",{className:"font-14 flex1",style:{"white-space":"pre-wrap","word-break":"break-all","word-wrap":"break-word"}},e.question.question_title)),1==e.question.question_type&&p.a.createElement(s.a.Group,{className:"answerList",disabled:!0},e.question.answers.map(function(e,n){return p.a.createElement("li",{className:"df"},p.a.createElement(s.a,{className:"fl",value:e.answer_id}),p.a.createElement("span",{className:"其他"==e.answer_text?"break-word":"break-word flex1"},e.answer_text),"其他"==e.answer_text?p.a.createElement("p",{className:"textLine"}):"")})),2==e.question.question_type&&p.a.createElement(r.a.Group,{className:"answerList",disabled:!0},e.question.answers.map(function(e,n){return p.a.createElement("li",{className:"df",key:n},p.a.createElement(r.a,{className:"fl mr8",value:e.answer_id,key:e.answer_id}),p.a.createElement("span",{className:"其他"==e.answer_text?"break-word":"break-word flex1"},e.answer_text),"其他"==e.answer_text?p.a.createElement("p",{className:"textLine"}):"")})),3==e.question.question_type&&p.a.createElement("div",{className:"pl30 pr30 pb20"},p.a.createElement("textarea",{placeholder:"在此填入答案",readOnly:!0,className:"winput-100-130"})))}),e&&e.questions&&0==e.questions.length&&p.a.createElement(d.a,null)):"")}}]),m);function m(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,m),function(e,n){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?e:n}(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,e))}n.a=h},3930:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=t(0),A=t.n(o),r=t(12),a=t.n(r),i=t(2890),s=function(e,n,t){return n&&l(e.prototype,n),t&&l(e,t),e};function l(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var p=(function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(e,n):e.__proto__=n)}(d,o.Component),s(d,[{key:"render",value:function(){var e=this.state.pollDetail;return A.a.createElement("div",null,A.a.createElement(i.a,Object.assign({},this.props,this.state,{pollDetail:e})))}}]),d);function d(e){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,d);var r=function(e,n){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?e:n}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,e));return r.componentDidMount=function(){console.log("PollBanksContent"),console.log(r.props);var A=r.props.match.params.bankId,e="/exercise_banks/"+A+".json";a.a.get(e).then(function(e){if(e&&200==e.status){var n={poll:{id:e.data.poll&&e.data.poll.id,polls_description:e.data.poll&&e.data.poll.description,polls_name:e.data.poll&&e.data.poll.name,is_public:e.data.poll&&e.data.poll.is_public},question_types:e.data.question_types,questions:e.data.questions},t={title:e.data.poll&&e.data.poll.name,is_public:e.data.poll&&e.data.poll.is_public,crumbArray:[{content:"详情"}]},o={tab:"0",menuArray:[{to:"/banks/poll/"+A+"/"+r.props.match.params.type,content:"内容详情"}],category:"poll",tos:"/banks/poll/"+A+"/edit/"+r.props.match.params.type,id:A,is_public:e.data.poll&&e.data.poll.is_public,type:r.props.match.params.type,authorize:e&&e.data&&e.data.authorize};if(r.props.initPublic(t,o,e.data),401===e.data.status)return void r.setState({pollDetail:void 0});r.setState({pollDetail:n})}}).catch(function(e){console.log(e)})},r.state={pollDetail:void 0},r}n.default=p}}); |