|
|
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[17482],{71112:function(e,s,n){n.d(s,{Z:function(){return _}});var c=n(82242),i=n.n(c),r=n(7557),a=n.n(r),l=n(41498),t=n.n(l),o=n(79800),d=n.n(o),x=n(39647),h=n.n(x),u=n(3113),m=n(59301),p=n(37712),j=["children"],_=function(e){var s=e.children,n=h()(e,j),c=(0,m.useState)(!1),r=d()(c,2),l=r[0],o=r[1];return(0,p.jsx)(u.ZP,i()(i()({},n),{},{loading:l,onClick:function(){var e=t()(a()().mark((function e(s){return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,o(!0),e.next=4,n.onClick(s);case 4:o(!1),e.next=11;break;case 7:e.prev=7,e.t0=e.catch(0),console.error(e.t0),o(!1);case 11:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(s){return e.apply(this,arguments)}}(),children:s}))}},49177:function(e,s,n){n.r(s),n.d(s,{default:function(){return B}});var c=n(7557),i=n.n(c),r=n(41498),a=n.n(r),l=n(79800),t=n.n(l),o=n(59301),d=n(95237),x=n(43604),h=n(66999),u=n(3113),m=n(80608),p="bg___YVx48",j="title___NM3xC",_="textOverflow___gz3GM",f="wrap___if0Ln",N="infoTitle___dk7YF",v="infoValue___kBWqL",g="itemTitle___WP88A",k="circle___Rq79V",w="warnText___cpZS0",Z="greyText___erT_A",b="linkText___YWy1z",y="num___Dq7FU",C="fixBottom___WHsNA",P="backBtn___swiNH",T="enterBtn___pk16U",I=n(43516),S=n(71112),W=n(27876),q=n(37712),L=function(e){var s=e.title,n=e.content;return(0,q.jsxs)("div",{className:"mb20",children:[(0,q.jsxs)(d.Z,{align:"middle",style:{marginBottom:12},children:[(0,q.jsx)(x.Z,{flex:"20px",children:(0,q.jsx)("div",{className:k})}),(0,q.jsx)(x.Z,{children:(0,q.jsx)("div",{children:s})})]}),(0,q.jsx)(d.Z,{className:"pl20",children:n})]})},B=(0,m.connect)((function(e){var s=e.user;return{globalSetting:e.globalSetting,user:s}}))((function(e){var s=e.user,n=e.dispatch,c=(e.globalSetting,(0,m.useParams)()),r=(0,o.useState)(),l=t()(r,2),k=l[0],B=l[1],R=(0,o.useState)(!1),D=t()(R,2),F=D[0],z=D[1];(0,o.useEffect)((function(){return n({type:"globalSetting/headerFooterToggle",payload:!1}),function(){n({type:"globalSetting/headerFooterToggle",payload:!0})}}),[]),(0,o.useEffect)((function(){a()(i()().mark((function e(){var s;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return z(!0),e.next=3,(0,I.Ul)(c);case 3:s=e.sent,z(!1),s.status||B(s);case 6:case"end":return e.stop()}}),e)})))()}),[]);var A=(null==k?void 0:k.exercise)||{},U=A.exercise_name,V=A.time,Y=A.student_id,E=A.screen_open,H=A.screen_num,M=A.screen_sec,G=A.real_name,O=A.id,J=A.open_camera,K=A.inner_ip,Q=A.public_ip,X=A.ip_limit,$=A.ip_bind,ee=A.open_phone_video_recording,se=A.identity_verify,ne=A.user_permission,ce=A.total_score,ie=A.question_type_count,re=A.question_count,ae=A.screen_shot_open;return(0,q.jsx)("div",{className:p,children:(0,q.jsxs)("div",{className:"edu-container",children:[(0,q.jsx)("div",{className:"pt30"}),(0,q.jsx)("div",{className:f,children:(0,q.jsxs)(h.Z,{loading:F,active:!0,className:"mt20",children:[(0,q.jsx)("div",{className:j,children:U}),(0,q.jsxs)(d.Z,{justify:"center",gutter:30,className:"mb20",children:[(0,q.jsxs)(x.Z,{children:[(0,q.jsx)("span",{className:N,children:"大题数"}),(0,q.jsx)("span",{className:v,children:ie})]}),(0,q.jsxs)(x.Z,{children:[(0,q.jsx)("span",{className:N,children:"小题数"}),(0,q.jsx)("span",{className:v,children:re})]}),(0,q.jsxs)(x.Z,{children:[(0,q.jsx)("span",{className:N,children:"满分"}),(0,q.jsxs)("span",{className:v,children:[ce,"分"]})]}),(0,q.jsxs)(x.Z,{children:[(0,q.jsx)("span",{className:N,children:"考试时长"}),(0,q.jsx)("span",{className:v,children:-1===V?"不限时长":"".concat(V,"分钟")})]})]}),(0,q.jsxs)(d.Z,{className:"mb20",align:"middle",children:[(0,q.jsx)(x.Z,{flex:"20px",children:(0,q.jsx)("i",{className:"iconfont icon-dangqiankaoshengxinxi font14",style:{color:"#3061D0"}})}),(0,q.jsx)(x.Z,{children:(0,q.jsx)("div",{className:g,children:"当前考生信息"})})]}),(0,q.jsxs)(d.Z,{className:"mb30 pl20",children:[(0,q.jsxs)(x.Z,{flex:"190px",className:"mr20 ".concat(_),children:[(0,q.jsx)("span",{className:N,children:"姓名"}),(0,q.jsx)("span",{title:G,children:G})]}),(0,q.jsxs)(x.Z,{children:[(0,q.jsx)("span",{className:N,children:"学号"}),(0,q.jsx)("span",{children:Y||"--"})]})]}),(0,q.jsxs)(d.Z,{className:"mb20",align:"middle",children:[(0,q.jsx)(x.Z,{flex:"20px",children:(0,q.jsx)("i",{className:"iconfont icon-chengxinkaoshishengming font14",style:{color:"#3061D0"}})}),(0,q.jsx)(x.Z,{children:(0,q.jsx)("div",{className:g,children:"诚信考试声明"})})]}),(0,q.jsx)("div",{className:"mb30 pl20",children:"考生在考试过程中应自觉遵守考试纪律,诚信应考,拒绝作弊行为,保持良好考试秩序。实施作弊行为一经发现,将按学校考试管理办法严肃处理,因作弊产生的一切后果自负。"}),(J||E||"no"!==X||se)&&(0,q.jsxs)(d.Z,{className:"mb20",align:"middle",children:[(0,q.jsx)(x.Z,{flex:"20px",children:(0,q.jsx)("i",{className:"iconfont icon-yikaiqifangzuobimoshi font14",style:{color:"#3061D0"}})}),(0,q.jsx)(x.Z,{children:(0,q.jsx)("div",{className:g,children:"已开启防作弊模式"})})]}),se&&(0,q.jsx)(L,{title:"已开启考试前人脸身份核验",content:(0,q.jsxs)("div",{children:[(0,q.jsx)("span",{className:Z,children:"进入考试前,请允许摄像头授权,授权后需采集照片认证,认证通过并开启手机录制才可以进入考试。"}),(0,q.jsx)("span",{className:b,onClick:function(){return(0,W.xg)("https://www.educoder.net/forums/4459")},children:"无法调用摄像头?"})]})}),se&&(0,q.jsx)(L,{title:"已开启考试中手机视频录制",content:(0,q.jsxs)("div",{children:[(0,q.jsx)("span",{className:Z,children:"进入考试后,请允许摄像头授权,授权后打开摄像头方可作答!"}),(0,q.jsx)("span",{className:b,onClick:function(){return(0,W.xg)("https://www.educoder.net/forums/4459")},children:"无法调用摄像头?"})]})}),J&&(0,q.jsx)(L,{title:"已开启考试中拍照监控",content:(0,q.jsxs)("div",{children:[(0,q.jsx)("span",{className:Z,children:"进入考试后,请允许摄像头授权,授权后打开摄像头方可作答!"}),(0,q.jsx)("span",{className:b,onClick:function(){return(0,W.xg)("https://www.educoder.net/forums/4459")},children:"无法调用摄像头?"})]})}),E&&(0,q.jsx)(L,{title:"已开启切屏后强制交卷",content:(0,q.jsxs)("div",{children:[(0,q.jsxs)("span",{className:Z,children:["切屏超过",(0,q.jsx)("span",{className:y,children:H}),"次将强制交卷,切换到其他页面",(0,q.jsx)("span",{className:y,children:M}),"秒后即判定为一次切屏,",(0,q.jsx)("span",{className:y,children:2*M}),"秒则判定为",(0,q.jsx)("span",{className:y,children:"2"}),"次切屏,以此类推;考试过程中请勿切换到其他页面或退出全屏。"]}),(0,q.jsx)("span",{className:b,onClick:function(){return(0,W.xg)("https://www.educoder.net/forums/4460")},children:"浏览器无法自动全屏?"})]})}),ae&&(0,q.jsx)(L,{title:"已开启退出全屏或切换页面后自动截屏",content:(0,q.jsx)("div",{children:(0,q.jsx)("span",{className:Z,children:"老师已开启退出全屏或切换页面后自动截屏,考生进入考试之后需要选择主屏幕进行共享,考试作答过程中也不允许关闭屏幕共享,否则将会直接退出考试。"})})}),"no"!==X&&(0,q.jsx)(L,{title:"已开启IP范围限定",content:(0,q.jsxs)("div",{children:[(0,q.jsx)("span",{className:Z,children:"IP地址不在范围内不可参加考试。"}),(0,q.jsx)("span",{className:w,children:"(只允许在Chrome谷歌浏览器作答,并且需要安装WebRTC Leak Prevent插件)"}),(0,q.jsx)("div",{children:(0,q.jsx)("span",{className:b,onClick:function(){return(0,W.xg)("https://www.educoder.net/forums/4478")},children:"如何安装WebRTC Leak Prevent插件?"})})]})}),$&&(0,q.jsx)(L,{title:"已开启考试期间IP绑定",content:(0,q.jsxs)("div",{children:[(0,q.jsx)("span",{className:Z,children:"当您开始考试后,将自动绑定IP,考试期间只允许使用唯一的IP进入考试。如遇特殊情况,可向老师申请解除IP绑定。"}),(0,q.jsx)("span",{className:w,children:"(只允许在Chrome谷歌浏览器作答,并且需要安装WebRTC Leak Prevent插件)"}),(0,q.jsx)("div",{children:(0,q.jsx)("span",{className:b,onClick:function(){return(0,W.xg)("https://www.educoder.net/forums/4478")},children:"如何安装WebRTC Leak Prevent插件?"})})]})}),(0,q.jsxs)("div",{className:C,children:[(0,q.jsx)(u.ZP,{className:P,onClick:function(){return m.history.push("/classrooms/".concat(c.coursesId,"/exercise"))},children:"返回考试列表"}),(0,q.jsx)(S.Z,{type:"primary",className:"".concat(T," ml20"),onClick:a()(i()().mark((function e(){var n;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,W.nr)({inner_ip:K,public_ip:Q,open_camera:J,ip_limit:X,ip_bind:$,exercise_tips:[""],exerciseId:O,screen_open:E,screen_num:H,screen_sec:M,coursesId:c.coursesId,login:null===(n=s.userInfo)||void 0===n?void 0:n.login,history:m.history,identity_verify:se,open_phone_video_recording:ee,current_status:ne,unlockClose:!0});case 2:case"end":return e.stop()}}),e)}))),children:"我已阅读,进入考试"})]})]})})]})})}))}}]); |