FastBee/docker/data/nginx/vue/static/js/chunk-9ac2c67a.e7c93632.js

1 line
7.4 KiB
JavaScript
Raw Permalink Normal View History

2025-07-07 09:21:15 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9ac2c67a"],{"1b86":function(e,t,n){},"67dd":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sip-channel"},[n("el-row",{staticClass:"mb8",attrs:{gutter:10}},[n("right-toolbar",{attrs:{showSearch:e.showSearch,search:!1},on:{"update:showSearch":function(t){e.showSearch=t},"update:show-search":function(t){e.showSearch=t},queryTable:e.getList}})],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{data:e.channelList,border:!1}},[n("el-table-column",{attrs:{label:e.$t("sip.channel.998532-0"),align:"left",prop:"deviceSipId","min-width":"180"}}),n("el-table-column",{attrs:{label:e.$t("sip.channel.998532-1"),align:"left",prop:"channelSipId","min-width":"180"}}),n("el-table-column",{attrs:{label:e.$t("sip.channel.998532-5"),align:"center",prop:"status",width:"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("dict-tag",{attrs:{options:e.dict.type.sip_gen_status,value:t.row.status}})]}}])}),n("el-table-column",{attrs:{label:e.$t("sip.channel.998532-2"),align:"center","min-width":"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.isVideoChannel(t.row)?n("el-image",{staticStyle:{width:"60px"},attrs:{src:e.getSnap(t.row),"preview-src-list":e.getBigSnap(t.row),fit:"contain"}},[n("div",{staticClass:"image-slot",attrs:{slot:"error"},slot:"error"},[n("i",{staticClass:"el-icon-picture-outline"})])]):e._e()]}}])}),n("el-table-column",{attrs:{label:e.$t("sip.channel.998532-3"),align:"left",prop:"channelName","min-width":"150"}}),n("el-table-column",{attrs:{label:e.$t("sip.channel.998532-4"),align:"left",prop:"model","min-width":"130"}}),n("el-table-column",{attrs:{label:e.$t("sip.channel.998532-9"),align:"center",prop:"streamPush","min-width":"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[0===t.row.streamPush?n("el-tag",{attrs:{type:"info"}},[e._v(e._s(e.$t("sip.channel.998532-10")))]):e._e(),1===t.row.streamPush?n("el-tag",[e._v(e._s(e.$t("sip.channel.998532-11")))]):e._e()]}}])}),n("el-table-column",{attrs:{label:e.$t("sip.channel.998532-12"),align:"center",prop:"streamRecord","min-width":"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[0===t.row.streamRecord?n("el-tag",{attrs:{type:"info"}},[e._v(e._s(e.$t("sip.channel.998532-13")))]):e._e(),1===t.row.streamRecord?n("el-tag",[e._v(e._s(e.$t("sip.channel.998532-14")))]):e._e()]}}])}),n("el-table-column",{attrs:{label:e.$t("sip.channel.998532-15"),align:"center",prop:"videoRecord","min-width":"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[0===t.row.videoRecord?n("el-tag",{attrs:{type:"info"}},[e._v(e._s(e.$t("sip.channel.998532-16")))]):e._e(),1===t.row.videoRecord?n("el-tag",[e._v(e._s(e.$t("sip.channel.998532-17")))]):e._e()]}}])}),n("el-table-column",{attrs:{fixed:"right",label:e.$t("opation"),align:"center",width:"100","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{attrs:{size:"small",type:"text",icon:"el-icon-video-play",disabled:3!==t.row.status},on:{click:function(n){return e.sendDevicePush(t.row)}}},[e._v(e._s(e.$t("sip.channel.998532-6")))])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total > 0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.getList}})],1)},i=[],l=n("e2de"),r={name:"Channel",dicts:["video_type","channel_type","sip_gen_status"],props:{device:{type:Object,default:null}},watch:{device:function(e,t){this.deviceInfo=e,this.deviceInfo&&0!=this.deviceInfo.deviceId&&(this.queryParams.deviceSipId=this.deviceInfo.serialNumber)}},data:function(){return{loadSnap:{},deviceInfo:{},loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,channelList:[],title:"",open:!1,queryParams:{pageNum:1,pageSize:10,de