bi/views/dist/static/js/chunk-af9f3844.c6afc595.js

1 line
6.6 KiB
JavaScript
Raw Permalink Normal View History

2025-05-22 16:27:39 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-af9f3844"],{cc06:function(t,e,a){"use strict";a.d(e,"a",(function(){return n}));a("4917"),a("ac6a"),a("456d");function n(t,e){var a,n=e.toLowerCase(),i=t;return a=n?i.filter((function(t){return Object.keys(t).some((function(e){return String(t[e]).toLowerCase().match(n)}))})):i,a}},e817:function(t,e,a){"use strict";a.d(e,"g",(function(){return r})),a.d(e,"f",(function(){return s})),a.d(e,"e",(function(){return o})),a.d(e,"h",(function(){return c})),a.d(e,"d",(function(){return l})),a.d(e,"c",(function(){return u})),a.d(e,"b",(function(){return h})),a.d(e,"a",(function(){return d}));var n=a("b775"),i="/api/realdata/";function r(t){return Object(n["a"])({url:i+"List",method:"post",data:t})}function s(t){return Object(n["a"])({url:i+"FailDataList",method:"post",data:t})}function o(t){return Object(n["a"])({url:i+"FailDataDesc",method:"post",data:t})}function c(t){return Object(n["a"])({url:i+"ReportCount",method:"post",data:t})}function l(t){return Object(n["a"])({url:i+"EventFailDesc",method:"post",data:t})}function u(t){return Object(n["a"])({url:i+"DelDebugDeviceID",method:"post",data:t})}function h(t){return Object(n["a"])({url:i+"DebugDeviceIDList",method:"post",data:t})}function d(t){return Object(n["a"])({url:i+"AddDebugDeviceID",method:"post",data:t})}},f03d:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.connectLoading,expression:"connectLoading"}],staticStyle:{width:"100%"},attrs:{border:"",data:t.filterList,"max-height":"700"}},[a("el-table-column",{attrs:{label:"序号",align:"center",fixed:"",width:"50"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.$index+1)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"上报时间",width:"180",align:"center",prop:"create_time",sortable:""}}),t._v(" "),a("el-table-column",{attrs:{label:"数据名称",width:"180",align:"center",prop:"event_name"}}),t._v(" "),a("el-table-column",{attrs:{label:"数据明细",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.isFormatData?a("div",[a("json-editor",{staticClass:"req-body",attrs:{"font-size":"15",height:"400",styles:"width: 100%",read:!0,title:"上报数据"},model:{value:e.row.dataFormat,callback:function(a){t.$set(e.row,"dataFormat",a)},expression:"scope.row.dataFormat"}}),t._v(" "),a("a-tooltip",{staticStyle:{cursor:"pointer"},attrs:{placement:"right"}},[a("template",{slot:"title"},[a("span",[t._v("还原数据")])]),t._v(" "),a("a-button",{staticStyle:{color:"red"},attrs:{type:"link",icon:"eye-invisible"},on:{click:function(a){return t.lookData(e.row.index,!1)}}})],2)],1):a("div",[a("span",{domProps:{innerHTML:t._s(e.row.data)}}),t._v(" "),a("a-tooltip",{staticStyle:{cursor:"pointer"},attrs:{placement:"right"}},[a("template",{slot:"title"},[a("span",[t._v("格式化数据")])]),t._v(" "),a("a-button",{attrs:{type:"link",icon:"eye"},on:{click:function(a){return t.lookData(e.row.index,!0)}}})],2)],1)]}}])})],1),t._v(" "),t.pageshow?a("el-pagination",{staticClass:"pagination-container",attrs:{"current-page":t.page,"page-sizes":[10,20,30,50,100,150,200,500,1e3],"page-size":t.limit,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handlePageChange}}):t._e()],1)},i=[],r=a("c80c"),s=a("2d63"),o=(a("96cf"),a("3b8d")),c=(a("c5f6"),a("e817")),l=a("cc06"),u=a("5f72"),h={name:"RealData2Es",components:{JsonEditor:function(){return Promise.all([a.e("chunk-16372f25"),a.e("chunk-1303a6c7")]).then(a.bind(null,"fa7e"))}},props:{date:{type:String,default:""},searchKw:{type:String,default:""},input:{type:String,default:""},timeSecend:{type:Number,default:30},pause:{type:Boolean,default:!1}},data:function(){return{connectLoading:!1,time:null,total:0,limit:100,page:1,pageshow:!0,list:[],trueList:[]}},computed:{filterList:function(){var t=this.list.slice((this.page-1)*this.limit,this.page*this.limit);return