Agriculture-front-end/dist/assets/index.ad8bb506.js
2023-09-21 17:37:29 +08:00

20 lines
19 KiB
JavaScript

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