(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/skip/skip"],{"044c":function(e,t,n){"use strict";n.r(t);var r=n("0d74"),a=n.n(r);for(var c in r)"default"!==c&&function(e){n.d(t,e,(function(){return r[e]}))}(c);t["default"]=a.a},"0d74":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n("a34a")),a=n("2f62"),c=(o(n("f7ba")),o(n("0261")));function o(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t,n,r,a,c,o){try{var u=e[c](o),i=u.value}catch(f){return void n(f)}u.done?t(i):Promise.resolve(i).then(r,a)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var c=e.apply(t,n);function o(e){s(c,r,a,o,u,"next",e)}function u(e){s(c,r,a,o,u,"throw",e)}o(void 0)}))}}var l={data:function(){return{tip:"跳转中，请稍后..."}},computed:{},created:function(){e.showLoading({title:"跳转中...",mask:!0})},onLoad:function(t){var n=this;return d(r.default.mark((function a(){var o,u;return r.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return o=decodeURIComponent(t.q),u=new c.default.getInstance,r.next=4,u.parseCode(o).catch((function(t){return e.hideLoading(),u.scanCode(!0,{title:"( •̀ ω •́ )✧",showCancel:!1,content:"亲，您扫的码不对哦~",confirmText:"重新扫码"})}));case 4:r.sent,n.goIndex();case 6:case"end":return r.stop()}}),a)})))()},methods:i(i({},(0,a.mapMutations)(["updateStationId","updateLabelId","updateEmployeeId"])),{},{goIndex:function(){e.hideLoading(),e.redirectTo({url:"/pages/index/index"})},goList:function(){e.hideLoading(),e.redirectTo({url:"/pages/list/list"})},parseCode:function(t){return d(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.showModal({title:"( •̀ ω •́ )✧",showCancel:!1,content:"亲，扫码错误哦~",confirmText:"重新扫码"});case 2:return t.sent,t.next=5,e.scanCode({onlyFromCamera:!0});case 5:t.sent;case 6:case"end":return t.stop()}}),t)})))()},scanCode:function(){var t=this;return d(r.default.mark((function n(){var a,o;return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.showModal({title:"(～￣▽￣)～",showCancel:!!t.stationId,content:msg||"此站点只能扫码进入~",cancelText:"返回",confirmText:"立刻扫码"});case 2:if(a=n.sent,c.default.getInstance(),!a[1].cancel){n.next=8;break}e.navigateBack({delta:1}),n.next=11;break;case 8:if(!a[1].confirm){n.next=11;break}return o=c.default.getInstance(),n.abrupt("return",o.scanCode().catch((function(e){return t.scanCode(e)})));case 11:case"end":return n.stop()}}),n)})))()}})};t.default=l}).call(this,n("543d")["default"])},"39ad":function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return r}));var a=function(){var e=this,t=e.$createElement;e._self._c},c=[]},"40f5":function(e,t,n){"use strict";n.r(t);var r=n("39ad"),a=n("044c");for(var c in a)"default"!==c&&function(e){n.d(t,e,(function(){return a[e]}))}(c);n("5ef6");var o,u=n("f0c5"),i=Object(u["a"])(a["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],o);t["default"]=i.exports},"5ef6":function(e,t,n){"use strict";var r=n("a626"),a=n.n(r);a.a},a626:function(e,t,n){},e76c:function(e,t,n){"use strict";(function(e){n("a134"),n("921b");r(n("66fd"));var t=r(n("40f5"));function r(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])}},[["e76c","common/runtime","common/vendor"]]]);