1 |
- !function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,l)}return n}function t(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?e(Object(i),!0).forEach((function(e){l(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function n(e,t,n,l,i,a,o){try{var r=e[a](o),u=r.value}catch(s){return void n(s)}r.done?t(u):Promise.resolve(u).then(l,i)}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var l,i,a=[],o=!0,r=!1;try{for(n=n.call(e);!(o=(l=n.next()).done)&&(a.push(l.value),!t||a.length!==t);o=!0);}catch(u){r=!0,i=u}finally{try{o||null==n.return||n.return()}finally{if(r)throw i}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,l=new Array(t);n<t;n++)l[n]=e[n];return l}var o=document.createElement("style");o.innerHTML='._unitTest_ahls4_1{overflow:hidden;min-height:100vh}._unitTest_ahls4_1 .van-dialog__message{font-size:.42667rem;color:#333;padding-top:.48rem}._itemWrap_ahls4_10{margin:.32rem .34667rem;background:#ffffff;border-radius:.26667rem;padding-bottom:.69333rem}._itemWrap_ahls4_10 ._titleWrap_ahls4_16{padding:0 .32rem;height:.58667rem;font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem}._itemWrap_ahls4_10 ._itemBottom_ahls4_24{margin-top:.4rem;display:flex;flex-direction:row;align-items:center;justify-content:space-around;text-align:center;padding:0 .32rem}._itemWrap_ahls4_10 ._itemBottom_ahls4_24 ._itemBottomDot_ahls4_33{flex-basis:33.33%;position:relative}._itemWrap_ahls4_10 ._itemBottom_ahls4_24 ._itemBottomDot_ahls4_33 ._dotMain_ahls4_37{font-size:.53333rem;font-family:DINAlternate,DINAlternate;font-weight:700;color:#333;line-height:.8rem;margin-bottom:.10667rem}._itemWrap_ahls4_10 ._itemBottom_ahls4_24 ._itemBottomDot_ahls4_33 ._dotMain_ahls4_37 span{margin-left:.02667rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._itemWrap_ahls4_10 ._itemBottom_ahls4_24 ._itemBottomDot_ahls4_33 ._dotSub_ahls4_52{font-size:.32rem;font-weight:400;color:#777;line-height:.45333rem}._itemWrap_ahls4_10 ._uniTimeWrap_ahls4_58{padding:.32rem;margin-bottom:.53333rem;display:flex;flex-direction:row;align-items:center;justify-content:space-between;border-bottom:.02667rem solid #f2f2f2}._itemWrap_ahls4_10 ._uniTimeWrap_ahls4_58 ._uniTimeWrapLeft_ahls4_67{display:flex;flex-direction:row;align-items:center;font-size:.42667rem;font-weight:600;line-height:.53333rem}._itemWrap_ahls4_10 ._uniTimeWrap_ahls4_58 ._uniTimeWrapLeft_ahls4_67 ._clockIcon_ahls4_75{margin-top:-.05333rem;font-size:.48rem;margin-right:.10667rem}._editBtn_ahls4_80{color:#f67146;background-color:#fff5f2;border-color:#ffb39b;font-size:.34667rem;height:.69333rem;padding-top:.05333rem;line-height:.66667rem}._tableSection_ahls4_89{background:#FFFFFF;border-radius:.26667rem;margin:0 .34667rem .34667rem;overflow:hidden}._tableSection_ahls4_89 .van-col{line-height:.64rem}._tableSection_ahls4_89 .van-col--6,._tableSection_ahls4_89 .van-col--4{text-align:center}._tableSection_ahls4_89 ._title_ahls4_16{font-size:.37333rem;color:#777;padding:.34667rem .32rem}._tableSection_ahls4_89 ._content_ahls4_107{padding:.34667rem .32rem;font-weight:500;color:#333;font-size:.34667rem}._tableSection_ahls4_89 ._btnGroup_ahls4_113{display:flex;align-items:center}._tableSection_ahls4_89 ._icon_ahls4_117{font-size:.64rem}._tableSection_ahls4_89 ._icon_ahls4_117:last-child{margin-left:.21333rem}._addBtn_ahls4_123{display:block;padding:0 1.28rem;font-size:.4rem;font-family:PingFangSC,PingFang SC;font-weight:500;color:#f67146;background:#FFF5F2;border-radius:.53333rem;border:.02667rem solid #FFB39B;height:1.04rem;margin:.4rem auto}._addBtn_ahls4_123 .van-icon{font-size:.42667rem;font-weight:700;margin-left:.16rem}._dialogDelete_ahls4_141{display:flex;align-items:center;padding-left:var(--van-dialog-message-padding)}._dialogDelete_ahls4_141:before{content:"";display:inline-block;width:.10667rem;height:.37333rem;background:#FF8057;border-radius:.05333rem;margin-right:.16rem}._partContainer_ahls4_155 ._partTitle_ahls4_155{font-size:.48rem;font-weight:500;color:#131415;line-height:.66667rem;text-align:center;padding:.53333rem 0}._partContainer_ahls4_155 ._inputControl_ahls4_163 .van-field__body{justify-content:flex-end;margin-right:.21333rem}._partContainer_ahls4_155 ._inputControl_ahls4_163 .van-field__control{width:1.54667rem;height:.88rem;background:#F4F4F4;border-radius:.21333rem;text-align:center}._partContainer_ahls4_155 .van-cell{padding:.53333rem .4rem}._partContainer_ahls4_155 .van-cell__title{font-size:.42667rem;font-weight:500;color:#777;margin-left:.26667rem}._partContainer_ahls4_155 .van-cell__label{padding-top:.21333rem}._partContainer_ahls4_155 .van-field__control{text-align:center}._partContainer_ahls4_155 .van-stepper{width:100%}._partContainer_ahls4_155 ._partBtn_ahls4_192{margin:0 .66667rem calc(.53333rem + env(safe-area-inset-bottom));width:calc(100% - 1.33333rem);font-size:.48rem;font-weight:500}._settingStatus_ahls4_198 .van-popup__close-icon--top-right{top:.58667rem}\n',document.head.appendChild(o),System.register(["./index-legacy.5f9666b4.js","./data-legacy.87b1a74a.js","./index-legacy.81882747.js","./index-legacy.e96cb8ba.js","./index-legacy.b6ba0003.js"],(function(e){"use strict";var a,o,r,u,s,c,d,m,f,p,_,h,v,g,b,A,S,y,w,T,j,B,x,M,D,k,z,E,F,C,P,L,q,W,I,V,O,X,U,H,G,R;return{setters:[function(e){a=e.t,o=e.z,r=e.u,u=e.E,s=e.d,c=e.R,d=e.D,m=e.U,f=e.b8,p=e.Z,_=e.b9,h=e.c,v=e.ac,g=e.ay,b=e.v,A=e.as,S=e.a3,y=e.a1,w=e._,T=e.a6,j=e.a4,B=e.aV,x=e.ba,M=e.bb,D=e.x,k=e.ag,z=e.ah,E=e.r,F=e.$,C=e.aj,P=e.a5,L=e.q,q=e.B,W=e.b3,I=e.P,V=e.o,O=e.m},function(e){X=e.u},function(e){U=e.R,H=e.C},function(e){G=e.C},function(e){R=e.F}],execute:function(){var N=i(a("stepper"),2),Z=N[0],J=N[1],K=function(e,t){return String(e)===String(t)},Y={min:o(1),max:o(1/0),name:o(""),step:o(1),theme:String,integer:Boolean,disabled:Boolean,showPlus:r,showMinus:r,showInput:r,longPress:r,autoFixed:r,allowEmpty:Boolean,modelValue:u,inputWidth:u,buttonSize:u,placeholder:String,disablePlus:Boolean,disableMinus:Boolean,disableInput:Boolean,beforeChange:Function,defaultValue:o(1),decimalLength:u},Q=s({name:Z,props:Y,emits:["plus","blur","minus","focus","change","overlimit","update:modelValue"],setup:function(e,t){var n,i,a,o,r,u,s=t.emit,D=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],l=e.min,i=e.max,a=e.allowEmpty,o=e.decimalLength;return a&&""===t||(t=""===(t=S(String(t),!e.integer))?0:+t,t=Number.isNaN(t)?+l:t,t=n?Math.max(Math.min(+i,t),+l):t,y(o)&&(t=t.toFixed(+o))),t},k=c(),z=c((a=null!=(i=e.modelValue)?i:e.defaultValue,o=D(a),K(o,e.modelValue)||s("update:modelValue",o),o)),E=d((function(){return e.disabled||e.disableMinus||z.value<=+e.min})),F=d((function(){return e.disabled||e.disablePlus||z.value>=+e.max})),C=d((function(){return{width:m(e.inputWidth),height:m(e.buttonSize)}})),P=d((function(){return f(e.buttonSize)})),L=function(t){e.beforeChange?B(e.beforeChange,{args:[t],done:function(){z.value=t}}):z.value=t},q=function(){if("plus"===n&&F.value||"minus"===n&&E.value)s("overlimit",n);else{var t="minus"===n?-e.step:+e.step,l=D(x(+z.value,t));L(l),s(n)}},W=function(t){var n=t.target,l=n.value,i=e.decimalLength,a=S(String(l),!e.integer);if(y(i)&&a.includes(".")){var o=a.split(".");a="".concat(o[0],".").concat(o[1].slice(0,+i))}e.beforeChange?n.value=String(z.value):K(l,a)||(n.value=a);var r=a===String(+a);L(r?+a:a)},I=function(t){var n;e.disableInput?null==(n=k.value)||n.blur():s("focus",t)},V=function(t){var n=t.target,l=D(n.value,e.autoFixed);n.value=String(l),z.value=l,w((function(){s("blur",t),T()}))},O=function e(){u=setTimeout((function(){q(),e()}),200)},X=function(){e.longPress&&(r=!1,clearTimeout(u),u=setTimeout((function(){r=!0,q(),O()}),M))},U=function(t){e.longPress&&(clearTimeout(u),r&&j(t))},H=function(t){e.disableInput&&j(t)},G=function(e){return{onClick:function(t){j(t),n=e,q()},onTouchstartPassive:function(){n=e,X()},onTouchend:U,onTouchcancel:U}};return p((function(){return[e.max,e.min,e.integer,e.decimalLength]}),(function(){var e=D(z.value);K(e,z.value)||(z.value=e)})),p((function(){return e.modelValue}),(function(e){K(e,z.value)||(z.value=D(e))})),p(z,(function(t){s("update:modelValue",t),s("change",t,{name:e.name})})),_((function(){return e.modelValue})),function(){return h("div",{role:"group",class:J([e.theme])},[v(h("button",b({type:"button",style:P.value,class:[J("minus",{disabled:E.value}),l({},A,!E.value)],"aria-disabled":E.value||void 0},G("minus")),null),[[g,e.showMinus]]),v(h("input",{ref:k,type:e.integer?"tel":"text",role:"spinbutton",class:J("input"),value:z.value,style:C.value,disabled:e.disabled,readonly:e.disableInput,inputmode:e.integer?"numeric":"decimal",placeholder:e.placeholder,"aria-valuemax":e.max,"aria-valuemin":e.min,"aria-valuenow":z.value,onBlur:V,onInput:W,onFocus:I,onMousedown:H},null),[[g,e.showInput]]),v(h("button",b({type:"button",style:P.value,class:[J("plus",{disabled:F.value}),l({},A,!F.value)],"aria-disabled":F.value||void 0},G("plus")),null),[[g,e.showPlus]])])}}}),$=e("S",D(Q)),ee=e("s",{unitTest:"_unitTest_ahls4_1",itemWrap:"_itemWrap_ahls4_10",titleWrap:"_titleWrap_ahls4_16",itemBottom:"_itemBottom_ahls4_24",itemBottomDot:"_itemBottomDot_ahls4_33",dotMain:"_dotMain_ahls4_37",dotSub:"_dotSub_ahls4_52",uniTimeWrap:"_uniTimeWrap_ahls4_58",uniTimeWrapLeft:"_uniTimeWrapLeft_ahls4_67",clockIcon:"_clockIcon_ahls4_75",editBtn:"_editBtn_ahls4_80",tableSection:"_tableSection_ahls4_89",title:"_title_ahls4_16",content:"_content_ahls4_107",btnGroup:"_btnGroup_ahls4_113",icon:"_icon_ahls4_117",addBtn:"_addBtn_ahls4_123",dialogDelete:"_dialogDelete_ahls4_141",partContainer:"_partContainer_ahls4_155",partTitle:"_partTitle_ahls4_155",inputControl:"_inputControl_ahls4_163",partBtn:"_partBtn_ahls4_192",settingStatus:"_settingStatus_ahls4_198"}),te={RADIO:"单选题",CHECKBOX:"多选题",PLAY:"演奏题",SORT:"排序题",LINK:"连连看"},ne=e("d",[{label:"普通级",value:"1"},{label:"进阶级",value:"2"},{label:"大师级",value:"3"}]),le=s({name:"unit-edit-test",setup:function(){var e=k(),l=z(),i=E({unitExaminationName:l.query.unitExaminationName,questionList:[],level:l.query.level?Number(l.query.level):null,dialogShow:!1,activeRow:{},settingStatus:!1,pScore:null,pTime:null}),a=d((function(){var e,t=i.questionList,n=(null===(e=X["level"+i.level])||void 0===e?void 0:e.questionList)||[],l=0;return t.forEach((function(e){l+=Number(e.question.totalScore)||0})),n.forEach((function(e){l+=Number(e.question.totalScore)||0})),X["level"+i.level].totalScore=l,l})),o=d((function(){var e,t=i.questionList,n=(null===(e=X["level"+i.level])||void 0===e?void 0:e.questionList)||[];return X["level"+i.level].questionNum=t.length+n.length,t.length+n.length})),r=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,O.get("/api-teacher/unitExaminationDetail/detail/"+l.query.unitExaminationId);case 3:t=e.sent,n=t.data,i.questionList=n||[],e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})),function(){var t=this,l=arguments;return new Promise((function(i,a){var o=e.apply(t,l);function r(e){n(o,i,a,r,u,"next",e)}function u(e){n(o,i,a,r,u,"throw",e)}r(void 0)}))});return function(){return t.apply(this,arguments)}}();return F((function(){var e;e=l.query,X["level"+i.level].totalScore=e.totalScore,X["level"+i.level].questionNum=e.questionNum,X["level"+i.level].passScore<=0&&(X["level"+i.level].passScore=e.passScore),X["level"+i.level].timeMinutes<=0&&(X["level"+i.level].timeMinutes=e.timeMinutes),X["level"+i.level].level=e.level,r()})),function(){var n,l,r,u,s;return h("div",{class:ee.unitTest},[h(C,null,null),h("div",{class:ee.itemWrap},[h("div",{class:ee.uniTimeWrap},[h("div",{class:ee.uniTimeWrapLeft},[h(P,{name:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAABLFBMVEUAAAD/gE3/cUT/nGP/c0T/b0L/ajz/n2z/nWP/iFT/hFH/lWH/nnX/j1j/Zzr/nGP/h1P/m2T/c0X/nWP/c0X/nWP/iFX/ckT/onf/pHn/qHv/gE7/oXf/pnv/j1n/gE7/ZTn/pXv/j1r/gVD/Zjn/pHn/aDz/oHb/nWX/nWL/ckX/b0X/////ll//k1z/dkb/eUn/d0j/m2P/mGD/Yzf/mmH/o3j/Zjn/kVv/c0X/ajv/e0v/pnv/f03/i1b/iFX/fUz/pXn/jln/9/T/aDr/oHj/jVj/gU//ckP/qHz/n3b/bD3/nnT/nHP/g1D/mm3/kGD/b0D/+Pb/jGL/YTb/4NT/z7//n3H/3cz/l2z/glr/+vn/9fH/08T/s5D/rYr/8uz/5tv/2Mb/nWoqxTkjAAAALHRSTlMAGvz69WsbGmxsThz9+vXy8uTktraampps+/j48uTk5OS2tra2mppOTk5OTiIiMnEAAAHxSURBVDjLbdJnd6JAFIDha9e0TU+2946CxIagoMTIihqJa02y2fL//8Ne5s4knDDvN855zp0ZZoC3mT/YS1WrZ2fFYrFUKjUa26/eFTYhWu4opevVqGl0uxcX28eJB/P1iY7FTLvd3t0QJq9HDUYGkW3bBTJfdMmcbkj6jmY6bFZOrIUkutZYDXzfbzZ3soiOpHNsNWAG+4RnT3HTWV4pkdz5msx5Mwt5YVzlUTdrZs7rGTjgay2VWHMy9Q+wx/dzFUcumfobEHehSEIToh0Q51KwP53F4jJsPZ0pGBKsUgFuGPoV/kPM9vweQ8wgIkPob4OMbQZzgSoMFQXCrl3eNfvk5ieIO1UkoSHE70KOyCD6t+hYVm2hYMtJ+DgufwtEpuLDD8yyrA47HRpsLpDqBYGnamXghqHZaoL1bgRyTFPTtDIiMjVFEjcqRzU5IqMCzZEjMoiekZEiNIiMNLy0mOnJngrNMfbhLZneLI5uyRiHcEpmcBcb5U7JGBnIPWVmMLibERPklhsvmQX4SGY4HI1G036/1XIch85eZsY7AYDcC0RDLDQtDI0ZMekEYJ+3aM7KxjloTDK0Hy/5HVinW8PRamKPydCFiTnJDPA2dscYmch+EKW/wX2J47FkjpE8SQhBrPD+9fOoSe8fZrJA/QeSdPSfzKBPGAAAAABJRU5ErkJggg==",class:ee.clockIcon},null),L(" "),i.unitExaminationName]),h(q,{plain:!0,round:!0,class:ee.editBtn,onClick:function(){var e,t;i.settingStatus=!0,i.pScore=null===(e=X["level"+i.level])||void 0===e?void 0:e.passScore,i.pTime=null===(t=X["level"+i.level])||void 0===t?void 0:t.timeMinutes}},{default:function(){return[L("修改")]}})]),h("div",{class:ee.itemBottom},[h("div",{class:[ee.itemBottomDot,"gridBorderRight"]},[h("p",{class:ee.dotMain,style:{color:"#999999"}},[a.value||0]),h("p",{class:ee.dotSub},[L(" 总分")])]),h("div",{class:[ee.itemBottomDot,"gridBorderRight"]},[h("p",{class:ee.dotMain,style:{color:"#999999"}},[o.value||0]),h("p",{class:ee.dotSub},[L("题目数 ")])]),h("div",{class:[ee.itemBottomDot,"gridBorderRight"]},[h("p",{class:ee.dotMain},[(null===(n=X["level"+i.level])||void 0===n?void 0:n.passScore)||0]),h("p",{class:ee.dotSub},[L("合格分 ")])]),h("div",{class:ee.itemBottomDot},[h("p",{class:ee.dotMain},[(null===(l=X["level"+i.level])||void 0===l?void 0:l.timeMinutes)||0]),h("p",{class:ee.dotSub},[L("测验时长/min ")])])])]),h("div",{class:ee.tableSection},[h(U,{class:[ee.title,"van-hairline--bottom"]},{default:function(){return[h(H,{span:10},{default:function(){return[L("题目名称")]}}),h(H,{span:6},{default:function(){return[L("题目类型")]}}),h(H,{span:4},{default:function(){return[L("分值")]}}),h(H,{span:4},{default:function(){return[L("操作")]}})]}}),i.questionList.map((function(e){return h(U,{class:[ee.content,"van-hairline--bottom"]},{default:function(){return[h(H,{span:10,class:"van-ellipsis"},{default:function(){return[e.question.name]}}),h(H,{span:6},{default:function(){return[te[e.question.questionTypeCode]]}}),h(H,{span:4},{default:function(){return[e.question.totalScore]}}),h(H,{span:4},{default:function(){return[L("--")]}})]}})})),null===(r=X["level"+i.level])||void 0===r?void 0:r.questionList.map((function(n,l){return h(U,{class:[ee.content,"van-hairline--bottom"]},{default:function(){return[h(H,{span:10,class:"van-ellipsis"},{default:function(){return[n.question.name]}}),h(H,{span:6},{default:function(){return[te[n.question.questionTypeCode]]}}),h(H,{span:4},{default:function(){return[n.question.totalScore]}}),h(H,{span:4},{default:function(){return[h("div",{class:ee.btnGroup},[h(P,{name:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAulBMVEUAAAD/6tX/7Nn/6tb/6tX/6tX/6tX/6tb/6tX/6tX/69b/69b/69b/69X/69b/7Nb/69T/6tb/6db/7dn/69b/zMz/6tUzMzOZjoTMvKxmYFvz38ujl4uom49qZF6Ee3NAPj3n1MHdy7rVxLPJuamwopZ8dG1cWFNKR0U7Ojk4ODfZyLbSwbG2qJv75tL45M+YjoOAeHB2b2hRTkvj0b7Ovq7448/s2cZFQ0G/sKK+sKGdkoePhXxbV1L0S/BVAAAAFnRSTlMA/hT49PPx69vOyLaPjXVrZldQJBkF+OQozwAAAfNJREFUSMellulSszAYhROqgl2l2vfYQqG1+6q2Vv0W7/+2hDFINmA6fX4xkEPyLjkJM3D8ZsNzazXXazR9h1XgdOqcJHi9U6Z5aF2RwVXrgdnpta/JynW7Zxt/f0uF3N6b47s3VMJNVx9/x6kUfqeNp0oURVf8/3k2jwYK0Xz2LOboSvGK9W+XsLDcijh+I++J/GxWsLLaiFxl2W2LORfAKJz2FabhCFiIFbdFfUW9JsD6iQye1sBEVPCn5i36YQi8koVXYCgeWyzByfrnEXghCy/AY9ZXaSd2KBekH8Z5ANv973tBJxHUVUEfEpEuqCcr4qpgCImRLuAO80kVBLFU5j+UEAIhZfisqQlMgsMhoIwma6iCKhrMI3uWxnnljsc3yvCYSwVZ6mcrOsoxuKxG9ixl1d1HwCqfoSYEZpZiEej/RPuXJIFbHvQO6ltXD1pjsgIOnHK88rR+LIFjoKS1tHD7ATB647sdlwrnlwhiANM0jJ3UGg4vFMwAhHrz6e0tcVoDc729jQ2UM/4EFu/6Bireou8L4HNsbNFiE5gD65NhAsU2EwKYmTZjNbJ0HVMAMfGJbmR2q+xTkIwa7Ck2rNJuxkPaAMsPoi/djO12nzb2v0MazSlS7P7cA+WyI6v6ULzs2K0+2M+8Olx0OTn7+vMNffymAX57GhEAAAAASUVORK5CYII=",class:ee.icon,onClick:function(){return t=n,void e.push({path:"/add-unit-item",query:{level:i.level,musicId:t.question.mediaUrls}});var t}},null),h(P,{name:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAllBMVEUAAAD/1dX/1dX/1tb/2dn/1tb/1dX/1tb/1dX/1dX/1tb/1tb/1tb/1tb/1NT/1tb/1tb/2dn/1dX/zMz/1dUzMzM5ODhFQUFTTEz3zs5MR0d5a2vDpaWqkZGIdnbMrKz70tLzzMyGdXVfVlbhvb2ZhISOe3tlW1vwycnux8fmwcHVs7O+oaGkjIyBcXGAcHBpXV1ZUVFmzQGbAAAAFHRSTlMA/fSOF/jx69vOyLZ1a2ZXUCQSBWn4P2oAAAGjSURBVEjHlZbZloIwDECjRUUBcWkQl5HNXcfl/39uZAoECuLJfek5kEtp06aFGoYrLHPQ6w1MS7gGfGHmjGSFkTNrCTdEV9boik/dzG0VXlfsOTQwHcqPDKdQY9KXLfQnoDHuyFY6Yy1efqViTOj7u/vLL3jdd9THpDRe+v/AwwpeQOMoRj6n+QlXqLEKaa7y2bVlwRXRvywLLj7ild7aWX5L+dogxrJEjLgpZVDlXMiKsC0L21QgxP96Ux2EwebNHvH4U+KIuE+fB6HqIl2JjpIf2MpDRTlvIVvPx3bhmK12ACNP2GGbEq814m3KIU+gAa4kottJ1jjdIkm4lTl6YlIXEnxW5smSxAK9tDl4v6XGw4UkLDBrQgfRV5GrumDCoEFQkdgkDKDHE3psgf9LJk8wweIJFgieIMDlCS4YPMEAGHGEEW0gEmSCa2qqgqO2qCZEQZg3JNAWBaELhC4Ircx8E7qGVshWiMFSI0jHnmHrpTLGRmIqlVoxPvvYgH+mYqyX+2if+BrJPqJyzztQ+EcW/1DkH7v8g51/deBfTtjXnz/yLJRdrwrPtgAAAABJRU5ErkJggg==",class:ee.icon,onClick:function(){return e=t(t({},n),{},{index:l}),i.activeRow=e,void(i.dialogShow=!0);var e}},null)])]}})]}})})),h(q,{round:!0,class:ee.addBtn,onClick:function(){e.push("/add-unit-item?level="+i.level)}},{default:function(){return[h(P,{name:"plus"},null),L("添加测验曲目")]}})]),h(W,{show:i.dialogShow,"onUpdate:show":function(e){return i.dialogShow=e},showCancelButton:!0,message:"请确认是否删除《".concat(null===(u=i.activeRow)||void 0===u||null===(s=u.question)||void 0===s?void 0:s.name,"》?"),messageAlign:"left",confirmButtonText:"删除",onConfirm:function(){var e;null===(e=X["level"+i.level])||void 0===e||e.questionList.splice(i.activeRow.index,1)}},{title:function(){return h("div",{class:ee.dialogDelete},[L("删除题目")])}}),h(I,{position:"bottom",round:!0,show:i.settingStatus,"onUpdate:show":function(e){return i.settingStatus=e},closeable:!0,class:ee.settingStatus},{default:function(){return[h("div",{class:ee.partContainer},[h("div",{class:ee.partTitle},[L("修改")]),h(G,{class:ee.cellGroup,border:!1},{default:function(){return[h(R,{inputAlign:"right",label:"合格分",type:"number",autocomplete:"off",maxlength:3,class:ee.inputControl,modelValue:i.pScore,"onUpdate:modelValue":function(e){return i.pScore=e},center:!0},{input:function(){return h($,{modelValue:i.pScore,"onUpdate:modelValue":function(e){return i.pScore=e},max:a.value,showMinus:!1,showPlus:!1},null)},extra:function(){return h("div",{class:ee.loctionIconWrap},[h("span",null,[L("分"),h("i",{style:{color:"#fff"}},[L("钟")])])])}}),h(R,{inputAlign:"right",label:"测验时长",type:"number",maxlength:3,autocomplete:"off",class:ee.inputControl,center:!0},{input:function(){return h($,{modelValue:i.pTime,"onUpdate:modelValue":function(e){return i.pTime=e},showMinus:!1,showPlus:!1},null)},extra:function(){return h("div",{class:ee.loctionIconWrap},[h("span",null,[L(" 分钟")])])}})]}}),h(q,{round:!0,block:!0,type:"primary",class:ee.partBtn,onClick:function(){return i.pScore?i.pTime?(X["level"+i.level].passScore=i.pScore,X["level"+i.level].timeMinutes=i.pTime,void(i.settingStatus=!1)):V("请输入测试时长"):V("请输入合格分")}},{default:function(){return[L("确认")]}})])]}})])}}}),ie=Object.freeze(Object.defineProperty({__proto__:null,questionTypeCode:te,difficultyCoefficients:ne,default:le},Symbol.toStringTag,{value:"Module"}));e("i",ie)}}}))}();
|