chunk-3c4403c0.aef9f9c9.js 45 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3c4403c0"],{"0bfd":function(t,e,a){"use strict";var i=a("3334"),o=a.n(i);o.a},"0ccb":function(t,e,a){var i=a("50c4"),o=a("1148"),r=a("1d80"),n=Math.ceil,c=function(t){return function(e,a,c){var s,m,d=String(r(e)),_=d.length,l=void 0===c?" ":String(c),u=i(a);return u<=_||""==l?d:(s=u-_,m=o.call(l,n(s/l.length)),m.length>s&&(m=m.slice(0,s)),t?d+m:m+d)}};t.exports={start:c(!1),end:c(!0)}},1148:function(t,e,a){"use strict";var i=a("a691"),o=a("1d80");t.exports="".repeat||function(t){var e=String(o(this)),a="",r=i(t);if(r<0||r==1/0)throw RangeError("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(a+=e);return a}},"229d":function(t,e,a){"use strict";var i=a("a432"),o=a.n(i);o.a},2532:function(t,e,a){"use strict";var i=a("23e7"),o=a("5a34"),r=a("1d80"),n=a("ab13");i({target:"String",proto:!0,forced:!n("includes")},{includes:function(t){return!!~String(r(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},3334:function(t,e,a){},"4d90":function(t,e,a){"use strict";var i=a("23e7"),o=a("0ccb").start,r=a("9a0c");i({target:"String",proto:!0,forced:r},{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"5a34":function(t,e,a){var i=a("44e7");t.exports=function(t){if(i(t))throw TypeError("The method doesn't accept regular expressions");return t}},"701c":function(t,e,a){},"95c1":function(t,e,a){"use strict";var i=a("bcda"),o=a.n(i);o.a},9863:function(t,e,a){},"9a0c":function(t,e,a){var i=a("342f");t.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i)},a432:function(t,e,a){},ab13:function(t,e,a){var i=a("b622"),o=i("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(a){try{return e[o]=!1,"/./"[t](e)}catch(i){}}return!1}},b03c:function(t,e,a){"use strict";var i=a("701c"),o=a.n(i);o.a},bcda:function(t,e,a){},f434:function(t,e,a){"use strict";var i=a("9863"),o=a.n(i);o.a},fc98:function(t,e,a){"use strict";a.r(e);var i,o,r,n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{},[a("a",{staticClass:"examprocess-a",attrs:{href:"#"},on:{click:t.returnList}},[t._v("< 返回考试列表 ")]),a("div",{staticClass:"examprocess"},[a("div",{staticClass:"examprocess-header"},[a("div",{staticClass:"examprocess-header-left"},[a("div",{staticClass:"examprocess-header-left-top"},[t._v(" 考试名称:"+t._s(t.info.exam_name)+" ")]),a("div",{staticClass:"examprocess-header-left-bottom"},[a("div",{staticClass:"examprocess-header-left-bottom-left"},[t._v(" 考试日期:"+t._s(t.info.exam_date)+" ")]),a("div",{staticClass:"examprocess-header-left-bottom-right"},[t._v(" 阅卷方式:"+t._s(t.info.mark_type)+" ")])])]),a("div",{staticClass:"examprocess-header-right"},[t._v(" 共耗时:"+t._s(t.info.exam_total_time_consuming)+" ")])]),t._l(t.arrayList,(function(t,e){return a("div",{key:e,staticClass:"examprocess-body"},[a("Item",{attrs:{Item:t,index:e}})],1)}))],2)])},c=[],s=(a("99af"),a("4160"),a("b0c0"),a("b64b"),a("d3b7"),a("25f0"),a("4d90"),a("159b"),function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"exam-process-list-item"},[a("div",{staticClass:"examprocess-body-content"},[a("div",{staticClass:"examprocess-body-content-title"},[t._v(" "+t._s(t.Item.title)+" ")]),a("div",{staticClass:"examprocess-body-content-dot"},[a("div",{class:t.chooseType(t.Item.point),style:"background-color:"+t.Item.backgroundcolor},[t._v(" "+t._s(1==t.Item.point?"开始":4==t.Item.point?"结束":"")+" ")])]),a("div",{staticClass:"examprocess-body-content-date"},[t._v(" "+t._s(t.Item.date)+" ")]),a("div",{staticClass:"examprocess-body-content-time"},[t._v(" "+t._s(t.Item.time)+" ")]),a("div",{staticClass:"examprocess-body-content-details",style:"color:"+t.Item.color},[t._v(" "+t._s(t.Item.content)+" "),a("span",{staticClass:"examprocess-body-content-details-time",style:"color:"+t.Item.timecolor},[t._v(" "+t._s(t.Item.timeConsum)+" ")]),a("span",{staticClass:"examprocess-body-content-details-matter",style:"color:"+t.Item.othercolor},[t._v(" "+t._s(t.Item.other)+" ")]),a("span",{staticClass:"examprocess-body-content-details-button",on:{click:function(e){return t.showDialog(t.Item)}}},[t._v(" "+t._s(t.isShowButton(t.Item))+" ")])])]),a("el-dialog",{attrs:{visible:t.dialogshow_card,"show-close":!1,width:"26%",center:"",top:"20%"},on:{"update:visible":function(e){t.dialogshow_card=e}}},[a("div",{staticStyle:{height:"20px"}}),a("div",{staticStyle:{display:"flex","flex-direction":"column","align-items":"start",margin:"0px 20px"}},[a("div",{staticStyle:{"text-align":"center",width:"100%"}},[a("span",{staticStyle:{color:"#6abc69"}},[t._v("平均扫描耗时:")]),t._v(t._s(this.dialogshow_card_data.scan_time_avg))]),a("div",{staticStyle:{"text-align":"center",width:"100%"}},[a("span",{staticStyle:{color:"#6abc69"}},[t._v("答卷平均上传耗时:")]),t._v(t._s(this.dialogshow_card_data.upload_card_time_avg))]),a("div",{staticStyle:{"text-align":"center",width:"100%"}},[a("span",{staticStyle:{color:"#6abc69"}},[t._v("原卷平均上传耗时:")]),t._v(t._s(this.dialogshow_card_data.upload_paper_time_avg))])]),a("div",{staticStyle:{height:"20px"}})]),a("el-dialog",{attrs:{visible:t.dialogshow_backlog,"show-close":!1,width:"50%",center:"",top:"20%"},on:{"update:visible":function(e){t.dialogshow_backlog=e}}},[a("div",{staticStyle:{height:"20px"}}),a("class-detail",{attrs:{arrayList:t.dialogshow_backlog_data}}),a("div",{staticStyle:{height:"20px"}})],1),a("el-dialog",{attrs:{visible:t.dialogshow_class,"show-close":!1,width:"50%",center:"",top:"20%"},on:{"update:visible":function(e){t.dialogshow_class=e}}},[a("div",{staticStyle:{height:"20px"}}),a("class-detail",{attrs:{arrayList:t.dialogshow_class_data}}),a("div",{staticStyle:{height:"20px"}})],1),a("el-dialog",{staticClass:"lucency",attrs:{visible:t.dialogshow_product,"show-close":!1},on:{"update:visible":function(e){t.dialogshow_product=e}}},[t.Item.product_type?a("div",{staticStyle:{height:"30px","line-height":"30px","margin-bottom":"10px"}},[a("el-tabs",{attrs:{type:"border-card"},on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},t._l(Object.keys(t.dialogshow_product_data_list),(function(e){return a("el-tab-pane",{key:e,attrs:{label:t.productName(e),name:e}},[a("div",{staticStyle:{display:"flex",height:"30px","line-height":"30px","justify-content":"space-between","margin-bottom":"30px"}},[a("span",{staticStyle:{color:"#6abc69"}},[t._v("共计需生成"+t._s(t.student_count)+"人")]),a("el-button",{attrs:{type:"text"},on:{click:function(e){t.dialogshow_product_class=!0}}},[t._v("展开班级详情")])],1),a("product-detail",{attrs:{arrayList:t.dialogshow_product_data}})],1)})),1)],1):t._e(),a("el-dialog",{attrs:{"show-close":!1,width:"40%",visible:t.dialogshow_product_class,"append-to-body":""},on:{"update:visible":function(e){t.dialogshow_product_class=e}}},[t.Item.product_type?a("div",{staticStyle:{height:"30px","line-height":"30px","margin-bottom":"10px"}},[a("el-tabs",{attrs:{type:"border-card"},on:{"tab-click":t.handleClick_class},model:{value:t.activeName_class,callback:function(e){t.activeName_class=e},expression:"activeName_class"}},t._l(Object.keys(t.dialogshow_product_data_class_list),(function(e){return a("el-tab-pane",{key:e,attrs:{label:t.productName(e),name:e}},[a("div",{staticStyle:{display:"flex",height:"30px","line-height":"30px","justify-content":"space-between","margin-bottom":"30px"}},[a("span",{staticStyle:{color:"#6abc69"}},[t._v("共计需生成"+t._s(t.student_count_class)+"人")])]),a("product-detail-class",{attrs:{arrayList:t.dialogshow_product_data_class}})],1)})),1)],1):t._e()])],1)],1)}),m=[],d=(a("caad"),a("fb6a"),a("a9e3"),a("ac1f"),a("2532"),a("5319"),a("ade3")),_=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{},t._l(t.arrayList,(function(e,i){return a("div",{key:i,staticClass:"examprocess-body-content"},[a("div",{staticClass:"examprocess-body-content-title"},[t._v(" "+t._s(e.title)+" ")]),a("div",{staticClass:"examprocess-body-content-dot"},[a("div",{class:t.chooseType(e.point),style:"background-color:"+e.backgroundcolor},[t._v(" "+t._s(1==e.point?"开始":4==e.point?"结束":"")+" ")])]),a("div",{staticClass:"examprocess-body-content-date"},[t._v(" "+t._s(e.date)+" ")]),a("div",{staticClass:"examprocess-body-content-time"},[t._v(" "+t._s(e.time)+" ")]),a("div",{staticClass:"examprocess-body-content-details",style:"color:"+e.color},[t._v(" "+t._s(e.content)+" "),a("span",{staticClass:"examprocess-body-content-details-time",style:"color:"+e.timecolor},[t._v(" "+t._s(e.timeConsum)+" ")]),a("span",{staticClass:"examprocess-body-content-details-matter"},[t._v(" "+t._s(e.other)+" ")])])])})),0)},l=[],u=(i={name:"",components:{},props:{arrayList:{type:Array,defalut:[]}},computed:{},data:function(){return{}}},Object(d["a"])(i,"computed",{}),Object(d["a"])(i,"created",(function(){})),Object(d["a"])(i,"mounted",(function(){})),Object(d["a"])(i,"methods",{chooseType:function(t){switch(t){case 1:return"examprocess-body-content-dot-start";case 2:return"examprocess-body-content-dot-line";case 3:return"examprocess-body-content-dot-content";case 4:return"examprocess-body-content-dot-end"}}}),Object(d["a"])(i,"watch",{}),i),p=u,g=(a("0bfd"),a("2877")),h=Object(g["a"])(p,_,l,!1,null,"056b2478",null),v=h.exports,f=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{},t._l(t.arrayList,(function(e,i){return a("div",{key:i,staticClass:"examprocess-body-content"},[a("div",{staticClass:"examprocess-body-content-title"},[t._v(" "+t._s(e.title)+" ")]),a("div",{staticClass:"examprocess-body-content-dot"},[a("div",{class:t.chooseType(e.point),style:"background-color:"+e.backgroundcolor},[t._v(" "+t._s(1==e.point?"开始":4==e.point?"结束":"")+" ")])]),a("div",{staticClass:"examprocess-body-content-date"},[t._v(" "+t._s(e.date)+" ")]),a("div",{staticClass:"examprocess-body-content-time"},[t._v(" "+t._s(e.time)+" ")]),a("div",{staticClass:"examprocess-body-content-details",style:"color:"+e.color},[t._v(" "+t._s(e.content)+" "),a("span",{staticClass:"examprocess-body-content-details-time",style:"color:"+e.timecolor},[t._v(" "+t._s(e.timeConsum)+" ")]),a("span",{staticClass:"examprocess-body-content-details-matter"},[t._v(" "+t._s(e.other)+" ")])])])})),0)},b=[],w=(o={name:"",components:{},props:{arrayList:{type:Array,defalut:[]}},computed:{},data:function(){return{}}},Object(d["a"])(o,"computed",{}),Object(d["a"])(o,"created",(function(){})),Object(d["a"])(o,"mounted",(function(){})),Object(d["a"])(o,"methods",{chooseType:function(t){switch(t){case 1:return"examprocess-body-content-dot-start";case 2:return"examprocess-body-content-dot-line";case 3:return"examprocess-body-content-dot-content";case 4:return"examprocess-body-content-dot-end"}}}),Object(d["a"])(o,"watch",{}),o),T=w,D=(a("95c1"),Object(g["a"])(T,f,b,!1,null,"0884e7ef",null)),S=D.exports,I=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{},t._l(t.arrayList,(function(e,i){return a("div",{key:i,staticClass:"examprocess-body-content"},[a("div",{staticClass:"examprocess-body-content-title"},[t._v(" "+t._s(e.title)+" ")]),a("div",{staticClass:"examprocess-body-content-dot"},[a("div",{class:t.chooseType(e.point),style:"background-color:"+e.backgroundcolor},[t._v(" "+t._s(1==e.point?"开始":4==e.point?"结束":"")+" ")])]),a("div",{staticClass:"examprocess-body-content-date"},[t._v(" "+t._s(e.date)+" ")]),a("div",{staticClass:"examprocess-body-content-time"},[t._v(" "+t._s(e.time)+" ")]),a("div",{staticClass:"examprocess-body-content-details",style:"color:"+e.color},[t._v(" "+t._s(e.content)+" "),a("span",{staticClass:"examprocess-body-content-details-time",style:"color:"+e.timecolor},[t._v(" "+t._s(e.timeConsum)+" ")]),a("span",{staticClass:"examprocess-body-content-details-matter"},[t._v(" "+t._s(e.other)+" ")])])])})),0)},y=[],x=(r={name:"",components:{},props:{arrayList:{type:Array,defalut:[]}},computed:{},data:function(){return{}}},Object(d["a"])(r,"computed",{}),Object(d["a"])(r,"created",(function(){})),Object(d["a"])(r,"mounted",(function(){})),Object(d["a"])(r,"methods",{chooseType:function(t){switch(t){case 1:return"examprocess-body-content-dot-start";case 2:return"examprocess-body-content-dot-line";case 3:return"examprocess-body-content-dot-content";case 4:return"examprocess-body-content-dot-end"}}}),Object(d["a"])(r,"watch",{}),r),k=x,C=(a("f434"),Object(g["a"])(k,I,y,!1,null,"680c6f5f",null)),j=C.exports,O=a("1e04"),N="";function M(t){return O["a"].post("/exam/index".concat(N),t)}function E(t){return O["a"].post("/exam/productClassDetail".concat(N),t)}function L(t){return O["a"].post("/exam/productDetail".concat(N),t)}N="";var q,$=a("f1ed"),F=(q={name:"",components:{ClassDetail:v,ProductDetail:S,ProductDetailClass:j},props:{Item:Object,index:Number},computed:{},data:function(){return{dialogshow_card:!1,dialogshow_card_data:{},dialogshow_backlog:!1,dialogshow_backlog_data:[],dialogshow_class:!1,dialogshow_class_data:[],dialogshow_product:!1,dialogshow_product_data:[],dialogshow_product_data_list:[],student_count:"",activeName:"",dialogshow_product_class:!1,dialogshow_product_data_class:[],dialogshow_product_data_class_list:[],student_count_class:"",activeName_class:""}},watch:{dialogshow_product:{handler:function(t,e){this.activeName=""}},dialogshow_product_data:{handler:function(t,e){this.activeName=Object.keys(this.dialogshow_product_data_list)[0]}},dialogshow_product_class:{handler:function(t,e){var a=this;if(this.activeName_class="",t){var i={examGroupId:this.$route.query.examGroupId},o=Object($["b"])(i);E(o).then((function(t){a.dialogshow_product_data_class_list=t.data,a.activeName_class=Object.keys(a.dialogshow_product_data_class_list)[0],a.dialogshow_product_data_class=a.filterClass(t.data[Object.keys(t.data)[0]],a.productName(Object.keys(t.data)[0])),a.student_count_class=t.data[Object.keys(t.data)[0]].student_count}))}}},Item:{handler:function(t,e){},immediate:!0}}},Object(d["a"])(q,"computed",{}),Object(d["a"])(q,"created",(function(){})),Object(d["a"])(q,"mounted",(function(){})),Object(d["a"])(q,"methods",{handleClick:function(){this.dialogshow_product_data=this.filterProduct(this.dialogshow_product_data_list[this.activeName],this.productName(this.activeName)),this.student_count=this.dialogshow_product_data_list[this.activeName].student_count},handleClick_class:function(){this.dialogshow_product_data_class=this.filterClass(this.dialogshow_product_data_class_list[this.activeName_class],this.productName(this.activeName_class)),this.student_count_class=this.dialogshow_product_data_class_list[this.activeName_class].student_count},productName:function(t){switch(t){case"1":return"错题本";case"2":return"个性化学习方案";case"3":return"个性化学习宝";case"31":return"方法宝"}},isShowButton:function(t){return"答题卡已全部上传完成"==t.content?"查看详情":"已点击待办"==t.content||"已开始阅卷"==t.content?"展开班级详情":t.content&&t.content.includes("已开始生成产品")?"查看详情":""},showDialog:function(t){var e=this;if("答题卡已全部上传完成"==t.content&&(this.dialogshow_card=!0,this.dialogshow_card_data={scan_time_avg:t.scan_time_avg,upload_card_time_avg:t.upload_card_time_avg,upload_paper_time_avg:t.upload_paper_time_avg}),"已点击待办"==t.content&&(this.dialogshow_backlog=!0,this.dialogshow_backlog_data=t.classes),"已开始阅卷"==t.content&&(this.dialogshow_class=!0,this.dialogshow_class_data=this.filterMarking(t.class_marking_info,t.marking_start_time,t.marking_end_time)),t.content&&t.content.includes("已开始生成产品")){this.dialogshow_product=!0;var a={examGroupId:this.$route.query.examGroupId},i=Object($["b"])(a);L(i).then((function(t){e.dialogshow_product_data_list=t.data,e.dialogshow_product_data=e.filterProduct(t.data[Object.keys(t.data)[0]],e.productName(Object.keys(t.data)[0])),e.student_count=t.data[Object.keys(t.data)[0]].student_count}))}},filterMarking:function(t,e,a){var i=this,o=[];return o.push({title:"开始阅卷",point:3,date:this.revtimeToStringDate(e),time:this.revtimeToStringTime(e),content:"开始阅卷"}),o.push({title:"",point:2}),t.forEach((function(t,e){t.class_marking_end_time&&0!=t.class_marking_end_time?t.sortime=t.class_marking_end_time:t.sortime=Math.floor((new Date).getTime()/1e3)})),t&&t.sort((function(t,e){return t.sortime-e.sortime})),t.forEach((function(a,r){a.class_marking_end_time&&"0"!=a.class_marking_end_time?(o.push({title:"",point:3,date:0==r?i.revtimeToStringDate(e)==i.revtimeToStringDate(a.class_marking_end_time)?"":i.revtimeToStringDate(a.class_marking_end_time):i.revtimeToStringDate(t[r-1].class_marking_end_time)==i.revtimeToStringDate(a.class_marking_end_time)?"":i.revtimeToStringDate(a.class_marking_end_time),time:i.revtimeToStringTime(a.class_marking_end_time),content:"【".concat(a.class_name,"】已完成阅卷")}),o.push({title:"",point:2})):(o.push({title:"",point:3,date:0==r?i.revtimeToStringDate(e)==i.revtimeToStringDate(a.class_marking_end_time)?"":i.revtimeToStringDate(a.class_marking_end_time):i.revtimeToStringDate(t[r-1].class_marking_end_time)==i.revtimeToStringDate(a.class_marking_end_time)?"":i.revtimeToStringDate(a.class_marking_end_time),time:i.revtimeToStringTime(a.class_marking_end_time),content:"【".concat(a.class_name,"】已完成").concat(a.class_marking_process,"%"),color:"#cccccc",backgroundcolor:"#cccccc"}),o.push({title:"",point:2}))})),a&&"0"!=a&&o.push({title:"完成阅卷",point:3,date:this.revtimeToStringDate(a),time:this.revtimeToStringTime(a),content:"已全部完成阅卷"}),o},filterClass:function(t,e){var a=this;t.create&&t.create.forEach((function(t,e){t.product_create_time&&0!=t.product_create_time?t.sortime=t.product_create_time:t.sortime=Math.floor((new Date).getTime()/1e3)})),t.download&&t.download.forEach((function(t,e){t.product_download_time&&0!=t.product_download_time?t.sortime=t.product_download_time:t.sortime=Math.floor((new Date).getTime()/1e3)})),t.signature&&t.signature.forEach((function(t,e){t.signatureTime&&0!=t.signatureTime?t.sortime=Math.floor(new Date(t.signatureTime.replace(/-/g,"/")).getTime()/1e3):t.sortime=Math.floor((new Date).getTime()/1e3)})),t.create&&t.create.sort((function(t,e){return t.sortime-e.sortime})),t.download&&t.download.sort((function(t,e){return t.sortime-e.sortime})),t.signature&&t.signature.sort((function(t,e){return t.sortime-e.sortime})),t.create&&t.create.sort((function(t,e){return e.all_created-t.all_created})),t.download&&t.download.sort((function(t,e){return e.all_downloaded-t.all_downloaded}));var i=[];if(t.product_create_start_time&&"0"!=t.product_create_start_time&&t.create&&Object.keys(t.create).length>0){i.push({title:"生成",point:3,date:this.revtimeToStringDate(t.product_create_start_time),time:this.revtimeToStringTime(t.product_create_start_time),content:"【".concat(e,"】已开始生成")}),i.push({title:"",point:2}),Object.keys(t.create).forEach((function(e,o){1==t.create[e].all_created&&t.create[e].product_create_time&&"0"!=t.create[e].product_create_time?i.push({title:"",point:3,date:0==o?a.revtimeToStringDate(t.product_create_start_time)==a.revtimeToStringDate(t.create[e].product_create_time)?"":a.revtimeToStringDate(t.create[e].product_create_time):a.revtimeToStringDate(t.create[Object.keys(t.create)[o-1]].product_create_time)==a.revtimeToStringDate(t.create[e].product_create_time)?"":a.revtimeToStringDate(t.create[e].product_create_time),time:a.revtimeToStringTime(t.create[e].product_create_time),content:"【".concat(t.create[e].class_name,"】已全部生成"),color:"#606266"}):0==t.create[e].all_created&&t.create[e].product_create_time&&"0"!=t.create[e].product_create_time?i.push({title:"",point:3,content:"【".concat(t.create[e].class_name,"】生成中"),backgroundcolor:"#cccccc",color:"#cccccc"}):0!=t.create[e].all_created||t.create[e].product_create_time&&"0"!=t.create[e].product_create_time||i.push({title:"",point:3,content:"【".concat(t.create[e].class_name,"】未开始生成"),backgroundcolor:"#cccccc",color:"#cccccc"}),i.push({title:"",point:2})}));var o=0;Object.keys(t.create).forEach((function(e){1==t.create[e].all_created&&o++})),o==Object.keys(t.create).length&&(i.push({title:"",point:3,content:"【".concat(e,"】已全部生成完成"),date:"",time:this.revtimeToStringTime(t.create[Object.keys(t.create)[Object.keys(t.create).length-1]].product_create_time),timeConsum:"生成".concat(this.timeConsum(t.product_create_start_time,t.product_create_end_time))}),i.push({title:"",point:2}))}if(t.product_download_start_time&&"0"!=t.product_download_start_time&&t.download&&Object.keys(t.download).length>0){i.push({title:"下载/云印",point:3,date:this.revtimeToStringDate(t.product_download_start_time),time:this.revtimeToStringTime(t.product_download_start_time),content:"【".concat(e,"】已开始下载/已发送云印任务")}),i.push({title:"",point:2}),Object.keys(t.download).forEach((function(e,o){1==t.download[e].all_downloaded&&t.download[e].product_download_time&&"0"!=t.download[e].product_download_time?i.push({title:"",point:3,date:0==o?a.revtimeToStringDate(t.product_download_start_time)==a.revtimeToStringDate(t.download[e].product_download_time)?"":a.revtimeToStringDate(t.download[e].product_download_time):a.revtimeToStringDate(t.download[e-1].product_download_time)==a.revtimeToStringDate(t.download[e].product_download_time)?"":a.revtimeToStringDate(t.download[e].product_download_time),time:a.revtimeToStringTime(t.download[e].product_download_time),content:"【".concat(t.download[e].class_name,"】已全部下载"),color:"#606266"}):0==t.download[e].all_downloaded&&t.download[e].product_download_time&&"0"!=t.download[e].product_download_time?i.push({title:"",point:3,content:"【".concat(t.download[e].class_name,"】下载中"),backgroundcolor:"#cccccc",color:"#cccccc"}):0!=t.download[e].all_downloaded||t.download[e].product_download_time&&"0"!=t.download[e].product_download_time||i.push({title:"",point:3,content:"【".concat(t.download[e].class_name,"】未开始下载"),backgroundcolor:"#cccccc",color:"#cccccc"}),i.push({title:"",point:2})}));var r=0;Object.keys(t.download).forEach((function(e){1==t.download[e].all_downloaded&&r++})),r==Object.keys(t.download).length&&(i.push({title:"",point:3,content:"【".concat(e,"】已全部下载完成"),date:"",time:this.revtimeToStringTime(t.download[Object.keys(t.download)[Object.keys(t.download).length-1]].product_download_time),timeConsum:"下载".concat(this.timeConsum(t.product_download_start_time,t.product_download_end_time))}),i.push({title:"",point:2}))}if(t.signature_begin_time&&t.signature&&t.signature.length>0){i.push({title:"签收",point:3,date:t.signature_begin_time.slice(0,10),time:t.signature_begin_time.slice(11),content:"【".concat(e,"】已开始签收")}),i.push({title:"",point:2}),t.signature.forEach((function(e,a){null!=e.signatureTime?i.push({title:"",point:3,date:0==a?t.signature_begin_time.slice(0,10)==e.signatureTime.slice(0,10)?"":e.signatureTime.slice(0,10):t.signature[a-1].signatureTime.slice(0,10)==e.signatureTime.slice(0,10)?"":e.signatureTime.slice(0,10),time:e.signatureTime.slice(11),content:"【".concat(e.clazzName,"】已签收"),color:"#606266"}):null==e.signatureTime&&i.push({title:"",point:3,content:"【".concat(e.clazzName,"】未签收"),backgroundcolor:"#cccccc",color:"#cccccc"}),i.push({title:"",point:2})}));var n=0;t.signature.forEach((function(t){null!=t.signatureTime&&n++})),n==t.signature.length&&i.push({title:"",point:3,content:"【".concat(e,"】已全部签收"),color:"#606266",date:"",time:t.signature[t.signature.length-1].signatureTime.slice(11),timeConsum:"签收".concat(this.timeConsum(new Date(t.signature_begin_time.replace(/-/g,"/")).getTime()/1e3,new Date(t.signature_end_time.replace(/-/g,"/")).getTime()/1e3))})}return i},filterProduct:function(t,e){var a=[];return t.create_start_time&&"0"!=t.create_start_time&&(a.push({title:"生成",point:3,date:this.revtimeToStringDate(t.create_start_time),time:this.revtimeToStringTime(t.create_start_time),content:"【".concat(e,"】已开始生成")}),a.push({title:"",point:2})),t.create_end_time&&"0"!=t.create_end_time&&(a.push({title:"",point:3,date:this.revtimeToStringDate(t.create_start_time)==this.revtimeToStringDate(t.create_end_time)?"":this.revtimeToStringDate(t.create_end_time),time:this.revtimeToStringTime(t.create_end_time),content:"【".concat(e,"】已全部生成"),color:"#606266",timeConsum:this.timeConsum(t.create_start_time,t.create_end_time)}),a.push({title:"",point:2})),t.download_first_time&&"0"!=t.download_first_time&&(a.push({title:"下载/云印",point:3,date:this.revtimeToStringDate(t.download_first_time),time:this.revtimeToStringTime(t.download_first_time),content:"【".concat(e,"】已开始下载")}),a.push({title:"",point:2})),t.download_last_time&&"0"!=t.download_last_time&&(a.push({title:"",point:3,date:this.revtimeToStringDate(t.download_first_time)==this.revtimeToStringDate(t.download_last_time)?"":this.revtimeToStringDate(t.download_last_time),time:this.revtimeToStringTime(t.download_last_time),content:"【".concat(e,"】已全部下载完成"),timeConsum:this.timeConsum(t.download_first_time,t.download_last_time)}),a.push({title:"",point:2})),t.signature.signature_begin_time&&"0"!=t.signature.signature_begin_time&&(a.push({title:"签收",point:3,date:t.signature.signature_begin_time.slice(0,10),time:t.signature.signature_begin_time.slice(11),content:"【".concat(e,"】已开始签收")}),a.push({title:"",point:2})),t.signature.signature_end_time&&"0"!=t.signature.signature_end_time&&(a.push({title:"",point:3,date:t.signature.signature_begin_time.slice(0,10)==t.signature.signature_end_time.slice(0,10)?"":t.signature.signature_end_time.slice(0,10),time:t.signature.signature_end_time.slice(11),content:"【".concat(e,"】已全部签收完成"),timeConsum:"签收".concat(this.timeConsum(new Date(t.signature.signature_begin_time.replace(/-/g,"/")).getTime()/1e3,new Date(t.signature.signature_end_time.replace(/-/g,"/")).getTime()/1e3))}),a.push({title:"",point:2})),a},chooseType:function(t){switch(t){case 1:return"examprocess-body-content-dot-start";case 2:return"examprocess-body-content-dot-line";case 3:return"examprocess-body-content-dot-content";case 4:return"examprocess-body-content-dot-end"}},timeConsum:function(t,e){if(!t||!e)return null;var a="",i="";if("single"==e?(a=t,i=""):(a=e-t,i="共耗时"),t==e)return"共耗时0秒";var o=a/86400>=1?Math.floor(a/86400):0,r=a%86400/3600>=1?Math.floor(a%86400/3600):0,n=a%86400%3600/60>=1?Math.floor(a%86400%3600/60):0,c=a%86400%3600%60%60>=1?Math.floor(a%86400%3600%60):0;return i+=o?"".concat(o,"天"):"",i+=r?"".concat(r,"小时"):"",i+=n?"".concat(n,"分钟"):"",i+=c?"".concat(c,"秒"):"",i},revtimeToStringDate:function(t){if(!t)return null;var e=new Date(1e3*t),a=e.getFullYear()+"-"+(e.getMonth()+1).toString().padStart(2,"0")+"-"+e.getDate().toString().padStart(2,"0");return a},revtimeToStringTime:function(t){if(!t)return null;var e=new Date(1e3*t),a=e.getHours().toString().padStart(2,"0")+":"+e.getMinutes().toString().padStart(2,"0")+":"+e.getSeconds().toString().padStart(2,"0");return a}}),q),G=F,P=(a("b03c"),Object(g["a"])(G,s,m,!1,null,"4a8c744e",null)),z=P.exports,A={name:"",components:{Item:z},filters:{},props:{},data:function(){return{resData:{},info:{},arrayList:[]}},computed:{},watch:{},created:function(){},mounted:function(){this.getData()},methods:{titleName:function(t){switch(t){case"0":return"线下阅卷";case"1":return"按题阅卷";case"2":return"按人阅卷";case"3":return"班级混合阅卷";case"4":return"班级单独阅卷"}},markType:function(t){switch(t){case"0":return"线下阅卷";case"1":return"按题阅卷";case"2":return"按人阅卷";case"3":return"班级混合阅卷";case"4":return"班级单独阅卷"}},getData:function(){var t=this,e={examGroupId:this.$route.query.examGroupId},a=Object($["b"])(e);M(a).then((function(e){t.resData=e.data,t.info={exam_name:e.data.exam_create.exam_name,exam_date:e.data.exam_create.exam_date,mark_type:t.markType(e.data.exam_create.mark_type),exam_total_time_consuming:e.data.exam_total_time_consuming},delete e.data.exam_total_time_consuming,e.data.product&&(e.data.productCreate={order_time:e.data.product.order_time,product_create_start:e.data.product.product_create_start,product_create_estimate:e.data.product.product_create_estimate,product_create_start_time:e.data.product.product_create_start_time,product_create_last:e.data.product.product_create_last,product_create_time_total:e.data.product.product_create_time_total,product_type:e.data.product.product_type,queue_create_time:e.data.product.queue_create_time},e.data.productDownload={order_time:e.data.product.order_time,product_first_download_time:e.data.product.product_first_download_time,product_last_download_time:e.data.product.product_last_download_time},e.data.productSignIn={order_time:e.data.product.order_time,signature_begin_time:e.data.product.signature&&e.data.product.signature.signature_begin_time,signature_end_time:e.data.product.signature&&e.data.product.signature.signature_end_time});var a=[];Object.keys(e.data).forEach((function(t){a.push({Item:e.data[t],name:t})})),t.arrayList=t.dealListData(a)}))},returnList:function(){window.history.go(-1)},dealListData:function(t){var e=this,a=[{title:"",point:1}];return t.forEach((function(t){var i={};if("exam_create"==t.name)a.push({title:"",point:2}),i.title="0"==t.Item.is_third?"组卷完成":"创建考试",i.point=3,i.date=e.revtimeToStringDate(t.Item.create_time),i.time=e.revtimeToStringTime(t.Item.create_time),i.content="0"==t.Item.is_third?"发送打印,组卷老师:".concat(t.Item.teacher):"创建考试",a.push(i),"0"==t.Item.is_third&&e.resData.card.print_time&&"0"!=e.resData.card.print_time&&(a.push({title:"",point:2}),a.push({point:3,title:"",date:e.revtimeToStringDate(t.Item.print_time),time:e.revtimeToStringTime(e.resData.card.print_time),content:"答题卡已下载"}));else if("card"==t.name)"0"==e.resData.exam_create.is_third&&e.resData.card.change_scan_time&&"0"!=e.resData.card.change_scan_time?(a.push({title:"",point:2}),a.push({point:3,title:"第三方切割答题卡",date:e.revtimeToStringDate(t.Item.change_scan_time),time:e.revtimeToStringTime(e.resData.card.change_scan_time),content:"切换扫描方式",timeConsum:""}),t.Item.order_time&&"0"!=t.Item.order_time&&void 0!=e.resData.card.online_card&&(a.push({title:"",point:2}),i.title="",i.point=3,i.date=e.revtimeToStringDate(t.Item.create_answer_card_time)==e.revtimeToStringDate(t.Item.change_scan_time)?"":e.revtimeToStringDate(t.Item.create_answer_card_time),i.time=e.revtimeToStringTime(t.Item.create_answer_card_time),i.content="答题卡制作完成",a.push(i))):"0"!=e.resData.exam_create.is_third&&(t.Item.order_time&&"0"!=t.Item.order_time&&void 0!=e.resData.card.online_card&&(a.push({title:"",point:2}),i.title=e.answerSheet(),i.point=3,i.date=e.revtimeToStringDate(t.Item.create_answer_card_time)==e.revtimeToStringDate(t.Item.create_time)?"":e.revtimeToStringDate(t.Item.create_answer_card_time),i.time=e.revtimeToStringTime(t.Item.create_answer_card_time),i.content="答题卡制作完成",a.push(i)),e.resData.card.print_time&&"0"!=e.resData.card.print_time&&"0"!=e.resData.exam_create.is_third&&(t.Item.create_answer_card_time<=t.Item.print_time||!t.Item.create_answer_card_time)&&(a.push({title:"",point:2}),a.push({point:3,title:"",date:t.Item.order_time&&"0"!=t.Item.order_time&&void 0!=e.resData.card.online_card?e.revtimeToStringDate(t.Item.print_time)==e.revtimeToStringDate(t.Item.create_answer_card_time)?"":e.revtimeToStringDate(t.Item.print_time):e.revtimeToStringDate(t.Item.print_time)==e.revtimeToStringDate(t.Item.change_scan_time)?"":e.revtimeToStringDate(t.Item.print_time),time:e.revtimeToStringTime(e.resData.card.print_time),content:"答题卡已下载",timeConsum:""})));else if("scan"==t.name&&t.Item.order_time){var o={};a.push({title:"",point:2}),o.title="0"==e.resData.exam_create.import_score_type?"答题卡扫描上传":"导入成绩",o.point=3,o.date=e.revtimeToStringDate(t.Item.order_time),o.time=e.revtimeToStringTime(t.Item.order_time),o.content="0"==e.resData.exam_create.import_score_type?"已成功上传第一份答题卡":"开始导入成绩",a.push(o),e.resData.scan&&e.resData.scan.start_upload_card_time&&e.resData.scan.end_upload_card_time?(a.push({title:"",point:2}),a.push({title:"",point:3,date:e.revtimeToStringDate(e.resData.scan.end_upload_card_time)==e.revtimeToStringDate(t.Item.order_time)?"":e.revtimeToStringDate(e.resData.scan.end_upload_card_time),time:e.revtimeToStringTime(e.resData.scan.end_upload_card_time),content:"0"==e.resData.exam_create.import_score_type?"答题卡已全部上传完成":"完成导入成绩",timeConsum:e.timeConsum(e.resData.scan.start_upload_card_time,e.resData.scan.end_upload_card_time),scan_time_avg:e.timeConsum(e.strFilter(e.resData.scan.scan_time_avg),"single"),upload_card_time_avg:e.timeConsum(e.strFilter(e.resData.scan.upload_card_time_avg),"single"),upload_paper_time_avg:e.timeConsum(e.strFilter(e.resData.scan.upload_paper_time_avg),"single")})):e.resData.scan&&e.resData.scan.uploaded_student&&(a.push({title:"",point:2}),a.push({title:"",point:3,content:"0"==e.resData.exam_create.import_score_type?"已上传".concat(e.resData.scan.uploaded_student,"份答题卡,预计还需上传").concat(e.resData.scan.all_student-e.resData.scan.uploaded_student,"份答题卡"):"已上传".concat(e.resData.scan.uploaded_student,"份成绩,预计还需上传").concat(e.resData.scan.all_student-e.resData.scan.uploaded_student,"份成绩"),color:"#cccccc",backgroundcolor:"#cccccc"}))}else if("backlog"==t.name&&t.Item.order_time){var r={title:"待办"};a.push({title:"",point:2}),r.point=3,r.date=e.revtimeToStringDate(t.Item.order_time),r.time=e.revtimeToStringTime(t.Item.order_time),r.content="已点击待办";var n=[];t.Item.classes.forEach((function(t,e){t.time&&0!=t.time?t.sortime=t.time:t.sortime=Math.floor((new Date).getTime()/1e3)})),t.Item.classes&&t.Item.classes.sort((function(t,e){return t.sortime-e.sortime})),t.Item.classes.forEach((function(t,a){n.push({title:0==a?"待办":"",point:3,date:e.revtimeToStringDate(t.time),time:e.revtimeToStringTime(t.time),content:t.time?"".concat(t.class_name,"已点击待办"):"".concat(t.class_name,"未点击待办"),color:t.time?"":"#cccccc",backgroundcolor:t.time?"":"#cccccc"}),n.push({title:"",point:2})})),r.classes=n,a.push(r)}else if("label"==t.name&&t.Item.order_time){if(t.Item.send_label_time&&"0"!=t.Item.send_label_time){a.push({title:"",point:2});var c={title:"标注",point:3};c.date=e.revtimeToStringDate(t.Item.send_label_time),c.time=e.revtimeToStringTime(t.Item.send_label_time),c.content="已发送标注",a.push(c)}if(t.Item.label_complete_time&&t.Item.label_complete_time.length>1){a.push({title:"",point:2});var s={};s.title=t.Item.send_label_time?"":"标注",s.point=3,s.date=e.revtimeToStringDate(e.resData.label.send_label_time)==e.revtimeToStringDate(t.Item.label_complete_time[0])?"":e.revtimeToStringDate(e.resData.label.label_complete_time[0]),s.time=e.revtimeToStringTime(t.Item.label_complete_time[0]),s.content="首次完成标注时间",s.timeConsum=e.timeConsum(e.resData.label.send_label_time,t.Item.label_complete_time[0]),a.push(s)}if(t.Item.label_complete_time&&t.Item.label_complete_time.length>0){a.push({title:"",point:2});var m={};m.title=t.Item.send_label_time?"":"标注",m.point=3,m.date=e.revtimeToStringDate(e.resData.label.send_label_time)==e.revtimeToStringDate(t.Item.label_complete_time[t.Item.label_complete_time.length-1])?"":e.revtimeToStringDate(e.resData.label.label_complete_time[t.Item.label_complete_time.length-1]),m.time=e.revtimeToStringTime(t.Item.label_complete_time[t.Item.label_complete_time.length-1]),m.content=t.Item.label_complete_time.length>1?"最终完成标注时间":"已完成标注",m.timeConsum=t.Item.label_complete_time.length>1?e.timeConsum(e.resData.label.send_label_time,t.Item.label_complete_time[t.Item.label_complete_time.length-1]):e.timeConsum(e.resData.label.send_label_time,t.Item.label_complete_time[0]),a.push(m)}else if((!t.Item.label_complete_time||0==t.Item.label_complete_time.length)&&t.Item.estimate_time){a.push({title:"",point:2});var d={title:"",point:3,content:"标注中",backgroundcolor:"#cccccc"};d.other="预计".concat(t.Item.estimate_time,"完成标注"),d.othercolor="#5fc898",a.push(d)}}else if("marking"==t.name&&t.Item.order_time){if(t.Item.marking_start_time&&"0"!=t.Item.marking_start_time){a.push({title:"",point:2});var _={title:"线上阅卷",point:3};_.date=e.revtimeToStringDate(t.Item.marking_start_time),_.time=e.revtimeToStringTime(t.Item.marking_start_time),_.content=t.Item.class_marking_info?"已开始阅卷":"已开始阅卷 ",_.class_marking_info=t.Item.class_marking_info,_.marking_start_time=t.Item.marking_start_time,_.marking_end_time=t.Item.marking_end_time,a.push(_)}if(t.Item.marking_end_time&&"0"!=t.Item.marking_end_time){a.push({title:"",point:2});var l={};l.title=t.Item.marking_start_time&&"0"!=t.Item.marking_start_time?"":"线上阅卷",l.point=3,l.date=e.revtimeToStringDate(t.Item.marking_start_time)==e.revtimeToStringDate(t.Item.marking_end_time)?"":e.revtimeToStringDate(t.Item.marking_end_time),l.time=e.revtimeToStringTime(t.Item.marking_end_time),l.content="已完成阅卷",l.timeConsum=e.timeConsum(t.Item.marking_start_time,t.Item.marking_end_time),l.timeConsum=e.timeConsum(t.Item.marking_start_time,t.Item.marking_end_time),a.push(l)}else{a.push({title:"",point:2});var u={title:"",point:3};u.content="已完成".concat(t.Item.marking_process,"%"),u.color="#999999",u.backgroundcolor="#999999",a.push(u)}}else if("productCreate"==t.name&&t.Item.order_time){if(t.Item.queue_create_time&&"0"!=t.Item.queue_create_time){a.push({title:"",point:2});var p={title:"生成内容产品",point:3};p.date=e.revtimeToStringDate(t.Item.queue_create_time+""),p.time=e.revtimeToStringTime(t.Item.queue_create_time+""),p.content="产品生成排队中,",p.backgroundcolor=t.Item.product_create_start_time&&"0"!=t.Item.product_create_start_time?"":"#999999",p.timeConsum="预计".concat(t.Item.product_create_estimate?t.Item.product_create_estimate:0,"分钟后开始生成"),a.push(p)}if(t.Item.product_create_start_time&&"0"!=t.Item.product_create_start_time){a.push({title:"",point:2});var g={title:"",point:3};g.date=e.revtimeToStringDate(e.resData.product.queue_create_time)==e.revtimeToStringDate(t.Item.product_create_start_time)?"":e.revtimeToStringDate(e.resData.product.product_create_start_time),g.time=e.revtimeToStringTime(t.Item.product_create_start_time),g.content="已开始生成产品,共需生成".concat(Object.keys(t.Item.product_type).length,"类产品"),g.backgroundcolor=t.Item.product_create_last&&"0"!=t.Item.product_create_last?"":"#999999",g.product_type=t.Item.product_type,a.push(g)}if(t.Item.product_create_last&&"0"!=t.Item.product_create_last){a.push({title:"",point:2});var h={title:"",point:3};h.date=e.revtimeToStringDate(e.resData.product.product_create_start_time)==e.revtimeToStringDate(t.Item.product_create_last)?"":e.revtimeToStringDate(e.resData.product.product_create_last),h.time=e.revtimeToStringTime(t.Item.product_create_last),h.content="所有产品已全部生成完成",h.timeConsum="生成共耗时".concat(t.Item.product_create_time_total),h.other=1==+e.resData.product.product_reset?"有重置":"",a.push(h)}}else if("productDownload"==t.name&&t.Item.order_time){if(t.Item.product_first_download_time&&"0"!=t.Item.product_first_download_time){a.push({title:"",point:2});var v={title:"下载内容产品",point:3};v.date=e.revtimeToStringDate(t.Item.product_first_download_time),v.time=e.revtimeToStringTime(t.Item.product_first_download_time),v.content="产品已开始下载/已发送云印任务",v.backgroundcolor=t.Item.product_last_download_time&&"0"!=t.Item.product_last_download_time?"":"#999999",a.push(v)}if(t.Item.product_last_download_time&&"0"!=t.Item.product_last_download_time){a.push({title:"",point:2});var f={};f.title=t.Item.product_first_download_time&&"0"!=t.Item.product_first_download_time?"":"下载内容产品",f.point=3,f.date=e.revtimeToStringDate(e.resData.product.product_first_download_time)==e.revtimeToStringDate(t.Item.product_last_download_time)?"":e.revtimeToStringDate(e.resData.product.product_last_download_time),f.time=e.revtimeToStringTime(t.Item.product_last_download_time),f.content="所有产品已全部下载完成",f.timeConsum=e.timeConsum(t.Item.product_first_download_time,t.Item.product_last_download_time),a.push(f)}}else if("productSignIn"==t.name&&t.Item.order_time){if(t.Item.signature_begin_time&&"0"!=t.Item.signature_begin_time){a.push({title:"",point:2});var b={title:"签收内容产品",point:3};b.date=e.revtimeToStringDate(t.Item.signature_begin_time),b.time=e.revtimeToStringTime(t.Item.signature_begin_time),b.content="已开始签收产品",b.backgroundcolor=t.Item.signature_end_time&&"0"!=t.Item.signature_end_time?"":"#999999",a.push(b)}if(t.Item.signature_end_time&&"0"!=t.Item.signature_end_time){a.push({title:"",point:2});var w={};w.title=t.Item.signature_begin_time?"":"签收内容产品",w.point=3,w.date=e.revtimeToStringDate(e.resData.product.signature_begin_time)==e.revtimeToStringDate(t.Item.signature_end_time)?"":e.revtimeToStringDate(e.resData.product.signature_end_time),w.time=e.revtimeToStringTime(t.Item.signature_end_time),w.content="所有产品已签收完成",a.push(w)}}else if("parse"==t.name&&t.Item.order_time&&"1"==e.resData.exam_create.is_third)if(e.resData.exam_create.topic_status||"0"==e.resData.exam_create.topic_status){if(t.Item.upload_topic_time&&"0"!=t.Item.upload_topic_time){a.push({title:"",point:2});var T={point:3,title:"上传试卷"};T.date=e.revtimeToStringDate(e.resData.parse.upload_topic_time),T.time=e.revtimeToStringTime(e.resData.parse.upload_topic_time),T.content="上传试卷",a.push(T)}if(t.Item.upload_answer_time&&"0"!=t.Item.upload_answer_time){a.push({title:"",point:2});var D={point:3,title:""};D.date=t.Item.upload_topic_time&&"0"!=t.Item.upload_topic_time&&e.revtimeToStringDate(e.resData.parse.upload_topic_time)==e.revtimeToStringDate(e.resData.parse.upload_answer_time)?"":e.revtimeToStringDate(e.resData.parse.upload_answer_time),D.time=e.revtimeToStringTime(e.resData.parse.upload_answer_time),D.content="上传答案",a.push(D)}if(t.Item.parse_complete_time&&"0"!=t.Item.parse_complete_time){a.push({title:"",point:2});var S={point:3,title:""};S.date=t.Item.upload_answer_time&&"0"!=t.Item.upload_answer_time?e.revtimeToStringDate(e.resData.parse.upload_answer_time)==e.revtimeToStringDate(e.resData.parse.parse_complete_time)?"":e.revtimeToStringDate(e.resData.parse.parse_complete_time):e.revtimeToStringDate(e.resData.parse.upload_topic_time)==e.revtimeToStringDate(e.resData.parse.parse_complete_time)?"":e.revtimeToStringDate(e.resData.parse.parse_complete_time),S.time=e.revtimeToStringTime(e.resData.parse.parse_complete_time),S.content=e.topicStatus(e.resData.exam_create.topic_status),a.push(S)}else{a.push({title:"",point:2});var I={point:3,title:""};I.content=e.topicStatus(e.resData.exam_create.topic_status),I.color="#999999",I.backgroundcolor="#999999",a.push(I)}}else{if(t.Item.upload_topic_time&&"0"!=t.Item.upload_topic_time){a.push({title:"",point:2});var y={title:"上传试卷",point:3};y.date=e.revtimeToStringDate(t.Item.upload_topic_time),y.time=e.revtimeToStringTime(t.Item.upload_topic_time),y.content="上传试卷",a.push(y)}if(t.Item.upload_answer_time&&"0"!=t.Item.upload_answer_time){a.push({title:"",point:2});var x={};x.title=t.Item.upload_topic_time?"":"上传试卷",x.point=3,x.date=e.revtimeToStringDate(e.resData.parse.upload_topic_time)==e.revtimeToStringDate(t.Item.upload_answer_time)?"":e.revtimeToStringDate(e.resData.parse.upload_answer_time),x.time=e.revtimeToStringTime(t.Item.upload_answer_time),x.content="上传答案",a.push(x)}}})),a.push({title:"",point:2}),a.push({title:"",point:4}),a},answerSheet:function(){var t=this.resData.card.online_card,e="";return e="0"==this.resData.exam_create.is_third?void 0==t?"word答题卡":"1"==t?"组卷在线答题卡":"第三方切割答题卡":"1"==t?"在线答题卡":"第三方切割答题卡",e},strFilter:function(t){if(t)return Math.ceil(t/1e3)},timeConsum:function(t,e){if(!t||!e)return null;var a="",i="";if("single"==e?(a=t,i=""):(a=e-t,i="共耗时"),t==e)return"共耗时0秒";var o=a/86400>=1?Math.floor(a/86400):0,r=a%86400/3600>=1?Math.floor(a%86400/3600):0,n=a%86400%3600/60>=1?Math.floor(a%86400%3600/60):0,c=a%86400%3600%60%60>=1?Math.floor(a%86400%3600%60):0;return i+=o?"".concat(o,"天"):"",i+=r?"".concat(r,"小时"):"",i+=n?"".concat(n,"分钟"):"",i+=c?"".concat(c,"秒"):"",i},revtimeToStringDate:function(t){if(!t)return null;var e=new Date(1e3*t),a=e.getFullYear()+"-"+(e.getMonth()+1).toString().padStart(2,"0")+"-"+e.getDate().toString().padStart(2,"0");return a},revtimeToStringTime:function(t){if(!t)return null;var e=new Date(1e3*t),a=e.getHours().toString().padStart(2,"0")+":"+e.getMinutes().toString().padStart(2,"0")+":"+e.getSeconds().toString().padStart(2,"0");return a},topicStatus:function(t){switch(t){case"0":return"等待解析";case"1":return"发送成功";case"2":return"解析成功";case"3":return"解析失败";case"4":return"第三方试卷提示:题型题量不一样";case"5":return"解析待校对"}}}},B=A,H=(a("229d"),Object(g["a"])(B,n,c,!1,null,"20504a3a",null));e["default"]=H.exports}}]);