SmartStorage/unpackage/dist/build/app-plus/app-service.js

11 lines
734 KiB
JavaScript
Raw Normal View History

2023-12-24 02:19:29 +08:00
(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{"0025":function(e,t,n){"use strict";n.r(t);var a=n("b960"),i=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(r);t["default"]=i.a},"01f0":function(e,t,n){"use strict";n.r(t);var a=n("311e"),i=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(r);t["default"]=i.a},"02ce":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return a}));var a={uniEasyinput:n("fb8b").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",[n("view",{staticClass:e._$s(1,"sc","upper-search"),attrs:{_i:1}},[n("h4"),n("uni-easyinput",{attrs:{prefixIcon:"search",placeholder:"\u641c\u7d22",_i:3},on:{iconClick:e.iconClick},model:{value:e._$s(3,"v-model",e.iptVal),callback:function(t){e.iptVal=t},expression:"iptVal"}})],1),n("h4",{staticClass:e._$s(4,"sc","tit"),attrs:{_i:4}}),n("view",{staticClass:e._$s(5,"sc","secs"),attrs:{_i:5}},[n("view",{attrs:{_i:6},on:{click:function(t){return e.jumpUrl("fetchMaterial")}}},[n("image",{attrs:{_i:7}}),n("span")]),n("view",{attrs:{_i:9},on:{click:function(t){return e.jumpUrl("exitMaterial")}}},[n("image",{attrs:{_i:10}}),n("span")])]),n("h4",{staticClass:e._$s(12,"sc","tit"),attrs:{_i:12}}),n("view",{staticClass:e._$s(13,"sc","secs"),attrs:{_i:13}},[n("view",{attrs:{_i:14},on:{click:function(t){return e.jumpUrl("fetchExam")}}},[n("image",{attrs:{_i:15}}),n("span")]),n("view",{attrs:{_i:17},on:{click:function(t){return e.jumpUrl("exitExam")}}},[n("image",{attrs:{_i:18}}),n("span")]),n("view",{attrs:{_i:20},on:{click:function(t){return e.jumpUrl("newInStore")}}},[n("image",{attrs:{_i:21}}),n("span")]),n("view",{attrs:{_i:23},on:{click:function(t){return e.jumpUrl("backMaterialInStore")}}},[n("image",{attrs:{_i:24}}),n("span")]),n("view",{attrs:{_i:26},on:{click:function(t){return e.jumpUrl("repairTestInStore")}}},[n("image",{attrs:{_i:27}}),n("span")]),n("view",{attrs:{_i:29},on:{click:function(t){return e.jumpUrl("fetchMaterialOutStore")}}},[n("image",{attrs:{_i:30}}),n("span")]),n("view",{attrs:{_i:32},on:{click:function(t){return e.jumpUrl("backMaterialReceive")}}},[n("image",{attrs:{_i:33}}),n("span")]),n("view",{attrs:{_i:35},on:{click:function(t){return e.jumpUrl("fix")}}},[n("image",{attrs:{_i:36}}),n("span")]),n("view",{attrs:{_i:38},on:{click:function(t){return e.jumpUrl("crashExam")}}},[n("image",{attrs:{_i:39}}),n("span")]),n("view",{attrs:{_i:41},on:{click:function(t){return e.jumpUrl("testExam")}}},[n("image",{attrs:{_i:42}}),n("span")])])])},r=[]},"03a2":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={appid:"__UNI__9D122E1"}},"03cc":function(e,t,n){"use strict";n.r(t);var a=n("69eb"),i=n("b703");for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);var s=n("f0c5"),o=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);t["default"]=o.exports},"0430":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={countDown:{time:0,format:"HH:mm:ss",autoStart:!0,millisecond:!1}}},"044b":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n("2055");var a={data:function(){return{allChecked:!1,examFormData:{ifPass:"",noPassReason:""},ifPassRange:[{text:"\u662f",value:"0"},{text:"\u5426",value:"1"}],rules:{ifPass:{rules:[{required:!0,errorMessage:"\u8bf7\u9009\u62e9\u662f\u5426\u901a\u8fc7\uff01"}]}},fetchMaterialList:[],examList:[]}},methods:{seeDetail:function(e,t){"\u7ef4\u4fee\u5b8c\u6210"==e?uni.showToast({icon:"none",title:"\u7ef4\u4fee\u5df2\u5b8c\u6210\uff01"}):uni.navigateTo({url:"/pages/fixDetail/fixDetail?id=".concat(t)})},checkAll:function(){this.allChecked=!this.allChecked,this.allChecked?this.fetchMaterialList.map((function(e){0==e.checked&&(e.checked=!0)})):this.fetchMaterialList.map((function(e){1==e.checked&&(e.checked=!1
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=i=function(){return t},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t={},n=Object.prototype,r=n.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(A){f=function(e,t,n){return e[t]=n}}function d(e,t,n,a){var i=t&&t.prototype instanceof m?t:m,r=Object.create(i.prototype),o=new $(a||[]);return s(r,"_invoke",{value:S(e,n,o)}),r}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(A){return{type:"throw",arg:A}}}t.wrap=d;var p={};function m(){}function v(){}function g(){}var _={};f(_,u,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(T([])));b&&b!==n&&r.call(b,u)&&(_=b);var w=g.prototype=m.prototype=Object.create(_);function x(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){var n;s(this,"_invoke",{value:function(i,s){function o(){return new t((function(n,o){(function n(i,s,o,u){var c=h(e[i],e,s);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==a(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,o,u)}),(function(e){n("throw",e,o,u)})):t.resolve(f).then((function(e){l.value=e,o(l)}),(function(e){return n("throw",e,o,u)}))}u(c.arg)})(i,s,n,o)}))}return n=n?n.then(o,o):o()}})}function S(e,t,n){var a="suspendedStart";return function(i,r){if("executing"===a)throw new Error("Generator is already running");if("completed"===a){if("throw"===i)throw r;return I()}for(n.method=i,n.arg=r;;){var s=n.delegate;if(s){var o=C(s,n);if(o){if(o===p)continue;return o}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===a)throw a="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a="executing";var u=h(e,t,n);if("normal"===u.type){if(a=n.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a="completed",n.method="throw",n.arg=u.arg)}}}function C(e,t){var n=t.method,a=e.iterator[n];if(void 0===a)return t.delegate=null,"throw"===n&&e.iterator["return"]&&(t.method="return",t.arg=void 0,C(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var i=h(a,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,p;var r=i.arg;return r?r.done?(t[e.resultName]=r.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):r:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function $(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function T(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:I}}function I(){return{value:void 0,done:!0}}return v.prototype=g,s(w,"constructor",{value:g,configurable:!0}),s(g,"constructor",{value:v,configurable:!0}),v.displayName=f(g,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,f(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},x(k.prototype),f(k.prototype,c,(f
2023-12-20 15:15:23 +08:00
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
2023-12-24 02:19:29 +08:00
t.read=function(e,t,n,a,i){var r,s,o=8*i-a-1,u=(1<<o)-1,c=u>>1,l=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,r=h&(1<<-l)-1,h>>=-l,l+=o;l>0;r=256*r+e[t+f],f+=d,l-=8);for(s=r&(1<<-l)-1,r>>=-l,l+=a;l>0;s=256*s+e[t+f],f+=d,l-=8);if(0===r)r=1-c;else{if(r===u)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,a),r-=c}return(h?-1:1)*s*Math.pow(2,r-a)},t.write=function(e,t,n,a,i,r){var s,o,u,c=8*r-i-1,l=(1<<c)-1,f=l>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=a?0:r-1,p=a?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),t+=s+f>=1?d/u:d*Math.pow(2,1-f),t*u>=2&&(s++,u/=2),s+f>=l?(o=0,s=l):s+f>=1?(o=(t*u-1)*Math.pow(2,i),s+=f):(o=t*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;e[n+h]=255&o,h+=p,o/=256,i-=8);for(s=s<<i|o,c+=i;c>0;e[n+h]=255&s,h+=p,s/=256,c-=8);e[n+h-p]|=128*m}},9205:function(e,t,n){"use strict";n.r(t);var a=n("30e4"),i=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(r);t["default"]=i.a},9250:function(e,t,n){"use strict";n.r(t);var a=n("991a"),i=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(r);t["default"]=i.a},"92be":function(e,t,n){"use strict";n.r(t);var a=n("e1ea"),i=n("5b61");for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);var s=n("f0c5"),o=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);t["default"]=o.exports},9332:function(e,t,n){"use strict";n.r(t);var a=n("7f4c"),i=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(r);t["default"]=i.a},9344:function(e,t,n){"use strict";var a=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e&&!(0,i.default)(t))return(0,r.default)(e,t);return t};var i=a(n("90c4")),r=a(n("f943"))},9371:function(e,t,n){"use strict";n.r(t);var a=n("70b3"),i=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(r);t["default"]=i.a},"93f5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={data:function(){return{}},methods:{}}},9523:function(e,t,n){var a=n("a395");e.exports=function(e,t,n){return t=a(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports["default"]=e.exports},9526:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rate:{value:1,count:5,disabled:!1,size:18,inactiveColor:"#b2b2b2",activeColor:"#FA3534",gutter:4,minCount:1,allowHalf:!1,activeIcon:"star-fill",inactiveIcon:"star",touchable:!0}}},"95a8":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return a}));var a={uTransition:n("a54a").default,uLoadingIcon:n("b03e").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("u-transition",{attrs:{show:e.loading,"custom-style":{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:e.bgColor,display:"flex"},_i:0}},[n("view",{staticClass:e._$s(1,"sc","u-loading-page"),attrs:{_i:1}},[n("view",{staticClass:e._$s(2,"sc","u-loading-page__warpper"),attrs:{_i:2}},[n("view",{staticClass:e._$s(3,"sc","u-loading-page__warpper__loading-icon"),attrs:{_i:3}},[e._$s(4,"i",e.image)?n("image",{staticClass:e._$s(4,"sc","u-loading-page__warpper__loading-icon__img"),style:e._$s(4,"s",{width:e.$u.addUnit(e.iconSize),height:e.$u.addUnit(e.iconSize)}),attrs:{src:e._$s(4,"a-src",e.image),_i:4}}):n("u-loading-icon",{attrs:{mode:e.loadingMode,size:e.$u.addUnit(e.iconSize),color:e.loadingColor,_i:5}})],1),e._t("default",[n("text",{staticClass:e._$s(7,"sc","u-loading-page__warpper__text"),style:e._$s(7,"s",{fontSize:e.$u.addUnit(e.fontSize),color:e.color}),attrs:{_i:7}},[e._v(e._$s(7,"t0-0",e._s(e.loadingText)))])],{_i:6})],2)])])},r=[]},9605:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={li
2023-12-20 15:15:23 +08:00
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/
2023-12-24 02:19:29 +08:00
var a=n("1fb5"),i=n("9152"),r=n("e3db");function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=u.prototype):(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,n){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(e,t,n);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return c(this,e,t,n)}function c(e,t,n,a){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,a){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(a||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===a?new Uint8Array(t):void 0===a?new Uint8Array(t,n):new Uint8Array(t,n,a);u.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=u.prototype):e=d(e,t);return e}(e,t,n,a):"string"===typeof t?function(e,t,n){"string"===typeof n&&""!==n||(n="utf8");if(!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var a=0|p(t,n);e=o(e,a);var i=e.write(t,n);i!==a&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(u.isBuffer(t)){var n=0|h(t.length);return e=o(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||function(e){return e!==e}(t.length)?o(e,0):d(e,t);if("Buffer"===t.type&&r(t.data))return d(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function l(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t){if(l(t),e=o(e,t<0?0:0|h(t)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function d(e,t){var n=t.length<0?0:0|h(t.length);e=o(e,n);for(var a=0;a<n;a+=1)e[a]=255&t[a];return e}function h(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function p(e,t){if(u.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var a=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return B(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return U(e).length;default:if(a)return B(e).length;t=(""+t).toLowerCase(),a=!0}}function m(e,t,n){var a=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return T(this,t,n);case"utf8":case"utf-8":return P(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return $(this,t,n);case"base64":return C(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,n);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function v(e,t,n){var a=e[t];e[t]=e[n],e[n]=a}function g(e,t,n,a,i){if(0===e.length)return-1;if("string"===typeof n?(a=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=u.from(t,a)),u.isBuffer(t))return 0===t.length?-1:_(e,t,n,a,i);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):_(e,[t],n,a,i);throw new TypeError("val must be string, number or Buffer")}function _(e,t,n,a,i){var r,s=1,o=e.length,u=t.length;if