13 lines
17 KiB
JavaScript
13 lines
17 KiB
JavaScript
|
import{H as A,_ as ve,r as d,A as ge,V as be,a1 as ye,d as L,o as v,c as h,l as r,m as T,e as u,w as g,f,g as x,x as C,L as he,N as xe,k as _e,y as Se,p as we,q as ke}from"./index.ae0c781d.js";import B from"./downloads.4cdbbcc5.js";import{_ as N}from"./close1.45635d81.js";import{_ as Le,a as Te,b as Ce,c as ze,d as De,e as Ae}from"./linesGL.97ae14ae.js";import{i as W}from"./index.c9f5bd8b.js";import{T as Ne}from"./TimeLine.64a8bde3.js";import{u as M,w as Ve}from"./xlsx.86b9426e.js";import{u as j}from"./useEcharts.dbdb546a.js";import{d as Ie}from"./download.8084913c.js";function Q(m){return A({url:"equipment/cornTotalYearValue",method:"get",params:m})}function $(m){return A({url:"equipment/cornHeightStandardFarmland",method:"get",params:m})}function H(m){return A({url:"equipment/cornGetAllTowns",method:"get",params:m})}function Oe(m){return A({url:"equipment/cornGetAllVillages",method:"get",params:m})}const _=m=>(we("data-v-0ab5a17e"),m=m(),ke(),m),We={class:"center"},Me=_(()=>r("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),Be={class:"leftWra"},Ee={class:"leftTop"},Fe={class:"title"},Ue=_(()=>r("span",null,"\u4F5C\u7269\u4EA7\u91CF\u9884\u4F30",-1)),Ge=_(()=>r("img",{src:B,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Je={key:0,src:N,alt:""},Pe={key:0,class:"imgrotate",src:N,alt:""},Re={class:"rightWra"},qe={class:"rightTop"},Ye={class:"title"},Xe=_(()=>r("span",null,"\u4F5C\u7269\u4EA7\u91CF\u9884\u4F30-\u9AD8\u6807\u51C6\u519C\u7530",-1)),Ze=_(()=>r("img",{src:B,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),je={class:"rightbottom"},Qe={class:"title"},$e=_(()=>r("span",null,"\u4F5C\u7269\u957F\u52BF\u7B49\u7EA7\u7EDF\u8BA1-\u884C\u653F\u533A\u5212",-1)),He=_(()=>r("img",{src:B,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Ke={key:0,src:N,alt:""},et={key:0,class:"imgrotate",src:N,alt:""},tt={class:"bottom_center"},at=Se('<div class="tool" data-v-0ab5a17e><span data-v-0ab5a17e><img src="'+Le+'" alt="" data-v-0ab5a17e></span><span data-v-0ab5a17e><img src="'+Te+'" alt="" data-v-0ab5a17e></span><span data-v-0ab5a17e><img src="'+Ce+'" alt="" data-v-0ab5a17e></span><span data-v-0ab5a17e><img src="'+ze+'" alt="" data-v-0ab5a17e></span><span data-v-0ab5a17e><img src="'+De+'" alt="" data-v-0ab5a17e></span><span data-v-0ab5a17e><img src="'+Ae+'" alt="" data-v-0ab5a17e></span></div>',1),ot={id:"popup"},lt={id:"pop"},rt={key:0},it=_(()=>r("div",null,"\u6751\u540D\uFF1A",-1)),st={class:"mt-4"},nt={__name:"index",setup(m){let c=d(null);const E=d(null),F=d(null),U=d(null),V=d("");let k=ge({arr:[],brr:[],crr:[]});const G=d({name:"",value:""}),K=d([]),I=d(!1);let S=d(!0),w=d(!0),J=d([]),P=d({}),R=d([]);d(null);const ee=()=>{new ol.Map({target:"cesiumContainer",layers:[new ol.layer.Tile({title:"\u5929\u5730\u56FE\u77E2\u91CF\u56FE\u5C42",source:new ol.source.XYZ({url:"http://t0.tianditu.com/DataServer?T=vec_w&tk=5956e6519f2bb0ae8e57bc834298c9f1&x={x}&y={y}&l={z}",wrapX:!1})}),new ol.layer.Tile({title:"\u5929\u5730\u56FE\u77E2\u91CF\u56FE\u5C42\u6CE8\u8BB0",source:new ol.source.XYZ({url:"http://t0.tianditu.com/DataServer?T=cia_w&tk=5956e6519f2bb0ae8e57bc834298c9f1&x={x}&y={y}&l={z}",wrapX:!1})})],controls:ol.control.defaults({attributionOptions:{collapsed:!1}}).extend([new ol.supermap.control.Logo]),view:new ol.View({center:[116,39],zoom:2,projection:"EPSG:3857"})})};be(()=>{le(),re(),ie(),ee(),Y(),X(),te()}),new Cesium.GeographicTilingScheme,Cesium.Ion.defaultAccessToken="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJiYzcwZmJmNi02MzQ5LTQ1MGEtODgzMy0yZTZiZGExY2MzMGMiLCJpZCI6MTAxOTgsInNjb3BlcyI6WyJhc2wiLCJhc3IiLCJnYyJdLCJpYXQiOjE1ODEzMDgxNTR9.NeJU4yfUi-SnLrNDOBYsQgmiSh3B4axCTi1m84Qw99c";function te(){ye({url:serverAPI.geoserverUrl+"/shuzisannong/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=shuzisannong%3Afarmland&maxFeatures=50&outputFormat=application%2Fjson",method:"get"}).then(t=>{console.log("\u519C\u7530\uFF1A",t),K.value=t.data.features}).catch(t=>{})}let b=d({label:[]});function z(t,e){if(c){const a=c.imageryLayers._layers;for(let l=a.lengt
|
||
|
v-for="(value, item, key) in dic"
|
||
|
:key="key"
|
||
|
:style="{
|
||
|
background: value.color,
|
||
|
border: \`1px solid \${value.color}\`,
|
||
|
width: \`100%\`,
|
||
|
}"
|
||
|
v-model="checked3"
|
||
|
:disabled="value.disabled"
|
||
|
:label="item"
|
||
|
/> `),u(s,{style:{background:"rgba(255, 238, 204, 1)",border:"1px solid rgba(251, 171, 60, 1)",width:"100%"},modelValue:t.checked3,"onUpdate:modelValue":e[6]||(e[6]=i=>t.checked3=i),label:"0-200"},null,8,["modelValue"]),u(s,{style:{background:"rgba(255, 220, 153, 1)",border:"1px solid rgba(251, 219, 13, 1)",width:"100%"},modelValue:t.checked4,"onUpdate:modelValue":e[7]||(e[7]=i=>t.checked4=i),label:"200-400"},null,8,["modelValue"]),u(s,{style:{background:"rgba(255, 203, 102, 1)",border:"1px solid rgba(244, 218, 136, 1)",width:"100%"},modelValue:t.checked3,"onUpdate:modelValue":e[8]||(e[8]=i=>t.checked3=i),label:"400-600"},null,8,["modelValue"]),u(s,{style:{background:"rgba(255, 185, 51, 1)",border:"1px solid rgba(174, 83, 110, 1)",width:"100%"},modelValue:t.checked4,"onUpdate:modelValue":e[9]||(e[9]=i=>t.checked4=i),label:"600-800"},null,8,["modelValue"]),u(s,{style:{background:"rgba(255, 168, 0, 1)",border:"1px solid rgba(242, 177, 167, 1)",width:"100%"},modelValue:t.checked3,"onUpdate:modelValue":e[10]||(e[10]=i=>t.checked3=i),label:"800-1000"},null,8,["modelValue"])]),_:1},8,["modelValue","onChange"])])]),_:1})]),_:1})])}}},yt=ve(nt,[["__scopeId","data-v-0ab5a17e"],["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/views/crops/output/maize/index.vue"]]);export{yt as default};
|