3 lines
189 KiB
JavaScript
3 lines
189 KiB
JavaScript
|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-malfunc-check-malfunc-check-wb"],{"03f5":function(e,t,i){"use strict";i.r(t);var n=i("0ec3"),a=i("4eed");for(var o in a)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(o);i("1b00");var r=i("828b"),c=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"c6482fbe",null,!1,n["a"],void 0);t["default"]=c.exports},"06ad":function(e,t,i){"use strict";i("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("5ef2"),i("c9b5"),i("bf0f"),i("ab80"),i("aa9c");var n={name:"jPicker",data:function(){return{listData:[],listDataAll:[],nSel:0,showIndex:-1,pickerVisable:!1,searchPosition:"middle",selStyle:"height:50px;",placeholder:this.placeholderText,searchValue:""}},props:["options","showKey","valKey","val","position","disabled","bgColor","sureColor","placeholderText"],watch:{val:function(e){this.selByValKey()}},mounted:function(){this.selByValKey()},methods:{showPicker:function(){this.disabled||(this.pickerVisable=!0,this.listData=this.options,this.selByValKey())},cancelSel:function(){this.pickerVisable=!1,this.val?this.nSel=this.val:this.nSel=-1},sureSelect:function(){if(this.pickerVisable=!1,0==this.listData.length)this.$emit("sure",{});else{this.showIndex=this.nSel;var e={pickerIndex:-1==this.nSel?-1:this.listData[this.nSel].realIndex,pickerObj:-1==this.nSel?this.listData[0]:this.listData[this.nSel]};this.$emit("sure",e)}},selChange:function(e){this.nSel=e.detail.value[0]},filterOp:function(){var e=this.searchValue;if(""!=e){e=e.toLowerCase();var t=this.options;this.listData=[],this.nSel=0;for(var i=0;i<t.length;i++){var n=t[i];this.showKey&&(n=t[i][this.showKey]),n.toString().toLowerCase().indexOf(e)>-1&&this.listData.push(t[i])}}else this.listData=this.options,this.nSel=this.val?this.val:-1,this.selByValKey()},confirm:function(){uni.hideKeyboard(),this.filterOp()},selByValKey:function(){if(this.options){this.listData=[];for(var e=0;e<this.options.length;e++){var t=this.options[e];t.realIndex=e,this.listData.push(t)}this.listDataAll=this.listData}this.showIndex=this.val,this.nSel=this.val},doNothing:function(){}}};t.default=n},"0ad6":function(e,t,i){"use strict";i.r(t);var n=i("e4a2"),a=i("7216");for(var o in a)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(o);i("c018");var r=i("828b"),c=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"72355398",null,!1,n["a"],void 0);t["default"]=c.exports},"0ec3":function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return a})),i.d(t,"a",(function(){}));var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"lb-selector-picker lb-picker-item",style:{height:e.height}},[i("v-uni-picker-view",{style:{height:e.height},attrs:{value:e.pickerValue,"indicator-style":e.indicatorStyle},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.handleChange.apply(void 0,arguments)}}},e._l(e.pickerColumns,(function(t,n){return i("v-uni-picker-view-column",{key:n},e._l(t||[],(function(t,a){return i("v-uni-view",{key:a,class:["lb-picker-column",(t[e.props.value]||t)===e.selectValue[n]?"lb-picker-column-active":""],attrs:{"data-item":e.pressEnable?JSON.stringify(t):""},on:{touchstart:function(t){arguments[0]=t=e.$handleEvent(t),e.touchstart.apply(void 0,arguments)},touchmove:function(t){arguments[0]=t=e.$handleEvent(t),e.touchmove.apply(void 0,arguments)},touchend:function(t){arguments[0]=t=e.$handleEvent(t),e.touchend.apply(void 0,arguments)}}},[i("v-uni-text",{class:["lb-picker-column-label","lb-picker-column-label-"+e.align],style:[(t[e.props.value]||t)===e.selectValue[n]?e.activeColumnStyle:e.columnStyle]},[e._v(e._s(e.getLabel(t,a,n)))])],1)})),1)})),1)],1)},a=[]},"0f27":function(e,t,i){var n=i("fa6f");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=i("967d").default;a("5c1c71f4",n,!0,{sourceMap:!1,shadowMode:!1})},"14be":function(e,t,i){"use strict";i.r(t);var n=i("82bf"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){i.d(t,e,(f
|
||
|
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
||
|
|
t.default=function(){return e};var e={},i=Object.prototype,a=i.hasOwnProperty,o=Object.defineProperty||function(e,t,i){e[t]=i.value},r="function"==typeof Symbol?Symbol:{},c=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function u(e,t,i){return Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(q){u=function(e,t,i){return e[t]=i}}function d(e,t,i,n){var a=t&&t.prototype instanceof p?t:p,r=Object.create(a.prototype),c=new S(n||[]);return o(r,"_invoke",{value:w(e,i,c)}),r}function f(e,t,i){try{return{type:"normal",arg:e.call(t,i)}}catch(q){return{type:"throw",arg:q}}}e.wrap=d;var v={};function p(){}function h(){}function b(){}var m={};u(m,c,(function(){return this}));var g=Object.getPrototypeOf,x=g&&g(g(P([])));x&&x!==i&&a.call(x,c)&&(m=x);var A=b.prototype=p.prototype=Object.create(m);function k(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function y(e,t){var i;o(this,"_invoke",{value:function(o,r){function c(){return new t((function(i,c){(function i(o,r,c,s){var l=f(e[o],e,r);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==(0,n.default)(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,c,s)}),(function(e){i("throw",e,c,s)})):t.resolve(d).then((function(e){u.value=e,c(u)}),(function(e){return i("throw",e,c,s)}))}s(l.arg)})(o,r,i,c)}))}return i=i?i.then(c,c):c()}})}function w(e,t,i){var n="suspendedStart";return function(a,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===a)throw o;return Q()}for(i.method=a,i.arg=o;;){var r=i.delegate;if(r){var c=C(r,i);if(c){if(c===v)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===n)throw n="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);n="executing";var s=f(e,t,i);if("normal"===s.type){if(n=i.done?"completed":"suspendedYield",s.arg===v)continue;return{value:s.arg,done:i.done}}"throw"===s.type&&(n="completed",i.method="throw",i.arg=s.arg)}}}function C(e,t){var i=t.method,n=e.iterator[i];if(void 0===n)return t.delegate=null,"throw"===i&&e.iterator["return"]&&(t.method="return",t.arg=void 0,C(e,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),v;var a=f(n,e.iterator,t.arg);if("throw"===a.type)return t.method="throw",t.arg=a.arg,t.delegate=null,v;var o=a.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,v):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function I(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 E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function P(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,n=function t(){for(;++i<e.length;)if(a.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:Q}}function Q(){return{value:void 0,done:!0}}return h.prototype=b,o(A,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:h,configurable:!0}),h.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,l,"GeneratorFunction")),e.prototype=Object.create(A),e},e.awrap=function(e){return{__await:e}},k(y.prototype),u(y.prototype,s,(function(){return this})),e.AsyncIterator=y,e.async=function(t,i,n,a,o){void 0===o&&(o=Promise);var r=new y(d(t,i,n,a),o);return e.isGeneratorFunction(i)?r:r.next().then((function(e){return e.do
|