diff --git a/ilsApp/.hbuilderx/launch.json b/ilsApp/.hbuilderx/launch.json index 179fe2d..07d9281 100644 --- a/ilsApp/.hbuilderx/launch.json +++ b/ilsApp/.hbuilderx/launch.json @@ -16,7 +16,7 @@ "type" : "uniCloud" }, { - "playground" : "custom", + "playground" : "standard", "type" : "uni-app:app-android" } ] diff --git a/ilsApp/pages/tabbar/index/index.vue b/ilsApp/pages/tabbar/index/index.vue index 66b7a23..198b3d7 100644 --- a/ilsApp/pages/tabbar/index/index.vue +++ b/ilsApp/pages/tabbar/index/index.vue @@ -29,7 +29,7 @@ import scanCode from "@/components/scan-code/scan-code.vue"; import { getCLodop } from '@/common/print/CLodopfuncs.js'; const printPdf = uni.requireNativePlugin('YanYu-PrintPDF'); - const LODOP = getCLodop(); + export default { data() { return { @@ -83,12 +83,14 @@ // //LODOP.ADD_PRINT_HTM(10, 20, "100mm", "150mm", ""); // LODOP.ADD_PRINT_PDF(0, 0, "100mm", "150mm", this.imgePdfData); // LODOP.PRINT(); + uni.request({ url: this.httpRoot + this.ilsApi + '/jeecg-boot/front/getOrderPayStateAndPdfBase64?OrderId=' + orderCoder, method: 'GET', success: (res) => { console.log( res.data.result); if(res.data.code==200){ + let LODOP = getCLodop(); LODOP.PRINT_INIT(null, this.printIp); LODOP.SET_PRINTER_INDEX(-1); LODOP.PRINT_INITA(2, 0, "100mm", "150mm", "100X150"); @@ -99,18 +101,18 @@ LODOP.PRINT(); uni.showToast({ title: '面单下发成功.正在打印,请稍候...', - icon: 'success', + icon: 'none', duration: 3000 }); }else{ uni.showToast({ - title: '面单获取异常,打印失败', + title: res.data.message, icon: 'none', duration: 3000 }) } }, - fail: () => { + fail: (error) => { uni.showToast({ title: '接口访问异常,打印失败', icon: 'none', @@ -137,6 +139,7 @@ success: (res) => { console.log( res.data.result); if(res.data.code==200){ + let LODOP = getCLodop(); LODOP.PRINT_INIT(null, _this.printIp); LODOP.SET_PRINTER_INDEX(-1); LODOP.PRINT_INITA(2, 0, "100mm", "150mm", "100X150"); @@ -147,18 +150,19 @@ LODOP.PRINT(); uni.showToast({ title: '下发成功.正在打印,请稍候...', - icon: 'success', + icon: 'none', duration: 3000 }); }else{ uni.showToast({ - title: '面单获取异常,打印失败', + title: res.data.message, icon: 'none', duration: 3000 }) } }, - fail: () => { + fail: (error) => { + console.log("error: ", error); uni.showToast({ title: '接口访问异常,打印失败', icon: 'none', diff --git a/ilsApp/unpackage/cache/wgt/__UNI__3C11615/app-service.js b/ilsApp/unpackage/cache/wgt/__UNI__3C11615/app-service.js index 71ce988..39b251f 100644 --- a/ilsApp/unpackage/cache/wgt/__UNI__3C11615/app-service.js +++ b/ilsApp/unpackage/cache/wgt/__UNI__3C11615/app-service.js @@ -1,2 +1,2 @@ -(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{"0010":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("view")},r=[]},"0de9":function(t,e,n){"use strict";function i(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function r(){return"string"===typeof __channelId__&&__channelId__}function o(t,e){switch(i(e)){case"Function":return"function() { [native code] }";default:return e}}function s(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i1){var u=a.pop();l=a.join("---COMMA---"),0===u.indexOf(" at ")?l+=u:l+="---COMMA---"+u}else l=a[0];console[s](l)}n.r(e),n.d(e,"log",(function(){return s})),n.d(e,"default",(function(){return a}))},1762:function(t,e,n){"use strict";(function(t){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;i(n("cc5a"));var r=n("b79f"),o=uni.requireNativePlugin("YanYu-PrintPDF"),s=(0,r.getCLodop)(),a={data:function(){return{codes:void 0,showPop:!1,httpRoot:"http://",ilsApi:"192.168.1.56:9090",printIp:"192.168.1.26",onLoad:function(t){this.$broadcastScan.init(this.getScancode)},onUnload:function(){this.$broadcastScan.stop()},onHide:function(){this.$broadcastScan.stop()},onShow:function(){this.$broadcastScan.start()}}},methods:{pdaSystemInit:function(){this.showPop=!0},confirmAdd:function(){this.showPop=!1,t("log","ilsApi:",this.ilsApi," at pages/tabbar/index/index.vue:63"),t("log","printIp:",this.printIp," at pages/tabbar/index/index.vue:64")},cancelAdd:function(){this.ilsApi="",this.printIp="",this.showPop=!1},doPrinter:function(e){var n=this;this.showPop=!1,t("log","doPrinter orderCoder: "+e," at pages/tabbar/index/index.vue:75"),t("log","ilsApi:",this.ilsApi," at pages/tabbar/index/index.vue:76"),t("log","printIp:",this.printIp," at pages/tabbar/index/index.vue:77"),uni.request({url:this.httpRoot+this.ilsApi+"/jeecg-boot/front/getOrderPayStateAndPdfBase64?OrderId="+e,method:"GET",success:function(e){t("log",e.data.result," at pages/tabbar/index/index.vue:90"),200==e.data.code?(s.PRINT_INIT(null,n.printIp),s.SET_PRINTER_INDEX(-1),s.PRINT_INITA(2,0,"100mm","150mm","100X150"),s.SET_PRINT_PAGESIZE(1,"100mm","150mm",""),s.SET_PRINT_MODE("POS_BASEON_PAPER",!0),s.ADD_PRINT_PDF(0,0,"100mm","150mm",e.data.result),s.PRINT(),uni.showToast({title:"\u6253\u5370\u6210\u529f",icon:"success",duration:2e3})):uni.showToast({title:"\u6253\u5370\u5931\u8d25",icon:"none",duration:2e3})},fail:function(){uni.showToast({title:"\u6253\u5370\u5931\u8d25",icon:"none",duration:2e3})}})},onShow:function(){var e=this;uni.$off("scancodedate"),uni.$on("scancodedate",(function(n){t("log","\u4f60\u60f3\u8981\u7684code\uff1a",n.code," at pages/tabbar/index/index.vue:126"),e.codes=n.code,this.showPop=!1;var i=n.code;t("log","onShow orderCoder: "+i," at pages/tabbar/index/index.vue:130"),t("log","ilsApi:",e.ilsApi," at pages/tabbar/index/index.vue:131"),t("log","printIp:",e.printIp," at pages/tabbar/index/index.vue:132"),uni.request({url:e.httpRoot+e.ilsApi+"/jeecg-boot/front/getOrderPayStateAndPdfBase64?OrderId="+i,method:"GET",success:function(n){t("log",n.data.result," at pages/tabbar/index/index.vue:138"),200==n.data.code?(s.PRINT_INIT(null,e.printIp),s.SET_PRINTER_INDEX(-1),s.PRINT_INITA(2,0,"100mm","150mm","100X150"),s.SET_PRINT_PAGESIZE(1,"100mm","150mm",""),s.SET_PRINT_MODE("POS_BASEON_PAPER",!0),s.ADD_PRINT_PDF(0,0,"100mm","150mm",n.data.result),s.PRINT(),uni.showToast({title:"\u6253\u5370\u6210\u529f",icon:"success",duration:2e3})):uni.showToast({title:"\u6253\u5370\u5931\u8d25",icon:"none",duration:2e3})},fail:function(){uni.showToast({title:"\u6253\u5370\u5931\u8d25",icon:"none",duration:2e3})}})}))},getScancode:function(e){e=e.trim(),t("log",e," at pages/tabbar/index/index.vue:175")},printPdf:function(){o.managerPrint("D:LeStoreDownloadEXP-LHJ1239002405-3676E4041337.pdf")}}};e.default=a}).call(this,n("0de9")["default"])},"2b68":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{}},methods:{}}},"2e67":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}));var i={scanCode:n("cc5a").default},r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","Big"),attrs:{_i:0}},[n("view",{attrs:{id:"page",_i:1}},[t._$s(2,"i",t.showPop)?n("view",[n("view",[n("text",{staticClass:t._$s(4,"sc","font-sm text-secondary px-3 py-2"),attrs:{_i:4}}),n("input",{directives:[{name:"model",rawName:"v-model",value:t.ilsApi,expression:"ilsApi"}],staticClass:t._$s(5,"sc","font-md border bg-white px-3"),attrs:{_i:5},domProps:{value:t._$s(5,"v-model",t.ilsApi)},on:{input:function(e){e.target.composing||(t.ilsApi=e.target.value)}}})]),n("view",[n("text",{staticClass:t._$s(7,"sc","font-sm text-secondary px-3 py-2"),attrs:{_i:7}}),n("input",{directives:[{name:"model",rawName:"v-model",value:t.printIp,expression:"printIp"}],staticClass:t._$s(8,"sc","font-md border bg-white px-3"),attrs:{_i:8},domProps:{value:t._$s(8,"v-model",t.printIp)},on:{input:function(e){e.target.composing||(t.printIp=e.target.value)}}})]),n("view",[n("button",{staticClass:t._$s(10,"sc","systemSty"),attrs:{_i:10},on:{click:t.cancelAdd}}),n("button",{staticClass:t._$s(11,"sc","systemSty"),attrs:{_i:11},on:{click:t.confirmAdd}})])]):t._e(),n("text",{staticClass:t._$s(12,"sc","nameSty"),attrs:{_i:12}},[t._v(t._$s(12,"t0-0",t._s(t.codes)))]),t._$s(13,"i",!t.showPop)?n("button",{staticClass:t._$s(13,"sc","systemSty"),attrs:{_i:13},on:{click:function(e){return t.pdaSystemInit()}}}):t._e(),t._$s(14,"i",t.codes)?n("button",{staticClass:t._$s(14,"sc","nameSty"),attrs:{_i:14},on:{click:function(e){return t.doPrinter(t.codes)}}}):t._e()]),n("scan-code",{attrs:{_i:15}})],1)},o=[]},"3eb5":function(t,e,n){"use strict";n.r(e);var i=n("0010"),r=n("6308");for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var s=n("f0c5"),a=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=a.exports},"4aa9":function(t,e,n){"use strict";n.r(e);var i=n("5925"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},"4dde":function(t,e,n){"use strict";n.r(e);var i=n("1762"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},"4ea4":function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"54ef":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"])},"550d":function(t,e,n){"use strict";n.r(e);var i=n("2e67"),r=n("4dde");for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var s=n("f0c5"),a=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=a.exports},5631:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{}},methods:{}}},5758: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 i=uni.requireGlobal();ArrayBuffer=i.ArrayBuffer,Int8Array=i.Int8Array,Uint8Array=i.Uint8Array,Uint8ClampedArray=i.Uint8ClampedArray,Int16Array=i.Int16Array,Uint16Array=i.Uint16Array,Int32Array=i.Int32Array,Uint32Array=i.Uint32Array,Float32Array=i.Float32Array,Float64Array=i.Float64Array,BigInt64Array=i.BigInt64Array,BigUint64Array=i.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),__definePage("pages/tabbar/index/index",(function(){return Vue.extend(n("550d").default)})),__definePage("pages/tabbar/classify/classify",(function(){return Vue.extend(n("f8a1").default)})),__definePage("pages/tabbar/mine/mine",(function(){return Vue.extend(n("fd46").default)})),__definePage("pages/tabbar/study/study",(function(){return Vue.extend(n("3eb5").default)}))},5925:function(t,e,n){"use strict";(function(t){var n,i,r;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=!1,s={data:function(){return{scanCode:""}},created:function(t){this.initScan(),this.startScan()},onHide:function(){this.stopScan()},destroyed:function(){this.stopScan()},methods:{initScan:function(){var t=this;n=plus.android.runtimeMainActivity();var e=plus.android.importClass("android.content.IntentFilter");r=new e,r.addAction("android.intent.ACTION_DECODE_DATA"),i=plus.android.implements("io.dcloud.feature.internal.reflect.BroadcastReceiver",{onReceive:function(e,n){plus.android.importClass(n);var i=n.getStringExtra("barcode_string");t.queryCode(i)}})},startScan:function(){n.registerReceiver(i,r)},stopScan:function(){n.unregisterReceiver(i)},queryCode:function(e){if(o)return!1;o=!0,setTimeout((function(){o=!1}),150);var n=e;t("log","id:",n," at components/scan-code/scan-code.vue:53"),uni.$emit("scancodedate",{code:n})}}};e.default=s}).call(this,n("0de9")["default"])},6308:function(t,e,n){"use strict";n.r(e);var i=n("a3fc"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},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},7870:function(t,e,n){"use strict";var i,r,o;Object.defineProperty(e,"__esModule",{value:!0}),e.broadcastScan=void 0;var s=!1,a={init:function(t){i=plus.android.runtimeMainActivity();var e=plus.android.importClass("android.content.IntentFilter");r=new e,r.addAction("android.intent.ACTION_DECODE_DATA"),o=plus.android.implements("io.dcloud.feature.internal.reflect.BroadcastReceiver",{onReceive:function(e,n){plus.android.importClass(n);var i=n.getStringExtra("barcode_string");s||(s=!0,setTimeout((function(){s=!1}),150),t&&t(i))}})},start:function(){i.registerReceiver(o,r)},stop:function(){i.unregisterReceiver(o)}};e.broadcastScan=a},"7c11":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("view")},r=[]},"7ec2":function(t,e,n){var i=n("7037")["default"];function r(){"use strict"; -/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=r=function(){return e},t.exports.__esModule=!0,t.exports["default"]=t.exports;var e={},n=Object.prototype,o=n.hasOwnProperty,s=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function d(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(A){d=function(t,e,n){return t[e]=n}}function f(t,e,n,i){var r=e&&e.prototype instanceof m?e:m,o=Object.create(r.prototype),a=new R(i||[]);return s(o,"_invoke",{value:x(t,n,a)}),o}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(A){return{type:"throw",arg:A}}}e.wrap=f;var h={};function m(){}function v(){}function g(){}var _={};d(_,l,(function(){return this}));var y=Object.getPrototypeOf,P=y&&y(y(O([])));P&&P!==n&&o.call(P,l)&&(_=P);var b=g.prototype=m.prototype=Object.create(_);function D(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function I(t,e){var n;s(this,"_invoke",{value:function(r,s){function a(){return new e((function(n,a){(function n(r,s,a,l){var u=p(t[r],t,s);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==i(d)&&o.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,l)}),(function(t){n("throw",t,a,l)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,l)}))}l(u.arg)})(r,s,n,a)}))}return n=n?n.then(a,a):a()}})}function x(t,e,n){var i="suspendedStart";return function(r,o){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw o;return C()}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var a=T(s,n);if(a){if(a===h)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var l=p(t,e,n);if("normal"===l.type){if(i=n.done?"completed":"suspendedYield",l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i="completed",n.method="throw",n.arg=l.arg)}}}function T(t,e){var n=e.method,i=t.iterator[n];if(void 0===i)return e.delegate=null,"throw"===n&&t.iterator["return"]&&(e.method="return",e.arg=void 0,T(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var r=p(i,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,h;var o=r.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,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function E(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 w(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function R(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(t){if(t){var e=t[l];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n=0;--i){var r=this.tryEntries[i],s=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var a=o.call(r,"catchLoc"),l=o.call(r,"finallyLoc");if(a&&l){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&o.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),w(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;w(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},e}t.exports=r,t.exports.__esModule=!0,t.exports["default"]=t.exports},"8bbf":function(t,e){t.exports=Vue},9523:function(t,e,n){var i=n("a395");t.exports=function(t,e,n){return e=i(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},"97f7":function(t,e,n){"use strict";n.r(e);var i=n("54ef"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},a114:function(t,e,n){"use strict";n.r(e);var i=n("97f7");for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);var o=n("f0c5"),s=Object(o["a"])(i["default"],void 0,void 0,!1,null,null,null,!1,void 0,void 0);e["default"]=s.exports},a34a:function(t,e,n){var i=n("7037"),r=n("7ec2")();t.exports=r;try{regeneratorRuntime=r}catch(o){"object"===("undefined"===typeof globalThis?"undefined":i(globalThis))?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},a395:function(t,e,n){var i=n("7037")["default"],r=n("e50d");t.exports=function(t){var e=r(t,"string");return"symbol"===i(e)?e:String(e)},t.exports.__esModule=!0,t.exports["default"]=t.exports},a3fc:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{}},methods:{}}},b79f:function(t,e,n){"use strict";(function(t){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getCLodop=function(){return window.CLODOP2015_7028},e.getPrinterList=function(t){return s.apply(this,arguments)};var r=i(n("a34a")),o=i(n("c973"));function s(){return s=(0,o.default)(r.default.mark((function e(n){var i,o,s,a,l;return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n||(n=uni.getStorageSync("fl_ip")),e.prev=1,e.next=4,uni.request({url:"http://".concat(n,":8000/CLodopfuncs.js")});case 4:if(i=e.sent,!i[0]){e.next=7;break}return e.abrupt("return",[]);case 7:return o=i[1].data.match(/"list":(.+)/),s=o[1].substr(0,o[1].length-2),a=JSON.parse(s),l=[],a.forEach((function(t){l.push(t.name)})),e.abrupt("return",l);case 15:e.prev=15,e.t0=e["catch"](1),t("log",e.t0," at common/print/CLodopfuncs.js:1894");case 18:case"end":return e.stop()}}),e,null,[[1,15]])}))),s.apply(this,arguments)}window={location:{href:"http://127.0.0.1/print"}},function(e){var n=[],i={strWebPageID:"7BCAAAH",strTaskID:"",strHostURI:"http://localhost:8000",wsHostURI:"ws://localhost:8000/c_webskt/",VERSION:"6.5.7.2",IVERSION:"6572",CVERSION:"6.5.7.2",HTTPS_STATUS:2,VERSION_EXT:!0,iBaseTask:0,timeThreshold:5,Priority:0,blIslocal:!0,Iframes:[],ItemDatas:{},PageData:{},defStyleJson:{},PageDataEx:{},ItemCNameStyles:{},blWorking:!1,blNormalItemAdded:!1,blTmpSelectedIndex:null,Caption:null,Color:null,CompanyName:null,strBroadcastMS:null,Border:null,Inbrowse:null,webskt:null,SocketEnable:!1,SocketOpened:!1,NoClearAfterPrint:!1,On_Return_Remain:!1,On_Broadcast_Remain:!1,On_Return:null,Result:null,iTrySendTimes:0,OBO_Mode:1,blOneByone:!1,DelimChar:"\f\f",Printers:{default:"1",list:[]},altMessageWebSocketInvalid:"WebSocket\u6ca1\u51c6\u5907\u597d\uff0c\u70b9\u786e\u5b9a\u7ee7\u7eed...",altMessageNoReadWriteFile:"\u4e0d\u80fd\u8fdc\u7a0b\u8bfb\u5199\u6587\u4ef6!",altMessageNoReadFile:"\u4e0d\u80fd\u8fdc\u7a0b\u8bfb\u6587\u4ef6!",altMessageNoWriteFile:"\u4e0d\u80fd\u8fdc\u7a0b\u5199\u6587\u4ef6!",altMessageNoPrintDesign:"\u4e0d\u80fd\u8fdc\u7a0b\u6253\u5370\u8bbe\u8ba1!",altMessageNoPrintSetup:"\u4e0d\u80fd\u8fdc\u7a0b\u6253\u5370\u7ef4\u62a4!",altMessageSomeWindowExist:"\u6709\u7a97\u53e3\u5df2\u6253\u5f00\uff0c\u5148\u5173\u95ed\u5b83(\u6301\u7eed\u5982\u6b64\u65f6\u8bf7\u5237\u65b0\u9875\u9762)!",altMessageBusy:"\u4e0a\u4e00\u4e2a\u8bf7\u6c42\u6b63\u5fd9\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01",Browser:function(){navigator={userAgent:"Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Mobile Safari/537.36"};var t=navigator.userAgent,e="[object Opera]"==Object.prototype.toString.call(window.opera);return{IE:!!window.attachEvent&&!e,Opera:e,WebKit:t.indexOf("AppleWebKit/")>-1,Gecko:t.indexOf("Gecko")>-1&&-1===t.indexOf("KHTML"),MobileSafari:/Apple.*Mobile/.test(t)}}(),GetTaskID:function(){if(!this.strTaskID||""==this.strTaskID){var t=new Date;this.iBaseTask++,this.strTaskID=""+t.getHours()+t.getMinutes()+t.getSeconds()+"_"+this.iBaseTask}return this.strWebPageID+this.strTaskID},DoInit:function(){i.Printers.list=n,this.strTaskID="",this.NoClearAfterPrint||(this.ItemDatas={count:0},this.PageData={},this.ItemCNameStyles={},this.defStyleJson={beginpage:0,beginpagea:0},this.blNormalItemAdded=!1)},OpenWebSocket:function(e){window.On_CLodop_Opened&&i.Priority==window.CLODOP_OK_Priority&&setTimeout("window.On_CLodop_Opened(CLODOP)",1),window.WebSocket||window.MozWebSocket||window.On_CLodop_Opened&&i.Priority==window.CLODOP_OK_Priority&&setTimeout("window.On_CLodop_Opened(CLODOP)",1),t("log",this.webskt," at common/print/CLodopfuncs.js:123"),t("log",i.wsHostURI," at common/print/CLodopfuncs.js:124"),t("log",e," at common/print/CLodopfuncs.js:125");var n=uni.getStorageSync("fl_ip")||"192.168.1.56",r="ws://".concat(n,":8000/c_webskt/");this.SocketEnable=!0;try{this.webskt&&3!=this.webskt.readyState&&!e||(t("log","\u94fe\u63a5"," at common/print/CLodopfuncs.js:131"),!window.WebSocket&&window.MozWebSocket&&(window.WebSocket=window.MozWebSocket),this.webskt=uni.connectSocket({url:r,success:function(e){t("info",e," at common/print/CLodopfuncs.js:136"),t("log","\u94fe\u63a5\u6210\u529f"," at common/print/CLodopfuncs.js:137")},fail:function(e){t("info",e," at common/print/CLodopfuncs.js:140"),t("log","\u94fe\u63a5\u5931\u8d25"," at common/print/CLodopfuncs.js:141")},complete:function(e){t("info",e," at common/print/CLodopfuncs.js:144"),t("log","\u94fe\u63a5\u5b8c\u6210"," at common/print/CLodopfuncs.js:145")}}),t("log",this.webskt," at common/print/CLodopfuncs.js:148"),this.webskt.onOpen((function(t){i.SocketOpened=!0,window.On_CLodop_Opened&&i.Priority==window.CLODOP_OK_Priority&&setTimeout(window.On_CLodop_Opened(i),1e4)})),this.webskt.onMessage((function(e){t("log",e," at common/print/CLodopfuncs.js:156"),i.resultHandle(e.data)})),this.webskt.onClose((function(t){i.SocketOpened||(i.SocketEnable=!1)})),this.webskt.onError((function(e){t("info",e," at common/print/CLodopfuncs.js:167")})))}catch(o){this.webskt=null,o.message.indexOf("SecurityError")>-1?this.SocketEnable=!1:setTimeout((function(){i.OpenWebSocket()}),2e3)}},resultHandle:function(e){i.blOneByone=!1;var n=e;i.Result=n;try{var r=null,o=n.indexOf("=");if(o>=0&&o<30&&(r=n.slice(0,o),n=n.slice(o+1)),r.indexOf("ErrorMS")>-1)return void t("info",n," at common/print/CLodopfuncs.js:192");if(r.indexOf("BroadcastMS")>-1){if(i.strBroadcastMS=n,i.On_Broadcast){var s=i.On_Broadcast;i.On_Broadcast(n),i.On_Broadcast_Remain||s!==i.On_Broadcast||(i.On_Broadcast=null)}return}if(i.On_Return){s=i.On_Return;"true"==n.toLowerCase()||"false"==n.toLowerCase()?i.On_Return(r,"true"==n.toLowerCase()):i.On_Return(r,n),i.On_Return_Remain||s!==i.On_Return||(i.On_Return=null)}}catch(a){t("log",a," at common/print/CLodopfuncs.js:214")}},wsSend:function(e){if(t("log",this.webskt," at common/print/CLodopfuncs.js:219"),t("log",this.wsHostURI," at common/print/CLodopfuncs.js:220"),t("log",11," at common/print/CLodopfuncs.js:221"),this.webskt&&1==this.webskt.readyState)return this.Result=null,this.iTrySendTimes=0,this.webskt.send({data:e,success:function(e){t("info",e," at common/print/CLodopfuncs.js:228")},fail:function(e){t("info",e," at common/print/CLodopfuncs.js:231")}}),!0;this.iTrySendTimes++,t("log",this.iTrySendTimes," at common/print/CLodopfuncs.js:237"),this.iTrySendTimes<=1&&(this.OpenWebSocket(),setTimeout((function(){i.wsSend(e)}),1e3))},FORMAT:function(e,n){if(this.blWorking)return t("info",this.altMessageBusy," at common/print/CLodopfuncs.js:248"),null;var r=null;if(void 0!==e&&void 0!==n){if(0==e.replace(/^\s+|\s+$/g,"").toLowerCase().indexOf("time:")){e=e.replace(/^\s+|\s+$/g,"").slice(5),n.toLowerCase().indexOf("now")>-1&&(n=(new Date).toString()),n.toLowerCase().indexOf("date")>-1&&(n=(new Date).toString()),n.toLowerCase().indexOf("time")>-1&&(n=(new Date).toString());var o="ymd";n.toLowerCase().indexOf("ymd")>-1&&(o="ymd",n=n.slice(3)),n.toLowerCase().indexOf("dmy")>-1&&(o="dmy",n=n.slice(3)),n.toLowerCase().indexOf("mdy")>-1&&(o="mdy",n=n.slice(3)),n=n.replace(/ [^ ]*\+[^ ]* /g," "),n=n.replace(/\(.*\)/g," "),n=n.replace(/\u661f\u671f\u65e5|\u661f\u671f\u4e00|\u661f\u671f\u4e8c|\u661f\u671f\u4e09|\u661f\u671f\u56db|\u661f\u671f\u4e94|\u661f\u671f\u516d/g," "),n=n.replace(/[A-Za-z]+day|Mon|Tue|Wed|Thu|Fri|Sat|Sun/g," ");var s=0,a=new RegExp("Oct[A-Za-z]*|\u5341\u6708|10\u6708","i");null!==n.match(a)&&(s=10,n=n.replace(a,"")),a=new RegExp("Nov[A-Za-z]*|\u5341\u4e00\u6708|11\u6708","i"),null!==n.match(a)&&(s=11,n=n.replace(a,"")),a=new RegExp("Dec[A-Za-z]*|\u5341\u4e8c\u6708|12\u6708","i"),null!==n.match(a)&&(s=12,n=n.replace(a,"")),a=new RegExp("Jan[A-Za-z]*|\u4e00\u6708|01\u6708|1\u6708","i"),null!==n.match(a)&&(s=1,n=n.replace(a,"")),a=new RegExp("Feb[A-Za-z]*|\u4e8c\u6708|02\u6708|2\u6708","i"),null!==n.match(a)&&(s=2,n=n.replace(a,"")),a=new RegExp("Mar[A-Za-z]*|\u4e09\u6708|03\u6708|3\u6708","i"),null!==n.match(a)&&(s=3,n=n.replace(a,"")),a=new RegExp("Apr[A-Za-z]*|\u56db\u6708|04\u6708|4\u6708","i"),null!==n.match(a)&&(s=4,n=n.replace(a,"")),a=new RegExp("May[A-Za-z]*|\u4e94\u6708|05\u6708|5\u6708","i"),null!==n.match(a)&&(s=5,n=n.replace(a,"")),a=new RegExp("Jun[A-Za-z]*|\u516d\u6708|06\u6708|6\u6708","i"),null!==n.match(a)&&(s=6,n=n.replace(a,"")),a=new RegExp("Jul[A-Za-z]*|\u4e03\u6708|07\u6708|7\u6708","i"),null!==n.match(a)&&(s=7,n=n.replace(a,"")),a=new RegExp("Aug[A-Za-z]*|\u516b\u6708|08\u6708|8\u6708","i"),null!==n.match(a)&&(s=8,n=n.replace(a,"")),a=new RegExp("Sep[A-Za-z]*|\u4e5d\u6708|09\u6708|9\u6708","i"),null!==n.match(a)&&(s=9,n=n.replace(a,"")),n=n.replace(/\u65e5|\u79d2/g," "),n=n.replace(/\u65f6|\u5206/g,":");var l=n.match(/ \d+:\d+:\d+/);null==l&&(l=""),n=n.replace(/ \d+:\d+:\d+/,"")+l;var u=new Date,c=0,d=0,f=0,p=0,h=0,m=0,v=n,g="",_=0;MC2=0,MC3=0,g=v.match(/\d+/),null!==g&&(_=parseInt(g[0]),v=v.replace(/\d+/,"")),g=v.match(/\d+/),null!==g&&(MC2=parseInt(g[0]),v=v.replace(/\d+/,"")),s<=0&&(g=v.match(/\d+/),null!==g&&(MC3=parseInt(g[0]),v=v.replace(/\d+/,""))),s>0?(d=s,MC2<=31?(c=_,f=MC2):(c=MC2,f=_)):"dmy"==o?(f=_,d=MC2,c=MC3):"mdy"==o?(d=_,f=MC2,c=MC3):(c=_,d=MC2,f=MC3,MC3>31?(c=MC3,d=_,f=MC2,_>12&&(f=_,d=MC2)):MC2>12&&(c=MC2,d=_));g=v.match(/\d+/);null!==g&&(p=parseInt(g[0]),v=v.replace(/\d+/,""));g=v.match(/\d+/);null!==g&&(h=parseInt(g[0]),v=v.replace(/\d+/,""));g=v.match(/\d+/);if(null!==g&&(m=parseInt(g[0]),v=v.replace(/\d+/,"")),"isvalidformat"==e.toLowerCase())n=c>0&&d>0&&d<=12&&f>0&&f<=31;else{(""+c).length<4&&(c+=2e3),u.setFullYear(c,d-1,f),u.setHours(p),u.setMinutes(h),u.setSeconds(m);var y=u.getDay();if("weekindex"==e.toLowerCase())n=y;else if("floatvalue"==e.toLowerCase())n=u.getTime();else{var P="";switch(y){case 0:P="\u65e5";break;case 1:P="\u4e00";break;case 2:P="\u4e8c";break;case 3:P="\u4e09";break;case 4:P="\u56db";break;case 5:P="\u4e94";break;case 6:P="\u516d";break}if(n=e.replace(/dddd/gi,"\u661f\u671f"+P),/(y+)/i.test(n)&&(n=n.replace(RegExp.$1,(c+"").substr(4-RegExp.$1.length))),/(m+:)/i.test(n)&&(n=n.replace(RegExp.$1,("00"+h+":").substr(("00"+h+":").length-RegExp.$1.length))),/(M+)/i.test(n)){var b=(""+d).length>RegExp.$1.length?(""+d).length:RegExp.$1.length;n=n.replace(RegExp.$1,("00"+d).substr(("00"+d).length-b))}if(/(d+)/i.test(n)){b=(""+f).length>RegExp.$1.length?(""+f).length:RegExp.$1.length;n=n.replace(RegExp.$1,("00"+f).substr(("00"+f).length-b))}/(H+)/i.test(n)&&(n=n.replace(RegExp.$1,("00"+p).substr(("00"+p).length-RegExp.$1.length))),/(n+)/i.test(n)&&(n=n.replace(RegExp.$1,("00"+h).substr(("00"+h).length-RegExp.$1.length))),/(s+)/i.test(n)&&(n=n.replace(RegExp.$1,("00"+m).substr(("00"+m).length-RegExp.$1.length)))}}if(i.On_Return){var D=i.On_Return;i.On_Return(0,n),i.On_Return_Remain||D!==i.On_Return||(i.On_Return=null)}return n}this.blIslocal||e.indexOf("FILE:")<0?(this.PageData["format_type"]=e,this.PageData["format_value"]=n,1==this.DoPostDatas("format")&&(this.GetLastResult(!1),r=this.GetTaskID())):t("info",this.altMessageNoReadWriteFile," at common/print/CLodopfuncs.js:496")}return this.DoInit(),this.blWorking=!1,r},SET_PRINT_PAPER:function(t,e,n,i,r){return this.PRINT_INITA(t,e,n,i,r)},PRINT_INIT:function(t,e){return this.wsHostURI="ws://".concat(e,":8000/c_webskt/"),this.PRINT_INITA(null,null,null,null,t)},PRINT_INITA:function(t,e,n,i,r){return void 0!==t&&null!==t||(t=""),void 0!==e&&null!==e||(e=""),void 0!==n&&null!==n||(n=""),void 0!==i&&null!==i||(i=""),void 0!==r&&null!==r||(r=""),this.NoClearAfterPrint=!1,this.DoInit(),this.PageData["top"]=t,this.PageData["left"]=e,this.PageData["width"]=n,this.PageData["height"]=i,this.PageData["printtask"]=r,!0},SET_PRINT_MODE:function(t,e){if(void 0!==t&&null!==t||(t=""),void 0!==e&&null!==e||(e=""),""===t)return!1;if(t=t.toLowerCase(),this.PageData[t]=e,"noclear_after_print"==t&&(this.NoClearAfterPrint=e),t.indexOf("window_def")>-1||t.indexOf("control_printer")>-1){var n=null;return 1==this.DoPostDatas("onlysetprint")&&(this.GetLastResult(!1),n=this.GetTaskID()),this.DoInit(),this.blWorking=!1,n}},ADD_PRINT_TEXT:function(t,e,n,i,r){return this.AddItemArray(2,t,e,n,i,r)},ADD_PRINT_TEXTA:function(t,e,n,i,r,o){return this.AddItemArray(2,e,n,i,r,o,t)},ADD_PRINT_HTM:function(t,e,n,i,r){return this.AddItemArray(4,t,e,n,i,r)},ADD_PRINT_HTML:function(t,e,n,i,r){return this.AddItemArray(1,t,e,n,i,r)},ADD_PRINT_HTMLA:function(t,e,n,i,r,o){return this.AddItemArray(1,e,n,i,r,o,t)},ADD_PRINT_BARCODE:function(t,e,n,i,r,o){return this.AddItemArray(9,t,e,n,i,o,null,null,null,null,null,null,r)},ADD_PRINT_BARCODEA:function(t,e,n,i,r,o,s){return this.AddItemArray(9,e,n,i,r,s,t,null,null,null,null,null,o)},ADD_PRINT_RECTA:function(t,e,n,i,r,o,s){return this.AddItemArray(3,t,e,n,i,null,null,2,r,o,s,null)},ADD_PRINT_RECT:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,2,r,o,null,null)},ADD_PRINT_ELLIPSEA:function(t,e,n,i,r,o,s){return this.AddItemArray(3,t,e,n,i,null,null,3,r,o,s,null)},ADD_PRINT_ELLIPSE:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,3,r,o,null,null)},ADD_PRINT_SHAPE:function(t,e,n,i,r,o,s,a){return this.AddItemArray(3,e,n,i,r,null,null,t,o,s,a,null)},ADD_PRINT_LINE:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,0,r,o,null,"1")},ADD_PRINT_DNLINE:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,1,r,o,null,null)},ADD_PRINT_DNLINEA:function(t,e,n,i,r,o,s){return this.AddItemArray(3,t,e,n,i,null,null,1,r,o,s,null)},ADD_PRINT_UPLINE:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,0,r,o,null,null)},ADD_PRINT_UPLINEA:function(t,e,n,i,r,o,s){return this.AddItemArray(3,t,e,n,i,null,null,0,r,o,s,null)},ADD_PRINT_TABLE:function(t,e,n,i,r){return this.AddItemArray(6,t,e,n,i,r)},ADD_PRINT_PDF:function(t,e,n,i,r){if(this.blIslocal||":"!=r[1])return this.AddItemArray(11,t,e,n,i,r);alert("Unable to print or view remote service files")},ADD_PRINT_TBURL:function(t,e,n,i,r){return this.AddItemArray(7,t,e,n,i,r)},ADD_PRINT_URL:function(t,e,n,i,r){return this.AddItemArray(5,t,e,n,i,r)},ADD_PRINT_IMAGE:function(t,e,n,i,r){return this.AddItemArray(8,t,e,n,i,r)},ADD_PRINT_CHART:function(t,e,n,i,r,o){return this.AddItemArray(10,t,e,n,i,o,null,null,null,null,null,null,null,r)},SET_PRINT_PROPERTY:function(t,e,n,i){this.SET_PRINT_STYLEA(t,"ItemType",e),this.SET_PRINT_STYLEA(t,"HOrient",n),this.SET_PRINT_STYLEA(t,"VOrient",i)},SET_PRINT_PROPERTYA:function(t,e,n,i){this.SET_PRINT_PROPERTY(t,e,n,i)},SET_PRINT_STYLE:function(t,e){if(void 0!==t&&null!==t||(t=""),void 0!==e&&null!==e||(e=""),""===t)return!1;t=t.toLowerCase(),this.defStyleJson[t]=e},SET_PRINT_STYLEA:function(t,e,n){if(void 0!==t&&null!==t||(t=""),void 0!==e&&null!==e||(e=""),void 0!==n&&null!==n||(n=""),""===t||""===e)return!1;if(this.ItemDatas["count"]<=0)return void 0!==this.PageData["add_print_program_data"]&&(this.ItemCNameStyles[e.toLowerCase()+"-"+t]=n,!0);if(e=e.toLowerCase(),"type"==e)return!1;var i=!1;for(var r in 0==t&&(t=this.ItemDatas["count"]),this.ItemDatas){var o=this.ItemDatas[r]["itemname"];(t==r||t==o||"string"===typeof t&&"string"===typeof o&&t.toUpperCase()==o.toUpperCase())&&(this.ItemDatas[r][e]=n,i=!0)}return!!i},SET_PRINT_TEXT_STYLE:function(t,e,n,i,r,o,s){this.SET_PRINT_STYLEA(t,"fontname",e),this.SET_PRINT_STYLEA(t,"fontsize",n),this.SET_PRINT_STYLEA(t,"bold",i),this.SET_PRINT_STYLEA(t,"italic",r),this.SET_PRINT_STYLEA(t,"underline",o),this.SET_PRINT_STYLEA(t,"alignment",s)},SET_PRINT_TEXT_STYLEA:function(t,e,n,i,r,o,s,a){this.SET_PRINT_TEXT_STYLE(t,e,n,i,r,o,s),this.SET_PRINT_STYLEA(t,"fontcolor",a)},SET_PRINT_TEXT_STYLEB:function(t,e,n,i,r,o,s,a){this.SET_PRINT_TEXT_STYLEA(t,e,n,i,r,o,s,a)},NEWPAGE:function(){this.NewPage()},NewPage:function(){var t,e=!1;for(var n in this.ItemDatas){for(var i in t="count"!=n,this.ItemDatas[n])if("itemtype"==i&&(t=!1,0==this.ItemDatas[n][i]||4==this.ItemDatas[n][i])){e=!0;break}if(t&&(e=!0),e)break}e&&(this.defStyleJson["beginpage"]=this.defStyleJson["beginpage"]+1)},NEWPAGEA:function(){this.NewPageA()},NewPageA:function(){var t,e=!1;for(var n in this.ItemDatas){for(var i in t="count"!=n,this.ItemDatas[n])if("itemtype"==i&&(t=!1,0==this.ItemDatas[n][i]||4==this.ItemDatas[n][i])){e=!0;break}if(t&&(e=!0),e)break}e&&(this.defStyleJson["beginpagea"]=this.defStyleJson["beginpagea"]+1)},PREVIEW:function(e,n,i){if(this.blWorking)return t("info",this.altMessageBusy," at common/print/CLodopfuncs.js:725"),null;var r=null;return!e&&this.blIslocal?1==this.DoPostDatas("preview")&&(this.Result=null,this.GetLastResult(!0),r=this.GetTaskID()):1==this.DoPostDatas("cpreview")&&(this.DoCPreview(e,n,i),r=this.GetTaskID()),this.DoInit(),this.blWorking=!1,r},PRINT:function(e,n,i){if(this.blWorking)return t("info",this.altMessageBusy," at common/print/CLodopfuncs.js:747"),null;var r=null;return 1==this.DoPostDatas("print")&&(r=this.GetTaskID()),this.DoInit(),this.blWorking=!1,r},GET_PRINTER_COUNT:function(){return void 0===this.Printers?0:this.Printers["list"].length},GET_PRINTER_NAME:function(t){if(void 0===this.Printers)return"";if("string"==typeof t&&t.indexOf(":")>-1){var e=t.slice(t.indexOf(":")+1);return t=t.slice(0,t.indexOf(":")),-1==t?this.Printers["list"][this.Printers["default"]][e]:this.Printers["list"][t][e]}return-1==t?this.Printers["list"][this.Printers["default"]].name:t>=0&&t-1)return this.PageData["add_print_program_data"]=e,!0},SHOW_CHART:function(){},DO_ACTION:function(e,n){if(this.blWorking)return t("info",this.altMessageBusy," at common/print/CLodopfuncs.js:1224"),null;var i=null;return void 0!==e&&void 0!==n&&(this.PageData["do_action_name"]=e,this.PageData["do_action_value"]=n,1==this.DoPostDatas("doaction")&&(this.GetLastResult(!1),i=this.GetTaskID())),this.DoInit(),this.blWorking=!1,i},Create_Printer_List:function(t,e){while(t.childNodes.length>0)for(var n=t.childNodes,i=0;i0)if(e)s.innerHTML=s.innerHTML+",..";else for(var a=s.innerHTML,l=0;l=100)return}}},Create_PageSize_List:function(t,e){while(t.childNodes.length>0)for(var n=t.childNodes,r=0;r-1?m["content"]=o.replace(new RegExp(this.DelimChar,"g"),""):m["content"]=o),void 0!==s&&null!=s&&(m["itemname"]=s+""),void 0!==a&&null!=a&&(m["shapetype"]=a),void 0!==l&&null!=l&&(m["penstyle"]=l),void 0!==u&&null!=u&&(m["penwidth"]=u),void 0!==c&&null!=c&&(m["fontcolor"]=c),void 0!==d&&null!=d&&(m["lineposition"]="1"),void 0!==f&&null!=f&&(m["fontname"]=f),void 0!==p&&null!=p&&(m["charttypess"]=p),m["beginpage"]=this.defStyleJson["beginpage"],m["beginpagea"]=this.defStyleJson["beginpagea"],this.ItemDatas["count"]=h,this.ItemDatas[h]=m,this.blNormalItemAdded=!0,!0},RemoveIframes:function(){try{for(var t=0;t6e4*this.timeThreshold&&this.Iframes.splice(t,1)}}catch(n){}},AddInputElement:function(t,e,n,i){if(void 0!==i){var r=t.createElement("input");r.name=n,r.type="hidden",r.value=i,e.appendChild(r)}},createPostDataString:function(t){var e="act="+t+this.DelimChar;for(var n in e=e+"browseurl="+window.location.href+this.DelimChar,this.PageDataEx)e=e+n+"="+this.PageDataEx[n]+this.DelimChar;var i="";for(var n in this.PageData)e=e+n+"="+this.PageData[n]+this.DelimChar,"top"!=n&&"left"!=n&&"width"!=n&&"height"!=n&&"printtask"!=n&&"printerindex"!=n&&"printerindexa"!=n&&"printersubid"!=n&&"orient"!=n&&"pagewidth"!=n&&"pageheight"!=n&&"pagename"!=n&&"printcopies"!=n&&"setup_bkimg"!=n&&(i=i+";"+n);""!==i&&(e=e+"printmodenames="+i+this.DelimChar);var r="";for(var o in this.ItemCNameStyles)e=e+o+"="+this.ItemCNameStyles[o]+this.DelimChar,r=r+";"+o;for(var s in""!==r&&(e=e+"printstyleclassnames="+r+this.DelimChar),e=e+"itemcount="+this.ItemDatas["count"]+this.DelimChar,this.ItemDatas){var a="";for(var l in this.ItemDatas[s])"beginpage"!=l&&"beginpagea"!=l&&"type"!=l&&"top"!=l&&"left"!=l&&"width"!=l&&"height"!=l&&(a=a+";"+l);for(var l in e=e+s+"_itemstylenames="+a+this.DelimChar,this.ItemDatas[s])e=e+s+"_"+l+"="+this.ItemDatas[s][l]+this.DelimChar}return e},wsDoPostDatas:function(t){var e="charset=\u4e02"+this.DelimChar;return e=e+"tid="+this.GetTaskID()+this.DelimChar,e+=this.createPostDataString(t),this.wsSend("post:"+e)},DoPostDatas:function(e){return this.OBO_Mode&&this.blOneByone?(t("info",this.altMessageSomeWindowExist," at common/print/CLodopfuncs.js:1487"),!1):(this.blWorking=!0,null!==this.blTmpSelectedIndex&&this.SET_PRINTER_INDEX(this.blTmpSelectedIndex),this.SocketEnable,this.wsDoPostDatas(e))},GetLastResult:function(t){if(t&&(this.blOneByone=!0),this.SocketEnable)return!0;var e=this.strHostURI+"/c_lastresult.js";e=e+"?times="+(new Date).getTime(),e=e+"&tid="+this.GetTaskID(),e=encodeURI(e).replace("%20","+");var n=document.createElement("script");n.src=e,n.async=!1,n.type="text/javascript",n.charset="utf-8";var r=document.head||document.getElementsByTagName("head")[0]||document.documentElement;return r.insertBefore(n,r.firstChild),n.onload=n.onreadystatechange=function(){if(!n.readyState||/loaded|complete/.test(n.readyState)){if(i.blOneByone=!1,CLodop_ACTLastResult)var t=decodeURIComponent(CLodop_ACTLastResult);var e=CLodop_ACTTaskID;if(i.Result=t,CLodop_ACTAlert&&CLodop_ACTconsole.info(),i.On_Return)try{var r=i.On_Return;"true"==t||"false"==t?i.On_Return(e,"true"==t):i.On_Return(e,t),i.On_Return_Remain||r!==i.On_Return||(i.On_Return=null)}catch(o){}n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n)}},!0},DoCPreview:function(t,e,n){var i=document.body||document.getElementsByTagName("body")[0]||document.documentElement;"number"!==typeof e?e=Math.round(2*i.offsetWidth/3):i.offsetWidth0)if("_dialog"===e)window.showModalDialog?window.showModalDialog(n,"dialog","center:yes"):window.open(n,"","scrollbars=yes,toolbar=no,left=150,top=100,resizable=yes");else if("_self"===e||"_top"===e||"_parent"===e)window.location.href=n;else if("_blank"===e)this.PreviewBox.create(n,i,r);else if(e.indexOf("_winopen:")>-1){var o=e.slice(e.indexOf("_winopen:")+9);o.indexOf("_blank")>-1?window.open(n,"_blank",o.slice(o.indexOf("_blank")+6)):window.open(n,"",o)}else document.getElementById(e)?document.getElementById(e).src=n:t("info","iframe '"+e+"' not exist!"," at common/print/CLodopfuncs.js:1603");else this.PreviewBox.create(n,i,r)}catch(s){t("info","CLODOP PopView "+s," at common/print/CLodopfuncs.js:1606")}},creatMyButtonElement:function(t,e){try{var n=document.createElement("")}catch(i){}return n||(n=document.createElement("input"),n.type=t,n.value=e),n},creatLabelElement:function(t,e,n,i,r){var o=document.createElement(t);return o.innerHTML=e,o.style.cssText="position:absolute;width:"+n+"px;left:"+i+"px;top:"+r+"px;",o},SelectBox:{dragapproved:!1,offsetx:0,offsety:0,tempx:0,tempy:0,FrantDiv:void 0,PopDiv:void 0,selPrinter:void 0,selCopies:void 0,closeit:function(){i.SelectBox.PopDiv&&i.SelectBox.PopDiv.parentNode&&i.SelectBox.PopDiv.parentNode.removeChild(i.SelectBox.PopDiv),this.FrantDiv&&this.FrantDiv.parentNode&&this.FrantDiv.parentNode.removeChild(this.FrantDiv),this.PopDiv=void 0},initializedrag:function(t){var e=window.event||t;this.offsetx=e.clientX,this.offsety=e.clientY,this.tempx=parseInt(this.PopDiv.style.left),this.tempy=parseInt(this.PopDiv.style.top),this.dragapproved=!0},drag_drop:function(t){if(this.dragapproved){var e=window.event||t;this.PopDiv.style.left=e.clientX-this.offsetx+this.tempx+"px",this.PopDiv.style.top=e.clientY-this.offsety+this.tempy+"px"}},stopdrag:function(){this.dragapproved=!1},clickOK:function(t){i.PRINTAOK(i.SelectBox.selPrinter.value,i.SelectBox.selCopies.value,0,0,t),this.closeit()},create:function(t,e,n){i.SelectBox.PopDiv&&this.closeit();var r=document.body||document.getElementsByTagName("body")[0]||document.documentElement,o=document.createElement("div");r.appendChild(o),o.style.cssText="position:absolute;z-index:91100;display:block;top:2px;border:1px solid #6B97C1;background:#F5F5F5;color:#000;font-size:13px;",o.style.width=t+"px",o.style.left=Math.max((r.offsetWidth-t)/2,0)+"px",o.style.top=Math.max((r.offsetHeight-e)/2,0)+"px",o.style.height=e+"px",this.PopDiv=o;var s=document.createElement("div");o.appendChild(s),s.style.cssText="font: bold 13px Arial;line-height:25px;height:27px;text-indent:5px;color: white;background:#8BACCF",s.innerHTML="      \u6253\u5370",s.onmousedown=function(t){i.SelectBox.initializedrag(t)},s.onmousemove=function(t){i.SelectBox.drag_drop(t)},s.onmouseup=function(){i.SelectBox.stopdrag()};var a=document.createElement("button");s.appendChild(a),a.style.cssText="background:transparent url("+i.strHostURI+"/c_favicon.ico) no-repeat scroll 0 0px;margin-left:5px;position:absolute;height:20px;line-height:100px;width:34px;left:3px;border:0;top:5px";var l=document.createElement("button");s.appendChild(l),l.style.cssText="background:transparent url("+i.strHostURI+"/images/c_winclose.png) no-repeat scroll 0 0px;margin-right:5px;position:absolute;height:20px;line-height:100px;width:34px;right:3px;border:0;top:4px",l.onclick=function(){if(i.SelectBox.closeit(),n&&i.On_Return){var t=i.On_Return;i.On_Return(0,-1),i.On_Return_Remain||t!==i.On_Return||(i.On_Return=null)}};var u=document.createElement("div");o.appendChild(u),u.style.cssText="background:#F5F5F5;color:#000;border:0px;left:0px;top:0px;",u.style.width=t-2+"px",u.style.height=e-27+"px";var c=i.creatMyButtonElement("button","\u786e\u5b9a");o.appendChild(c),c.style.cssText="position:absolute;width:80px;height:23px;",c.style.left="110px",c.style.top=e-64+"px",c.onclick=function(){i.SelectBox.clickOK(n)};var d=i.creatMyButtonElement("button","\u53d6\u6d88");o.appendChild(d),d.style.cssText="position:absolute;width:80px;;height:23px;",d.style.left="240px",d.style.top=e-64+"px",d.onclick=function(){if(i.SelectBox.closeit(),n&&i.On_Return){var t=i.On_Return;i.On_Return(0,-1),i.On_Return_Remain||t!==i.On_Return||(i.On_Return=null)}},u.appendChild(i.creatLabelElement("span","\u9009\u6253\u5370\u673a\uff1a",200,46,67));var f=document.createElement("select");o.appendChild(f),this.selPrinter=f,f.style.cssText="position:absolute;size:1;width:212px;left:110px;top:62px;",i.Create_Printer_List(f),u.appendChild(i.creatLabelElement("span","\u6253\u5370\u4efd\u6570\uff1a",200,46,121));var p=i.creatMyButtonElement("text","1");o.appendChild(p),this.selCopies=p,p.style.cssText="position:absolute;size:1;width:30px;left:110px;top:117px;",this.FrantDiv=document.createElement("div"),r.appendChild(this.FrantDiv),this.FrantDiv.style.cssText="border:0px;left:0px;top:0px;filter: alpha(opacity=20); position: fixed; opacity: 0.2;-moz-opacity: 0.2; _position: absolute;z-index:91009; over-flow: hidden;",i.Browser.IE&&("BackCompat"==document.compatMode||navigator.userAgent.indexOf("MSIE 6.0")>0)?(this.FrantDiv.style.width=r.scrollWidth+"px",this.FrantDiv.style.height=r.scrollHeight+"px"):(this.FrantDiv.style.width="100%",this.FrantDiv.style.height="100%")}},PreviewBox:{dragapproved:!1,offsetx:0,offsety:0,tempx:0,tempy:0,FrantDiv:void 0,PopDiv:void 0,ContentFrame:void 0,closeit:function(t){i.PreviewBox.PopDiv&&i.PreviewBox.PopDiv.parentNode&&i.PreviewBox.PopDiv.parentNode.removeChild(i.PreviewBox.PopDiv),this.FrantDiv&&this.FrantDiv.parentNode&&this.FrantDiv.parentNode.removeChild(this.FrantDiv),this.PopDiv=void 0},initializedrag:function(t,e){var n=window.event||t;this.offsetx=n.clientX,this.offsety=n.clientY,this.tempx=parseInt(e.style.left),this.tempy=parseInt(e.style.top),this.dragapproved=!0},drag_drop:function(t,e){if(this.dragapproved){var n=window.event||t;e.style.left=n.clientX-this.offsetx+this.tempx+"px",e.style.top=n.clientY-this.offsety+this.tempy+"px"}},stopdrag:function(){this.dragapproved=!1,this.ContentFrame&&(this.ContentFrame.style.display="block")},create:function(t,e,n){i.PreviewBox.PopDiv&&this.closeit();var r=document.body||document.getElementsByTagName("body")[0]||document.documentElement,o=document.createElement("div");r.appendChild(o),o.style.cssText="position:absolute;z-index:91100;display:block;top:2px;border:1px solid #6B97C1;font-size:13px;",o.style.width=e+"px";var s=(r.offsetWidth-e)/2;window.screen.width0)?(this.FrantDiv.style.width=r.scrollWidth+"px",this.FrantDiv.style.height=r.scrollHeight+"px"):(this.FrantDiv.style.width="100%",this.FrantDiv.style.height="100%")}}};if(e.CLODOP2015_7028&&e.CLODOP2015_7028.Priority&&e.CLODOP2015_7028.Priority>i.Priority)return i=e.CLODOP2015_7028,void(e.CLODOP_OK_Priority=e.CLODOP2015_7028.Priority);e.LODOP=i,e.CLODOP=i,e.CLODOP2015_7028=i,e.CLODOP_OK_Priority=i.Priority,navigator.userAgent.indexOf("Lodop")<0&&e.CLODOP.OpenWebSocket()}(window)}).call(this,n("0de9")["default"])},b8ec:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","content"),attrs:{_i:0}},[this._v(this._$s(0,"t0-0",this._s(this.scanCode)))])},r=[]},c312:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("view")},r=[]},c973:function(t,e){function n(t,e,n,i,r,o,s){try{var a=t[o](s),l=a.value}catch(u){return void n(u)}a.done?e(l):Promise.resolve(l).then(i,r)}t.exports=function(t){return function(){var e=this,i=arguments;return new Promise((function(r,o){var s=t.apply(e,i);function a(t){n(s,r,o,a,l,"next",t)}function l(t){n(s,r,o,a,l,"throw",t)}a(void 0)}))}},t.exports.__esModule=!0,t.exports["default"]=t.exports},caaa:function(t,e,n){"use strict";var i=n("4ea4"),r=i(n("9523")),o=i(n("7037"));n("5758");var s=i(n("a114")),a=i(n("8bbf")),l=n("7870");function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}a.default.prototype.$broadcastScan=l.broadcastScan,a.default.config.productionTip=!1,s.default.mpType="app";try{uni.addInterceptor({returnValue:function(t){return function(t){return!!t&&("object"===(0,o.default)(t)||"function"===typeof t)&&"function"===typeof t.then}(t)?new Promise((function(e,n){t.then((function(t){t[0]?n(t[0]):e(t[1])}))})):t}})}catch(d){}var c=new a.default(function(t){for(var e=1;e1?e-1:0),i=1;i1){var u=a.pop();l=a.join("---COMMA---"),0===u.indexOf(" at ")?l+=u:l+="---COMMA---"+u}else l=a[0];console[s](l)}n.r(e),n.d(e,"log",(function(){return s})),n.d(e,"default",(function(){return a}))},1762:function(t,e,n){"use strict";(function(t){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;i(n("cc5a"));var r=n("b79f"),o=uni.requireNativePlugin("YanYu-PrintPDF"),s={data:function(){return{codes:void 0,showPop:!1,httpRoot:"http://",ilsApi:"192.168.1.56:9090",printIp:"192.168.1.26",onLoad:function(t){this.$broadcastScan.init(this.getScancode)},onUnload:function(){this.$broadcastScan.stop()},onHide:function(){this.$broadcastScan.stop()},onShow:function(){this.$broadcastScan.start()}}},methods:{pdaSystemInit:function(){this.showPop=!0},confirmAdd:function(){this.showPop=!1,t("log","ilsApi:",this.ilsApi," at pages/tabbar/index/index.vue:63"),t("log","printIp:",this.printIp," at pages/tabbar/index/index.vue:64")},cancelAdd:function(){this.ilsApi="",this.printIp="",this.showPop=!1},doPrinter:function(e){var n=this;this.showPop=!1,t("log","doPrinter orderCoder: "+e," at pages/tabbar/index/index.vue:75"),t("log","ilsApi:",this.ilsApi," at pages/tabbar/index/index.vue:76"),t("log","printIp:",this.printIp," at pages/tabbar/index/index.vue:77"),uni.request({url:this.httpRoot+this.ilsApi+"/jeecg-boot/front/getOrderPayStateAndPdfBase64?OrderId="+e,method:"GET",success:function(e){if(t("log",e.data.result," at pages/tabbar/index/index.vue:91"),200==e.data.code){var i=(0,r.getCLodop)();i.PRINT_INIT(null,n.printIp),i.SET_PRINTER_INDEX(-1),i.PRINT_INITA(2,0,"100mm","150mm","100X150"),i.SET_PRINT_PAGESIZE(1,"100mm","150mm",""),i.SET_PRINT_MODE("POS_BASEON_PAPER",!0),i.ADD_PRINT_PDF(0,0,"100mm","150mm",e.data.result),i.PRINT(),uni.showToast({title:"\u9762\u5355\u4e0b\u53d1\u6210\u529f.\u6b63\u5728\u6253\u5370,\u8bf7\u7a0d\u5019...",icon:"none",duration:3e3})}else uni.showToast({title:e.data.message,icon:"none",duration:3e3})},fail:function(t){uni.showToast({title:"\u63a5\u53e3\u8bbf\u95ee\u5f02\u5e38\uff0c\u6253\u5370\u5931\u8d25",icon:"none",duration:3e3})}})},onShow:function(){var e=this;uni.$off("scancodedate"),uni.$on("scancodedate",(function(n){t("log","\u4f60\u60f3\u8981\u7684code\uff1a",n.code," at pages/tabbar/index/index.vue:128"),e.codes=n.code,this.showPop=!1;var i=n.code;t("log","onShow orderCoder: "+i," at pages/tabbar/index/index.vue:132"),t("log","ilsApi:",e.ilsApi," at pages/tabbar/index/index.vue:133"),t("log","printIp:",e.printIp," at pages/tabbar/index/index.vue:134"),uni.request({url:e.httpRoot+e.ilsApi+"/jeecg-boot/front/getOrderPayStateAndPdfBase64?OrderId="+i,method:"GET",success:function(n){if(t("log",n.data.result," at pages/tabbar/index/index.vue:140"),200==n.data.code){var i=(0,r.getCLodop)();i.PRINT_INIT(null,e.printIp),i.SET_PRINTER_INDEX(-1),i.PRINT_INITA(2,0,"100mm","150mm","100X150"),i.SET_PRINT_PAGESIZE(1,"100mm","150mm",""),i.SET_PRINT_MODE("POS_BASEON_PAPER",!0),i.ADD_PRINT_PDF(0,0,"100mm","150mm",n.data.result),i.PRINT(),uni.showToast({title:"\u4e0b\u53d1\u6210\u529f.\u6b63\u5728\u6253\u5370,\u8bf7\u7a0d\u5019...",icon:"none",duration:3e3})}else uni.showToast({title:n.data.message,icon:"none",duration:3e3})},fail:function(e){t("log","error: ",e," at pages/tabbar/index/index.vue:165"),uni.showToast({title:"\u63a5\u53e3\u8bbf\u95ee\u5f02\u5e38\uff0c\u6253\u5370\u5931\u8d25",icon:"none",duration:3e3})}})}))},getScancode:function(e){e=e.trim(),t("log",e," at pages/tabbar/index/index.vue:179")},printPdf:function(){o.managerPrint("D:LeStoreDownloadEXP-LHJ1239002405-3676E4041337.pdf")}}};e.default=s}).call(this,n("0de9")["default"])},"2b68":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{}},methods:{}}},"3eb5":function(t,e,n){"use strict";n.r(e);var i=n("0010"),r=n("6308");for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var s=n("f0c5"),a=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=a.exports},"4aa9":function(t,e,n){"use strict";n.r(e);var i=n("5925"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},"4dde":function(t,e,n){"use strict";n.r(e);var i=n("1762"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},"4ea4":function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"54ef":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"])},"550d":function(t,e,n){"use strict";n.r(e);var i=n("ed59"),r=n("4dde");for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var s=n("f0c5"),a=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=a.exports},5631:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{}},methods:{}}},5758: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 i=uni.requireGlobal();ArrayBuffer=i.ArrayBuffer,Int8Array=i.Int8Array,Uint8Array=i.Uint8Array,Uint8ClampedArray=i.Uint8ClampedArray,Int16Array=i.Int16Array,Uint16Array=i.Uint16Array,Int32Array=i.Int32Array,Uint32Array=i.Uint32Array,Float32Array=i.Float32Array,Float64Array=i.Float64Array,BigInt64Array=i.BigInt64Array,BigUint64Array=i.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),__definePage("pages/tabbar/index/index",(function(){return Vue.extend(n("550d").default)})),__definePage("pages/tabbar/classify/classify",(function(){return Vue.extend(n("f8a1").default)})),__definePage("pages/tabbar/mine/mine",(function(){return Vue.extend(n("fd46").default)})),__definePage("pages/tabbar/study/study",(function(){return Vue.extend(n("3eb5").default)}))},5925:function(t,e,n){"use strict";(function(t){var n,i,r;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=!1,s={data:function(){return{scanCode:""}},created:function(t){this.initScan(),this.startScan()},onHide:function(){this.stopScan()},destroyed:function(){this.stopScan()},methods:{initScan:function(){var t=this;n=plus.android.runtimeMainActivity();var e=plus.android.importClass("android.content.IntentFilter");r=new e,r.addAction("android.intent.ACTION_DECODE_DATA"),i=plus.android.implements("io.dcloud.feature.internal.reflect.BroadcastReceiver",{onReceive:function(e,n){plus.android.importClass(n);var i=n.getStringExtra("barcode_string");t.queryCode(i)}})},startScan:function(){n.registerReceiver(i,r)},stopScan:function(){n.unregisterReceiver(i)},queryCode:function(e){if(o)return!1;o=!0,setTimeout((function(){o=!1}),150);var n=e;t("log","id:",n," at components/scan-code/scan-code.vue:53"),uni.$emit("scancodedate",{code:n})}}};e.default=s}).call(this,n("0de9")["default"])},6308:function(t,e,n){"use strict";n.r(e);var i=n("a3fc"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},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},7870:function(t,e,n){"use strict";var i,r,o;Object.defineProperty(e,"__esModule",{value:!0}),e.broadcastScan=void 0;var s=!1,a={init:function(t){i=plus.android.runtimeMainActivity();var e=plus.android.importClass("android.content.IntentFilter");r=new e,r.addAction("android.intent.ACTION_DECODE_DATA"),o=plus.android.implements("io.dcloud.feature.internal.reflect.BroadcastReceiver",{onReceive:function(e,n){plus.android.importClass(n);var i=n.getStringExtra("barcode_string");s||(s=!0,setTimeout((function(){s=!1}),150),t&&t(i))}})},start:function(){i.registerReceiver(o,r)},stop:function(){i.unregisterReceiver(o)}};e.broadcastScan=a},"7c11":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("view")},r=[]},"7ec2":function(t,e,n){var i=n("7037")["default"];function r(){"use strict"; +/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=r=function(){return e},t.exports.__esModule=!0,t.exports["default"]=t.exports;var e={},n=Object.prototype,o=n.hasOwnProperty,s=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function d(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(A){d=function(t,e,n){return t[e]=n}}function f(t,e,n,i){var r=e&&e.prototype instanceof m?e:m,o=Object.create(r.prototype),a=new R(i||[]);return s(o,"_invoke",{value:I(t,n,a)}),o}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(A){return{type:"throw",arg:A}}}e.wrap=f;var h={};function m(){}function v(){}function g(){}var _={};d(_,l,(function(){return this}));var y=Object.getPrototypeOf,P=y&&y(y(O([])));P&&P!==n&&o.call(P,l)&&(_=P);var b=g.prototype=m.prototype=Object.create(_);function D(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){var n;s(this,"_invoke",{value:function(r,s){function a(){return new e((function(n,a){(function n(r,s,a,l){var u=p(t[r],t,s);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==i(d)&&o.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,l)}),(function(t){n("throw",t,a,l)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,l)}))}l(u.arg)})(r,s,n,a)}))}return n=n?n.then(a,a):a()}})}function I(t,e,n){var i="suspendedStart";return function(r,o){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw o;return C()}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var a=T(s,n);if(a){if(a===h)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var l=p(t,e,n);if("normal"===l.type){if(i=n.done?"completed":"suspendedYield",l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i="completed",n.method="throw",n.arg=l.arg)}}}function T(t,e){var n=e.method,i=t.iterator[n];if(void 0===i)return e.delegate=null,"throw"===n&&t.iterator["return"]&&(e.method="return",e.arg=void 0,T(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var r=p(i,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,h;var o=r.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,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function E(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 w(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function R(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(t){if(t){var e=t[l];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n=0;--i){var r=this.tryEntries[i],s=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var a=o.call(r,"catchLoc"),l=o.call(r,"finallyLoc");if(a&&l){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&o.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),w(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;w(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},e}t.exports=r,t.exports.__esModule=!0,t.exports["default"]=t.exports},"8bbf":function(t,e){t.exports=Vue},9523:function(t,e,n){var i=n("a395");t.exports=function(t,e,n){return e=i(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},"97f7":function(t,e,n){"use strict";n.r(e);var i=n("54ef"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},a114:function(t,e,n){"use strict";n.r(e);var i=n("97f7");for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);var o=n("f0c5"),s=Object(o["a"])(i["default"],void 0,void 0,!1,null,null,null,!1,void 0,void 0);e["default"]=s.exports},a34a:function(t,e,n){var i=n("7037"),r=n("7ec2")();t.exports=r;try{regeneratorRuntime=r}catch(o){"object"===("undefined"===typeof globalThis?"undefined":i(globalThis))?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},a395:function(t,e,n){var i=n("7037")["default"],r=n("e50d");t.exports=function(t){var e=r(t,"string");return"symbol"===i(e)?e:String(e)},t.exports.__esModule=!0,t.exports["default"]=t.exports},a3fc:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{}},methods:{}}},b79f:function(t,e,n){"use strict";(function(t){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getCLodop=function(){return window.CLODOP2015_7028},e.getPrinterList=function(t){return s.apply(this,arguments)};var r=i(n("a34a")),o=i(n("c973"));function s(){return s=(0,o.default)(r.default.mark((function e(n){var i,o,s,a,l;return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n||(n=uni.getStorageSync("fl_ip")),e.prev=1,e.next=4,uni.request({url:"http://".concat(n,":8000/CLodopfuncs.js")});case 4:if(i=e.sent,!i[0]){e.next=7;break}return e.abrupt("return",[]);case 7:return o=i[1].data.match(/"list":(.+)/),s=o[1].substr(0,o[1].length-2),a=JSON.parse(s),l=[],a.forEach((function(t){l.push(t.name)})),e.abrupt("return",l);case 15:e.prev=15,e.t0=e["catch"](1),t("log",e.t0," at common/print/CLodopfuncs.js:1894");case 18:case"end":return e.stop()}}),e,null,[[1,15]])}))),s.apply(this,arguments)}window={location:{href:"http://127.0.0.1/print"}},function(e){var n=[],i={strWebPageID:"7BCAAAH",strTaskID:"",strHostURI:"http://localhost:8000",wsHostURI:"ws://localhost:8000/c_webskt/",VERSION:"6.5.7.2",IVERSION:"6572",CVERSION:"6.5.7.2",HTTPS_STATUS:2,VERSION_EXT:!0,iBaseTask:0,timeThreshold:5,Priority:0,blIslocal:!0,Iframes:[],ItemDatas:{},PageData:{},defStyleJson:{},PageDataEx:{},ItemCNameStyles:{},blWorking:!1,blNormalItemAdded:!1,blTmpSelectedIndex:null,Caption:null,Color:null,CompanyName:null,strBroadcastMS:null,Border:null,Inbrowse:null,webskt:null,SocketEnable:!1,SocketOpened:!1,NoClearAfterPrint:!1,On_Return_Remain:!1,On_Broadcast_Remain:!1,On_Return:null,Result:null,iTrySendTimes:0,OBO_Mode:1,blOneByone:!1,DelimChar:"\f\f",Printers:{default:"1",list:[]},altMessageWebSocketInvalid:"WebSocket\u6ca1\u51c6\u5907\u597d\uff0c\u70b9\u786e\u5b9a\u7ee7\u7eed...",altMessageNoReadWriteFile:"\u4e0d\u80fd\u8fdc\u7a0b\u8bfb\u5199\u6587\u4ef6!",altMessageNoReadFile:"\u4e0d\u80fd\u8fdc\u7a0b\u8bfb\u6587\u4ef6!",altMessageNoWriteFile:"\u4e0d\u80fd\u8fdc\u7a0b\u5199\u6587\u4ef6!",altMessageNoPrintDesign:"\u4e0d\u80fd\u8fdc\u7a0b\u6253\u5370\u8bbe\u8ba1!",altMessageNoPrintSetup:"\u4e0d\u80fd\u8fdc\u7a0b\u6253\u5370\u7ef4\u62a4!",altMessageSomeWindowExist:"\u6709\u7a97\u53e3\u5df2\u6253\u5f00\uff0c\u5148\u5173\u95ed\u5b83(\u6301\u7eed\u5982\u6b64\u65f6\u8bf7\u5237\u65b0\u9875\u9762)!",altMessageBusy:"\u4e0a\u4e00\u4e2a\u8bf7\u6c42\u6b63\u5fd9\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01",Browser:function(){navigator={userAgent:"Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Mobile Safari/537.36"};var t=navigator.userAgent,e="[object Opera]"==Object.prototype.toString.call(window.opera);return{IE:!!window.attachEvent&&!e,Opera:e,WebKit:t.indexOf("AppleWebKit/")>-1,Gecko:t.indexOf("Gecko")>-1&&-1===t.indexOf("KHTML"),MobileSafari:/Apple.*Mobile/.test(t)}}(),GetTaskID:function(){if(!this.strTaskID||""==this.strTaskID){var t=new Date;this.iBaseTask++,this.strTaskID=""+t.getHours()+t.getMinutes()+t.getSeconds()+"_"+this.iBaseTask}return this.strWebPageID+this.strTaskID},DoInit:function(){i.Printers.list=n,this.strTaskID="",this.NoClearAfterPrint||(this.ItemDatas={count:0},this.PageData={},this.ItemCNameStyles={},this.defStyleJson={beginpage:0,beginpagea:0},this.blNormalItemAdded=!1)},OpenWebSocket:function(e){window.On_CLodop_Opened&&i.Priority==window.CLODOP_OK_Priority&&setTimeout("window.On_CLodop_Opened(CLODOP)",1),window.WebSocket||window.MozWebSocket||window.On_CLodop_Opened&&i.Priority==window.CLODOP_OK_Priority&&setTimeout("window.On_CLodop_Opened(CLODOP)",1),t("log",this.webskt," at common/print/CLodopfuncs.js:123"),t("log",i.wsHostURI," at common/print/CLodopfuncs.js:124"),t("log",e," at common/print/CLodopfuncs.js:125");var n=uni.getStorageSync("fl_ip")||"192.168.1.56",r="ws://".concat(n,":8000/c_webskt/");this.SocketEnable=!0;try{this.webskt&&3!=this.webskt.readyState&&!e||(t("log","\u94fe\u63a5"," at common/print/CLodopfuncs.js:131"),!window.WebSocket&&window.MozWebSocket&&(window.WebSocket=window.MozWebSocket),this.webskt=uni.connectSocket({url:r,success:function(e){t("info",e," at common/print/CLodopfuncs.js:136"),t("log","\u94fe\u63a5\u6210\u529f"," at common/print/CLodopfuncs.js:137")},fail:function(e){t("info",e," at common/print/CLodopfuncs.js:140"),t("log","\u94fe\u63a5\u5931\u8d25"," at common/print/CLodopfuncs.js:141")},complete:function(e){t("info",e," at common/print/CLodopfuncs.js:144"),t("log","\u94fe\u63a5\u5b8c\u6210"," at common/print/CLodopfuncs.js:145")}}),t("log",this.webskt," at common/print/CLodopfuncs.js:148"),this.webskt.onOpen((function(t){i.SocketOpened=!0,window.On_CLodop_Opened&&i.Priority==window.CLODOP_OK_Priority&&setTimeout(window.On_CLodop_Opened(i),1e4)})),this.webskt.onMessage((function(e){t("log",e," at common/print/CLodopfuncs.js:156"),i.resultHandle(e.data)})),this.webskt.onClose((function(t){i.SocketOpened||(i.SocketEnable=!1)})),this.webskt.onError((function(e){t("info",e," at common/print/CLodopfuncs.js:167")})))}catch(o){this.webskt=null,o.message.indexOf("SecurityError")>-1?this.SocketEnable=!1:setTimeout((function(){i.OpenWebSocket()}),2e3)}},resultHandle:function(e){i.blOneByone=!1;var n=e;i.Result=n;try{var r=null,o=n.indexOf("=");if(o>=0&&o<30&&(r=n.slice(0,o),n=n.slice(o+1)),r.indexOf("ErrorMS")>-1)return void t("info",n," at common/print/CLodopfuncs.js:192");if(r.indexOf("BroadcastMS")>-1){if(i.strBroadcastMS=n,i.On_Broadcast){var s=i.On_Broadcast;i.On_Broadcast(n),i.On_Broadcast_Remain||s!==i.On_Broadcast||(i.On_Broadcast=null)}return}if(i.On_Return){s=i.On_Return;"true"==n.toLowerCase()||"false"==n.toLowerCase()?i.On_Return(r,"true"==n.toLowerCase()):i.On_Return(r,n),i.On_Return_Remain||s!==i.On_Return||(i.On_Return=null)}}catch(a){t("log",a," at common/print/CLodopfuncs.js:214")}},wsSend:function(e){if(t("log",this.webskt," at common/print/CLodopfuncs.js:219"),t("log",this.wsHostURI," at common/print/CLodopfuncs.js:220"),t("log",11," at common/print/CLodopfuncs.js:221"),this.webskt&&1==this.webskt.readyState)return this.Result=null,this.iTrySendTimes=0,this.webskt.send({data:e,success:function(e){t("info",e," at common/print/CLodopfuncs.js:228")},fail:function(e){t("info",e," at common/print/CLodopfuncs.js:231")}}),!0;this.iTrySendTimes++,t("log",this.iTrySendTimes," at common/print/CLodopfuncs.js:237"),this.iTrySendTimes<=1&&(this.OpenWebSocket(),setTimeout((function(){i.wsSend(e)}),1e3))},FORMAT:function(e,n){if(this.blWorking)return t("info",this.altMessageBusy," at common/print/CLodopfuncs.js:248"),null;var r=null;if(void 0!==e&&void 0!==n){if(0==e.replace(/^\s+|\s+$/g,"").toLowerCase().indexOf("time:")){e=e.replace(/^\s+|\s+$/g,"").slice(5),n.toLowerCase().indexOf("now")>-1&&(n=(new Date).toString()),n.toLowerCase().indexOf("date")>-1&&(n=(new Date).toString()),n.toLowerCase().indexOf("time")>-1&&(n=(new Date).toString());var o="ymd";n.toLowerCase().indexOf("ymd")>-1&&(o="ymd",n=n.slice(3)),n.toLowerCase().indexOf("dmy")>-1&&(o="dmy",n=n.slice(3)),n.toLowerCase().indexOf("mdy")>-1&&(o="mdy",n=n.slice(3)),n=n.replace(/ [^ ]*\+[^ ]* /g," "),n=n.replace(/\(.*\)/g," "),n=n.replace(/\u661f\u671f\u65e5|\u661f\u671f\u4e00|\u661f\u671f\u4e8c|\u661f\u671f\u4e09|\u661f\u671f\u56db|\u661f\u671f\u4e94|\u661f\u671f\u516d/g," "),n=n.replace(/[A-Za-z]+day|Mon|Tue|Wed|Thu|Fri|Sat|Sun/g," ");var s=0,a=new RegExp("Oct[A-Za-z]*|\u5341\u6708|10\u6708","i");null!==n.match(a)&&(s=10,n=n.replace(a,"")),a=new RegExp("Nov[A-Za-z]*|\u5341\u4e00\u6708|11\u6708","i"),null!==n.match(a)&&(s=11,n=n.replace(a,"")),a=new RegExp("Dec[A-Za-z]*|\u5341\u4e8c\u6708|12\u6708","i"),null!==n.match(a)&&(s=12,n=n.replace(a,"")),a=new RegExp("Jan[A-Za-z]*|\u4e00\u6708|01\u6708|1\u6708","i"),null!==n.match(a)&&(s=1,n=n.replace(a,"")),a=new RegExp("Feb[A-Za-z]*|\u4e8c\u6708|02\u6708|2\u6708","i"),null!==n.match(a)&&(s=2,n=n.replace(a,"")),a=new RegExp("Mar[A-Za-z]*|\u4e09\u6708|03\u6708|3\u6708","i"),null!==n.match(a)&&(s=3,n=n.replace(a,"")),a=new RegExp("Apr[A-Za-z]*|\u56db\u6708|04\u6708|4\u6708","i"),null!==n.match(a)&&(s=4,n=n.replace(a,"")),a=new RegExp("May[A-Za-z]*|\u4e94\u6708|05\u6708|5\u6708","i"),null!==n.match(a)&&(s=5,n=n.replace(a,"")),a=new RegExp("Jun[A-Za-z]*|\u516d\u6708|06\u6708|6\u6708","i"),null!==n.match(a)&&(s=6,n=n.replace(a,"")),a=new RegExp("Jul[A-Za-z]*|\u4e03\u6708|07\u6708|7\u6708","i"),null!==n.match(a)&&(s=7,n=n.replace(a,"")),a=new RegExp("Aug[A-Za-z]*|\u516b\u6708|08\u6708|8\u6708","i"),null!==n.match(a)&&(s=8,n=n.replace(a,"")),a=new RegExp("Sep[A-Za-z]*|\u4e5d\u6708|09\u6708|9\u6708","i"),null!==n.match(a)&&(s=9,n=n.replace(a,"")),n=n.replace(/\u65e5|\u79d2/g," "),n=n.replace(/\u65f6|\u5206/g,":");var l=n.match(/ \d+:\d+:\d+/);null==l&&(l=""),n=n.replace(/ \d+:\d+:\d+/,"")+l;var u=new Date,c=0,d=0,f=0,p=0,h=0,m=0,v=n,g="",_=0;MC2=0,MC3=0,g=v.match(/\d+/),null!==g&&(_=parseInt(g[0]),v=v.replace(/\d+/,"")),g=v.match(/\d+/),null!==g&&(MC2=parseInt(g[0]),v=v.replace(/\d+/,"")),s<=0&&(g=v.match(/\d+/),null!==g&&(MC3=parseInt(g[0]),v=v.replace(/\d+/,""))),s>0?(d=s,MC2<=31?(c=_,f=MC2):(c=MC2,f=_)):"dmy"==o?(f=_,d=MC2,c=MC3):"mdy"==o?(d=_,f=MC2,c=MC3):(c=_,d=MC2,f=MC3,MC3>31?(c=MC3,d=_,f=MC2,_>12&&(f=_,d=MC2)):MC2>12&&(c=MC2,d=_));g=v.match(/\d+/);null!==g&&(p=parseInt(g[0]),v=v.replace(/\d+/,""));g=v.match(/\d+/);null!==g&&(h=parseInt(g[0]),v=v.replace(/\d+/,""));g=v.match(/\d+/);if(null!==g&&(m=parseInt(g[0]),v=v.replace(/\d+/,"")),"isvalidformat"==e.toLowerCase())n=c>0&&d>0&&d<=12&&f>0&&f<=31;else{(""+c).length<4&&(c+=2e3),u.setFullYear(c,d-1,f),u.setHours(p),u.setMinutes(h),u.setSeconds(m);var y=u.getDay();if("weekindex"==e.toLowerCase())n=y;else if("floatvalue"==e.toLowerCase())n=u.getTime();else{var P="";switch(y){case 0:P="\u65e5";break;case 1:P="\u4e00";break;case 2:P="\u4e8c";break;case 3:P="\u4e09";break;case 4:P="\u56db";break;case 5:P="\u4e94";break;case 6:P="\u516d";break}if(n=e.replace(/dddd/gi,"\u661f\u671f"+P),/(y+)/i.test(n)&&(n=n.replace(RegExp.$1,(c+"").substr(4-RegExp.$1.length))),/(m+:)/i.test(n)&&(n=n.replace(RegExp.$1,("00"+h+":").substr(("00"+h+":").length-RegExp.$1.length))),/(M+)/i.test(n)){var b=(""+d).length>RegExp.$1.length?(""+d).length:RegExp.$1.length;n=n.replace(RegExp.$1,("00"+d).substr(("00"+d).length-b))}if(/(d+)/i.test(n)){b=(""+f).length>RegExp.$1.length?(""+f).length:RegExp.$1.length;n=n.replace(RegExp.$1,("00"+f).substr(("00"+f).length-b))}/(H+)/i.test(n)&&(n=n.replace(RegExp.$1,("00"+p).substr(("00"+p).length-RegExp.$1.length))),/(n+)/i.test(n)&&(n=n.replace(RegExp.$1,("00"+h).substr(("00"+h).length-RegExp.$1.length))),/(s+)/i.test(n)&&(n=n.replace(RegExp.$1,("00"+m).substr(("00"+m).length-RegExp.$1.length)))}}if(i.On_Return){var D=i.On_Return;i.On_Return(0,n),i.On_Return_Remain||D!==i.On_Return||(i.On_Return=null)}return n}this.blIslocal||e.indexOf("FILE:")<0?(this.PageData["format_type"]=e,this.PageData["format_value"]=n,1==this.DoPostDatas("format")&&(this.GetLastResult(!1),r=this.GetTaskID())):t("info",this.altMessageNoReadWriteFile," at common/print/CLodopfuncs.js:496")}return this.DoInit(),this.blWorking=!1,r},SET_PRINT_PAPER:function(t,e,n,i,r){return this.PRINT_INITA(t,e,n,i,r)},PRINT_INIT:function(t,e){return this.wsHostURI="ws://".concat(e,":8000/c_webskt/"),this.PRINT_INITA(null,null,null,null,t)},PRINT_INITA:function(t,e,n,i,r){return void 0!==t&&null!==t||(t=""),void 0!==e&&null!==e||(e=""),void 0!==n&&null!==n||(n=""),void 0!==i&&null!==i||(i=""),void 0!==r&&null!==r||(r=""),this.NoClearAfterPrint=!1,this.DoInit(),this.PageData["top"]=t,this.PageData["left"]=e,this.PageData["width"]=n,this.PageData["height"]=i,this.PageData["printtask"]=r,!0},SET_PRINT_MODE:function(t,e){if(void 0!==t&&null!==t||(t=""),void 0!==e&&null!==e||(e=""),""===t)return!1;if(t=t.toLowerCase(),this.PageData[t]=e,"noclear_after_print"==t&&(this.NoClearAfterPrint=e),t.indexOf("window_def")>-1||t.indexOf("control_printer")>-1){var n=null;return 1==this.DoPostDatas("onlysetprint")&&(this.GetLastResult(!1),n=this.GetTaskID()),this.DoInit(),this.blWorking=!1,n}},ADD_PRINT_TEXT:function(t,e,n,i,r){return this.AddItemArray(2,t,e,n,i,r)},ADD_PRINT_TEXTA:function(t,e,n,i,r,o){return this.AddItemArray(2,e,n,i,r,o,t)},ADD_PRINT_HTM:function(t,e,n,i,r){return this.AddItemArray(4,t,e,n,i,r)},ADD_PRINT_HTML:function(t,e,n,i,r){return this.AddItemArray(1,t,e,n,i,r)},ADD_PRINT_HTMLA:function(t,e,n,i,r,o){return this.AddItemArray(1,e,n,i,r,o,t)},ADD_PRINT_BARCODE:function(t,e,n,i,r,o){return this.AddItemArray(9,t,e,n,i,o,null,null,null,null,null,null,r)},ADD_PRINT_BARCODEA:function(t,e,n,i,r,o,s){return this.AddItemArray(9,e,n,i,r,s,t,null,null,null,null,null,o)},ADD_PRINT_RECTA:function(t,e,n,i,r,o,s){return this.AddItemArray(3,t,e,n,i,null,null,2,r,o,s,null)},ADD_PRINT_RECT:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,2,r,o,null,null)},ADD_PRINT_ELLIPSEA:function(t,e,n,i,r,o,s){return this.AddItemArray(3,t,e,n,i,null,null,3,r,o,s,null)},ADD_PRINT_ELLIPSE:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,3,r,o,null,null)},ADD_PRINT_SHAPE:function(t,e,n,i,r,o,s,a){return this.AddItemArray(3,e,n,i,r,null,null,t,o,s,a,null)},ADD_PRINT_LINE:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,0,r,o,null,"1")},ADD_PRINT_DNLINE:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,1,r,o,null,null)},ADD_PRINT_DNLINEA:function(t,e,n,i,r,o,s){return this.AddItemArray(3,t,e,n,i,null,null,1,r,o,s,null)},ADD_PRINT_UPLINE:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,0,r,o,null,null)},ADD_PRINT_UPLINEA:function(t,e,n,i,r,o,s){return this.AddItemArray(3,t,e,n,i,null,null,0,r,o,s,null)},ADD_PRINT_TABLE:function(t,e,n,i,r){return this.AddItemArray(6,t,e,n,i,r)},ADD_PRINT_PDF:function(t,e,n,i,r){if(this.blIslocal||":"!=r[1])return this.AddItemArray(11,t,e,n,i,r);alert("Unable to print or view remote service files")},ADD_PRINT_TBURL:function(t,e,n,i,r){return this.AddItemArray(7,t,e,n,i,r)},ADD_PRINT_URL:function(t,e,n,i,r){return this.AddItemArray(5,t,e,n,i,r)},ADD_PRINT_IMAGE:function(t,e,n,i,r){return this.AddItemArray(8,t,e,n,i,r)},ADD_PRINT_CHART:function(t,e,n,i,r,o){return this.AddItemArray(10,t,e,n,i,o,null,null,null,null,null,null,null,r)},SET_PRINT_PROPERTY:function(t,e,n,i){this.SET_PRINT_STYLEA(t,"ItemType",e),this.SET_PRINT_STYLEA(t,"HOrient",n),this.SET_PRINT_STYLEA(t,"VOrient",i)},SET_PRINT_PROPERTYA:function(t,e,n,i){this.SET_PRINT_PROPERTY(t,e,n,i)},SET_PRINT_STYLE:function(t,e){if(void 0!==t&&null!==t||(t=""),void 0!==e&&null!==e||(e=""),""===t)return!1;t=t.toLowerCase(),this.defStyleJson[t]=e},SET_PRINT_STYLEA:function(t,e,n){if(void 0!==t&&null!==t||(t=""),void 0!==e&&null!==e||(e=""),void 0!==n&&null!==n||(n=""),""===t||""===e)return!1;if(this.ItemDatas["count"]<=0)return void 0!==this.PageData["add_print_program_data"]&&(this.ItemCNameStyles[e.toLowerCase()+"-"+t]=n,!0);if(e=e.toLowerCase(),"type"==e)return!1;var i=!1;for(var r in 0==t&&(t=this.ItemDatas["count"]),this.ItemDatas){var o=this.ItemDatas[r]["itemname"];(t==r||t==o||"string"===typeof t&&"string"===typeof o&&t.toUpperCase()==o.toUpperCase())&&(this.ItemDatas[r][e]=n,i=!0)}return!!i},SET_PRINT_TEXT_STYLE:function(t,e,n,i,r,o,s){this.SET_PRINT_STYLEA(t,"fontname",e),this.SET_PRINT_STYLEA(t,"fontsize",n),this.SET_PRINT_STYLEA(t,"bold",i),this.SET_PRINT_STYLEA(t,"italic",r),this.SET_PRINT_STYLEA(t,"underline",o),this.SET_PRINT_STYLEA(t,"alignment",s)},SET_PRINT_TEXT_STYLEA:function(t,e,n,i,r,o,s,a){this.SET_PRINT_TEXT_STYLE(t,e,n,i,r,o,s),this.SET_PRINT_STYLEA(t,"fontcolor",a)},SET_PRINT_TEXT_STYLEB:function(t,e,n,i,r,o,s,a){this.SET_PRINT_TEXT_STYLEA(t,e,n,i,r,o,s,a)},NEWPAGE:function(){this.NewPage()},NewPage:function(){var t,e=!1;for(var n in this.ItemDatas){for(var i in t="count"!=n,this.ItemDatas[n])if("itemtype"==i&&(t=!1,0==this.ItemDatas[n][i]||4==this.ItemDatas[n][i])){e=!0;break}if(t&&(e=!0),e)break}e&&(this.defStyleJson["beginpage"]=this.defStyleJson["beginpage"]+1)},NEWPAGEA:function(){this.NewPageA()},NewPageA:function(){var t,e=!1;for(var n in this.ItemDatas){for(var i in t="count"!=n,this.ItemDatas[n])if("itemtype"==i&&(t=!1,0==this.ItemDatas[n][i]||4==this.ItemDatas[n][i])){e=!0;break}if(t&&(e=!0),e)break}e&&(this.defStyleJson["beginpagea"]=this.defStyleJson["beginpagea"]+1)},PREVIEW:function(e,n,i){if(this.blWorking)return t("info",this.altMessageBusy," at common/print/CLodopfuncs.js:725"),null;var r=null;return!e&&this.blIslocal?1==this.DoPostDatas("preview")&&(this.Result=null,this.GetLastResult(!0),r=this.GetTaskID()):1==this.DoPostDatas("cpreview")&&(this.DoCPreview(e,n,i),r=this.GetTaskID()),this.DoInit(),this.blWorking=!1,r},PRINT:function(e,n,i){if(this.blWorking)return t("info",this.altMessageBusy," at common/print/CLodopfuncs.js:747"),null;var r=null;return 1==this.DoPostDatas("print")&&(r=this.GetTaskID()),this.DoInit(),this.blWorking=!1,r},GET_PRINTER_COUNT:function(){return void 0===this.Printers?0:this.Printers["list"].length},GET_PRINTER_NAME:function(t){if(void 0===this.Printers)return"";if("string"==typeof t&&t.indexOf(":")>-1){var e=t.slice(t.indexOf(":")+1);return t=t.slice(0,t.indexOf(":")),-1==t?this.Printers["list"][this.Printers["default"]][e]:this.Printers["list"][t][e]}return-1==t?this.Printers["list"][this.Printers["default"]].name:t>=0&&t-1)return this.PageData["add_print_program_data"]=e,!0},SHOW_CHART:function(){},DO_ACTION:function(e,n){if(this.blWorking)return t("info",this.altMessageBusy," at common/print/CLodopfuncs.js:1224"),null;var i=null;return void 0!==e&&void 0!==n&&(this.PageData["do_action_name"]=e,this.PageData["do_action_value"]=n,1==this.DoPostDatas("doaction")&&(this.GetLastResult(!1),i=this.GetTaskID())),this.DoInit(),this.blWorking=!1,i},Create_Printer_List:function(t,e){while(t.childNodes.length>0)for(var n=t.childNodes,i=0;i0)if(e)s.innerHTML=s.innerHTML+",..";else for(var a=s.innerHTML,l=0;l=100)return}}},Create_PageSize_List:function(t,e){while(t.childNodes.length>0)for(var n=t.childNodes,r=0;r-1?m["content"]=o.replace(new RegExp(this.DelimChar,"g"),""):m["content"]=o),void 0!==s&&null!=s&&(m["itemname"]=s+""),void 0!==a&&null!=a&&(m["shapetype"]=a),void 0!==l&&null!=l&&(m["penstyle"]=l),void 0!==u&&null!=u&&(m["penwidth"]=u),void 0!==c&&null!=c&&(m["fontcolor"]=c),void 0!==d&&null!=d&&(m["lineposition"]="1"),void 0!==f&&null!=f&&(m["fontname"]=f),void 0!==p&&null!=p&&(m["charttypess"]=p),m["beginpage"]=this.defStyleJson["beginpage"],m["beginpagea"]=this.defStyleJson["beginpagea"],this.ItemDatas["count"]=h,this.ItemDatas[h]=m,this.blNormalItemAdded=!0,!0},RemoveIframes:function(){try{for(var t=0;t6e4*this.timeThreshold&&this.Iframes.splice(t,1)}}catch(n){}},AddInputElement:function(t,e,n,i){if(void 0!==i){var r=t.createElement("input");r.name=n,r.type="hidden",r.value=i,e.appendChild(r)}},createPostDataString:function(t){var e="act="+t+this.DelimChar;for(var n in e=e+"browseurl="+window.location.href+this.DelimChar,this.PageDataEx)e=e+n+"="+this.PageDataEx[n]+this.DelimChar;var i="";for(var n in this.PageData)e=e+n+"="+this.PageData[n]+this.DelimChar,"top"!=n&&"left"!=n&&"width"!=n&&"height"!=n&&"printtask"!=n&&"printerindex"!=n&&"printerindexa"!=n&&"printersubid"!=n&&"orient"!=n&&"pagewidth"!=n&&"pageheight"!=n&&"pagename"!=n&&"printcopies"!=n&&"setup_bkimg"!=n&&(i=i+";"+n);""!==i&&(e=e+"printmodenames="+i+this.DelimChar);var r="";for(var o in this.ItemCNameStyles)e=e+o+"="+this.ItemCNameStyles[o]+this.DelimChar,r=r+";"+o;for(var s in""!==r&&(e=e+"printstyleclassnames="+r+this.DelimChar),e=e+"itemcount="+this.ItemDatas["count"]+this.DelimChar,this.ItemDatas){var a="";for(var l in this.ItemDatas[s])"beginpage"!=l&&"beginpagea"!=l&&"type"!=l&&"top"!=l&&"left"!=l&&"width"!=l&&"height"!=l&&(a=a+";"+l);for(var l in e=e+s+"_itemstylenames="+a+this.DelimChar,this.ItemDatas[s])e=e+s+"_"+l+"="+this.ItemDatas[s][l]+this.DelimChar}return e},wsDoPostDatas:function(t){var e="charset=\u4e02"+this.DelimChar;return e=e+"tid="+this.GetTaskID()+this.DelimChar,e+=this.createPostDataString(t),this.wsSend("post:"+e)},DoPostDatas:function(e){return this.OBO_Mode&&this.blOneByone?(t("info",this.altMessageSomeWindowExist," at common/print/CLodopfuncs.js:1487"),!1):(this.blWorking=!0,null!==this.blTmpSelectedIndex&&this.SET_PRINTER_INDEX(this.blTmpSelectedIndex),this.SocketEnable,this.wsDoPostDatas(e))},GetLastResult:function(t){if(t&&(this.blOneByone=!0),this.SocketEnable)return!0;var e=this.strHostURI+"/c_lastresult.js";e=e+"?times="+(new Date).getTime(),e=e+"&tid="+this.GetTaskID(),e=encodeURI(e).replace("%20","+");var n=document.createElement("script");n.src=e,n.async=!1,n.type="text/javascript",n.charset="utf-8";var r=document.head||document.getElementsByTagName("head")[0]||document.documentElement;return r.insertBefore(n,r.firstChild),n.onload=n.onreadystatechange=function(){if(!n.readyState||/loaded|complete/.test(n.readyState)){if(i.blOneByone=!1,CLodop_ACTLastResult)var t=decodeURIComponent(CLodop_ACTLastResult);var e=CLodop_ACTTaskID;if(i.Result=t,CLodop_ACTAlert&&CLodop_ACTconsole.info(),i.On_Return)try{var r=i.On_Return;"true"==t||"false"==t?i.On_Return(e,"true"==t):i.On_Return(e,t),i.On_Return_Remain||r!==i.On_Return||(i.On_Return=null)}catch(o){}n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n)}},!0},DoCPreview:function(t,e,n){var i=document.body||document.getElementsByTagName("body")[0]||document.documentElement;"number"!==typeof e?e=Math.round(2*i.offsetWidth/3):i.offsetWidth0)if("_dialog"===e)window.showModalDialog?window.showModalDialog(n,"dialog","center:yes"):window.open(n,"","scrollbars=yes,toolbar=no,left=150,top=100,resizable=yes");else if("_self"===e||"_top"===e||"_parent"===e)window.location.href=n;else if("_blank"===e)this.PreviewBox.create(n,i,r);else if(e.indexOf("_winopen:")>-1){var o=e.slice(e.indexOf("_winopen:")+9);o.indexOf("_blank")>-1?window.open(n,"_blank",o.slice(o.indexOf("_blank")+6)):window.open(n,"",o)}else document.getElementById(e)?document.getElementById(e).src=n:t("info","iframe '"+e+"' not exist!"," at common/print/CLodopfuncs.js:1603");else this.PreviewBox.create(n,i,r)}catch(s){t("info","CLODOP PopView "+s," at common/print/CLodopfuncs.js:1606")}},creatMyButtonElement:function(t,e){try{var n=document.createElement("")}catch(i){}return n||(n=document.createElement("input"),n.type=t,n.value=e),n},creatLabelElement:function(t,e,n,i,r){var o=document.createElement(t);return o.innerHTML=e,o.style.cssText="position:absolute;width:"+n+"px;left:"+i+"px;top:"+r+"px;",o},SelectBox:{dragapproved:!1,offsetx:0,offsety:0,tempx:0,tempy:0,FrantDiv:void 0,PopDiv:void 0,selPrinter:void 0,selCopies:void 0,closeit:function(){i.SelectBox.PopDiv&&i.SelectBox.PopDiv.parentNode&&i.SelectBox.PopDiv.parentNode.removeChild(i.SelectBox.PopDiv),this.FrantDiv&&this.FrantDiv.parentNode&&this.FrantDiv.parentNode.removeChild(this.FrantDiv),this.PopDiv=void 0},initializedrag:function(t){var e=window.event||t;this.offsetx=e.clientX,this.offsety=e.clientY,this.tempx=parseInt(this.PopDiv.style.left),this.tempy=parseInt(this.PopDiv.style.top),this.dragapproved=!0},drag_drop:function(t){if(this.dragapproved){var e=window.event||t;this.PopDiv.style.left=e.clientX-this.offsetx+this.tempx+"px",this.PopDiv.style.top=e.clientY-this.offsety+this.tempy+"px"}},stopdrag:function(){this.dragapproved=!1},clickOK:function(t){i.PRINTAOK(i.SelectBox.selPrinter.value,i.SelectBox.selCopies.value,0,0,t),this.closeit()},create:function(t,e,n){i.SelectBox.PopDiv&&this.closeit();var r=document.body||document.getElementsByTagName("body")[0]||document.documentElement,o=document.createElement("div");r.appendChild(o),o.style.cssText="position:absolute;z-index:91100;display:block;top:2px;border:1px solid #6B97C1;background:#F5F5F5;color:#000;font-size:13px;",o.style.width=t+"px",o.style.left=Math.max((r.offsetWidth-t)/2,0)+"px",o.style.top=Math.max((r.offsetHeight-e)/2,0)+"px",o.style.height=e+"px",this.PopDiv=o;var s=document.createElement("div");o.appendChild(s),s.style.cssText="font: bold 13px Arial;line-height:25px;height:27px;text-indent:5px;color: white;background:#8BACCF",s.innerHTML="      \u6253\u5370",s.onmousedown=function(t){i.SelectBox.initializedrag(t)},s.onmousemove=function(t){i.SelectBox.drag_drop(t)},s.onmouseup=function(){i.SelectBox.stopdrag()};var a=document.createElement("button");s.appendChild(a),a.style.cssText="background:transparent url("+i.strHostURI+"/c_favicon.ico) no-repeat scroll 0 0px;margin-left:5px;position:absolute;height:20px;line-height:100px;width:34px;left:3px;border:0;top:5px";var l=document.createElement("button");s.appendChild(l),l.style.cssText="background:transparent url("+i.strHostURI+"/images/c_winclose.png) no-repeat scroll 0 0px;margin-right:5px;position:absolute;height:20px;line-height:100px;width:34px;right:3px;border:0;top:4px",l.onclick=function(){if(i.SelectBox.closeit(),n&&i.On_Return){var t=i.On_Return;i.On_Return(0,-1),i.On_Return_Remain||t!==i.On_Return||(i.On_Return=null)}};var u=document.createElement("div");o.appendChild(u),u.style.cssText="background:#F5F5F5;color:#000;border:0px;left:0px;top:0px;",u.style.width=t-2+"px",u.style.height=e-27+"px";var c=i.creatMyButtonElement("button","\u786e\u5b9a");o.appendChild(c),c.style.cssText="position:absolute;width:80px;height:23px;",c.style.left="110px",c.style.top=e-64+"px",c.onclick=function(){i.SelectBox.clickOK(n)};var d=i.creatMyButtonElement("button","\u53d6\u6d88");o.appendChild(d),d.style.cssText="position:absolute;width:80px;;height:23px;",d.style.left="240px",d.style.top=e-64+"px",d.onclick=function(){if(i.SelectBox.closeit(),n&&i.On_Return){var t=i.On_Return;i.On_Return(0,-1),i.On_Return_Remain||t!==i.On_Return||(i.On_Return=null)}},u.appendChild(i.creatLabelElement("span","\u9009\u6253\u5370\u673a\uff1a",200,46,67));var f=document.createElement("select");o.appendChild(f),this.selPrinter=f,f.style.cssText="position:absolute;size:1;width:212px;left:110px;top:62px;",i.Create_Printer_List(f),u.appendChild(i.creatLabelElement("span","\u6253\u5370\u4efd\u6570\uff1a",200,46,121));var p=i.creatMyButtonElement("text","1");o.appendChild(p),this.selCopies=p,p.style.cssText="position:absolute;size:1;width:30px;left:110px;top:117px;",this.FrantDiv=document.createElement("div"),r.appendChild(this.FrantDiv),this.FrantDiv.style.cssText="border:0px;left:0px;top:0px;filter: alpha(opacity=20); position: fixed; opacity: 0.2;-moz-opacity: 0.2; _position: absolute;z-index:91009; over-flow: hidden;",i.Browser.IE&&("BackCompat"==document.compatMode||navigator.userAgent.indexOf("MSIE 6.0")>0)?(this.FrantDiv.style.width=r.scrollWidth+"px",this.FrantDiv.style.height=r.scrollHeight+"px"):(this.FrantDiv.style.width="100%",this.FrantDiv.style.height="100%")}},PreviewBox:{dragapproved:!1,offsetx:0,offsety:0,tempx:0,tempy:0,FrantDiv:void 0,PopDiv:void 0,ContentFrame:void 0,closeit:function(t){i.PreviewBox.PopDiv&&i.PreviewBox.PopDiv.parentNode&&i.PreviewBox.PopDiv.parentNode.removeChild(i.PreviewBox.PopDiv),this.FrantDiv&&this.FrantDiv.parentNode&&this.FrantDiv.parentNode.removeChild(this.FrantDiv),this.PopDiv=void 0},initializedrag:function(t,e){var n=window.event||t;this.offsetx=n.clientX,this.offsety=n.clientY,this.tempx=parseInt(e.style.left),this.tempy=parseInt(e.style.top),this.dragapproved=!0},drag_drop:function(t,e){if(this.dragapproved){var n=window.event||t;e.style.left=n.clientX-this.offsetx+this.tempx+"px",e.style.top=n.clientY-this.offsety+this.tempy+"px"}},stopdrag:function(){this.dragapproved=!1,this.ContentFrame&&(this.ContentFrame.style.display="block")},create:function(t,e,n){i.PreviewBox.PopDiv&&this.closeit();var r=document.body||document.getElementsByTagName("body")[0]||document.documentElement,o=document.createElement("div");r.appendChild(o),o.style.cssText="position:absolute;z-index:91100;display:block;top:2px;border:1px solid #6B97C1;font-size:13px;",o.style.width=e+"px";var s=(r.offsetWidth-e)/2;window.screen.width0)?(this.FrantDiv.style.width=r.scrollWidth+"px",this.FrantDiv.style.height=r.scrollHeight+"px"):(this.FrantDiv.style.width="100%",this.FrantDiv.style.height="100%")}}};if(e.CLODOP2015_7028&&e.CLODOP2015_7028.Priority&&e.CLODOP2015_7028.Priority>i.Priority)return i=e.CLODOP2015_7028,void(e.CLODOP_OK_Priority=e.CLODOP2015_7028.Priority);e.LODOP=i,e.CLODOP=i,e.CLODOP2015_7028=i,e.CLODOP_OK_Priority=i.Priority,navigator.userAgent.indexOf("Lodop")<0&&e.CLODOP.OpenWebSocket()}(window)}).call(this,n("0de9")["default"])},b8ec:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","content"),attrs:{_i:0}},[this._v(this._$s(0,"t0-0",this._s(this.scanCode)))])},r=[]},c312:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("view")},r=[]},c973:function(t,e){function n(t,e,n,i,r,o,s){try{var a=t[o](s),l=a.value}catch(u){return void n(u)}a.done?e(l):Promise.resolve(l).then(i,r)}t.exports=function(t){return function(){var e=this,i=arguments;return new Promise((function(r,o){var s=t.apply(e,i);function a(t){n(s,r,o,a,l,"next",t)}function l(t){n(s,r,o,a,l,"throw",t)}a(void 0)}))}},t.exports.__esModule=!0,t.exports["default"]=t.exports},caaa:function(t,e,n){"use strict";var i=n("4ea4"),r=i(n("9523")),o=i(n("7037"));n("5758");var s=i(n("a114")),a=i(n("8bbf")),l=n("7870");function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}a.default.prototype.$broadcastScan=l.broadcastScan,a.default.config.productionTip=!1,s.default.mpType="app";try{uni.addInterceptor({returnValue:function(t){return function(t){return!!t&&("object"===(0,o.default)(t)||"function"===typeof t)&&"function"===typeof t.then}(t)?new Promise((function(e,n){t.then((function(t){t[0]?n(t[0]):e(t[1])}))})):t}})}catch(d){}var c=new a.default(function(t){for(var e=1;en.parts.length&&(r.parts.length=n.parts.length)}else{var o=[];for(i=0;in.parts.length&&(r.parts.length=n.parts.length)}else{var o=[];for(i=0;i1?e-1:0),i=1;i1){var u=a.pop();l=a.join("---COMMA---"),0===u.indexOf(" at ")?l+=u:l+="---COMMA---"+u}else l=a[0];console[s](l)}n.r(e),n.d(e,"log",(function(){return s})),n.d(e,"default",(function(){return a}))},1762:function(t,e,n){"use strict";(function(t){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;i(n("cc5a"));var r=n("b79f"),o=uni.requireNativePlugin("YanYu-PrintPDF"),s=(0,r.getCLodop)(),a={data:function(){return{codes:void 0,showPop:!1,httpRoot:"http://",ilsApi:"192.168.1.56:9090",printIp:"192.168.1.26",onLoad:function(t){this.$broadcastScan.init(this.getScancode)},onUnload:function(){this.$broadcastScan.stop()},onHide:function(){this.$broadcastScan.stop()},onShow:function(){this.$broadcastScan.start()}}},methods:{pdaSystemInit:function(){this.showPop=!0},confirmAdd:function(){this.showPop=!1,t("log","ilsApi:",this.ilsApi," at pages/tabbar/index/index.vue:63"),t("log","printIp:",this.printIp," at pages/tabbar/index/index.vue:64")},cancelAdd:function(){this.ilsApi="",this.printIp="",this.showPop=!1},doPrinter:function(e){var n=this;this.showPop=!1,t("log","doPrinter orderCoder: "+e," at pages/tabbar/index/index.vue:75"),t("log","ilsApi:",this.ilsApi," at pages/tabbar/index/index.vue:76"),t("log","printIp:",this.printIp," at pages/tabbar/index/index.vue:77"),uni.request({url:this.httpRoot+this.ilsApi+"/jeecg-boot/front/getOrderPayStateAndPdfBase64?OrderId="+e,method:"GET",success:function(e){t("log",e.data.result," at pages/tabbar/index/index.vue:90"),200==e.data.code?(s.PRINT_INIT(null,n.printIp),s.SET_PRINTER_INDEX(-1),s.PRINT_INITA(2,0,"100mm","150mm","100X150"),s.SET_PRINT_PAGESIZE(1,"100mm","150mm",""),s.SET_PRINT_MODE("POS_BASEON_PAPER",!0),s.ADD_PRINT_PDF(0,0,"100mm","150mm",e.data.result),s.PRINT(),uni.showToast({title:"\u6253\u5370\u6210\u529f",icon:"success",duration:2e3})):uni.showToast({title:"\u6253\u5370\u5931\u8d25",icon:"none",duration:2e3})},fail:function(){uni.showToast({title:"\u6253\u5370\u5931\u8d25",icon:"none",duration:2e3})}})},onShow:function(){var e=this;uni.$off("scancodedate"),uni.$on("scancodedate",(function(n){t("log","\u4f60\u60f3\u8981\u7684code\uff1a",n.code," at pages/tabbar/index/index.vue:126"),e.codes=n.code,this.showPop=!1;var i=n.code;t("log","onShow orderCoder: "+i," at pages/tabbar/index/index.vue:130"),t("log","ilsApi:",e.ilsApi," at pages/tabbar/index/index.vue:131"),t("log","printIp:",e.printIp," at pages/tabbar/index/index.vue:132"),uni.request({url:e.httpRoot+e.ilsApi+"/jeecg-boot/front/getOrderPayStateAndPdfBase64?OrderId="+i,method:"GET",success:function(n){t("log",n.data.result," at pages/tabbar/index/index.vue:138"),200==n.data.code?(s.PRINT_INIT(null,e.printIp),s.SET_PRINTER_INDEX(-1),s.PRINT_INITA(2,0,"100mm","150mm","100X150"),s.SET_PRINT_PAGESIZE(1,"100mm","150mm",""),s.SET_PRINT_MODE("POS_BASEON_PAPER",!0),s.ADD_PRINT_PDF(0,0,"100mm","150mm",n.data.result),s.PRINT(),uni.showToast({title:"\u6253\u5370\u6210\u529f",icon:"success",duration:2e3})):uni.showToast({title:"\u6253\u5370\u5931\u8d25",icon:"none",duration:2e3})},fail:function(){uni.showToast({title:"\u6253\u5370\u5931\u8d25",icon:"none",duration:2e3})}})}))},getScancode:function(e){e=e.trim(),t("log",e," at pages/tabbar/index/index.vue:175")},printPdf:function(){o.managerPrint("D:LeStoreDownloadEXP-LHJ1239002405-3676E4041337.pdf")}}};e.default=a}).call(this,n("0de9")["default"])},"2b68":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{}},methods:{}}},"2e67":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}));var i={scanCode:n("cc5a").default},r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","Big"),attrs:{_i:0}},[n("view",{attrs:{id:"page",_i:1}},[t._$s(2,"i",t.showPop)?n("view",[n("view",[n("text",{staticClass:t._$s(4,"sc","font-sm text-secondary px-3 py-2"),attrs:{_i:4}}),n("input",{directives:[{name:"model",rawName:"v-model",value:t.ilsApi,expression:"ilsApi"}],staticClass:t._$s(5,"sc","font-md border bg-white px-3"),attrs:{_i:5},domProps:{value:t._$s(5,"v-model",t.ilsApi)},on:{input:function(e){e.target.composing||(t.ilsApi=e.target.value)}}})]),n("view",[n("text",{staticClass:t._$s(7,"sc","font-sm text-secondary px-3 py-2"),attrs:{_i:7}}),n("input",{directives:[{name:"model",rawName:"v-model",value:t.printIp,expression:"printIp"}],staticClass:t._$s(8,"sc","font-md border bg-white px-3"),attrs:{_i:8},domProps:{value:t._$s(8,"v-model",t.printIp)},on:{input:function(e){e.target.composing||(t.printIp=e.target.value)}}})]),n("view",[n("button",{staticClass:t._$s(10,"sc","systemSty"),attrs:{_i:10},on:{click:t.cancelAdd}}),n("button",{staticClass:t._$s(11,"sc","systemSty"),attrs:{_i:11},on:{click:t.confirmAdd}})])]):t._e(),n("text",{staticClass:t._$s(12,"sc","nameSty"),attrs:{_i:12}},[t._v(t._$s(12,"t0-0",t._s(t.codes)))]),t._$s(13,"i",!t.showPop)?n("button",{staticClass:t._$s(13,"sc","systemSty"),attrs:{_i:13},on:{click:function(e){return t.pdaSystemInit()}}}):t._e(),t._$s(14,"i",t.codes)?n("button",{staticClass:t._$s(14,"sc","nameSty"),attrs:{_i:14},on:{click:function(e){return t.doPrinter(t.codes)}}}):t._e()]),n("scan-code",{attrs:{_i:15}})],1)},o=[]},"3eb5":function(t,e,n){"use strict";n.r(e);var i=n("0010"),r=n("6308");for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var s=n("f0c5"),a=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=a.exports},"4aa9":function(t,e,n){"use strict";n.r(e);var i=n("5925"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},"4dde":function(t,e,n){"use strict";n.r(e);var i=n("1762"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},"4ea4":function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"54ef":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"])},"550d":function(t,e,n){"use strict";n.r(e);var i=n("2e67"),r=n("4dde");for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var s=n("f0c5"),a=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=a.exports},5631:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{}},methods:{}}},5758: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 i=uni.requireGlobal();ArrayBuffer=i.ArrayBuffer,Int8Array=i.Int8Array,Uint8Array=i.Uint8Array,Uint8ClampedArray=i.Uint8ClampedArray,Int16Array=i.Int16Array,Uint16Array=i.Uint16Array,Int32Array=i.Int32Array,Uint32Array=i.Uint32Array,Float32Array=i.Float32Array,Float64Array=i.Float64Array,BigInt64Array=i.BigInt64Array,BigUint64Array=i.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),__definePage("pages/tabbar/index/index",(function(){return Vue.extend(n("550d").default)})),__definePage("pages/tabbar/classify/classify",(function(){return Vue.extend(n("f8a1").default)})),__definePage("pages/tabbar/mine/mine",(function(){return Vue.extend(n("fd46").default)})),__definePage("pages/tabbar/study/study",(function(){return Vue.extend(n("3eb5").default)}))},5925:function(t,e,n){"use strict";(function(t){var n,i,r;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=!1,s={data:function(){return{scanCode:""}},created:function(t){this.initScan(),this.startScan()},onHide:function(){this.stopScan()},destroyed:function(){this.stopScan()},methods:{initScan:function(){var t=this;n=plus.android.runtimeMainActivity();var e=plus.android.importClass("android.content.IntentFilter");r=new e,r.addAction("android.intent.ACTION_DECODE_DATA"),i=plus.android.implements("io.dcloud.feature.internal.reflect.BroadcastReceiver",{onReceive:function(e,n){plus.android.importClass(n);var i=n.getStringExtra("barcode_string");t.queryCode(i)}})},startScan:function(){n.registerReceiver(i,r)},stopScan:function(){n.unregisterReceiver(i)},queryCode:function(e){if(o)return!1;o=!0,setTimeout((function(){o=!1}),150);var n=e;t("log","id:",n," at components/scan-code/scan-code.vue:53"),uni.$emit("scancodedate",{code:n})}}};e.default=s}).call(this,n("0de9")["default"])},6308:function(t,e,n){"use strict";n.r(e);var i=n("a3fc"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},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},7870:function(t,e,n){"use strict";var i,r,o;Object.defineProperty(e,"__esModule",{value:!0}),e.broadcastScan=void 0;var s=!1,a={init:function(t){i=plus.android.runtimeMainActivity();var e=plus.android.importClass("android.content.IntentFilter");r=new e,r.addAction("android.intent.ACTION_DECODE_DATA"),o=plus.android.implements("io.dcloud.feature.internal.reflect.BroadcastReceiver",{onReceive:function(e,n){plus.android.importClass(n);var i=n.getStringExtra("barcode_string");s||(s=!0,setTimeout((function(){s=!1}),150),t&&t(i))}})},start:function(){i.registerReceiver(o,r)},stop:function(){i.unregisterReceiver(o)}};e.broadcastScan=a},"7c11":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("view")},r=[]},"7ec2":function(t,e,n){var i=n("7037")["default"];function r(){"use strict"; -/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=r=function(){return e},t.exports.__esModule=!0,t.exports["default"]=t.exports;var e={},n=Object.prototype,o=n.hasOwnProperty,s=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function d(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(A){d=function(t,e,n){return t[e]=n}}function f(t,e,n,i){var r=e&&e.prototype instanceof m?e:m,o=Object.create(r.prototype),a=new R(i||[]);return s(o,"_invoke",{value:x(t,n,a)}),o}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(A){return{type:"throw",arg:A}}}e.wrap=f;var h={};function m(){}function v(){}function g(){}var _={};d(_,l,(function(){return this}));var y=Object.getPrototypeOf,P=y&&y(y(O([])));P&&P!==n&&o.call(P,l)&&(_=P);var b=g.prototype=m.prototype=Object.create(_);function D(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function I(t,e){var n;s(this,"_invoke",{value:function(r,s){function a(){return new e((function(n,a){(function n(r,s,a,l){var u=p(t[r],t,s);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==i(d)&&o.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,l)}),(function(t){n("throw",t,a,l)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,l)}))}l(u.arg)})(r,s,n,a)}))}return n=n?n.then(a,a):a()}})}function x(t,e,n){var i="suspendedStart";return function(r,o){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw o;return C()}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var a=T(s,n);if(a){if(a===h)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var l=p(t,e,n);if("normal"===l.type){if(i=n.done?"completed":"suspendedYield",l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i="completed",n.method="throw",n.arg=l.arg)}}}function T(t,e){var n=e.method,i=t.iterator[n];if(void 0===i)return e.delegate=null,"throw"===n&&t.iterator["return"]&&(e.method="return",e.arg=void 0,T(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var r=p(i,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,h;var o=r.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,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function E(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 w(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function R(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(t){if(t){var e=t[l];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n=0;--i){var r=this.tryEntries[i],s=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var a=o.call(r,"catchLoc"),l=o.call(r,"finallyLoc");if(a&&l){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&o.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),w(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;w(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},e}t.exports=r,t.exports.__esModule=!0,t.exports["default"]=t.exports},"8bbf":function(t,e){t.exports=Vue},9523:function(t,e,n){var i=n("a395");t.exports=function(t,e,n){return e=i(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},"97f7":function(t,e,n){"use strict";n.r(e);var i=n("54ef"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},a114:function(t,e,n){"use strict";n.r(e);var i=n("97f7");for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);var o=n("f0c5"),s=Object(o["a"])(i["default"],void 0,void 0,!1,null,null,null,!1,void 0,void 0);e["default"]=s.exports},a34a:function(t,e,n){var i=n("7037"),r=n("7ec2")();t.exports=r;try{regeneratorRuntime=r}catch(o){"object"===("undefined"===typeof globalThis?"undefined":i(globalThis))?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},a395:function(t,e,n){var i=n("7037")["default"],r=n("e50d");t.exports=function(t){var e=r(t,"string");return"symbol"===i(e)?e:String(e)},t.exports.__esModule=!0,t.exports["default"]=t.exports},a3fc:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{}},methods:{}}},b79f:function(t,e,n){"use strict";(function(t){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getCLodop=function(){return window.CLODOP2015_7028},e.getPrinterList=function(t){return s.apply(this,arguments)};var r=i(n("a34a")),o=i(n("c973"));function s(){return s=(0,o.default)(r.default.mark((function e(n){var i,o,s,a,l;return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n||(n=uni.getStorageSync("fl_ip")),e.prev=1,e.next=4,uni.request({url:"http://".concat(n,":8000/CLodopfuncs.js")});case 4:if(i=e.sent,!i[0]){e.next=7;break}return e.abrupt("return",[]);case 7:return o=i[1].data.match(/"list":(.+)/),s=o[1].substr(0,o[1].length-2),a=JSON.parse(s),l=[],a.forEach((function(t){l.push(t.name)})),e.abrupt("return",l);case 15:e.prev=15,e.t0=e["catch"](1),t("log",e.t0," at common/print/CLodopfuncs.js:1894");case 18:case"end":return e.stop()}}),e,null,[[1,15]])}))),s.apply(this,arguments)}window={location:{href:"http://127.0.0.1/print"}},function(e){var n=[],i={strWebPageID:"7BCAAAH",strTaskID:"",strHostURI:"http://localhost:8000",wsHostURI:"ws://localhost:8000/c_webskt/",VERSION:"6.5.7.2",IVERSION:"6572",CVERSION:"6.5.7.2",HTTPS_STATUS:2,VERSION_EXT:!0,iBaseTask:0,timeThreshold:5,Priority:0,blIslocal:!0,Iframes:[],ItemDatas:{},PageData:{},defStyleJson:{},PageDataEx:{},ItemCNameStyles:{},blWorking:!1,blNormalItemAdded:!1,blTmpSelectedIndex:null,Caption:null,Color:null,CompanyName:null,strBroadcastMS:null,Border:null,Inbrowse:null,webskt:null,SocketEnable:!1,SocketOpened:!1,NoClearAfterPrint:!1,On_Return_Remain:!1,On_Broadcast_Remain:!1,On_Return:null,Result:null,iTrySendTimes:0,OBO_Mode:1,blOneByone:!1,DelimChar:"\f\f",Printers:{default:"1",list:[]},altMessageWebSocketInvalid:"WebSocket\u6ca1\u51c6\u5907\u597d\uff0c\u70b9\u786e\u5b9a\u7ee7\u7eed...",altMessageNoReadWriteFile:"\u4e0d\u80fd\u8fdc\u7a0b\u8bfb\u5199\u6587\u4ef6!",altMessageNoReadFile:"\u4e0d\u80fd\u8fdc\u7a0b\u8bfb\u6587\u4ef6!",altMessageNoWriteFile:"\u4e0d\u80fd\u8fdc\u7a0b\u5199\u6587\u4ef6!",altMessageNoPrintDesign:"\u4e0d\u80fd\u8fdc\u7a0b\u6253\u5370\u8bbe\u8ba1!",altMessageNoPrintSetup:"\u4e0d\u80fd\u8fdc\u7a0b\u6253\u5370\u7ef4\u62a4!",altMessageSomeWindowExist:"\u6709\u7a97\u53e3\u5df2\u6253\u5f00\uff0c\u5148\u5173\u95ed\u5b83(\u6301\u7eed\u5982\u6b64\u65f6\u8bf7\u5237\u65b0\u9875\u9762)!",altMessageBusy:"\u4e0a\u4e00\u4e2a\u8bf7\u6c42\u6b63\u5fd9\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01",Browser:function(){navigator={userAgent:"Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Mobile Safari/537.36"};var t=navigator.userAgent,e="[object Opera]"==Object.prototype.toString.call(window.opera);return{IE:!!window.attachEvent&&!e,Opera:e,WebKit:t.indexOf("AppleWebKit/")>-1,Gecko:t.indexOf("Gecko")>-1&&-1===t.indexOf("KHTML"),MobileSafari:/Apple.*Mobile/.test(t)}}(),GetTaskID:function(){if(!this.strTaskID||""==this.strTaskID){var t=new Date;this.iBaseTask++,this.strTaskID=""+t.getHours()+t.getMinutes()+t.getSeconds()+"_"+this.iBaseTask}return this.strWebPageID+this.strTaskID},DoInit:function(){i.Printers.list=n,this.strTaskID="",this.NoClearAfterPrint||(this.ItemDatas={count:0},this.PageData={},this.ItemCNameStyles={},this.defStyleJson={beginpage:0,beginpagea:0},this.blNormalItemAdded=!1)},OpenWebSocket:function(e){window.On_CLodop_Opened&&i.Priority==window.CLODOP_OK_Priority&&setTimeout("window.On_CLodop_Opened(CLODOP)",1),window.WebSocket||window.MozWebSocket||window.On_CLodop_Opened&&i.Priority==window.CLODOP_OK_Priority&&setTimeout("window.On_CLodop_Opened(CLODOP)",1),t("log",this.webskt," at common/print/CLodopfuncs.js:123"),t("log",i.wsHostURI," at common/print/CLodopfuncs.js:124"),t("log",e," at common/print/CLodopfuncs.js:125");var n=uni.getStorageSync("fl_ip")||"192.168.1.56",r="ws://".concat(n,":8000/c_webskt/");this.SocketEnable=!0;try{this.webskt&&3!=this.webskt.readyState&&!e||(t("log","\u94fe\u63a5"," at common/print/CLodopfuncs.js:131"),!window.WebSocket&&window.MozWebSocket&&(window.WebSocket=window.MozWebSocket),this.webskt=uni.connectSocket({url:r,success:function(e){t("info",e," at common/print/CLodopfuncs.js:136"),t("log","\u94fe\u63a5\u6210\u529f"," at common/print/CLodopfuncs.js:137")},fail:function(e){t("info",e," at common/print/CLodopfuncs.js:140"),t("log","\u94fe\u63a5\u5931\u8d25"," at common/print/CLodopfuncs.js:141")},complete:function(e){t("info",e," at common/print/CLodopfuncs.js:144"),t("log","\u94fe\u63a5\u5b8c\u6210"," at common/print/CLodopfuncs.js:145")}}),t("log",this.webskt," at common/print/CLodopfuncs.js:148"),this.webskt.onOpen((function(t){i.SocketOpened=!0,window.On_CLodop_Opened&&i.Priority==window.CLODOP_OK_Priority&&setTimeout(window.On_CLodop_Opened(i),1e4)})),this.webskt.onMessage((function(e){t("log",e," at common/print/CLodopfuncs.js:156"),i.resultHandle(e.data)})),this.webskt.onClose((function(t){i.SocketOpened||(i.SocketEnable=!1)})),this.webskt.onError((function(e){t("info",e," at common/print/CLodopfuncs.js:167")})))}catch(o){this.webskt=null,o.message.indexOf("SecurityError")>-1?this.SocketEnable=!1:setTimeout((function(){i.OpenWebSocket()}),2e3)}},resultHandle:function(e){i.blOneByone=!1;var n=e;i.Result=n;try{var r=null,o=n.indexOf("=");if(o>=0&&o<30&&(r=n.slice(0,o),n=n.slice(o+1)),r.indexOf("ErrorMS")>-1)return void t("info",n," at common/print/CLodopfuncs.js:192");if(r.indexOf("BroadcastMS")>-1){if(i.strBroadcastMS=n,i.On_Broadcast){var s=i.On_Broadcast;i.On_Broadcast(n),i.On_Broadcast_Remain||s!==i.On_Broadcast||(i.On_Broadcast=null)}return}if(i.On_Return){s=i.On_Return;"true"==n.toLowerCase()||"false"==n.toLowerCase()?i.On_Return(r,"true"==n.toLowerCase()):i.On_Return(r,n),i.On_Return_Remain||s!==i.On_Return||(i.On_Return=null)}}catch(a){t("log",a," at common/print/CLodopfuncs.js:214")}},wsSend:function(e){if(t("log",this.webskt," at common/print/CLodopfuncs.js:219"),t("log",this.wsHostURI," at common/print/CLodopfuncs.js:220"),t("log",11," at common/print/CLodopfuncs.js:221"),this.webskt&&1==this.webskt.readyState)return this.Result=null,this.iTrySendTimes=0,this.webskt.send({data:e,success:function(e){t("info",e," at common/print/CLodopfuncs.js:228")},fail:function(e){t("info",e," at common/print/CLodopfuncs.js:231")}}),!0;this.iTrySendTimes++,t("log",this.iTrySendTimes," at common/print/CLodopfuncs.js:237"),this.iTrySendTimes<=1&&(this.OpenWebSocket(),setTimeout((function(){i.wsSend(e)}),1e3))},FORMAT:function(e,n){if(this.blWorking)return t("info",this.altMessageBusy," at common/print/CLodopfuncs.js:248"),null;var r=null;if(void 0!==e&&void 0!==n){if(0==e.replace(/^\s+|\s+$/g,"").toLowerCase().indexOf("time:")){e=e.replace(/^\s+|\s+$/g,"").slice(5),n.toLowerCase().indexOf("now")>-1&&(n=(new Date).toString()),n.toLowerCase().indexOf("date")>-1&&(n=(new Date).toString()),n.toLowerCase().indexOf("time")>-1&&(n=(new Date).toString());var o="ymd";n.toLowerCase().indexOf("ymd")>-1&&(o="ymd",n=n.slice(3)),n.toLowerCase().indexOf("dmy")>-1&&(o="dmy",n=n.slice(3)),n.toLowerCase().indexOf("mdy")>-1&&(o="mdy",n=n.slice(3)),n=n.replace(/ [^ ]*\+[^ ]* /g," "),n=n.replace(/\(.*\)/g," "),n=n.replace(/\u661f\u671f\u65e5|\u661f\u671f\u4e00|\u661f\u671f\u4e8c|\u661f\u671f\u4e09|\u661f\u671f\u56db|\u661f\u671f\u4e94|\u661f\u671f\u516d/g," "),n=n.replace(/[A-Za-z]+day|Mon|Tue|Wed|Thu|Fri|Sat|Sun/g," ");var s=0,a=new RegExp("Oct[A-Za-z]*|\u5341\u6708|10\u6708","i");null!==n.match(a)&&(s=10,n=n.replace(a,"")),a=new RegExp("Nov[A-Za-z]*|\u5341\u4e00\u6708|11\u6708","i"),null!==n.match(a)&&(s=11,n=n.replace(a,"")),a=new RegExp("Dec[A-Za-z]*|\u5341\u4e8c\u6708|12\u6708","i"),null!==n.match(a)&&(s=12,n=n.replace(a,"")),a=new RegExp("Jan[A-Za-z]*|\u4e00\u6708|01\u6708|1\u6708","i"),null!==n.match(a)&&(s=1,n=n.replace(a,"")),a=new RegExp("Feb[A-Za-z]*|\u4e8c\u6708|02\u6708|2\u6708","i"),null!==n.match(a)&&(s=2,n=n.replace(a,"")),a=new RegExp("Mar[A-Za-z]*|\u4e09\u6708|03\u6708|3\u6708","i"),null!==n.match(a)&&(s=3,n=n.replace(a,"")),a=new RegExp("Apr[A-Za-z]*|\u56db\u6708|04\u6708|4\u6708","i"),null!==n.match(a)&&(s=4,n=n.replace(a,"")),a=new RegExp("May[A-Za-z]*|\u4e94\u6708|05\u6708|5\u6708","i"),null!==n.match(a)&&(s=5,n=n.replace(a,"")),a=new RegExp("Jun[A-Za-z]*|\u516d\u6708|06\u6708|6\u6708","i"),null!==n.match(a)&&(s=6,n=n.replace(a,"")),a=new RegExp("Jul[A-Za-z]*|\u4e03\u6708|07\u6708|7\u6708","i"),null!==n.match(a)&&(s=7,n=n.replace(a,"")),a=new RegExp("Aug[A-Za-z]*|\u516b\u6708|08\u6708|8\u6708","i"),null!==n.match(a)&&(s=8,n=n.replace(a,"")),a=new RegExp("Sep[A-Za-z]*|\u4e5d\u6708|09\u6708|9\u6708","i"),null!==n.match(a)&&(s=9,n=n.replace(a,"")),n=n.replace(/\u65e5|\u79d2/g," "),n=n.replace(/\u65f6|\u5206/g,":");var l=n.match(/ \d+:\d+:\d+/);null==l&&(l=""),n=n.replace(/ \d+:\d+:\d+/,"")+l;var u=new Date,c=0,d=0,f=0,p=0,h=0,m=0,v=n,g="",_=0;MC2=0,MC3=0,g=v.match(/\d+/),null!==g&&(_=parseInt(g[0]),v=v.replace(/\d+/,"")),g=v.match(/\d+/),null!==g&&(MC2=parseInt(g[0]),v=v.replace(/\d+/,"")),s<=0&&(g=v.match(/\d+/),null!==g&&(MC3=parseInt(g[0]),v=v.replace(/\d+/,""))),s>0?(d=s,MC2<=31?(c=_,f=MC2):(c=MC2,f=_)):"dmy"==o?(f=_,d=MC2,c=MC3):"mdy"==o?(d=_,f=MC2,c=MC3):(c=_,d=MC2,f=MC3,MC3>31?(c=MC3,d=_,f=MC2,_>12&&(f=_,d=MC2)):MC2>12&&(c=MC2,d=_));g=v.match(/\d+/);null!==g&&(p=parseInt(g[0]),v=v.replace(/\d+/,""));g=v.match(/\d+/);null!==g&&(h=parseInt(g[0]),v=v.replace(/\d+/,""));g=v.match(/\d+/);if(null!==g&&(m=parseInt(g[0]),v=v.replace(/\d+/,"")),"isvalidformat"==e.toLowerCase())n=c>0&&d>0&&d<=12&&f>0&&f<=31;else{(""+c).length<4&&(c+=2e3),u.setFullYear(c,d-1,f),u.setHours(p),u.setMinutes(h),u.setSeconds(m);var y=u.getDay();if("weekindex"==e.toLowerCase())n=y;else if("floatvalue"==e.toLowerCase())n=u.getTime();else{var P="";switch(y){case 0:P="\u65e5";break;case 1:P="\u4e00";break;case 2:P="\u4e8c";break;case 3:P="\u4e09";break;case 4:P="\u56db";break;case 5:P="\u4e94";break;case 6:P="\u516d";break}if(n=e.replace(/dddd/gi,"\u661f\u671f"+P),/(y+)/i.test(n)&&(n=n.replace(RegExp.$1,(c+"").substr(4-RegExp.$1.length))),/(m+:)/i.test(n)&&(n=n.replace(RegExp.$1,("00"+h+":").substr(("00"+h+":").length-RegExp.$1.length))),/(M+)/i.test(n)){var b=(""+d).length>RegExp.$1.length?(""+d).length:RegExp.$1.length;n=n.replace(RegExp.$1,("00"+d).substr(("00"+d).length-b))}if(/(d+)/i.test(n)){b=(""+f).length>RegExp.$1.length?(""+f).length:RegExp.$1.length;n=n.replace(RegExp.$1,("00"+f).substr(("00"+f).length-b))}/(H+)/i.test(n)&&(n=n.replace(RegExp.$1,("00"+p).substr(("00"+p).length-RegExp.$1.length))),/(n+)/i.test(n)&&(n=n.replace(RegExp.$1,("00"+h).substr(("00"+h).length-RegExp.$1.length))),/(s+)/i.test(n)&&(n=n.replace(RegExp.$1,("00"+m).substr(("00"+m).length-RegExp.$1.length)))}}if(i.On_Return){var D=i.On_Return;i.On_Return(0,n),i.On_Return_Remain||D!==i.On_Return||(i.On_Return=null)}return n}this.blIslocal||e.indexOf("FILE:")<0?(this.PageData["format_type"]=e,this.PageData["format_value"]=n,1==this.DoPostDatas("format")&&(this.GetLastResult(!1),r=this.GetTaskID())):t("info",this.altMessageNoReadWriteFile," at common/print/CLodopfuncs.js:496")}return this.DoInit(),this.blWorking=!1,r},SET_PRINT_PAPER:function(t,e,n,i,r){return this.PRINT_INITA(t,e,n,i,r)},PRINT_INIT:function(t,e){return this.wsHostURI="ws://".concat(e,":8000/c_webskt/"),this.PRINT_INITA(null,null,null,null,t)},PRINT_INITA:function(t,e,n,i,r){return void 0!==t&&null!==t||(t=""),void 0!==e&&null!==e||(e=""),void 0!==n&&null!==n||(n=""),void 0!==i&&null!==i||(i=""),void 0!==r&&null!==r||(r=""),this.NoClearAfterPrint=!1,this.DoInit(),this.PageData["top"]=t,this.PageData["left"]=e,this.PageData["width"]=n,this.PageData["height"]=i,this.PageData["printtask"]=r,!0},SET_PRINT_MODE:function(t,e){if(void 0!==t&&null!==t||(t=""),void 0!==e&&null!==e||(e=""),""===t)return!1;if(t=t.toLowerCase(),this.PageData[t]=e,"noclear_after_print"==t&&(this.NoClearAfterPrint=e),t.indexOf("window_def")>-1||t.indexOf("control_printer")>-1){var n=null;return 1==this.DoPostDatas("onlysetprint")&&(this.GetLastResult(!1),n=this.GetTaskID()),this.DoInit(),this.blWorking=!1,n}},ADD_PRINT_TEXT:function(t,e,n,i,r){return this.AddItemArray(2,t,e,n,i,r)},ADD_PRINT_TEXTA:function(t,e,n,i,r,o){return this.AddItemArray(2,e,n,i,r,o,t)},ADD_PRINT_HTM:function(t,e,n,i,r){return this.AddItemArray(4,t,e,n,i,r)},ADD_PRINT_HTML:function(t,e,n,i,r){return this.AddItemArray(1,t,e,n,i,r)},ADD_PRINT_HTMLA:function(t,e,n,i,r,o){return this.AddItemArray(1,e,n,i,r,o,t)},ADD_PRINT_BARCODE:function(t,e,n,i,r,o){return this.AddItemArray(9,t,e,n,i,o,null,null,null,null,null,null,r)},ADD_PRINT_BARCODEA:function(t,e,n,i,r,o,s){return this.AddItemArray(9,e,n,i,r,s,t,null,null,null,null,null,o)},ADD_PRINT_RECTA:function(t,e,n,i,r,o,s){return this.AddItemArray(3,t,e,n,i,null,null,2,r,o,s,null)},ADD_PRINT_RECT:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,2,r,o,null,null)},ADD_PRINT_ELLIPSEA:function(t,e,n,i,r,o,s){return this.AddItemArray(3,t,e,n,i,null,null,3,r,o,s,null)},ADD_PRINT_ELLIPSE:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,3,r,o,null,null)},ADD_PRINT_SHAPE:function(t,e,n,i,r,o,s,a){return this.AddItemArray(3,e,n,i,r,null,null,t,o,s,a,null)},ADD_PRINT_LINE:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,0,r,o,null,"1")},ADD_PRINT_DNLINE:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,1,r,o,null,null)},ADD_PRINT_DNLINEA:function(t,e,n,i,r,o,s){return this.AddItemArray(3,t,e,n,i,null,null,1,r,o,s,null)},ADD_PRINT_UPLINE:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,0,r,o,null,null)},ADD_PRINT_UPLINEA:function(t,e,n,i,r,o,s){return this.AddItemArray(3,t,e,n,i,null,null,0,r,o,s,null)},ADD_PRINT_TABLE:function(t,e,n,i,r){return this.AddItemArray(6,t,e,n,i,r)},ADD_PRINT_PDF:function(t,e,n,i,r){if(this.blIslocal||":"!=r[1])return this.AddItemArray(11,t,e,n,i,r);alert("Unable to print or view remote service files")},ADD_PRINT_TBURL:function(t,e,n,i,r){return this.AddItemArray(7,t,e,n,i,r)},ADD_PRINT_URL:function(t,e,n,i,r){return this.AddItemArray(5,t,e,n,i,r)},ADD_PRINT_IMAGE:function(t,e,n,i,r){return this.AddItemArray(8,t,e,n,i,r)},ADD_PRINT_CHART:function(t,e,n,i,r,o){return this.AddItemArray(10,t,e,n,i,o,null,null,null,null,null,null,null,r)},SET_PRINT_PROPERTY:function(t,e,n,i){this.SET_PRINT_STYLEA(t,"ItemType",e),this.SET_PRINT_STYLEA(t,"HOrient",n),this.SET_PRINT_STYLEA(t,"VOrient",i)},SET_PRINT_PROPERTYA:function(t,e,n,i){this.SET_PRINT_PROPERTY(t,e,n,i)},SET_PRINT_STYLE:function(t,e){if(void 0!==t&&null!==t||(t=""),void 0!==e&&null!==e||(e=""),""===t)return!1;t=t.toLowerCase(),this.defStyleJson[t]=e},SET_PRINT_STYLEA:function(t,e,n){if(void 0!==t&&null!==t||(t=""),void 0!==e&&null!==e||(e=""),void 0!==n&&null!==n||(n=""),""===t||""===e)return!1;if(this.ItemDatas["count"]<=0)return void 0!==this.PageData["add_print_program_data"]&&(this.ItemCNameStyles[e.toLowerCase()+"-"+t]=n,!0);if(e=e.toLowerCase(),"type"==e)return!1;var i=!1;for(var r in 0==t&&(t=this.ItemDatas["count"]),this.ItemDatas){var o=this.ItemDatas[r]["itemname"];(t==r||t==o||"string"===typeof t&&"string"===typeof o&&t.toUpperCase()==o.toUpperCase())&&(this.ItemDatas[r][e]=n,i=!0)}return!!i},SET_PRINT_TEXT_STYLE:function(t,e,n,i,r,o,s){this.SET_PRINT_STYLEA(t,"fontname",e),this.SET_PRINT_STYLEA(t,"fontsize",n),this.SET_PRINT_STYLEA(t,"bold",i),this.SET_PRINT_STYLEA(t,"italic",r),this.SET_PRINT_STYLEA(t,"underline",o),this.SET_PRINT_STYLEA(t,"alignment",s)},SET_PRINT_TEXT_STYLEA:function(t,e,n,i,r,o,s,a){this.SET_PRINT_TEXT_STYLE(t,e,n,i,r,o,s),this.SET_PRINT_STYLEA(t,"fontcolor",a)},SET_PRINT_TEXT_STYLEB:function(t,e,n,i,r,o,s,a){this.SET_PRINT_TEXT_STYLEA(t,e,n,i,r,o,s,a)},NEWPAGE:function(){this.NewPage()},NewPage:function(){var t,e=!1;for(var n in this.ItemDatas){for(var i in t="count"!=n,this.ItemDatas[n])if("itemtype"==i&&(t=!1,0==this.ItemDatas[n][i]||4==this.ItemDatas[n][i])){e=!0;break}if(t&&(e=!0),e)break}e&&(this.defStyleJson["beginpage"]=this.defStyleJson["beginpage"]+1)},NEWPAGEA:function(){this.NewPageA()},NewPageA:function(){var t,e=!1;for(var n in this.ItemDatas){for(var i in t="count"!=n,this.ItemDatas[n])if("itemtype"==i&&(t=!1,0==this.ItemDatas[n][i]||4==this.ItemDatas[n][i])){e=!0;break}if(t&&(e=!0),e)break}e&&(this.defStyleJson["beginpagea"]=this.defStyleJson["beginpagea"]+1)},PREVIEW:function(e,n,i){if(this.blWorking)return t("info",this.altMessageBusy," at common/print/CLodopfuncs.js:725"),null;var r=null;return!e&&this.blIslocal?1==this.DoPostDatas("preview")&&(this.Result=null,this.GetLastResult(!0),r=this.GetTaskID()):1==this.DoPostDatas("cpreview")&&(this.DoCPreview(e,n,i),r=this.GetTaskID()),this.DoInit(),this.blWorking=!1,r},PRINT:function(e,n,i){if(this.blWorking)return t("info",this.altMessageBusy," at common/print/CLodopfuncs.js:747"),null;var r=null;return 1==this.DoPostDatas("print")&&(r=this.GetTaskID()),this.DoInit(),this.blWorking=!1,r},GET_PRINTER_COUNT:function(){return void 0===this.Printers?0:this.Printers["list"].length},GET_PRINTER_NAME:function(t){if(void 0===this.Printers)return"";if("string"==typeof t&&t.indexOf(":")>-1){var e=t.slice(t.indexOf(":")+1);return t=t.slice(0,t.indexOf(":")),-1==t?this.Printers["list"][this.Printers["default"]][e]:this.Printers["list"][t][e]}return-1==t?this.Printers["list"][this.Printers["default"]].name:t>=0&&t-1)return this.PageData["add_print_program_data"]=e,!0},SHOW_CHART:function(){},DO_ACTION:function(e,n){if(this.blWorking)return t("info",this.altMessageBusy," at common/print/CLodopfuncs.js:1224"),null;var i=null;return void 0!==e&&void 0!==n&&(this.PageData["do_action_name"]=e,this.PageData["do_action_value"]=n,1==this.DoPostDatas("doaction")&&(this.GetLastResult(!1),i=this.GetTaskID())),this.DoInit(),this.blWorking=!1,i},Create_Printer_List:function(t,e){while(t.childNodes.length>0)for(var n=t.childNodes,i=0;i0)if(e)s.innerHTML=s.innerHTML+",..";else for(var a=s.innerHTML,l=0;l=100)return}}},Create_PageSize_List:function(t,e){while(t.childNodes.length>0)for(var n=t.childNodes,r=0;r-1?m["content"]=o.replace(new RegExp(this.DelimChar,"g"),""):m["content"]=o),void 0!==s&&null!=s&&(m["itemname"]=s+""),void 0!==a&&null!=a&&(m["shapetype"]=a),void 0!==l&&null!=l&&(m["penstyle"]=l),void 0!==u&&null!=u&&(m["penwidth"]=u),void 0!==c&&null!=c&&(m["fontcolor"]=c),void 0!==d&&null!=d&&(m["lineposition"]="1"),void 0!==f&&null!=f&&(m["fontname"]=f),void 0!==p&&null!=p&&(m["charttypess"]=p),m["beginpage"]=this.defStyleJson["beginpage"],m["beginpagea"]=this.defStyleJson["beginpagea"],this.ItemDatas["count"]=h,this.ItemDatas[h]=m,this.blNormalItemAdded=!0,!0},RemoveIframes:function(){try{for(var t=0;t6e4*this.timeThreshold&&this.Iframes.splice(t,1)}}catch(n){}},AddInputElement:function(t,e,n,i){if(void 0!==i){var r=t.createElement("input");r.name=n,r.type="hidden",r.value=i,e.appendChild(r)}},createPostDataString:function(t){var e="act="+t+this.DelimChar;for(var n in e=e+"browseurl="+window.location.href+this.DelimChar,this.PageDataEx)e=e+n+"="+this.PageDataEx[n]+this.DelimChar;var i="";for(var n in this.PageData)e=e+n+"="+this.PageData[n]+this.DelimChar,"top"!=n&&"left"!=n&&"width"!=n&&"height"!=n&&"printtask"!=n&&"printerindex"!=n&&"printerindexa"!=n&&"printersubid"!=n&&"orient"!=n&&"pagewidth"!=n&&"pageheight"!=n&&"pagename"!=n&&"printcopies"!=n&&"setup_bkimg"!=n&&(i=i+";"+n);""!==i&&(e=e+"printmodenames="+i+this.DelimChar);var r="";for(var o in this.ItemCNameStyles)e=e+o+"="+this.ItemCNameStyles[o]+this.DelimChar,r=r+";"+o;for(var s in""!==r&&(e=e+"printstyleclassnames="+r+this.DelimChar),e=e+"itemcount="+this.ItemDatas["count"]+this.DelimChar,this.ItemDatas){var a="";for(var l in this.ItemDatas[s])"beginpage"!=l&&"beginpagea"!=l&&"type"!=l&&"top"!=l&&"left"!=l&&"width"!=l&&"height"!=l&&(a=a+";"+l);for(var l in e=e+s+"_itemstylenames="+a+this.DelimChar,this.ItemDatas[s])e=e+s+"_"+l+"="+this.ItemDatas[s][l]+this.DelimChar}return e},wsDoPostDatas:function(t){var e="charset=\u4e02"+this.DelimChar;return e=e+"tid="+this.GetTaskID()+this.DelimChar,e+=this.createPostDataString(t),this.wsSend("post:"+e)},DoPostDatas:function(e){return this.OBO_Mode&&this.blOneByone?(t("info",this.altMessageSomeWindowExist," at common/print/CLodopfuncs.js:1487"),!1):(this.blWorking=!0,null!==this.blTmpSelectedIndex&&this.SET_PRINTER_INDEX(this.blTmpSelectedIndex),this.SocketEnable,this.wsDoPostDatas(e))},GetLastResult:function(t){if(t&&(this.blOneByone=!0),this.SocketEnable)return!0;var e=this.strHostURI+"/c_lastresult.js";e=e+"?times="+(new Date).getTime(),e=e+"&tid="+this.GetTaskID(),e=encodeURI(e).replace("%20","+");var n=document.createElement("script");n.src=e,n.async=!1,n.type="text/javascript",n.charset="utf-8";var r=document.head||document.getElementsByTagName("head")[0]||document.documentElement;return r.insertBefore(n,r.firstChild),n.onload=n.onreadystatechange=function(){if(!n.readyState||/loaded|complete/.test(n.readyState)){if(i.blOneByone=!1,CLodop_ACTLastResult)var t=decodeURIComponent(CLodop_ACTLastResult);var e=CLodop_ACTTaskID;if(i.Result=t,CLodop_ACTAlert&&CLodop_ACTconsole.info(),i.On_Return)try{var r=i.On_Return;"true"==t||"false"==t?i.On_Return(e,"true"==t):i.On_Return(e,t),i.On_Return_Remain||r!==i.On_Return||(i.On_Return=null)}catch(o){}n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n)}},!0},DoCPreview:function(t,e,n){var i=document.body||document.getElementsByTagName("body")[0]||document.documentElement;"number"!==typeof e?e=Math.round(2*i.offsetWidth/3):i.offsetWidth0)if("_dialog"===e)window.showModalDialog?window.showModalDialog(n,"dialog","center:yes"):window.open(n,"","scrollbars=yes,toolbar=no,left=150,top=100,resizable=yes");else if("_self"===e||"_top"===e||"_parent"===e)window.location.href=n;else if("_blank"===e)this.PreviewBox.create(n,i,r);else if(e.indexOf("_winopen:")>-1){var o=e.slice(e.indexOf("_winopen:")+9);o.indexOf("_blank")>-1?window.open(n,"_blank",o.slice(o.indexOf("_blank")+6)):window.open(n,"",o)}else document.getElementById(e)?document.getElementById(e).src=n:t("info","iframe '"+e+"' not exist!"," at common/print/CLodopfuncs.js:1603");else this.PreviewBox.create(n,i,r)}catch(s){t("info","CLODOP PopView "+s," at common/print/CLodopfuncs.js:1606")}},creatMyButtonElement:function(t,e){try{var n=document.createElement("")}catch(i){}return n||(n=document.createElement("input"),n.type=t,n.value=e),n},creatLabelElement:function(t,e,n,i,r){var o=document.createElement(t);return o.innerHTML=e,o.style.cssText="position:absolute;width:"+n+"px;left:"+i+"px;top:"+r+"px;",o},SelectBox:{dragapproved:!1,offsetx:0,offsety:0,tempx:0,tempy:0,FrantDiv:void 0,PopDiv:void 0,selPrinter:void 0,selCopies:void 0,closeit:function(){i.SelectBox.PopDiv&&i.SelectBox.PopDiv.parentNode&&i.SelectBox.PopDiv.parentNode.removeChild(i.SelectBox.PopDiv),this.FrantDiv&&this.FrantDiv.parentNode&&this.FrantDiv.parentNode.removeChild(this.FrantDiv),this.PopDiv=void 0},initializedrag:function(t){var e=window.event||t;this.offsetx=e.clientX,this.offsety=e.clientY,this.tempx=parseInt(this.PopDiv.style.left),this.tempy=parseInt(this.PopDiv.style.top),this.dragapproved=!0},drag_drop:function(t){if(this.dragapproved){var e=window.event||t;this.PopDiv.style.left=e.clientX-this.offsetx+this.tempx+"px",this.PopDiv.style.top=e.clientY-this.offsety+this.tempy+"px"}},stopdrag:function(){this.dragapproved=!1},clickOK:function(t){i.PRINTAOK(i.SelectBox.selPrinter.value,i.SelectBox.selCopies.value,0,0,t),this.closeit()},create:function(t,e,n){i.SelectBox.PopDiv&&this.closeit();var r=document.body||document.getElementsByTagName("body")[0]||document.documentElement,o=document.createElement("div");r.appendChild(o),o.style.cssText="position:absolute;z-index:91100;display:block;top:2px;border:1px solid #6B97C1;background:#F5F5F5;color:#000;font-size:13px;",o.style.width=t+"px",o.style.left=Math.max((r.offsetWidth-t)/2,0)+"px",o.style.top=Math.max((r.offsetHeight-e)/2,0)+"px",o.style.height=e+"px",this.PopDiv=o;var s=document.createElement("div");o.appendChild(s),s.style.cssText="font: bold 13px Arial;line-height:25px;height:27px;text-indent:5px;color: white;background:#8BACCF",s.innerHTML="      \u6253\u5370",s.onmousedown=function(t){i.SelectBox.initializedrag(t)},s.onmousemove=function(t){i.SelectBox.drag_drop(t)},s.onmouseup=function(){i.SelectBox.stopdrag()};var a=document.createElement("button");s.appendChild(a),a.style.cssText="background:transparent url("+i.strHostURI+"/c_favicon.ico) no-repeat scroll 0 0px;margin-left:5px;position:absolute;height:20px;line-height:100px;width:34px;left:3px;border:0;top:5px";var l=document.createElement("button");s.appendChild(l),l.style.cssText="background:transparent url("+i.strHostURI+"/images/c_winclose.png) no-repeat scroll 0 0px;margin-right:5px;position:absolute;height:20px;line-height:100px;width:34px;right:3px;border:0;top:4px",l.onclick=function(){if(i.SelectBox.closeit(),n&&i.On_Return){var t=i.On_Return;i.On_Return(0,-1),i.On_Return_Remain||t!==i.On_Return||(i.On_Return=null)}};var u=document.createElement("div");o.appendChild(u),u.style.cssText="background:#F5F5F5;color:#000;border:0px;left:0px;top:0px;",u.style.width=t-2+"px",u.style.height=e-27+"px";var c=i.creatMyButtonElement("button","\u786e\u5b9a");o.appendChild(c),c.style.cssText="position:absolute;width:80px;height:23px;",c.style.left="110px",c.style.top=e-64+"px",c.onclick=function(){i.SelectBox.clickOK(n)};var d=i.creatMyButtonElement("button","\u53d6\u6d88");o.appendChild(d),d.style.cssText="position:absolute;width:80px;;height:23px;",d.style.left="240px",d.style.top=e-64+"px",d.onclick=function(){if(i.SelectBox.closeit(),n&&i.On_Return){var t=i.On_Return;i.On_Return(0,-1),i.On_Return_Remain||t!==i.On_Return||(i.On_Return=null)}},u.appendChild(i.creatLabelElement("span","\u9009\u6253\u5370\u673a\uff1a",200,46,67));var f=document.createElement("select");o.appendChild(f),this.selPrinter=f,f.style.cssText="position:absolute;size:1;width:212px;left:110px;top:62px;",i.Create_Printer_List(f),u.appendChild(i.creatLabelElement("span","\u6253\u5370\u4efd\u6570\uff1a",200,46,121));var p=i.creatMyButtonElement("text","1");o.appendChild(p),this.selCopies=p,p.style.cssText="position:absolute;size:1;width:30px;left:110px;top:117px;",this.FrantDiv=document.createElement("div"),r.appendChild(this.FrantDiv),this.FrantDiv.style.cssText="border:0px;left:0px;top:0px;filter: alpha(opacity=20); position: fixed; opacity: 0.2;-moz-opacity: 0.2; _position: absolute;z-index:91009; over-flow: hidden;",i.Browser.IE&&("BackCompat"==document.compatMode||navigator.userAgent.indexOf("MSIE 6.0")>0)?(this.FrantDiv.style.width=r.scrollWidth+"px",this.FrantDiv.style.height=r.scrollHeight+"px"):(this.FrantDiv.style.width="100%",this.FrantDiv.style.height="100%")}},PreviewBox:{dragapproved:!1,offsetx:0,offsety:0,tempx:0,tempy:0,FrantDiv:void 0,PopDiv:void 0,ContentFrame:void 0,closeit:function(t){i.PreviewBox.PopDiv&&i.PreviewBox.PopDiv.parentNode&&i.PreviewBox.PopDiv.parentNode.removeChild(i.PreviewBox.PopDiv),this.FrantDiv&&this.FrantDiv.parentNode&&this.FrantDiv.parentNode.removeChild(this.FrantDiv),this.PopDiv=void 0},initializedrag:function(t,e){var n=window.event||t;this.offsetx=n.clientX,this.offsety=n.clientY,this.tempx=parseInt(e.style.left),this.tempy=parseInt(e.style.top),this.dragapproved=!0},drag_drop:function(t,e){if(this.dragapproved){var n=window.event||t;e.style.left=n.clientX-this.offsetx+this.tempx+"px",e.style.top=n.clientY-this.offsety+this.tempy+"px"}},stopdrag:function(){this.dragapproved=!1,this.ContentFrame&&(this.ContentFrame.style.display="block")},create:function(t,e,n){i.PreviewBox.PopDiv&&this.closeit();var r=document.body||document.getElementsByTagName("body")[0]||document.documentElement,o=document.createElement("div");r.appendChild(o),o.style.cssText="position:absolute;z-index:91100;display:block;top:2px;border:1px solid #6B97C1;font-size:13px;",o.style.width=e+"px";var s=(r.offsetWidth-e)/2;window.screen.width0)?(this.FrantDiv.style.width=r.scrollWidth+"px",this.FrantDiv.style.height=r.scrollHeight+"px"):(this.FrantDiv.style.width="100%",this.FrantDiv.style.height="100%")}}};if(e.CLODOP2015_7028&&e.CLODOP2015_7028.Priority&&e.CLODOP2015_7028.Priority>i.Priority)return i=e.CLODOP2015_7028,void(e.CLODOP_OK_Priority=e.CLODOP2015_7028.Priority);e.LODOP=i,e.CLODOP=i,e.CLODOP2015_7028=i,e.CLODOP_OK_Priority=i.Priority,navigator.userAgent.indexOf("Lodop")<0&&e.CLODOP.OpenWebSocket()}(window)}).call(this,n("0de9")["default"])},b8ec:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","content"),attrs:{_i:0}},[this._v(this._$s(0,"t0-0",this._s(this.scanCode)))])},r=[]},c312:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("view")},r=[]},c973:function(t,e){function n(t,e,n,i,r,o,s){try{var a=t[o](s),l=a.value}catch(u){return void n(u)}a.done?e(l):Promise.resolve(l).then(i,r)}t.exports=function(t){return function(){var e=this,i=arguments;return new Promise((function(r,o){var s=t.apply(e,i);function a(t){n(s,r,o,a,l,"next",t)}function l(t){n(s,r,o,a,l,"throw",t)}a(void 0)}))}},t.exports.__esModule=!0,t.exports["default"]=t.exports},caaa:function(t,e,n){"use strict";var i=n("4ea4"),r=i(n("9523")),o=i(n("7037"));n("5758");var s=i(n("a114")),a=i(n("8bbf")),l=n("7870");function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}a.default.prototype.$broadcastScan=l.broadcastScan,a.default.config.productionTip=!1,s.default.mpType="app";try{uni.addInterceptor({returnValue:function(t){return function(t){return!!t&&("object"===(0,o.default)(t)||"function"===typeof t)&&"function"===typeof t.then}(t)?new Promise((function(e,n){t.then((function(t){t[0]?n(t[0]):e(t[1])}))})):t}})}catch(d){}var c=new a.default(function(t){for(var e=1;e1?e-1:0),i=1;i1){var u=a.pop();l=a.join("---COMMA---"),0===u.indexOf(" at ")?l+=u:l+="---COMMA---"+u}else l=a[0];console[s](l)}n.r(e),n.d(e,"log",(function(){return s})),n.d(e,"default",(function(){return a}))},1762:function(t,e,n){"use strict";(function(t){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;i(n("cc5a"));var r=n("b79f"),o=uni.requireNativePlugin("YanYu-PrintPDF"),s={data:function(){return{codes:void 0,showPop:!1,httpRoot:"http://",ilsApi:"192.168.1.56:9090",printIp:"192.168.1.26",onLoad:function(t){this.$broadcastScan.init(this.getScancode)},onUnload:function(){this.$broadcastScan.stop()},onHide:function(){this.$broadcastScan.stop()},onShow:function(){this.$broadcastScan.start()}}},methods:{pdaSystemInit:function(){this.showPop=!0},confirmAdd:function(){this.showPop=!1,t("log","ilsApi:",this.ilsApi," at pages/tabbar/index/index.vue:63"),t("log","printIp:",this.printIp," at pages/tabbar/index/index.vue:64")},cancelAdd:function(){this.ilsApi="",this.printIp="",this.showPop=!1},doPrinter:function(e){var n=this;this.showPop=!1,t("log","doPrinter orderCoder: "+e," at pages/tabbar/index/index.vue:75"),t("log","ilsApi:",this.ilsApi," at pages/tabbar/index/index.vue:76"),t("log","printIp:",this.printIp," at pages/tabbar/index/index.vue:77"),uni.request({url:this.httpRoot+this.ilsApi+"/jeecg-boot/front/getOrderPayStateAndPdfBase64?OrderId="+e,method:"GET",success:function(e){if(t("log",e.data.result," at pages/tabbar/index/index.vue:91"),200==e.data.code){var i=(0,r.getCLodop)();i.PRINT_INIT(null,n.printIp),i.SET_PRINTER_INDEX(-1),i.PRINT_INITA(2,0,"100mm","150mm","100X150"),i.SET_PRINT_PAGESIZE(1,"100mm","150mm",""),i.SET_PRINT_MODE("POS_BASEON_PAPER",!0),i.ADD_PRINT_PDF(0,0,"100mm","150mm",e.data.result),i.PRINT(),uni.showToast({title:"\u9762\u5355\u4e0b\u53d1\u6210\u529f.\u6b63\u5728\u6253\u5370,\u8bf7\u7a0d\u5019...",icon:"none",duration:3e3})}else uni.showToast({title:e.data.message,icon:"none",duration:3e3})},fail:function(t){uni.showToast({title:"\u63a5\u53e3\u8bbf\u95ee\u5f02\u5e38\uff0c\u6253\u5370\u5931\u8d25",icon:"none",duration:3e3})}})},onShow:function(){var e=this;uni.$off("scancodedate"),uni.$on("scancodedate",(function(n){t("log","\u4f60\u60f3\u8981\u7684code\uff1a",n.code," at pages/tabbar/index/index.vue:128"),e.codes=n.code,this.showPop=!1;var i=n.code;t("log","onShow orderCoder: "+i," at pages/tabbar/index/index.vue:132"),t("log","ilsApi:",e.ilsApi," at pages/tabbar/index/index.vue:133"),t("log","printIp:",e.printIp," at pages/tabbar/index/index.vue:134"),uni.request({url:e.httpRoot+e.ilsApi+"/jeecg-boot/front/getOrderPayStateAndPdfBase64?OrderId="+i,method:"GET",success:function(n){if(t("log",n.data.result," at pages/tabbar/index/index.vue:140"),200==n.data.code){var i=(0,r.getCLodop)();i.PRINT_INIT(null,e.printIp),i.SET_PRINTER_INDEX(-1),i.PRINT_INITA(2,0,"100mm","150mm","100X150"),i.SET_PRINT_PAGESIZE(1,"100mm","150mm",""),i.SET_PRINT_MODE("POS_BASEON_PAPER",!0),i.ADD_PRINT_PDF(0,0,"100mm","150mm",n.data.result),i.PRINT(),uni.showToast({title:"\u4e0b\u53d1\u6210\u529f.\u6b63\u5728\u6253\u5370,\u8bf7\u7a0d\u5019...",icon:"none",duration:3e3})}else uni.showToast({title:n.data.message,icon:"none",duration:3e3})},fail:function(e){t("log","error: ",e," at pages/tabbar/index/index.vue:165"),uni.showToast({title:"\u63a5\u53e3\u8bbf\u95ee\u5f02\u5e38\uff0c\u6253\u5370\u5931\u8d25",icon:"none",duration:3e3})}})}))},getScancode:function(e){e=e.trim(),t("log",e," at pages/tabbar/index/index.vue:179")},printPdf:function(){o.managerPrint("D:LeStoreDownloadEXP-LHJ1239002405-3676E4041337.pdf")}}};e.default=s}).call(this,n("0de9")["default"])},"2b68":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{}},methods:{}}},"3eb5":function(t,e,n){"use strict";n.r(e);var i=n("0010"),r=n("6308");for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var s=n("f0c5"),a=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=a.exports},"4aa9":function(t,e,n){"use strict";n.r(e);var i=n("5925"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},"4dde":function(t,e,n){"use strict";n.r(e);var i=n("1762"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},"4ea4":function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"54ef":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"])},"550d":function(t,e,n){"use strict";n.r(e);var i=n("ed59"),r=n("4dde");for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var s=n("f0c5"),a=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=a.exports},5631:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{}},methods:{}}},5758: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 i=uni.requireGlobal();ArrayBuffer=i.ArrayBuffer,Int8Array=i.Int8Array,Uint8Array=i.Uint8Array,Uint8ClampedArray=i.Uint8ClampedArray,Int16Array=i.Int16Array,Uint16Array=i.Uint16Array,Int32Array=i.Int32Array,Uint32Array=i.Uint32Array,Float32Array=i.Float32Array,Float64Array=i.Float64Array,BigInt64Array=i.BigInt64Array,BigUint64Array=i.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),__definePage("pages/tabbar/index/index",(function(){return Vue.extend(n("550d").default)})),__definePage("pages/tabbar/classify/classify",(function(){return Vue.extend(n("f8a1").default)})),__definePage("pages/tabbar/mine/mine",(function(){return Vue.extend(n("fd46").default)})),__definePage("pages/tabbar/study/study",(function(){return Vue.extend(n("3eb5").default)}))},5925:function(t,e,n){"use strict";(function(t){var n,i,r;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=!1,s={data:function(){return{scanCode:""}},created:function(t){this.initScan(),this.startScan()},onHide:function(){this.stopScan()},destroyed:function(){this.stopScan()},methods:{initScan:function(){var t=this;n=plus.android.runtimeMainActivity();var e=plus.android.importClass("android.content.IntentFilter");r=new e,r.addAction("android.intent.ACTION_DECODE_DATA"),i=plus.android.implements("io.dcloud.feature.internal.reflect.BroadcastReceiver",{onReceive:function(e,n){plus.android.importClass(n);var i=n.getStringExtra("barcode_string");t.queryCode(i)}})},startScan:function(){n.registerReceiver(i,r)},stopScan:function(){n.unregisterReceiver(i)},queryCode:function(e){if(o)return!1;o=!0,setTimeout((function(){o=!1}),150);var n=e;t("log","id:",n," at components/scan-code/scan-code.vue:53"),uni.$emit("scancodedate",{code:n})}}};e.default=s}).call(this,n("0de9")["default"])},6308:function(t,e,n){"use strict";n.r(e);var i=n("a3fc"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},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},7870:function(t,e,n){"use strict";var i,r,o;Object.defineProperty(e,"__esModule",{value:!0}),e.broadcastScan=void 0;var s=!1,a={init:function(t){i=plus.android.runtimeMainActivity();var e=plus.android.importClass("android.content.IntentFilter");r=new e,r.addAction("android.intent.ACTION_DECODE_DATA"),o=plus.android.implements("io.dcloud.feature.internal.reflect.BroadcastReceiver",{onReceive:function(e,n){plus.android.importClass(n);var i=n.getStringExtra("barcode_string");s||(s=!0,setTimeout((function(){s=!1}),150),t&&t(i))}})},start:function(){i.registerReceiver(o,r)},stop:function(){i.unregisterReceiver(o)}};e.broadcastScan=a},"7c11":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("view")},r=[]},"7ec2":function(t,e,n){var i=n("7037")["default"];function r(){"use strict"; +/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=r=function(){return e},t.exports.__esModule=!0,t.exports["default"]=t.exports;var e={},n=Object.prototype,o=n.hasOwnProperty,s=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function d(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(A){d=function(t,e,n){return t[e]=n}}function f(t,e,n,i){var r=e&&e.prototype instanceof m?e:m,o=Object.create(r.prototype),a=new R(i||[]);return s(o,"_invoke",{value:I(t,n,a)}),o}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(A){return{type:"throw",arg:A}}}e.wrap=f;var h={};function m(){}function v(){}function g(){}var _={};d(_,l,(function(){return this}));var y=Object.getPrototypeOf,P=y&&y(y(O([])));P&&P!==n&&o.call(P,l)&&(_=P);var b=g.prototype=m.prototype=Object.create(_);function D(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){var n;s(this,"_invoke",{value:function(r,s){function a(){return new e((function(n,a){(function n(r,s,a,l){var u=p(t[r],t,s);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==i(d)&&o.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,l)}),(function(t){n("throw",t,a,l)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,l)}))}l(u.arg)})(r,s,n,a)}))}return n=n?n.then(a,a):a()}})}function I(t,e,n){var i="suspendedStart";return function(r,o){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw o;return C()}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var a=T(s,n);if(a){if(a===h)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var l=p(t,e,n);if("normal"===l.type){if(i=n.done?"completed":"suspendedYield",l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i="completed",n.method="throw",n.arg=l.arg)}}}function T(t,e){var n=e.method,i=t.iterator[n];if(void 0===i)return e.delegate=null,"throw"===n&&t.iterator["return"]&&(e.method="return",e.arg=void 0,T(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var r=p(i,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,h;var o=r.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,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function E(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 w(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function R(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(t){if(t){var e=t[l];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n=0;--i){var r=this.tryEntries[i],s=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var a=o.call(r,"catchLoc"),l=o.call(r,"finallyLoc");if(a&&l){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&o.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),w(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;w(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},e}t.exports=r,t.exports.__esModule=!0,t.exports["default"]=t.exports},"8bbf":function(t,e){t.exports=Vue},9523:function(t,e,n){var i=n("a395");t.exports=function(t,e,n){return e=i(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},"97f7":function(t,e,n){"use strict";n.r(e);var i=n("54ef"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},a114:function(t,e,n){"use strict";n.r(e);var i=n("97f7");for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);var o=n("f0c5"),s=Object(o["a"])(i["default"],void 0,void 0,!1,null,null,null,!1,void 0,void 0);e["default"]=s.exports},a34a:function(t,e,n){var i=n("7037"),r=n("7ec2")();t.exports=r;try{regeneratorRuntime=r}catch(o){"object"===("undefined"===typeof globalThis?"undefined":i(globalThis))?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},a395:function(t,e,n){var i=n("7037")["default"],r=n("e50d");t.exports=function(t){var e=r(t,"string");return"symbol"===i(e)?e:String(e)},t.exports.__esModule=!0,t.exports["default"]=t.exports},a3fc:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{}},methods:{}}},b79f:function(t,e,n){"use strict";(function(t){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getCLodop=function(){return window.CLODOP2015_7028},e.getPrinterList=function(t){return s.apply(this,arguments)};var r=i(n("a34a")),o=i(n("c973"));function s(){return s=(0,o.default)(r.default.mark((function e(n){var i,o,s,a,l;return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n||(n=uni.getStorageSync("fl_ip")),e.prev=1,e.next=4,uni.request({url:"http://".concat(n,":8000/CLodopfuncs.js")});case 4:if(i=e.sent,!i[0]){e.next=7;break}return e.abrupt("return",[]);case 7:return o=i[1].data.match(/"list":(.+)/),s=o[1].substr(0,o[1].length-2),a=JSON.parse(s),l=[],a.forEach((function(t){l.push(t.name)})),e.abrupt("return",l);case 15:e.prev=15,e.t0=e["catch"](1),t("log",e.t0," at common/print/CLodopfuncs.js:1894");case 18:case"end":return e.stop()}}),e,null,[[1,15]])}))),s.apply(this,arguments)}window={location:{href:"http://127.0.0.1/print"}},function(e){var n=[],i={strWebPageID:"7BCAAAH",strTaskID:"",strHostURI:"http://localhost:8000",wsHostURI:"ws://localhost:8000/c_webskt/",VERSION:"6.5.7.2",IVERSION:"6572",CVERSION:"6.5.7.2",HTTPS_STATUS:2,VERSION_EXT:!0,iBaseTask:0,timeThreshold:5,Priority:0,blIslocal:!0,Iframes:[],ItemDatas:{},PageData:{},defStyleJson:{},PageDataEx:{},ItemCNameStyles:{},blWorking:!1,blNormalItemAdded:!1,blTmpSelectedIndex:null,Caption:null,Color:null,CompanyName:null,strBroadcastMS:null,Border:null,Inbrowse:null,webskt:null,SocketEnable:!1,SocketOpened:!1,NoClearAfterPrint:!1,On_Return_Remain:!1,On_Broadcast_Remain:!1,On_Return:null,Result:null,iTrySendTimes:0,OBO_Mode:1,blOneByone:!1,DelimChar:"\f\f",Printers:{default:"1",list:[]},altMessageWebSocketInvalid:"WebSocket\u6ca1\u51c6\u5907\u597d\uff0c\u70b9\u786e\u5b9a\u7ee7\u7eed...",altMessageNoReadWriteFile:"\u4e0d\u80fd\u8fdc\u7a0b\u8bfb\u5199\u6587\u4ef6!",altMessageNoReadFile:"\u4e0d\u80fd\u8fdc\u7a0b\u8bfb\u6587\u4ef6!",altMessageNoWriteFile:"\u4e0d\u80fd\u8fdc\u7a0b\u5199\u6587\u4ef6!",altMessageNoPrintDesign:"\u4e0d\u80fd\u8fdc\u7a0b\u6253\u5370\u8bbe\u8ba1!",altMessageNoPrintSetup:"\u4e0d\u80fd\u8fdc\u7a0b\u6253\u5370\u7ef4\u62a4!",altMessageSomeWindowExist:"\u6709\u7a97\u53e3\u5df2\u6253\u5f00\uff0c\u5148\u5173\u95ed\u5b83(\u6301\u7eed\u5982\u6b64\u65f6\u8bf7\u5237\u65b0\u9875\u9762)!",altMessageBusy:"\u4e0a\u4e00\u4e2a\u8bf7\u6c42\u6b63\u5fd9\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01",Browser:function(){navigator={userAgent:"Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Mobile Safari/537.36"};var t=navigator.userAgent,e="[object Opera]"==Object.prototype.toString.call(window.opera);return{IE:!!window.attachEvent&&!e,Opera:e,WebKit:t.indexOf("AppleWebKit/")>-1,Gecko:t.indexOf("Gecko")>-1&&-1===t.indexOf("KHTML"),MobileSafari:/Apple.*Mobile/.test(t)}}(),GetTaskID:function(){if(!this.strTaskID||""==this.strTaskID){var t=new Date;this.iBaseTask++,this.strTaskID=""+t.getHours()+t.getMinutes()+t.getSeconds()+"_"+this.iBaseTask}return this.strWebPageID+this.strTaskID},DoInit:function(){i.Printers.list=n,this.strTaskID="",this.NoClearAfterPrint||(this.ItemDatas={count:0},this.PageData={},this.ItemCNameStyles={},this.defStyleJson={beginpage:0,beginpagea:0},this.blNormalItemAdded=!1)},OpenWebSocket:function(e){window.On_CLodop_Opened&&i.Priority==window.CLODOP_OK_Priority&&setTimeout("window.On_CLodop_Opened(CLODOP)",1),window.WebSocket||window.MozWebSocket||window.On_CLodop_Opened&&i.Priority==window.CLODOP_OK_Priority&&setTimeout("window.On_CLodop_Opened(CLODOP)",1),t("log",this.webskt," at common/print/CLodopfuncs.js:123"),t("log",i.wsHostURI," at common/print/CLodopfuncs.js:124"),t("log",e," at common/print/CLodopfuncs.js:125");var n=uni.getStorageSync("fl_ip")||"192.168.1.56",r="ws://".concat(n,":8000/c_webskt/");this.SocketEnable=!0;try{this.webskt&&3!=this.webskt.readyState&&!e||(t("log","\u94fe\u63a5"," at common/print/CLodopfuncs.js:131"),!window.WebSocket&&window.MozWebSocket&&(window.WebSocket=window.MozWebSocket),this.webskt=uni.connectSocket({url:r,success:function(e){t("info",e," at common/print/CLodopfuncs.js:136"),t("log","\u94fe\u63a5\u6210\u529f"," at common/print/CLodopfuncs.js:137")},fail:function(e){t("info",e," at common/print/CLodopfuncs.js:140"),t("log","\u94fe\u63a5\u5931\u8d25"," at common/print/CLodopfuncs.js:141")},complete:function(e){t("info",e," at common/print/CLodopfuncs.js:144"),t("log","\u94fe\u63a5\u5b8c\u6210"," at common/print/CLodopfuncs.js:145")}}),t("log",this.webskt," at common/print/CLodopfuncs.js:148"),this.webskt.onOpen((function(t){i.SocketOpened=!0,window.On_CLodop_Opened&&i.Priority==window.CLODOP_OK_Priority&&setTimeout(window.On_CLodop_Opened(i),1e4)})),this.webskt.onMessage((function(e){t("log",e," at common/print/CLodopfuncs.js:156"),i.resultHandle(e.data)})),this.webskt.onClose((function(t){i.SocketOpened||(i.SocketEnable=!1)})),this.webskt.onError((function(e){t("info",e," at common/print/CLodopfuncs.js:167")})))}catch(o){this.webskt=null,o.message.indexOf("SecurityError")>-1?this.SocketEnable=!1:setTimeout((function(){i.OpenWebSocket()}),2e3)}},resultHandle:function(e){i.blOneByone=!1;var n=e;i.Result=n;try{var r=null,o=n.indexOf("=");if(o>=0&&o<30&&(r=n.slice(0,o),n=n.slice(o+1)),r.indexOf("ErrorMS")>-1)return void t("info",n," at common/print/CLodopfuncs.js:192");if(r.indexOf("BroadcastMS")>-1){if(i.strBroadcastMS=n,i.On_Broadcast){var s=i.On_Broadcast;i.On_Broadcast(n),i.On_Broadcast_Remain||s!==i.On_Broadcast||(i.On_Broadcast=null)}return}if(i.On_Return){s=i.On_Return;"true"==n.toLowerCase()||"false"==n.toLowerCase()?i.On_Return(r,"true"==n.toLowerCase()):i.On_Return(r,n),i.On_Return_Remain||s!==i.On_Return||(i.On_Return=null)}}catch(a){t("log",a," at common/print/CLodopfuncs.js:214")}},wsSend:function(e){if(t("log",this.webskt," at common/print/CLodopfuncs.js:219"),t("log",this.wsHostURI," at common/print/CLodopfuncs.js:220"),t("log",11," at common/print/CLodopfuncs.js:221"),this.webskt&&1==this.webskt.readyState)return this.Result=null,this.iTrySendTimes=0,this.webskt.send({data:e,success:function(e){t("info",e," at common/print/CLodopfuncs.js:228")},fail:function(e){t("info",e," at common/print/CLodopfuncs.js:231")}}),!0;this.iTrySendTimes++,t("log",this.iTrySendTimes," at common/print/CLodopfuncs.js:237"),this.iTrySendTimes<=1&&(this.OpenWebSocket(),setTimeout((function(){i.wsSend(e)}),1e3))},FORMAT:function(e,n){if(this.blWorking)return t("info",this.altMessageBusy," at common/print/CLodopfuncs.js:248"),null;var r=null;if(void 0!==e&&void 0!==n){if(0==e.replace(/^\s+|\s+$/g,"").toLowerCase().indexOf("time:")){e=e.replace(/^\s+|\s+$/g,"").slice(5),n.toLowerCase().indexOf("now")>-1&&(n=(new Date).toString()),n.toLowerCase().indexOf("date")>-1&&(n=(new Date).toString()),n.toLowerCase().indexOf("time")>-1&&(n=(new Date).toString());var o="ymd";n.toLowerCase().indexOf("ymd")>-1&&(o="ymd",n=n.slice(3)),n.toLowerCase().indexOf("dmy")>-1&&(o="dmy",n=n.slice(3)),n.toLowerCase().indexOf("mdy")>-1&&(o="mdy",n=n.slice(3)),n=n.replace(/ [^ ]*\+[^ ]* /g," "),n=n.replace(/\(.*\)/g," "),n=n.replace(/\u661f\u671f\u65e5|\u661f\u671f\u4e00|\u661f\u671f\u4e8c|\u661f\u671f\u4e09|\u661f\u671f\u56db|\u661f\u671f\u4e94|\u661f\u671f\u516d/g," "),n=n.replace(/[A-Za-z]+day|Mon|Tue|Wed|Thu|Fri|Sat|Sun/g," ");var s=0,a=new RegExp("Oct[A-Za-z]*|\u5341\u6708|10\u6708","i");null!==n.match(a)&&(s=10,n=n.replace(a,"")),a=new RegExp("Nov[A-Za-z]*|\u5341\u4e00\u6708|11\u6708","i"),null!==n.match(a)&&(s=11,n=n.replace(a,"")),a=new RegExp("Dec[A-Za-z]*|\u5341\u4e8c\u6708|12\u6708","i"),null!==n.match(a)&&(s=12,n=n.replace(a,"")),a=new RegExp("Jan[A-Za-z]*|\u4e00\u6708|01\u6708|1\u6708","i"),null!==n.match(a)&&(s=1,n=n.replace(a,"")),a=new RegExp("Feb[A-Za-z]*|\u4e8c\u6708|02\u6708|2\u6708","i"),null!==n.match(a)&&(s=2,n=n.replace(a,"")),a=new RegExp("Mar[A-Za-z]*|\u4e09\u6708|03\u6708|3\u6708","i"),null!==n.match(a)&&(s=3,n=n.replace(a,"")),a=new RegExp("Apr[A-Za-z]*|\u56db\u6708|04\u6708|4\u6708","i"),null!==n.match(a)&&(s=4,n=n.replace(a,"")),a=new RegExp("May[A-Za-z]*|\u4e94\u6708|05\u6708|5\u6708","i"),null!==n.match(a)&&(s=5,n=n.replace(a,"")),a=new RegExp("Jun[A-Za-z]*|\u516d\u6708|06\u6708|6\u6708","i"),null!==n.match(a)&&(s=6,n=n.replace(a,"")),a=new RegExp("Jul[A-Za-z]*|\u4e03\u6708|07\u6708|7\u6708","i"),null!==n.match(a)&&(s=7,n=n.replace(a,"")),a=new RegExp("Aug[A-Za-z]*|\u516b\u6708|08\u6708|8\u6708","i"),null!==n.match(a)&&(s=8,n=n.replace(a,"")),a=new RegExp("Sep[A-Za-z]*|\u4e5d\u6708|09\u6708|9\u6708","i"),null!==n.match(a)&&(s=9,n=n.replace(a,"")),n=n.replace(/\u65e5|\u79d2/g," "),n=n.replace(/\u65f6|\u5206/g,":");var l=n.match(/ \d+:\d+:\d+/);null==l&&(l=""),n=n.replace(/ \d+:\d+:\d+/,"")+l;var u=new Date,c=0,d=0,f=0,p=0,h=0,m=0,v=n,g="",_=0;MC2=0,MC3=0,g=v.match(/\d+/),null!==g&&(_=parseInt(g[0]),v=v.replace(/\d+/,"")),g=v.match(/\d+/),null!==g&&(MC2=parseInt(g[0]),v=v.replace(/\d+/,"")),s<=0&&(g=v.match(/\d+/),null!==g&&(MC3=parseInt(g[0]),v=v.replace(/\d+/,""))),s>0?(d=s,MC2<=31?(c=_,f=MC2):(c=MC2,f=_)):"dmy"==o?(f=_,d=MC2,c=MC3):"mdy"==o?(d=_,f=MC2,c=MC3):(c=_,d=MC2,f=MC3,MC3>31?(c=MC3,d=_,f=MC2,_>12&&(f=_,d=MC2)):MC2>12&&(c=MC2,d=_));g=v.match(/\d+/);null!==g&&(p=parseInt(g[0]),v=v.replace(/\d+/,""));g=v.match(/\d+/);null!==g&&(h=parseInt(g[0]),v=v.replace(/\d+/,""));g=v.match(/\d+/);if(null!==g&&(m=parseInt(g[0]),v=v.replace(/\d+/,"")),"isvalidformat"==e.toLowerCase())n=c>0&&d>0&&d<=12&&f>0&&f<=31;else{(""+c).length<4&&(c+=2e3),u.setFullYear(c,d-1,f),u.setHours(p),u.setMinutes(h),u.setSeconds(m);var y=u.getDay();if("weekindex"==e.toLowerCase())n=y;else if("floatvalue"==e.toLowerCase())n=u.getTime();else{var P="";switch(y){case 0:P="\u65e5";break;case 1:P="\u4e00";break;case 2:P="\u4e8c";break;case 3:P="\u4e09";break;case 4:P="\u56db";break;case 5:P="\u4e94";break;case 6:P="\u516d";break}if(n=e.replace(/dddd/gi,"\u661f\u671f"+P),/(y+)/i.test(n)&&(n=n.replace(RegExp.$1,(c+"").substr(4-RegExp.$1.length))),/(m+:)/i.test(n)&&(n=n.replace(RegExp.$1,("00"+h+":").substr(("00"+h+":").length-RegExp.$1.length))),/(M+)/i.test(n)){var b=(""+d).length>RegExp.$1.length?(""+d).length:RegExp.$1.length;n=n.replace(RegExp.$1,("00"+d).substr(("00"+d).length-b))}if(/(d+)/i.test(n)){b=(""+f).length>RegExp.$1.length?(""+f).length:RegExp.$1.length;n=n.replace(RegExp.$1,("00"+f).substr(("00"+f).length-b))}/(H+)/i.test(n)&&(n=n.replace(RegExp.$1,("00"+p).substr(("00"+p).length-RegExp.$1.length))),/(n+)/i.test(n)&&(n=n.replace(RegExp.$1,("00"+h).substr(("00"+h).length-RegExp.$1.length))),/(s+)/i.test(n)&&(n=n.replace(RegExp.$1,("00"+m).substr(("00"+m).length-RegExp.$1.length)))}}if(i.On_Return){var D=i.On_Return;i.On_Return(0,n),i.On_Return_Remain||D!==i.On_Return||(i.On_Return=null)}return n}this.blIslocal||e.indexOf("FILE:")<0?(this.PageData["format_type"]=e,this.PageData["format_value"]=n,1==this.DoPostDatas("format")&&(this.GetLastResult(!1),r=this.GetTaskID())):t("info",this.altMessageNoReadWriteFile," at common/print/CLodopfuncs.js:496")}return this.DoInit(),this.blWorking=!1,r},SET_PRINT_PAPER:function(t,e,n,i,r){return this.PRINT_INITA(t,e,n,i,r)},PRINT_INIT:function(t,e){return this.wsHostURI="ws://".concat(e,":8000/c_webskt/"),this.PRINT_INITA(null,null,null,null,t)},PRINT_INITA:function(t,e,n,i,r){return void 0!==t&&null!==t||(t=""),void 0!==e&&null!==e||(e=""),void 0!==n&&null!==n||(n=""),void 0!==i&&null!==i||(i=""),void 0!==r&&null!==r||(r=""),this.NoClearAfterPrint=!1,this.DoInit(),this.PageData["top"]=t,this.PageData["left"]=e,this.PageData["width"]=n,this.PageData["height"]=i,this.PageData["printtask"]=r,!0},SET_PRINT_MODE:function(t,e){if(void 0!==t&&null!==t||(t=""),void 0!==e&&null!==e||(e=""),""===t)return!1;if(t=t.toLowerCase(),this.PageData[t]=e,"noclear_after_print"==t&&(this.NoClearAfterPrint=e),t.indexOf("window_def")>-1||t.indexOf("control_printer")>-1){var n=null;return 1==this.DoPostDatas("onlysetprint")&&(this.GetLastResult(!1),n=this.GetTaskID()),this.DoInit(),this.blWorking=!1,n}},ADD_PRINT_TEXT:function(t,e,n,i,r){return this.AddItemArray(2,t,e,n,i,r)},ADD_PRINT_TEXTA:function(t,e,n,i,r,o){return this.AddItemArray(2,e,n,i,r,o,t)},ADD_PRINT_HTM:function(t,e,n,i,r){return this.AddItemArray(4,t,e,n,i,r)},ADD_PRINT_HTML:function(t,e,n,i,r){return this.AddItemArray(1,t,e,n,i,r)},ADD_PRINT_HTMLA:function(t,e,n,i,r,o){return this.AddItemArray(1,e,n,i,r,o,t)},ADD_PRINT_BARCODE:function(t,e,n,i,r,o){return this.AddItemArray(9,t,e,n,i,o,null,null,null,null,null,null,r)},ADD_PRINT_BARCODEA:function(t,e,n,i,r,o,s){return this.AddItemArray(9,e,n,i,r,s,t,null,null,null,null,null,o)},ADD_PRINT_RECTA:function(t,e,n,i,r,o,s){return this.AddItemArray(3,t,e,n,i,null,null,2,r,o,s,null)},ADD_PRINT_RECT:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,2,r,o,null,null)},ADD_PRINT_ELLIPSEA:function(t,e,n,i,r,o,s){return this.AddItemArray(3,t,e,n,i,null,null,3,r,o,s,null)},ADD_PRINT_ELLIPSE:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,3,r,o,null,null)},ADD_PRINT_SHAPE:function(t,e,n,i,r,o,s,a){return this.AddItemArray(3,e,n,i,r,null,null,t,o,s,a,null)},ADD_PRINT_LINE:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,0,r,o,null,"1")},ADD_PRINT_DNLINE:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,1,r,o,null,null)},ADD_PRINT_DNLINEA:function(t,e,n,i,r,o,s){return this.AddItemArray(3,t,e,n,i,null,null,1,r,o,s,null)},ADD_PRINT_UPLINE:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,0,r,o,null,null)},ADD_PRINT_UPLINEA:function(t,e,n,i,r,o,s){return this.AddItemArray(3,t,e,n,i,null,null,0,r,o,s,null)},ADD_PRINT_TABLE:function(t,e,n,i,r){return this.AddItemArray(6,t,e,n,i,r)},ADD_PRINT_PDF:function(t,e,n,i,r){if(this.blIslocal||":"!=r[1])return this.AddItemArray(11,t,e,n,i,r);alert("Unable to print or view remote service files")},ADD_PRINT_TBURL:function(t,e,n,i,r){return this.AddItemArray(7,t,e,n,i,r)},ADD_PRINT_URL:function(t,e,n,i,r){return this.AddItemArray(5,t,e,n,i,r)},ADD_PRINT_IMAGE:function(t,e,n,i,r){return this.AddItemArray(8,t,e,n,i,r)},ADD_PRINT_CHART:function(t,e,n,i,r,o){return this.AddItemArray(10,t,e,n,i,o,null,null,null,null,null,null,null,r)},SET_PRINT_PROPERTY:function(t,e,n,i){this.SET_PRINT_STYLEA(t,"ItemType",e),this.SET_PRINT_STYLEA(t,"HOrient",n),this.SET_PRINT_STYLEA(t,"VOrient",i)},SET_PRINT_PROPERTYA:function(t,e,n,i){this.SET_PRINT_PROPERTY(t,e,n,i)},SET_PRINT_STYLE:function(t,e){if(void 0!==t&&null!==t||(t=""),void 0!==e&&null!==e||(e=""),""===t)return!1;t=t.toLowerCase(),this.defStyleJson[t]=e},SET_PRINT_STYLEA:function(t,e,n){if(void 0!==t&&null!==t||(t=""),void 0!==e&&null!==e||(e=""),void 0!==n&&null!==n||(n=""),""===t||""===e)return!1;if(this.ItemDatas["count"]<=0)return void 0!==this.PageData["add_print_program_data"]&&(this.ItemCNameStyles[e.toLowerCase()+"-"+t]=n,!0);if(e=e.toLowerCase(),"type"==e)return!1;var i=!1;for(var r in 0==t&&(t=this.ItemDatas["count"]),this.ItemDatas){var o=this.ItemDatas[r]["itemname"];(t==r||t==o||"string"===typeof t&&"string"===typeof o&&t.toUpperCase()==o.toUpperCase())&&(this.ItemDatas[r][e]=n,i=!0)}return!!i},SET_PRINT_TEXT_STYLE:function(t,e,n,i,r,o,s){this.SET_PRINT_STYLEA(t,"fontname",e),this.SET_PRINT_STYLEA(t,"fontsize",n),this.SET_PRINT_STYLEA(t,"bold",i),this.SET_PRINT_STYLEA(t,"italic",r),this.SET_PRINT_STYLEA(t,"underline",o),this.SET_PRINT_STYLEA(t,"alignment",s)},SET_PRINT_TEXT_STYLEA:function(t,e,n,i,r,o,s,a){this.SET_PRINT_TEXT_STYLE(t,e,n,i,r,o,s),this.SET_PRINT_STYLEA(t,"fontcolor",a)},SET_PRINT_TEXT_STYLEB:function(t,e,n,i,r,o,s,a){this.SET_PRINT_TEXT_STYLEA(t,e,n,i,r,o,s,a)},NEWPAGE:function(){this.NewPage()},NewPage:function(){var t,e=!1;for(var n in this.ItemDatas){for(var i in t="count"!=n,this.ItemDatas[n])if("itemtype"==i&&(t=!1,0==this.ItemDatas[n][i]||4==this.ItemDatas[n][i])){e=!0;break}if(t&&(e=!0),e)break}e&&(this.defStyleJson["beginpage"]=this.defStyleJson["beginpage"]+1)},NEWPAGEA:function(){this.NewPageA()},NewPageA:function(){var t,e=!1;for(var n in this.ItemDatas){for(var i in t="count"!=n,this.ItemDatas[n])if("itemtype"==i&&(t=!1,0==this.ItemDatas[n][i]||4==this.ItemDatas[n][i])){e=!0;break}if(t&&(e=!0),e)break}e&&(this.defStyleJson["beginpagea"]=this.defStyleJson["beginpagea"]+1)},PREVIEW:function(e,n,i){if(this.blWorking)return t("info",this.altMessageBusy," at common/print/CLodopfuncs.js:725"),null;var r=null;return!e&&this.blIslocal?1==this.DoPostDatas("preview")&&(this.Result=null,this.GetLastResult(!0),r=this.GetTaskID()):1==this.DoPostDatas("cpreview")&&(this.DoCPreview(e,n,i),r=this.GetTaskID()),this.DoInit(),this.blWorking=!1,r},PRINT:function(e,n,i){if(this.blWorking)return t("info",this.altMessageBusy," at common/print/CLodopfuncs.js:747"),null;var r=null;return 1==this.DoPostDatas("print")&&(r=this.GetTaskID()),this.DoInit(),this.blWorking=!1,r},GET_PRINTER_COUNT:function(){return void 0===this.Printers?0:this.Printers["list"].length},GET_PRINTER_NAME:function(t){if(void 0===this.Printers)return"";if("string"==typeof t&&t.indexOf(":")>-1){var e=t.slice(t.indexOf(":")+1);return t=t.slice(0,t.indexOf(":")),-1==t?this.Printers["list"][this.Printers["default"]][e]:this.Printers["list"][t][e]}return-1==t?this.Printers["list"][this.Printers["default"]].name:t>=0&&t-1)return this.PageData["add_print_program_data"]=e,!0},SHOW_CHART:function(){},DO_ACTION:function(e,n){if(this.blWorking)return t("info",this.altMessageBusy," at common/print/CLodopfuncs.js:1224"),null;var i=null;return void 0!==e&&void 0!==n&&(this.PageData["do_action_name"]=e,this.PageData["do_action_value"]=n,1==this.DoPostDatas("doaction")&&(this.GetLastResult(!1),i=this.GetTaskID())),this.DoInit(),this.blWorking=!1,i},Create_Printer_List:function(t,e){while(t.childNodes.length>0)for(var n=t.childNodes,i=0;i0)if(e)s.innerHTML=s.innerHTML+",..";else for(var a=s.innerHTML,l=0;l=100)return}}},Create_PageSize_List:function(t,e){while(t.childNodes.length>0)for(var n=t.childNodes,r=0;r-1?m["content"]=o.replace(new RegExp(this.DelimChar,"g"),""):m["content"]=o),void 0!==s&&null!=s&&(m["itemname"]=s+""),void 0!==a&&null!=a&&(m["shapetype"]=a),void 0!==l&&null!=l&&(m["penstyle"]=l),void 0!==u&&null!=u&&(m["penwidth"]=u),void 0!==c&&null!=c&&(m["fontcolor"]=c),void 0!==d&&null!=d&&(m["lineposition"]="1"),void 0!==f&&null!=f&&(m["fontname"]=f),void 0!==p&&null!=p&&(m["charttypess"]=p),m["beginpage"]=this.defStyleJson["beginpage"],m["beginpagea"]=this.defStyleJson["beginpagea"],this.ItemDatas["count"]=h,this.ItemDatas[h]=m,this.blNormalItemAdded=!0,!0},RemoveIframes:function(){try{for(var t=0;t6e4*this.timeThreshold&&this.Iframes.splice(t,1)}}catch(n){}},AddInputElement:function(t,e,n,i){if(void 0!==i){var r=t.createElement("input");r.name=n,r.type="hidden",r.value=i,e.appendChild(r)}},createPostDataString:function(t){var e="act="+t+this.DelimChar;for(var n in e=e+"browseurl="+window.location.href+this.DelimChar,this.PageDataEx)e=e+n+"="+this.PageDataEx[n]+this.DelimChar;var i="";for(var n in this.PageData)e=e+n+"="+this.PageData[n]+this.DelimChar,"top"!=n&&"left"!=n&&"width"!=n&&"height"!=n&&"printtask"!=n&&"printerindex"!=n&&"printerindexa"!=n&&"printersubid"!=n&&"orient"!=n&&"pagewidth"!=n&&"pageheight"!=n&&"pagename"!=n&&"printcopies"!=n&&"setup_bkimg"!=n&&(i=i+";"+n);""!==i&&(e=e+"printmodenames="+i+this.DelimChar);var r="";for(var o in this.ItemCNameStyles)e=e+o+"="+this.ItemCNameStyles[o]+this.DelimChar,r=r+";"+o;for(var s in""!==r&&(e=e+"printstyleclassnames="+r+this.DelimChar),e=e+"itemcount="+this.ItemDatas["count"]+this.DelimChar,this.ItemDatas){var a="";for(var l in this.ItemDatas[s])"beginpage"!=l&&"beginpagea"!=l&&"type"!=l&&"top"!=l&&"left"!=l&&"width"!=l&&"height"!=l&&(a=a+";"+l);for(var l in e=e+s+"_itemstylenames="+a+this.DelimChar,this.ItemDatas[s])e=e+s+"_"+l+"="+this.ItemDatas[s][l]+this.DelimChar}return e},wsDoPostDatas:function(t){var e="charset=\u4e02"+this.DelimChar;return e=e+"tid="+this.GetTaskID()+this.DelimChar,e+=this.createPostDataString(t),this.wsSend("post:"+e)},DoPostDatas:function(e){return this.OBO_Mode&&this.blOneByone?(t("info",this.altMessageSomeWindowExist," at common/print/CLodopfuncs.js:1487"),!1):(this.blWorking=!0,null!==this.blTmpSelectedIndex&&this.SET_PRINTER_INDEX(this.blTmpSelectedIndex),this.SocketEnable,this.wsDoPostDatas(e))},GetLastResult:function(t){if(t&&(this.blOneByone=!0),this.SocketEnable)return!0;var e=this.strHostURI+"/c_lastresult.js";e=e+"?times="+(new Date).getTime(),e=e+"&tid="+this.GetTaskID(),e=encodeURI(e).replace("%20","+");var n=document.createElement("script");n.src=e,n.async=!1,n.type="text/javascript",n.charset="utf-8";var r=document.head||document.getElementsByTagName("head")[0]||document.documentElement;return r.insertBefore(n,r.firstChild),n.onload=n.onreadystatechange=function(){if(!n.readyState||/loaded|complete/.test(n.readyState)){if(i.blOneByone=!1,CLodop_ACTLastResult)var t=decodeURIComponent(CLodop_ACTLastResult);var e=CLodop_ACTTaskID;if(i.Result=t,CLodop_ACTAlert&&CLodop_ACTconsole.info(),i.On_Return)try{var r=i.On_Return;"true"==t||"false"==t?i.On_Return(e,"true"==t):i.On_Return(e,t),i.On_Return_Remain||r!==i.On_Return||(i.On_Return=null)}catch(o){}n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n)}},!0},DoCPreview:function(t,e,n){var i=document.body||document.getElementsByTagName("body")[0]||document.documentElement;"number"!==typeof e?e=Math.round(2*i.offsetWidth/3):i.offsetWidth0)if("_dialog"===e)window.showModalDialog?window.showModalDialog(n,"dialog","center:yes"):window.open(n,"","scrollbars=yes,toolbar=no,left=150,top=100,resizable=yes");else if("_self"===e||"_top"===e||"_parent"===e)window.location.href=n;else if("_blank"===e)this.PreviewBox.create(n,i,r);else if(e.indexOf("_winopen:")>-1){var o=e.slice(e.indexOf("_winopen:")+9);o.indexOf("_blank")>-1?window.open(n,"_blank",o.slice(o.indexOf("_blank")+6)):window.open(n,"",o)}else document.getElementById(e)?document.getElementById(e).src=n:t("info","iframe '"+e+"' not exist!"," at common/print/CLodopfuncs.js:1603");else this.PreviewBox.create(n,i,r)}catch(s){t("info","CLODOP PopView "+s," at common/print/CLodopfuncs.js:1606")}},creatMyButtonElement:function(t,e){try{var n=document.createElement("")}catch(i){}return n||(n=document.createElement("input"),n.type=t,n.value=e),n},creatLabelElement:function(t,e,n,i,r){var o=document.createElement(t);return o.innerHTML=e,o.style.cssText="position:absolute;width:"+n+"px;left:"+i+"px;top:"+r+"px;",o},SelectBox:{dragapproved:!1,offsetx:0,offsety:0,tempx:0,tempy:0,FrantDiv:void 0,PopDiv:void 0,selPrinter:void 0,selCopies:void 0,closeit:function(){i.SelectBox.PopDiv&&i.SelectBox.PopDiv.parentNode&&i.SelectBox.PopDiv.parentNode.removeChild(i.SelectBox.PopDiv),this.FrantDiv&&this.FrantDiv.parentNode&&this.FrantDiv.parentNode.removeChild(this.FrantDiv),this.PopDiv=void 0},initializedrag:function(t){var e=window.event||t;this.offsetx=e.clientX,this.offsety=e.clientY,this.tempx=parseInt(this.PopDiv.style.left),this.tempy=parseInt(this.PopDiv.style.top),this.dragapproved=!0},drag_drop:function(t){if(this.dragapproved){var e=window.event||t;this.PopDiv.style.left=e.clientX-this.offsetx+this.tempx+"px",this.PopDiv.style.top=e.clientY-this.offsety+this.tempy+"px"}},stopdrag:function(){this.dragapproved=!1},clickOK:function(t){i.PRINTAOK(i.SelectBox.selPrinter.value,i.SelectBox.selCopies.value,0,0,t),this.closeit()},create:function(t,e,n){i.SelectBox.PopDiv&&this.closeit();var r=document.body||document.getElementsByTagName("body")[0]||document.documentElement,o=document.createElement("div");r.appendChild(o),o.style.cssText="position:absolute;z-index:91100;display:block;top:2px;border:1px solid #6B97C1;background:#F5F5F5;color:#000;font-size:13px;",o.style.width=t+"px",o.style.left=Math.max((r.offsetWidth-t)/2,0)+"px",o.style.top=Math.max((r.offsetHeight-e)/2,0)+"px",o.style.height=e+"px",this.PopDiv=o;var s=document.createElement("div");o.appendChild(s),s.style.cssText="font: bold 13px Arial;line-height:25px;height:27px;text-indent:5px;color: white;background:#8BACCF",s.innerHTML="      \u6253\u5370",s.onmousedown=function(t){i.SelectBox.initializedrag(t)},s.onmousemove=function(t){i.SelectBox.drag_drop(t)},s.onmouseup=function(){i.SelectBox.stopdrag()};var a=document.createElement("button");s.appendChild(a),a.style.cssText="background:transparent url("+i.strHostURI+"/c_favicon.ico) no-repeat scroll 0 0px;margin-left:5px;position:absolute;height:20px;line-height:100px;width:34px;left:3px;border:0;top:5px";var l=document.createElement("button");s.appendChild(l),l.style.cssText="background:transparent url("+i.strHostURI+"/images/c_winclose.png) no-repeat scroll 0 0px;margin-right:5px;position:absolute;height:20px;line-height:100px;width:34px;right:3px;border:0;top:4px",l.onclick=function(){if(i.SelectBox.closeit(),n&&i.On_Return){var t=i.On_Return;i.On_Return(0,-1),i.On_Return_Remain||t!==i.On_Return||(i.On_Return=null)}};var u=document.createElement("div");o.appendChild(u),u.style.cssText="background:#F5F5F5;color:#000;border:0px;left:0px;top:0px;",u.style.width=t-2+"px",u.style.height=e-27+"px";var c=i.creatMyButtonElement("button","\u786e\u5b9a");o.appendChild(c),c.style.cssText="position:absolute;width:80px;height:23px;",c.style.left="110px",c.style.top=e-64+"px",c.onclick=function(){i.SelectBox.clickOK(n)};var d=i.creatMyButtonElement("button","\u53d6\u6d88");o.appendChild(d),d.style.cssText="position:absolute;width:80px;;height:23px;",d.style.left="240px",d.style.top=e-64+"px",d.onclick=function(){if(i.SelectBox.closeit(),n&&i.On_Return){var t=i.On_Return;i.On_Return(0,-1),i.On_Return_Remain||t!==i.On_Return||(i.On_Return=null)}},u.appendChild(i.creatLabelElement("span","\u9009\u6253\u5370\u673a\uff1a",200,46,67));var f=document.createElement("select");o.appendChild(f),this.selPrinter=f,f.style.cssText="position:absolute;size:1;width:212px;left:110px;top:62px;",i.Create_Printer_List(f),u.appendChild(i.creatLabelElement("span","\u6253\u5370\u4efd\u6570\uff1a",200,46,121));var p=i.creatMyButtonElement("text","1");o.appendChild(p),this.selCopies=p,p.style.cssText="position:absolute;size:1;width:30px;left:110px;top:117px;",this.FrantDiv=document.createElement("div"),r.appendChild(this.FrantDiv),this.FrantDiv.style.cssText="border:0px;left:0px;top:0px;filter: alpha(opacity=20); position: fixed; opacity: 0.2;-moz-opacity: 0.2; _position: absolute;z-index:91009; over-flow: hidden;",i.Browser.IE&&("BackCompat"==document.compatMode||navigator.userAgent.indexOf("MSIE 6.0")>0)?(this.FrantDiv.style.width=r.scrollWidth+"px",this.FrantDiv.style.height=r.scrollHeight+"px"):(this.FrantDiv.style.width="100%",this.FrantDiv.style.height="100%")}},PreviewBox:{dragapproved:!1,offsetx:0,offsety:0,tempx:0,tempy:0,FrantDiv:void 0,PopDiv:void 0,ContentFrame:void 0,closeit:function(t){i.PreviewBox.PopDiv&&i.PreviewBox.PopDiv.parentNode&&i.PreviewBox.PopDiv.parentNode.removeChild(i.PreviewBox.PopDiv),this.FrantDiv&&this.FrantDiv.parentNode&&this.FrantDiv.parentNode.removeChild(this.FrantDiv),this.PopDiv=void 0},initializedrag:function(t,e){var n=window.event||t;this.offsetx=n.clientX,this.offsety=n.clientY,this.tempx=parseInt(e.style.left),this.tempy=parseInt(e.style.top),this.dragapproved=!0},drag_drop:function(t,e){if(this.dragapproved){var n=window.event||t;e.style.left=n.clientX-this.offsetx+this.tempx+"px",e.style.top=n.clientY-this.offsety+this.tempy+"px"}},stopdrag:function(){this.dragapproved=!1,this.ContentFrame&&(this.ContentFrame.style.display="block")},create:function(t,e,n){i.PreviewBox.PopDiv&&this.closeit();var r=document.body||document.getElementsByTagName("body")[0]||document.documentElement,o=document.createElement("div");r.appendChild(o),o.style.cssText="position:absolute;z-index:91100;display:block;top:2px;border:1px solid #6B97C1;font-size:13px;",o.style.width=e+"px";var s=(r.offsetWidth-e)/2;window.screen.width0)?(this.FrantDiv.style.width=r.scrollWidth+"px",this.FrantDiv.style.height=r.scrollHeight+"px"):(this.FrantDiv.style.width="100%",this.FrantDiv.style.height="100%")}}};if(e.CLODOP2015_7028&&e.CLODOP2015_7028.Priority&&e.CLODOP2015_7028.Priority>i.Priority)return i=e.CLODOP2015_7028,void(e.CLODOP_OK_Priority=e.CLODOP2015_7028.Priority);e.LODOP=i,e.CLODOP=i,e.CLODOP2015_7028=i,e.CLODOP_OK_Priority=i.Priority,navigator.userAgent.indexOf("Lodop")<0&&e.CLODOP.OpenWebSocket()}(window)}).call(this,n("0de9")["default"])},b8ec:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","content"),attrs:{_i:0}},[this._v(this._$s(0,"t0-0",this._s(this.scanCode)))])},r=[]},c312:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("view")},r=[]},c973:function(t,e){function n(t,e,n,i,r,o,s){try{var a=t[o](s),l=a.value}catch(u){return void n(u)}a.done?e(l):Promise.resolve(l).then(i,r)}t.exports=function(t){return function(){var e=this,i=arguments;return new Promise((function(r,o){var s=t.apply(e,i);function a(t){n(s,r,o,a,l,"next",t)}function l(t){n(s,r,o,a,l,"throw",t)}a(void 0)}))}},t.exports.__esModule=!0,t.exports["default"]=t.exports},caaa:function(t,e,n){"use strict";var i=n("4ea4"),r=i(n("9523")),o=i(n("7037"));n("5758");var s=i(n("a114")),a=i(n("8bbf")),l=n("7870");function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}a.default.prototype.$broadcastScan=l.broadcastScan,a.default.config.productionTip=!1,s.default.mpType="app";try{uni.addInterceptor({returnValue:function(t){return function(t){return!!t&&("object"===(0,o.default)(t)||"function"===typeof t)&&"function"===typeof t.then}(t)?new Promise((function(e,n){t.then((function(t){t[0]?n(t[0]):e(t[1])}))})):t}})}catch(d){}var c=new a.default(function(t){for(var e=1;en.parts.length&&(r.parts.length=n.parts.length)}else{var o=[];for(i=0;in.parts.length&&(r.parts.length=n.parts.length)}else{var o=[];for(i=0;i\");\n // LODOP.ADD_PRINT_PDF(0, 0, \"100mm\", \"150mm\", this.imgePdfData);\n // LODOP.PRINT();\n uni.request({\n url: this.httpRoot + this.ilsApi + '/jeecg-boot/front/getOrderPayStateAndPdfBase64?OrderId=' + orderCoder,\n method: 'GET',\n success: function success(res) {\n __f__(\"log\", res.data.result, \" at pages/tabbar/index/index.vue:90\");\n if (res.data.code == 200) {\n LODOP.PRINT_INIT(null, _this2.printIp);\n LODOP.SET_PRINTER_INDEX(-1);\n LODOP.PRINT_INITA(2, 0, \"100mm\", \"150mm\", \"100X150\");\n LODOP.SET_PRINT_PAGESIZE(1, \"100mm\", \"150mm\", \"\");\n LODOP.SET_PRINT_MODE(\"POS_BASEON_PAPER\", true);\n // LODOP.ADD_PRINT_HTM(2, 0, \"100mm\", \"150mm\", \"\");\n LODOP.ADD_PRINT_PDF(0, 0, \"100mm\", \"150mm\", res.data.result);\n LODOP.PRINT();\n uni.showToast({\n title: '面单下发成功.正在打印,请稍候...',\n icon: 'success',\n duration: 3000\n });\n } else {\n uni.showToast({\n title: '面单获取异常,打印失败',\n icon: 'none',\n duration: 3000\n });\n }\n },\n fail: function fail() {\n uni.showToast({\n title: '接口访问异常,打印失败',\n icon: 'none',\n duration: 3000\n });\n }\n });\n },\n onShow: function onShow() {\n var _this = this;\n uni.$off('scancodedate'); // 每次进来先 移除全局自定义事件监听器\n uni.$on('scancodedate', function (data) {\n __f__(\"log\", '你想要的code:', data.code, \" at pages/tabbar/index/index.vue:126\");\n _this.codes = data.code;\n this.showPop = false;\n var orderCoder = data.code;\n __f__(\"log\", \"onShow orderCoder: \" + orderCoder, \" at pages/tabbar/index/index.vue:130\");\n __f__(\"log\", \"ilsApi:\", _this.ilsApi, \" at pages/tabbar/index/index.vue:131\");\n __f__(\"log\", \"printIp:\", _this.printIp, \" at pages/tabbar/index/index.vue:132\");\n //orderCoder = \"SF1642682535344\";\n uni.request({\n url: _this.httpRoot + _this.ilsApi + '/jeecg-boot/front/getOrderPayStateAndPdfBase64?OrderId=' + orderCoder,\n method: 'GET',\n success: function success(res) {\n __f__(\"log\", res.data.result, \" at pages/tabbar/index/index.vue:138\");\n if (res.data.code == 200) {\n LODOP.PRINT_INIT(null, _this.printIp);\n LODOP.SET_PRINTER_INDEX(-1);\n LODOP.PRINT_INITA(2, 0, \"100mm\", \"150mm\", \"100X150\");\n LODOP.SET_PRINT_PAGESIZE(1, \"100mm\", \"150mm\", \"\");\n LODOP.SET_PRINT_MODE(\"POS_BASEON_PAPER\", true);\n // LODOP.ADD_PRINT_HTM(2, 0, \"100mm\", \"150mm\", \"\");\n LODOP.ADD_PRINT_PDF(0, 0, \"100mm\", \"150mm\", res.data.result);\n LODOP.PRINT();\n uni.showToast({\n title: '下发成功.正在打印,请稍候...',\n icon: 'success',\n duration: 3000\n });\n } else {\n uni.showToast({\n title: '面单获取异常,打印失败',\n icon: 'none',\n duration: 3000\n });\n }\n },\n fail: function fail() {\n uni.showToast({\n title: '接口访问异常,打印失败',\n icon: 'none',\n duration: 3000\n });\n }\n });\n });\n },\n getScancode: function getScancode(code) {\n // 有些PDA会自带换行符,trim函数处理下\n code = code.trim();\n //code就是扫描获取的值\n __f__(\"log\", code, \" at pages/tabbar/index/index.vue:175\");\n },\n printPdf: function printPdf() {\n // 有些PDA会自带换行符,trim函数处理下\n _printPdf.managerPrint(\"D:\\LeStoreDownload\\EXP-LHJ1239002405-3676E4041337.pdf\");\n }\n }\n};\nexports.default = _default;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 15)[\"default\"]))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vcGFnZXMvdGFiYmFyL2luZGV4L2luZGV4LnZ1ZSJdLCJuYW1lcyI6WyJkYXRhIiwiY29kZXMiLCJzaG93UG9wIiwiaHR0cFJvb3QiLCJpbHNBcGkiLCJwcmludElwIiwib25Mb2FkIiwib25VbmxvYWQiLCJvbkhpZGUiLCJvblNob3ciLCJtZXRob2RzIiwicGRhU3lzdGVtSW5pdCIsImNvbmZpcm1BZGQiLCJjYW5jZWxBZGQiLCJkb1ByaW50ZXIiLCJ1bmkiLCJ1cmwiLCJtZXRob2QiLCJzdWNjZXNzIiwiTE9ET1AiLCJ0aXRsZSIsImljb24iLCJkdXJhdGlvbiIsImZhaWwiLCJfdGhpcyIsImdldFNjYW5jb2RlIiwiY29kZSIsInByaW50UGRmIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBNEJBO0FBQ0E7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQ0E7QUFDQTtBQUFBLGVBQ0E7RUFDQUE7SUFDQTtNQUNBQztNQUNBQztNQUNBQztNQUNBQztNQUNBQztNQUNBQztRQUNBO01BQ0E7TUFDQUM7UUFDQTtNQUNBO01BQ0FDO1FBQ0E7TUFDQTtNQUNBQztRQUNBO01BQ0E7SUFDQTtFQUNBO0VBRUFDO0lBQ0FDO01BQ0E7SUFDQTtJQUNBQztNQUNBO01BQ0E7TUFDQTtNQUNBO0lBQ0E7SUFDQUM7TUFDQTtNQUNBO01BQ0E7TUFDQTtJQUNBO0lBQ0E7SUFDQUM7TUFBQTtNQUNBO01BQ0E7TUFDQTtNQUNBO01BQ0E7TUFDQTtNQUNBO01BQ0E7TUFDQTtNQUNBO01BQ0E7TUFDQT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XHRjb25zb2xlLmxvZyhjb2RlKVxyXG5cdFx0XHR9LFxyXG5cdFx0XHRwcmludFBkZigpIHtcclxuXHRcdFx0XHQvLyDmnInkuptQREHkvJroh6rluKbmjaLooYznrKbvvIx0cmlt5Ye95pWw5aSE55CG5LiLXHJcblx0XHRcdFx0cHJpbnRQZGYubWFuYWdlclByaW50KFwiRDpcXExlU3RvcmVEb3dubG9hZFxcRVhQLUxISjEyMzkwMDI0MDUtMzY3NkU0MDQxMzM3LnBkZlwiKTtcclxuXHRcdFx0fVxyXG5cdFx0fVxyXG5cdH1cclxuPC9zY3JpcHQ+XHJcblxyXG48c3R5bGU+XHJcbi5CaWd7XHJcblx0d2lkdGg6IDIyMHB4O1xyXG5cdG1hcmdpbjogMjAwcHggMTAwcHg7XHJcbn1cclxuLm5hbWVTdHl7XHJcblx0aGVpZ2h0OiAzMHB4O1xyXG5cdHdpZHRoOiAyMjBweCAhaW1wb3J0YW50O1xyXG5cdGxpbmUtaGVpZ2h0OiAzMHB4O1xyXG5cdGZvbnQtc2l6ZTogMThweDtcclxuXHRmb250LXdlaWdodDogYm9sZDtcclxuXHRjb2xvcjogIzgyODI4MiAhaW1wb3J0YW50O1xyXG59XHJcbi9kZWVwLy51LXNpemUtZGVmYXVsdCwvZGVlcC8udW5pLWlucHV0LWlucHV0e1xyXG5cdGZvbnQtc2l6ZTogMThweDtcclxufVxyXG48L3N0eWxlPlxyXG4iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///18\n"); +eval("/* WEBPACK VAR INJECTION */(function(__f__) {\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1);\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _scanCode = _interopRequireDefault(__webpack_require__(/*! @/components/scan-code/scan-code.vue */ 10));\nvar _CLodopfuncs = __webpack_require__(/*! @/common/print/CLodopfuncs.js */ 19);\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nvar _printPdf = uni.requireNativePlugin('YanYu-PrintPDF');\nvar _default = {\n data: function data() {\n return {\n codes: undefined,\n showPop: false,\n httpRoot: 'http://',\n ilsApi: '192.168.1.56:9090',\n printIp: '192.168.1.26',\n onLoad: function onLoad(option) {\n this.$broadcastScan.init(this.getScancode);\n },\n onUnload: function onUnload() {\n this.$broadcastScan.stop();\n },\n onHide: function onHide() {\n this.$broadcastScan.stop();\n },\n onShow: function onShow() {\n this.$broadcastScan.start();\n }\n };\n },\n methods: {\n pdaSystemInit: function pdaSystemInit() {\n this.showPop = true;\n },\n confirmAdd: function confirmAdd() {\n //确认\n this.showPop = false;\n __f__(\"log\", \"ilsApi:\", this.ilsApi, \" at pages/tabbar/index/index.vue:63\");\n __f__(\"log\", \"printIp:\", this.printIp, \" at pages/tabbar/index/index.vue:64\");\n },\n cancelAdd: function cancelAdd() {\n //取消\n this.ilsApi = '';\n this.printIp = '';\n this.showPop = false;\n },\n // 打印\n doPrinter: function doPrinter(orderCoder) {\n var _this2 = this;\n this.showPop = false;\n __f__(\"log\", \"doPrinter orderCoder: \" + orderCoder, \" at pages/tabbar/index/index.vue:75\");\n __f__(\"log\", \"ilsApi:\", this.ilsApi, \" at pages/tabbar/index/index.vue:76\");\n __f__(\"log\", \"printIp:\", this.printIp, \" at pages/tabbar/index/index.vue:77\");\n // LODOP.PRINT_INIT(null, \"192.168.1.26\");\n // LODOP.SET_PRINTER_INDEX(-1);\n // LODOP.PRINT_INITA(0, 0, \"100mm\", \"150mm\", \"100X150\");\n // LODOP.SET_PRINT_PAGESIZE(1, \"100mm\", \"150mm\", \"\");\n // LODOP.SET_PRINT_MODE(\"POS_BASEON_PAPER\", true);\n // //LODOP.ADD_PRINT_HTM(10, 20, \"100mm\", \"150mm\", \"\");\n // LODOP.ADD_PRINT_PDF(0, 0, \"100mm\", \"150mm\", this.imgePdfData);\n // LODOP.PRINT();\n\n uni.request({\n url: this.httpRoot + this.ilsApi + '/jeecg-boot/front/getOrderPayStateAndPdfBase64?OrderId=' + orderCoder,\n method: 'GET',\n success: function success(res) {\n __f__(\"log\", res.data.result, \" at pages/tabbar/index/index.vue:91\");\n if (res.data.code == 200) {\n var LODOP = (0, _CLodopfuncs.getCLodop)();\n LODOP.PRINT_INIT(null, _this2.printIp);\n LODOP.SET_PRINTER_INDEX(-1);\n LODOP.PRINT_INITA(2, 0, \"100mm\", \"150mm\", \"100X150\");\n LODOP.SET_PRINT_PAGESIZE(1, \"100mm\", \"150mm\", \"\");\n LODOP.SET_PRINT_MODE(\"POS_BASEON_PAPER\", true);\n // LODOP.ADD_PRINT_HTM(2, 0, \"100mm\", \"150mm\", \"\");\n LODOP.ADD_PRINT_PDF(0, 0, \"100mm\", \"150mm\", res.data.result);\n LODOP.PRINT();\n uni.showToast({\n title: '面单下发成功.正在打印,请稍候...',\n icon: 'none',\n duration: 3000\n });\n } else {\n uni.showToast({\n title: res.data.message,\n icon: 'none',\n duration: 3000\n });\n }\n },\n fail: function fail(error) {\n uni.showToast({\n title: '接口访问异常,打印失败',\n icon: 'none',\n duration: 3000\n });\n }\n });\n },\n onShow: function onShow() {\n var _this = this;\n uni.$off('scancodedate'); // 每次进来先 移除全局自定义事件监听器\n uni.$on('scancodedate', function (data) {\n __f__(\"log\", '你想要的code:', data.code, \" at pages/tabbar/index/index.vue:128\");\n _this.codes = data.code;\n this.showPop = false;\n var orderCoder = data.code;\n __f__(\"log\", \"onShow orderCoder: \" + orderCoder, \" at pages/tabbar/index/index.vue:132\");\n __f__(\"log\", \"ilsApi:\", _this.ilsApi, \" at pages/tabbar/index/index.vue:133\");\n __f__(\"log\", \"printIp:\", _this.printIp, \" at pages/tabbar/index/index.vue:134\");\n //orderCoder = \"SF1642682535344\";\n uni.request({\n url: _this.httpRoot + _this.ilsApi + '/jeecg-boot/front/getOrderPayStateAndPdfBase64?OrderId=' + orderCoder,\n method: 'GET',\n success: function success(res) {\n __f__(\"log\", res.data.result, \" at pages/tabbar/index/index.vue:140\");\n if (res.data.code == 200) {\n var LODOP = (0, _CLodopfuncs.getCLodop)();\n LODOP.PRINT_INIT(null, _this.printIp);\n LODOP.SET_PRINTER_INDEX(-1);\n LODOP.PRINT_INITA(2, 0, \"100mm\", \"150mm\", \"100X150\");\n LODOP.SET_PRINT_PAGESIZE(1, \"100mm\", \"150mm\", \"\");\n LODOP.SET_PRINT_MODE(\"POS_BASEON_PAPER\", true);\n // LODOP.ADD_PRINT_HTM(2, 0, \"100mm\", \"150mm\", \"\");\n LODOP.ADD_PRINT_PDF(0, 0, \"100mm\", \"150mm\", res.data.result);\n LODOP.PRINT();\n uni.showToast({\n title: '下发成功.正在打印,请稍候...',\n icon: 'none',\n duration: 3000\n });\n } else {\n uni.showToast({\n title: res.data.message,\n icon: 'none',\n duration: 3000\n });\n }\n },\n fail: function fail(error) {\n __f__(\"log\", \"error: \", error, \" at pages/tabbar/index/index.vue:165\");\n uni.showToast({\n title: '接口访问异常,打印失败',\n icon: 'none',\n duration: 3000\n });\n }\n });\n });\n },\n getScancode: function getScancode(code) {\n // 有些PDA会自带换行符,trim函数处理下\n code = code.trim();\n //code就是扫描获取的值\n __f__(\"log\", code, \" at pages/tabbar/index/index.vue:179\");\n },\n printPdf: function printPdf() {\n // 有些PDA会自带换行符,trim函数处理下\n _printPdf.managerPrint(\"D:\\LeStoreDownload\\EXP-LHJ1239002405-3676E4041337.pdf\");\n }\n }\n};\nexports.default = _default;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 15)[\"default\"]))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vcGFnZXMvdGFiYmFyL2luZGV4L2luZGV4LnZ1ZSJdLCJuYW1lcyI6WyJkYXRhIiwiY29kZXMiL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RcdFx0fSxcclxuXHRcdFx0cHJpbnRQZGYoKSB7XHJcblx0XHRcdFx0Ly8g5pyJ5LqbUERB5Lya6Ieq5bim5o2i6KGM56ym77yMdHJpbeWHveaVsOWkhOeQhuS4i1xyXG5cdFx0XHRcdHByaW50UGRmLm1hbmFnZXJQcmludChcIkQ6XFxMZVN0b3JlRG93bmxvYWRcXEVYUC1MSEoxMjM5MDAyNDA1LTM2NzZFNDA0MTMzNy5wZGZcIik7XHJcblx0XHRcdH1cclxuXHRcdH1cclxuXHR9XHJcbjwvc2NyaXB0PlxyXG5cclxuPHN0eWxlPlxyXG4uQmlne1xyXG5cdHdpZHRoOiAyMjBweDtcclxuXHRtYXJnaW46IDIwMHB4IDEwMHB4O1xyXG59XHJcbi5uYW1lU3R5e1xyXG5cdGhlaWdodDogMzBweDtcclxuXHR3aWR0aDogMjIwcHggIWltcG9ydGFudDtcclxuXHRsaW5lLWhlaWdodDogMzBweDtcclxuXHRmb250LXNpemU6IDE4cHg7XHJcblx0Zm9udC13ZWlnaHQ6IGJvbGQ7XHJcblx0Y29sb3I6ICM4MjgyODIgIWltcG9ydGFudDtcclxufVxyXG4vZGVlcC8udS1zaXplLWRlZmF1bHQsL2RlZXAvLnVuaS1pbnB1dC1pbnB1dHtcclxuXHRmb250LXNpemU6IDE4cHg7XHJcbn1cclxuPC9zdHlsZT5cclxuIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///18\n"); /***/ }), /* 19 */ diff --git a/ilsApp/unpackage/release/apk/__UNI__3C11615__20230710164911.apk b/ilsApp/unpackage/release/apk/__UNI__3C11615__20230710182158.apk similarity index 98% rename from ilsApp/unpackage/release/apk/__UNI__3C11615__20230710164911.apk rename to ilsApp/unpackage/release/apk/__UNI__3C11615__20230710182158.apk index 41dc397..d3e8142 100644 Binary files a/ilsApp/unpackage/release/apk/__UNI__3C11615__20230710164911.apk and b/ilsApp/unpackage/release/apk/__UNI__3C11615__20230710182158.apk differ diff --git a/ilsApp/unpackage/debug/android_debug.apk b/ilsApp/unpackage/release/apk/ilsapp0711.apk similarity index 63% rename from ilsApp/unpackage/debug/android_debug.apk rename to ilsApp/unpackage/release/apk/ilsapp0711.apk index e64eec6..b0cdd66 100644 Binary files a/ilsApp/unpackage/debug/android_debug.apk and b/ilsApp/unpackage/release/apk/ilsapp0711.apk differ diff --git a/ilsApp/unpackage/resources/__UNI__3C11615/www/app-service.js b/ilsApp/unpackage/resources/__UNI__3C11615/www/app-service.js index 71ce988..a2daa9c 100644 --- a/ilsApp/unpackage/resources/__UNI__3C11615/www/app-service.js +++ b/ilsApp/unpackage/resources/__UNI__3C11615/www/app-service.js @@ -1,2 +1,2 @@ -(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{"0010":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("view")},r=[]},"0de9":function(t,e,n){"use strict";function i(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function r(){return"string"===typeof __channelId__&&__channelId__}function o(t,e){switch(i(e)){case"Function":return"function() { [native code] }";default:return e}}function s(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i1){var u=a.pop();l=a.join("---COMMA---"),0===u.indexOf(" at ")?l+=u:l+="---COMMA---"+u}else l=a[0];console[s](l)}n.r(e),n.d(e,"log",(function(){return s})),n.d(e,"default",(function(){return a}))},1762:function(t,e,n){"use strict";(function(t){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;i(n("cc5a"));var r=n("b79f"),o=uni.requireNativePlugin("YanYu-PrintPDF"),s=(0,r.getCLodop)(),a={data:function(){return{codes:void 0,showPop:!1,httpRoot:"http://",ilsApi:"192.168.1.56:9090",printIp:"192.168.1.26",onLoad:function(t){this.$broadcastScan.init(this.getScancode)},onUnload:function(){this.$broadcastScan.stop()},onHide:function(){this.$broadcastScan.stop()},onShow:function(){this.$broadcastScan.start()}}},methods:{pdaSystemInit:function(){this.showPop=!0},confirmAdd:function(){this.showPop=!1,t("log","ilsApi:",this.ilsApi," at pages/tabbar/index/index.vue:63"),t("log","printIp:",this.printIp," at pages/tabbar/index/index.vue:64")},cancelAdd:function(){this.ilsApi="",this.printIp="",this.showPop=!1},doPrinter:function(e){var n=this;this.showPop=!1,t("log","doPrinter orderCoder: "+e," at pages/tabbar/index/index.vue:75"),t("log","ilsApi:",this.ilsApi," at pages/tabbar/index/index.vue:76"),t("log","printIp:",this.printIp," at pages/tabbar/index/index.vue:77"),uni.request({url:this.httpRoot+this.ilsApi+"/jeecg-boot/front/getOrderPayStateAndPdfBase64?OrderId="+e,method:"GET",success:function(e){t("log",e.data.result," at pages/tabbar/index/index.vue:90"),200==e.data.code?(s.PRINT_INIT(null,n.printIp),s.SET_PRINTER_INDEX(-1),s.PRINT_INITA(2,0,"100mm","150mm","100X150"),s.SET_PRINT_PAGESIZE(1,"100mm","150mm",""),s.SET_PRINT_MODE("POS_BASEON_PAPER",!0),s.ADD_PRINT_PDF(0,0,"100mm","150mm",e.data.result),s.PRINT(),uni.showToast({title:"\u6253\u5370\u6210\u529f",icon:"success",duration:2e3})):uni.showToast({title:"\u6253\u5370\u5931\u8d25",icon:"none",duration:2e3})},fail:function(){uni.showToast({title:"\u6253\u5370\u5931\u8d25",icon:"none",duration:2e3})}})},onShow:function(){var e=this;uni.$off("scancodedate"),uni.$on("scancodedate",(function(n){t("log","\u4f60\u60f3\u8981\u7684code\uff1a",n.code," at pages/tabbar/index/index.vue:126"),e.codes=n.code,this.showPop=!1;var i=n.code;t("log","onShow orderCoder: "+i," at pages/tabbar/index/index.vue:130"),t("log","ilsApi:",e.ilsApi," at pages/tabbar/index/index.vue:131"),t("log","printIp:",e.printIp," at pages/tabbar/index/index.vue:132"),uni.request({url:e.httpRoot+e.ilsApi+"/jeecg-boot/front/getOrderPayStateAndPdfBase64?OrderId="+i,method:"GET",success:function(n){t("log",n.data.result," at pages/tabbar/index/index.vue:138"),200==n.data.code?(s.PRINT_INIT(null,e.printIp),s.SET_PRINTER_INDEX(-1),s.PRINT_INITA(2,0,"100mm","150mm","100X150"),s.SET_PRINT_PAGESIZE(1,"100mm","150mm",""),s.SET_PRINT_MODE("POS_BASEON_PAPER",!0),s.ADD_PRINT_PDF(0,0,"100mm","150mm",n.data.result),s.PRINT(),uni.showToast({title:"\u6253\u5370\u6210\u529f",icon:"success",duration:2e3})):uni.showToast({title:"\u6253\u5370\u5931\u8d25",icon:"none",duration:2e3})},fail:function(){uni.showToast({title:"\u6253\u5370\u5931\u8d25",icon:"none",duration:2e3})}})}))},getScancode:function(e){e=e.trim(),t("log",e," at pages/tabbar/index/index.vue:175")},printPdf:function(){o.managerPrint("D:LeStoreDownloadEXP-LHJ1239002405-3676E4041337.pdf")}}};e.default=a}).call(this,n("0de9")["default"])},"2b68":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{}},methods:{}}},"2e67":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}));var i={scanCode:n("cc5a").default},r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","Big"),attrs:{_i:0}},[n("view",{attrs:{id:"page",_i:1}},[t._$s(2,"i",t.showPop)?n("view",[n("view",[n("text",{staticClass:t._$s(4,"sc","font-sm text-secondary px-3 py-2"),attrs:{_i:4}}),n("input",{directives:[{name:"model",rawName:"v-model",value:t.ilsApi,expression:"ilsApi"}],staticClass:t._$s(5,"sc","font-md border bg-white px-3"),attrs:{_i:5},domProps:{value:t._$s(5,"v-model",t.ilsApi)},on:{input:function(e){e.target.composing||(t.ilsApi=e.target.value)}}})]),n("view",[n("text",{staticClass:t._$s(7,"sc","font-sm text-secondary px-3 py-2"),attrs:{_i:7}}),n("input",{directives:[{name:"model",rawName:"v-model",value:t.printIp,expression:"printIp"}],staticClass:t._$s(8,"sc","font-md border bg-white px-3"),attrs:{_i:8},domProps:{value:t._$s(8,"v-model",t.printIp)},on:{input:function(e){e.target.composing||(t.printIp=e.target.value)}}})]),n("view",[n("button",{staticClass:t._$s(10,"sc","systemSty"),attrs:{_i:10},on:{click:t.cancelAdd}}),n("button",{staticClass:t._$s(11,"sc","systemSty"),attrs:{_i:11},on:{click:t.confirmAdd}})])]):t._e(),n("text",{staticClass:t._$s(12,"sc","nameSty"),attrs:{_i:12}},[t._v(t._$s(12,"t0-0",t._s(t.codes)))]),t._$s(13,"i",!t.showPop)?n("button",{staticClass:t._$s(13,"sc","systemSty"),attrs:{_i:13},on:{click:function(e){return t.pdaSystemInit()}}}):t._e(),t._$s(14,"i",t.codes)?n("button",{staticClass:t._$s(14,"sc","nameSty"),attrs:{_i:14},on:{click:function(e){return t.doPrinter(t.codes)}}}):t._e()]),n("scan-code",{attrs:{_i:15}})],1)},o=[]},"3eb5":function(t,e,n){"use strict";n.r(e);var i=n("0010"),r=n("6308");for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var s=n("f0c5"),a=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=a.exports},"4aa9":function(t,e,n){"use strict";n.r(e);var i=n("5925"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},"4dde":function(t,e,n){"use strict";n.r(e);var i=n("1762"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},"4ea4":function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"54ef":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"])},"550d":function(t,e,n){"use strict";n.r(e);var i=n("2e67"),r=n("4dde");for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var s=n("f0c5"),a=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=a.exports},5631:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{}},methods:{}}},5758: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 i=uni.requireGlobal();ArrayBuffer=i.ArrayBuffer,Int8Array=i.Int8Array,Uint8Array=i.Uint8Array,Uint8ClampedArray=i.Uint8ClampedArray,Int16Array=i.Int16Array,Uint16Array=i.Uint16Array,Int32Array=i.Int32Array,Uint32Array=i.Uint32Array,Float32Array=i.Float32Array,Float64Array=i.Float64Array,BigInt64Array=i.BigInt64Array,BigUint64Array=i.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),__definePage("pages/tabbar/index/index",(function(){return Vue.extend(n("550d").default)})),__definePage("pages/tabbar/classify/classify",(function(){return Vue.extend(n("f8a1").default)})),__definePage("pages/tabbar/mine/mine",(function(){return Vue.extend(n("fd46").default)})),__definePage("pages/tabbar/study/study",(function(){return Vue.extend(n("3eb5").default)}))},5925:function(t,e,n){"use strict";(function(t){var n,i,r;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=!1,s={data:function(){return{scanCode:""}},created:function(t){this.initScan(),this.startScan()},onHide:function(){this.stopScan()},destroyed:function(){this.stopScan()},methods:{initScan:function(){var t=this;n=plus.android.runtimeMainActivity();var e=plus.android.importClass("android.content.IntentFilter");r=new e,r.addAction("android.intent.ACTION_DECODE_DATA"),i=plus.android.implements("io.dcloud.feature.internal.reflect.BroadcastReceiver",{onReceive:function(e,n){plus.android.importClass(n);var i=n.getStringExtra("barcode_string");t.queryCode(i)}})},startScan:function(){n.registerReceiver(i,r)},stopScan:function(){n.unregisterReceiver(i)},queryCode:function(e){if(o)return!1;o=!0,setTimeout((function(){o=!1}),150);var n=e;t("log","id:",n," at components/scan-code/scan-code.vue:53"),uni.$emit("scancodedate",{code:n})}}};e.default=s}).call(this,n("0de9")["default"])},6308:function(t,e,n){"use strict";n.r(e);var i=n("a3fc"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},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},7870:function(t,e,n){"use strict";var i,r,o;Object.defineProperty(e,"__esModule",{value:!0}),e.broadcastScan=void 0;var s=!1,a={init:function(t){i=plus.android.runtimeMainActivity();var e=plus.android.importClass("android.content.IntentFilter");r=new e,r.addAction("android.intent.ACTION_DECODE_DATA"),o=plus.android.implements("io.dcloud.feature.internal.reflect.BroadcastReceiver",{onReceive:function(e,n){plus.android.importClass(n);var i=n.getStringExtra("barcode_string");s||(s=!0,setTimeout((function(){s=!1}),150),t&&t(i))}})},start:function(){i.registerReceiver(o,r)},stop:function(){i.unregisterReceiver(o)}};e.broadcastScan=a},"7c11":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("view")},r=[]},"7ec2":function(t,e,n){var i=n("7037")["default"];function r(){"use strict"; +(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{"0010":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("view")},r=[]},"0de9":function(t,e,n){"use strict";function i(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function r(){return"string"===typeof __channelId__&&__channelId__}function o(t,e){switch(i(e)){case"Function":return"function() { [native code] }";default:return e}}function s(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i1){var u=a.pop();l=a.join("---COMMA---"),0===u.indexOf(" at ")?l+=u:l+="---COMMA---"+u}else l=a[0];console[s](l)}n.r(e),n.d(e,"log",(function(){return s})),n.d(e,"default",(function(){return a}))},1762:function(t,e,n){"use strict";(function(t){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;i(n("cc5a"));var r=n("b79f"),o=uni.requireNativePlugin("YanYu-PrintPDF"),s=(0,r.getCLodop)(),a={data:function(){return{codes:void 0,showPop:!1,httpRoot:"http://",ilsApi:"192.168.1.56:9090",printIp:"192.168.1.26",onLoad:function(t){this.$broadcastScan.init(this.getScancode)},onUnload:function(){this.$broadcastScan.stop()},onHide:function(){this.$broadcastScan.stop()},onShow:function(){this.$broadcastScan.start()}}},methods:{pdaSystemInit:function(){this.showPop=!0},confirmAdd:function(){this.showPop=!1,t("log","ilsApi:",this.ilsApi," at pages/tabbar/index/index.vue:63"),t("log","printIp:",this.printIp," at pages/tabbar/index/index.vue:64")},cancelAdd:function(){this.ilsApi="",this.printIp="",this.showPop=!1},doPrinter:function(e){var n=this;this.showPop=!1,t("log","doPrinter orderCoder: "+e," at pages/tabbar/index/index.vue:75"),t("log","ilsApi:",this.ilsApi," at pages/tabbar/index/index.vue:76"),t("log","printIp:",this.printIp," at pages/tabbar/index/index.vue:77"),uni.request({url:this.httpRoot+this.ilsApi+"/jeecg-boot/front/getOrderPayStateAndPdfBase64?OrderId="+e,method:"GET",success:function(e){t("log",e.data.result," at pages/tabbar/index/index.vue:90"),200==e.data.code?(s.PRINT_INIT(null,n.printIp),s.SET_PRINTER_INDEX(-1),s.PRINT_INITA(2,0,"100mm","150mm","100X150"),s.SET_PRINT_PAGESIZE(1,"100mm","150mm",""),s.SET_PRINT_MODE("POS_BASEON_PAPER",!0),s.ADD_PRINT_PDF(0,0,"100mm","150mm",e.data.result),s.PRINT(),uni.showToast({title:"\u9762\u5355\u4e0b\u53d1\u6210\u529f.\u6b63\u5728\u6253\u5370,\u8bf7\u7a0d\u5019...",icon:"success",duration:3e3})):uni.showToast({title:e.data.message,icon:"none",duration:3e3})},fail:function(){uni.showToast({title:"\u63a5\u53e3\u8bbf\u95ee\u5f02\u5e38\uff0c\u6253\u5370\u5931\u8d25",icon:"none",duration:3e3})}})},onShow:function(){var e=this;uni.$off("scancodedate"),uni.$on("scancodedate",(function(n){t("log","\u4f60\u60f3\u8981\u7684code\uff1a",n.code," at pages/tabbar/index/index.vue:126"),e.codes=n.code,this.showPop=!1;var i=n.code;t("log","onShow orderCoder: "+i," at pages/tabbar/index/index.vue:130"),t("log","ilsApi:",e.ilsApi," at pages/tabbar/index/index.vue:131"),t("log","printIp:",e.printIp," at pages/tabbar/index/index.vue:132"),uni.request({url:e.httpRoot+e.ilsApi+"/jeecg-boot/front/getOrderPayStateAndPdfBase64?OrderId="+i,method:"GET",success:function(n){t("log",n.data.result," at pages/tabbar/index/index.vue:138"),200==n.data.code?(s.PRINT_INIT(null,e.printIp),s.SET_PRINTER_INDEX(-1),s.PRINT_INITA(2,0,"100mm","150mm","100X150"),s.SET_PRINT_PAGESIZE(1,"100mm","150mm",""),s.SET_PRINT_MODE("POS_BASEON_PAPER",!0),s.ADD_PRINT_PDF(0,0,"100mm","150mm",n.data.result),s.PRINT(),uni.showToast({title:"\u4e0b\u53d1\u6210\u529f.\u6b63\u5728\u6253\u5370,\u8bf7\u7a0d\u5019...",icon:"success",duration:3e3})):uni.showToast({title:n.data.message,icon:"none",duration:3e3})},fail:function(){uni.showToast({title:"\u63a5\u53e3\u8bbf\u95ee\u5f02\u5e38\uff0c\u6253\u5370\u5931\u8d25",icon:"none",duration:3e3})}})}))},getScancode:function(e){e=e.trim(),t("log",e," at pages/tabbar/index/index.vue:175")},printPdf:function(){o.managerPrint("D:LeStoreDownloadEXP-LHJ1239002405-3676E4041337.pdf")}}};e.default=a}).call(this,n("0de9")["default"])},"2b68":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{}},methods:{}}},"33eb":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}));var i={scanCode:n("cc5a").default},r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","Big"),attrs:{_i:0}},[n("view",{attrs:{id:"page",_i:1}},[t._$s(2,"i",t.showPop)?n("view",[n("view",[n("text",{staticClass:t._$s(4,"sc","font-sm text-secondary px-3 py-2"),attrs:{_i:4}}),n("input",{directives:[{name:"model",rawName:"v-model",value:t.ilsApi,expression:"ilsApi"}],staticClass:t._$s(5,"sc","font-md border bg-white px-3"),attrs:{_i:5},domProps:{value:t._$s(5,"v-model",t.ilsApi)},on:{input:function(e){e.target.composing||(t.ilsApi=e.target.value)}}})]),n("view",[n("text",{staticClass:t._$s(7,"sc","font-sm text-secondary px-3 py-2"),attrs:{_i:7}}),n("input",{directives:[{name:"model",rawName:"v-model",value:t.printIp,expression:"printIp"}],staticClass:t._$s(8,"sc","font-md border bg-white px-3"),attrs:{_i:8},domProps:{value:t._$s(8,"v-model",t.printIp)},on:{input:function(e){e.target.composing||(t.printIp=e.target.value)}}})]),n("view",[n("button",{staticClass:t._$s(10,"sc","systemSty"),attrs:{_i:10},on:{click:t.cancelAdd}}),n("button",{staticClass:t._$s(11,"sc","systemSty"),attrs:{_i:11},on:{click:t.confirmAdd}})])]):t._e(),n("text",{staticClass:t._$s(12,"sc","nameSty"),attrs:{_i:12}},[t._v(t._$s(12,"t0-0",t._s(t.codes)))]),t._$s(13,"i",!t.showPop)?n("button",{staticClass:t._$s(13,"sc","systemSty"),attrs:{_i:13},on:{click:function(e){return t.pdaSystemInit()}}}):t._e(),t._$s(14,"i",t.codes)?n("button",{staticClass:t._$s(14,"sc","nameSty"),attrs:{_i:14},on:{click:function(e){return t.doPrinter(t.codes)}}}):t._e()]),n("scan-code",{attrs:{_i:15}})],1)},o=[]},"3eb5":function(t,e,n){"use strict";n.r(e);var i=n("0010"),r=n("6308");for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var s=n("f0c5"),a=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=a.exports},"4aa9":function(t,e,n){"use strict";n.r(e);var i=n("5925"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},"4dde":function(t,e,n){"use strict";n.r(e);var i=n("1762"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},"4ea4":function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"54ef":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"])},"550d":function(t,e,n){"use strict";n.r(e);var i=n("33eb"),r=n("4dde");for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var s=n("f0c5"),a=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=a.exports},5631:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{}},methods:{}}},5758: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 i=uni.requireGlobal();ArrayBuffer=i.ArrayBuffer,Int8Array=i.Int8Array,Uint8Array=i.Uint8Array,Uint8ClampedArray=i.Uint8ClampedArray,Int16Array=i.Int16Array,Uint16Array=i.Uint16Array,Int32Array=i.Int32Array,Uint32Array=i.Uint32Array,Float32Array=i.Float32Array,Float64Array=i.Float64Array,BigInt64Array=i.BigInt64Array,BigUint64Array=i.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),__definePage("pages/tabbar/index/index",(function(){return Vue.extend(n("550d").default)})),__definePage("pages/tabbar/classify/classify",(function(){return Vue.extend(n("f8a1").default)})),__definePage("pages/tabbar/mine/mine",(function(){return Vue.extend(n("fd46").default)})),__definePage("pages/tabbar/study/study",(function(){return Vue.extend(n("3eb5").default)}))},5925:function(t,e,n){"use strict";(function(t){var n,i,r;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=!1,s={data:function(){return{scanCode:""}},created:function(t){this.initScan(),this.startScan()},onHide:function(){this.stopScan()},destroyed:function(){this.stopScan()},methods:{initScan:function(){var t=this;n=plus.android.runtimeMainActivity();var e=plus.android.importClass("android.content.IntentFilter");r=new e,r.addAction("android.intent.ACTION_DECODE_DATA"),i=plus.android.implements("io.dcloud.feature.internal.reflect.BroadcastReceiver",{onReceive:function(e,n){plus.android.importClass(n);var i=n.getStringExtra("barcode_string");t.queryCode(i)}})},startScan:function(){n.registerReceiver(i,r)},stopScan:function(){n.unregisterReceiver(i)},queryCode:function(e){if(o)return!1;o=!0,setTimeout((function(){o=!1}),150);var n=e;t("log","id:",n," at components/scan-code/scan-code.vue:53"),uni.$emit("scancodedate",{code:n})}}};e.default=s}).call(this,n("0de9")["default"])},6308:function(t,e,n){"use strict";n.r(e);var i=n("a3fc"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},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},7870:function(t,e,n){"use strict";var i,r,o;Object.defineProperty(e,"__esModule",{value:!0}),e.broadcastScan=void 0;var s=!1,a={init:function(t){i=plus.android.runtimeMainActivity();var e=plus.android.importClass("android.content.IntentFilter");r=new e,r.addAction("android.intent.ACTION_DECODE_DATA"),o=plus.android.implements("io.dcloud.feature.internal.reflect.BroadcastReceiver",{onReceive:function(e,n){plus.android.importClass(n);var i=n.getStringExtra("barcode_string");s||(s=!0,setTimeout((function(){s=!1}),150),t&&t(i))}})},start:function(){i.registerReceiver(o,r)},stop:function(){i.unregisterReceiver(o)}};e.broadcastScan=a},"7c11":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("view")},r=[]},"7ec2":function(t,e,n){var i=n("7037")["default"];function r(){"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=r=function(){return e},t.exports.__esModule=!0,t.exports["default"]=t.exports;var e={},n=Object.prototype,o=n.hasOwnProperty,s=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function d(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(A){d=function(t,e,n){return t[e]=n}}function f(t,e,n,i){var r=e&&e.prototype instanceof m?e:m,o=Object.create(r.prototype),a=new R(i||[]);return s(o,"_invoke",{value:x(t,n,a)}),o}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(A){return{type:"throw",arg:A}}}e.wrap=f;var h={};function m(){}function v(){}function g(){}var _={};d(_,l,(function(){return this}));var y=Object.getPrototypeOf,P=y&&y(y(O([])));P&&P!==n&&o.call(P,l)&&(_=P);var b=g.prototype=m.prototype=Object.create(_);function D(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function I(t,e){var n;s(this,"_invoke",{value:function(r,s){function a(){return new e((function(n,a){(function n(r,s,a,l){var u=p(t[r],t,s);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==i(d)&&o.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,l)}),(function(t){n("throw",t,a,l)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,l)}))}l(u.arg)})(r,s,n,a)}))}return n=n?n.then(a,a):a()}})}function x(t,e,n){var i="suspendedStart";return function(r,o){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw o;return C()}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var a=T(s,n);if(a){if(a===h)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var l=p(t,e,n);if("normal"===l.type){if(i=n.done?"completed":"suspendedYield",l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i="completed",n.method="throw",n.arg=l.arg)}}}function T(t,e){var n=e.method,i=t.iterator[n];if(void 0===i)return e.delegate=null,"throw"===n&&t.iterator["return"]&&(e.method="return",e.arg=void 0,T(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var r=p(i,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,h;var o=r.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,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function E(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 w(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function R(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(t){if(t){var e=t[l];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n=0;--i){var r=this.tryEntries[i],s=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var a=o.call(r,"catchLoc"),l=o.call(r,"finallyLoc");if(a&&l){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&o.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),w(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;w(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},e}t.exports=r,t.exports.__esModule=!0,t.exports["default"]=t.exports},"8bbf":function(t,e){t.exports=Vue},9523:function(t,e,n){var i=n("a395");t.exports=function(t,e,n){return e=i(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},"97f7":function(t,e,n){"use strict";n.r(e);var i=n("54ef"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},a114:function(t,e,n){"use strict";n.r(e);var i=n("97f7");for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);var o=n("f0c5"),s=Object(o["a"])(i["default"],void 0,void 0,!1,null,null,null,!1,void 0,void 0);e["default"]=s.exports},a34a:function(t,e,n){var i=n("7037"),r=n("7ec2")();t.exports=r;try{regeneratorRuntime=r}catch(o){"object"===("undefined"===typeof globalThis?"undefined":i(globalThis))?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},a395:function(t,e,n){var i=n("7037")["default"],r=n("e50d");t.exports=function(t){var e=r(t,"string");return"symbol"===i(e)?e:String(e)},t.exports.__esModule=!0,t.exports["default"]=t.exports},a3fc:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{}},methods:{}}},b79f:function(t,e,n){"use strict";(function(t){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getCLodop=function(){return window.CLODOP2015_7028},e.getPrinterList=function(t){return s.apply(this,arguments)};var r=i(n("a34a")),o=i(n("c973"));function s(){return s=(0,o.default)(r.default.mark((function e(n){var i,o,s,a,l;return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n||(n=uni.getStorageSync("fl_ip")),e.prev=1,e.next=4,uni.request({url:"http://".concat(n,":8000/CLodopfuncs.js")});case 4:if(i=e.sent,!i[0]){e.next=7;break}return e.abrupt("return",[]);case 7:return o=i[1].data.match(/"list":(.+)/),s=o[1].substr(0,o[1].length-2),a=JSON.parse(s),l=[],a.forEach((function(t){l.push(t.name)})),e.abrupt("return",l);case 15:e.prev=15,e.t0=e["catch"](1),t("log",e.t0," at common/print/CLodopfuncs.js:1894");case 18:case"end":return e.stop()}}),e,null,[[1,15]])}))),s.apply(this,arguments)}window={location:{href:"http://127.0.0.1/print"}},function(e){var n=[],i={strWebPageID:"7BCAAAH",strTaskID:"",strHostURI:"http://localhost:8000",wsHostURI:"ws://localhost:8000/c_webskt/",VERSION:"6.5.7.2",IVERSION:"6572",CVERSION:"6.5.7.2",HTTPS_STATUS:2,VERSION_EXT:!0,iBaseTask:0,timeThreshold:5,Priority:0,blIslocal:!0,Iframes:[],ItemDatas:{},PageData:{},defStyleJson:{},PageDataEx:{},ItemCNameStyles:{},blWorking:!1,blNormalItemAdded:!1,blTmpSelectedIndex:null,Caption:null,Color:null,CompanyName:null,strBroadcastMS:null,Border:null,Inbrowse:null,webskt:null,SocketEnable:!1,SocketOpened:!1,NoClearAfterPrint:!1,On_Return_Remain:!1,On_Broadcast_Remain:!1,On_Return:null,Result:null,iTrySendTimes:0,OBO_Mode:1,blOneByone:!1,DelimChar:"\f\f",Printers:{default:"1",list:[]},altMessageWebSocketInvalid:"WebSocket\u6ca1\u51c6\u5907\u597d\uff0c\u70b9\u786e\u5b9a\u7ee7\u7eed...",altMessageNoReadWriteFile:"\u4e0d\u80fd\u8fdc\u7a0b\u8bfb\u5199\u6587\u4ef6!",altMessageNoReadFile:"\u4e0d\u80fd\u8fdc\u7a0b\u8bfb\u6587\u4ef6!",altMessageNoWriteFile:"\u4e0d\u80fd\u8fdc\u7a0b\u5199\u6587\u4ef6!",altMessageNoPrintDesign:"\u4e0d\u80fd\u8fdc\u7a0b\u6253\u5370\u8bbe\u8ba1!",altMessageNoPrintSetup:"\u4e0d\u80fd\u8fdc\u7a0b\u6253\u5370\u7ef4\u62a4!",altMessageSomeWindowExist:"\u6709\u7a97\u53e3\u5df2\u6253\u5f00\uff0c\u5148\u5173\u95ed\u5b83(\u6301\u7eed\u5982\u6b64\u65f6\u8bf7\u5237\u65b0\u9875\u9762)!",altMessageBusy:"\u4e0a\u4e00\u4e2a\u8bf7\u6c42\u6b63\u5fd9\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01",Browser:function(){navigator={userAgent:"Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Mobile Safari/537.36"};var t=navigator.userAgent,e="[object Opera]"==Object.prototype.toString.call(window.opera);return{IE:!!window.attachEvent&&!e,Opera:e,WebKit:t.indexOf("AppleWebKit/")>-1,Gecko:t.indexOf("Gecko")>-1&&-1===t.indexOf("KHTML"),MobileSafari:/Apple.*Mobile/.test(t)}}(),GetTaskID:function(){if(!this.strTaskID||""==this.strTaskID){var t=new Date;this.iBaseTask++,this.strTaskID=""+t.getHours()+t.getMinutes()+t.getSeconds()+"_"+this.iBaseTask}return this.strWebPageID+this.strTaskID},DoInit:function(){i.Printers.list=n,this.strTaskID="",this.NoClearAfterPrint||(this.ItemDatas={count:0},this.PageData={},this.ItemCNameStyles={},this.defStyleJson={beginpage:0,beginpagea:0},this.blNormalItemAdded=!1)},OpenWebSocket:function(e){window.On_CLodop_Opened&&i.Priority==window.CLODOP_OK_Priority&&setTimeout("window.On_CLodop_Opened(CLODOP)",1),window.WebSocket||window.MozWebSocket||window.On_CLodop_Opened&&i.Priority==window.CLODOP_OK_Priority&&setTimeout("window.On_CLodop_Opened(CLODOP)",1),t("log",this.webskt," at common/print/CLodopfuncs.js:123"),t("log",i.wsHostURI," at common/print/CLodopfuncs.js:124"),t("log",e," at common/print/CLodopfuncs.js:125");var n=uni.getStorageSync("fl_ip")||"192.168.1.56",r="ws://".concat(n,":8000/c_webskt/");this.SocketEnable=!0;try{this.webskt&&3!=this.webskt.readyState&&!e||(t("log","\u94fe\u63a5"," at common/print/CLodopfuncs.js:131"),!window.WebSocket&&window.MozWebSocket&&(window.WebSocket=window.MozWebSocket),this.webskt=uni.connectSocket({url:r,success:function(e){t("info",e," at common/print/CLodopfuncs.js:136"),t("log","\u94fe\u63a5\u6210\u529f"," at common/print/CLodopfuncs.js:137")},fail:function(e){t("info",e," at common/print/CLodopfuncs.js:140"),t("log","\u94fe\u63a5\u5931\u8d25"," at common/print/CLodopfuncs.js:141")},complete:function(e){t("info",e," at common/print/CLodopfuncs.js:144"),t("log","\u94fe\u63a5\u5b8c\u6210"," at common/print/CLodopfuncs.js:145")}}),t("log",this.webskt," at common/print/CLodopfuncs.js:148"),this.webskt.onOpen((function(t){i.SocketOpened=!0,window.On_CLodop_Opened&&i.Priority==window.CLODOP_OK_Priority&&setTimeout(window.On_CLodop_Opened(i),1e4)})),this.webskt.onMessage((function(e){t("log",e," at common/print/CLodopfuncs.js:156"),i.resultHandle(e.data)})),this.webskt.onClose((function(t){i.SocketOpened||(i.SocketEnable=!1)})),this.webskt.onError((function(e){t("info",e," at common/print/CLodopfuncs.js:167")})))}catch(o){this.webskt=null,o.message.indexOf("SecurityError")>-1?this.SocketEnable=!1:setTimeout((function(){i.OpenWebSocket()}),2e3)}},resultHandle:function(e){i.blOneByone=!1;var n=e;i.Result=n;try{var r=null,o=n.indexOf("=");if(o>=0&&o<30&&(r=n.slice(0,o),n=n.slice(o+1)),r.indexOf("ErrorMS")>-1)return void t("info",n," at common/print/CLodopfuncs.js:192");if(r.indexOf("BroadcastMS")>-1){if(i.strBroadcastMS=n,i.On_Broadcast){var s=i.On_Broadcast;i.On_Broadcast(n),i.On_Broadcast_Remain||s!==i.On_Broadcast||(i.On_Broadcast=null)}return}if(i.On_Return){s=i.On_Return;"true"==n.toLowerCase()||"false"==n.toLowerCase()?i.On_Return(r,"true"==n.toLowerCase()):i.On_Return(r,n),i.On_Return_Remain||s!==i.On_Return||(i.On_Return=null)}}catch(a){t("log",a," at common/print/CLodopfuncs.js:214")}},wsSend:function(e){if(t("log",this.webskt," at common/print/CLodopfuncs.js:219"),t("log",this.wsHostURI," at common/print/CLodopfuncs.js:220"),t("log",11," at common/print/CLodopfuncs.js:221"),this.webskt&&1==this.webskt.readyState)return this.Result=null,this.iTrySendTimes=0,this.webskt.send({data:e,success:function(e){t("info",e," at common/print/CLodopfuncs.js:228")},fail:function(e){t("info",e," at common/print/CLodopfuncs.js:231")}}),!0;this.iTrySendTimes++,t("log",this.iTrySendTimes," at common/print/CLodopfuncs.js:237"),this.iTrySendTimes<=1&&(this.OpenWebSocket(),setTimeout((function(){i.wsSend(e)}),1e3))},FORMAT:function(e,n){if(this.blWorking)return t("info",this.altMessageBusy," at common/print/CLodopfuncs.js:248"),null;var r=null;if(void 0!==e&&void 0!==n){if(0==e.replace(/^\s+|\s+$/g,"").toLowerCase().indexOf("time:")){e=e.replace(/^\s+|\s+$/g,"").slice(5),n.toLowerCase().indexOf("now")>-1&&(n=(new Date).toString()),n.toLowerCase().indexOf("date")>-1&&(n=(new Date).toString()),n.toLowerCase().indexOf("time")>-1&&(n=(new Date).toString());var o="ymd";n.toLowerCase().indexOf("ymd")>-1&&(o="ymd",n=n.slice(3)),n.toLowerCase().indexOf("dmy")>-1&&(o="dmy",n=n.slice(3)),n.toLowerCase().indexOf("mdy")>-1&&(o="mdy",n=n.slice(3)),n=n.replace(/ [^ ]*\+[^ ]* /g," "),n=n.replace(/\(.*\)/g," "),n=n.replace(/\u661f\u671f\u65e5|\u661f\u671f\u4e00|\u661f\u671f\u4e8c|\u661f\u671f\u4e09|\u661f\u671f\u56db|\u661f\u671f\u4e94|\u661f\u671f\u516d/g," "),n=n.replace(/[A-Za-z]+day|Mon|Tue|Wed|Thu|Fri|Sat|Sun/g," ");var s=0,a=new RegExp("Oct[A-Za-z]*|\u5341\u6708|10\u6708","i");null!==n.match(a)&&(s=10,n=n.replace(a,"")),a=new RegExp("Nov[A-Za-z]*|\u5341\u4e00\u6708|11\u6708","i"),null!==n.match(a)&&(s=11,n=n.replace(a,"")),a=new RegExp("Dec[A-Za-z]*|\u5341\u4e8c\u6708|12\u6708","i"),null!==n.match(a)&&(s=12,n=n.replace(a,"")),a=new RegExp("Jan[A-Za-z]*|\u4e00\u6708|01\u6708|1\u6708","i"),null!==n.match(a)&&(s=1,n=n.replace(a,"")),a=new RegExp("Feb[A-Za-z]*|\u4e8c\u6708|02\u6708|2\u6708","i"),null!==n.match(a)&&(s=2,n=n.replace(a,"")),a=new RegExp("Mar[A-Za-z]*|\u4e09\u6708|03\u6708|3\u6708","i"),null!==n.match(a)&&(s=3,n=n.replace(a,"")),a=new RegExp("Apr[A-Za-z]*|\u56db\u6708|04\u6708|4\u6708","i"),null!==n.match(a)&&(s=4,n=n.replace(a,"")),a=new RegExp("May[A-Za-z]*|\u4e94\u6708|05\u6708|5\u6708","i"),null!==n.match(a)&&(s=5,n=n.replace(a,"")),a=new RegExp("Jun[A-Za-z]*|\u516d\u6708|06\u6708|6\u6708","i"),null!==n.match(a)&&(s=6,n=n.replace(a,"")),a=new RegExp("Jul[A-Za-z]*|\u4e03\u6708|07\u6708|7\u6708","i"),null!==n.match(a)&&(s=7,n=n.replace(a,"")),a=new RegExp("Aug[A-Za-z]*|\u516b\u6708|08\u6708|8\u6708","i"),null!==n.match(a)&&(s=8,n=n.replace(a,"")),a=new RegExp("Sep[A-Za-z]*|\u4e5d\u6708|09\u6708|9\u6708","i"),null!==n.match(a)&&(s=9,n=n.replace(a,"")),n=n.replace(/\u65e5|\u79d2/g," "),n=n.replace(/\u65f6|\u5206/g,":");var l=n.match(/ \d+:\d+:\d+/);null==l&&(l=""),n=n.replace(/ \d+:\d+:\d+/,"")+l;var u=new Date,c=0,d=0,f=0,p=0,h=0,m=0,v=n,g="",_=0;MC2=0,MC3=0,g=v.match(/\d+/),null!==g&&(_=parseInt(g[0]),v=v.replace(/\d+/,"")),g=v.match(/\d+/),null!==g&&(MC2=parseInt(g[0]),v=v.replace(/\d+/,"")),s<=0&&(g=v.match(/\d+/),null!==g&&(MC3=parseInt(g[0]),v=v.replace(/\d+/,""))),s>0?(d=s,MC2<=31?(c=_,f=MC2):(c=MC2,f=_)):"dmy"==o?(f=_,d=MC2,c=MC3):"mdy"==o?(d=_,f=MC2,c=MC3):(c=_,d=MC2,f=MC3,MC3>31?(c=MC3,d=_,f=MC2,_>12&&(f=_,d=MC2)):MC2>12&&(c=MC2,d=_));g=v.match(/\d+/);null!==g&&(p=parseInt(g[0]),v=v.replace(/\d+/,""));g=v.match(/\d+/);null!==g&&(h=parseInt(g[0]),v=v.replace(/\d+/,""));g=v.match(/\d+/);if(null!==g&&(m=parseInt(g[0]),v=v.replace(/\d+/,"")),"isvalidformat"==e.toLowerCase())n=c>0&&d>0&&d<=12&&f>0&&f<=31;else{(""+c).length<4&&(c+=2e3),u.setFullYear(c,d-1,f),u.setHours(p),u.setMinutes(h),u.setSeconds(m);var y=u.getDay();if("weekindex"==e.toLowerCase())n=y;else if("floatvalue"==e.toLowerCase())n=u.getTime();else{var P="";switch(y){case 0:P="\u65e5";break;case 1:P="\u4e00";break;case 2:P="\u4e8c";break;case 3:P="\u4e09";break;case 4:P="\u56db";break;case 5:P="\u4e94";break;case 6:P="\u516d";break}if(n=e.replace(/dddd/gi,"\u661f\u671f"+P),/(y+)/i.test(n)&&(n=n.replace(RegExp.$1,(c+"").substr(4-RegExp.$1.length))),/(m+:)/i.test(n)&&(n=n.replace(RegExp.$1,("00"+h+":").substr(("00"+h+":").length-RegExp.$1.length))),/(M+)/i.test(n)){var b=(""+d).length>RegExp.$1.length?(""+d).length:RegExp.$1.length;n=n.replace(RegExp.$1,("00"+d).substr(("00"+d).length-b))}if(/(d+)/i.test(n)){b=(""+f).length>RegExp.$1.length?(""+f).length:RegExp.$1.length;n=n.replace(RegExp.$1,("00"+f).substr(("00"+f).length-b))}/(H+)/i.test(n)&&(n=n.replace(RegExp.$1,("00"+p).substr(("00"+p).length-RegExp.$1.length))),/(n+)/i.test(n)&&(n=n.replace(RegExp.$1,("00"+h).substr(("00"+h).length-RegExp.$1.length))),/(s+)/i.test(n)&&(n=n.replace(RegExp.$1,("00"+m).substr(("00"+m).length-RegExp.$1.length)))}}if(i.On_Return){var D=i.On_Return;i.On_Return(0,n),i.On_Return_Remain||D!==i.On_Return||(i.On_Return=null)}return n}this.blIslocal||e.indexOf("FILE:")<0?(this.PageData["format_type"]=e,this.PageData["format_value"]=n,1==this.DoPostDatas("format")&&(this.GetLastResult(!1),r=this.GetTaskID())):t("info",this.altMessageNoReadWriteFile," at common/print/CLodopfuncs.js:496")}return this.DoInit(),this.blWorking=!1,r},SET_PRINT_PAPER:function(t,e,n,i,r){return this.PRINT_INITA(t,e,n,i,r)},PRINT_INIT:function(t,e){return this.wsHostURI="ws://".concat(e,":8000/c_webskt/"),this.PRINT_INITA(null,null,null,null,t)},PRINT_INITA:function(t,e,n,i,r){return void 0!==t&&null!==t||(t=""),void 0!==e&&null!==e||(e=""),void 0!==n&&null!==n||(n=""),void 0!==i&&null!==i||(i=""),void 0!==r&&null!==r||(r=""),this.NoClearAfterPrint=!1,this.DoInit(),this.PageData["top"]=t,this.PageData["left"]=e,this.PageData["width"]=n,this.PageData["height"]=i,this.PageData["printtask"]=r,!0},SET_PRINT_MODE:function(t,e){if(void 0!==t&&null!==t||(t=""),void 0!==e&&null!==e||(e=""),""===t)return!1;if(t=t.toLowerCase(),this.PageData[t]=e,"noclear_after_print"==t&&(this.NoClearAfterPrint=e),t.indexOf("window_def")>-1||t.indexOf("control_printer")>-1){var n=null;return 1==this.DoPostDatas("onlysetprint")&&(this.GetLastResult(!1),n=this.GetTaskID()),this.DoInit(),this.blWorking=!1,n}},ADD_PRINT_TEXT:function(t,e,n,i,r){return this.AddItemArray(2,t,e,n,i,r)},ADD_PRINT_TEXTA:function(t,e,n,i,r,o){return this.AddItemArray(2,e,n,i,r,o,t)},ADD_PRINT_HTM:function(t,e,n,i,r){return this.AddItemArray(4,t,e,n,i,r)},ADD_PRINT_HTML:function(t,e,n,i,r){return this.AddItemArray(1,t,e,n,i,r)},ADD_PRINT_HTMLA:function(t,e,n,i,r,o){return this.AddItemArray(1,e,n,i,r,o,t)},ADD_PRINT_BARCODE:function(t,e,n,i,r,o){return this.AddItemArray(9,t,e,n,i,o,null,null,null,null,null,null,r)},ADD_PRINT_BARCODEA:function(t,e,n,i,r,o,s){return this.AddItemArray(9,e,n,i,r,s,t,null,null,null,null,null,o)},ADD_PRINT_RECTA:function(t,e,n,i,r,o,s){return this.AddItemArray(3,t,e,n,i,null,null,2,r,o,s,null)},ADD_PRINT_RECT:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,2,r,o,null,null)},ADD_PRINT_ELLIPSEA:function(t,e,n,i,r,o,s){return this.AddItemArray(3,t,e,n,i,null,null,3,r,o,s,null)},ADD_PRINT_ELLIPSE:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,3,r,o,null,null)},ADD_PRINT_SHAPE:function(t,e,n,i,r,o,s,a){return this.AddItemArray(3,e,n,i,r,null,null,t,o,s,a,null)},ADD_PRINT_LINE:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,0,r,o,null,"1")},ADD_PRINT_DNLINE:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,1,r,o,null,null)},ADD_PRINT_DNLINEA:function(t,e,n,i,r,o,s){return this.AddItemArray(3,t,e,n,i,null,null,1,r,o,s,null)},ADD_PRINT_UPLINE:function(t,e,n,i,r,o){return this.AddItemArray(3,t,e,n,i,null,null,0,r,o,null,null)},ADD_PRINT_UPLINEA:function(t,e,n,i,r,o,s){return this.AddItemArray(3,t,e,n,i,null,null,0,r,o,s,null)},ADD_PRINT_TABLE:function(t,e,n,i,r){return this.AddItemArray(6,t,e,n,i,r)},ADD_PRINT_PDF:function(t,e,n,i,r){if(this.blIslocal||":"!=r[1])return this.AddItemArray(11,t,e,n,i,r);alert("Unable to print or view remote service files")},ADD_PRINT_TBURL:function(t,e,n,i,r){return this.AddItemArray(7,t,e,n,i,r)},ADD_PRINT_URL:function(t,e,n,i,r){return this.AddItemArray(5,t,e,n,i,r)},ADD_PRINT_IMAGE:function(t,e,n,i,r){return this.AddItemArray(8,t,e,n,i,r)},ADD_PRINT_CHART:function(t,e,n,i,r,o){return this.AddItemArray(10,t,e,n,i,o,null,null,null,null,null,null,null,r)},SET_PRINT_PROPERTY:function(t,e,n,i){this.SET_PRINT_STYLEA(t,"ItemType",e),this.SET_PRINT_STYLEA(t,"HOrient",n),this.SET_PRINT_STYLEA(t,"VOrient",i)},SET_PRINT_PROPERTYA:function(t,e,n,i){this.SET_PRINT_PROPERTY(t,e,n,i)},SET_PRINT_STYLE:function(t,e){if(void 0!==t&&null!==t||(t=""),void 0!==e&&null!==e||(e=""),""===t)return!1;t=t.toLowerCase(),this.defStyleJson[t]=e},SET_PRINT_STYLEA:function(t,e,n){if(void 0!==t&&null!==t||(t=""),void 0!==e&&null!==e||(e=""),void 0!==n&&null!==n||(n=""),""===t||""===e)return!1;if(this.ItemDatas["count"]<=0)return void 0!==this.PageData["add_print_program_data"]&&(this.ItemCNameStyles[e.toLowerCase()+"-"+t]=n,!0);if(e=e.toLowerCase(),"type"==e)return!1;var i=!1;for(var r in 0==t&&(t=this.ItemDatas["count"]),this.ItemDatas){var o=this.ItemDatas[r]["itemname"];(t==r||t==o||"string"===typeof t&&"string"===typeof o&&t.toUpperCase()==o.toUpperCase())&&(this.ItemDatas[r][e]=n,i=!0)}return!!i},SET_PRINT_TEXT_STYLE:function(t,e,n,i,r,o,s){this.SET_PRINT_STYLEA(t,"fontname",e),this.SET_PRINT_STYLEA(t,"fontsize",n),this.SET_PRINT_STYLEA(t,"bold",i),this.SET_PRINT_STYLEA(t,"italic",r),this.SET_PRINT_STYLEA(t,"underline",o),this.SET_PRINT_STYLEA(t,"alignment",s)},SET_PRINT_TEXT_STYLEA:function(t,e,n,i,r,o,s,a){this.SET_PRINT_TEXT_STYLE(t,e,n,i,r,o,s),this.SET_PRINT_STYLEA(t,"fontcolor",a)},SET_PRINT_TEXT_STYLEB:function(t,e,n,i,r,o,s,a){this.SET_PRINT_TEXT_STYLEA(t,e,n,i,r,o,s,a)},NEWPAGE:function(){this.NewPage()},NewPage:function(){var t,e=!1;for(var n in this.ItemDatas){for(var i in t="count"!=n,this.ItemDatas[n])if("itemtype"==i&&(t=!1,0==this.ItemDatas[n][i]||4==this.ItemDatas[n][i])){e=!0;break}if(t&&(e=!0),e)break}e&&(this.defStyleJson["beginpage"]=this.defStyleJson["beginpage"]+1)},NEWPAGEA:function(){this.NewPageA()},NewPageA:function(){var t,e=!1;for(var n in this.ItemDatas){for(var i in t="count"!=n,this.ItemDatas[n])if("itemtype"==i&&(t=!1,0==this.ItemDatas[n][i]||4==this.ItemDatas[n][i])){e=!0;break}if(t&&(e=!0),e)break}e&&(this.defStyleJson["beginpagea"]=this.defStyleJson["beginpagea"]+1)},PREVIEW:function(e,n,i){if(this.blWorking)return t("info",this.altMessageBusy," at common/print/CLodopfuncs.js:725"),null;var r=null;return!e&&this.blIslocal?1==this.DoPostDatas("preview")&&(this.Result=null,this.GetLastResult(!0),r=this.GetTaskID()):1==this.DoPostDatas("cpreview")&&(this.DoCPreview(e,n,i),r=this.GetTaskID()),this.DoInit(),this.blWorking=!1,r},PRINT:function(e,n,i){if(this.blWorking)return t("info",this.altMessageBusy," at common/print/CLodopfuncs.js:747"),null;var r=null;return 1==this.DoPostDatas("print")&&(r=this.GetTaskID()),this.DoInit(),this.blWorking=!1,r},GET_PRINTER_COUNT:function(){return void 0===this.Printers?0:this.Printers["list"].length},GET_PRINTER_NAME:function(t){if(void 0===this.Printers)return"";if("string"==typeof t&&t.indexOf(":")>-1){var e=t.slice(t.indexOf(":")+1);return t=t.slice(0,t.indexOf(":")),-1==t?this.Printers["list"][this.Printers["default"]][e]:this.Printers["list"][t][e]}return-1==t?this.Printers["list"][this.Printers["default"]].name:t>=0&&t-1)return this.PageData["add_print_program_data"]=e,!0},SHOW_CHART:function(){},DO_ACTION:function(e,n){if(this.blWorking)return t("info",this.altMessageBusy," at common/print/CLodopfuncs.js:1224"),null;var i=null;return void 0!==e&&void 0!==n&&(this.PageData["do_action_name"]=e,this.PageData["do_action_value"]=n,1==this.DoPostDatas("doaction")&&(this.GetLastResult(!1),i=this.GetTaskID())),this.DoInit(),this.blWorking=!1,i},Create_Printer_List:function(t,e){while(t.childNodes.length>0)for(var n=t.childNodes,i=0;i0)if(e)s.innerHTML=s.innerHTML+",..";else for(var a=s.innerHTML,l=0;l=100)return}}},Create_PageSize_List:function(t,e){while(t.childNodes.length>0)for(var n=t.childNodes,r=0;r-1?m["content"]=o.replace(new RegExp(this.DelimChar,"g"),""):m["content"]=o),void 0!==s&&null!=s&&(m["itemname"]=s+""),void 0!==a&&null!=a&&(m["shapetype"]=a),void 0!==l&&null!=l&&(m["penstyle"]=l),void 0!==u&&null!=u&&(m["penwidth"]=u),void 0!==c&&null!=c&&(m["fontcolor"]=c),void 0!==d&&null!=d&&(m["lineposition"]="1"),void 0!==f&&null!=f&&(m["fontname"]=f),void 0!==p&&null!=p&&(m["charttypess"]=p),m["beginpage"]=this.defStyleJson["beginpage"],m["beginpagea"]=this.defStyleJson["beginpagea"],this.ItemDatas["count"]=h,this.ItemDatas[h]=m,this.blNormalItemAdded=!0,!0},RemoveIframes:function(){try{for(var t=0;t6e4*this.timeThreshold&&this.Iframes.splice(t,1)}}catch(n){}},AddInputElement:function(t,e,n,i){if(void 0!==i){var r=t.createElement("input");r.name=n,r.type="hidden",r.value=i,e.appendChild(r)}},createPostDataString:function(t){var e="act="+t+this.DelimChar;for(var n in e=e+"browseurl="+window.location.href+this.DelimChar,this.PageDataEx)e=e+n+"="+this.PageDataEx[n]+this.DelimChar;var i="";for(var n in this.PageData)e=e+n+"="+this.PageData[n]+this.DelimChar,"top"!=n&&"left"!=n&&"width"!=n&&"height"!=n&&"printtask"!=n&&"printerindex"!=n&&"printerindexa"!=n&&"printersubid"!=n&&"orient"!=n&&"pagewidth"!=n&&"pageheight"!=n&&"pagename"!=n&&"printcopies"!=n&&"setup_bkimg"!=n&&(i=i+";"+n);""!==i&&(e=e+"printmodenames="+i+this.DelimChar);var r="";for(var o in this.ItemCNameStyles)e=e+o+"="+this.ItemCNameStyles[o]+this.DelimChar,r=r+";"+o;for(var s in""!==r&&(e=e+"printstyleclassnames="+r+this.DelimChar),e=e+"itemcount="+this.ItemDatas["count"]+this.DelimChar,this.ItemDatas){var a="";for(var l in this.ItemDatas[s])"beginpage"!=l&&"beginpagea"!=l&&"type"!=l&&"top"!=l&&"left"!=l&&"width"!=l&&"height"!=l&&(a=a+";"+l);for(var l in e=e+s+"_itemstylenames="+a+this.DelimChar,this.ItemDatas[s])e=e+s+"_"+l+"="+this.ItemDatas[s][l]+this.DelimChar}return e},wsDoPostDatas:function(t){var e="charset=\u4e02"+this.DelimChar;return e=e+"tid="+this.GetTaskID()+this.DelimChar,e+=this.createPostDataString(t),this.wsSend("post:"+e)},DoPostDatas:function(e){return this.OBO_Mode&&this.blOneByone?(t("info",this.altMessageSomeWindowExist," at common/print/CLodopfuncs.js:1487"),!1):(this.blWorking=!0,null!==this.blTmpSelectedIndex&&this.SET_PRINTER_INDEX(this.blTmpSelectedIndex),this.SocketEnable,this.wsDoPostDatas(e))},GetLastResult:function(t){if(t&&(this.blOneByone=!0),this.SocketEnable)return!0;var e=this.strHostURI+"/c_lastresult.js";e=e+"?times="+(new Date).getTime(),e=e+"&tid="+this.GetTaskID(),e=encodeURI(e).replace("%20","+");var n=document.createElement("script");n.src=e,n.async=!1,n.type="text/javascript",n.charset="utf-8";var r=document.head||document.getElementsByTagName("head")[0]||document.documentElement;return r.insertBefore(n,r.firstChild),n.onload=n.onreadystatechange=function(){if(!n.readyState||/loaded|complete/.test(n.readyState)){if(i.blOneByone=!1,CLodop_ACTLastResult)var t=decodeURIComponent(CLodop_ACTLastResult);var e=CLodop_ACTTaskID;if(i.Result=t,CLodop_ACTAlert&&CLodop_ACTconsole.info(),i.On_Return)try{var r=i.On_Return;"true"==t||"false"==t?i.On_Return(e,"true"==t):i.On_Return(e,t),i.On_Return_Remain||r!==i.On_Return||(i.On_Return=null)}catch(o){}n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n)}},!0},DoCPreview:function(t,e,n){var i=document.body||document.getElementsByTagName("body")[0]||document.documentElement;"number"!==typeof e?e=Math.round(2*i.offsetWidth/3):i.offsetWidth0)if("_dialog"===e)window.showModalDialog?window.showModalDialog(n,"dialog","center:yes"):window.open(n,"","scrollbars=yes,toolbar=no,left=150,top=100,resizable=yes");else if("_self"===e||"_top"===e||"_parent"===e)window.location.href=n;else if("_blank"===e)this.PreviewBox.create(n,i,r);else if(e.indexOf("_winopen:")>-1){var o=e.slice(e.indexOf("_winopen:")+9);o.indexOf("_blank")>-1?window.open(n,"_blank",o.slice(o.indexOf("_blank")+6)):window.open(n,"",o)}else document.getElementById(e)?document.getElementById(e).src=n:t("info","iframe '"+e+"' not exist!"," at common/print/CLodopfuncs.js:1603");else this.PreviewBox.create(n,i,r)}catch(s){t("info","CLODOP PopView "+s," at common/print/CLodopfuncs.js:1606")}},creatMyButtonElement:function(t,e){try{var n=document.createElement("")}catch(i){}return n||(n=document.createElement("input"),n.type=t,n.value=e),n},creatLabelElement:function(t,e,n,i,r){var o=document.createElement(t);return o.innerHTML=e,o.style.cssText="position:absolute;width:"+n+"px;left:"+i+"px;top:"+r+"px;",o},SelectBox:{dragapproved:!1,offsetx:0,offsety:0,tempx:0,tempy:0,FrantDiv:void 0,PopDiv:void 0,selPrinter:void 0,selCopies:void 0,closeit:function(){i.SelectBox.PopDiv&&i.SelectBox.PopDiv.parentNode&&i.SelectBox.PopDiv.parentNode.removeChild(i.SelectBox.PopDiv),this.FrantDiv&&this.FrantDiv.parentNode&&this.FrantDiv.parentNode.removeChild(this.FrantDiv),this.PopDiv=void 0},initializedrag:function(t){var e=window.event||t;this.offsetx=e.clientX,this.offsety=e.clientY,this.tempx=parseInt(this.PopDiv.style.left),this.tempy=parseInt(this.PopDiv.style.top),this.dragapproved=!0},drag_drop:function(t){if(this.dragapproved){var e=window.event||t;this.PopDiv.style.left=e.clientX-this.offsetx+this.tempx+"px",this.PopDiv.style.top=e.clientY-this.offsety+this.tempy+"px"}},stopdrag:function(){this.dragapproved=!1},clickOK:function(t){i.PRINTAOK(i.SelectBox.selPrinter.value,i.SelectBox.selCopies.value,0,0,t),this.closeit()},create:function(t,e,n){i.SelectBox.PopDiv&&this.closeit();var r=document.body||document.getElementsByTagName("body")[0]||document.documentElement,o=document.createElement("div");r.appendChild(o),o.style.cssText="position:absolute;z-index:91100;display:block;top:2px;border:1px solid #6B97C1;background:#F5F5F5;color:#000;font-size:13px;",o.style.width=t+"px",o.style.left=Math.max((r.offsetWidth-t)/2,0)+"px",o.style.top=Math.max((r.offsetHeight-e)/2,0)+"px",o.style.height=e+"px",this.PopDiv=o;var s=document.createElement("div");o.appendChild(s),s.style.cssText="font: bold 13px Arial;line-height:25px;height:27px;text-indent:5px;color: white;background:#8BACCF",s.innerHTML="      \u6253\u5370",s.onmousedown=function(t){i.SelectBox.initializedrag(t)},s.onmousemove=function(t){i.SelectBox.drag_drop(t)},s.onmouseup=function(){i.SelectBox.stopdrag()};var a=document.createElement("button");s.appendChild(a),a.style.cssText="background:transparent url("+i.strHostURI+"/c_favicon.ico) no-repeat scroll 0 0px;margin-left:5px;position:absolute;height:20px;line-height:100px;width:34px;left:3px;border:0;top:5px";var l=document.createElement("button");s.appendChild(l),l.style.cssText="background:transparent url("+i.strHostURI+"/images/c_winclose.png) no-repeat scroll 0 0px;margin-right:5px;position:absolute;height:20px;line-height:100px;width:34px;right:3px;border:0;top:4px",l.onclick=function(){if(i.SelectBox.closeit(),n&&i.On_Return){var t=i.On_Return;i.On_Return(0,-1),i.On_Return_Remain||t!==i.On_Return||(i.On_Return=null)}};var u=document.createElement("div");o.appendChild(u),u.style.cssText="background:#F5F5F5;color:#000;border:0px;left:0px;top:0px;",u.style.width=t-2+"px",u.style.height=e-27+"px";var c=i.creatMyButtonElement("button","\u786e\u5b9a");o.appendChild(c),c.style.cssText="position:absolute;width:80px;height:23px;",c.style.left="110px",c.style.top=e-64+"px",c.onclick=function(){i.SelectBox.clickOK(n)};var d=i.creatMyButtonElement("button","\u53d6\u6d88");o.appendChild(d),d.style.cssText="position:absolute;width:80px;;height:23px;",d.style.left="240px",d.style.top=e-64+"px",d.onclick=function(){if(i.SelectBox.closeit(),n&&i.On_Return){var t=i.On_Return;i.On_Return(0,-1),i.On_Return_Remain||t!==i.On_Return||(i.On_Return=null)}},u.appendChild(i.creatLabelElement("span","\u9009\u6253\u5370\u673a\uff1a",200,46,67));var f=document.createElement("select");o.appendChild(f),this.selPrinter=f,f.style.cssText="position:absolute;size:1;width:212px;left:110px;top:62px;",i.Create_Printer_List(f),u.appendChild(i.creatLabelElement("span","\u6253\u5370\u4efd\u6570\uff1a",200,46,121));var p=i.creatMyButtonElement("text","1");o.appendChild(p),this.selCopies=p,p.style.cssText="position:absolute;size:1;width:30px;left:110px;top:117px;",this.FrantDiv=document.createElement("div"),r.appendChild(this.FrantDiv),this.FrantDiv.style.cssText="border:0px;left:0px;top:0px;filter: alpha(opacity=20); position: fixed; opacity: 0.2;-moz-opacity: 0.2; _position: absolute;z-index:91009; over-flow: hidden;",i.Browser.IE&&("BackCompat"==document.compatMode||navigator.userAgent.indexOf("MSIE 6.0")>0)?(this.FrantDiv.style.width=r.scrollWidth+"px",this.FrantDiv.style.height=r.scrollHeight+"px"):(this.FrantDiv.style.width="100%",this.FrantDiv.style.height="100%")}},PreviewBox:{dragapproved:!1,offsetx:0,offsety:0,tempx:0,tempy:0,FrantDiv:void 0,PopDiv:void 0,ContentFrame:void 0,closeit:function(t){i.PreviewBox.PopDiv&&i.PreviewBox.PopDiv.parentNode&&i.PreviewBox.PopDiv.parentNode.removeChild(i.PreviewBox.PopDiv),this.FrantDiv&&this.FrantDiv.parentNode&&this.FrantDiv.parentNode.removeChild(this.FrantDiv),this.PopDiv=void 0},initializedrag:function(t,e){var n=window.event||t;this.offsetx=n.clientX,this.offsety=n.clientY,this.tempx=parseInt(e.style.left),this.tempy=parseInt(e.style.top),this.dragapproved=!0},drag_drop:function(t,e){if(this.dragapproved){var n=window.event||t;e.style.left=n.clientX-this.offsetx+this.tempx+"px",e.style.top=n.clientY-this.offsety+this.tempy+"px"}},stopdrag:function(){this.dragapproved=!1,this.ContentFrame&&(this.ContentFrame.style.display="block")},create:function(t,e,n){i.PreviewBox.PopDiv&&this.closeit();var r=document.body||document.getElementsByTagName("body")[0]||document.documentElement,o=document.createElement("div");r.appendChild(o),o.style.cssText="position:absolute;z-index:91100;display:block;top:2px;border:1px solid #6B97C1;font-size:13px;",o.style.width=e+"px";var s=(r.offsetWidth-e)/2;window.screen.width0)?(this.FrantDiv.style.width=r.scrollWidth+"px",this.FrantDiv.style.height=r.scrollHeight+"px"):(this.FrantDiv.style.width="100%",this.FrantDiv.style.height="100%")}}};if(e.CLODOP2015_7028&&e.CLODOP2015_7028.Priority&&e.CLODOP2015_7028.Priority>i.Priority)return i=e.CLODOP2015_7028,void(e.CLODOP_OK_Priority=e.CLODOP2015_7028.Priority);e.LODOP=i,e.CLODOP=i,e.CLODOP2015_7028=i,e.CLODOP_OK_Priority=i.Priority,navigator.userAgent.indexOf("Lodop")<0&&e.CLODOP.OpenWebSocket()}(window)}).call(this,n("0de9")["default"])},b8ec:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","content"),attrs:{_i:0}},[this._v(this._$s(0,"t0-0",this._s(this.scanCode)))])},r=[]},c312:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("view")},r=[]},c973:function(t,e){function n(t,e,n,i,r,o,s){try{var a=t[o](s),l=a.value}catch(u){return void n(u)}a.done?e(l):Promise.resolve(l).then(i,r)}t.exports=function(t){return function(){var e=this,i=arguments;return new Promise((function(r,o){var s=t.apply(e,i);function a(t){n(s,r,o,a,l,"next",t)}function l(t){n(s,r,o,a,l,"throw",t)}a(void 0)}))}},t.exports.__esModule=!0,t.exports["default"]=t.exports},caaa:function(t,e,n){"use strict";var i=n("4ea4"),r=i(n("9523")),o=i(n("7037"));n("5758");var s=i(n("a114")),a=i(n("8bbf")),l=n("7870");function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}a.default.prototype.$broadcastScan=l.broadcastScan,a.default.config.productionTip=!1,s.default.mpType="app";try{uni.addInterceptor({returnValue:function(t){return function(t){return!!t&&("object"===(0,o.default)(t)||"function"===typeof t)&&"function"===typeof t.then}(t)?new Promise((function(e,n){t.then((function(t){t[0]?n(t[0]):e(t[1])}))})):t}})}catch(d){}var c=new a.default(function(t){for(var e=1;en.parts.length&&(r.parts.length=n.parts.length)}else{var o=[];for(i=0;in.parts.length&&(r.parts.length=n.parts.length)}else{var o=[];for(i=0;i