FastBee/docker/data/nginx/vue/static/js/chunk-7616592f.1262fb0d.js

1 line
13 KiB
JavaScript
Raw Permalink Normal View History

2025-07-07 09:21:15 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7616592f"],{2611:function(t,i,e){"use strict";e.r(i);var o=function(){var t=this,i=t.$createElement,e=t._self._c||i;return t.pageflag?e("div",{staticStyle:{overflow:"hidden",width:"100%",height:"250px","font-size":"12px","line-height":"24px"}},[e("vue-seamless-scroll",{attrs:{data:t.deviceLogList,"class-option":t.defaultOption}},t._l(t.deviceLogList,(function(i,o){return e("div",{key:o,staticStyle:{display:"flex","margin-bottom":"10px","border-bottom":"2px dashed #23cdd8",color:"#bbb"}},[e("span",{staticStyle:{width:"50px",color:"#23cdd8","font-size":"16px","line-height":"48px","font-weight":"bolder"}},[t._v(t._s(o+1))]),e("div",{staticStyle:{display:"flex","flex-wrap":"wrap"}},[e("div",{staticStyle:{width:"200px"}},[e("span",[t._v("设备编号:")]),e("span",{staticStyle:{color:"#23cdd8"}},[t._v(t._s(i.serialNumber))])]),e("div",{staticStyle:{width:"150px","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"}},[e("span",[t._v("标识符:")]),e("span",{staticStyle:{color:"#fff"}},[t._v(t._s(i.identify))])]),e("div",{staticStyle:{width:"60px","align-items":"flex-end","text-align":"right"}},[e("span",{staticStyle:{color:"#ffdb5c"}},[t._v("编码:"+t._s(i.resultCode))])]),e("div",{staticStyle:{width:"200px","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"}},[e("span",[t._v("上报时间:")]),e("span",{staticStyle:{color:"#fff"}},[t._v(t._s(i.createTime))])]),e("div",{staticStyle:{"margin-bottom":"10px",width:"210px","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"}},[e("span",[t._v("上报值:")]),e("span",{staticStyle:{color:"#fff"}},[t._v(t._s(i.funValue))])])])])})),0)],1):e("Reacquire",{staticStyle:{"line-height":"200px",color:"#23cdd8","margin-left":"210px"},on:{onclick:t.getData}},[t._v(" 重新获取 ")])},n=[],s=e("a939"),r=e.n(s),a=e("dc9c"),l={components:{vueSeamlessScroll:r.a},data:function(){return{deviceLogList:[],pageflag:!0,defaultOption:{step:2,limitMoveNum:4,hoverStop:!0,singleHeight:280,openWatch:!0,waitTime:3e3},queryParams:{pageNum:1,pageSize:5}}},created:function(){this.getData()},beforeDestroy:function(){this.clearData()},methods:{getData:function(){var t=this;Object(a["b"])(this.queryParams).then((function(i){t.deviceLogList=i.rows,t.switper()}))},clearData:function(){this.timer&&(clearInterval(this.timer),this.timer=null)},switper:function(){var t=this;if(!this.timer){var i=function(i){t.getData()};this.timer=setInterval(i,6e4)}}}},h=l,c=e("2877"),u=Object(c["a"])(h,o,n,!1,null,null,null);i["default"]=u.exports},a939:function(t,i,e){!function(i,e){t.exports=e()}("undefined"!=typeof self&&self,(function(){return function(t){function i(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,i),n.l=!0,n.exports}var e={};return i.m=t,i.c=e,i.d=function(t,e,o){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:o})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},i.p="",i(i.s=1)}([function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),e(4)();var o=e(5),n=e(6);i.default={name:"vue-seamless-scroll",data:function(){return{xPos:0,yPos:0,delay:0,copyHtml:"",height:0,width:0,realBoxWidth:0}},props:{data:{type:Array,default:function(){return[]}},classOption:{type:Object,default:function(){return{}}}},computed:{leftSwitchState:function(){return this.xPos<0},rightSwitchState:function(){return Math.abs(this.xPos)<this.realBoxWidth-this.width},leftSwitchClass:function(){return this.leftSwitchState?"":this.options.switchDisabledClass},rightSwitchClass:function(){return this.rightSwitchState?"":this.options.switchDisabledClass},leftSwitch:function(){return{position:"absolute",margin:this.height/2+"px 0 0 -"+this.options.switchOffset+"px",transform:"translate(-100%,-50%)"}},rightSwitch:function(){return{position:"absolute",margin:this.height/2+"px 0 0 "+(this.width+this.optio