10 lines
19 KiB
JavaScript
10 lines
19 KiB
JavaScript
import{a3 as commonjsGlobal,_ as _export_sfc,r as ref,I as reactive,x as onMounted,H as onUpdated,d as resolveComponent,o as openBlock,c as createElementBlock,l as createBaseVNode,n as createTextVNode,A as toDisplayString,f as unref,e as createVNode,w as withCtx,m as createCommentVNode,K as withDirectives,M as vShow,q as pushScopeId,s as popScopeId}from"./index.064676a5.js";import{L,c as getTreeData,d as getCameraName,e as getCameraNameS,b as getQuery,f as getSxtbf,i as iconShadow,_ as _imports_0,a as _imports_1}from"./VideoSurveillance.1754b100.js";import"./index.2809c208.js";import"./imouplayer.55398e05.js";import"./video.vue_vue_type_style_index_1_lang.9bfb414a.js";import"./linkSeriesData.e74eae00.js";var md5={exports:{}};/**
|
|
* [js-md5]{@link https://github.com/emn178/js-md5}
|
|
*
|
|
* @namespace md5
|
|
* @version 0.7.3
|
|
* @author Chen, Yi-Cyuan [emn178@gmail.com]
|
|
* @copyright Chen, Yi-Cyuan 2014-2017
|
|
* @license MIT
|
|
*/(function(module){(function(){var ERROR="input is invalid type",WINDOW=typeof window=="object",root=WINDOW?window:{};root.JS_MD5_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&typeof self=="object",NODE_JS=!root.JS_MD5_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;NODE_JS?root=commonjsGlobal:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_MD5_NO_COMMON_JS&&!0&&module.exports,ARRAY_BUFFER=!root.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",HEX_CHARS="0123456789abcdef".split(""),EXTRA=[128,32768,8388608,-2147483648],SHIFT=[0,8,16,24],OUTPUT_TYPES=["hex","array","digest","buffer","arrayBuffer","base64"],BASE64_ENCODE_CHAR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),blocks=[],buffer8;if(ARRAY_BUFFER){var buffer=new ArrayBuffer(68);buffer8=new Uint8Array(buffer),blocks=new Uint32Array(buffer)}(root.JS_MD5_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(e){return Object.prototype.toString.call(e)==="[object Array]"}),ARRAY_BUFFER&&(root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(e){return typeof e=="object"&&e.buffer&&e.buffer.constructor===ArrayBuffer});var createOutputMethod=function(e){return function(o){return new Md5(!0).update(o)[e]()}},createMethod=function(){var e=createOutputMethod("hex");NODE_JS&&(e=nodeWrap(e)),e.create=function(){return new Md5},e.update=function(t){return e.create().update(t)};for(var o=0;o<OUTPUT_TYPES.length;++o){var r=OUTPUT_TYPES[o];e[r]=createOutputMethod(r)}return e},nodeWrap=function(method){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),nodeMethod=function(e){if(typeof e=="string")return crypto.createHash("md5").update(e,"utf8").digest("hex");if(e==null)throw ERROR;return e.constructor===ArrayBuffer&&(e=new Uint8Array(e)),Array.isArray(e)||ArrayBuffer.isView(e)||e.constructor===Buffer?crypto.createHash("md5").update(new Buffer(e)).digest("hex"):method(e)};return nodeMethod};function Md5(e){if(e)blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks,this.buffer8=buffer8;else if(ARRAY_BUFFER){var o=new ArrayBuffer(68);this.buffer8=new Uint8Array(o),this.blocks=new Uint32Array(o)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}Md5.prototype.update=function(e){if(!this.finalized){var o,r=typeof e;if(r!=="string"){if(r==="object"){if(e===null)throw ERROR;if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(e)))throw ERROR}else throw ERROR;o=!0}for(var t,i=0,s,a=e.length,n=this.blocks,f=this.buffer8;i<a;){if(this.hashed&&(this.hashed=!1,n[0]=n[16],n[16]=n[1]=n[2]=n[3]=n[4]=n[5]=n[6]=n[7]=n[8]=n[9]=n[10]=n[11]=n[12]=n[13]=n[14]=n[15]=0),o)if(ARRAY_BUFFER)for(s=this.start;i<a&&s<64;++i)f[s++]=e[i];else for(s=this.start;i<a&&s<64;++i)n[s>>2]|=e[i]<<SHIFT[s++&3];else if(ARRAY_BUFFER)for(s=this.start;i<a&&s<64;++i)t=e.charCodeAt(i),t<128?f[s++]=t:t<2048?(f[s++]=192|t>>6,f[s++]=128|t&63):t<55296||t>=57344?(f[s++]=224|t>>12,f[s++]=128|t>>6&63,f[s++]=128|t&63):(t=65536+((t&1023)<<10|e.charCodeAt(++i)&1023),f[s++]=240|t>>18,f[s++]=128|t>>12&63,f[s++]=128|t>>6&63,f[s++]=128|t&63);else for(s=this.start;i<a&&s<64;++i)t=e.charCodeAt(i),t<128?n[s>>2]|=t<<SHIFT[s++&3]:t<2048?(n[s>>2]|=(192|t>>6)<<SHIFT[s++&3],n[s>>2]|=(128|t&63)<<SHIFT[s++&3]):t<55296||t>=57344?(n[s>>2]|=(224|t>>12)<<SHIFT[s++&3],n[s>>2]|=(128|t>>6&63)<<SHIFT[s++&3],n[s>>2]|=(128|t&63)<<SHIFT[s++&3]):(t=65536+((t&1023)<<10|e.charCodeAt(++i)&1023),n[s>>2]|=(240|t>>18)<<SHIFT[s++&3],n[s>>2]|=(128|t>>12&63)<<SHIFT[s++&3],n[s>>2]|=(128|t>>6&63)<<SHIFT[s++&3],n[s>>2]|=(128|t&63)<<SHIFT[s++&3]);this.lastByteIndex=s,this.bytes+=s-this.start,s>=64?(this.start=s-64,this.hash(),this.hashed=!0):this.start=s}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Md5.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,o=this.lastByteIndex;e[o>>2]|=EXTRA[o&3],o>=56&&(this.hashed||this.hash(),e[0]=e[16],e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.bytes<<3,e[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},Md5.prototype.hash=function(){var e,o,r,t,i,s,a=this.blocks;this.first?(e=a[0]-680876937,e=(e<<7|e>>>25)-271733879<<0,t=(-1732584194^e&2004318071)+a[1]-117830708,t=(t<<12|t>>>20)+e<<0,r=(-271733879^t&(e^-271733879))+a[2]-1126478375,r=(r<<17|r>>>15)+t<<0,o=(e^r&(t^e))+a[3]-1316259209,o=(o<<22|o>>>10)+r<<0):(e=this.h0,o=this.h1,r=this.h2,t=this.h3,e+=(t^o&(r^t))+a[0]-680876936,e=(e<<7|e>>>25)+o<<0,t+=(r^e&(o^r))+a[1]-389564586,t=(t<<12|t>>>20)+e<<0,r+=(o^t&(e^o))+a[2]+606105819,r=(r<<17|r>>>15)+t<<0,o+=(e^r&(t^e))+a[3]-1044525330,o=(o<<22|o>>>10)+r<<0),e+=(t^o&(r^t))+a[4]-176418897,e=(e<<7|e>>>25)+o<<0,t+=(r^e&(o^r))+a[5]+1200080426,t=(t<<12|t>>>20)+e<<0,r+=(o^t&(e^o))+a[6]-1473231341,r=(r<<17|r>>>15)+t<<0,o+=(e^r&(t^e))+a[7]-45705983,o=(o<<22|o>>>10)+r<<0,e+=(t^o&(r^t))+a[8]+1770035416,e=(e<<7|e>>>25)+o<<0,t+=(r^e&(o^r))+a[9]-1958414417,t=(t<<12|t>>>20)+e<<0,r+=(o^t&(e^o))+a[10]-42063,r=(r<<17|r>>>15)+t<<0,o+=(e^r&(t^e))+a[11]-1990404162,o=(o<<22|o>>>10)+r<<0,e+=(t^o&(r^t))+a[12]+1804603682,e=(e<<7|e>>>25)+o<<0,t+=(r^e&(o^r))+a[13]-40341101,t=(t<<12|t>>>20)+e<<0,r+=(o^t&(e^o))+a[14]-1502002290,r=(r<<17|r>>>15)+t<<0,o+=(e^r&(t^e))+a[15]+1236535329,o=(o<<22|o>>>10)+r<<0,e+=(r^t&(o^r))+a[1]-165796510,e=(e<<5|e>>>27)+o<<0,t+=(o^r&(e^o))+a[6]-1069501632,t=(t<<9|t>>>23)+e<<0,r+=(e^o&(t^e))+a[11]+643717713,r=(r<<14|r>>>18)+t<<0,o+=(t^e&(r^t))+a[0]-373897302,o=(o<<20|o>>>12)+r<<0,e+=(r^t&(o^r))+a[5]-701558691,e=(e<<5|e>>>27)+o<<0,t+=(o^r&(e^o))+a[10]+38016083,t=(t<<9|t>>>23)+e<<0,r+=(e^o&(t^e))+a[15]-660478335,r=(r<<14|r>>>18)+t<<0,o+=(t^e&(r^t))+a[4]-405537848,o=(o<<20|o>>>12)+r<<0,e+=(r^t&(o^r))+a[9]+568446438,e=(e<<5|e>>>27)+o<<0,t+=(o^r&(e^o))+a[14]-1019803690,t=(t<<9|t>>>23)+e<<0,r+=(e^o&(t^e))+a[3]-187363961,r=(r<<14|r>>>18)+t<<0,o+=(t^e&(r^t))+a[8]+1163531501,o=(o<<20|o>>>12)+r<<0,e+=(r^t&(o^r))+a[13]-1444681467,e=(e<<5|e>>>27)+o<<0,t+=(o^r&(e^o))+a[2]-51403784,t=(t<<9|t>>>23)+e<<0,r+=(e^o&(t^e))+a[7]+1735328473,r=(r<<14|r>>>18)+t<<0,o+=(t^e&(r^t))+a[12]-1926607734,o=(o<<20|o>>>12)+r<<0,i=o^r,e+=(i^t)+a[5]-378558,e=(e<<4|e>>>28)+o<<0,t+=(i^e)+a[8]-2022574463,t=(t<<11|t>>>21)+e<<0,s=t^e,r+=(s^o)+a[11]+1839030562,r=(r<<16|r>>>16)+t<<0,o+=(s^r)+a[14]-35309556,o=(o<<23|o>>>9)+r<<0,i=o^r,e+=(i^t)+a[1]-1530992060,e=(e<<4|e>>>28)+o<<0,t+=(i^e)+a[4]+1272893353,t=(t<<11|t>>>21)+e<<0,s=t^e,r+=(s^o)+a[7]-155497632,r=(r<<16|r>>>16)+t<<0,o+=(s^r)+a[10]-1094730640,o=(o<<23|o>>>9)+r<<0,i=o^r,e+=(i^t)+a[13]+681279174,e=(e<<4|e>>>28)+o<<0,t+=(i^e)+a[0]-358537222,t=(t<<11|t>>>21)+e<<0,s=t^e,r+=(s^o)+a[3]-722521979,r=(r<<16|r>>>16)+t<<0,o+=(s^r)+a[6]+76029189,o=(o<<23|o>>>9)+r<<0,i=o^r,e+=(i^t)+a[9]-640364487,e=(e<<4|e>>>28)+o<<0,t+=(i^e)+a[12]-421815835,t=(t<<11|t>>>21)+e<<0,s=t^e,r+=(s^o)+a[15]+530742520,r=(r<<16|r>>>16)+t<<0,o+=(s^r)+a[2]-995338651,o=(o<<23|o>>>9)+r<<0,e+=(r^(o|~t))+a[0]-198630844,e=(e<<6|e>>>26)+o<<0,t+=(o^(e|~r))+a[7]+1126891415,t=(t<<10|t>>>22)+e<<0,r+=(e^(t|~o))+a[14]-1416354905,r=(r<<15|r>>>17)+t<<0,o+=(t^(r|~e))+a[5]-57434055,o=(o<<21|o>>>11)+r<<0,e+=(r^(o|~t))+a[12]+1700485571,e=(e<<6|e>>>26)+o<<0,t+=(o^(e|~r))+a[3]-1894986606,t=(t<<10|t>>>22)+e<<0,r+=(e^(t|~o))+a[10]-1051523,r=(r<<15|r>>>17)+t<<0,o+=(t^(r|~e))+a[1]-2054922799,o=(o<<21|o>>>11)+r<<0,e+=(r^(o|~t))+a[8]+1873313359,e=(e<<6|e>>>26)+o<<0,t+=(o^(e|~r))+a[15]-30611744,t=(t<<10|t>>>22)+e<<0,r+=(e^(t|~o))+a[6]-1560198380,r=(r<<15|r>>>17)+t<<0,o+=(t^(r|~e))+a[13]+1309151649,o=(o<<21|o>>>11)+r<<0,e+=(r^(o|~t))+a[4]-145523070,e=(e<<6|e>>>26)+o<<0,t+=(o^(e|~r))+a[11]-1120210379,t=(t<<10|t>>>22)+e<<0,r+=(e^(t|~o))+a[2]+718787259,r=(r<<15|r>>>17)+t<<0,o+=(t^(r|~e))+a[9]-343485551,o=(o<<21|o>>>11)+r<<0,this.first?(this.h0=e+1732584193<<0,this.h1=o-271733879<<0,this.h2=r-1732584194<<0,this.h3=t+271733878<<0,this.first=!1):(this.h0=this.h0+e<<0,this.h1=this.h1+o<<0,this.h2=this.h2+r<<0,this.h3=this.h3+t<<0)},Md5.prototype.hex=function(){this.finalize();var e=this.h0,o=this.h1,r=this.h2,t=this.h3;return HEX_CHARS[e>>4&15]+HEX_CHARS[e&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[o&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[r&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[t&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]},Md5.prototype.toString=Md5.prototype.hex,Md5.prototype.digest=function(){this.finalize();var e=this.h0,o=this.h1,r=this.h2,t=this.h3;return[e&255,e>>8&255,e>>16&255,e>>24&255,o&255,o>>8&255,o>>16&255,o>>24&255,r&255,r>>8&255,r>>16&255,r>>24&255,t&255,t>>8&255,t>>16&255,t>>24&255]},Md5.prototype.array=Md5.prototype.digest,Md5.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(16),o=new Uint32Array(e);return o[0]=this.h0,o[1]=this.h1,o[2]=this.h2,o[3]=this.h3,e},Md5.prototype.buffer=Md5.prototype.arrayBuffer,Md5.prototype.base64=function(){for(var e,o,r,t="",i=this.array(),s=0;s<15;)e=i[s++],o=i[s++],r=i[s++],t+=BASE64_ENCODE_CHAR[e>>>2]+BASE64_ENCODE_CHAR[(e<<4|o>>>4)&63]+BASE64_ENCODE_CHAR[(o<<2|r>>>6)&63]+BASE64_ENCODE_CHAR[r&63];return e=i[s],t+=BASE64_ENCODE_CHAR[e>>>2]+BASE64_ENCODE_CHAR[e<<4&63]+"==",t};var exports=createMethod();COMMON_JS?module.exports=exports:root.md5=exports})()})(md5);const imouplayer_css_vue_type_style_index_0_src_true_lang="",index_vue_vue_type_style_index_1_scoped_e75771f5_lang="",index_vue_vue_type_style_index_2_lang="",_withScopeId=e=>(pushScopeId("data-v-e75771f5"),e=e(),popScopeId(),e),_hoisted_1={class:"fatherDiv"},_hoisted_2={class:"tabulation"},_hoisted_3={class:"tabulationCente"},_hoisted_4={class:"left"},_hoisted_5={style:{color:"rgba(100, 195, 164, 1)"}},_hoisted_6={key:0},_hoisted_7={key:0,class:"inline"},_hoisted_8={key:1,class:"inlines"},_hoisted_9={class:"freckle"},_hoisted_10={class:"chartModeFather"},_hoisted_11={class:"tableBox"},_hoisted_12={key:0},_hoisted_13={key:1},_hoisted_14=["onClick"],_hoisted_15={class:"example-pagination-block"},_hoisted_16={class:"centent"},_hoisted_17={key:0},_hoisted_18=_withScopeId(()=>createBaseVNode("img",{style:{width:"300%"},src:_imports_0},null,-1)),_hoisted_19=[_hoisted_18],_hoisted_20={key:1},_hoisted_21=_withScopeId(()=>createBaseVNode("img",{style:{width:"300%"},src:_imports_1},null,-1)),_hoisted_22=[_hoisted_21],_hoisted_23={class:"cesiumContainersDiv"},_hoisted_24=_withScopeId(()=>createBaseVNode("div",{id:"cesiumContainers",class:"detailed"},null,-1)),_hoisted_25=[_hoisted_24],_hoisted_26=_withScopeId(()=>createBaseVNode("div",{id:"myVideo",style:{width:"100%",height:"100%"}},null,-1)),_hoisted_27={id:"myVideo",style:{width:"100%",height:"100%"}},_hoisted_28=["src"],_sfc_main={__name:"index",setup(e){let o=L.Map,r=ref([]);ref({});let t=ref([]);ref("");let i=ref("\u5168\u90E8"),s=ref([]);const a=ref(!1),n=ref(!1);let f=ref({yearMonth:"",flag:"",divisions:""}),b=ref(!1),y=ref(1),v=ref(18),C=null;const F=ref({});let R=ref(""),H=ref([]);const m=reactive({videoSrc:"http://cmgw-vpc.lechange.com:8888/LCO/9C023C5FACFE48F/0/1/20230530T033445/a44e6e04b0608347f0209ab2b25aa258.m3u8"});onMounted(()=>{w(),N(),B(),A()}),onUpdated(()=>{window.document.querySelector(".mode")&&(document.querySelector(".mode").style.display="none"),window.document.querySelector("#screenfull")&&(window.document.querySelector("#screenfull").style.display="none")});const N=()=>{o=L.map("cesiumContainers",{center:[36.4,119.166326],zoom:7,zoomControl:!1,doubleClickZoom:!1,attributionControl:!1,maxZoom:16,crs:serverAPI.flag?L.CRS.EPSG4326:L.CRS.EPSG3857});let l=null,c=null;serverAPI.flag?(l=L.tileLayer(serverAPI.tiandituLayers,{maxZoom:20,tileSize:256,zoomOffset:1}),c=L.tileLayer(serverAPI.tiandituzhuji,{maxZoom:20,tileSize:256,zoomOffset:1})):(l=L.tileLayer(serverAPI.tiandituLayers,{}),c=L.tileLayer(serverAPI.tiandituzhuji,{})),l.addTo(o),c.addTo(o),L.Util.requestAnimFrame(o.invalidateSize,o,!1,o._container)},w=()=>{getTreeData({divisions:window.localStorage.getItem("deptName")}).then(l=>{l.data.forEach(c=>{t.value.push(c)})})},B=l=>{let c;getCameraName({name:l}).then(_=>{_.data.forEach((d,u)=>{C=L.latLng(d.latitude,d.longitude),o.setView(C,17),L.marker([d.latitude,d.longitude],{icon:O}).addTo(o).bindPopup(`<b>${d.cameraName}</b><br><br>\u7ECF\u5EA6:${d.longitude}<br><br>\u7EAC\u5EA6:${d.latitude}<br/><p><button class="play-button" style='width:100px;'>\u64AD\u653E</button></p>`).openPopup().on("popupopen",function(h){h.popup.getElement().querySelector(".play-button").addEventListener("click",function(){E(d),L.DomEvent.stopPropagation(h),h=h})}),u==_.data.length-1&&setTimeout(()=>{document.querySelector(".play-button").addEventListener("click",function(){E(d),L.DomEvent.stopPropagation(c)})},1e3)})})},A=l=>{getCameraNameS({town:l}).then(c=>{console.log(c),r.value=c.data,F.value.children!==null&&(s.value=c.data.slice((y.value-1)*v.value,y.value*v.value))})},g=l=>{y.value=l,s.value=r.value.slice((y.value-1)*v.value,y.value*v.value)},k=(l,c,_,d)=>{let u=c.parent.data;i.value=l.label,f.value.flag="",F.value=l,B(i.value),u.label?A(u.label):(console.log(),A(l.label))};ref(""),ref(""),ref(""),ref(""),ref(0),ref(1),ref(null);let E=l=>{console.log(l);let c=l.hdStreaming,_=new URL(c).hostname;_=="cmgw-vpc.lechange.com"?(R.value=l.cameraName,m.videoSrc=l.hdStreaming,a.value=!0,getQuery({name:l.cameraName}).then(d=>{getSxtbf({deviceId:d.data[0].deviceId}).then(u=>{let x=new imouPlayer({id:"myVideo",deviceId:d.data[0].deviceId,token:u.data.kitToken,channelId:0,type:1,streamId:0,recordType:"cloud",code:""});x.on("play",h=>{console.log("\u5F00\u59CB\u64AD\u653E play",h)}),x.on("pause",()=>{console.log("\u64AD\u653E\u5668\u6682\u505C pause")}),x.on("error",h=>{console.log("\u64AD\u653E\u5668\u9519\u8BEF error",h)}),x.on("volume",h=>{console.log("\u58F0\u97F3\u63A7\u5236",h)}),x.on("talk",h=>{console.log("\u5BF9\u8BB2 talk",h)})}).catch(u=>{console.log(u)})})):_=="qd.wiimedia.cn"&&(n.value=!0,R.value=l.cameraName,m.videoSrc=l.hdStreaming)};const V=l=>{const c=y.value,_=v.value;return l+1+(c-1)*_};var I=L.Icon.extend({options:{iconSize:[50,50],shadowSize:[50,64],iconAnchor:[22,94],shadowAnchor:[4,62],popupAnchor:[0,-86]}}),O=new I({iconUrl:iconShadow});const M=()=>{b.value=!b.value};return(l,c)=>{const _=resolveComponent("el-tree"),d=resolveComponent("el-table-column"),u=resolveComponent("el-table"),x=resolveComponent("el-pagination"),h=resolveComponent("el-dialog");return openBlock(),createElementBlock("div",_hoisted_1,[createBaseVNode("div",_hoisted_2,[createBaseVNode("div",_hoisted_3,[createBaseVNode("div",_hoisted_4,[createBaseVNode("p",null,[createTextVNode(" \u5F53\u524D\u9009\u62E9 \uFF1A "),createBaseVNode("span",_hoisted_5,toDisplayString(unref(i)),1)]),createVNode(_,{data:unref(t),props:l.defaultProps,"node-key":"id","default-expanded-keys":unref(H),onNodeClick:k},{default:withCtx(({node:p,data:S})=>[createBaseVNode("span",null,toDisplayString(S.label),1),S.children?createCommentVNode("",!0):(openBlock(),createElementBlock("span",_hoisted_6,[createTextVNode(" ( "),S.state=="\u5728\u7EBF"?(openBlock(),createElementBlock("span",_hoisted_7)):(openBlock(),createElementBlock("span",_hoisted_8)),createTextVNode(" ) ")]))]),_:1},8,["data","props","default-expanded-keys"])]),createBaseVNode("div",_hoisted_9,[createBaseVNode("div",_hoisted_10,[createBaseVNode("div",_hoisted_11,[createVNode(u,{data:unref(s),"header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},"header-row-class-name":"tabth",height:"calc(100vh - 200px)","highlight-current-row":""},{default:withCtx(()=>[createVNode(d,{type:"index",width:"80",label:"\u5E8F\u53F7",index:V}),createVNode(d,{prop:"village",label:"\u4F4D\u7F6E",width:"180"}),createVNode(d,{prop:"cameraName",label:"\u6444\u50CF\u5934\u540D\u79F0",width:"180"}),createVNode(d,{prop:"flag",label:"\u7F29\u653E",width:"180"},{default:withCtx(p=>[p.row.flag==3?(openBlock(),createElementBlock("span",_hoisted_12,"\u662F")):(openBlock(),createElementBlock("span",_hoisted_13,"\u5426"))]),_:1}),createVNode(d,{label:"\u64CD\u4F5C"},{default:withCtx(p=>[createBaseVNode("span",{style:{color:"rgba(100, 195, 164, 1)",cursor:"pointer"},onClick:S=>unref(E)(p.row)}," \u64AD\u653E ",8,_hoisted_14)]),_:1})]),_:1},8,["data"]),createBaseVNode("div",_hoisted_15,[createTextVNode(" \u5171"+toDisplayString(unref(r).length)+"\u6761 ",1),createVNode(x,{background:"",layout:"prev, pager, next",total:unref(r).length,"current-page":unref(y),"page-size":unref(v),onCurrentChange:g},null,8,["total","current-page","page-size"])])])])]),createBaseVNode("div",_hoisted_16,[createBaseVNode("div",{class:"arrow",onClick:M},[unref(b)?createCommentVNode("",!0):(openBlock(),createElementBlock("p",_hoisted_17,_hoisted_19)),unref(b)?(openBlock(),createElementBlock("p",_hoisted_20,_hoisted_22)):createCommentVNode("",!0)])]),withDirectives(createBaseVNode("div",_hoisted_23,_hoisted_25,512),[[vShow,!unref(b)]])]),createVNode(h,{modelValue:a.value,"onUpdate:modelValue":c[0]||(c[0]=p=>a.value=p),"append-to-body":"",class:"video","destroy-on-close":"",title:"\u5B9E\u65F6\u76D1\u63A7",width:"40%","before-close":l.handleClose},{default:withCtx(()=>[_hoisted_26]),_:1},8,["modelValue","before-close"]),createVNode(h,{modelValue:n.value,"onUpdate:modelValue":c[1]||(c[1]=p=>n.value=p),"append-to-body":"",class:"video","destroy-on-close":"",title:"\u5B9E\u65F6\u76D1\u63A7",width:"40%","before-close":l.handleClose},{default:withCtx(()=>[createBaseVNode("div",_hoisted_27,[createBaseVNode("iframe",{src:m.videoSrc,width:"100%",height:"100%"},null,8,_hoisted_28)])]),_:1},8,["modelValue","before-close"])])])}}},index=_export_sfc(_sfc_main,[["__scopeId","data-v-e75771f5"]]);export{index as default};
|