Agriculture-front-end/dist/assets/index.9a7e4ec6.js

20 lines
20 KiB
JavaScript

import{_ as qe,a as Ge}from"./zhankaiss.6870329f.js";import{m as $,s as He,g as ue,p as Fe,a as ee,b as te,h as Oe,c as Ze,j as Pe,d as Le,k as Me,z as Je,l as ze}from"./information.eab73f60.js";import"./linesGL.76a64914.js";import{_ as Qe,r as s,I as de,x as Be,H as Xe,a8 as F,d as m,o as I,c as W,l as n,n as g,e as l,w as o,O as je,A as ge,m as ae,V as le,W as se,k as oe,J as ne,f as D,N as Ke,q as $e,s as et}from"./index.9f28707e.js";import"./linkSeriesData.e74eae00.js";const tt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGEAAAA+CAYAAAA73nWBAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAMVSURBVHic7Zs9rptAEMfHloMLI5m4fBT2Daw0HCNSilwjB4hSRjlArpHCUo5BY+UGpuCVMZaMhLB3SYFB2GYNPO8ym2V+HfiDkYaZ+c8wjA6ncwYEKhOWAfz88R3bjsHy5es3GHOKA1R4BjBmHNuMYcM4UCRgk0cCOQEVRukIH8YBJqJ0ZNs2TKfTfi2STJIkEMdxefzX+QCvLx9RbFlEW3h5/X13ntKRBrAMYMwpHaHCOcCYZSNsOwYNy0YkUbHhGcCkrTrazTwIbK88Xu834KShItPac2vX8ujDKvYRLeoGNWsaQOpIA9Cbtchy8S6uCQ+bNZVU87iThrCMfS3qCwZo6ahaSCPLhejdcCMib9YUOiGy3LuUU5eCqk4ZGp0kahciy4U/7z+Vx04awnq/yT9ruOsjy4Vg5pXO+t8kZ1eUSdRgdn1n3zpFRPG9arSYHiW91oQmR+xmnvBzk1WUsgHeXKB0IssV3tmP7niTldNlgCf/j1exD8ujnDxe1BJTUaqOZDhCl/mUSpSoo2r+dk4hHNLwTTm9cODV/xnoEMYvy18yuJWWzxLYHgQ356pS1xSkpiOZDhARWS7sZmZJVqnLX33JyINhclVqsyZLDTVex7DuOS/Mkpywin1wTuFdtwzw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FcH6c9tdlHaLOpC4nRiJ5Le2U13vM3OSVsSVNZxoSW2onVsoSIRpsyndMIzDe6oXL8XiQdu4r2qposElt9rY0I4MJiq6hOq1vJW6jSibHVtgaksRyoTIKNJ2N8qSi3qUDbSthGHUnc0VFe7sax77rWz1sY29GGReFfdMsDrVkmdCAuht4mXUba6jX438cCtCGeXcUUdi8SzemYk4Jnmjf7qHKgP1b1jWymVo6nSD+46sGtDJMHmFaFtbFGnCwJZTZe9bvtq0HYCT1aChHjX0TSisDkRTNcou658dJklyRIhS5wNFJrwTvEHb0O/aKrEP7BrXd8F+2IEIt5rmy0tU5y2UJ0EgNtG0HVW11ZQTlvIStVYUdox92EX7AsHNZamTAZaEsZUbtqgA8EGQAeCDUD7CTyiHYZ9KpsgTTCCm05bqJiSEgY8JEJQOTICsqgG0Ktjtv05ASxeNIGe6MeEA6fvtsBG284a0R2yqAbQKMxpmkKapgOHpJfleQ3L8xo7jP9ofJicMVohQ0B9ggGQJhgAjS0MgGcM7j7+eU9fWI7MP6mP+AH9yDrrAAAAAElFTkSuQmCC";const O=Z=>($e("data-v-9e68befe"),Z=Z(),et(),Z),ot={class:"center"},nt=O(()=>n("div",{style:{width:"100%",height:"100%"},class:"cesiumContainer",id:"cesiumContainer"},null,-1)),it={class:"rightWra"},rt={class:"farmlandHeader"},ct={class:"text"},ut={key:0,class:"holiday"},dt={class:"rightTop"},gt=O(()=>n("div",{class:"title"},[n("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}}),n("span",null,"\u9884\u8B66\u4FE1\u606F\u53D1\u5E03")],-1)),pt={class:"farmlandDiv"},vt={class:"radioDiv"},mt={class:"radioDiv"},yt={class:"selectDiv"},At={class:"selectDiv",style:{"margin-top":"10px"}},ft={class:"btws"},ht=O(()=>n("img",{src:qe},null,-1)),wt=O(()=>n("img",{src:Ge},null,-1)),bt={class:"mt-4"},St={class:"tuli"},Ct=O(()=>n("span",null," \u662F\u5426\u786E\u8BA4\u53D1\u9001\u9884\u8B66\u77ED\u4FE1? ",-1)),_t={class:"dialog-footer"},It={__name:"index",setup(Z){const V=s();s({name:"",value:""});let h=s(!1),R=s(!1),E=window.localStorage.getItem("deptName");s("");let p=s([]),A=de({lat:"",lan:"",name:""}),y=s([]);const N=s([]),k=s(5e3),Y=s(),B=s([]),q=s([]),G=s([]),U=s([]);let X={\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 P=s(),ie=s([]),pe=({dayjs:e})=>ie.value.includes(e.format("YYYY-MM-DD"));function ve(){K()}const me=e=>{const t=new Date;return t.setHours(0,0,0,0),e.getTime()>t.getTime()?{disabled:!0,style:{color:"red",textDecoration:"line-through"}}:!1};function ye(){k.value=5e3,z.value="",P.value="",K(),Q()}const Ae=[{label:"\u8F7B\u5EA6\u51BB\u5BB3",flag:1},{label:"\u4E2D\u5EA6\u51BB\u5BB3",flag:2},{label:"\u91CD\u5EA6\u51BB\u5BB3",flag:3}];de({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 L=s(1),j=s(6),re=s([]);function fe(e){L.value=e,M()}function M(){const e=(L.value-1)*j.value,t=L.value*j.value;re.value=N.value.slice(e,t)}function he(e){if(e==="\u8F7B\u5EA6\u51BB\u5BB3")return tt;if(e==="\u4E2D\u5EA6\u51BB\u5BB3")return at;if(e==="\u91CD\u5EA6\u51BB\u5BB3")return lt;if(e==="\u7279\u5927\u51BB\u5BB3")return ganhan4;if(e==="\u65E0\u707E\u5BB3")return st}const we=()=>{let e=new Date;return e.setDate(e.getDate()-1),e};let r=s(null);const be=()=>{J=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:serverAPI.geoserverUrl+"/map-huangdaoqu_bianjie/rest/maps/CJQY3702112019WGS84%40huangdaoqu_bianjie",cacheEnabled:!1}),name:"CJQY3702112019WGS84",projection:"EPSG:4326",zIndex:9999}),r.addLayer(J)},Se=()=>{var e=new ol.layer.Tile({source:new ol.source.TileSuperMapRest({url:serverAPI.geoserverUrl+"/map-huangdaoqu_bianjie/rest/maps/XJQY3702112019WGS84%40huangdaoqu_bianjie",cacheEnabled:!1}),name:"XJQY3702112019WGS84",projection:"EPSG:4326",zIndex:9999});r.addLayer(e)};let J=s(null);Be(()=>{_e(),V.value=we().toJSON().substr(0,10),K(),De(),We(),Ee(),Q();let e=document.querySelector(".rightWra");e.style.transform="translate(101%,0)"}),Xe(()=>{document.querySelector(".mode").style.display="none",window.document.querySelector("#screenfull").style.display="block"}),s([]);let Ce=s([]);const ce=s([]),z=s("");function K(){$({data:V.value,alertRange:k.value,flag:2,msName:z.value,warning:P.value,divisions:E}).then(e=>{N.value=e.data,M()})}const _e=()=>{He().then(e=>{Y.value=Number(e.data[0].flag)})},Ie=()=>{Me({flag:Y.value}).then(e=>{F({message:e.msg,type:"success"})})};function Ve(){Je({divisions:E}).then(e=>{ce.value=e.data})}Ve();function Ee(){var e=document.querySelector(".center"),t=document.getElementById("cesiumContainer");r=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.XYZ({url:`${serverAPI.tiandituLayers}`,projection:serverAPI.flag?"EPSG:4326":"EPSG:3857"}),preload:20})]}),be(),Se();const u=new ol.Overlay({element:document.createElement("div"),className:"overlay1",positioning:"bottom-center",offset:[0,-10],stopEvent:!0});r.on("moveend",function(){var c=r.getView().getZoom();c>=13?J.setVisible(!0):J.setVisible(!1)}),r.on("singleclick",function(c){s([]);const S=r.getEventPixel(c.originalEvent);var C=c.coordinate,f=C[0],b=C[1],x=r.getView();x.animate({center:[f,b],duration:1e3}),Ce.value.forEach(i=>{layersDic[i]?QueryData(c,layersDic[i].setOf,`http://192.168.0.113:8090/iserver/services/${layersDic[i].name}/rest/maps/${layersDic[i].setOf}`,i):layersGbz[i]&&QueryData(c,layersGbz[i].setOf,`http://192.168.0.113:8090/iserver/services/${layersGbz[i].name}/rest/maps/${layersGbz[i].setOf}`,i)}),r.forEachFeatureAtPixel(S,i=>{x.animate({center:[f,b],duration:1e3});const _=i.get("id"),H=i.get("type");if(r.addOverlay(u),H==="1"){for(const d in p.value)_===p.value[d].msName&&(A.name=_,A.lon=p.value[d].msLongitude,A.lat=p.value[d].msLatitude);u.setPosition(i.getGeometry().getCoordinates()),u.getElement().innerHTML=`
<div class="info-window">
<div class="close-btn" ><span>\u7AD9\u70B9\u4FE1\u606F</span><img src="${ue}" alt=""/> </div>
<div class="content" style="color:white;font-size: 16px">
<div class="line" style="margin-top: 10px"><div class="label">\u540D\u79F0:</div><span>${A.name}</span></div>
<div class="line" style="margin-top: 10px"><div class="label">\u7ECF\u5EA6:</div><span>${A.lon}</span></div>
<div class="line" style="margin-top: 10px"><div class="label">\u7EAC\u5EA6:</div><span>${A.lat}</span></div>
</div>
</div>
`;const T=u.getElement().querySelector(".close-btn");T&&T.addEventListener("click",()=>{u.setPosition(void 0)})}else if(H==="0"){for(const d in y.value)_===y.value[d].contacts&&(A.name=_,A.phone=y.value[d].phone,A.region=y.value[d].region);u.setPosition(i.getGeometry().getCoordinates()),u.getElement().innerHTML=`
<div class="info-window" >
<div class="close-btn" ><span>\u79CD\u7CAE\u5927\u6237\u4FE1\u606F</span><img src="${ue}" alt=""/> </div>
<div class="content" style="color:white;font-size: 16px">
<div class="line" style="margin-top: 10px"><div class="label">\u59D3\u540D:</div><span>${A.name}</span></div>
<div class="line" style="margin-top: 10px"><div class="label">\u624B\u673A:</div><span>${A.phone}</span></div>
<div class="line" style="margin-top: 10px"><div class="label">\u4F4D\u7F6E:</div><span>${A.region}</span></div>
</div>
</div>
`,i.setStyle(new ol.style.Style({image:new ol.style.Icon({src:Fe,scale:.5})})),r.getLayers().forEach(function(d){if(d instanceof ol.layer.Vector){let v=d.getSource().getFeatures()[0];v.get("type")==="0"&&v!==i&&(v.get("warning")==="0"?v.setStyle(new ol.style.Style({image:new ol.style.Icon({src:ee,scale:.5})})):v.get("warning")==="1"&&v.setStyle(new ol.style.Style({image:new ol.style.Icon({src:te,scale:.5})})))}});const T=u.getElement().querySelector(".close-btn");T&&T.addEventListener("click",()=>{u.setPosition(void 0),r.getLayers().forEach(function(d){if(d instanceof ol.layer.Vector){let v=d.getSource().getFeatures()[0];v.get("type")==="0"&&(v.get("warning")==="0"?v.setStyle(new ol.style.Style({image:new ol.style.Icon({src:ee,scale:.5})})):v.get("warning")==="1"&&v.setStyle(new ol.style.Style({image:new ol.style.Icon({src:te,scale:.5})})))}})})}})});var w=new ResizeObserver(function(c){c.forEach(function(S){var C=S.contentRect.width,f=S.contentRect.height;t.style.width=C+"px",t.style.height=f+"px",r.updateSize()})});w.observe(e)}function ke(){if(R.value=!R.value,R.value){let e=document.querySelector(".rightWra");e.style.transform="translate(0,0)"}else{let e=document.querySelector(".rightWra");e.style.transform="translate(101%,0)"}}const xe=()=>{Q(),$({data:V.value,alertRange:k.value,flag:2,divisions:E}).then(e=>{N.value=e.data,M()})},Q=()=>{for(const e in q.value)r.removeLayer(q.value[e]);q.value=[];for(const e in G.value)r.removeLayer(G.value[e]);G.value=[];for(const e in U.value)r.removeLayer(U.value[e]);U.value=[],Oe({flag:2,data:V.value,divisions:E}).then(e=>{p.value=e.data;for(const t in p.value){const u=[parseFloat(p.value[t].msLongitude),parseFloat(p.value[t].msLatitude)],w=128,c=[];for(let x=0;x<w;x++){const i=2*Math.PI*x/w,_=ol.sphere.computeDestinationPoint(u,k.value,i);c.push(_)}const S=new ol.Feature({geometry:new ol.geom.Polygon([c])}),C=new ol.style.Style({stroke:new ol.style.Stroke({color:X[p.value[t].warning]&&X[p.value[t].warning].color,width:2})});q.value[t]=new ol.layer.Vector({source:new ol.source.Vector({features:[S]}),style:C}),p.value[t].warning!=="\u65E0\u707E\u5BB3"&&r.addLayer(q.value[t]);const f=new ol.geom.Point(u),b=new ol.Feature({geometry:f,id:p.value[t].msName,type:p.value[t].flag});b.setStyle(new ol.style.Style({image:new ol.style.Icon({src:he(p.value[t].warning),scale:.5})})),G.value[t]=new ol.layer.Vector({source:new ol.source.Vector({features:[b]})}),r.addLayer(G.value[t])}}),Ze({flag:2,alertRange:k.value,data:V.value,divisions:E}).then(e=>{y.value=e.data;for(const t in y.value){const u=[parseFloat(y.value[t].latitude),parseFloat(y.value[t].longitude)],w=new ol.geom.Point(u),c=new ol.Feature({geometry:w,id:y.value[t].contacts,type:y.value[t].flag,warning:y.value[t].earlyWarning});y.value[t].earlyWarning==="0"?(c.setStyle(new ol.style.Style({image:new ol.style.Icon({src:ee,scale:.5})})),U.value[t]=new ol.layer.Vector({source:new ol.source.Vector({features:[c]})}),r.addLayer(U.value[t])):y.value[t].earlyWarning==="1"&&(c.setStyle(new ol.style.Style({image:new ol.style.Icon({src:te,scale:.5})})),U.value[t]=new ol.layer.Vector({source:new ol.source.Vector({features:[c]})}),r.addLayer(U.value[t]))}})},Re=()=>{Q(),$({data:V.value,alertRange:k.value,flag:2,divisions:E}).then(e=>{N.value=e.data,M()})},Ue=()=>{h.value=!1,ze(B.value).then(e=>{e.code=="200"?F({message:"\u9884\u8B66\u77ED\u4FE1\u5DF2\u6210\u529F\u53D1\u9001",type:"success"}):F.error("\u53D1\u9001\u5931\u8D25")})},Te=e=>{B.value=e},We=()=>{Pe({flag:2,divisions:E}).then(e=>{e.data.length<1?F({message:"\u8FD11\u5468\u6682\u65E0\u9884\u8B66",type:"success"}):F({message:`\u8FD11\u5468${e.data.length}\u6B21\u9884\u8B66`,type:"warning"})})},De=()=>{let e=[];Le({flag:2,divisions:E}).then(t=>{e=[],t.data.forEach(u=>{e.push(u.dataTime)}),ie.value=e})};return(e,t)=>{const u=m("el-date-picker"),w=m("el-radio"),c=m("el-radio-group"),S=m("el-option"),C=m("el-select"),f=m("el-button"),b=m("el-table-column"),x=m("el-table"),i=m("el-pagination"),_=m("el-icon"),H=m("el-tooltip"),T=m("el-collapse-item"),d=m("el-collapse"),v=m("el-dialog");return I(),W("div",ot,[nt,n("div",it,[n("div",rt,[g(" \u76D1\u6D4B\u65E5\u671F:\u2003 "),l(u,{"popper-class":"date_poper",class:"m-2",modelValue:V.value,"onUpdate:modelValue":t[0]||(t[0]=a=>V.value=a),onChange:Re,format:"YYYY \u5E74 MM \u6708 DD \u65E5","value-format":"YYYY-MM-DD",type:"date",placeholder:"\u9009\u62E9\u65E5\u671F",disabledDate:me},{default:o(a=>[n("div",{class:je(["cell",{current:a.isCurrent}])},[n("span",ct,ge(a.text),1),pe(a)?(I(),W("span",ut)):ae("",!0)],2)]),_:1},8,["modelValue"])]),n("div",dt,[gt,n("div",pt,[n("div",vt,[g(" \u81EA\u52A8\u53D1\u9001\u9884\u8B66\u77ED\u4FE1\uFF1A "),l(c,{onChange:t[1]||(t[1]=a=>Ie()),modelValue:Y.value,"onUpdate:modelValue":t[2]||(t[2]=a=>Y.value=a),class:"ml-4"},{default:o(()=>[l(w,{label:0,size:"large"},{default:o(()=>[g("\u662F")]),_:1}),l(w,{label:1,size:"large"},{default:o(()=>[g("\u5426")]),_:1})]),_:1},8,["modelValue"])]),n("div",mt,[g(" \u9884\u8B66\u8303\u56F4\uFF1A "),l(c,{onChange:t[3]||(t[3]=a=>xe()),modelValue:k.value,"onUpdate:modelValue":t[4]||(t[4]=a=>k.value=a),class:"ml-4"},{default:o(()=>[l(w,{label:5e3,size:"large"},{default:o(()=>[g("5km")]),_:1}),l(w,{label:1e4,size:"large"},{default:o(()=>[g(" 10km ")]),_:1})]),_:1},8,["modelValue"])]),n("div",yt,[g(" \u7AD9\u70B9\u540D\u79F0: "),l(C,{"popper-class":"select_city",modelValue:z.value,"onUpdate:modelValue":t[5]||(t[5]=a=>z.value=a),placeholder:"\u8BF7\u9009\u62E9",style:{width:"76%"},teleported:"false"},{default:o(()=>[(I(!0),W(le,null,se(ce.value,a=>(I(),oe(S,{key:a.msName,label:a.msName,value:a.msName,title:a.msName},null,8,["label","value","title"]))),128))]),_:1},8,["modelValue"])]),n("div",At,[g(" \u9884\u8B66\u60C5\u51B5: "),l(C,{"popper-class":"select_city",modelValue:P.value,"onUpdate:modelValue":t[6]||(t[6]=a=>P.value=a),placeholder:"\u8BF7\u9009\u62E9",style:{width:"76%"}},{default:o(()=>[(I(),W(le,null,se(Ae,a=>l(S,{key:a.flag,label:a.label,value:a.label},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),n("div",ft,[l(f,{class:"bt1",onClick:ve},{default:o(()=>[g("\u67E5\u8BE2")]),_:1}),l(f,{class:"bt2",onClick:ye},{default:o(()=>[g("\u91CD\u7F6E")]),_:1})]),l(x,{"cell-style":{textAlign:"center"},"header-cell-style":{"text-align":"center",color:"rgba(102, 102, 102, 1)"},data:re.value,style:{width:"100%"},onSelectionChange:Te},{default:o(()=>[l(b,{type:"selection",width:"20"}),l(b,{prop:"msName",width:"80",label:"\u7AD9\u70B9\u540D\u79F0"}),l(b,{prop:"warning",label:"\u9884\u8B66\u60C5\u51B5"}),l(b,{prop:"name",width:"80",label:"\u8054\u7CFB\u4EBA"}),l(b,{prop:"telephone",label:"\u8054\u7CFB\u7535\u8BDD"})]),_:1},8,["header-cell-style","data"]),l(i,{small:"",style:{display:"flex","justify-content":"center","margin-top":"10px"},onCurrentChange:fe,"current-page":L.value,"page-size":j.value,layout:" prev, pager, next",total:N.value.length},null,8,["current-page","page-size","total"]),l(f,{class:"but",type:"primary",disabled:B.value.length<1||Y.value==0,onClick:t[7]||(t[7]=a=>ne(h)?h.value=!0:h=!0)},{default:o(()=>[g(" \u53D1\u5E03\u9884\u8B66\u77ED\u4FE1 ")]),_:1},8,["disabled"])])]),n("div",{class:"rightFoldDiv",onClick:t[8]||(t[8]=a=>ke())},[l(H,{disabled:!D(R),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:o(()=>[D(R)?(I(),oe(_,{key:0},{default:o(()=>[ht]),_:1})):ae("",!0)]),_:1},8,["disabled"]),l(H,{disabled:D(R),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:o(()=>[D(R)?ae("",!0):(I(),oe(_,{key:0},{default:o(()=>[wt]),_:1}))]),_:1},8,["disabled"])])]),l(d,{class:"legend",accordion:""},{default:o(()=>[l(T,{name:"1"},{title:o(()=>[g("\u56FE\u4F8B")]),default:o(()=>[n("div",bt,[n("div",St,[(I(!0),W(le,null,se(D(X),(a,Ne,Ye)=>(I(),W("div",{key:Ye,style:Ke({backgroundColor:a.color,border:"1px solid value.color",width:"100%",height:"25px",marginTop:"5px",textAlign:"center"})},ge(Ne),5))),128))])])]),_:1})]),_:1}),l(v,{modelValue:D(h),"onUpdate:modelValue":t[10]||(t[10]=a=>ne(h)?h.value=a:h=a),title:"\u7CFB\u7EDF\u63D0\u793A",width:"30%",center:""},{footer:o(()=>[n("span",_t,[l(f,{onClick:t[9]||(t[9]=a=>ne(h)?h.value=!1:h=!1)},{default:o(()=>[g("\u53D6\u6D88")]),_:1}),l(f,{type:"primary",onClick:Ue},{default:o(()=>[g(" \u786E\u5B9A ")]),_:1})])]),default:o(()=>[Ct]),_:1},8,["modelValue"])])}}},Ut=Qe(It,[["__scopeId","data-v-9e68befe"]]);export{Ut as default};