(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1229ab05"],{"899a":function(t,n,e){"use strict";e("c822")},c822:function(t,n,e){},eac7:function(t,n,e){"use strict";e.r(n);var a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"screen"},[e("div",{staticClass:"outer"},[e("div",{staticClass:"content"},[e("div",{staticClass:"map"},[e("div",{staticClass:"sys-tit"},[e("span",{on:{click:function(n){return t.toOtherSys(1)}}},[t._v("边坡监测")]),e("span",{on:{click:function(n){return t.toOtherSys(2)}}},[t._v("桥梁监测")]),e("span",{on:{click:function(n){return t.toOtherSys(3)}}},[t._v("隧道监测")]),e("span",{on:{click:function(n){return t.toOtherSys(4)}}},[t._v("AI分析")])]),e("div",{staticClass:"amap",attrs:{id:"A_Map"}}),e("div",{staticClass:"bg"})])])])])},i=[],o=(e("d81d"),e("14d9"),e("4d63"),e("c607"),e("ac1f"),e("2c3e"),e("25f0"),e("466d"),e("5319"),e("841c"),e("a573"),e("5f87"));qf.openCalcLayout({dpr:1});var s={name:"screen",data:function(){return{previewUrl:"/prod-api",aMap:null,headers:{Authorization:"Bearer "+Object(o["a"])()}}},created:function(){var t=this;this.$nextTick((function(){t.amapInfor()}))},methods:{amapInfor:function(){var t=this;this.aMap=new AMap.Map("A_Map",{zooms:[3,20],center:[112.413542,38.019073],zoom:9.6,layers:[new AMap.TileLayer.Satellite]}),t.aMap.on("complete",(function(){t.boundTaiyuan()}))},boundTaiyuan:function(){var t=this,n=window.AMap||this.aMap;this.map;n.plugin("AMap.DistrictSearch",(function(){var e=new n.DistrictSearch({extensions:"all",level:"city"});e.search("太原",(function(e,a){if("complete"===e&&a&&a.districtList){var i=a.districtList[0].boundaries,o=[];if(i)for(var s=0,c=i.length;s<c;s++){var r=new n.Polygon({map:t.aMap,path:i[s],strokeWeight:3,fillOpacity:.8,fillColor:"transparent",strokeColor:"#00c0ff"});o.push(r)}}else console.error("查询失败:",e)}));var a=new n.DistrictSearch({extensions:"all",level:"city"});a.search("太原",(function(e,a){var i=[new n.LngLat(-360,90,!0),new n.LngLat(-360,-90,!0),new n.LngLat(360,-90,!0),new n.LngLat(360,90,!0)],o=a.districtList[0].boundaries,s=[i];s.push.apply(s,o);var c=new n.Polygon({path:s,strokeColor:"#00c0ff",strokeWeight:3,fillColor:"#001948",fillOpacity:.8});c.setPath(s),t.aMap.add(c)}))}))},getCookie:function(t){var n=document.cookie.match(new RegExp("(?:^|; )"+t.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$&")+"=([^;]*)"));return n?decodeURIComponent(n[1]):void 0},toOtherSys:function(t){if(1!==t)if(2!==t)if(3!==t)if(4!==t);else{n="http://220.194.146.65:9045";window.open(n,"_blank")}else{n="http://sd.hylgzl.com/?Admin=".concat(this.getCookie("Admin-Token"));window.open(n,"_blank")}else{var n="http://ql.hylgzl.com/}";window.open(n,"_blank")}else{var n="http://bp.hylgzl.com/?Admin=".concat(this.getCookie("Admin-Token"));window.open(n,"_blank")}}}},c=s,r=(e("899a"),e("2877")),l=Object(r["a"])(c,a,i,!1,null,"3d5b3ea0",null);n["default"]=l.exports}}]);