(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-commons"],{"04fb7":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"btm-box"},[n("img",{staticClass:"light",attrs:{src:a("cd55")}}),n("div",{staticClass:"btm-left",class:t.btmTipIndent},[t._m(0),t._m(1),t._m(2),t._m(3),t._m(4),t._m(5),n("div",{staticClass:"btm-legend",on:{click:t.btmIndent}},[n("span",[t._v("图例")]),"btm-tip-to-right"!==this.btmTipIndent?n("i",{staticClass:"el-icon-caret-right"}):t._e(),"btm-tip-to-right"==this.btmTipIndent?n("i",{staticClass:"el-icon-caret-left"}):t._e()])]),n("div",{staticClass:"bottom-menu-normal"},t._l(t.fastMenu,(function(e,a){return n("div",{key:a,staticClass:"btm-m-con",on:{click:function(a){return a.stopPropagation(),t.showDialog(e.click)}}},[n("a",[n("i",{class:e.icon}),t._v(t._s(e.name)+" "),t.showChild&&"layerSwitching"==e.click?n("div",{staticClass:"nav-child"},[n("el-button",{staticClass:"nav-child-btn",attrs:{type:"primary",plain:""},on:{click:function(e){return e.stopPropagation(),t.choseLayerSwitching("http://121.37.83.100:8090/iserver/services/map-sipingshi/rest/maps/tiedong_lunkuo")}}},[t._v("铁东")]),n("el-button",{staticClass:"nav-child-btn",attrs:{type:"primary",plain:""},on:{click:function(e){return e.stopPropagation(),t.choseLayerSwitching("http://121.37.83.100:8090/iserver/services/map-sipingshi/rest/maps/tiexi_lunkuo")}}},[t._v("铁西")])],1):t._e()])])})),0),n("div",{staticClass:"btm-right"},[n("el-badge",{attrs:{value:12}},[n("el-button",{attrs:{size:"small",icon:"el-icon-bank-card"}},[t._v("任务")])],1),n("el-badge",{attrs:{value:3}},[n("el-button",{attrs:{size:"small",icon:"el-icon-chat-line-round"}},[t._v("消息")])],1),n("el-badge",{attrs:{value:1,type:"primary"}},[n("el-button",{attrs:{size:"small",icon:"el-icon-bell"}},[t._v("警报")])],1),n("el-badge",{attrs:{type:"warning"}},[n("el-button",{attrs:{size:"small",icon:"el-icon-refresh-right"}},[t._v("刷新")])],1)],1)])},i=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"btm-left-tip"},[a("div",{staticClass:"btm-left-block btm-left-state-c1"}),t._v("新上报 ")])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"btm-left-tip"},[a("div",{staticClass:"btm-left-block btm-left-state-c2"}),t._v("催办 ")])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"btm-left-tip"},[a("div",{staticClass:"btm-left-block btm-left-state-c3"}),t._v("已签收 ")])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"btm-left-tip"},[a("div",{staticClass:"btm-left-block btm-left-state-c4"}),t._v("联动 ")])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"btm-left-tip"},[a("div",{staticClass:"btm-left-block btm-left-state-c5"}),t._v("办结 ")])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"btm-left-tip"},[a("div",{staticClass:"btm-left-block btm-left-state-c6"}),t._v("填报 ")])}],s={data:function(){return{btmTipIndent:"",eventLocationVisible:!1,showChild:!1,fastMenu:[{name:"事件定位",icon:"iconfont sj-icon-sjdw",click:"eventLocation"},{name:"图层切换",icon:"iconfont sj-icon-tcqh",click:"layerSwitching"},{name:"测量工具",icon:"iconfont sj-icon-clgj",click:"editableLayers"},{name:"林班",icon:"iconfont sj-icon-lbzy",click:""},{name:"林场",icon:"iconfont sj-icon-lczy",click:""},{name:"电视墙",icon:"el-icon-s-grid",click:"TVWall"}]}},methods:{showDialog:function(t){window.showDialog(t)},choseLayerSwitching:function(t){window.choseLayerSwitching(t)},btmIndent:function(){""==this.btmTipIndent?this.btmTipIndent="btm-tip-to-right":"btm-tip-to-right"==this.btmTipIndent&&(this.btmTipIndent="")}}},o=s,l=(a("a6b8"),a("2877")),r=Object(l["a"])(o,n,i,!1,null,"fbba8278",null);e["a"]=r.exports},1625:function(t,e,a){},"1dfe":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"header"},[n("Clock"),n("a",{staticClass:"title",attrs:{href:"/integrated/index"}},[n("h3",[n("img",{staticClass:"logo",attrs:{src:a("5fc6")}}),t._v("通榆县乡村振兴监管平台 "+t._s(t.titlename)+" ")])]),n("div",{staticClass:"bignav"},[n("img",{attrs:{src:a("2f41")}}),t._l(t.navbar,(function(e,a){return n("router-link",{key:a+"1",staticClass:"bignav-list",attrs:{to:e.path,exact:""}},[n("a",[t._v(t._s(e.meta.title))])])})),n("img",{attrs:{src:a("21cc")}})],2),n("VfastMenu")],1)},i=[],s=(a("fb6a"),a("a18c")),o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"header-left"},[a("div",{staticClass:"date"},[a("div",{staticClass:"day m-r-10"},[a("span",[t._v(t._s(t.today))]),a("span",[t._v(t._s(t.time))])]),a("div",{staticClass:"week m-r-10"},[t._v(t._s(t.weekC))])])])},l=[],r=new Date,c=r.getMonth()<9?"0"+(r.getMonth()+1):r.getMonth()+1,d=r.getDate()<=9?"0"+r.getDate():r.getDate(),u=r.getDay(),p=new Array("周日","周一","周二","周三","周四","周五","周六"),v=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"),m={created:function(){},data:function(){return{today:r.getFullYear()+"."+c+"."+d,weekE:v[u].toUpperCase(),weekC:p[u],time:r.toTimeString().substring(0,8),weatherInfo:{weather:"阴",wind:"东北风",fireTit:"火险等级",fireLevel:"一级"}}},mounted:function(){this.init()},methods:{init:function(){var t=this;this.interval=setInterval((function(){var e=new Date,a=e.getMonth()<9?"0"+(e.getMonth()+1):e.getMonth()+1,n=e.getDate()<=9?"0"+e.getDate():e.getDate(),i=e.getDay(),s=new Array("周日","周一","周二","周三","周四","周五","周六"),o=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");t.today=e.getFullYear()+"."+a+"."+n,t.weekC=s[i],t.weekE=o[i].toUpperCase(),t.time=e.toTimeString().substring(0,8)}),1e3)}},beforeDestroy:function(){clearInterval(this.interval)}},h=m,g=(a("d84b"),a("2877")),f=Object(g["a"])(h,o,l,!1,null,"6e5978a6",null),b=f.exports,y=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"fast-menu"},[n("div",{staticClass:"menu-list"},[n("el-popover",{attrs:{placement:"top-start",trigger:"hover",width:"300px"}},[n("div",{staticClass:"user-tip"},[n("div",{staticClass:"u-tip-1"},[n("img",{attrs:{src:a("f4f6")}}),n("div",{staticClass:"user-info"},[n("div",{staticClass:"user-name"},[n("h2",[t._v("张三")]),n("span",[t._v("某某部门")])]),n("div",{staticClass:"phone-number"},[t._v("18686688888")])])]),n("div",{staticStyle:{"margin-bottom":"1rem"}},[n("el-button",{attrs:{type:"primary",size:"small"}},[t._v("修改密码")]),n("el-button",{attrs:{type:"warning",size:"small"}},[t._v("退出登录")])],1),n("a",{staticStyle:{"border-top":"1px solid #334780"},attrs:{href:"#"}},[n("i",{staticClass:"el-icon-s-home"}),t._v("返回首页")]),n("a",{attrs:{href:"#"}},[n("i",{staticClass:"el-icon-monitor"}),t._v("管理系统")])]),n("div",{staticStyle:{"text-align":"center",width:"4rem",height:"3rem"},attrs:{slot:"reference"},slot:"reference"},[n("img",{attrs:{src:a("6121")}})])])],1)])},w=[],L={data:function(){return{visible:!1}},methods:{backToMainPage:function(){var t=window.location.href,e=(t.substr(0,t.indexOf("://")+3),t.lastIndexOf(":")>6?t.lastIndexOf(":"):t.lastIndexOf("/")),a=(t.substr(t.indexOf("://")+3,e),t.substr(0,e)),n=a+":15001/index58";window.location.href=n}},computed:{}},C=L,_=(a("b611"),Object(g["a"])(C,y,w,!1,null,null,null)),k=_.exports,S={components:{VfastMenu:k,Clock:b},created:function(){this.navbar},data:function(){return{}},methods:{},computed:{titlename:function(){return this.$route.meta.title},navbar:function(){return s["a"].slice(1)}}},T=S,P=(a("62cc"),Object(g["a"])(T,n,i,!1,null,"5f5e165c",null));e["a"]=P.exports},"2f6e":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{ref:"map",staticStyle:{width:"100%",height:"100%",background:"none"},attrs:{id:t.mapDivId}},[t.dynamicPlotting?a("div",{staticClass:"panel panel-primary",staticStyle:{position:"absolute","z-index":"9999","border-radius":"4px",width:"30vh",height:"40vh","overflow-y":"auto"},attrs:{id:"toolbar"}},[t._m(0),a("div",{staticClass:"panel-body content",attrs:{id:"panelbodycontent"}},[a("div",{staticClass:"button-group",attrs:{align:"right"}},[a("el-button",{attrs:{type:"success"},on:{click:t.PlottingDrawCancel}},[t._v("取消标绘")]),t._v(" "),a("el-button",{attrs:{type:"success"},on:{click:t.clearLayers}},[t._v("清空标绘")])],1)]),t._m(1)]):t._e()])},i=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"panel-heading",attrs:{id:"panelheading"}},[a("h5",{staticClass:"panel-title text-center",staticStyle:{color:"#ffffff","font-size":"16px"}},[t._v("鼠标标绘")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"plottingPanel"}},[a("div",{staticClass:"easyui-panel"},[a("div",{staticClass:"easyui-tabs"},[a("div",{staticStyle:{width:"20vh",height:"30vh","overflow-y":"auto"},attrs:{id:"plotPanel"}},[t._v("标绘面板")])])])])}],s=a("c7eb"),o=a("1da1"),l=(a("d81d"),a("b680"),a("450c")),r=a("860d"),c={name:"sookaSuperMap",data:function(){return{plottingdrawControl:null,plottingLayer:null,mapDivId:"",map:null,layers:[],isAggregationLayers:[],radiusLayers:[],myGroup:[],isAggregationMyGroup:[],polygon:null,connectLayer:[],connectLayerTwo:[],graphicsLayer:[],latLngLayers:[],latLngGroup:[],isEditableLayers:!1,drawControl:null,deckglLayer:null}},watch:{isEditableLayers:{handler:function(t,e){if(t){var a=new window.L.FeatureGroup;this.map.addLayer(a);var n={position:"topleft",draw:{polyline:{},polygon:{},circle:{},rectangle:{},marker:{},remove:{}},edit:{featureGroup:a,remove:!0}};this.drawControl=new window.L.Control.Draw(n),this.map.addControl(this.drawControl),this.map.on(window.L.Draw.Event.CREATED,(function(t){var e=t.layer,n=t.layerType;if(e.on("dblclick",(function(t){if("polygon"===n||"rectangle"===n){var a=e.getLatLngs()[0],i=window.L.GeometryUtil.geodesicArea(a),s=(i/1e6).toFixed(2)+"k㎡";r["a"].msg(s)}else if("polyline"===n){for(var o=e.getLatLngs(),l=0,c=0;cError: shape edges cannot cross!",tooltip:{start:"点击开始画线",cont:"点击继续画线",end:"单击最后一点以完成线"}},rectangle:{tooltip:{start:"单击并拖动以绘制矩形"}},simpleshape:{tooltip:{end:"释放鼠标完成绘图"}}},window.L.drawLocal.edit={toolbar:{actions:{save:{title:"保存更改",text:"保存"},cancel:{title:"取消编辑,放弃所有更改",text:"取消"},clearAll:{title:"清除所有图层",text:"清除所有"}},buttons:{edit:"编辑图层",editDisabled:"没有可编辑的图层",remove:"删除图层",removeDisabled:"没有可删除的图层"}},handlers:{edit:{tooltip:{text:"拖动手柄或标记以编辑要素",subtext:"单击取消以撤消更改"}},remove:{tooltip:{text:"单击要删除的功能"}}}}},props:{mapDiv:null,codes:null,mapSite:{},dynamicPlotting:!1,isSideBySide:null,showLatLng:null,showAreaLatLng:null,showLineLatLng:null},methods:{clearM:function(){var t=Object(o["a"])(Object(s["a"])().mark((function t(e){return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e?(void 0!=this.isAggregationMyGroup&&0!=this.isAggregationMyGroup&&this.isAggregationMyGroup.clearLayers(),this.map.removeLayer(this.isAggregationLayers),this.isAggregationLayers=[],this.radiusLayers=[],this.isAggregationLayers=window.L.markerClusterGroup({showCoverageOnHover:!0,zoomToBoundsOnClick:!0,animateAddingMarkers:!0,spiderfyOnMaxZoom:!0})):(void 0!=this.myGroup&&0!=this.myGroup&&this.myGroup.clearLayers(),this.layers=[]);case 1:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),clearC:function(){var t=Object(o["a"])(Object(s["a"])().mark((function t(){return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:void 0!=this.connectLayer&&0!=this.connectLayer&&this.connectLayer.clearLayers(),this.connectLayer=[];case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),clearCTwo:function(){var t=Object(o["a"])(Object(s["a"])().mark((function t(){return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:void 0!=this.connectLayerTwo&&0!=this.connectLayerTwo&&this.connectLayerTwo.clearLayers(),this.connectLayerTwo=[];case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),clearG:function(){var t=Object(o["a"])(Object(s["a"])().mark((function t(){return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:void 0!=this.graphicsLayer&&0!=this.graphicsLayer&&this.graphicsLayer.clearLayers(),this.graphicsLayer=[];case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),clearP:function(){var t=Object(o["a"])(Object(s["a"])().mark((function t(){return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:void 0!=this.latLngGroup&&0!=this.latLngGroup&&this.latLngGroup.clearLayers(),this.latLngLayers=[];case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),initMap:function(){var t=this,e=this;this.mapDivId=this.mapDiv;var a=this.mapSite,n=this.isSideBySide,i=this.dynamicPlotting;if(e.isAggregationLayers=window.L.markerClusterGroup({showCoverageOnHover:!0,zoomToBoundsOnClick:!0,animateAddingMarkers:!0,spiderfyOnMaxZoom:!0}),n){if(2!=this.codes.length)return void r["a"].msgError("请输入两个地图code!");Object(l["a"])(this.codes).then((function(n){var i=n.data;if(null!=i&&2==i.length){var s=i[0].url,o=i[1].url,r=i[0].centerLat,c=i[0].centerLng,d=i[0].zoom,u=i[0].maxZoom,p=i[0].minZoom,v=null==i[0].zoomControl||i[0].zoomControl,m=null==i[0].attributionControl||i[0].attributionControl,h=null!=i[0].logoControl&&i[0].logoControl,g=null==i[0].dragging||i[0].dragging,f={crs:window.L.CRS.EPSG4326,center:[r,c],maxZoom:u,minZoom:p,zoom:d,editable:!0,zoomControl:v,attributionControl:m,dragging:g,logoControl:h},b=Object.assign(f,a);if(t.map=window.L.map(t.mapDiv,b),void 0!=t.showLatLng){var y=new window.L.Icon({iconUrl:l["b"]["marker"],iconSize:[48,48],iconAnchor:[24,40],popupAnchor:[-3,-40],shadowSize:[41,41]});t.map.on("dblclick",(function(t){e.clearP(),e.showLatLng(t.latlng.lat,t.latlng.lng);var a=window.L.marker([t.latlng.lat,t.latlng.lng],{icon:y}).addTo(this.map);e.latLngLayers.push(a),e.latLngGroup=window.L.layerGroup(e.latLngLayers),this.map.addLayer(e.latLngGroup)}))}if(void 0!=t.showAreaLatLng){var w=new window.L.FeatureGroup;t.map.addLayer(w);var C={position:"topleft",draw:{polyline:null,polygon:{},circle:null,rectangle:null,circlemarker:null,marker:null,remove:{}},edit:{featureGroup:w,remove:!0}},_=new window.L.Control.Draw(C);t.map.addControl(_),t.map.on(window.L.Draw.Event.CREATED,(function(t){var a=t.layer,n=t.layerType;a.on("dblclick",(function(t){if("polygon"===n||"rectangle"===n){var i=a.getLatLngs()[0];e.showAreaLatLng(i)}})),w.addLayer(a)}))}if(void 0!=t.showLineLatLng){w=new window.L.FeatureGroup;t.map.addLayer(w);var k={position:"topleft",draw:{polyline:{},polygon:null,circle:null,rectangle:null,circlemarker:null,marker:null,remove:{}},edit:{featureGroup:w,remove:!0}};_=new window.L.Control.Draw(k);t.map.addControl(_),t.map.on(window.L.Draw.Event.CREATED,(function(t){var a=t.layer,n=t.layerType;a.on("dblclick",(function(t){if("polyline"===n){var i=a.getLatLngs();e.showLineLatLng(i)}})),w.addLayer(a)}))}var S=window.L.supermap.tiledMapLayer(s).addTo(t.map),T=window.L.supermap.tiledMapLayer(o).addTo(t.map);L.control.sideBySide(S,T).addTo(t.map)}}))}else{if(1!=this.codes.length)return void r["a"].msgError("请输入一个地图code!");Object(l["a"])(this.codes).then((function(n){var s=n.data;if(null!=s&&s.length>0){var o=s[0].url,r=s[0].centerLat,c=s[0].centerLng,d=s[0].zoom,u=s[0].maxZoom,p=s[0].minZoom,v=null==s[0].zoomControl||s[0].zoomControl,m=null==s[0].attributionControl||s[0].attributionControl,h=null!=s[0].logoControl&&s[0].logoControl,g=null==s[0].dragging||s[0].dragging,f={crs:window.L.CRS.EPSG4326,center:[r,c],maxZoom:u,minZoom:p,zoom:d,editable:!0,zoomControl:v,attributionControl:m,dragging:g,logoControl:h},b=Object.assign(f,a);if(t.map=window.L.map(t.mapDiv,b),void 0!=t.showLatLng){var y=new window.L.Icon({iconUrl:l["b"]["marker"],iconSize:[48,48],iconAnchor:[24,40],popupAnchor:[-3,-40],shadowSize:[41,41]});t.map.on("dblclick",(function(t){e.clearP(),e.showLatLng(t.latlng.lat,t.latlng.lng);var a=window.L.marker([t.latlng.lat,t.latlng.lng],{icon:y}).addTo(this.map);e.latLngLayers.push(a),e.latLngGroup=window.L.layerGroup(e.latLngLayers),this.map.addLayer(e.latLngGroup)}))}if(void 0!=t.showAreaLatLng){var w=new window.L.FeatureGroup;t.map.addLayer(w);var L={position:"topleft",draw:{polyline:null,polygon:{},circle:null,rectangle:null,circlemarker:null,marker:null,remove:{}},edit:{featureGroup:w,remove:!0}},C=new window.L.Control.Draw(L);t.map.addControl(C),t.map.on(window.L.Draw.Event.CREATED,(function(t){var a=t.layer,n=t.layerType;a.on("dblclick",(function(t){if("polygon"===n||"rectangle"===n){var i=a.getLatLngs()[0];e.showAreaLatLng(i)}})),w.addLayer(a)}))}if(void 0!=t.showLineLatLng){w=new window.L.FeatureGroup;t.map.addLayer(w);var _={position:"topleft",draw:{polyline:{},polygon:null,circle:null,rectangle:null,circlemarker:null,marker:null,remove:{}},edit:{featureGroup:w,remove:!0}};C=new window.L.Control.Draw(_);t.map.addControl(C),t.map.on(window.L.Draw.Event.CREATED,(function(t){var a=t.layer,n=t.layerType;a.on("dblclick",(function(t){if("polyline"===n){var i=a.getLatLngs();e.showLineLatLng(i)}})),w.addLayer(a)}))}if(window.L.supermap.tiledMapLayer(o).addTo(t.map),i){var k="https://iserver.supermap.io",S=k+"/iserver/services/plot-jingyong/rest/plot/";t.plottingLayer=window.L.supermap.plotting.plottingLayer("plot",S),t.plottingLayer.spatialAnalystUrl=k+"/iserver/services/spatialanalyst-sample/restjsr/spatialanalyst",t.plottingLayer.addTo(t.map),t.plottingdrawControl=window.L.supermap.plotting.drawControl(t.plottingLayer),t.plottingdrawControl.addTo(t.map);var T=window.L.supermap.plotting.editControl();T.addTo(t.map),window.L.supermap.plotting.initPlotPanel("plotPanel",S,t.plottingdrawControl)}}}))}},formatArea:function(t){var e=window.L.GeometryUtil.geodesicArea(t),a=(e/1e6).toFixed(2)+"k㎡";return a},formatLength:function(t){for(var e=0,a=0;a0){for(var n=0;n50&&(i.isAggregation=!0),"event_event_status_1"==a.data[n].eventStatus||"event_event_status_2"==a.data[n].eventStatus||"event_event_status_6"==a.data[n].eventStatus?(i.click="showEventInfo_Processed",i.icon="sj-icon-map-clz"):"event_event_status_4"==a.data[n].eventStatus?(i.click="showEventInfo_notProcessed",i.icon="sj-icon-map-wcl"):i.icon="sj-icon-map-ywc",i.parameter=a.data[n].id,i.lng=a.data[n].longitude,i.lat=a.data[n].latitude,i.bindPopupHtml='

经纬度:'+a.data[n].longitude+","+a.data[n].latitude+'

事件名称:'+a.data[n].eventTitle+'

事件时间:'+a.data[n].reportTime+"

",e.markersList.push(i)}e.eventList=a.data,setTimeout((function(){e.$refs.eventLocationSupermap.clearM(!0),e.$refs.eventLocationSupermap.clearM(!1),e.$refs.eventLocationSupermap.setMarkers(e.markersList),e.$refs.eventLocationSupermap.setMarkers(t)}),1e3)}}))}else this.$modal.msgError("请输入经纬度!")},handleClick:function(t,e){var a=this,n=this;n.$refs.eventLocationSupermap.controlLevel(8);var i=[{lng:this.longitude,lat:this.latitude,icon:"marker",bindPopupHtml:"定位",click:"",parameter:"",keepBindPopup:!1,isAggregation:!1}];if("monitor"==t.name){if(null==this.longitude||""==this.longitude||null==this.latitude||""==this.latitude)return void this.$modal.msgError("请输入经纬度!");n.cameraMarkersList=[],n.cameraList=[],Object(l["f"])(this.longitude,this.latitude).then((function(t){if(n.cameraList=t.data,null!=t.data&&t.data.length>0){for(var e=0;e50&&(s.isAggregation=!0),null!=t.data[e].channelCode?s.parameter=t.data[e].channelCode.split(","):s.parameter=[],s.lng=t.data[e].longitude,s.lat=t.data[e].latitude,s.bindPopupHtml='

经纬度:'+t.data[e].longitude+","+t.data[e].latitude+'

摄像头名称:'+t.data[e].cameraName+"

",a.cameraMarkersList.push(s)}setTimeout((function(){n.$refs.eventLocationSupermap.clearM(!0),n.$refs.eventLocationSupermap.clearM(!1),n.$refs.eventLocationSupermap.setMarkers(a.cameraMarkersList),n.$refs.eventLocationSupermap.setMarkers(i)}),1e3)}}))}else n.getNearEvent()},dropLocation:function(t,e){this.$refs.eventLocationSupermap.dropLocation(t,e)},showEventLocation:function(){this.eventLocationVisible=!0},alertLogin:function(){this.$modal.msg("登录中....")},alertLoginSuccess:function(){this.$modal.msgSuccess("登录成功!")},alertLoginFailed:function(){this.$modal.msgError("登陆失败!")},alertReinstall:function(){this.$modal.msgWarning("请重新安装客户端")},preview:function(t){var e=this;Object(d["a"])().then((function(a){e.ws.detectConnectQt().then((function(n){n?(e.alertLogin(),e.ws.login({loginIp:a.loginIp,loginPort:a.loginPort,userName:a.userName,userPwd:a.userPwd,token:"",https:1}),e.ws.on("loginState",(function(a){e.isLogin=a,console.log("---res-----",a),a?(e.alertLoginSuccess(),e.activePanel="key2",e.realTimeVideoDialog(t)):e.alertLoginFailed()}))):e.alertReinstall()}))}))},realTimeVideoDialog:function(t){if(!this.isLogin)return this.$Message.info("正在登陆客户端,请稍等......"),!1;this.ws.openVideo(t)},editableLayers:function(t){if("notProcessedSupermap"==t){this.$refs.notProcessedSupermap.isEditableLayers;this.$refs.notProcessedSupermap.isEditableLayers?this.$refs.notProcessedSupermap.isEditableLayers=!1:this.$refs.notProcessedSupermap.isEditableLayers=!0}else{this.$refs.processedSupermap.isEditableLayers;this.$refs.processedSupermap.isEditableLayers?this.$refs.processedSupermap.isEditableLayers=!1:this.$refs.processedSupermap.isEditableLayers=!0}},switchImage:function(t){this.url=t},formLeaveTable:function(){var t=new Promise((function(t,e){return e()}));return t},beforeLeave:function(t,e){var a=this;return Object(o["a"])(Object(s["a"])().mark((function e(){var n;return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=a,"frame"!=t){e.next=5;break}return e.next=4,n.formLeaveTable();case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})))()},showEventInfo_notProcessed:function(t){var e=this,a=this;a.id=t,a.eventInfoVisible_notProcessed=!0,a.listEventPic=[],a.url="",a.resetQuery(),Object(r["getWarm"])(t).then((function(t){var n=t.data;a.id=n.id,a.cameraId=n.reportById,a.reportTime=n.reportTime,a.reportAddress=n.reportAddress,a.eventCode=n.eventCode,a.eventSource=n.eventSource,a.information[0].content=n.eventTitle,a.information[1].content=n.reportTime,a.information[2].content=a.selectDictLabel(a.dict.type.event_source,n.eventSource),a.information[3].content=n.longitude,a.information[4].content=n.latitude,a.information[5].content=n.reportBy,a.information[6].content=n.eventContent,Object(r["selectByeventCode"])(n.eventCode).then((function(t){var a=e;a.listEventDept=t.data.allDept,a.listoperateDept=t.data.operateDept})),Object(r["listByEventCode"])(n.eventCode).then((function(t){var a=e;a.listLog=t.data})),Object(r["selectCameraEventByCameraId"])(n.reportById).then((function(t){var a=e;a.listeventType=t.data})),null!=n.attachId&&Object(r["listCenterdataTAttachByBusId"])(n.attachId).then((function(t){var a=e;a.listEventPic=t.data,a.listEventPic.length>0?a.url=a.listEventPic[0]:a.url=""}))}))},updateEventStatusNotProcessed:function(){var t=this;""!=this.deptName?""!=this.eventStatus?this.eventTypeShow&&""==this.eventType?this.$modal.msgError("请选择事件类型"):(this.updateEventStatusForm.id=this.id,this.updateEventStatusForm.zt=this.eventStatus,this.updateEventStatusForm.eventCode=this.eventCode,this.updateEventStatusForm.deptId=this.deptId,this.updateEventStatusForm.deptName=this.deptName,this.updateEventStatusForm.eventType=this.eventType,Object(r["updateDeptEventStatus"])(this.updateEventStatusForm).then((function(e){t.$modal.msgSuccess(e.msg),t.eventStatus="",t.deptId="",t.eventType="",t.deptName="",t.eventInfoVisible_notProcessed=!1,cancelEventShow()}))):this.$modal.msgError("请选择状态"):this.$modal.msgError("请选择部门")},updateEventStatusProcessed:function(){var t=this;""!=this.eventStatus?Object(l["i"])(this.id,this.eventStatus).then((function(e){t.$modal.msgSuccess(e.msg),t.eventStatus="",t.eventInfoVisible_Processed=!1,cancelEventShow()})):this.$modal.msgError("请选择状态")},setXsYc:function(){"qr"==this.eventStatus?this.eventTypeShow=!0:this.eventTypeShow=!1},setValue:function(t){this.deptId=t.value,this.deptName=t.label},cancelEventShow:function(){this.eventInfoVisibleActiveName="info",this.listEventPic=[],this.listEventDept=[],this.listLog=[],this.listoperateDept=[]},handleClickNotProcessed:function(t,e){var a=this,n=this;"frame"==t.name?"event_source_2"==n.eventSource?Object(r["selectchannelCodeByCameraId"])(n.cameraId).then((function(t){var e=[];if(null!=t.data&&t.data.length>0)for(var n=0;n0?a.preview(e):a.$modal.msg("没有匹配到相对应摄像头!!!")})):this.$modal.msg("没有匹配到相对应摄像头!!!"):"point"==t.name&&setTimeout((function(){n.markersMapList=[];var t={};t.lng=n.information[3].content,t.lat=n.information[4].content;for(var e="",a=0;a

'+n.information[a].name+":"+n.information[a].content+"

";t.bindPopupHtml=e,t.click="",t.keepBindPopup=!1,t.isAggregation=!1,t.icon="marker",n.markersMapList.push(t),Object(r["selectFjsxt"])(n.information[3].content,n.information[4].content).then((function(e){if(console.log("vv",e.data),null!=e.data&&e.data.length>0)for(var a=0;a0)for(var n=0;n0?a.preview(e):a.$modal.msg("没有匹配到相对应摄像头!!!")})):this.$modal.msg("没有匹配到相对应摄像头!!!"):"point"==t.name&&setTimeout((function(){n.markersMapList=[];var t={};t.lng=n.information[3].content,t.lat=n.information[4].content;for(var e="",a=0;a

'+n.information[a].name+":"+n.information[a].content+"

";t.bindPopupHtml=e,t.click="",t.keepBindPopup=!1,t.isAggregation=!1,t.icon="marker",n.markersMapList.push(t),Object(r["selectFjsxt"])(n.information[3].content,n.information[4].content).then((function(e){if(console.log("vv",e.data),null!=e.data&&e.data.length>0)for(var a=0;a0?n.url=n.listEventPic[0]:n.url=""}))}))}}},m=v,h=(a("df40"),a("2877")),g=Object(h["a"])(m,n,i,!1,null,"e0d00fbe",null);e["a"]=g.exports},"62cc":function(t,e,a){"use strict";a("c90a")},6631:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.TVWallVisible?a("el-dialog",{staticStyle:{height:"700px"},attrs:{title:"电视墙",visible:t.TVWallVisible,width:"770px"},on:{"update:visible":function(e){t.TVWallVisible=e},close:function(e){return t.cancelEventLocationShow()}}},[a("div",{staticStyle:{width:"100%",height:"400px",position:"relative"}},[a("div",{staticClass:"dom1",attrs:{id:"dom1"}})])]):t._e()],1)},i=[],s=(a("d81d"),a("695f")),o=a("23d9"),l=a.n(o),r={dicts:["event_source"],components:{},data:function(){return{tvListJson:[{switchTab:"1",treeLabels:[{labelCode:"123456",labelName:"视频场景",parentLabelCode:null},{labelCode:"5a81d1bd499b4940a21fc63ca51f4dfa",labelName:"标签2",parentLabelCode:123456},{labelCode:"d941adbbd3e64dac92cc448dec5293cd",labelName:"标签1",parentLabelCode:123456}],labelChannels:[{channelDates:[{channelCode:"6044981090191552",channelName:"复兴大桥中段-交通事故",channelSn:null,cameraType:0,online:1},{channelCode:"ZgVzqsjwA1DTF561VGHK5E",channelName:"北京7青羊东二路77号2通道1",channelSn:null,cameraType:1,online:1}],labelCode:"d941adbbd3e64dac92cc448dec5293cd"},{channelDates:[{channelCode:"ZgVzqsjwA1DTF561VGHKK7",channelName:"北京7青羊东二路77号2通道2",channelSn:null,cameraType:2,online:0}],labelCode:"5a81d1bd499b4940a21fc63ca51f4dfa"}]},{switchTab:"2",labelChannels:[{channelDates:[{channelCode:"ZgVzqsjwA1DTF561VGHK5E",channelName:"北京7青羊东二路77号2通道1",channelSn:null,cameraType:1,online:1},{channelCode:"ZgVzqsjwA1DTF561VGHKK7",channelName:"北京7青羊东二路77号2通道2",channelSn:null,cameraType:2,online:0}]}]}],TVWallVisible:!1,activeName:"tv",channelId:["ZgVzqsjwA1DTF561VHG69F"],showModal:!0,activePanel:"key1",isLogin:!1,loginType:"1",token:"",ctrlType:"playerWin",https:1,httpsList:[{value:0,label:0},{value:1,label:1}],ctrlTypeList:[{value:"playerWin",label:"播放控件"},{value:"realMonitorUI",label:"带设备树实时预览控件"},{value:"playbackUI",label:"带设备树视频回放控件"},{value:"TVWallUI",label:"视频上墙"}],ctrlList:[{value:"ctrl1",label:"控件1"},{value:"ctrl2",label:"控件2"},{value:"ctrl3",label:"控件3"}],splitList:[{value:1,label:"1 * 1"},{value:4,label:"2 * 2"},{value:9,label:"3 * 3"}],displayModeList:[{value:1,label:"播放器预览模式"},{value:2,label:"播放器回放模式"}],mixedVideoDisplayModeList:[{value:1,label:"播放实时视频"},{value:2,label:"播放回放视频"}],ctrl:"ctrl1",splitNum:1,displayMode:1,displayTimeRange:[],modalDisplayTimeRange:[],mixedVideoTime:null,recordPath:"C:\\DSS LightWeight\\DSS LightWeight Client\\Record\\",downloadName:"",downTimeRange:[],downloadFormat:0,downloadFormatList:[{value:0,label:"dav"},{value:1,label:"avi"},{value:2,label:"mp4"}],downloadSource:3,downloadSourceList:[{value:3,label:"中心录像"},{value:2,label:"设备录像"}],showDownloadStreamType:!1,downloadStreamType:1,downloadStreamTypeList:[{value:1,label:"主码流"},{value:2,label:"辅码流"},{value:3,label:"三码流"}],downloadIsShow:!0,downloadIsShowList:[{value:!0,label:"是"},{value:!1,label:"否"}],crtPosX:0,crtPosY:0,crtWidth:740,crtHeight:400,domId:"dom1",mixedVideoDisplayMode:2,isShowTipe:!0}},created:function(){var t=this,e=l.a.getInstance();this.ws=e,console.log(this.ws),this.ws.addEventListener("connectStateChange",(function(e){e?console.log("连接成功"):(console.log("连接失败,下载客户端"),t.alertReinstall())}))},methods:{cancelEventLocationShow:function(){this.activeName="tv",this.TVWallVisible=!1,this.destroy()},showTVWall:function(){this.preview(),this.TVWallVisible=!0},alertLogin:function(){this.$modal.msg("登录中....")},alertLoginSuccess:function(){this.$modal.msgSuccess("登录成功!")},alertLoginFailed:function(){this.$modal.msgError("登陆失败!")},alertReinstall:function(){this.$modal.msgWarning("请重新安装客户端")},preview:function(){var t=this;Object(s["b"])().then((function(e){Object(s["a"])().then((function(a){t.ws.detectConnectQt().then((function(n){n?(t.alertLogin(),t.ws.login({loginIp:a.loginIp,loginPort:a.loginPort,userName:a.userName,userPwd:a.userPwd,token:"",https:1}),t.ws.on("loginState",(function(a){t.isLogin=a,console.log("---res-----",a),a?(t.alertLoginSuccess(),t.activePanel="key2",t.create(e.data)):t.alertLoginFailed()}))):t.alertReinstall()}))}))}))},create:function(t){var e=this,a=this,n=[{ctrlType:"realMonitorUI",ctrlCode:"ctrl1",ctrlProperty:{displayMode:1,splitNum:1,channelList:[{channelId:"8ORBqXFlA1D77U45SM1ROC"}]},visible:!0,domId:"dom1"}];this.setPos(),a.ws.createCtrl(n).then((function(a){console.log(a),e.customizeTree(t)})).catch((function(t){console.log(t)})),a.ws.on("createCtrlResult",(function(n){console.log(n),e.customizeTree(t),a.ws.on("createCtrlResult",(function(a){console.log(a),e.customizeTree(t)}))}))},setPos:function(){var t=document.getElementById(this.domId);if(console.log(t,"target"),t.style.right="".concat(this.crtPosX,"px"),t.style.top="".concat(this.crtPosY,"px"),t.style.width="".concat(this.crtWidth,"px"),t.style.height="".concat(this.crtHeight,"px"),document.createEvent){var e=document.createEvent("HTMLEvents");e.initEvent("resize",!0,!0),window.dispatchEvent(e)}else document.createEventObject&&window.fireEvent("onresize")},destroy:function(){var t=this;if(!this.isLogin)return this.$modal.msgWarning("正在登陆客户端,请稍等......"),!1;var e=this.ws.ctrls.map((function(e){if(e.ctrlCode===t.ctrl)return e.ctrlCode}));this.ws.destroyCtrl(e)},customizeTree:function(t){var e=this.ws.config,a=e.loginIp,n=e.userCode;this.ws.postMessage("customizeTree",{loginIp:a,userCode:n,params:{array:t}})}}},c=r,d=(a("5c77"),a("2877")),u=Object(d["a"])(c,n,i,!1,null,"1df376e0",null);e["a"]=u.exports},a6b8:function(t,e,a){"use strict";a("c954")},b611:function(t,e,a){"use strict";a("bf7d")},bf7d:function(t,e,a){},c90a:function(t,e,a){},c954:function(t,e,a){},d84b:function(t,e,a){"use strict";a("506d")},df40:function(t,e,a){"use strict";a("1625")},e5e9:function(t,e,a){}}]);