app.undefined.1640325559672.js 13 KB

12
  1. (function(e){function n(n){for(var r,a,i=n[0],u=n[1],s=n[2],l=0,d=[];l<i.length;l++)a=i[l],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&d.push(o[a][0]),o[a]=0;for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);f&&f(n);while(d.length)d.shift()();return c.push.apply(c,s||[]),t()}function t(){for(var e,n=0;n<c.length;n++){for(var t=c[n],r=!0,a=1;a<t.length;a++){var i=t[a];0!==o[i]&&(r=!1)}r&&(c.splice(n--,1),e=u(u.s=t[0]))}return e}var r={},a={app:0},o={app:0},c=[];function i(e){return u.p+""+({}[e]||e)+".undefined.1640325559672.js"}function u(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,u),t.l=!0,t.exports}u.e=function(e){var n=[],t={"chunk-21e6c77a":1,"chunk-10262c66":1,"chunk-16ac80f2":1,"chunk-4ac3f39e":1,"chunk-555769aa":1,"chunk-b8535c5e":1,"chunk-bd0cb32a":1,"chunk-c7059ff2":1,"chunk-d091f112":1,"chunk-694f2643":1,"chunk-714d1258":1,"chunk-af4c5108":1,"chunk-b4271ece":1,"chunk-a2ac8fb0":1,"chunk-dcff337a":1,"chunk-2876b678":1,"chunk-fa3143e6":1,"chunk-9ef2e852":1};a[e]?n.push(a[e]):0!==a[e]&&t[e]&&n.push(a[e]=new Promise((function(n,t){for(var r="css/"+({}[e]||e)+"."+{"chunk-21e6c77a":"b5bb3b28","chunk-2e2312e4":"31d6cfe0","chunk-10262c66":"3608fd90","chunk-16ac80f2":"3a8edcaa","chunk-4ac3f39e":"091d1f46","chunk-555769aa":"5af82533","chunk-b8535c5e":"9c6f6b83","chunk-bd0cb32a":"745232d8","chunk-c7059ff2":"6d744a23","chunk-d091f112":"a6918585","chunk-23b1cc57":"31d6cfe0","chunk-694f2643":"edc68148","chunk-714d1258":"c5bc93f8","chunk-af4c5108":"1f0798d9","chunk-b4271ece":"44d66940","chunk-e5047f18":"31d6cfe0","chunk-a2ac8fb0":"49f9f252","chunk-dcff337a":"76b53c2d","chunk-2876b678":"8c80e9be","chunk-fa3143e6":"bed7fd12","chunk-9ef2e852":"aec9de4b"}[e]+".css",o=u.p+r,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var s=c[i],l=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(l===r||l===o))return n()}var d=document.getElementsByTagName("style");for(i=0;i<d.length;i++){s=d[i],l=s.getAttribute("data-href");if(l===r||l===o)return n()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=n,f.onerror=function(n){var r=n&&n.target&&n.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=r,delete a[e],f.parentNode.removeChild(f),t(c)},f.href=o;var h=document.getElementsByTagName("head")[0];h.appendChild(f)})).then((function(){a[e]=0})));var r=o[e];if(0!==r)if(r)n.push(r[2]);else{var c=new Promise((function(n,t){r=o[e]=[n,t]}));n.push(r[2]=c);var s,l=document.createElement("script");l.charset="utf-8",l.timeout=120,u.nc&&l.setAttribute("nonce",u.nc),l.src=i(e);var d=new Error;s=function(n){l.onerror=l.onload=null,clearTimeout(f);var t=o[e];if(0!==t){if(t){var r=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;d.message="Loading chunk "+e+" failed.\n("+r+": "+a+")",d.name="ChunkLoadError",d.type=r,d.request=a,t[1](d)}o[e]=void 0}};var f=setTimeout((function(){s({type:"timeout",target:l})}),12e4);l.onerror=l.onload=s,document.head.appendChild(l)}return Promise.all(n)},u.m=e,u.c=r,u.d=function(e,n,t){u.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,n){if(1&n&&(e=u(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(u.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)u.d(t,r,function(n){return e[n]}.bind(null,r));return t},u.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return u.d(n,"a",n),n},u.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},u.p="/",u.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],l=s.push.bind(s);s.push=n,s=s.slice();for(var d=0;d<s.length;d++)n(s[d]);var f=l;c.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("56d7")},"034f":function(e,n,t){"use strict";t("4b77")},"23be":function(e,n,t){"use strict";var r=t("e3e1"),a=t.n(r);n["default"]=a.a},"3dfd":function(e,n,t){"use strict";var r=t("85dc"),a=t("23be"),o=(t("034f"),t("cba8")),c=Object(o["a"])(a["default"],r["a"],r["b"],!1,null,null,null);n["default"]=c.exports},"4b77":function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("2c44"),t("7566"),t("7f1b"),t("45db");var r=t("430a"),a=t("3dfd"),o=(t("c505"),t("7099"),t("0b69"),t("a5e4")),c=t("b86b");r["a"].use(o["a"]);var i={zIndex:2e3,top:0,speed:300,color:"#E75296",size:2,className:""};r["a"].use(c["a"],i);var u=[{path:"/",name:"",component:function(){return t.e("chunk-9ef2e852").then(t.bind(null,"09a0"))},meta:{index:0},children:[{path:"/",name:"main",meta:{title:"预约课程",index:1},component:function(){return Promise.all([t.e("chunk-2e2312e4"),t.e("chunk-16ac80f2")]).then(t.bind(null,"9ba7c"))}},{path:"/appoint",name:"appoint",meta:{title:"预约课程",index:2},component:function(){return Promise.all([t.e("chunk-2e2312e4"),t.e("chunk-b8535c5e")]).then(t.bind(null,"8dfc"))}},{path:"/record",name:"record",meta:{title:"预约记录",index:1},component:function(){return Promise.all([t.e("chunk-2e2312e4"),t.e("chunk-10262c66")]).then(t.bind(null,"e1fc"))}},{path:"/report",name:"report",meta:{title:"我的运动",index:1},component:function(){return Promise.all([t.e("chunk-2e2312e4"),t.e("chunk-d091f112"),t.e("chunk-23b1cc57"),t.e("chunk-e5047f18"),t.e("chunk-a2ac8fb0")]).then(t.bind(null,"701c"))}},{path:"/reportLesson",name:"reportLesson",meta:{title:"上课统计",index:1},component:function(){return Promise.all([t.e("chunk-2e2312e4"),t.e("chunk-d091f112"),t.e("chunk-2876b678")]).then(t.bind(null,"e336"))}},{path:"/reportLessonDetail",name:"reportLessonDetail",meta:{title:"上课统计",index:1},component:function(){return Promise.all([t.e("chunk-2e2312e4"),t.e("chunk-d091f112"),t.e("chunk-23b1cc57"),t.e("chunk-e5047f18"),t.e("chunk-dcff337a")]).then(t.bind(null,"2ccf"))}},{path:"/mine",name:"mine",meta:{title:"我的运动",index:1},component:function(){return Promise.all([t.e("chunk-2e2312e4"),t.e("chunk-bd0cb32a")]).then(t.bind(null,"0fb9"))}},{path:"/lesson",name:"lesson",meta:{title:"课程表",index:1},component:function(){return Promise.all([t.e("chunk-2e2312e4"),t.e("chunk-4ac3f39e")]).then(t.bind(null,"e83a"))}},{path:"/fitnessRecord",name:"fitnessRecord",meta:{title:"体测记录",index:1},component:function(){return Promise.all([t.e("chunk-2e2312e4"),t.e("chunk-d091f112"),t.e("chunk-23b1cc57"),t.e("chunk-b4271ece")]).then(t.bind(null,"4510"))}},{path:"/fitnessDetail",name:"fitnessDetail",meta:{title:"体测详情",index:1},component:function(){return Promise.all([t.e("chunk-2e2312e4"),t.e("chunk-d091f112"),t.e("chunk-23b1cc57"),t.e("chunk-694f2643")]).then(t.bind(null,"d283"))}},{path:"/lessonRecommendRecord",name:"lessonRecommendRecord",meta:{title:"课程推荐记录",index:1},component:function(){return Promise.all([t.e("chunk-2e2312e4"),t.e("chunk-d091f112"),t.e("chunk-23b1cc57"),t.e("chunk-af4c5108")]).then(t.bind(null,"65ce"))}},{path:"/lessonRecommendDetail",name:"lessonRecommendDetail",meta:{title:"课程推荐详情",index:1},component:function(){return Promise.all([t.e("chunk-2e2312e4"),t.e("chunk-d091f112"),t.e("chunk-23b1cc57"),t.e("chunk-714d1258")]).then(t.bind(null,"4773"))}}]},{path:"/login",name:"login",meta:{title:"登陆",index:1},component:function(){return Promise.all([t.e("chunk-2e2312e4"),t.e("chunk-555769aa")]).then(t.bind(null,"73fb"))}},{path:"/test",name:"test",meta:{title:"test",index:1},component:function(){return Promise.all([t.e("chunk-2e2312e4"),t.e("chunk-c7059ff2")]).then(t.bind(null,"e0bc"))}},{path:"/404",name:"404",meta:{title:"404",index:1},component:function(){return Promise.all([t.e("chunk-2e2312e4"),t.e("chunk-fa3143e6")]).then(t.bind(null,"e1f8"))}},{path:"*",name:"notFound",meta:{title:"404",index:3},component:function(){return t.e("chunk-21e6c77a").then(t.bind(null,"cb28"))}}],s=new o["a"]({mode:"history",base:"/",routes:u});s.beforeEach((function(e,n,t){c["a"].start();var r=!!localStorage.token;"/login"==e.path||r?t():t("/login")})),s.afterEach((function(){c["a"].done()}));var l=s,d=t("82ae"),f=t.n(d),h=t("a6a6"),m=(t("b9f8"),t("de8e")),p=t("4263"),b=t("cb35");r["a"].use(b["a"]),r["a"].use(c["a"]),r["a"].use(h["a"]),r["a"].locale=function(){};var k={position:"bottom",time:2e3,closeIcon:"close",close:!0,successIcon:"check_circle",infoIcon:"info",warningIcon:"priority_high",errorIcon:"warning"};r["a"].use(m["a"],k),r["a"].use(p["a"]),t("cbb7"),r["a"].config.productionTip=!1,new r["a"]({render:function(e){return e(a["default"])},router:l}).$mount("#app"),r["a"].prototype.axios=f.a,r["a"].prototype.Toast=function(e,n){var t=n||"warning",r=this;switch(t){case"message":r.$toast.message(e);break;case"success":r.$toast.success(e);break;case"info":r.$toast.info(e);break;case"warning":r.$toast.warning(e);break;case"error":r.$toast.error(e);break}},r["a"].prototype.Loading=function(e){var n=this.$loading({overlayColor:"hsla(0,0%,100%,.9)",size:48,color:"warning"});setTimeout((function(){n.close()}),3e3)},r["a"].prototype.TransMemo=function(e){var n=this;switch(e){case"记录不存在":n.$toast.error(n.$t("Record does not exist"));break;case"服务器繁忙,请稍后再试":n.$toast.error(n.$t("The server is busy. Please try again later"));break;case"服务暂不可用":n.$toast.error(n.$t("Service is temporarily unavailable"));break;case"key不存在":n.$toast.error(n.$t("Key does not exist"));break;case"用户名或密码错误":n.$toast.error(n.$t("Wrong user name or password"));break;case"图形验证码错误":n.$toast.error(n.$t("Graphic verification code error"));break;case"密码格式错误":n.$toast.error(n.$t("Password format error"));break;case"密码错误":n.$toast.error(n.$t("Password error"));break;case"用户已存在":n.$toast.error(n.$t("User already exists"));break;case"发送频率过高":n.$toast.error(n.$t("Transmission frequency too high"));break;case"用户被禁用":n.$toast.error(n.$t("User is disabled"));break;case"用户状态异常":n.$toast.error(n.$t("Abnormal user status"));break;case"用户不存在":n.$toast.error(n.$t("user does not exist"));break;case"验证码错误":n.$toast.error(n.$t("Verification code error"));break;case"登录失效":n.$toast.error(n.$t("Logon failure"));break;case"MAC已存在":n.$toast.error(n.$t("MAC already exists"));break;case"不是完整的逗号分隔列表格式":n.$toast.error(n.$t("Is not a complete comma separated list format"));break;case"HBase错误":n.$toast.error(n.$t("HBase error"));break;case"请重新上传图片":n.$toast.error(n.$t("Please upload the picture again"));break;default:n.$toast.error(e);break}}},"85dc":function(e,n,t){"use strict";t.d(n,"a",(function(){return r})),t.d(n,"b",(function(){return a}));var r=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade"}},[t("router-view")],1)],1)},a=[]},cbb7:function(e,n,t){"use strict";t.r(n);var r=t("03a1"),a=t.n(r),o=a.a.Random,c=function(){for(var e=[],n=0;n<30;n++)e.push({id:"@guid",name:"@region",Confirmed:"@integer(36844, 368449)",Deaths:"@integer(1099, 10993)",Recovered:"@integer(1986, 19865)"});var t={Rs:e,Code:0,Memo:""};return t},i=function(){var e={pic:o.image("200x100","#894FC4","#FFF","@natural(1111, 9999)"),id:"@guid",Code:0,Memo:""};return e},u=function(){for(var e=[],n=[{id:1,name:"霍元甲",userCode:"15253135600",vipType:1},{id:2,name:"陈真",userCode:"15253135602",vipType:2},{id:3,name:"成龙",userCode:"15253135604",vipType:1}],t=0;t<6;t++)e.push({id:"@guid",userCode:"@integer(15253135600, 15253135699)",name:"@region",tel:"@integer(15253135600, 15253135699)",shop:"@region",create:"@datetime",expTime:"@date",valid:"@datetime",Confirmed:"@integer(36844, 368449)",Deaths:"@integer(1099, 10993)",kick:"@integer(199, 993)",Recovered:"@integer(1986, 9999)",Status:"0",level:"0",color:"@hex",memo:"@paragraph(1, 1)",dialogValue:"@range(1, 3)",vipType:"@integer(1, 2)",members:n,wxVisible:"@integer(0, 1)",timeLong:"14:00-16:00",timeScope:[new Date(2016,9,10,8,40),new Date(2016,9,10,9,40)]});var r={Rs:e,Code:0,Memo:""};return r},s=function(){for(var e=[],n=0;n<30;n++)e.push({key:n+1,value:n+1,label:"@region"});var t={Rs:e,Code:0,Memo:""};return t},l=function(){var e={token:"@guid"},n={Rs:e,Code:0,Memo:"登陆成功"};return n},d=function(){var e={Code:0,Memo:"修改成功"};return e},f=function(){var e={Code:0,Memo:"修改成功"};return e},h=function(){var e={Code:0,Memo:"退出成功"};return e};a.a.mock("/api/testPic","post",i()),a.a.mock("/api/testSelect","post",s()),a.a.mock("/api/testTable","post",u()),a.a.mock("/api/worldDetail","post",c()),a.a.mock("/api/SignIn","post",l()),a.a.mock("/api/editbasicinfo","post",d()),a.a.mock("/api/modPwd","post",f()),a.a.mock("/api/logout","post",h()),n["default"]=a.a},e3e1:function(e,n){window.onload=function(){document.addEventListener("touchstart",(function(e){e.touches.length>1&&e.preventDefault()})),document.addEventListener("gesturestart",(function(e){e.preventDefault()}))}}});
  2. //# sourceMappingURL=app.undefined.1640325559672.js.map