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

11 lines
972 KiB
JavaScript
Raw Normal View History

2024-08-16 15:25:30 +08:00
(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{0:function(e,t){},"00af":function(e,t,a){"use strict";a.r(t);var n=a("3860"),i=a("d830");for(var r in i)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(r);var s=a("828b"),o=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);t["default"]=o.exports},"00e1":function(e,t,a){"use strict";a.r(t);var n=a("0379"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(r);t["default"]=i.a},"011a":function(e,t){function a(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(e.exports=a=function(){return!!t},e.exports.__esModule=!0,e.exports["default"]=e.exports)()}e.exports=a,e.exports.__esModule=!0,e.exports["default"]=e.exports},"0181":function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return r})),a.d(t,"a",(function(){return n}));var n={uniEasyinput:a("5275").default},i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("view",[a("view",{staticClass:e._$s(1,"sc","form-area"),attrs:{_i:1}},[a("view",[a("h4"),a("span",[e._v(e._$s(4,"t0-0",e._s(e.upperInfo.typeName)))])]),a("view",[a("h4"),a("span",[e._v(e._$s(7,"t0-0",e._s(e.upperInfo.typeCode)))])]),a("view",[a("h4"),a("span",[e._v(e._$s(10,"t0-0",e._s(e.upperInfo.num)))])]),a("view",[a("h4"),a("uni-easyinput",{attrs:{type:"number",placeholder:"\u8bf7\u8f93\u5165\u6570\u91cf",_i:13},model:{value:e._$s(13,"v-model",e.lowerIpt.passedNum),callback:function(t){e.$set(e.lowerIpt,"passedNum",t)},expression:"lowerIpt.passedNum"}})],1),a("view",[a("h4"),a("uni-easyinput",{attrs:{type:"number",placeholder:"\u8bf7\u8f93\u5165\u6570\u91cf",_i:16},model:{value:e._$s(16,"v-model",e.lowerIpt.waitRepairNum),callback:function(t){e.$set(e.lowerIpt,"waitRepairNum",t)},expression:"lowerIpt.waitRepairNum"}})],1),a("view",[a("h4"),a("uni-easyinput",{attrs:{type:"number",placeholder:"\u8bf7\u8f93\u5165\u6570\u91cf",_i:19},model:{value:e._$s(19,"v-model",e.lowerIpt.waitCrashNum),callback:function(t){e.$set(e.lowerIpt,"waitCrashNum",t)},expression:"lowerIpt.waitCrashNum"}})],1)]),a("view",{staticClass:e._$s(20,"sc","sub-btn"),attrs:{_i:20},on:{click:e.subForm}})])},r=[]},"0199":function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){}));var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("view",e._l(e._$s(1,"f",{forItems:e.detailList}),(function(t,n,i,r){return a("view",{key:e._$s(1,"f",{forIndex:i,key:n}),staticClass:e._$s("1-"+r,"sc","single-detail"),attrs:{_i:"1-"+r}},[a("view",[a("h4"),a("span",[e._v(e._$s("4-"+r,"t0-0",e._s(n+1)))])]),a("view",[a("h4"),a("span",[e._v(e._$s("7-"+r,"t0-0",e._s(t.typeName)))])]),a("view",[a("h4"),a("span",[e._v(e._$s("10-"+r,"t0-0",e._s(t.typeCode)))])]),a("view",[a("h4"),a("span",[e._v(e._$s("13-"+r,"t0-0",e._s(t.backNum)))])]),a("view",[a("h4"),a("span",[e._v(e._$s("16-"+r,"t0-0",e._s(t.maCode)))])]),a("view",[a("h4"),a("span",[e._v(e._$s("19-"+r,"t0-0",e._s(t.backTime)))])]),a("view",[a("h4"),a("span",[e._v(e._$s("22-"+r,"t0-0",e._s(t.backStatus)))])])])})),0)},i=[]},"0379":function(e,t,a){"use strict";var n=a("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a("3b57")),r={name:"u-loading-page",mixins:[uni.$u.mpMixin,uni.$u.mixin,i.default],data:function(){return{}},methods:{}};t.default=r},"048b":function(e,t,a){"use strict";a.r(t);var n=a("ef3e"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(r);t["default"]=i.a},"0528":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={checkbox:{name:"",shape:"",size:"",checkbox:!1,disabled:"",activeColor:"",inactiveColor:"",iconSize:"",iconColor:"",label:"",labelSize:"",labelColor:"",labelDisabled:""}}},"056f":function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return r})),a.d(t,"a",(function(){return n}));var n=
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
*/
2024-08-16 15:25:30 +08:00
var n=a("10ab"),i=a("ba37"),r=a("b0e4");function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=c.prototype):(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,a){if(!c.TYPED_ARRAY_SUPPORT&&!(this instanceof c))return new c(e,t,a);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 u(this,e,t,a)}function u(e,t,a,n){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,a,n){if(t.byteLength,a<0||t.byteLength<a)throw new RangeError("'offset' is out of bounds");if(t.byteLength<a+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===a&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,a):new Uint8Array(t,a,n);c.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=c.prototype):e=d(e,t);return e}(e,t,a,n):"string"===typeof t?function(e,t,a){"string"===typeof a&&""!==a||(a="utf8");if(!c.isEncoding(a))throw new TypeError('"encoding" must be a valid string encoding');var n=0|p(t,a);e=o(e,n);var i=e.write(t,a);i!==n&&(e=e.slice(0,i));return e}(e,t,a):function(e,t){if(c.isBuffer(t)){var a=0|h(t.length);return e=o(e,a),0===e.length?e:(t.copy(e,0,0,a),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)),!c.TYPED_ARRAY_SUPPORT)for(var a=0;a<t;++a)e[a]=0;return e}function d(e,t){var a=t.length<0?0:0|h(t.length);e=o(e,a);for(var n=0;n<a;n+=1)e[n]=255&t[n];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(c.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 a=e.length;if(0===a)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return a;case"utf8":case"utf-8":case void 0:return B(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*a;case"hex":return a>>>1;case"base64":return U(e).length;default:if(n)return B(e).length;t=(""+t).toLowerCase(),n=!0}}function v(e,t,a){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===a||a>this.length)&&(a=this.length),a<=0)return"";if(a>>>=0,t>>>=0,a<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return T(this,t,a);case"utf8":case"utf-8":return $(this,t,a);case"ascii":return I(this,t,a);case"latin1":case"binary":return P(this,t,a);case"base64":return C(this,t,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,a);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,a){var n=e[t];e[t]=e[a],e[a]=n}function g(e,t,a,n,i){if(0===e.length)return-1;if("string"===typeof a?(n=a,a=0):a>2147483647?a=2147483647:a<-2147483648&&(a=-2147483648),a=+a,isNaN(a)&&(a=i?0:e.length-1),a<0&&(a=e.length+a),a>=e.length){if(i)return-1;a=e.length-1}else if(a<0){if(!i)return-1;a=0}if("string"===typeof t&&(t=c.from(t,n)),c.isBuffer(t))return 0===t.length?-1:_(e,t,a,n,i);if("number"===typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,a):Uint8Array.prototype.lastIndexOf.call(e,t,a):_(e,[t],a,n,i);throw new TypeError("val must be string, number or Buffer")}function _(e,t,a,n,i){var r,s=1,o=e.length,c=t.length;if
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=i=function(){return a},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t,a={},r=Object.prototype,s=r.hasOwnProperty,o=Object.defineProperty||function(e,t,a){e[t]=a.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",f=c.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(t){d=function(e,t,a){return e[t]=a}}function h(e,t,a,n){var i=t&&t.prototype instanceof y?t:y,r=Object.create(i.prototype),s=new A(n||[]);return o(r,"_invoke",{value:P(e,a,s)}),r}function p(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}a.wrap=h;var v="suspendedStart",m="executing",g="completed",_={};function y(){}function b(){}function w(){}var x={};d(x,u,(function(){return this}));var k=Object.getPrototypeOf,S=k&&k(k(E([])));S&&S!==r&&s.call(S,u)&&(x=S);var C=w.prototype=y.prototype=Object.create(x);function $(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function I(e,t){function a(i,r,o,c){var u=p(e[i],e,r);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==n(f)&&s.call(f,"__await")?t.resolve(f.__await).then((function(e){a("next",e,o,c)}),(function(e){a("throw",e,o,c)})):t.resolve(f).then((function(e){l.value=e,o(l)}),(function(e){return a("throw",e,o,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,i){a(e,n,t,i)}))}return i=i?i.then(r,r):r()}})}function P(e,a,n){var i=v;return function(r,s){if(i===m)throw Error("Generator is already running");if(i===g){if("throw"===r)throw s;return{value:t,done:!0}}for(n.method=r,n.arg=s;;){var o=n.delegate;if(o){var c=T(o,n);if(c){if(c===_)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===v)throw i=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=m;var u=p(e,a,n);if("normal"===u.type){if(i=n.done?g:"suspendedYield",u.arg===_)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(i=g,n.method="throw",n.arg=u.arg)}}}function T(e,a){var n=a.method,i=e.iterator[n];if(i===t)return a.delegate=null,"throw"===n&&e.iterator["return"]&&(a.method="return",a.arg=t,T(e,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=p(i,e.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var s=r.arg;return s?s.done?(a[e.resultName]=s.value,a.next=e.nextLoc,"return"!==a.method&&(a.method="next",a.arg=t),a.delegate=null,_):s:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function O(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 D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function E(e){if(e||""===e){var a=e[u];if(a)return a.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,r=function a(){for(;++i<e.length;)if(s.call(e,i))return a.value=e[i],a.done=!1,a;return a.value=t,a.done=!0,a};return r.next=r}}throw new TypeError(n(e)+" is not iterable")}return b.prototype=w,o(C,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:b,configurable:!0}),b.displayName=d(w,f,"GeneratorFunction"),a.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,d(e,f,"GeneratorFunction")),e.prototype=Object.create(C),e},a.awrap=function(e){return{__await:e}},$(I.prototype),d(I.prototype,l,(function(){return this})),a.AsyncIterator=I,a.async=functi
2024-07-31 08:55:30 +08:00
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
2024-08-16 15:25:30 +08:00
t.read=function(e,t,a,n,i){var r,s,o=8*i-n-1,c=(1<<o)-1,u=c>>1,l=-7,f=a?i-1:0,d=a?-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+=n;l>0;s=256*s+e[t+f],f+=d,l-=8);if(0===r)r=1-u;else{if(r===c)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,n),r-=u}return(h?-1:1)*s*Math.pow(2,r-n)},t.write=function(e,t,a,n,i,r){var s,o,c,u=8*r-i-1,l=(1<<u)-1,f=l>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:r-1,p=n?1:-1,v=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*(c=Math.pow(2,-s))<1&&(s--,c*=2),t+=s+f>=1?d/c:d*Math.pow(2,1-f),t*c>=2&&(s++,c/=2),s+f>=l?(o=0,s=l):s+f>=1?(o=(t*c-1)*Math.pow(2,i),s+=f):(o=t*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;e[a+h]=255&o,h+=p,o/=256,i-=8);for(s=s<<i|o,u+=i;u>0;e[a+h]=255&s,h+=p,s/=256,u-=8);e[a+h-p]|=128*v}},ba5a:function(e,t,a){"use strict";a.r(t);var n=a("d735"),i=a("a3ce");for(var r in i)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(r);var s=a("828b"),o=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);t["default"]=o.exports},ba95:function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){}));var n=function(){var e=this.$createElement,t=this._self._c||e;return t("view",{class:this._$s(0,"c",{hide:this.hidden}),attrs:{_i:0}},[t("canvas",{style:this._$s(1,"s",{width:this.sizeNum+"px",height:this.sizeNum+"px"}),attrs:{_i:1}})])},i=[]},bd2e:function(e,t,a){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={data:function(){return{taskId:"",fetchList:[],taskIdList:[],allChecked:!1,examFormData:{ifPass:"",noPassReason:""},formData:{checkResult:"",remark:""},ifPassRange:[{text:"\u662f",value:1},{text:"\u5426",value:0}],rules:{checkResult:{rules:[{required:!0,errorMessage:"\u8bf7\u9009\u62e9\u662f\u5426\u901a\u8fc7"}]},remark:{rules:[{required:!0,errorMessage:"\u8bf7\u8f93\u5165\u4e0d\u901a\u8fc7\u539f\u56e0"}]}},fetchMaterialList:[],examList:[]}},onLoad:function(t){var a=this;this.taskIdList=[],e("log","11111111111111",t.taskId," at pages/crashExam/crashExamList.vue:155"),this.taskIdList.push(t.taskId),e("log"," this.taskIdList",this.taskIdList," at pages/crashExam/crashExamList.vue:157");var n={taskId:t.taskId};this.$api.crashExam.crashExamDetails(n).then((function(e){200==e.data.code&&(a.fetchList=e.data.rows)})).catch((function(e){throw e}))},onShow:function(){this.getPageList()},methods:{getPageList:function(){var e=this;this.$api.crashExam.crashExamList().then((function(t){200==t.data.code&&(e.fetchMaterialList=t.data.rows)})).catch((function(e){throw e}))},seeDetail:function(e){uni.navigateTo({url:"/pages/crashExam/crashExamDetails?taskId=".concat(e)})},checkAll:function(){this.allChecked=!this.allChecked},toggleExam:function(){this.$refs.popup.open()},closePopup:function(){this.$refs.popup.close()},seeExam:function(e){uni.navigateTo({url:"/pages/crashExam/crashExamList?taskId=".concat(e)})},returnSubmit:function(){this.$refs.popup.close(),e("log",this.taskIdList," at pages/crashExam/crashExamList.vue:241")},formSubmit:function(){var e=this,t=this;t.$refs.form.validate().then((function(a){var n={checkResult:1==t.formData.checkResult?"\u901a\u8fc7":"\u4e0d\u901a\u8fc7",taskIdList:t.taskIdList,remark:t.formData.remark?t.formData.remark:""};t.$api.crashExam.crashExamAudit(n).then((function(t){uni.showToast({title:t.data.msg,icon:"success",duration:2e3}),e.$refs.popup.close(),e.allChecked=!1,uni.navigateTo({url:"/pages/crashExam/crashExam"})}))})).catch((function(e){uni.showToast({title:"\u8bf7\u5b8c\u5584\u8868\u5355\u5185\u5bb9",icon:"none",duration:2e3})}))}}};t.default=a}).call(this,a("f3b9")["default"])},bd83:function(e,t,a){"use strict";a.r(t);var n=a("575c"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(r);t["default"]=i.a},bdfd:function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return r})),a.d(t,"a",(function(){return n}))