7 lines
3.9 KiB
JavaScript
7 lines
3.9 KiB
JavaScript
|
/*!
|
||
|
* 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-582b17d0"],{"093a":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return o})),a.d(t,"getLiveAddr",(function(){return l}));var c=a("b775");function o(e){return Object(c["default"])({url:"/video/devices?projectId="+e.projectId,method:"get",data:e})}function l(e){return Object(c["default"])({url:"/video/getLiveAddr?account="+e.account+"&deviceSerial="+e.deviceSerial,method:"get",data:e})}},1941:function(e,t,a){"use strict";a.r(t);var c=a("f2bf");const o={class:"manage-container"};function l(e,t,a,l,r,n){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("monitorVideo.sbid"),width:"220",align:"center"},null,8,["label"]),Object(c["createVNode"])(i,{prop:"account",label:e.$t("monitorVideo.zh"),width:"120",align:"center"},null,8,["label"]),Object(c["createVNode"])(i,{prop:"deviceSerial",label:e.$t("monitorVideo.sbxlh"),width:"100",align:"center"},null,8,["label"]),Object(c["createVNode"])(i,{prop:"deviceName",label:e.$t("monitorVideo.sbmc"),align:"center"},null,8,["label"]),Object(c["createVNode"])(i,{prop:"addTime",label:e.$t("monitorVideo.tjsj"),width:"180",align:"center"},null,8,["label"]),Object(c["createVNode"])(i,{prop:"ldDeviceName",label:e.$t("monitorVideo.sszd"),width:"100",align:"center"},null,8,["label"]),Object(c["createVNode"])(i,{prop:"status",label:e.$t("monitorVideo.ljzt"),width:"100",align:"center"},{default:Object(c["withCtx"])(({row:t})=>[1==t.status?(Object(c["openBlock"])(),Object(c["createBlock"])(d,{key:0,effect:"dark",type:"success",size:"mini"},{default:Object(c["withCtx"])(()=>[Object(c["createTextVNode"])(Object(c["toDisplayString"])(e.$t("defalult.zx")),1)]),_:1})):Object(c["createCommentVNode"])("",!0),0==t.status?(Object(c["openBlock"])(),Object(c["createBlock"])(d,{key:1,effect:"dark",type:"danger",size:"mini"},{default:Object(c["withCtx"])(()=>[Object(c["createTextVNode"])(Object(c["toDisplayString"])(e.$t("defalult.lx")),1)]),_:1})):Object(c["createCommentVNode"])("",!0)]),_:1},8,["label"]),Object(c["createVNode"])(i,{fixed:"right",label:e.$t("defalult.chongz"),width:"100",align:"center"},{default:Object(c["withCtx"])(({row:t})=>[Object(c["createVNode"])(b,{type:"text",onClick:e=>n.handleLive(t)},{default:Object(c["withCtx"])(()=>[Object(c["createTextVNode"])(Object(c["toDisplayString"])(e.$t("defalult.bf")),1)]),_:2},1032,["onClick"])]),_:1},8,["label"])]),_:1},8,["data"])),[[s,r.listLoading]])])}a("14d9");var r=a("093a"),n={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("6f35"),a("d959")),d=a.n(i);const b=d()(n,[["render",l]]);t["default"]=b},"6f35":function(e,t,a){"use strict";a("ac77")},ac77: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"}}}]);
|