Agriculture-front-end/dist/assets/index.8cd24c6f.js
2023-07-24 18:07:54 +08:00

20 lines
18 KiB
JavaScript

import{_ as oe}from"./linesGL.99030c5a.js";import{m as Q,g as te,p as Ie,a as z,b as B,c as Ee,d as _e,z as Ve,e as ke}from"./information.0f83a772.js";import{_ as T}from"./icon.d0cb5387.js";import{_ as Re,r as l,D as ae,t as xe,X as Te,d as v,o as _,c as x,k as d,m as f,e as n,w as u,P as X,Q as j,j as Ue,f as W,l as le,I as Ne,y as qe,a2 as We,p as Oe,q as Ye}from"./index.db81687b.js";import"./install.49294472.js";const De="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGEAAAA+CAYAAAA73nWBAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAMVSURBVHic7Zs9rptAEMfHloMLI5m4fBT2Daw0HCNSilwjB4hSRjlArpHCUo5BY+UGpuCVMZaMhLB3SYFB2GYNPO8ym2V+HfiDkYaZ+c8wjA6ncwYEKhOWAfz88R3bjsHy5es3GHOKA1R4BjBmHNuMYcM4UCRgk0cCOQEVRukIH8YBJqJ0ZNs2TKfTfi2STJIkEMdxefzX+QCvLx9RbFlEW3h5/X13ntKRBrAMYMwpHaHCOcCYZSNsOwYNy0YkUbHhGcCkrTrazTwIbK88Xu834KShItPac2vX8ujDKvYRLeoGNWsaQOpIA9Cbtchy8S6uCQ+bNZVU87iThrCMfS3qCwZo6ahaSCPLhejdcCMib9YUOiGy3LuUU5eCqk4ZGp0kahciy4U/7z+Vx04awnq/yT9ruOsjy4Vg5pXO+t8kZ1eUSdRgdn1n3zpFRPG9arSYHiW91oQmR+xmnvBzk1WUsgHeXKB0IssV3tmP7niTldNlgCf/j1exD8ujnDxe1BJTUaqOZDhCl/mUSpSoo2r+dk4hHNLwTTm9cODV/xnoEMYvy18yuJWWzxLYHgQ356pS1xSkpiOZDhARWS7sZmZJVqnLX33JyINhclVqsyZLDTVex7DuOS/Mkpywin1wTuFdtwzwtiipK8LzNDSuOLMMYMK5v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RiJ5Le2U13vM3OSVsSVNZxoSW2onVsoSIRpsyndMIzDe6oXL8XiQdu4r2qposElt9rY0I4MJiq6hOq1vJW6jSibHVtgaksRyoTIKNJ2N8qSi3qUDbSthGHUnc0VFe7sax77rWz1sY29GGReFfdMsDrVkmdCAuht4mXUba6jX438cCtCGeXcUUdi8SzemYk4Jnmjf7qHKgP1b1jWymVo6nSD+46sGtDJMHmFaFtbFGnCwJZTZe9bvtq0HYCT1aChHjX0TSisDkRTNcou658dJklyRIhS5wNFJrwTvEHb0O/aKrEP7BrXd8F+2IEIt5rmy0tU5y2UJ0EgNtG0HVW11ZQTlvIStVYUdox92EX7AsHNZamTAZaEsZUbtqgA8EGQAeCDUD7CTyiHYZ9KpsgTTCCm05bqJiSEgY8JEJQOTICsqgG0Ktjtv05ASxeNIGe6MeEA6fvtsBG284a0R2yqAbQKMxpmkKapgOHpJfleQ3L8xo7jP9ofJicMVohQ0B9ggGQJhgAjS0MgGcM7j7+eU9fWI7MP6mP+AH9yDrrAAAAAElFTkSuQmCC";const ne=O=>(Oe("data-v-69f8d8ab"),O=O(),Ye(),O),Fe={class:"center"},Le=ne(()=>d("div",{style:{width:"100%",height:"100%"},class:"cesiumContainer",id:"cesiumContainer"},null,-1)),Me={class:"rightWra"},Je={class:"farmlandHeader"},Pe={class:"rightTop"},Qe=ne(()=>d("div",{class:"title"},[d("span",null,"\u9884\u8B66\u4FE1\u606F\u53D1\u5E03")],-1)),ze={class:"farmlandDiv"},Be={class:"radioDiv"},Xe={class:"selectDiv"},je={class:"selectDiv",style:{"margin-top":"10px"}},Ke={class:"btws"},$e={key:0,src:oe,alt:""},et={key:0,class:"imgrotate",src:oe,alt:""},tt={class:"mt-4"},at={class:"tuli"},lt={__name:"index",setup(O){const h=l();l({name:"",value:""});let V=l(!1),se=window.localStorage.getItem("deptName");l("");let p=l([]),m=ae({lat:"",lan:"",name:""}),g=l([]);const U=l([]),I=l(5e3),L=l([]),N=l([]),q=l([]),k=l([]);let re={\u65E0\u9884\u8B66:{color:"rgba(49, 235, 7, 1)",disabled:!1},\u8F7B\u5EA6\u51BB\u5BB3:{color:"rgba(9, 187, 222, 1)",disabled:!1},\u4E2D\u5EA6\u51BB\u5BB3:{color:"rgba(255, 235, 59, 1)",disabled:!1},\u91CD\u5EA6\u51BB\u5BB3:{color:"rgba(234, 165, 93, 1)",disabled:!1}};const Y=l();function ie(){J()}function ce(){h.value=$().toJSON().substr(0,10),I.value=5e3,Z.value="",Y.value="",J()}const ue=[{label:"\u8F7B\u5EA6\u51BB\u5BB3",flag:1},{label:"\u4E2D\u5EA6\u51BB\u5BB3",flag:2},{label:"\u91CD\u5EA6\u51BB\u5BB3",flag:3}];ae({power:[{required:!0,message:"Please select Activity zone",trigger:"change"}],count:[{required:!0,message:"Please select Activity count",trigger:"change"}],date1:[{type:"date",required:!0,message:"Please pick a date",trigger:"change"}],date2:[{type:"date",required:!0,message:"Please pick a time",trigger:"change"}],type:[{type:"array",required:!0,message:"Please select at least one activity type",trigger:"change"}],resource:[{required:!0,message:"Please select activity resource",trigger:"change"}],desc:[{required:!0,message:"Please input activity form",trigger:"blur"}]});const D=l(1),M=l(6),K=l([]);function de(e){D.value=e,G()}function G(){const e=(D.value-1)*M.value,t=D.value*M.value;K.value=U.value.slice(e,t)}function ge(e){if(e==="\u8F7B\u5EA6\u5E72\u65F1")return De;if(e==="\u4E2D\u5EA6\u5E72\u65F1")return Ge;if(e==="\u4E25\u91CD\u5E72\u65F1")return He;if(e==="\u7279\u5927\u5E72\u65F1")return ganhan4;if(e==="\u65E0\u707E\u5BB3")return Ze}const $=()=>{let e=new Date;return e.setDate(e.getDate()-1),e};let s=l(null);const pe=()=>{H=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:"http://36.134.44.75:8090/iserver/services/map-huangdaoqu_bianjie/rest/maps/CJQY3702112019WGS84@huangdaoqu_bianjie",cacheEnabled:!1}),name:"huangdaoqu_village",projection:"EPSG:4326",zIndex:9999}),s.addLayer(H)},me=()=>{var e=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:"http://36.134.44.75:8090/iserver/services/map-huangdaoqu_bianjie/rest/maps/XJQY3702112019WGS84@huangdaoqu_bianjie",cacheEnabled:!1}),projection:"EPSG:4326",zIndex:9999});s.addLayer(e)};let H=l(null);xe(()=>{h.value=$().toJSON().substr(0,10),J(),ye(),P();let e=document.querySelector(".rightWra");e.style.transform="translate(107%,0)"}),Te(()=>{document.querySelector(".mode").style.display="none",window.document.querySelector("#screenfull").style.display="block"}),l([]);let ve=l([]);const ee=l([]),Z=l("");function J(){Q({data:h.value,alertRange:I.value,flag:2,msName:Z.value,warning:Y.value}).then(e=>{U.value=e.data,G()})}function Ae(){Ve().then(e=>{ee.value=e.data})}Ae();function ye(){var e=document.querySelector(".center"),t=document.getElementById("cesiumContainer");s=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"})})]}),pe(),me();const i=new ol.Overlay({element:document.createElement("div"),className:"overlay1",positioning:"bottom-center",offset:[0,-10],stopEvent:!0});s.on("moveend",function(){var r=s.getView().getZoom();r>=13?H.setVisible(!0):H.setVisible(!1)}),s.on("singleclick",function(r){l([]);const S=s.getEventPixel(r.originalEvent);var b=r.coordinate,y=b[0],A=b[1],E=s.getView();E.animate({center:[y,A],duration:1e3}),ve.value.forEach(o=>{layersDic[o]?QueryData(r,layersDic[o].setOf,`http://192.168.0.113:8090/iserver/services/${layersDic[o].name}/rest/maps/${layersDic[o].setOf}`,o):layersGbz[o]&&QueryData(r,layersGbz[o].setOf,`http://192.168.0.113:8090/iserver/services/${layersGbz[o].name}/rest/maps/${layersGbz[o].setOf}`,o)}),s.forEachFeatureAtPixel(S,o=>{E.animate({center:[y,A],duration:1e3,zoom:13});const C=o.get("id"),F=o.get("type");if(s.addOverlay(i),F==="1"){for(const a in p.value)C===p.value[a].msName&&(m.name=C,m.lon=p.value[a].msLongitude,m.lat=p.value[a].msLatitude);i.setPosition(o.getGeometry().getCoordinates()),i.getElement().innerHTML=`
<div class="info-window">
<div class="close-btn" ><span>\u7AD9\u70B9\u4FE1\u606F</span><img src="${te}" alt=""/> </div>
<div class="content" style="color:white;font-size: 16px">
<div class="line" style="margin-top: 10px"><img src="${T}" alt=""/> <span>\u540D\u79F0:</span><span>${m.name}</span></div>
<div class="line" style="margin-top: 10px"><img src="${T}" alt=""/> <span>\u7ECF\u5EA6:</span><span>${m.lon}</span></div>
<div class="line" style="margin-top: 10px"><img src="${T}" alt=""/> <span>\u7EF4\u5EA6:</span><span>${m.lat}</span></div>
</div>
</div>
`;const R=i.getElement().querySelector(".close-btn");R&&R.addEventListener("click",()=>{i.setPosition(void 0)})}else if(F==="0"){for(const a in g.value)C===g.value[a].contacts&&(m.name=C,m.phone=g.value[a].phone,m.region=g.value[a].region);i.setPosition(o.getGeometry().getCoordinates()),i.getElement().innerHTML=`
<div class="info-window" >
<div class="close-btn" ><span>\u4EBA\u5458\u4FE1\u606F</span><img src="${te}" alt=""/> </div>
<div class="content" style="color:white;font-size: 16px">
<div class="line" style="margin-top: 10px"><img src="${T}" alt=""/><span>\u59D3\u540D:</span><span>${m.name}</span></div>
<div class="line" style="margin-top: 10px"><img src="${T}" alt=""/><span>\u624B\u673A:</span><span>${m.phone}</span></div>
<div class="line" style="margin-top: 10px"><img src="${T}" alt=""/><span>\u4F4D\u7F6E:</span><span>${m.region}</span></div>
</div>
</div>
`,o.setStyle(new ol.style.Style({image:new ol.style.Icon({src:Ie,scale:.5})})),s.getLayers().forEach(function(a){if(a instanceof ol.layer.Vector){let c=a.getSource().getFeatures()[0];c.get("type")==="0"&&c!==o&&(c.get("warning")==="0"?c.setStyle(new ol.style.Style({image:new ol.style.Icon({src:z,scale:.5})})):c.get("warning")==="1"&&c.setStyle(new ol.style.Style({image:new ol.style.Icon({src:B,scale:.5})})))}});const R=i.getElement().querySelector(".close-btn");R&&R.addEventListener("click",()=>{i.setPosition(void 0),s.getLayers().forEach(function(a){if(a instanceof ol.layer.Vector){let c=a.getSource().getFeatures()[0];c.get("type")==="0"&&(c.get("warning")==="0"?c.setStyle(new ol.style.Style({image:new ol.style.Icon({src:z,scale:.5})})):c.get("warning")==="1"&&c.setStyle(new ol.style.Style({image:new ol.style.Icon({src:B,scale:.5})})))}})})}})});var w=new ResizeObserver(function(r){r.forEach(function(S){var b=S.contentRect.width,y=S.contentRect.height;t.style.width=b+"px",t.style.height=y+"px",s.updateSize()})});w.observe(e)}function fe(){if(V.value=!V.value,V.value){let e=document.querySelector(".rightWra");e.style.transform="translate(0,0)"}else{let e=document.querySelector(".rightWra");e.style.transform="translate(107%,0)"}}const he=()=>{P(),Q({data:h.value,alertRange:I.value,flag:2}).then(e=>{U.value=e.data,G()})},P=()=>{for(const e in N.value)s.removeLayer(N.value[e]);N.value=[];for(const e in q.value)s.removeLayer(q.value[e]);q.value=[];for(const e in k.value)s.removeLayer(k.value[e]);k.value=[],Ee({flag:2,data:h.value}).then(e=>{p.value=e.data;for(const t in p.value){const i=[parseFloat(p.value[t].msLongitude),parseFloat(p.value[t].msLatitude)],w=128,r=[];for(let E=0;E<w;E++){const o=2*Math.PI*E/w,C=ol.sphere.computeDestinationPoint(i,I.value,o);r.push(C)}const S=new ol.Feature({geometry:new ol.geom.Polygon([r])}),b=new ol.style.Style({stroke:new ol.style.Stroke({color:"rgb(255,255,0)",width:2})});N.value[t]=new ol.layer.Vector({source:new ol.source.Vector({features:[S]}),style:b}),p.value[t].warning!=="\u65E0\u707E\u5BB3"&&s.addLayer(N.value[t]);const y=new ol.geom.Point(i),A=new ol.Feature({geometry:y,id:p.value[t].msName,type:p.value[t].flag});A.setStyle(new ol.style.Style({image:new ol.style.Icon({src:ge(p.value[t].warning),scale:.5})})),q.value[t]=new ol.layer.Vector({source:new ol.source.Vector({features:[A]})}),s.addLayer(q.value[t])}}),_e({flag:2,alertRange:I.value,data:h.value,divisions:se}).then(e=>{g.value=e.data;for(const t in g.value){const i=[parseFloat(g.value[t].latitude),parseFloat(g.value[t].longitude)],w=new ol.geom.Point(i),r=new ol.Feature({geometry:w,id:g.value[t].contacts,type:g.value[t].flag,warning:g.value[t].earlyWarning});g.value[t].earlyWarning==="0"?(r.setStyle(new ol.style.Style({image:new ol.style.Icon({src:z,scale:.5})})),k.value[t]=new ol.layer.Vector({source:new ol.source.Vector({features:[r]})}),s.addLayer(k.value[t])):g.value[t].earlyWarning==="1"&&(r.setStyle(new ol.style.Style({image:new ol.style.Icon({src:B,scale:.5})})),k.value[t]=new ol.layer.Vector({source:new ol.source.Vector({features:[r]})}),s.addLayer(k.value[t]))}})},we=()=>{P(),Q({data:h.value,alertRange:I.value,flag:2}).then(e=>{U.value=e.data,G()})},Se=()=>{ke(L.value).then(e=>{console.log(e.data),e.data.code=="OK"&&We({message:"\u53D1\u9001\u6210\u529F",type:"success"})})},be=e=>{L.value=e};return(e,t)=>{const i=v("el-date-picker"),w=v("el-radio"),r=v("el-radio-group"),S=v("el-option"),b=v("el-select"),y=v("el-button"),A=v("el-table-column"),E=v("el-table"),o=v("el-pagination"),C=v("el-tooltip"),F=v("el-collapse-item"),R=v("el-collapse");return _(),x("div",Fe,[Le,d("div",Me,[d("div",Je,[f(" \u76D1\u6D4B\u65E5\u671F:\u2003 "),n(i,{"popper-class":"date_poper",class:"m-2",modelValue:h.value,"onUpdate:modelValue":t[0]||(t[0]=a=>h.value=a),onChange:we,format:"YYYY \u5E74 MM \u6708 DD \u65E5","value-format":"YYYY-MM-DD",type:"date",placeholder:"\u9009\u62E9\u65E5\u671F"},null,8,["modelValue"])]),d("div",Pe,[Qe,d("div",ze,[d("div",Be,[f(" \u9884\u8B66\u8303\u56F4\uFF1A "),n(r,{onChange:t[1]||(t[1]=a=>he()),modelValue:I.value,"onUpdate:modelValue":t[2]||(t[2]=a=>I.value=a),class:"ml-4"},{default:u(()=>[n(w,{label:5e3,size:"large",style:{color:"white"}},{default:u(()=>[f("5km")]),_:1}),n(w,{label:1e4,size:"large",style:{color:"white"}},{default:u(()=>[f("10km")]),_:1})]),_:1},8,["modelValue"])]),d("div",Xe,[f(" \u7AD9\u70B9\u540D\u79F0: "),n(b,{"popper-class":"select_city",modelValue:Z.value,"onUpdate:modelValue":t[3]||(t[3]=a=>Z.value=a),placeholder:"\u8BF7\u9009\u62E9"},{default:u(()=>[(_(!0),x(X,null,j(ee.value,a=>(_(),Ue(S,{key:a.msName,label:a.msName,value:a.msName},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),d("div",je,[f(" \u9884\u8B66\u60C5\u51B5: "),n(b,{"popper-class":"select_city",modelValue:Y.value,"onUpdate:modelValue":t[4]||(t[4]=a=>Y.value=a),placeholder:"\u8BF7\u9009\u62E9"},{default:u(()=>[(_(),x(X,null,j(ue,a=>n(S,{key:a.flag,label:a.label,value:a.label},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),d("div",Ke,[n(y,{class:"bt1",onClick:ie},{default:u(()=>[f("\u67E5\u8BE2")]),_:1}),n(y,{class:"bt2",onClick:ce},{default:u(()=>[f("\u91CD\u7F6E")]),_:1})]),n(E,{"cell-style":{textAlign:"center"},"header-cell-style":{"text-align":"center",color:"white"},data:K.value,style:{width:"100%"},"max-height":"470px",onSelectionChange:be},{default:u(()=>[n(A,{type:"selection",width:"20"}),n(A,{prop:"msName",width:"80",label:"\u7AD9\u70B9\u540D\u79F0"}),n(A,{prop:"warning",label:"\u9884\u8B66\u60C5\u51B5"}),n(A,{prop:"name",width:"80",label:"\u8054\u7CFB\u4EBA"}),n(A,{prop:"telephone",label:"\u8054\u7CFB\u7535\u8BDD"})]),_:1},8,["data"]),n(o,{small:"",style:{display:"flex","justify-content":"center","margin-top":"10px"},onCurrentChange:de,"current-page":D.value,"page-size":M.value,layout:" prev, pager, next",total:U.value.length},null,8,["current-page","page-size","total"]),n(y,{class:"but",type:"primary",disabled:L.value.length<1,onClick:Se},{default:u(()=>[f(" \u53D1\u5E03\u9884\u8B66\u77ED\u4FE1 ")]),_:1},8,["disabled"])])]),d("div",{class:"rightFoldDiv",onClick:t[5]||(t[5]=a=>fe())},[n(C,{disabled:!W(V),"show-arrow":!1,"hide-after":"0","show-after":"200",class:"box-item",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:u(()=>[W(V)?(_(),x("img",$e)):le("",!0)]),_:1},8,["disabled"]),n(C,{disabled:W(V),"show-arrow":!1,"hide-after":"0","show-after":"200",class:"box-item",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:u(()=>[W(V)?le("",!0):(_(),x("img",et))]),_:1},8,["disabled"])])]),n(R,{class:"legend",accordion:""},{default:u(()=>[n(F,{name:"1"},{title:u(()=>[f("\u56FE\u4F8B")]),default:u(()=>[d("div",tt,[d("div",at,[(_(!0),x(X,null,j(W(re),(a,c,Ce)=>(_(),x("div",{key:Ce,style:Ne({backgroundColor:a.color,border:"1px solid value.color",width:"100%",height:"25px",marginTop:"5px",textAlign:"center"})},qe(c),5))),128))])])]),_:1})]),_:1})])}}},ct=Re(lt,[["__scopeId","data-v-69f8d8ab"]]);export{ct as default};