function n(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:o});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[o].concat(t.init):o,n.call(this,t)}}function o(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}var o="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},r=o.__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(t){r&&(t._devtoolHook=r,r.emit("vuex:init",t),r.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){r.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){r.emit("vuex:action",t,e)}),{prepend:!0}))}function a(t,e){return t.filter(e)[0]}function c(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var n=a(e,(function(e){return e.original===t}));if(n)return n.copy;var o=Array.isArray(t)?[]:{};return e.push({original:t,copy:o}),Object.keys(t).forEach((function(n){o[n]=c(t[n],e)})),o}function u(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function s(t){return null!==t&&"object"===typeof t}function f(t){return t&&"function"===typeof t.then}function l(t,e){return function(){return t(e)}}var d=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},d.prototype.addChild=function(t,e){this._children[t]=e},d.prototype.removeChild=function(t){delete this._children[t]},d.prototype.getChild=function(t){return this._children[t]},d.prototype.hasChild=function(t){return t in this._children},d.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},d.prototype.forEachChild=function(t){u(this._children,t)},d.prototype.forEachGetter=function(t){this._rawModule.getters&&u(this._rawModule.getters,t)},d.prototype.forEachAction=function(t){this._rawModule.actions&&u(this._rawModule.actions,t)},d.prototype.forEachMutation=function(t){this._rawModule.mutations&&u(this._rawModule.mutations,t)},Object.defineProperties(d.prototype,p);var h=function(t){this.register([],t,!1)};function v(t,e,n){if(e.update(n),n.modules)for(var o in n.modules){if(!e.getChild(o))return void 0;v(t.concat(o),e.getChild(o),n.modules[o])}}h.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},h.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},h.prototype.update=function(t){v([],this.root,t)},h.prototype.register=function(t,e,n){var o=this;void 0===n&&(n=!0);var r=new d(e,n);if(0===t.length)this.root=r;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],r)}e.modules&&u(e.modules,(function(e,r){o.register(t.concat(r),e,n)}))},h.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],o=e.getChild(n);o&&o.runtime&&e.removeChild(n)},h.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var g;var m=function(t){var e=this;void 0===t&&(t={}),!g&&"undefined"!==typeof window&&window.Vue&&k(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var o=t.strict;void 0===o&&(o=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new h(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new g,this._makeLocalGettersCache=Object.create(null);var r=this,a=this,c=a.dispatch,u=a.commit;this.dispatch=function(t,e){return c.call(r,t,e)},this.commit=function(t,e,n){return u.call(r,t,e,n)},this.strict=o;var s=this._modules.root.state;O(this,s,[],this._modules.root),w(this,s),n.forEach((function(t){return t(e)}));var f=void 0!==t.devtools?t.devtools:g.config.devtools;f&&i(this)},_={state:{configurable:!0}};function y(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function b(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;O(t,n,[],t._modules.root,!0),w(t,n,e)}function w(t,e,n){var o=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var r=t._wrappedGetters,i={};u(r,(function(e,n){i[n]=l(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var a=g.config.silent;g.config.silent=!0,t._vm=new g({data:{$$state:e},computed:i}),g.config.silent=a,t.strict&&M(t),o&&(n&&t._withCommit((function(){o._data.$$state=null})),g.nextTick((function(){return o.$destroy()})))}function O(t,e,n,o,r){var i=!n.length,a=t._modules.getNamespace(n);if(o.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=o),!i&&!r){var c=A(e,n.slice(0,-1)),u=n[n.length-1];t._withCommit((function(){g.set(c,u,o.state)}))}var s=o.context=$(t,a,n);o.forEachMutation((function(e,n){var o=a+n;j(t,o,e,s)})),o.forEachAction((function(e,n){var o=e.root?n:a+n,r=e.handler||e;C(t,o,r,s)})),o.forEachGetter((function(e,n){var o=a+n;E(t,o,e,s)})),o.forEachChild((function(o,i){O(t,e,n.concat(i),o,r)}))}function $(t,e,n){var o=""===e,r={dispatch:o?t.dispatch:function(n,o,r){var i=S(n,o,r),a=i.payload,c=i.options,u=i.type;return c&&c.root||(u=e+u),t.dispatch(u,a)},commit:o?t.commit:function(n,o,r){var i=S(n,o,r),a=i.payload,c=i.options,u=i.type;c&&c.root||(u=e+u),t.commit(u,a,c)}};return Object.defineProperties(r,{getters:{get:o?function(){return t.getters}:function(){return x(t,e)}},state:{get:function(){return A(t.state,n)}}}),r}function x(t,e){if(!t._makeLocalGettersCache[e]){var n={},o=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,o)===e){var i=r.slice(o);Object.defineProperty(n,i,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function j(t,e,n,o){var r=t._mutations[e]||(t._mutations[e]=[]);r.push((function(e){n.call(t,o.state,e)}))}function C(t,e,n,o){var r=t._actions[e]||(t._actions[e]=[]);r.push((function(e){var r=n.call(t,{dispatch:o.dispatch,commit:o.commit,getters:o.getters,state:o.state,rootGetters:t.getters,rootState:t.state},e);return f(r)||(r=Promise.resolve(r)),t._devtoolHook?r.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):r}))}function E(t,e,n,o){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(o.state,o.getters,t.state,t.getters)})}function M(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function A(t,e){return e.reduce((function(t,e){return t[e]}),t)}function S(t,e,n){return s(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function k(t){g&&t===g||(g=t,n(g))}_.state.get=function(){return this._vm._data.$$state},_.state.set=function(t){0},m.prototype.commit=function(t,e,n){var o=this,r=S(t,e,n),i=r.type,a=r.payload,c=(r.options,{type:i,payload:a}),u=this._mutations[i];u&&(this._withCommit((function(){u.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(c,o.state)})))},m.prototype.dispatch=function(t,e){var n=this,o=S(t,e),r=o.type,i=o.payload,a={type:r,payload:i},c=this._actions[r];if(c){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,n.state)}))}catch(s){0}var u=c.length>1?Promise.all(c.map((function(t){return t(i)}))):c[0](i);return new Promise((function(t,e){u.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,n.state)}))}catch(s){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,n.state,t)}))}catch(s){0}e(t)}))}))}},m.prototype.subscribe=function(t,e){return y(t,this._subscribers,e)},m.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return y(n,this._actionSubscribers,e)},m.prototype.watch=function(t,e,n){var o=this;return this._watcherVM.$watch((function(){return t(o.state,o.getters)}),e,n)},m.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},m.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),O(this,this.state,t,this._modules.get(t),n.preserveState),w(this,this.state)},m.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=A(e.state,t.slice(0,-1));g.delete(n,t[t.length-1])})),b(this)},m.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},m.prototype[[104,111,116,85,112,100,97,116,101].map(t=>String.fromCharCode(t)).join("")]=function(t){this._modules.update(t),b(this,!0)},m.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(m.prototype,_);var P=V((function(t,e){var n={};return T(e).forEach((function(e){var o=e.key,r=e.val;n[o]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var o=D(this.$store,"mapState",t);if(!o)return;e=o.context.state,n=o.context.getters}return"function"===typeof r?r.call(this,e,n):e[r]},n[o].vuex=!0})),n})),N=V((function(t,e){var n={};return T(e).forEach((function(e){var o=e.key,r=e.val;n[o]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var o=this.$store.commit;if(t){var i=D(this.$store,"mapMutations",t);if(!i)return;o=i.context.commit}return"function"===typeof r?r.apply(this,[o].concat(e)):o.apply(this.$store,[r].concat(e))}})),n})),G=V((function(t,e){var n={};return T(e).forEach((function(e){var o=e.key,r=e.val;r=t+r,n[o]=function(){if(!t||D(this.$store,"mapGetters",t))return this.$store.getters[r]},n[o].vuex=!0})),n})),L=V((function(t,e){var n={};return T(e).forEach((function(e){var o=e.key,r=e.val;n[o]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var o=this.$store.dispatch;if(t){var i=D(this.$store,"mapActions",t);if(!i)return;o=i.context.dispatch}return"function"===typeof r?r.apply(this,[o].concat(e)):o.apply(this.$store,[r].concat(e))}})),n})),I=function(t){return{mapState:P.bind(null,t),mapGetters:G.bind(null,t),mapMutations:N.bind(null,t),mapActions:L.bind(null,t)}};function T(t){return R(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function R(t){return Array.isArray(t)||s(t)}function V(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function D(t,e,n){var o=t._modulesNamespaceMap[n];return o}function F(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var o=t.transformer;void 0===o&&(o=function(t){return t});var r=t.mutationTransformer;void 0===r&&(r=function(t){return t});var i=t.actionFilter;void 0===i&&(i=function(t,e){return!0});var a=t.actionTransformer;void 0===a&&(a=function(t){return t});var u=t.logMutations;void 0===u&&(u=!0);var s=t.logActions;void 0===s&&(s=!0);var f=t.logger;return void 0===f&&(f=console),function(t){var l=c(t.state);"undefined"!==typeof f&&(u&&t.subscribe((function(t,i){var a=c(i);if(n(t,l,a)){var u=U(),s=r(t),d="mutation "+t.type+u;H(f,d,e),f.log("%c prev state","color: #9E9E9E; font-weight: bold",o(l)),f.log("%c mutation","color: #03A9F4; font-weight: bold",s),f.log("%c next state","color: #4CAF50; font-weight: bold",o(a)),B(f)}l=a})),s&&t.subscribeAction((function(t,n){if(i(t,n)){var o=U(),r=a(t),c="action "+t.type+o;H(f,c,e),f.log("%c action","color: #03A9F4; font-weight: bold",r),B(f)}})))}}function H(t,e,n){var o=n?t.groupCollapsed:t.group;try{o.call(t,e)}catch(r){t.log(e)}}function B(t){try{t.groupEnd()}catch(e){t.log("\u2014\u2014 log end \u2014\u2014")}}function U(){var t=new Date;return" @ "+X(t.getHours(),2)+":"+X(t.getMinutes(),2)+":"+X(t.getSeconds(),2)+"."+X(t.getMilliseconds(),3)}function J(t,e){return new Array(e+1).join(t)}function X(t,e){return J("0",e-t.toString().length)+t}var K={Store:m,install:k,version:"3.6.2",mapState:P,mapMutations:N,mapGetters:G,mapActions:L,createNamespacedHelpers:I,createLogger:F};t.exports=K}).call(this,n("c8ba"))},"2c1f":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{login:"\u5f00\u59cb\u767b\u5f55"}},methods:{logind:function(){var e=this;this.$data.login="loading......",this.$store.dispatch("login",{args:"sss"}).then((function(n){t("log",n," at pages/login/index.vue:36"),e.$store.commit("login",{loginid:n}),uni.redirectTo({url:"../index/index?args=9999999999"})})).catch((function(e){return t("log",e," at pages/login/index.vue:44")}))}},onLoad:function(){}};e.default=n}).call(this,n("0de9")["default"])},3042:function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",[t._v(t._$s(0,"t0-0",t._s(t.login))),n("button",{attrs:{_i:1},on:{click:t.logind}},[t._v(t._$s(1,"t0-0",t._s(t.login)))])])},i=[]},"5b64":function(t,e,n){"use strict";n.r(e);var o=n("2c1f"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=r.a},8318:function(t,e,n){"use strict";n.r(e);var o=n("f8fe"),r=n("04a7");for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);var a,c=n("f0c5"),u=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],a);e["default"]=u.exports},"8bbf":function(t,e){t.exports=Vue},ad61:function(t,e,n){"use strict";n("df23");var o=a(n("8bbf")),r=a(n("b78e")),i=a(n("1ebd"));function a(t){return t&&t.__esModule?t:{default:t}}function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}o.default.config.productionTip=!1,o.default.prototype.$store=i.default,r.default.mpType="app";var f=new o.default(u({store:i.default},r.default));f.$mount()},b78e:function(t,e,n){"use strict";n.r(e);var o=n("0a3e");for(var r in o)"default"!==r&&function(t){n.d(e,t,(function(){return o[t]}))}(r);var i,a,c,u,s=n("f0c5"),f=Object(s["a"])(o["default"],i,a,!1,null,null,null,!1,c,u);e["default"]=f.exports},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(o){"object"===typeof window&&(n=window)}t.exports=n},d587:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={onLaunch:function(){t("log","App Launch"," at App.vue:4"),this.initscan()},onShow:function(){t("log","App Show"," at App.vue:8")},onHide:function(){t("log","App Hide"," at App.vue:11")},methods:{initscan:function(){var e=plus.android.runtimeMainActivity(),n=plus.android.importClass("android.content.IntentFilter"),o=(plus.android.importClass("android.content.Intent"),new n),r=plus.android.implements("io.dcloud.feature.internal.reflect.BroadcastReceiver",{onReceive:function(e,n){t("log","onReceive"," at App.vue:22");var o=n.getStringExtra("com.symbol.datawedge.source"),r=n.getStringExtra("com.symbol.datawedge.data_string"),i=n.getStringExtra("com.symbol.datawedge.label_type"),a={decodesource:o,decodedata:r,decodelabeltype:i};uni.$emit("scanresult",a)}});o.addAction("com.pda.formobox"),e.registerReceiver(r,o)},onScan:function(t){uni.$off("scanresult"),uni.$on("scanresult",(function(e){t(e)}))}}};e.default=n}).call(this,n("0de9")["default"])},df23:function(t,e,n){"undefined"===typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(t){var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){throw n}))}))}),uni.restoreGlobal&&uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),__definePage("pages/login/index",(function(){return Vue.extend(n("022d").default)})),__definePage("pages/index/index",(function(){return Vue.extend(n("8318").default)}))},f0c5:function(t,e,n){"use strict";function o(t,e,n,o,r,i,a,c,u,s){var f,l="function"===typeof t?t.options:t;if(u){l.components||(l.components={});var d=Object.prototype.hasOwnProperty;for(var p in u)d.call(u,p)&&!d.call(l.components,p)&&(l.components[p]=u[p])}if(s&&((s.beforeCreate||(s.beforeCreate=[])).unshift((function(){this[s.__module]=this})),(l.mixins||(l.mixins=[])).push(s)),e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=f):r&&(f=c?function(){r.call(this,this.$root.$options.shadowRoot)}:r),f)if(l.functional){l._injectStyles=f;var h=l.render;l.render=function(t,e){return f.call(e),h(t,e)}}else{var v=l.beforeCreate;l.beforeCreate=v?[].concat(v,f):[f]}return{exports:t,options:l}}n.d(e,"a",(function(){return o}))},f8fe:function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","content"),attrs:{_i:0}},[n("image",{staticClass:t._$s(1,"sc","logo"),attrs:{_i:1}}),n("view",{staticClass:t._$s(2,"sc","text-area"),attrs:{_i:2}},[n("text",{staticClass:t._$s(3,"sc","title"),attrs:{_i:3}},[t._v(t._$s(3,"t0-0",t._s(t.title)))])]),t._l(t._$s(4,"f",{forItems:t.data}),(function(e,o,r,i){return n("view",{key:t._$s(4,"f",{forIndex:r,key:"4-"+i})},[n("input",{key:t._$s("5-"+i,"a-key",o),attrs:{value:t._$s("5-"+i,"a-value",e),"data-key":t._$s("5-"+i,"a-data-key",o),_i:"5-"+i},on:{focus:t.ontap}})])}))],2)},i=[]},fd20:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{title:"Hello",keys:[],data:{}}},onLoad:function(e){t("log",e," at pages/index/index.vue:23"),t("log",this.$store.state," at pages/index/index.vue:24");var n={in1:"ll1",in2:"ll2",in3:"ll3",in4:"ll4",in5:"ll5",in6:"ll6"};for(var o in n)this.$data.keys.push(o);this.$data.data=n,t("log",this.$data.keys," at pages/index/index.vue:37")},methods:{ontap:function(e){t("log",e.target," at pages/index/index.vue:41"),getApp().onScan((function(e){t("log",e," at pages/index/index.vue:43")}))}}};e.default=n}).call(this,n("0de9")["default"])}},[["ad61","app-config"]]]);
|