Agriculture-front-end/dist/assets/index.6c9ea89a.js

47 lines
17 KiB
JavaScript
Raw Normal View History

2023-07-04 10:08:33 +08:00
import{H as K,_ as be,r as c,A as R,V as ve,U as ye,d as _,o as p,c as k,l as i,m as T,e as S,w,L as Z,N as O,f as L,k as X,g as I,F as _e,x as we,y as xe,p as ke,q as Se}from"./index.ae0c781d.js";import Le from"./downloads.4cdbbcc5.js";import{_ as ee}from"./close1.45635d81.js";import{_ as Ce,a as Ee,b as ze,c as De,d as qe,e as Me}from"./linesGL.97ae14ae.js";import{i as Ae,L as Te}from"./index.c9f5bd8b.js";import{T as je}from"./TimeLine.64a8bde3.js";import{u as Ve}from"./useEcharts.dbdb546a.js";function Ne(f){return K({url:"equipment/abandon",method:"get",params:f})}function Pe(f){return K({url:"equipment/abandonHuoChun",method:"get",params:f})}const D=f=>(ke("data-v-722f0c81"),f=f(),Se(),f),Ie={class:"center"},Fe=D(()=>i("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),Be={class:"rightWra"},Re={class:"rightbottom"},Ze={class:"title"},Oe=D(()=>i("span",null,"\u6482\u8352\u8015\u5730\u9762\u79EF\u7EDF\u8BA1",-1)),Xe=D(()=>i("img",{src:Le,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Ge={key:0,src:ee,alt:""},Qe={key:0,class:"imgrotate",src:ee,alt:""},We={class:"mt-4"},$e={class:"bottom_center"},He=xe('<div class="tool" data-v-722f0c81><span data-v-722f0c81><img src="'+Ce+'" alt="" data-v-722f0c81></span><span data-v-722f0c81><img src="'+Ee+'" alt="" data-v-722f0c81></span><span data-v-722f0c81><img src="'+ze+'" alt="" data-v-722f0c81></span><span data-v-722f0c81><img src="'+De+'" alt="" data-v-722f0c81></span><span data-v-722f0c81><img src="'+qe+'" alt="" data-v-722f0c81></span><span data-v-722f0c81><img src="'+Me+'" alt="" data-v-722f0c81></span></div>',1),Ue={id:"popup",class:"ol-popup"},Je=D(()=>i("div",{class:"pophead",style:{width:"100%",height:"20px"}},[i("div",{id:"popup-title",style:{font:"bold 15px sans-serif",align:"left",position:"absolute",left:"17px",color:"#fff"}}),i("a",{href:"#",id:"popup-closer",class:"ol-popup-closer",style:{color:"#8e908c"}})],-1)),Ye={id:"popup-content",style:{padding:"10px"}},Ke=D(()=>i("span",null,"\u6482\u8352\u5730",-1)),et=D(()=>i("div",{id:"popup-pagination"},null,-1)),tt={__name:"index",setup(f){let g=c(null);const G=c(null);let q=R({arr:[],brr:[],crr:[]});const m=c("370211");c({info:[]});const Q=c(!1);c(!0);let x=c(!0);const M=c([]);let W=c([]),F=c([]);const te=t=>{oe(t)},oe=t=>{let e=document.createElement("a");e.style.display="none",e.href=t,document.body.appendChild(e),e.click(),document.body.removeChild(e)};let B={\u6482\u8352\u5730:{color:"rgba(255, 141, 26, 1)",disabled:!1}},C={\u6482\u8352\u5730:{setOf:"2022-06-01-gengdi",name:"T2022_06_01_liaohuang"}},j=c(null);ve(()=>{ae()});function ae(){re(),ie();for(const t in B)B[t].disabled!==!0&&W.value.push(t);M.value=W.value,console.log(M.value)}let l=c(null);c(null),c(null);let $=c(null),V=c(null);function re(){var t=document.querySelector(".center"),e=document.getElementById("cesiumContainer");l=new ol.Map({target:"cesiumContainer",controls:[],view:new ol.View({center:[119.86763411957472,35.88435182141938],zoom:11,projection:"EPSG:4326"}),layers:[new ol.layer.Tile({source:new ol.source.Tianditu({layerType:"img",key:"1d109683f4d84198e37a38c442d68311"})})]}),ne(),le(),l.on("moveend",function(o){var n=l.getView().getZoom();n>=13?j.setVisible(!0):j.setVisible(!1)}),l.on("singleclick",function(o){var n=o.coordinate,s=n[0],h=n[1],A=l.getView(),b=l.getView().getZoom();console.log(s,h),A.animate({center:[s,h],duration:1e3}),b>=13?H(o,"huangdaoqu_village@huangdaoqu_bianjie","http://36.134.44.75:8090/iserver/services/map-huangdaoqu_bianjie/rest/maps/huangdaoqu_village@huangdaoqu_bianjie","\u6751"):H(o,"huangdaoqu_town@huangdaoqu_bianjie","http://36.134.44.75:8090/iserver/services/map-huangdaoqu_bianjie/rest/maps/huangdaoqu_town@huangdaoqu_bianjie","\u9547")});var a=new ResizeObserver(function(o){o.forEach(function(n){var s=n.contentRect.width,h=n.contentRect.height;e.style.width=s+"px",e.style.height=h+"px",l.updateSize()})});a.observe(t)}const ne=()=>{j=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:"http://36.134.44.75:8090/iserver/services/map-huangdaoqu_bianjie/rest/maps/hua
background: rgba(251, 171, 60, 1);
border: 1px solid rgba(251, 171, 60, 1);
width: 100%;
" v-model="checked3" label="\u5C0F\u9EA6" />
<el-checkbox style="
background: rgba(251, 219, 13, 1);
border: 1px solid rgba(251, 219, 13, 1);
width: 100%;
" v-model="checked4" label="\u7389\u7C73" />
<el-checkbox style="
background: rgba(244, 218, 136, 1);
border: 1px solid rgba(244, 218, 136, 1);
width: 100%;
" v-model="checked3" label="\u5927\u8C46" />
<el-checkbox style="
background: rgba(174, 83, 110, 1);
border: 1px solid rgba(174, 83, 110, 1);
width: 100%;
" v-model="checked4" label="\u5730\u74DC" />
<el-checkbox style="
background: rgba(242, 177, 167, 1);
border: 1px solid rgba(242, 177, 167, 1);
width: 100%;
" v-model="checked3" label="\u82B1\u751F" />
<el-checkbox style="
background: rgba(50, 211, 235, 0.8);
border: 1px solid rgba(50, 211, 235, 1);
width: 100%;
" v-model="checked4" label="\u84DD\u8393" />
<el-checkbox style="
background: rgba(91, 196, 159, 1);
border: 1px solid rgba(91, 196, 159, 1);
width: 100%;
" v-model="checked3" label="\u8336\u53F6" />
<el-checkbox style="
background: rgba(225, 153, 75, 1);
border: 1px solid rgba(225, 153, 75, 1);
width: 100%;
" v-model="checked3" label="\u9A6C\u94C3\u85AF" />
<el-checkbox style="
background: rgba(166, 209, 82, 1);
border: 1px solid rgba(166, 209, 82, 1);
width: 100%;
" v-model="checked3" label="\u767D\u83DC\u548C\u841D\u535C" />
<el-checkbox style=" `),T(' background: rgba(175, 110, 250, 0.8); border: 1px solid rgba(175, 110, 250, 0.8); width: 100%; " v-model="checked3" label="\u5176\u4ED6" /> ')]),_:1},8,["modelValue","onChange"])])]),_:1})]),_:1}),i("div",$e,[S(je)]),He,i("div",Ue,[Je,i("div",Ye,[(p(!0),k(Z,null,O(L(F),(r,v)=>(p(),k("div",{key:v},[i("p",null,[Ke,T(" : "),i("span",null,we(Number(r.wasteland).toFixed(2))+"(\u4EA9)",1)])]))),128))]),et]),Q.value?(p(),X(E,{key:0,class:"back_button",onClick:e[6]||(e[6]=r=>de())},{default:w(()=>[T("\u8FD4\u56DE")]),_:1})):I("v-if",!0)])}}},ct=be(tt,[["__scopeId","data-v-722f0c81"],["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/views/plough/abandonedLand/index.vue"]]);export{ct as default};