Dining_Hall/static/station/static/js/pages-device-notice~pages-d...

3 lines
158 KiB
JavaScript
Raw Normal View History

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-device-notice~pages-doctor-physio~pages-doctor-reservation~pages-lifeService-cleaning~pages-li~172e2c39"],{"008f":function(e,t,i){"use strict";var a=i("bf5b"),o=i.n(a);o.a},"04fa":function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(i("a340")),r={name:"z-paging",mixins:[o.default]};t.default=r},"07685":function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(i("2634")),r=a(i("2fdc"));i("64aa"),i("dd2b"),i("bf0f"),i("c223"),i("f7a5"),i("aa9c"),i("5ef2"),i("e966");var n=a(i("8014")),l=a(i("2d90")),s=a(i("d1ab")),d={props:{useVirtualList:{type:Boolean,default:n.default.gc("useVirtualList",!1)},useCompatibilityMode:{type:Boolean,default:n.default.gc("useCompatibilityMode",!1)},extraData:{type:Object,default:n.default.gc("extraData",{})},useInnerList:{type:Boolean,default:n.default.gc("useInnerList",!1)},forceCloseInnerList:{type:Boolean,default:n.default.gc("forceCloseInnerList",!1)},cellKeyName:{type:String,default:n.default.gc("cellKeyName","")},innerListStyle:{type:Object,default:n.default.gc("innerListStyle",{})},innerCellStyle:{type:Object,default:n.default.gc("innerCellStyle",{})},preloadPage:{type:[Number,String],default:n.default.gc("preloadPage",12),validator:function(e){return e<=0&&n.default.consoleErr("preload-page必须大于0"),e>0}},cellHeightMode:{type:String,default:n.default.gc("cellHeightMode",s.default.CellHeightMode.Fixed)},fixedCellHeight:{type:[Number,String],default:n.default.gc("fixedCellHeight",0)},virtualListCol:{type:[Number,String],default:n.default.gc("virtualListCol",1)},virtualScrollFps:{type:[Number,String],default:n.default.gc("virtualScrollFps",80)},virtualCellIdPrefix:{type:String,default:n.default.gc("virtualCellIdPrefix","")}},data:function(){return{virtualListKey:n.default.getInstanceId(),virtualPageHeight:0,virtualCellHeight:0,virtualScrollTimeStamp:0,virtualList:[],virtualPlaceholderTopHeight:0,virtualPlaceholderBottomHeight:0,virtualTopRangeIndex:0,virtualBottomRangeIndex:0,lastVirtualTopRangeIndex:0,lastVirtualBottomRangeIndex:0,virtualItemInsertedCount:0,virtualHeightCacheList:[],getCellHeightRetryCount:{fixed:0,dynamic:0},pagingOrgTop:-1,updateVirtualListFromDataChange:!1}},watch:{realTotalData:function(){this.updateVirtualListRender()},virtualList:function(e){this.$emit("update:virtualList",e),this.$emit("virtualListChange",e)},virtualPlaceholderTopHeight:function(e){this.$emit("virtualTopHeightChange",e)}},computed:{virtualCellIndexKey:function(){return l.default.listCellIndexKey},finalUseVirtualList:function(){return this.useVirtualList&&this.usePageScroll&&n.default.consoleErr("使用页面滚动时,开启虚拟列表无效!"),this.useVirtualList&&!this.usePageScroll},finalUseInnerList:function(){return this.useInnerList||this.finalUseVirtualList&&!this.forceCloseInnerList},finalCellKeyName:function(){return this.cellKeyName},finalVirtualPageHeight:function(){return this.virtualPageHeight>0?this.virtualPageHeight:this.windowHeight},finalFixedCellHeight:function(){return n.default.convertToPx(this.fixedCellHeight)},fianlVirtualCellIdPrefix:function(){var e=this.virtualCellIdPrefix?this.virtualCellIdPrefix+"-":"";return e+"zp-id"},finalPlaceholderTopHeightStyle:function(){return{transform:this.virtualPlaceholderTopHeight>0?"translateY(".concat(this.virtualPlaceholderTopHeight,"px)"):"none"}},virtualRangePageHeight:function(){return this.finalVirtualPageHeight*this.preloadPage},virtualScrollDisTimeStamp:function(){return 1e3/this.virtualScrollFps}},methods:{doInsertVirtualListItem:function(e,t){var i=this;if(this.cellHeightMode===s.default.CellHeightMode.Dynamic){this.realTotalData.splice(t,0,e),this.virtualItemInsertedCount++,e&&"[object Object]"===Object.prototype.toString.call(e)||(e={item:e});var a=this.virtualCellIndexKey;e[a]="custom-".concat(this.virtualItemInsertedCount),e[l.default.listCellIndexUniqueKey]="".concat(this.virtualListKey,"-
/*! 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,o=i.hasOwnProperty,r=Object.defineProperty||function(e,t,i){e[t]=i.value},n="function"==typeof Symbol?Symbol:{},l=n.iterator||"@@iterator",s=n.asyncIterator||"@@asyncIterator",d=n.toStringTag||"@@toStringTag";function h(e,t,i){return Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{h({},"")}catch(z){h=function(e,t,i){return e[t]=i}}function u(e,t,i,a){var o=t&&t.prototype instanceof g?t:g,n=Object.create(o.prototype),l=new A(a||[]);return r(n,"_invoke",{value:b(e,i,l)}),n}function c(e,t,i){try{return{type:"normal",arg:e.call(t,i)}}catch(z){return{type:"throw",arg:z}}}e.wrap=u;var f={};function g(){}function p(){}function m(){}var y={};h(y,l,(function(){return this}));var v=Object.getPrototypeOf,T=v&&v(v(I([])));T&&T!==i&&o.call(T,l)&&(y=T);var w=m.prototype=g.prototype=Object.create(y);function S(e){["next","throw","return"].forEach((function(t){h(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){var i;r(this,"_invoke",{value:function(r,n){function l(){return new t((function(i,l){(function i(r,n,l,s){var d=c(e[r],e,n);if("throw"!==d.type){var h=d.arg,u=h.value;return u&&"object"==(0,a.default)(u)&&o.call(u,"__await")?t.resolve(u.__await).then((function(e){i("next",e,l,s)}),(function(e){i("throw",e,l,s)})):t.resolve(u).then((function(e){h.value=e,l(h)}),(function(e){return i("throw",e,l,s)}))}s(d.arg)})(r,n,i,l)}))}return i=i?i.then(l,l):l()}})}function b(e,t,i){var a="suspendedStart";return function(o,r){if("executing"===a)throw new Error("Generator is already running");if("completed"===a){if("throw"===o)throw r;return L()}for(i.method=o,i.arg=r;;){var n=i.delegate;if(n){var l=R(n,i);if(l){if(l===f)continue;return l}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===a)throw a="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);a="executing";var s=c(e,t,i);if("normal"===s.type){if(a=i.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:i.done}}"throw"===s.type&&(a="completed",i.method="throw",i.arg=s.arg)}}}function R(e,t){var i=t.method,a=e.iterator[i];if(void 0===a)return t.delegate=null,"throw"===i&&e.iterator["return"]&&(t.method="return",t.arg=void 0,R(e,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),f;var o=c(a,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var r=o.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,f):r:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function M(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 C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function I(e){if(e){var t=e[l];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function t(){for(;++i<e.length;)if(o.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:L}}function L(){return{value:void 0,done:!0}}return p.prototype=m,r(w,"constructor",{value:m,configurable:!0}),r(m,"constructor",{value:p,configurable:!0}),p.displayName=h(m,d,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,h(e,d,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},S(x.prototype),h(x.prototype,s,(function(){return this})),e.AsyncIterator=x,e.async=function(t,i,a,o,r){void 0===r&&(r=Promise);var n=new x(u(t,i,a,o),r);return e.isGeneratorFunction(i)?n:n.next().then((function(e){return e.do