/*! * build: vue-admin-beautiful * vue-admin-beautiful author: chuzhixin 1204505056@qq.com * vue-admin-beautiful QQ Group(QQ群): 972435319、1139183756 * time: 2024-10-10 11:14:28 */ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-114c1de2"],{"093a":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return o})),a.d(t,"getLiveAddr",(function(){return n}));var c=a("b775");function o(e){return Object(c["default"])({url:"/video/devices?projectId="+e.projectId,method:"get",data:e})}function n(e){return Object(c["default"])({url:"/video/getLiveAddr?account="+e.account+"&deviceSerial="+e.deviceSerial,method:"get",data:e})}},"9c61":function(e,t,a){"use strict";a.r(t);var c=a("f2bf");const o={class:"manage-container"};function n(e,t,a,n,r,l){const i=Object(c["resolveComponent"])("el-table-column"),d=Object(c["resolveComponent"])("el-tag"),b=Object(c["resolveComponent"])("el-button"),u=Object(c["resolveComponent"])("el-table"),s=Object(c["resolveDirective"])("loading");return Object(c["openBlock"])(),Object(c["createElementBlock"])("div",o,[Object(c["withDirectives"])((Object(c["openBlock"])(),Object(c["createBlock"])(u,{id:"table",data:r.tableData,border:"",stripe:"",style:{width:"100%"}},{default:Object(c["withCtx"])(()=>[Object(c["createVNode"])(i,{prop:"id",label:e.$t("maintenance.sb"),width:"220",align:"center"},null,8,["label"]),Object(c["createVNode"])(i,{prop:"account",label:"账户",width:"120",align:"center"}),Object(c["createVNode"])(i,{prop:"deviceSerial",label:"设备序列号",width:"100",align:"center"}),Object(c["createVNode"])(i,{prop:"deviceName",label:e.$t("maintenance.sbmc"),align:"center"},null,8,["label"]),Object(c["createVNode"])(i,{prop:"addTime",label:"添加时间",width:"180",align:"center"}),Object(c["createVNode"])(i,{prop:"ldDeviceName",label:"所属站点",width:"100",align:"center"}),Object(c["createVNode"])(i,{prop:"status",label:e.$t("dataEnquiry.ljzt"),width:"100",align:"center"},{default:Object(c["withCtx"])(({row:e})=>[1==e.status?(Object(c["openBlock"])(),Object(c["createBlock"])(d,{key:"在线",effect:"dark",type:"success",size:"mini"},{default:Object(c["withCtx"])(()=>t[0]||(t[0]=[Object(c["createTextVNode"])(" 在线 ")])),_:1})):Object(c["createCommentVNode"])("",!0),0==e.status?(Object(c["openBlock"])(),Object(c["createBlock"])(d,{key:"离线",effect:"dark",type:"danger",size:"mini"},{default:Object(c["withCtx"])(()=>t[1]||(t[1]=[Object(c["createTextVNode"])(" 离线 ")])),_:1})):Object(c["createCommentVNode"])("",!0)]),_:1},8,["label"]),Object(c["createVNode"])(i,{fixed:"right",label:e.$t("defalult.cz"),width:"100",align:"center"},{default:Object(c["withCtx"])(({row:e})=>[Object(c["createVNode"])(b,{type:"text",onClick:t=>l.handleLive(e)},{default:Object(c["withCtx"])(()=>t[2]||(t[2]=[Object(c["createTextVNode"])("播放")])),_:2},1032,["onClick"])]),_:1},8,["label"])]),_:1},8,["data"])),[[s,r.listLoading]])])}a("14d9");var r=a("093a"),l={data(){return{tableData:[],lazy:!0,layout:"total, sizes, prev, pager, next, jumper",total:0,background:!0,listLoading:!1,elementLoadingText:"正在加载...",queryForm:{projectId:""}}},created(){this.queryForm.projectId=sessionStorage.getItem("projectId"),this.fetchData()},methods:{async fetchData(){const{data:e}=await Object(r["getList"])(this.queryForm);this.tableData=e},handleLive(e){this.$router.push({path:"/fluoriteSensorData",name:"监控视频",query:{account:e.account,deviceSerial:e.deviceSerial}})}}},i=(a("f15e"),a("d959")),d=a.n(i);const b=d()(l,[["render",n]]);t["default"]=b},badf:function(e,t,a){e.exports={"menu-color":"hsla(0,0%,27%,.95)","menu-color-active":"hsla(208,100%,55%,.95)","menu-background":"#fff","gallery-second-menu-background":"#fff"}},f15e:function(e,t,a){"use strict";a("badf")}}]);