(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["plugins/clerk/index/index"],{"04b3":function(t,e,n){},"1ff1":function(t,e,n){"use strict";n.r(e);var r=n("7c21"),o=n("3e3a");for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("bb72");var c,i=n("f0c5"),u=Object(i["a"])(o["default"],r["b"],r["c"],!1,null,"9141b580",null,!1,r["a"],c);e["default"]=u.exports},"3e3a":function(t,e,n){"use strict";n.r(e);var r=n("afe3"),o=n.n(r);for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);e["default"]=o.a},"7c21":function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return r}));var o=function(){var t=this,e=t.$createElement;t._self._c},a=[]},"7cc8":function(t,e,n){"use strict";(function(t){n("b8bc");r(n("66fd"));var e=r(n("1ff1"));function r(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},afe3:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=c(n("940c")),o=n("2f62");function a(){if("function"!==typeof WeakMap)return null;var t=new WeakMap;return a=function(){return t},t}function c(t){if(t&&t.__esModule)return t;if(null===t||"object"!==typeof t&&"function"!==typeof t)return{default:t};var e=a();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var c=r?Object.getOwnPropertyDescriptor(t,o):null;c&&(c.get||c.set)?Object.defineProperty(n,o,c):n[o]=t[o]}return n.default=t,e&&e.set(t,n),n}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var f={name:"about",data:function(){return{is_mall:!1}},computed:u({},(0,o.mapState)({clerkImg:function(t){return t.mallConfig.__wxapp_img.clerk},mall:function(t){return t.mallConfig.mall}})),onLoad:function(){this.getList()},methods:{toStatic:function(){t.navigateTo({url:"/plugins/clerk/statics/statics"})},toOrder:function(){t.navigateTo({url:"/plugins/clerk/order/order?status=1"})},toCard:function(){t.navigateTo({url:"/plugins/clerk/order/order?status=2"})},scan:function(){var e=this;t.scanCode({success:function(n){if(n.path){var o=n.path;o=o.split("?");var a=o[1],c=new RegExp("scene=","g");a=o[1].replace(c,""),e.$request({url:e.$api.clerk.qrcode_parameter,data:{token:a}}).then((function(e){if(0===e.code){var n=e.data.detail,o="/"+n.path;n.data&&(o+="?"+r.objectToUrlParams(n.data)),t.redirectTo({url:o}),t.options=null}}))}else t.showToast({title:"暂不支持此二维码，请使用应用内扫一扫功能",icon:"none",duration:1e3})}})},getList:function(){var e=this;e.$request({url:e.$api.clerk.info}).then((function(n){e.$hideLoading(),0==n.code?e.is_mall=n.data.is_mall:"无核销信息权限"==n.msg?t.showModal({title:"提示",content:"该帐号无核销权限",showCancel:!1,success:function(e){t.redirectTo({url:"/pages/index/index"})}}):t.showToast({title:n.msg,icon:"none",duration:1e3})})).catch((function(t){e.$hideLoading()}))}}};e.default=f}).call(this,n("543d")["default"])},bb72:function(t,e,n){"use strict";var r=n("04b3"),o=n.n(r);o.a}},[["7cc8","common/runtime","common/vendor"]]]);