bi/views/dist/static/js/chunk-2844e9f4.00a7b77f.js

1 line
8.9 KiB
JavaScript
Raw Normal View History

2025-05-22 16:27:39 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2844e9f4"],{2363:function(t,e,i){},"487a":function(t,e,i){(function(e,i){t.exports=i()})(0,(function(){"use strict";var t="@@InfiniteScroll",e=function(t,e){var i,n,a,s,r,l=function(){t.apply(s,r),n=i};return function(){if(s=this,r=arguments,i=Date.now(),a&&(clearTimeout(a),a=null),n){var t=e-(i-n);t<0?l():a=setTimeout((function(){l()}),t)}else l()}},i=function(t){return t===window?Math.max(window.pageYOffset||0,document.documentElement.scrollTop):t.scrollTop},n=document.defaultView.getComputedStyle,a=function(t){var e=t;while(e&&"HTML"!==e.tagName&&"BODY"!==e.tagName&&1===e.nodeType){var i=n(e).overflowY;if("scroll"===i||"auto"===i)return e;e=e.parentNode}return window},s=function(t){return t===window?document.documentElement.clientHeight:t.clientHeight},r=function(t){return t===window?i(window):t.getBoundingClientRect().top+i(window)},l=function(t){var e=t.parentNode;while(e){if("HTML"===e.tagName)return!0;if(11===e.nodeType)return!1;e=e.parentNode}return!1},o=function(){if(!this.binded){this.binded=!0;var t=this,i=t.el,n=i.getAttribute("infinite-scroll-throttle-delay"),s=200;n&&(s=Number(t.vm[n]||n),(isNaN(s)||s<0)&&(s=200)),t.throttleDelay=s,t.scrollEventTarget=a(i),t.scrollListener=e(c.bind(t),t.throttleDelay),t.scrollEventTarget.addEventListener("scroll",t.scrollListener),this.vm.$on("hook:beforeDestroy",(function(){t.scrollEventTarget.removeEventListener("scroll",t.scrollListener)}));var r=i.getAttribute("infinite-scroll-disabled"),l=!1;r&&(this.vm.$watch(r,(function(e){t.disabled=e,!e&&t.immediateCheck&&c.call(t)})),l=Boolean(t.vm[r])),t.disabled=l;var o=i.getAttribute("infinite-scroll-distance"),d=0;o&&(d=Number(t.vm[o]||o),isNaN(d)&&(d=0)),t.distance=d;var u=i.getAttribute("infinite-scroll-immediate-check"),f=!0;u&&(f=Boolean(t.vm[u])),t.immediateCheck=f,f&&c.call(t);var p=i.getAttribute("infinite-scroll-listen-for-event");p&&t.vm.$on(p,(function(){c.call(t)}))}},c=function(t){var e=this.scrollEventTarget,n=this.el,a=this.distance;if(!0===t||!this.disabled){var l=i(e),o=l+s(e),c=!1;if(e===n)c=e.scrollHeight-o<=a;else{var d=r(n)-r(e)+n.offsetHeight+l;c=o+a>=d}c&&this.expression&&this.expression()}},d={bind:function(e,i,n){e[t]={el:e,vm:n.context,expression:i.value};var a=arguments;e[t].vm.$on("hook:mounted",(function(){e[t].vm.$nextTick((function(){l(e)&&o.call(e[t],a),e[t].bindTryCount=0;var i=function i(){e[t].bindTryCount>10||(e[t].bindTryCount++,l(e)?o.call(e[t],a):setTimeout(i,50))};i()}))}))},unbind:function(e){e&&e[t]&&e[t].scrollEventTarget&&e[t].scrollEventTarget.removeEventListener("scroll",e[t].scrollListener)}},u=function(t){t.directive("InfiniteScroll",d)};return window.Vue&&(window.infiniteScroll=d,Vue.use(u)),d.install=u,d}))},ed6a:function(t,e,i){"use strict";i("2363")},f781:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("a-drawer",{attrs:{title:"管理看板内容",width:720,visible:t.visible,"body-style":{paddingBottom:"80px"}},on:{close:t.onClose}},[i("div",{staticStyle:{"flex-direction":"row",display:"flex","justify-content":"space-between"}},[i("div",{staticStyle:{width:"49%",height:"500px"},attrs:{id:"components-layout-basic"}},[i("a-layout",[i("a-layout-header",{staticStyle:{display:"flex","flex-direction":"row","justify-content":"space-between"}},[i("div",[i("a-icon",{attrs:{type:"drag"}}),t._v("\n 调整布局\n ")],1),t._v(" "),i("div",[t._v("\n 报表数("+t._s(t.selectRts.length)+"/"+t._s(t.tableData.length)+")\n ")])]),t._v(" "),i("a-layout-content",[i("draggable",{attrs:{"chosen-class":"chosen",animation:"1000"},model:{value:t.selectRts,callback:function(e){t.selectRts=e},expression:"selectRts"}},t._l(t.selectRts,(function(e,n){return i("a-dropdown",{directives:[{name:"drag",rawName:"v-drag"}],key:Date.now(),attrs:{trigger:["contextmenu"]}},[i("div",{staticStyle:{width:"49%",height:"100px","line-height":"50px","text-align":"center",padding:"20px",float:"left",border:"2px solid grey"}},[t._v("\n