AppDetail.a8c6370e.js 36 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["AppDetail"],{"12ae":function(e,t,n){},2558:function(e,t,n){"use strict";var r=n("f0da"),a=n.n(r);a.a},3908:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n("433b");var r=n("d399");function a(e){e?r["a"].loading({duration:0,forbidClick:!0,message:"加载中..."}):r["a"].clear()}},"5a0c":function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",a="day",i="week",o="month",s="quarter",u="year",l=/^(\d{4})-?(\d{1,2})-?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d{1,3})?$/,c=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},d={s:f,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),a=n%60;return(t<=0?"+":"-")+f(r,2,"0")+":"+f(a,2,"0")},m:function(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,o),a=t-r<0,i=e.clone().add(n+(a?-1:1),o);return Number(-(n+(t-r)/(a?r-i:i-r))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(l){return{M:o,y:u,w:i,d:a,D:"date",h:r,m:n,s:t,ms:e,Q:s}[l]||String(l||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},p="en",h={};h[p]=m;var g=function(e){return e instanceof y},v=function(e,t,n){var r;if(!e)return p;if("string"==typeof e)h[e]&&(r=e),t&&(h[e]=t,r=e);else{var a=e.name;h[a]=e,r=a}return!n&&r&&(p=r),r||!n&&p},b=function(e,t){if(g(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new y(n)},S=d;S.l=v,S.i=g,S.w=function(e,t){return b(e,{locale:t.$L,utc:t.$u,$offset:t.$offset})};var y=function(){function f(e){this.$L=this.$L||v(e.locale,null,!0),this.parse(e)}var d=f.prototype;return d.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(S.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(l);if(r)return n?new Date(Date.UTC(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)):new Date(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)}return new Date(t)}(e),this.init()},d.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},d.$utils=function(){return S},d.isValid=function(){return!("Invalid Date"===this.$d.toString())},d.isSame=function(e,t){var n=b(e);return this.startOf(t)<=n&&n<=this.endOf(t)},d.isAfter=function(e,t){return b(e)<this.startOf(t)},d.isBefore=function(e,t){return this.endOf(t)<b(e)},d.$g=function(e,t,n){return S.u(e)?this[t]:this.set(n,e)},d.year=function(e){return this.$g(e,"$y",u)},d.month=function(e){return this.$g(e,"$M",o)},d.day=function(e){return this.$g(e,"$W",a)},d.date=function(e){return this.$g(e,"$D","date")},d.hour=function(e){return this.$g(e,"$H",r)},d.minute=function(e){return this.$g(e,"$m",n)},d.second=function(e){return this.$g(e,"$s",t)},d.millisecond=function(t){return this.$g(t,"$ms",e)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(e,s){var l=this,c=!!S.u(s)||s,f=S.p(e),d=function(e,t){var n=S.w(l.$u?Date.UTC(l.$y,t,e):new Date(l.$y,t,e),l);return c?n:n.endOf(a)},m=function(e,t){return S.w(l.toDate()[e].apply(l.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),l)},p=this.$W,h=this.$M,g=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case u:return c?d(1,0):d(31,11);case o:return c?d(1,h):d(0,h+1);case i:var b=this.$locale().weekStart||0,y=(p<b?p+7:p)-b;return d(c?g-y:g+(6-y),h);case a:case"date":return m(v+"Hours",0);case r:return m(v+"Minutes",1);case n:return m(v+"Seconds",2);case t:return m(v+"Milliseconds",3);default:return this.clone()}},d.endOf=function(e){return this.startOf(e,!1)},d.$set=function(i,s){var l,c=S.p(i),f="set"+(this.$u?"UTC":""),d=(l={},l[a]=f+"Date",l.date=f+"Date",l[o]=f+"Month",l[u]=f+"FullYear",l[r]=f+"Hours",l[n]=f+"Minutes",l[t]=f+"Seconds",l[e]=f+"Milliseconds",l)[c],m=c===a?this.$D+(s-this.$W):s;if(c===o||c===u){var p=this.clone().set("date",1);p.$d[d](m),p.init(),this.$d=p.set("date",Math.min(this.$D,p.daysInMonth())).toDate()}else d&&this.$d[d](m);return this.init(),this},d.set=function(e,t){return this.clone().$set(e,t)},d.get=function(e){return this[S.p(e)]()},d.add=function(e,s){var l,c=this;e=Number(e);var f=S.p(s),d=function(t){var n=b(c);return S.w(n.date(n.date()+Math.round(t*e)),c)};if(f===o)return this.set(o,this.$M+e);if(f===u)return this.set(u,this.$y+e);if(f===a)return d(1);if(f===i)return d(7);var m=(l={},l[n]=6e4,l[r]=36e5,l[t]=1e3,l)[f]||1,p=this.$d.getTime()+e*m;return S.w(p,this)},d.subtract=function(e,t){return this.add(-1*e,t)},d.format=function(e){var t=this;if(!this.isValid())return"Invalid Date";var n=e||"YYYY-MM-DDTHH:mm:ssZ",r=S.z(this),a=this.$locale(),i=this.$H,o=this.$m,s=this.$M,u=a.weekdays,l=a.months,f=function(e,r,a,i){return e&&(e[r]||e(t,n))||a[r].substr(0,i)},d=function(e){return S.s(i%12||12,e,"0")},m=a.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},p={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:S.s(s+1,2,"0"),MMM:f(a.monthsShort,s,l,3),MMMM:f(l,s),D:this.$D,DD:S.s(this.$D,2,"0"),d:String(this.$W),dd:f(a.weekdaysMin,this.$W,u,2),ddd:f(a.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(i),HH:S.s(i,2,"0"),h:d(1),hh:d(2),a:m(i,o,!0),A:m(i,o,!1),m:String(o),mm:S.s(o,2,"0"),s:String(this.$s),ss:S.s(this.$s,2,"0"),SSS:S.s(this.$ms,3,"0"),Z:r};return n.replace(c,(function(e,t){return t||p[e]||r.replace(":","")}))},d.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},d.diff=function(e,l,c){var f,d=S.p(l),m=b(e),p=6e4*(m.utcOffset()-this.utcOffset()),h=this-m,g=S.m(this,m);return g=(f={},f[u]=g/12,f[o]=g,f[s]=g/3,f[i]=(h-p)/6048e5,f[a]=(h-p)/864e5,f[r]=h/36e5,f[n]=h/6e4,f[t]=h/1e3,f)[d]||h,c?g:S.a(g)},d.daysInMonth=function(){return this.endOf(o).$D},d.$locale=function(){return h[this.$L]},d.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=v(e,t,!0);return r&&(n.$L=r),n},d.clone=function(){return S.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},f}();return b.prototype=y.prototype,b.extend=function(e,t){return e(t,y,b),b},b.locale=v,b.isDayjs=g,b.unix=function(e){return b(1e3*e)},b.en=h[p],b.Ls=h,b}))},"69b0":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"appDetail"},[e.headerStatus?n("m-header"):e._e(),n("van-cell-group",[n("van-field",{attrs:{disabled:"",label:"考级名称"},model:{value:e.form.examBaseName,callback:function(t){e.$set(e.form,"examBaseName",t)},expression:"form.examBaseName"}}),n("van-cell",{attrs:{disabled:"",title:"缴费状态"}},["PAY_WAIT"===e.form.status?n("p",{staticClass:"noPass"},[e._v("未缴费")]):n("p",{staticClass:"pass"},[e._v("已缴费")])]),n("van-field",{attrs:{disabled:"",label:"考试日期"},model:{value:e.form.examStartTime,callback:function(t){e.$set(e.form,"examStartTime",t)},expression:"form.examStartTime"}}),n("van-cell",{attrs:{title:"专业等级"}},[e._v("\n "+e._s(e.form.subjectName)+"("+e._s(e._f("formatLevel")(e.form.level))+")\n ")]),e._l(e.performInfo,(function(t,r){return n("van-cell",{key:r,attrs:{title:"练习曲"+e.numberToCN(r),"is-link":""},on:{click:function(t){return e.onOpen("perform",r)}}},[e._v("\n "+e._s(t.songName)+" "+e._s(t.songAuthor?"-"+t.songAuthor:t.songAuthor)+"\n ")])})),e._l(e.practiceInfo,(function(t,r){return n("van-cell",{key:r,attrs:{title:"演奏曲"+e.numberToCN(r),"is-link":""},on:{click:function(t){return e.onOpen("practice",r)}}},[e._v("\n "+e._s(t.songName)+" "+e._s(t.songAuthor?"-"+t.songAuthor:t.songAuthor)+"\n ")])})),n("van-field",{attrs:{disabled:"",label:"考级证书"},scopedSlots:e._u([{key:"input",fn:function(){return[n("van-uploader",{attrs:{name:"certificate","before-read":e.beforeRead,"before-delete":e.beforeDelete,"after-read":e.afterRead,accept:"image/*",disabled:"",deletable:!1,"max-count":1},model:{value:e.uploadCertificate,callback:function(t){e.uploadCertificate=t},expression:"uploadCertificate"}})]},proxy:!0}]),model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}}),n("van-cell",{attrs:{disabled:"",title:"乐理等级"}},[e._v("\n "+e._s(e._f("formatLevel")(e.form.lastMusicTheoryLevel))+"\n ")]),n("van-field",{attrs:{disabled:"",label:"乐理证书"},scopedSlots:e._u([{key:"input",fn:function(){return[n("van-uploader",{attrs:{name:"certificate2","before-read":e.beforeRead,"before-delete":e.beforeDelete,"after-read":e.afterRead,accept:"image/*","max-count":1},model:{value:e.uploadCertificate2,callback:function(t){e.uploadCertificate2=t},expression:"uploadCertificate2"}})]},proxy:!0}]),model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],2),n("van-cell-group",{staticStyle:{"margin-top":"20px"}},[n("van-cell",{attrs:{disabled:"",title:"报名审核"}},["AUDIT_PASS"===e.form.status?n("p",{staticClass:"pass"},[e._v("已通过")]):n("p",{staticClass:"noPass"},[e._v("未通过")])]),n("van-cell",{attrs:{title:"备注"}},[e._v("\n "+e._s(e.form.memo)+"\n ")])],1),n("van-button",{attrs:{type:"primary",round:"",block:""}},[e._v("重新提交")]),n("van-popup",{staticClass:"van-popup-song",attrs:{"close-on-click-overlay":!1},model:{value:e.songUpload.songStatus,callback:function(t){e.$set(e.songUpload,"songStatus",t)},expression:"songUpload.songStatus"}},[n("div",{staticClass:"song-popup"},[n("div",{staticClass:"title"},[e._v("自定义曲目")]),n("van-field",{attrs:{name:"songName",label:"曲名",placeholder:"请输入曲名"},scopedSlots:e._u([{key:"label",fn:function(){return[n("i",{staticStyle:{color:"#ee0a24"}},[e._v("*")]),e._v("曲名")]},proxy:!0}]),model:{value:e.songUpload.name,callback:function(t){e.$set(e.songUpload,"name",t)},expression:"songUpload.name"}}),n("van-field",{attrs:{name:"songAuthor",label:"作者",placeholder:"请输入作者"},scopedSlots:e._u([{key:"label",fn:function(){return[n("i",{staticStyle:{color:"#ffffff"}},[e._v("*")]),e._v("作者")]},proxy:!0}]),model:{value:e.songUpload.author,callback:function(t){e.$set(e.songUpload,"author",t)},expression:"songUpload.author"}}),n("van-field",{attrs:{readonly:"",clearable:""},scopedSlots:e._u([{key:"input",fn:function(){return["practice"==e.songUpload.indexName?n("van-uploader",{attrs:{name:e.songUpload.indexName+"-"+e.songUpload.index,"before-read":e.beforeRead,"before-delete":e.beforeDelete,"after-read":e.afterRead,multiple:"",accept:"image/*","max-count":5},model:{value:e.practiceUpload[e.songUpload.index],callback:function(t){e.$set(e.practiceUpload,e.songUpload.index,"string"===typeof t?t.trim():t)},expression:"practiceUpload[songUpload.index]"}}):e._e(),"perform"==e.songUpload.indexName?n("van-uploader",{attrs:{name:e.songUpload.indexName+"-"+e.songUpload.index,"before-read":e.beforeRead,"before-delete":e.beforeDelete,"after-read":e.afterRead,multiple:"",accept:"image/*","max-count":5},model:{value:e.performUpload[e.songUpload.index],callback:function(t){e.$set(e.performUpload,e.songUpload.index,"string"===typeof t?t.trim():t)},expression:"performUpload[songUpload.index]"}}):e._e()]},proxy:!0}])}),n("p",{staticClass:"song-popup-tips"},[n("i",{staticStyle:{color:"#ee0a24"}},[e._v("*")]),e._v("支持格式:png,jpg,bmp")]),n("div",{staticClass:"popup-group"},[n("span",{on:{click:e.onSaveCancel}},[e._v("取消")]),n("span",{staticClass:"popup-sure"},[e._v("确定")])])],1)])],1)},a=[],i=n("a34a"),o=n.n(i),s=n("6e6e"),u=n("cf45"),l=(n("5a0c"),n("3908")),c=n("6f45"),f=n.n(c),d=function(e,t,n){var r=0,a=3;if(null!=e){var i=e.height,o=e.width,s=2;null==s&&(s=r),"right"==t?(s++,s>a&&(s=r)):(s--,s<r&&(s=a));var u=90*s*Math.PI/180,l=n.getContext("2d");switch(s){case 0:n.width=o,n.height=i,l.drawImage(e,0,0);break;case 1:n.width=i,n.height=o,l.rotate(u),l.drawImage(e,0,-i);break;case 2:n.width=o,n.height=i,l.rotate(u),l.drawImage(e,-o,-i);break;case 3:n.width=i,n.height=o,l.rotate(u),l.drawImage(e,-o,0);break}}},m={getOrientation:function(e){return new Promise((function(t){f.a.getData(e,(function(){var e=f.a.getTag(this,"Orientation");t(e)}))}))},dataURLtoFile:function(e,t){var n=e.split(","),r=n[0].match(/:(.*?);/)[1],a=atob(n[1]),i=a.length,o=new Uint8Array(i);while(i--)o[i]=a.charCodeAt(i);return new File([o],t,{type:r})},rotateImage:function(e,t,n,r){var a=document.createElement("canvas"),i=a.getContext("2d");if(i.save(),a.width=n,a.height=t,""!=r&&1!=r)switch(r){case 6:d(e,"left",a);break;case 8:d(e,"right",a);break;case 3:d(e,"right",a),d(e,"right",a);break}return i.restore(),a.toDataURL("image/jpeg")}},p=n("8900"),h=n("736c");function g(e,t,n,r,a,i,o){try{var s=e[i](o),u=s.value}catch(l){return void n(l)}s.done?t(u):Promise.resolve(u).then(r,a)}function v(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var i=e.apply(t,n);function o(e){g(i,r,a,o,s,"next",e)}function s(e){g(i,r,a,o,s,"throw",e)}o(void 0)}))}}var b={name:"appDetail",components:{MHeader:s["a"]},data:function(){var e=this.$route.query;return{headerStatus:!1,examRegistrationId:e.examRegistrationId,form:{paymentOrderNo:null,examBaseName:null,subjectName:null,level:null,status:null,examStartTime:null,lastExamCertificateUrl:null,lastMusicTheoryLevel:null,lastMusicTheoryCertificateUrl:null,memo:null},uploadCertificate:[],uploadCertificate2:[],songUpload:{songStatus:!1,indexName:null,index:null,name:null,author:null},performUpload:[],performInfo:[],practiceUpload:[],practiceInfo:[]}},mounted:function(){var e=this.$route.query;e.Authorization&&localStorage.setItem("Authorization",decodeURI(e.Authorization)),Object(u["a"])().android||Object(u["a"])().iPhone?document.title="报考详情":this.headerStatus=!0,this.__init()},methods:{__init:function(){var e=v(o.a.mark((function e(){var t,n,r,a,i=this;return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return Object(l["a"])(!0),e.prev=1,e.next=4,Object(h["a"])({page:1,rows:20,examRegistrationId:this.examRegistrationId});case 4:t=e.sent,n=t.data,200==n.code&&(r=n.data.rows?n.data.rows[0]:{},this.form={paymentOrderNo:r.paymentOrderNo,examBaseName:r.examBaseName,subjectName:r.subjectName,level:r.level,status:r.status,examStartTime:r.examStartTime,lastExamCertificateUrl:r.lastExamCertificateUrl,lastMusicTheoryLevel:r.lastMusicTheoryLevel,lastMusicTheoryCertificateUrl:r.lastMusicTheoryCertificateUrl,memo:r.memo},r.lastExamCertificateUrl&&(this.uploadCertificate=[{url:r.lastExamCertificateUrl}]),r.lastMusicTheoryCertificateUrl&&(this.uploadCertificate2=[{url:r.lastMusicTheoryCertificateUrl}]),a=r.songJson?JSON.parse(r.songJson):[],console.log(a),a.forEach((function(e){var t=e.uploadUrl.split(","),n=[];t.forEach((function(e){n.push({url:e})})),"PRACTICE"===e.type?(i.practiceUpload.push(n),i.practiceInfo.push(e)):"PERFORM"===e.type&&(i.performUpload.push(n),i.performInfo.push(e))})),console.log({practiceInfo:this.practiceInfo,practiceUpload:this.practiceUpload,performInfo:this.performInfo,performUpload:this.performUpload})),e.next=11;break;case 9:e.prev=9,e.t0=e["catch"](1);case 11:Object(l["a"])(!1);case 12:case"end":return e.stop()}}),e,this,[[1,9]])})));function t(){return e.apply(this,arguments)}return t}(),onOpen:function(e,t){var n=this.songUpload;n.indexName=e,n.index=t;var r=this.practiceInfo[t],a=this.performInfo[t];"perform"==e?(n.name=a?a.songName:null,n.author=a?a.songAuthor:null):"practice"==e&&(n.name=r?r.songName:null,n.author=r?r.songAuthor:null),n.songStatus=!0},beforeRead:function(e){var t=e.size/1024/1024<5;return t?new Promise((function(t){m.getOrientation(e).then((function(n){if(n&&""!=n&&1!=n){var r=new FileReader,a=new Image;r.onload=function(r){a.src=r.target.result,a.onload=function(){var r=m.rotateImage(a,a.width,a.height,n),i=m.dataURLtoFile(r,e.name);t(i)}},r.readAsDataURL(e)}else t(e)}))})):(this.$toast("上传图片大小不能超过 5MB"),!1)},beforeDelete:function(e,t){var n=t.name.split("-"),r=this.form;return"certificate2"==n[0]?r.lastMusicTheoryCertificateUrl="":"certificate"==n[0]&&(r.lastExamCertificateUrl=""),!0},afterRead:function(){var e=v(o.a.mark((function e(t,n){var r,a,i,s,u;return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=n.name.split("-"),e.prev=1,t.status="uploading",t.message="上传中...",a=new FormData,a.append("file",t.file),e.next=8,Object(p["q"])(a);case 8:if(i=e.sent,s=i.data,200!=s.code){e.next=16;break}t.status="done",u=this.form,"certificate2"==r[0]?u.lastMusicTheoryCertificateUrl=s.data.url:"certificate"==r[0]?u.lastExamCertificateUrl=s.data.url:("practiceNum"==r[0]||"performNum"==r[0])&&(t.url=s.data.url),e.next=20;break;case 16:return t.status="failed",t.message="上传失败",this.$toast(s.msg),e.abrupt("return",!1);case 20:e.next=25;break;case 22:return e.prev=22,e.t0=e["catch"](1),e.abrupt("return",!1);case 25:case"end":return e.stop()}}),e,this,[[1,22]])})));function t(t,n){return e.apply(this,arguments)}return t}(),onSaveCancel:function(){this.songUpload.songStatus=!1},numberToCN:function(e){var t={0:"一",1:"二",2:"三",3:"四",4:"五"};return t[e]}},filters:{filterStatus:function(e){var t={PAY_WAIT:"未缴费",AUDIT_WAIT:"等待审核",AUDIT_PASS:"通过",AUDIT_REJECT:"拒绝",REFUNDED:"已退款"};return t[e]}}},S=b,y=(n("bd33"),n("2877")),x=Object(y["a"])(S,r,a,!1,null,"37d79618",null);t["default"]=x.exports},"6e6e":function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"mheader"},[n("header",{staticClass:"m-nav-header",class:[{fixed:e.isFixed},{headerColor:e.isColor}]},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isBack,expression:"isBack"}],staticClass:"m-nav-bar__left",on:{click:e.goBack}},[n("van-icon",{staticClass:"arrow-left",attrs:{name:"arrow-left"}})],1),n("div",{staticClass:"m-nav-bar__title"},[e._t("default",[e._v(e._s(e.name?e.name:e.$route.meta.description))])],2),n("div",{staticClass:"m-nav-bar__right"},[e._t("right")],2)])])},a=[],i={name:"mheader",props:{name:String,isBack:{type:Boolean,default:!0},isFixed:{type:Boolean,default:!0},isColor:{type:Boolean,default:!1},backUrl:{type:Object,default:function(){return{callBack:null,status:!1,path:"",params:{}}}}},data:function(){return{title:this.name,backUrlParams:this.backUrl}},methods:{goBack:function(){var e=this.backUrlParams;"function"==typeof e.callBack?e.callBack():e.status?this.$router.push({path:e.path,query:e.params}):history.go(-1)}}},o=i,s=(n("2558"),n("2877")),u=Object(s["a"])(o,r,a,!1,null,"9865a7b0",null);t["a"]=u.exports},"6f45":function(e,t,r){var a,i;(function(){var r=!1,o=function(e){return e instanceof o?e:this instanceof o?void(this.EXIFwrapped=e):new o(e)};e.exports&&(t=e.exports=o),t.EXIF=o;var s=o.Tags={36864:"ExifVersion",40960:"FlashpixVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",37121:"ComponentsConfiguration",37122:"CompressedBitsPerPixel",37500:"MakerNote",37510:"UserComment",40964:"RelatedSoundFile",36867:"DateTimeOriginal",36868:"DateTimeDigitized",37520:"SubsecTime",37521:"SubsecTimeOriginal",37522:"SubsecTimeDigitized",33434:"ExposureTime",33437:"FNumber",34850:"ExposureProgram",34852:"SpectralSensitivity",34855:"ISOSpeedRatings",34856:"OECF",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",37380:"ExposureBias",37381:"MaxApertureValue",37382:"SubjectDistance",37383:"MeteringMode",37384:"LightSource",37385:"Flash",37396:"SubjectArea",37386:"FocalLength",41483:"FlashEnergy",41484:"SpatialFrequencyResponse",41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:"FocalPlaneResolutionUnit",41492:"SubjectLocation",41493:"ExposureIndex",41495:"SensingMethod",41728:"FileSource",41729:"SceneType",41730:"CFAPattern",41985:"CustomRendered",41986:"ExposureMode",41987:"WhiteBalance",41988:"DigitalZoomRation",41989:"FocalLengthIn35mmFilm",41990:"SceneCaptureType",41991:"GainControl",41992:"Contrast",41993:"Saturation",41994:"Sharpness",41995:"DeviceSettingDescription",41996:"SubjectDistanceRange",40965:"InteroperabilityIFDPointer",42016:"ImageUniqueID"},u=o.TiffTags={256:"ImageWidth",257:"ImageHeight",34665:"ExifIFDPointer",34853:"GPSInfoIFDPointer",40965:"InteroperabilityIFDPointer",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",274:"Orientation",277:"SamplesPerPixel",284:"PlanarConfiguration",530:"YCbCrSubSampling",531:"YCbCrPositioning",282:"XResolution",283:"YResolution",296:"ResolutionUnit",273:"StripOffsets",278:"RowsPerStrip",279:"StripByteCounts",513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",301:"TransferFunction",318:"WhitePoint",319:"PrimaryChromaticities",529:"YCbCrCoefficients",532:"ReferenceBlackWhite",306:"DateTime",270:"ImageDescription",271:"Make",272:"Model",305:"Software",315:"Artist",33432:"Copyright"},l=o.GPSTags={0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude",5:"GPSAltitudeRef",6:"GPSAltitude",7:"GPSTimeStamp",8:"GPSSatellites",9:"GPSStatus",10:"GPSMeasureMode",11:"GPSDOP",12:"GPSSpeedRef",13:"GPSSpeed",14:"GPSTrackRef",15:"GPSTrack",16:"GPSImgDirectionRef",17:"GPSImgDirection",18:"GPSMapDatum",19:"GPSDestLatitudeRef",20:"GPSDestLatitude",21:"GPSDestLongitudeRef",22:"GPSDestLongitude",23:"GPSDestBearingRef",24:"GPSDestBearing",25:"GPSDestDistanceRef",26:"GPSDestDistance",27:"GPSProcessingMethod",28:"GPSAreaInformation",29:"GPSDateStamp",30:"GPSDifferential"},c=o.IFD1Tags={256:"ImageWidth",257:"ImageHeight",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",273:"StripOffsets",274:"Orientation",277:"SamplesPerPixel",278:"RowsPerStrip",279:"StripByteCounts",282:"XResolution",283:"YResolution",284:"PlanarConfiguration",296:"ResolutionUnit",513:"JpegIFOffset",514:"JpegIFByteCount",529:"YCbCrCoefficients",530:"YCbCrSubSampling",531:"YCbCrPositioning",532:"ReferenceBlackWhite"},f=o.StringValues={ExposureProgram:{0:"Not defined",1:"Manual",2:"Normal program",3:"Aperture priority",4:"Shutter priority",5:"Creative program",6:"Action program",7:"Portrait mode",8:"Landscape mode"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{0:"Unknown",1:"Daylight",2:"Fluorescent",3:"Tungsten (incandescent light)",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 - 5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"},Flash:{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"},SensingMethod:{1:"Not defined",2:"One-chip color area sensor",3:"Two-chip color area sensor",4:"Three-chip color area sensor",5:"Color sequential area sensor",7:"Trilinear sensor",8:"Color sequential linear sensor"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night scene"},SceneType:{1:"Directly photographed"},CustomRendered:{0:"Normal process",1:"Custom process"},WhiteBalance:{0:"Auto white balance",1:"Manual white balance"},GainControl:{0:"None",1:"Low gain up",2:"High gain up",3:"Low gain down",4:"High gain down"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low saturation",2:"High saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},SubjectDistanceRange:{0:"Unknown",1:"Macro",2:"Close view",3:"Distant view"},FileSource:{3:"DSC"},Components:{0:"",1:"Y",2:"Cb",3:"Cr",4:"R",5:"G",6:"B"}};function d(e){return!!e.exifdata}function m(e,t){t=t||e.match(/^data\:([^\;]+)\;base64,/im)[1]||"",e=e.replace(/^data\:([^\;]+)\;base64,/gim,"");for(var n=atob(e),r=n.length,a=new ArrayBuffer(r),i=new Uint8Array(a),o=0;o<r;o++)i[o]=n.charCodeAt(o);return a}function p(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="blob",n.onload=function(e){200!=this.status&&0!==this.status||t(this.response)},n.send()}function h(e,t){function n(n){var r=g(n);e.exifdata=r||{};var a=v(n);if(e.iptcdata=a||{},o.isXmpEnabled){var i=I(n);e.xmpdata=i||{}}t&&t.call(e)}if(e.src)if(/^data\:/i.test(e.src)){var a=m(e.src);n(a)}else if(/^blob\:/i.test(e.src)){var i=new FileReader;i.onload=function(e){n(e.target.result)},p(e.src,(function(e){i.readAsArrayBuffer(e)}))}else{var s=new XMLHttpRequest;s.onload=function(){if(200!=this.status&&0!==this.status)throw"Could not load image";n(s.response),s=null},s.open("GET",e.src,!0),s.responseType="arraybuffer",s.send(null)}else if(self.FileReader&&(e instanceof self.Blob||e instanceof self.File)){i=new FileReader;i.onload=function(e){r&&console.log("Got file of length "+e.target.result.byteLength),n(e.target.result)},i.readAsArrayBuffer(e)}}function g(e){var t=new DataView(e);if(r&&console.log("Got file of length "+e.byteLength),255!=t.getUint8(0)||216!=t.getUint8(1))return r&&console.log("Not a valid JPEG"),!1;var n,a=2,i=e.byteLength;while(a<i){if(255!=t.getUint8(a))return r&&console.log("Not a valid marker at offset "+a+", found: "+t.getUint8(a)),!1;if(n=t.getUint8(a+1),r&&console.log(n),225==n)return r&&console.log("Found 0xFFE1 marker"),D(t,a+4,t.getUint16(a+2)-2);a+=2+t.getUint16(a+2)}}function v(e){var t=new DataView(e);if(r&&console.log("Got file of length "+e.byteLength),255!=t.getUint8(0)||216!=t.getUint8(1))return r&&console.log("Not a valid JPEG"),!1;var n=2,a=e.byteLength,i=function(e,t){return 56===e.getUint8(t)&&66===e.getUint8(t+1)&&73===e.getUint8(t+2)&&77===e.getUint8(t+3)&&4===e.getUint8(t+4)&&4===e.getUint8(t+5)};while(n<a){if(i(t,n)){var o=t.getUint8(n+7);o%2!==0&&(o+=1),0===o&&(o=4);var s=n+8+o,u=t.getUint16(n+6+o);return S(e,s,u)}n++}}var b={120:"caption",110:"credit",25:"keywords",55:"dateCreated",80:"byline",85:"bylineTitle",122:"captionWriter",105:"headline",116:"copyright",15:"category"};function S(e,t,n){var r,a,i,o,s=new DataView(e),u={},l=t;while(l<t+n)28===s.getUint8(l)&&2===s.getUint8(l+1)&&(o=s.getUint8(l+2),o in b&&(i=s.getInt16(l+3),i+5,a=b[o],r=U(s,l+5,i),u.hasOwnProperty(a)?u[a]instanceof Array?u[a].push(r):u[a]=[u[a],r]:u[a]=r)),l++;return u}function y(e,t,n,a,i){var o,s,u,l=e.getUint16(n,!i),c={};for(u=0;u<l;u++)o=n+12*u+2,s=a[e.getUint16(o,!i)],!s&&r&&console.log("Unknown tag: "+e.getUint16(o,!i)),c[s]=x(e,o,t,n,i);return c}function x(e,t,n,r,a){var i,o,s,u,l,c,f=e.getUint16(t+2,!a),d=e.getUint32(t+4,!a),m=e.getUint32(t+8,!a)+n;switch(f){case 1:case 7:if(1==d)return e.getUint8(t+8,!a);for(i=d>4?m:t+8,o=[],u=0;u<d;u++)o[u]=e.getUint8(i+u);return o;case 2:return i=d>4?m:t+8,U(e,i,d-1);case 3:if(1==d)return e.getUint16(t+8,!a);for(i=d>2?m:t+8,o=[],u=0;u<d;u++)o[u]=e.getUint16(i+2*u,!a);return o;case 4:if(1==d)return e.getUint32(t+8,!a);for(o=[],u=0;u<d;u++)o[u]=e.getUint32(m+4*u,!a);return o;case 5:if(1==d)return l=e.getUint32(m,!a),c=e.getUint32(m+4,!a),s=new Number(l/c),s.numerator=l,s.denominator=c,s;for(o=[],u=0;u<d;u++)l=e.getUint32(m+8*u,!a),c=e.getUint32(m+4+8*u,!a),o[u]=new Number(l/c),o[u].numerator=l,o[u].denominator=c;return o;case 9:if(1==d)return e.getInt32(t+8,!a);for(o=[],u=0;u<d;u++)o[u]=e.getInt32(m+4*u,!a);return o;case 10:if(1==d)return e.getInt32(m,!a)/e.getInt32(m+4,!a);for(o=[],u=0;u<d;u++)o[u]=e.getInt32(m+8*u,!a)/e.getInt32(m+4+8*u,!a);return o}}function C(e,t,n){var r=e.getUint16(t,!n);return e.getUint32(t+2+12*r,!n)}function w(e,t,n,r){var a=C(e,t+n,r);if(!a)return{};if(a>e.byteLength)return{};var i=y(e,t,t+a,c,r);if(i["Compression"])switch(i["Compression"]){case 6:if(i.JpegIFOffset&&i.JpegIFByteCount){var o=t+i.JpegIFOffset,s=i.JpegIFByteCount;i["blob"]=new Blob([new Uint8Array(e.buffer,o,s)],{type:"image/jpeg"})}break;case 1:console.log("Thumbnail image format is TIFF, which is not implemented.");break;default:console.log("Unknown thumbnail image format '%s'",i["Compression"])}else 2==i["PhotometricInterpretation"]&&console.log("Thumbnail image format is RGB, which is not implemented.");return i}function U(e,t,r){var a="";for(n=t;n<t+r;n++)a+=String.fromCharCode(e.getUint8(n));return a}function D(e,t){if("Exif"!=U(e,t,4))return r&&console.log("Not valid EXIF data! "+U(e,t,4)),!1;var n,a,i,o,c,d=t+6;if(18761==e.getUint16(d))n=!1;else{if(19789!=e.getUint16(d))return r&&console.log("Not valid TIFF data! (no 0x4949 or 0x4D4D)"),!1;n=!0}if(42!=e.getUint16(d+2,!n))return r&&console.log("Not valid TIFF data! (no 0x002A)"),!1;var m=e.getUint32(d+4,!n);if(m<8)return r&&console.log("Not valid TIFF data! (First offset less than 8)",e.getUint32(d+4,!n)),!1;if(a=y(e,d,d+m,u,n),a.ExifIFDPointer)for(i in o=y(e,d,d+a.ExifIFDPointer,s,n),o){switch(i){case"LightSource":case"Flash":case"MeteringMode":case"ExposureProgram":case"SensingMethod":case"SceneCaptureType":case"SceneType":case"CustomRendered":case"WhiteBalance":case"GainControl":case"Contrast":case"Saturation":case"Sharpness":case"SubjectDistanceRange":case"FileSource":o[i]=f[i][o[i]];break;case"ExifVersion":case"FlashpixVersion":o[i]=String.fromCharCode(o[i][0],o[i][1],o[i][2],o[i][3]);break;case"ComponentsConfiguration":o[i]=f.Components[o[i][0]]+f.Components[o[i][1]]+f.Components[o[i][2]]+f.Components[o[i][3]];break}a[i]=o[i]}if(a.GPSInfoIFDPointer)for(i in c=y(e,d,d+a.GPSInfoIFDPointer,l,n),c){switch(i){case"GPSVersionID":c[i]=c[i][0]+"."+c[i][1]+"."+c[i][2]+"."+c[i][3];break}a[i]=c[i]}return a["thumbnail"]=w(e,d,m,n),a}function I(e){if("DOMParser"in self){var t=new DataView(e);if(r&&console.log("Got file of length "+e.byteLength),255!=t.getUint8(0)||216!=t.getUint8(1))return r&&console.log("Not a valid JPEG"),!1;var n=2,a=e.byteLength,i=new DOMParser;while(n<a-4){if("http"==U(t,n,4)){var o=n-1,s=t.getUint16(n-2)-1,u=U(t,o,s),l=u.indexOf("xmpmeta>")+8;u=u.substring(u.indexOf("<x:xmpmeta"),l);var c=u.indexOf("x:xmpmeta")+10;u=u.slice(0,c)+'xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tiff="http://ns.adobe.com/tiff/1.0/" xmlns:plus="http://schemas.android.com/apk/lib/com.google.android.gms.plus" xmlns:ext="http://www.gettyimages.com/xsltExtension/1.0" xmlns:exif="http://ns.adobe.com/exif/1.0/" xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#" xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/" xmlns:xapGImg="http://ns.adobe.com/xap/1.0/g/img/" xmlns:Iptc4xmpExt="http://iptc.org/std/Iptc4xmpExt/2008-02-29/" '+u.slice(c);var f=i.parseFromString(u,"text/xml");return $(f)}n++}}}function P(e){var t={};if(1==e.nodeType){if(e.attributes.length>0){t["@attributes"]={};for(var n=0;n<e.attributes.length;n++){var r=e.attributes.item(n);t["@attributes"][r.nodeName]=r.nodeValue}}}else if(3==e.nodeType)return e.nodeValue;if(e.hasChildNodes())for(var a=0;a<e.childNodes.length;a++){var i=e.childNodes.item(a),o=i.nodeName;if(null==t[o])t[o]=P(i);else{if(null==t[o].push){var s=t[o];t[o]=[],t[o].push(s)}t[o].push(P(i))}}return t}function $(e){try{var t={};if(e.children.length>0)for(var n=0;n<e.children.length;n++){var r=e.children.item(n),a=r.attributes;for(var i in a){var o=a[i],s=o.nodeName,u=o.nodeValue;void 0!==s&&(t[s]=u)}var l=r.nodeName;if("undefined"==typeof t[l])t[l]=P(r);else{if("undefined"==typeof t[l].push){var c=t[l];t[l]=[],t[l].push(c)}t[l].push(P(r))}}else t=e.textContent;return t}catch(f){console.log(f.message)}}o.enableXmp=function(){o.isXmpEnabled=!0},o.disableXmp=function(){o.isXmpEnabled=!1},o.getData=function(e,t){return!((self.Image&&e instanceof self.Image||self.HTMLImageElement&&e instanceof self.HTMLImageElement)&&!e.complete)&&(d(e)?t&&t.call(e):h(e,t),!0)},o.getTag=function(e,t){if(d(e))return e.exifdata[t]},o.getIptcTag=function(e,t){if(d(e))return e.iptcdata[t]},o.getAllTags=function(e){if(!d(e))return{};var t,n=e.exifdata,r={};for(t in n)n.hasOwnProperty(t)&&(r[t]=n[t]);return r},o.getAllIptcTags=function(e){if(!d(e))return{};var t,n=e.iptcdata,r={};for(t in n)n.hasOwnProperty(t)&&(r[t]=n[t]);return r},o.pretty=function(e){if(!d(e))return"";var t,n=e.exifdata,r="";for(t in n)n.hasOwnProperty(t)&&("object"==typeof n[t]?n[t]instanceof Number?r+=t+" : "+n[t]+" ["+n[t].numerator+"/"+n[t].denominator+"]\r\n":r+=t+" : ["+n[t].length+" values]\r\n":r+=t+" : "+n[t]+"\r\n");return r},o.readFromBinaryFile=function(e){return g(e)},a=[],i=function(){return o}.apply(t,a),void 0===i||(e.exports=i)}).call(this)},"736c":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));n("4328");var r=n("981f").default;function a(e){return r({url:"/api-user/examRegistration/applyList",method:"get",params:e})}function i(e){return r({url:"/api-user/examRegistration/examList",method:"get",params:e})}},8900:function(e,t,n){"use strict";n.d(t,"n",(function(){return o})),n.d(t,"o",(function(){return s})),n.d(t,"l",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"i",(function(){return c})),n.d(t,"p",(function(){return f})),n.d(t,"k",(function(){return d})),n.d(t,"q",(function(){return m})),n.d(t,"h",(function(){return p})),n.d(t,"f",(function(){return h})),n.d(t,"g",(function(){return g})),n.d(t,"b",(function(){return v})),n.d(t,"j",(function(){return b})),n.d(t,"d",(function(){return S})),n.d(t,"e",(function(){return y})),n.d(t,"m",(function(){return x})),n.d(t,"a",(function(){return C}));var r=n("4328"),a=n.n(r),i=n("981f").default;function o(e){return i({url:"/api-auth/code/sendSms",method:"post",data:a.a.stringify(e)})}function s(e){return i({url:"/api-auth/smsLogin",method:"post",data:a.a.stringify(e)})}function u(e){return i({url:"/api-auth/user/noAuth/queryUserByPhone",method:"get",params:e})}function l(e){return i({url:"/api-user/examinationBasic/getInfo",method:"post",data:a.a.stringify(e)})}function c(e){return i({url:"/api-user/student/getStudent",method:"get",params:e})}function f(e){return i({url:"/api-user/student/updateInfo",method:"post",data:a.a.stringify(e)})}function d(e){return i({url:"/api-user/examRegistration/ocr",method:"post",data:e})}function m(e){return i({url:"/api-user/uploadFile",method:"post",data:e})}function p(e){return i({url:"/api-user/examSubject/getExamSubjects",method:"get",params:e})}function h(e){return i({url:"/api-user/examSubjectSong/getExamSubjectLevel",method:"get",params:e})}function g(e){return i({url:"/api-user/examSubjectSong/getExamSubjectSong",method:"get",params:e})}function v(e){return i({url:"/api-user/examRegistration/add",method:"post",data:e})}function b(e){return i({url:"/api-user/examMusicTheory/getTheoryLevelList",method:"get",params:e})}function S(e){return i({url:"/api-user/examOrder/getExamIngOrder",method:"get",params:e})}function y(e){return i({url:"/api-user/examRegistration/getExamRegistration",method:"get",params:e})}function x(e){return i({url:"/api-user/examRegistration/repay",method:"post",data:a.a.stringify(e)})}function C(e){return i({url:"/api-user/examOrder/closeOrder",method:"post",data:a.a.stringify(e)})}},a34a:function(e,t,n){e.exports=n("96cf")},bd33:function(e,t,n){"use strict";var r=n("12ae"),a=n.n(r);a.a},f0da:function(e,t,n){}}]);