(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{"0a79":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var r=function(){var t=this.$createElement,e=this._self._c||t;return e("web-view",{ref:"webview",staticClass:this._$s(0,"sc","myView"),attrs:{_i:0},on:{message:this.onMessage}})},i=[]},"0bc5":function(t,e,n){"use strict";n.r(e);var r=n("4f17"),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=i.a},"0de9":function(t,e,n){"use strict";function r(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function i(){return"string"===typeof __channelId__&&__channelId__}function o(t,e){switch(r(e)){case"Function":return"function() { [native code] }";default:return e}}function a(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r1){var c=u.pop();s=u.join("---COMMA---"),0===c.indexOf(" at ")?s+=c:s+="---COMMA---"+c}else s=u[0];console[a](s)}n.r(e),n.d(e,"log",(function(){return a})),n.d(e,"default",(function(){return u}))},"23e3":function(t,e,n){var r=n("7037");uni.addInterceptor({returnValue:function(t){return!t||"object"!==r(t)&&"function"!==typeof t||"function"!==typeof t.then?t:new Promise((function(e,n){t.then((function(t){return t[0]?n(t[0]):e(t[1])}))}))}})},"2b1f":function(t,e,n){"use strict";n.r(e);var r=n("325e"),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=i.a},"325e":function(t,e,n){"use strict";(function(t){var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n("a34a")),o=r(n("c973")),a=n("e7f9"),u={data:function(){return{messageTest:"1",ip:"111",type:"",port:"9100",info:[""]}},onLoad:function(){this.ddd=";s"},methods:{onMessage:function(e){t("log","\u6536\u5230\u6d88\u606f:",e.detail.data," at pages/index/test/test.vue:37"),this.messageTest=e.detail.data;var n=JSON.parse(this.messageTest);t("log",n.Type," at pages/index/test/test.vue:41"),t("log",n.Ip," at pages/index/test/test.vue:42"),t("log",n.Port," at pages/index/test/test.vue:43"),t("log",n.Detail," at pages/index/test/test.vue:44"),this.type=n.Type,(this.type="Bar")&&(this.ip=n.Ip,this.port=n.Port,this.info=n.Detail,this.printHandle())},callH5Method:function(){uni.postMessage({data:{action:"someAction",content:"Hello from uniapp"}},(function(e){t("log","\u6536\u5230H5\u9875\u9762\u7684\u54cd\u5e94\uff1a",e," at pages/index/test/test.vue:66")}))},printHandle:function(){var t=this;return(0,o.default)(i.default.mark((function e(){var n;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.info,uni.showLoading({title:"\u53d1\u9001\u4e2d...",mask:!0}),e.prev=2,e.next=5,(0,a.queue)(n,t.ip,t.port);case 5:e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](2),uni.showToast({title:e.t0,icon:"error",duration:2e3});case 10:return e.prev=10,uni.hideLoading(),t.printTxt="\u5df2\u53d1\u9001",uni.showToast({title:"\u53d1\u9001\u5b8c\u6210",icon:"success",duration:2e3}),e.finish(10);case 15:case"end":return e.stop()}}),e,null,[[2,7,10,15]])})))()}}};e.default=u}).call(this,n("0de9")["default"])},"32c4":function(t,e,n){"use strict";n.r(e);var r=n("8fcc"),i=n("a3c6");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);var a=n("f0c5"),u=Object(a["a"])(i["default"],r["b"],r["c"],!1,null,"3e8b85c2",null,!1,r["a"],void 0);e["default"]=u.exports},"4ea4":function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"4f17":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("c2f9"),i=(n("e7f9"),{data:function(){return{barCode:"ddddddddddddddd",title:"title"}},methods:{getScanCode:function(e){var n=e.trim();this.barCode=n,t("log","\u81ea\u5b9a\u4e49\u626b\u63cf\u7684\u7ed3\u679c\u56de\u8c03\u51fd\u6570:"+n," at pages/index/index.vue:34")}},onLoad:function(){r.broadcastScan.init(this.getScanCode)},onUnload:function(){r.broadcastScan.stop()},onShow:function(){r.broadcastScan.start()},onHide:function(){r.broadcastScan.stop()}});e.default=i}).call(this,n("0de9")["default"])},"4f2c":function(t,e,n){"use strict";n.r(e);var r=n("51e5"),i=n("0bc5");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);var a=n("f0c5"),u=Object(a["a"])(i["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);e["default"]=u.exports},"51e5":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));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.barCode)))]),n("text",{staticClass:t._$s(4,"sc","title"),attrs:{_i:4}},[t._v(t._$s(4,"t0-0",t._s(t.title)))])]),n("view",[n("button",{attrs:{_i:6},on:{click:function(e){return t.printHandle()}}})])])},i=[]},6542: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")},onShow:function(){t("log","App Show"," at App.vue:7")},onHide:function(){t("log","App Hide"," at App.vue:10")}};e.default=n}).call(this,n("0de9")["default"])},7037:function(t,e){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports["default"]=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports["default"]=t.exports},"7cc6":function(t,e,n){if("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}))}))}),"undefined"!==typeof uni&&uni&&uni.requireGlobal){var r=uni.requireGlobal();ArrayBuffer=r.ArrayBuffer,Int8Array=r.Int8Array,Uint8Array=r.Uint8Array,Uint8ClampedArray=r.Uint8ClampedArray,Int16Array=r.Int16Array,Uint16Array=r.Uint16Array,Int32Array=r.Int32Array,Uint32Array=r.Uint32Array,Float32Array=r.Float32Array,Float64Array=r.Float64Array,BigInt64Array=r.BigInt64Array,BigUint64Array=r.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),__definePage("pages/index/test/test",(function(){return Vue.extend(n("d782").default)})),__definePage("pages/index/index",(function(){return Vue.extend(n("4f2c").default)})),__definePage("pages/index/test/PrintInit",(function(){return Vue.extend(n("32c4").default)}))},"7ec2":function(t,e,n){var r=n("7037")["default"];function i(){"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=i=function(){return e},t.exports.__esModule=!0,t.exports["default"]=t.exports;var e={},n=Object.prototype,o=n.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},u="function"==typeof Symbol?Symbol:{},s=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(P){f=function(t,e,n){return t[e]=n}}function d(t,e,n,r){var i=e&&e.prototype instanceof h?e:h,o=Object.create(i.prototype),u=new C(r||[]);return a(o,"_invoke",{value:O(t,n,u)}),o}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(P){return{type:"throw",arg:P}}}e.wrap=d;var v={};function h(){}function g(){}function y(){}var m={};f(m,s,(function(){return this}));var b=Object.getPrototypeOf,_=b&&b(b(M([])));_&&_!==n&&o.call(_,s)&&(m=_);var w=y.prototype=h.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){var n;a(this,"_invoke",{value:function(i,a){function u(){return new e((function(n,u){(function n(i,a,u,s){var c=p(t[i],t,a);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==r(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,u,s)}),(function(t){n("throw",t,u,s)})):e.resolve(f).then((function(t){l.value=t,u(l)}),(function(t){return n("throw",t,u,s)}))}s(c.arg)})(i,a,n,u)}))}return n=n?n.then(u,u):u()}})}function O(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return A()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=E(a,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=p(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function E(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator["return"]&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,v;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,v):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),j(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;j(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:M(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),v}},e}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},"8bbf":function(t,e){t.exports=Vue},"8fcc":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","mui-content"),attrs:{_i:0}},[n("view",{staticClass:t._$s(1,"sc","mui-input-row"),attrs:{_i:1}},[n("label"),n("input",{directives:[{name:"model",rawName:"v-model",value:t.pdaMac,expression:"pdaMac"}],staticClass:t._$s(3,"sc","mui-input-clear"),attrs:{_i:3},domProps:{value:t._$s(3,"v-model",t.pdaMac)},on:{input:function(e){e.target.composing||(t.pdaMac=e.target.value)}}})]),n("view",{staticClass:t._$s(4,"sc","mui-input-row"),attrs:{_i:4}},[n("label"),n("input",{directives:[{name:"model",rawName:"v-model",value:t.printMac,expression:"printMac"}],staticClass:t._$s(6,"sc","mui-input-clear"),attrs:{_i:6},domProps:{value:t._$s(6,"v-model",t.printMac)},on:{input:function(e){e.target.composing||(t.printMac=e.target.value)}}})]),n("view",{staticClass:t._$s(7,"sc","mui-table-view ulcss"),attrs:{_i:7}},[n("view",{staticClass:t._$s(8,"sc","mui-table-view-cell acss"),attrs:{_i:8},on:{click:t.saveSettings}},[n("text")])]),n("view",{staticClass:t._$s(10,"sc","mui-table-view ulcss"),attrs:{_i:10}},[n("view",{staticClass:t._$s(11,"sc","mui-table-view-cell acss"),attrs:{_i:11},on:{click:t.doPrint2}},[n("text")])]),n("view",{staticClass:t._$s(13,"sc","mui-table-view ulcss"),attrs:{_i:13}},[n("view",{staticClass:t._$s(14,"sc","mui-table-view-cell acss"),attrs:{_i:14},on:{click:t.getSettings}},[n("text")])])])},i=[]},9523:function(t,e,n){var r=n("a395");t.exports=function(t,e,n){return e=r(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports["default"]=t.exports},9772:function(t,e,n){"use strict";var r=n("4ea4"),i=r(n("9523"));n("7cc6");var o=r(n("f9c6")),a=r(n("8bbf"));function u(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}n("23e3"),a.default.config.productionTip=!1,o.default.mpType="app";var s=new a.default(function(t){for(var e=1;e