| 12 |
- (function(e){function n(n){for(var c,r,o=n[0],i=n[1],l=n[2],f=0,h=[];f<o.length;f++)r=o[f],Object.prototype.hasOwnProperty.call(u,r)&&u[r]&&h.push(u[r][0]),u[r]=0;for(c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e[c]=i[c]);s&&s(n);while(h.length)h.shift()();return a.push.apply(a,l||[]),t()}function t(){for(var e,n=0;n<a.length;n++){for(var t=a[n],c=!0,r=1;r<t.length;r++){var o=t[r];0!==u[o]&&(c=!1)}c&&(a.splice(n--,1),e=i(i.s=t[0]))}return e}var c={},r={app:0},u={app:0},a=[];function o(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-275e8883":"60e3250a","chunk-754473b5":"af291526","chunk-08fa61fc":"dd952bad","chunk-2ca61630":"4d42c465","chunk-4bfe921c":"686b6ea5","chunk-69237152":"86ac6288","chunk-ac25deca":"afb67d8a","chunk-029af71f":"4008ec25","chunk-13e137bc":"1afa85fd","chunk-1f3bd948":"91b0d276","chunk-638c6980":"2c58fc42","chunk-18c29f15":"7fc90420","chunk-236e3e97":"3681ad7b","chunk-e8a63a7e":"2146c2f9"}[e]+".js"}function i(n){if(c[n])return c[n].exports;var t=c[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var n=[],t={"chunk-275e8883":1,"chunk-08fa61fc":1,"chunk-2ca61630":1,"chunk-4bfe921c":1,"chunk-69237152":1,"chunk-029af71f":1,"chunk-13e137bc":1,"chunk-1f3bd948":1,"chunk-638c6980":1,"chunk-18c29f15":1,"chunk-236e3e97":1,"chunk-e8a63a7e":1};r[e]?n.push(r[e]):0!==r[e]&&t[e]&&n.push(r[e]=new Promise((function(n,t){for(var c="css/"+({}[e]||e)+"."+{"chunk-275e8883":"7d59a155","chunk-754473b5":"31d6cfe0","chunk-08fa61fc":"12906fed","chunk-2ca61630":"3beb8a9c","chunk-4bfe921c":"cab2fd9b","chunk-69237152":"bf50e651","chunk-ac25deca":"31d6cfe0","chunk-029af71f":"41ce288f","chunk-13e137bc":"157f39a9","chunk-1f3bd948":"a917d32f","chunk-638c6980":"b492bcae","chunk-18c29f15":"78275774","chunk-236e3e97":"2c6a6df6","chunk-e8a63a7e":"313719a8"}[e]+".css",u=i.p+c,a=document.getElementsByTagName("link"),o=0;o<a.length;o++){var l=a[o],f=l.getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(f===c||f===u))return n()}var h=document.getElementsByTagName("style");for(o=0;o<h.length;o++){l=h[o],f=l.getAttribute("data-href");if(f===c||f===u)return n()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=n,s.onerror=function(n){var c=n&&n.target&&n.target.src||u,a=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=c,delete r[e],s.parentNode.removeChild(s),t(a)},s.href=u;var d=document.getElementsByTagName("head")[0];d.appendChild(s)})).then((function(){r[e]=0})));var c=u[e];if(0!==c)if(c)n.push(c[2]);else{var a=new Promise((function(n,t){c=u[e]=[n,t]}));n.push(c[2]=a);var l,f=document.createElement("script");f.charset="utf-8",f.timeout=120,i.nc&&f.setAttribute("nonce",i.nc),f.src=o(e);var h=new Error;l=function(n){f.onerror=f.onload=null,clearTimeout(s);var t=u[e];if(0!==t){if(t){var c=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;h.message="Loading chunk "+e+" failed.\n("+c+": "+r+")",h.name="ChunkLoadError",h.type=c,h.request=r,t[1](h)}u[e]=void 0}};var s=setTimeout((function(){l({type:"timeout",target:f})}),12e4);f.onerror=f.onload=l,document.head.appendChild(f)}return Promise.all(n)},i.m=e,i.c=c,i.d=function(e,n,t){i.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,n){if(1&n&&(e=i(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var c in e)i.d(t,c,function(n){return e[n]}.bind(null,c));return t},i.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(n,"a",n),n},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.p="",i.oe=function(e){throw console.error(e),e};var l=window["webpackJsonp"]=window["webpackJsonp"]||[],f=l.push.bind(l);l.push=n,l=l.slice();for(var h=0;h<l.length;h++)n(l[h]);var s=f;a.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("56d7")},"1f98":function(e,n,t){},"4b62":function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("cadf"),t("551c"),t("f751"),t("097d");var c=t("2b0e"),r=function(){var e=this,n=e._self._c;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},u=[],a={name:"app"},o=a,i=(t("d782"),t("2877")),l=Object(i["a"])(o,r,u,!1,null,null,null),f=l.exports,h=(t("5cfb"),t("8c4f"));c["default"].use(h["a"]);var s=[{path:"/login",alias:"/",component:function(){return Promise.all([t.e("chunk-754473b5"),t.e("chunk-4bfe921c")]).then(t.bind(null,"9ed6"))}},{path:"/home",component:function(){return t.e("chunk-275e8883").then(t.bind(null,"2f6a"))},hidden:!0,children:[{path:"/home",component:function(){return Promise.all([t.e("chunk-754473b5"),t.e("chunk-ac25deca"),t.e("chunk-18c29f15")]).then(t.bind(null,"b5c0"))}},{path:"/customer",component:function(){return Promise.all([t.e("chunk-754473b5"),t.e("chunk-ac25deca"),t.e("chunk-236e3e97")]).then(t.bind(null,"aedf"))}},{path:"/addCustomer",component:function(){return Promise.all([t.e("chunk-754473b5"),t.e("chunk-ac25deca"),t.e("chunk-e8a63a7e")]).then(t.bind(null,"8ae8"))}},{path:"/customer/annualFee",component:function(){return Promise.all([t.e("chunk-754473b5"),t.e("chunk-08fa61fc")]).then(t.bind(null,"7cb3"))}},{path:"/result",component:function(){return Promise.all([t.e("chunk-754473b5"),t.e("chunk-ac25deca"),t.e("chunk-236e3e97")]).then(t.bind(null,"aedf"))}},{path:"/order/history",component:function(){return Promise.all([t.e("chunk-754473b5"),t.e("chunk-ac25deca"),t.e("chunk-13e137bc"),t.e("chunk-638c6980")]).then(t.bind(null,"e266"))}},{path:"/order/deposit",component:function(){return Promise.all([t.e("chunk-754473b5"),t.e("chunk-ac25deca"),t.e("chunk-13e137bc"),t.e("chunk-1f3bd948")]).then(t.bind(null,"efe6"))}},{path:"/order/exchange",component:function(){return Promise.all([t.e("chunk-754473b5"),t.e("chunk-2ca61630")]).then(t.bind(null,"a71e"))}},{path:"/achievements",component:function(){return Promise.all([t.e("chunk-754473b5"),t.e("chunk-69237152")]).then(t.bind(null,"316a"))}}]},{path:"/payment",component:function(){return Promise.all([t.e("chunk-754473b5"),t.e("chunk-ac25deca"),t.e("chunk-029af71f")]).then(t.bind(null,"cddd"))}}],d=new h["a"]({routes:s}),p=d,b=function(){var e=this,n=e._self._c;return n("div",{staticClass:"statusBarBox flex-b"},[n("el-header",[n("div",{staticClass:"header"},[n("div",{staticClass:"name"},[e._v("\n 缘中秀收银系统\n ")]),n("el-dropdown",[n("div",{staticClass:"avatar"},[n("el-avatar",{attrs:{size:40,src:"https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"}}),n("div",{staticClass:"tip"},[e._v("欢迎您,"+e._s(e.userInfo.nickname))])],1),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("el-dropdown-item",{nativeOn:{click:function(n){return e.out.apply(null,arguments)}}},[e._v("退出登录")])],1)],1)],1)])],1)},k=[],m={name:"statusBarIndex",data:function(){return{userInfo:JSON.parse(window.localStorage.getItem("userInfo"))||{}}},methods:{out:function(){var e=this;this.$confirm("此操作会退出登入, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.$message({type:"success",message:"退出用户成功!",duration:2e3}),e.$router.push("/")})).catch((function(){e.$message({type:"info",message:"已取消退出用户",duration:2e3})}))}}},v=m,g=(t("e03a"),Object(i["a"])(v,b,k,!1,null,"00d13203",null)),y=g.exports,w=t("5c96"),P=t.n(w);t("0fae"),t("a4b1");c["default"].component("statusBarIndex",y),c["default"].use(P.a),c["default"].config.productionTip=!1,new c["default"]({render:function(e){return e(f)},router:p}).$mount("#app")},a4b1:function(e,n,t){},d782:function(e,n,t){"use strict";t("4b62")},e03a:function(e,n,t){"use strict";t("1f98")}});
- //# sourceMappingURL=app.f651bdce.js.map
|