(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f5492fa2"],{"05ea":function(t,o){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAGKADAAQAAAABAAAAGAAAAADiNXWtAAACnklEQVRIDa1V30tUQRQ+587VLe0hUKKXSmN1tWDJ3jIysaceDSqjH+tKf0CFhFAU1FtFf8Jdd8nKDOoPqF4ipSLMh0hXH/phPRn0kmJ35p6+2Si2e2Uv2D0wuzNzzvm+OefcmcOZkrQGRo+ScLeQuJSAMLEvTM9TSuVdCy5CPUz0lZlXEsAnEkqRSN9PrUuuEHcAfFUplZ3N8bckCLIl2bJizGcQ7XJY5D5SkzLGvMoUJfu/BJ2e7F025rWI1DPThNO8yR1xiO+AZCdIptoLemC9JOmiPuWzeYH0bEe6x5oa1TCy81vSo+Y8FDcxFDt0a0+DOzJxjM0ffa3/ow9ETf/QN5CSC8RscOCL5by6bX3+EthFxvP7AuJxRNOML+EJ6jIQV5eOojSZwIwjJYfgs+SQHJ8bqntm8az8Q2A3Osdkh17Vj4SoC2F+IFL983l+a3VhsTULAvMY4K0AmnZTbv/7k/yx2s6pXti5NUBd9gP8LhxbhMxkuiQHw3Z2z9asAo58W58weNgnsm7zzHDa86Wt4E+HlW2e/87qKrULK6vWkRRV6SrTtKe/I5H1C3m3oVqXLugARf20MOS2tHv6bEB0pFpv58jCVPzTwIBZS0Tgz8Alws8BXN/DYTOkb3M8QdhrjTWiyGHbjogkQrC7IFt9x3SF0ZnVbCIEq2TukZHeCAGZxUQIHFedEx30hAmInZlECMqneQbgdkQkEQLck2v4qE5E0IkmIzd5DaN1bwHcSSSC+XzdFZzCjojERoCGNIcnfCOejcu9BdkQQYjZiCdw6BIu/bJQcH2RTLl9VJ9BS2y0uOjlsf0ilqA8WPeUHJXFW/8QiNuCQIpoiUuVgzO9iQkg2g9qOXR40m3YXMXrtA92L1mpwXKOv9Ty+QWE2BKk1pbleAAAAABJRU5ErkJggg=="},4469:function(t,o,e){"use strict";e("8fd0")},"7d43":function(t,o,e){"use strict";e.r(o);var s,n,i=function(){var t=this,o=t.$createElement,s=t._self._c||o;return s("div",{staticClass:"page"},[s("div",{staticClass:"header"},[s("van-tabs",{staticClass:"flex-1",attrs:{"title-active-color":"#28A1FF",color:"#28A1FF",background:"#ECECEC"},model:{value:t.active,callback:function(o){t.active=o},expression:"active"}},[s("van-tab",{attrs:{title:"全部"}}),s("van-tab",{attrs:{title:"待阅卷"}}),s("van-tab",{attrs:{title:"已阅卷"}})],1),s("div",{staticClass:"flex-1 filter"},[s("img",{staticStyle:{width:"17px",height:"17px"},attrs:{src:e("05ea"),alt:"筛选"},on:{click:function(o){t.show=!0}}})])],1),s("div",[s("mescroll-vue",{ref:"wordListBox",staticClass:"customerBoxmescroll",attrs:{down:t.mescrollDown,up:t.mescrollUp},on:{init:t.mescrollInit}},[t._l(t.testlist,(function(t){return s("volume-item",{key:t.id,attrs:{item:t}})})),s("nonedata",{attrs:{len:t.testlist.length,datashow:t.datashow}})],2)],1),s("van-overlay",{attrs:{show:t.show},on:{click:function(o){t.show=!1}}},[s("div",{staticClass:"wrapper",on:{click:function(t){t.stopPropagation()}}},[s("div",{staticClass:"block"},[s("div",{staticClass:"b-content"},[s("div",{staticClass:"b-title center lh36"},[t._v("筛选范围")]),s("div",{staticClass:"b-input"},[s("div",{staticClass:"b-flex"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.start,expression:"start"}],staticClass:"center",staticStyle:{width:"90px",height:"30px","font-size":"14px"},attrs:{type:"text"},domProps:{value:t.start},on:{input:function(o){o.target.composing||(t.start=o.target.value)}}}),s("span",{staticClass:"font-xs mt-xs"},[t._v("开始序号")])]),s("div",{staticClass:"line"}),s("div",{staticClass:"b-flex"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.end,expression:"end"}],staticClass:"center",staticStyle:{width:"90px",height:"30px","font-size":"14px"},attrs:{type:"text"},domProps:{value:t.end},on:{input:function(o){o.target.composing||(t.end=o.target.value)}}}),s("span",{staticClass:"font-xs mt-xs"},[t._v("结束序号")])])])]),s("div",{staticClass:"d-btn"},[s("div",{staticClass:"flex-sub",staticStyle:{color:"#ff2828"},on:{click:function(o){t.show=!1}}},[t._v("取消")]),s("div",{staticClass:"flex-sub",staticStyle:{"border-left":"1px solid #28a1ff",color:"#28a1ff"},on:{click:t.overlaytap}},[t._v("确定")])])])])]),s("wzhload",{directives:[{name:"show",rawName:"v-show",value:t.loadFlag,expression:"loadFlag"}]})],1)},l=[],a=e("ade3"),r=(e("f1dc"),e("6e47")),c=(e("c3a6"),e("ad06")),p=(e("bda71"),e("5e46")),u=(e("da3c"),e("0b33")),d=(e("b0c0"),e("99af"),function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{staticClass:"volume"},[e("div",{staticClass:"padding-xs"},[e("div",{staticClass:"volume-title volume-item"},[t._v(t._s(1==t.item.show_real_name?t.item.emp_name:"卷")+"-"+t._s(t.item.key))]),e("div",{staticClass:"volume-item"},[t._v("交卷时间:"+t._s(t.item.addtime))]),e("div",{staticClass:"volume-item"},[t._v("系统分值:"+t._s(t.item.score_sum))]),e("div",{directives:[{name:"show",rawName:"v-show",value:2==t.item.approve_status,expression:"item.approve_status==2"}],staticClass:"volume-item"},[t._v("实际分值:"+t._s(t.item.final_score))]),e("div",{directives:[{name:"show",rawName:"v-show",value:2!=t.item.approve_status,expression:"item.approve_status!=2"}],staticClass:"volume-item"},[t._v("阅卷状态:未阅卷")])]),e("div",{staticClass:"f-btn"},[2!=t.item.approve_status?e("div",{staticClass:"flex-1",on:{click:function(o){return t.toReadPage(t.item.paper_id,t.item.employee_id,t.item.id)}}},[e("van-icon",{staticClass:"margin-right-xs",attrs:{name:"edit",size:"20"}}),e("span",[t._v("阅卷批改")])],1):t._e(),e("div",{staticClass:"flex-1",staticStyle:{"border-left":"1px solid #ececec"},on:{click:function(o){return t.recordtap(t.item.paper_id)}}},[e("van-icon",{staticClass:"margin-right-xs",attrs:{name:"records",size:"20"}}),e("span",[t._v("批改记录")])],1)]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"vmask",on:{click:t.closetap}},[e("div",{staticClass:"block",on:{click:function(t){t.stopPropagation()}}},[e("div",{staticClass:"close",on:{click:function(o){t.show=!1}}},[e("van-icon",{attrs:{name:"cross",size:"20"}})],1),t._m(0),e("div",{staticClass:"change-content"},[t._l(t.recordlist,(function(t,o){return e("change-record",{key:t.id,attrs:{item:t,index:o}})})),e("nonedata",{attrs:{len:t.recordlist.length,datashow:t.datashow}})],2)])])])}),m=[function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{staticClass:"change-title"},[e("span",[t._v("批改记录")])])}],h=e("5530"),v=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{staticClass:"record-item padding-sm"},[t._m(0),e("div",{staticClass:"record-box text-left margin-bottom-xs"},[e("div",{staticClass:"box-title"},[t._v("简答题"+t._s(1*t.index+1))]),e("span",{staticClass:"box-score"},[t._v("阅卷打分:"+t._s(t.item.correct_score))])]),e("div",{staticClass:"change-preson font20 color999 lh36"},[e("span",{staticClass:"personame ellipsis"},[t._v("阅卷人:"+t._s(t.item.p_person))]),e("span",{staticClass:"timebox right"},[t._v(t._s(t.item.p_time))])])])},f=[function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{staticClass:"line"},[e("div",{staticClass:"circle"})])}],w={props:["item","index"],data:function(){return{}}},g=w,y=(e("4469"),e("2877")),D=Object(y["a"])(g,v,f,!1,null,"196f99ab",null),S=D.exports,b=e("9df2"),T=e("a92e"),U=e("2f62"),C={components:(s={},Object(a["a"])(s,c["a"].name,c["a"]),Object(a["a"])(s,r["a"].name,r["a"]),Object(a["a"])(s,"changeRecord",S),Object(a["a"])(s,"nonedata",T["a"]),s),props:["item"],data:function(){return{show:!1,recordlist:[],datashow:!1}},watch:{show:{handler:function(t){this.setScrollState(t)},immediate:!0}},methods:Object(h["a"])(Object(h["a"])({},Object(U["b"])(["setScrollState"])),{},{paperfun:function(t){var o=this,e=this,s={paperid:t,employee_id:this.item.employee_id};Object(b["d"])(s).then((function(t){"0"==t.data.code&&(e.recordlist=t.data.data),o.datashow=!0}))},closetap:function(){this.show=!1},recordtap:function(t){this.setScrollState(!0),this.show=!0,this.paperfun(t)},toReadPage:function(t,o,e){this.$router.push({name:"read",params:{pid:t,emid:o,yid:e}})}})},A=C,L=(e("d573"),Object(y["a"])(A,d,m,!1,null,"4a09e3e0",null)),E=L.exports,x=e("8d6b"),B="",k={components:(n={},Object(a["a"])(n,u["a"].name,u["a"]),Object(a["a"])(n,p["a"].name,p["a"]),Object(a["a"])(n,c["a"].name,c["a"]),Object(a["a"])(n,r["a"].name,r["a"]),Object(a["a"])(n,"volumeItem",E),Object(a["a"])(n,"MescrollVue",x["a"]),Object(a["a"])(n,"nonedata",T["a"]),n),data:function(){return{active:0,show:!1,testlist:[],datashow:!1,loadFlag:!0,mescroll:null,mescrollDown:{},mescrollUp:{callback:this.paperfun,page:{num:0,size:10},htmlLoading:"",htmlNodata:"",noMoreSize:0},end:"",start:""}},created:function(){this.tid=this.$route.params.tid},watch:{active:function(){this.mescroll.resetUpScroll()}},methods:{overlaytap:function(){this.show=!1,this.mescroll.resetUpScroll()},mescrollInit:function(t){this.mescroll=t},paperfun:function(t,o){var e=this,s=this,n={page:t.num,limit:10,end:this.end,paperid:this.tid,start:this.start,type:0==this.active?3:1==this.active?0:2};Object(b["i"])(n).then((function(n){"0"==n.data.code&&(1===t.num&&(s.testlist=[]),s.testlist=s.testlist.concat(n.data.data),s.$nextTick((function(){o.endSuccess(n.data.data.length)}))),e.loadFlag=!1,e.datashow=!0}))}},beforeRouteEnter:function(t,o,e){B=o.name,"examList"==o.name?t.meta.isBack=!0:t.meta.isBack=!1,e()},activated:function(){var t=this;this.$route.meta.isBack?(t.loadFlag=!0,this.tid=this.$route.params.tid,this.mescroll.resetUpScroll()):"read"==B&&this.mescroll.resetUpScroll()}},O=k,z=(e("8428"),Object(y["a"])(O,i,l,!1,null,"9ae92916",null));o["default"]=z.exports},8428:function(t,o,e){"use strict";e("d13b")},"8d6b":function(t,o,e){"use strict";var s=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{ref:"mescroll",staticClass:"mescroll"},[e("div",[t._t("default")],2)])},n=[],i=e("f868"),l=e.n(i),a=(e("f2fd"),{name:"MeScrollVue",data:function(){return{mescroll:null,lastScrollTop:0,lastBounce:null}},props:{up:Object,down:Object},mounted:function(){this.mescroll=new l.a(this.$refs.mescroll,{up:this.up,down:this.down}),this.$emit("init",this.mescroll)},methods:{beforeRouteEnter:function(){var t=this;this.mescroll&&(this.lastScrollTop&&(this.mescroll.setScrollTop(this.lastScrollTop),setTimeout((function(){t.mescroll.setTopBtnFadeDuration(0)}),16)),null!=this.lastBounce&&this.mescroll.setBounce(this.lastBounce))},beforeRouteLeave:function(){this.mescroll&&(this.lastScrollTop=this.mescroll.getScrollTop(),this.mescroll.hideTopBtn(0),this.lastBounce=this.mescroll.optUp.isBounce,this.mescroll.setBounce(!0))}}}),r=a,c=e("2877"),p=Object(c["a"])(r,s,n,!1,null,null,null);o["a"]=p.exports},"8fd0":function(t,o,e){},a9fe:function(t,o,e){},d13b:function(t,o,e){},d573:function(t,o,e){"use strict";e("a9fe")},f1dc:function(t,o,e){"use strict";e("68ef"),e("a71a")},f2fd:function(t,o,e){},f868:function(t,o,e){var s,n;(function(i,l){s=l,n="function"===typeof s?s.call(o,e,o,t):s,void 0===n||(t.exports=n)})(0,(function(){var t=function(t,o){var e=this;if(e.version="1.4.0",e.isScrollBody=!t||"body"===t,e.scrollDom=e.isScrollBody?document.body:e.getDomById(t),e.scrollDom){e.options=o||{};var s=navigator.userAgent,n=!!s.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),i="undefined"===typeof window.orientation,l=s.indexOf("Android")>-1||s.indexOf("Adr")>-1;e.os={ios:n,pc:i,android:l},e.isDownScrolling=!1,e.isUpScrolling=!1;var a=e.options.down&&e.options.down.callback;e.initDownScroll(),e.initUpScroll(),setTimeout((function(){e.optDown.use&&e.optDown.auto&&a&&(e.optDown.autoShowLoading?e.triggerDownScroll():e.optDown.callback&&e.optDown.callback(e)),e.optUp.use&&e.optUp.auto&&!e.isUpAutoLoad&&e.triggerUpScroll()}),30)}};return t.prototype.extendDownScroll=function(o){t.extend(o,{use:!0,auto:!0,autoShowLoading:!1,isLock:!1,isBoth:!1,offset:80,inOffsetRate:1,outOffsetRate:.2,bottomOffset:20,minAngle:45,hardwareClass:"mescroll-hardware",mustToTop:!1,warpId:null,warpClass:"mescroll-downwarp",resetClass:"mescroll-downwarp-reset",textInOffset:"下拉刷新",textOutOffset:"释放更新",textLoading:"加载中 ...",htmlContent:'
',inited:function(t,o){t.downTipDom=o.getElementsByClassName("downwarp-tip")[0],t.downProgressDom=o.getElementsByClassName("downwarp-progress")[0]},inOffset:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textInOffset),t.downProgressDom&&t.downProgressDom.classList.remove("mescroll-rotate")},outOffset:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textOutOffset)},onMoving:function(t,o,e){if(t.downProgressDom){var s=360*o;t.downProgressDom.style.webkitTransform="rotate("+s+"deg)",t.downProgressDom.style.transform="rotate("+s+"deg)"}},beforeLoading:function(t,o){return!1},showLoading:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textLoading),t.downProgressDom&&t.downProgressDom.classList.add("mescroll-rotate")},afterLoading:function(t){return 0},callback:function(t){t.resetUpScroll()}})},t.prototype.extendUpScroll=function(o){var e=this.os.pc;t.extend(o,{use:!0,auto:!0,isLock:!1,isBoth:!1,isBounce:!0,callback:null,page:{num:0,size:10,time:null},noMoreSize:5,offset:100,toTop:{warpId:null,src:null,html:null,offset:1e3,warpClass:"mescroll-totop",showClass:"mescroll-fade-in",hideClass:"mescroll-fade-out",fadeDuration:.5,duration:300,supportTap:!1,btnClick:null},loadFull:{use:!1,delay:500},empty:{warpId:null,icon:null,tip:"暂无相关数据~",btntext:"",btnClick:null,supportTap:!1},clearId:null,clearEmptyId:null,hardwareClass:"mescroll-hardware",warpId:null,warpClass:"mescroll-upwarp",htmlLoading:'加载中..
',htmlNodata:'-- END --
',inited:function(t,o){},showLoading:function(t,o){o.innerHTML=t.optUp.htmlLoading},showNoMore:function(t,o){o.innerHTML=t.optUp.htmlNodata},onScroll:null,scrollbar:{use:e,barClass:"mescroll-bar"},lazyLoad:{use:!1,attr:"imgurl",showClass:"mescroll-lazy-in",delay:500,offset:200}})},t.extend=function(o,e){if(!o)return e;for(var s in e)null==o[s]?o[s]=e[s]:"object"===typeof o[s]&&t.extend(o[s],e[s]);return o},t.prototype.initDownScroll=function(){var t=this;if(t.optDown=t.options.down||{},t.extendDownScroll(t.optDown),t.touchstartEvent=function(o){t.isScrollTo&&t.preventDefault(o),t.startPoint=t.getPoint(o),t.lastPoint=t.startPoint,t.maxTouchmoveY=t.getBodyHeight()-t.optDown.bottomOffset,t.inTouchend=!1;var e=t.getScrollTop();t.isKeepTop=0===e,t.os.pc&&e<=0&&(t.scrollDom.addEventListener("mousemove",t.touchmoveEvent,{passive:!1}),document.ondragstart=function(){return!1})},t.scrollDom.addEventListener("mousedown",t.touchstartEvent),t.scrollDom.addEventListener("touchstart",t.touchstartEvent),t.touchmoveEvent=function(o){if(t.startPoint){var e=t.getScrollTop();e>0&&(t.isKeepTop=!1);var s=t.getPoint(o),n=s.y-t.startPoint.y;if(n>0){if(e<=0&&(t.preventDefault(o),t.optDown.use&&!t.inTouchend&&!t.isDownScrolling&&!t.optDown.isLock&&(!t.isUpScrolling||t.isUpScrolling&&t.optUp.isBoth))){if(t.optDown.mustToTop&&!t.isKeepTop)return;var i=Math.abs(t.lastPoint.x-s.x),l=Math.abs(t.lastPoint.y-s.y),a=Math.sqrt(i*i+l*l);if(0!==a){var r=Math.asin(l/a)/Math.PI*180;if(r'+o.tip+"
"),o.btntext&&(n+=''+o.btntext+"
"),t.emptyDom=document.createElement("div"),t.emptyDom.className="mescroll-empty",t.emptyDom.innerHTML=n,s.appendChild(t.emptyDom),o.btnClick){var i=t.emptyDom.getElementsByClassName("empty-btn")[0];o.supportTap?i.addEventListener("tap",(function(e){e.stopPropagation(),t.preventDefault(e),o.btnClick()})):i.onclick=function(){o.btnClick()}}}}},t.prototype.removeEmpty=function(){this.removeChild(this.emptyDom)},t.prototype.showTopBtn=function(t){if(!this.topBtnShow){this.topBtnShow=!0;var o,e=this,s=e.optUp.toTop;if(null==e.toTopBtn)s.html?(e.toTopBtn=document.createElement("div"),e.toTopBtn.innerHTML=s.html):(e.toTopBtn=document.createElement("img"),e.toTopBtn.src=s.src),e.toTopBtn.className=s.warpClass,s.supportTap?e.toTopBtn.addEventListener("tap",(function(t){t.stopPropagation(),e.preventDefault(t);var o=s.btnClick&&s.btnClick();!0!==o&&e.scrollTo(0,e.optUp.toTop.duration)})):e.toTopBtn.onclick=function(){var t=s.btnClick&&s.btnClick();!0!==t&&e.scrollTo(0,e.optUp.toTop.duration)},s.warpId&&(o=e.getDomById(s.warpId)),o||(o=document.body),o.appendChild(e.toTopBtn);e.toTopBtn.classList.remove(s.hideClass),e.toTopBtn.classList.add(s.showClass),e.setTopBtnFadeDuration(t)}},t.prototype.hideTopBtn=function(t){this.topBtnShow&&this.toTopBtn&&(this.topBtnShow=!1,this.toTopBtn.classList.remove(this.optUp.toTop.showClass),this.toTopBtn.classList.add(this.optUp.toTop.hideClass),this.setTopBtnFadeDuration(t))},t.prototype.setTopBtnFadeDuration=function(t){if(this.toTopBtn){var o=(null!=t?t:this.optUp.toTop.fadeDuration)+"s";this.toTopBtn.style.animationDuration=o,this.toTopBtn.style.webkitAnimationDuration=o}},t.prototype.scrollTo=function(t,o){var e=this,s=e.getScrollTop(),n=t;if(n>0){var i=e.getScrollHeight()-e.getClientHeight();n>i&&(n=i)}else n=0;e.isScrollTo=!0,e.scrollDom.style.webkitOverflowScrolling="auto",e.getStep(s,n,(function(t){e.setScrollTop(t),t===n&&(e.scrollDom.style.webkitOverflowScrolling="touch",e.isScrollTo=!1)}),o)},t.prototype.getStep=function(t,o,e,s,n){var i=o-t;if(0!==s&&0!==i){s=s||300,n=n||30;var l=s/n,a=i/l,r=0,c=window.setInterval((function(){r