14 lines
134 KiB
JavaScript
14 lines
134 KiB
JavaScript
|
import{z as Ee,_ as $r,r as w,A as oa,B as ei,C as ti,D as ua,d as ue,o as Q,c as te,l as n,F as me,f as v,m as G,e as h,w as k,g as we,G as ws,H as As,x as q,k as Ot,y as ai,I as da,J as ca,p as si,q as ri}from"./index.b3a66a9e.js";import Gt from"./downloads.e955445d.js";import{_ as Lt}from"./close1.45635d81.js";import{_ as ii,a as ni,b as li,c as oi,d as ui,e as di}from"./linesGL.90f708a5.js";import{i as ha,L as ks}from"./index.c9f5bd8b.js";import{d as fa}from"./download.a6a18203.js";import{u as ma}from"./useEcharts.83442be8.js";import{g as ci,a as hi}from"./classify.ee69cc46.js";const fi="/assets/spore.b8bb2c5c.png",mi="/assets/insect.46611a7c.png",gi="/assets/soil.cf5e9f99.png",Cs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAoCAYAAACfKfiZAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAAEZ0FNQQAAsY8L/GEFAAAACXBIWXMAAA7DAAAOwwHHb6hkAAACFElEQVRYR+2V723CMBDF7XSOFHWPUsEoHaBdgbBCOwCjEJXuUdGMAF+Ley85SJz4z9moHyrxk4ztkPg9350TdQ2PlVk8VabiaRaa+2QgbIxa8VQZrZafla55KqbgPomxONBGbXOikRyB+cpsqVt0sylaq/VHpcVGxAaQb9oldn0Rh9hJqRq750stKSZEBlg8KDKOjNRE1IAz357FHffWVJzrUHEGDbjEY9We+oz3FLh2s1trHTtqiAwixNMWEvEWrdcAiouHAOJLHnd8NQv93WzRin1jpQMmsGsaYo1aUgtOEAUUIE8vQFDvGzNsYxNSkt8D2LEynpBqKrr70o5UBLkBhLywj6IPc6LwP5TBWjkjehW3IXeJ0455ZIF7pSmJGsBCRtnHqoXDbWYlFb1d9QDPSEz4U4CQ35GwI98QPM1Ka/GYUZ5NcBsI5DuUX68JwmUaTAwEd/JDoRYUl++kuExYBlIejOHbyHitzkBivqWEUnJOpZbcxNM8IvWk8RrleU/GGy2GM72kU+CHpy0IuUjcmDdqhtqhHUfAmlibpwMQInxQ4JDGfDVMLz5sURMAKYdWkt6EqTjagf9NQvQtcHDk/mpyDWy4H+K69od0dYACFBXhjRs3fHSf4wzmFY6heqHhkVbZ7Cr92v2TRpaBgXiPVu85JvLehGNxYNQzj5L4p98CyjmPelzXBFxbhF3Ys4tQqV+LyF9Q2/m3qgAAAABJRU5ErkJggg==";function Tt(e){return Ee({url:"equipment/findAllSpore",method:"get",params:e})}function mt(e){return Ee({url:"equipment/findAllSoil",method:"get",params:e})}function gt(e){return Ee({url:"equipment/findAllDetectionLights",method:"get",params:e})}function pi(e){return Ee({url:"equipment/sporeEquipment",method:"get",params:e})}function yi(e){return Ee({url:"equipment/detectionLightsEquipment",method:"get",params:e})}function vi(e){return Ee({url:"equipment/soilEquipment",method:"get",params:e})}function wi(e){return Ee({url:"equipment/sporeEquipmentCondition",method:"get",params:e})}function Ai(e){return Ee({url:"equipment/equipmentCondition",method:"get",params:e})}function ki(e){return Ee({url:"equipment/eqLightEquipmentCondition",method:"get",params:e})}//! moment.js
|
||
|
//! version : 2.29.4
|
||
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
||
|
//! license : MIT
|
||
|
//! momentjs.com
|
||
|
var xs;function f(){return xs.apply(null,arguments)}function Mi(e){xs=e}function pe(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Je(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function O(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ya(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(O(e,t))return!1;return!0}function re(e){return e===void 0}function Te(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Dt(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function _s(e,t){var a=[],s,r=e.length;for(s=0;s<r;++s)a.push(t(e[s],s));return a}function Pe(e,t){for(var a in t)O(t,a)&&(e[a]=t[a]);return O(t,"toString")&&(e.toString=t.toString),O(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Me(e,t,a,s){return $s(e,t,a,s,!0).utc()}function Di(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function S(e){return e._pf==null&&(e._pf=Di()),e._pf}var wa;Array.prototype.some?wa=Array.prototype.some:wa=function(e){var t=Object(this),a=t.length>>>0,s;for(s=0;s<a;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};function Ca(e){if(e._isValid==null){var t=S(e),a=wa.call(t.parsedDateParts,function(r){return r!=null}),s=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&a);if(e._strict&&(s=s&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=s;else return s}return e._isValid}function zt(e){var t=Me(NaN);return e!=null?Pe(S(t),e):S(t).userInvalidated=!0,t}var Ms=f.momentProperties=[],ga=!1;function xa(e,t){var a,s,r,i=Ms.length;if(re(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),re(t._i)||(e._i=t._i),re(t._f)||(e._f=t._f),re(t._l)||(e._l=t._l),re(t._strict)||(e._strict=t._strict),re(t._tzm)||(e._tzm=t._tzm),re(t._isUTC)||(e._isUTC=t._isUTC),re(t._offset)||(e._offset=t._offset),re(t._pf)||(e._pf=S(t)),re(t._locale)||(e._locale=t._locale),i>0)for(a=0;a<i;a++)s=Ms[a],r=t[s],re(r)||(e[s]=r);return e}function St(e){xa(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ga===!1&&(ga=!0,f.updateOffset(this),ga=!1)}function ye(e){return e instanceof St||e!=null&&e._isAMomentObject!=null}function Os(e){f.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function ce(e,t){var a=!0;return Pe(function(){if(f.deprecationHandler!=null&&f.deprecationHandler(null,e),a){var s=[],r,i,l,p=arguments.length;for(i=0;i<p;i++){if(r="",typeof arguments[i]=="object"){r+=`
|
||
|
[`+i+"] ";for(l in arguments[0])O(arguments[0],l)&&(r+=l+": "+arguments[0][l]+", ");r=r.slice(0,-2)}else r=arguments[i];s.push(r)}Os(e+`
|
||
|
Arguments: `+Array.prototype.slice.call(s).join("")+`
|
||
|
`+new Error().stack),a=!1}return t.apply(this,arguments)},t)}var Ds={};function Ts(e,t){f.deprecationHandler!=null&&f.deprecationHandler(e,t),Ds[e]||(Os(t),Ds[e]=!0)}f.suppressDeprecationWarnings=!1;f.deprecationHandler=null;function De(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Si(e){var t,a;for(a in e)O(e,a)&&(t=e[a],De(t)?this[a]=t:this["_"+a]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Aa(e,t){var a=Pe({},e),s;for(s in t)O(t,s)&&(Je(e[s])&&Je(t[s])?(a[s]={},Pe(a[s],e[s]),Pe(a[s],t[s])):t[s]!=null?a[s]=t[s]:delete a[s]);for(s in e)O(e,s)&&!O(t,s)&&Je(e[s])&&(a[s]=Pe({},a[s]));return a}function _a(e){e!=null&&this.set(e)}var ka;Object.keys?ka=Object.keys:ka=function(e){var t,a=[];for(t in e)O(e,t)&&a.push(t);return a};var bi={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Yi(e,t,a){var s=this._calendar[e]||this._calendar.sameElse;return De(s)?s.call(t,a):s}function ke(e,t,a){var s=""+Math.abs(e),r=t-s.length,i=e>=0;return(i?a?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+s}var Oa=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Et=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,pa={},at={};function y(e,t,a,s){var r=s;typeof s=="string"&&(r=function(){return this[s]()}),e&&(at[e]=r),t&&(at[t[0]]=function(){return ke(r.apply(this,arguments),t[1],t[2])}),a&&(at[a]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function Ci(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function xi(e){var t=e.match(Oa),a,s;for(a=0,s=t.length;a<s;a++)at[t[a]]?t[a]=at[t[a]]:t[a]=Ci(t[a]);return function(r){var i="",l;for(l=0;l<s;l++)i+=De(t[l])?t[l].call(r,e):t[l];return i}}function It(e,t){return e.isValid()?(t=Es(t,e.localeData()),pa[t]=pa[t]||xi(t),pa[t](e)):e.localeData().invalidDate()}function Es(e,t){var a=5;function s(r){return t.longDateFormat(r)||r}for(Et.lastIndex=0;a>=0&&Et.test(e);)e=e.replace(Et,s),Et.lastIndex=0,a-=1;return e}var _i={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Oi(e){var t=this._longDateFormat[e],a=this._longDateFormat[e.toUpperCase()];return t||!a?t:(this._longDateFormat[e]=a.match(Oa).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var Ti="Invalid date";function Ei(){return this._invalidDate}var Ri="%d",Ii=/\d{1,2}/;function Hi(e){return this._ordinal.replace("%d",e)}var Pi={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Fi(e,t,a,s){var r=this._relativeTime[a];return De(r)?r(e,t,a,s):r.replace(/%d/i,e)}function Ui(e,t){var a=this._relativeTime[e>0?"future":"past"];return De(a)?a(t):a.replace(/%s/i,t)}var vt={};function $(e,t){var a=e.toLowerCase();vt[a]=vt[a+"s"]=vt[t]=e}function he(e){return typeof e=="string"?vt[e]||vt[e.toLowerCase()]:void 0}function Ta(e){var t={},a,s;for(s in e)O(e,s)&&(a=he(s),a&&(t[a]=e[s]));return t}var Rs={};function ee(e,t){Rs[e]=t}function Ni(e){var t=[],a;for(a in e)O(e,a)&&t.push({unit:a,priority:Rs[a]});return t.sort(function(s,r){return s.priority-r.priority}),t}function Qt(e){return e%4===0&&e%100!==0||e%400===0}function de(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Y(e){var t=+e,a=0;return t!==0&&isFinite(t)&&(a=de(t)),a}function it(e,t){return function(a){return a!=null?(Is(this,e,a),f.updateOffset(this,t),this):Ft(this,e)}}function Ft(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Is(e,t,a){e.isValid()
|
||
|
f.version="2.29.4";Mi(P);f.fn=c;f.min=dl;f.max=cl;f.now=hl;f.utc=Me;f.unix=Bo;f.months=Go;f.isDate=Dt;f.locale=Ue;f.invalid=zt;f.duration=ve;f.isMoment=ye;f.weekdays=zo;f.parseZone=Vo;f.localeData=Re;f.isDuration=Ht;f.monthsShort=Lo;f.weekdaysMin=qo;f.defineLocale=Fa;f.updateLocale=Bn;f.locales=Vn;f.weekdaysShort=Qo;f.normalizeUnits=he;f.relativeTimeRounding=ku;f.relativeTimeThreshold=Mu;f.calendarFormat=Fl;f.prototype=c;f.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const H=e=>(si("data-v-b301384e"),e=e(),ri(),e),Su={class:"center"},bu={class:"leftWra"},Yu={class:"leftTop"},Cu=H(()=>n("span",null,"\u8BBE\u5907\u7C7B\u578B\u9009\u62E9",-1)),xu={class:"types"},_u={width:"100%",class:"types_left"},Ou=H(()=>n("img",{width:"90",src:fi,alt:""},null,-1)),Tu={width:"100%",class:"types_center"},Eu=H(()=>n("img",{width:"90",src:mi,alt:""},null,-1)),Ru={width:"100%",class:"types_right"},Iu=H(()=>n("img",{width:"90",src:gi,alt:""},null,-1)),Hu={key:0,class:"leftbottom"},Pu=H(()=>n("span",null,"\u667A\u80FD\u5B62\u5B50\u76D1\u6D4B\u6570\u636E",-1)),Fu=H(()=>n("img",{src:Gt,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Uu={class:"tableDiv"},Nu=H(()=>n("div",{slot:"error",class:"image-slot"},[n("i",{class:"el-icon-picture-outline"})],-1)),Wu={key:1,class:"leftbottom"},Bu=H(()=>n("span",null,"\u5B9E\u65F6\u76D1\u6D4B\u6570\u636E",-1)),Vu=H(()=>n("img",{src:Gt,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Gu={class:"tableDiv"},Lu=H(()=>n("div",{slot:"error",class:"image-slot"},[n("i",{class:"el-icon-picture-outline"})],-1)),zu={key:2,class:"leftbottom"},Qu=H(()=>n("span",null,"\u8BBE\u5907\u76D1\u6D4B\u4FE1\u606F\u5217\u8868",-1)),qu=H(()=>n("img",{src:Gt,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),Ju={class:"tableDiv"},Xu={class:"selectdiv",m:"4"},Zu={key:0,src:Lt,alt:""},ju={key:0,class:"imgrotate",src:Lt,alt:""},Ku={class:"rightWra"},$u={class:"rightTop"},ed=H(()=>n("div",{class:"title"},[n("span",null,"\u5892\u60C5\u3001\u571F\u8D28\u76D1\u6D4B\u6570\u636E")],-1)),td={class:"depth"},ad={key:0,src:Lt,alt:""},sd={key:0,class:"imgrotate",src:Lt,alt:""},rd={class:"bottom_center"},id=H(()=>n("div",{class:"left_bottom"},[n("div",{class:"title"},[n("span",null,"\u8BBE\u5907\u7167\u7247")]),n("div",{class:"imgdiv"},[n("img",{src:"https://img.js.design/assets/img/641d73b4634e77963ddc9e3c.png#34e63fa85ea624d67ab959d24318b0e9",alt:""})])],-1)),nd={class:"right_bottom"},ld=H(()=>n("span",null,"\u866B\u60C5\u76D1\u6D4B\u6570\u636E",-1)),od=H(()=>n("img",{src:Gt,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),ud={class:"tableDiv"},dd=H(()=>n("div",{slot:"error",class:"image-slot"},[n("i",{class:"el-icon-picture-outline"})],-1)),cd={key:0,src:Cs,alt:""},hd={key:0,class:"imgrotate",src:Cs,alt:""},fd=ai('<div class="tool" data-v-b301384e><span data-v-b301384e><img src="'+ii+'" alt="" data-v-b301384e></span><span data-v-b301384e><img src="'+ni+'" alt="" data-v-b301384e></span><span data-v-b301384e><img src="'+li+'" alt="" data-v-b301384e></span><span data-v-b301384e><img src="'+oi+'" alt="" data-v-b301384e></span><span data-v-b301384e><img src="'+ui+'" alt="" data-v-b301384e></span><span data-v-b301384e><img src="'+di+'" alt="" data-v-b301384e></span></div>',1),md={id:"popup"},gd={id:"pop"},pd={class:"content"},yd={key:0,style:{"background-color":"rgba(67, 207, 124, 1)"}},vd={key:1,style:{background:"red"}},wd={class:"my-header"},Ad=["id"],kd={class:"buttonbox"},Md=H(()=>n("span",{style:{"vertical-align":"middle"}},"\u67E5\u8BE2",-1)),Dd=H(()=>n("span",{style:{"vertical-align":"middle"}},"\u4E0B\u8F7D",-1)),Sd=H(()=>n("span",{style:{"vertical-align":"middle"}},"\u91CD\u7F6E",-1)),bd={class:"select_div"},Yd={class:"slele_time"},Cd={class:"time_on"},xd={class:"time_end"},_d={class:"device"},Od={class:"tableDiv"},Td=H(()=>n("div",{slot:"error",class:"image-slot"},[n("i",{class:"el-icon-p
|
||
|
`,A+=V}else A=d;return A}}},yAxis:[{name:"EC\u503C(mS/cm) ",nameTextStyle:{color:"rgba(255, 255, 255, 0.8)",fontSize:14},type:"value",splitLine:{show:!0,lineStyle:{color:"rgba(255,255,255,0.2)",width:1,type:"solid"}},axisLine:{show:!1,lineStyle:{color:"transparent"}},axisLabel:{show:!0,fontSize:12,textStyle:{color:"#ADD6FF"}}}],series:[{name:"EC\u503C",type:"bar",barWidth:20,showBackground:!0,backgroundStyle:{color:"rgba(255, 255, 255, 0.3)"},itemStyle:{normal:{color:new ks(0,0,0,1,[{offset:0,color:"rgba(43, 224, 152, 1)"},{offset:1,color:"rgba(185, 250, 224, 1)"}])}},data:ra._rawValue,z:0,zlevel:0},{type:"pictorialBar",barWidth:20,itemStyle:{normal:{color:"rgba(2, 31, 26, 0.85)"}},symbolRepeat:"fixed",symbolMargin:3,symbol:"rect",symbolSize:[30,4],symbolPosition:"end",symbolOffset:[0,0],data:ra._rawValue,z:1,zlevel:0,tooltip:{show:!1}}]};o.on("click",function(d){console.log(d.name)}),u&&o.setOption(u,{notMerge:!0,grid:{bottom:20}}),ma(o,u)}function ms(){const o=ha(p.value);let u=qa._rawValue,d=xt._rawValue,A={backgroundColor:"transparent",grid:{left:"15%",right:"7%",top:"15%",bottom:"17%"},tooltip:{trigger:"axis",axisPointer:{type:"shadow",lineStyle:{color:"#57617B"}}},dataZoom:[{type:"slider",show:!1,handleSize:0,startValue:0,endValue:6,height:10,left:"5%",right:"4%",bottom:5,borderColor:"#000",fillerColor:"#269cdb",borderRadius:5,backgroundColor:"#33384b",showDataShadow:!1,showDetail:!1,realtime:!0,filterMode:"filter"},{type:"inside",show:!0,start:1,end:100}],xAxis:{type:"category",axisLine:{show:!0,lineStyle:{color:"rgba(255, 255, 255, 0.7)"}},offset:12,axisTick:{show:!1,alignWithLabel:!0,lineStyle:{color:"#dddddd"}},axisLabel:{interval:1,textStyle:{color:"rgba(219, 225, 255, 1)"},formatter:function(b){var R="",E=b.length,U=10,V=Math.ceil(E/U);if(E>U)for(var z=0;z<V;z++){var se="",fe=z*U,be=fe+U;z==V-1?se=b.substring(fe,E):se=b.substring(fe,be)+`
|
||
|
`,R+=se}else R=b;return R}},data:d},yAxis:{name:"PH\u503C(ph)",type:"value",axisLine:{show:!1,lineStyle:{color:"#dddddd"}},splitLine:{show:!0,lineStyle:{color:"rgba(255,255,255,0.2)",width:1,type:"solid"}},axisTick:{show:!1},axisLabel:{fontSize:16},boundaryGap:["20%","20%"]},series:[{name:"",type:"line",stack:"\u603B\u91CF",smooth:!0,symbol:"none",showSymbol:!1,symbolSize:8,itemStyle:{normal:{areaStyle:{color:new ks(0,1,0,0,[{offset:.4,color:"rgba(163, 198, 255, 0.4)"},{offset:1,color:"rgba(163, 198, 255, 0.01)"}])}}},markPoint:{itemStyle:{normal:{color:"red"}}},data:u}]};ma(o,A)}function la(){const o=ha(M.value);var u=xt._rawValue,d=Le.value,A=Ge.value;ma(o,{tooltip:{trigger:"axis"},grid:{top:"15%",left:"5%",right:"7%",bottom:"15%",containLabel:!0},dataZoom:[{type:"slider",show:!1,handleSize:0,startValue:0,endValue:6,height:10,left:"5%",right:"4%",bottom:5,borderColor:"#000",fillerColor:"#269cdb",borderRadius:5,backgroundColor:"#33384b",showDataShadow:!1,showDetail:!1,realtime:!0,filterMode:"filter"},{type:"inside",show:!0,start:1,end:100}],xAxis:[{type:"category",data:u,axisLine:{show:!1},axisLabel:{textStyle:{color:"rgba(255, 255, 255, 0.7)"},interval:1,formatter:function(R){var E="",U=R.length,V=10,z=Math.ceil(U/V);if(U>V)for(var se=0;se<z;se++){var fe="",be=se*V,ct=be+V;se==z-1?fe=R.substring(be,U):fe=R.substring(be,ct)+`
|
||
|
`,E+=fe}else E=R;return E}},boundaryGap:!1,axisTick:{show:!1}}],yAxis:[{name:"\u571F\u58E4\u6E29\u5EA6 (\u2103)",type:"value",axisLine:{show:!1,lineStyle:{color:"#dddddd"}},axisTick:{show:!1},axisLabel:{textStyle:{color:"rgba(255, 255, 255, 0.7)"}},splitLine:{show:!0,lineStyle:{color:"#ccc",type:"solid",opacity:1}}},{name:"\u571F\u58E4\u6E7F\u5EA6(%RH)",type:"value",axisLine:{show:!1,lineStyle:{color:"#dddddd"}},position:"right",axisTick:{show:!1},axisLabel:{textStyle:{color:"rgba(255, 255, 255, 0.7)"},formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"\u571F\u58E4\u6E29\u5EA6",type:"line",data:A,symbolSize:1,itemStyle:{normal:{color:"rgba(252, 186, 211, 1)"}},smooth:!0,yAxisIndex:0,showSymbol:!1,lineStyle:{width:3,color:"rgba(252, 186, 211, 1)"}},{name:"\u571F\u58E4\u6E7F\u5EA6",type:"line",data:d,symbolSize:1,yAxisIndex:1,itemStyle:{normal:{color:"rgba(168, 216, 234, 1)"}},smooth:!0,showSymbol:!1,lineStyle:{width:3,color:"rgba(168, 216, 234, 1)"}}]})}function gs(o,u){let d=new Cesium.WebMapServiceImageryProvider({url:serverAPI.geoserverUrl+"/shuzisannong/wms?",layers:o,parameters:{service:"WMS",format:"image/png",transparent:!0}});d.customName=u;let A=r.imageryLayers.addImageryProvider(d);u.indexOf("gbznt")>-1&&(r.imageryLayers.lowerToBottom(A),r.imageryLayers.raise(A))}function Xr(){_t(["gbznt"],!0),gs("shuzisannong:huangdaoqu_town","tl"),r.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:2}),sa.value=!1}function Zr(){let o=ps.value;ua({url:serverAPI.geoserverUrl+"/shuzisannong/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=shuzisannong%3Ahuangdaoqu_town&maxFeatures=50&outputFormat=application%2Fjson"}).then(u=>{u.data.features.forEach((A,b)=>{const R=Cesium.Rectangle.fromDegrees(A.bbox[0],A.bbox[1],A.bbox[2],A.bbox[3]),E=Cesium.Rectangle.center(R);Cesium.Math.toDegrees(E.longitude),Cesium.Math.toDegrees(E.latitude),A.properties.XZDM==="370211011"||A.properties.XZDM;const U=o[A.properties.XZMC];U&&U.map((V,z)=>V.properties)})}).catch(u=>{})}let ps=w({});function jr(){ua({url:serverAPI.geoserverUrl+"/shuzisannong/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=shuzisannong%3Afenlei&maxFeatures=137&outputFormat=application%2Fjson"}).then(o=>{let u=o.data.features,d={};u.forEach(A=>{let b=A.properties.town;d[b]?d[b].push(A):d[b]=[A]}),ps.value=d,Zr()}).catch(o=>{})}function ys(){if(Se.value&&Se.label[0].longitude&&Se.label[0].latitude){const u=Cesium.Cartesian3.fromDegrees(Number(Se.label[0].longitude),Number(Se.label[0].latitude),0);var o=Cesium.SceneTransforms.wgs84ToWindowCoordinates(r.scene,u);if(Cesium.defined(o)){const d=document.getElementById("pop");d.style.top=o.y-10+"px",d.style.left=o.x+10+"px"}}}function vs(){_t(["village_CQL"]),_t(["aaa"]),ns("villageLine"),ns("townLine");const o=document.getElementById("pop");o.style.display="none",r.scene.postRender.removeEventListener(ys),r.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:2}),_t(["gbznt"],!0),sa.value=!1}function Kr(o){const u=document.getElementById("pop");u.style.display="block",u.style.position="absolute",u.style.top=o.y-10+"px",u.style.left=o.x+10+"px",u.style.zIndex=99}return(o,u)=>{const d=ue("el-table-column"),A=ue("image-preview"),b=ue("el-table"),R=ue("el-tooltip"),E=ue("el-button"),U=ue("Close"),V=ue("el-icon"),z=ue("el-date-picker"),se=ue("el-option"),fe=ue("el-select"),be=ue("el-pagination"),ct=ue("el-dialog");return Q(),te("div",Su,[n("div",{ref_key:"cesiumContainer",ref:i,style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,512),n("div",bu,[n("div",Yu,[n("div",{class:"title"},[Cu,n("p",{onClick:Yr},"\u5C55\u793A\u5168\u90E8")]),n("div",xu,[n("div",_u,[Ou,n("p",{onClick:u[0]||(u[0]=m=>{Dr()}),class:me(v(ae)==1||v(ae)==4?"sele_types":"")}," \u667A\u80FD\u5B62\u5B50\u4EEA ",2)]),n("div",Tu,[Eu,n("p",{onClick:u[1]||(u[1]=m=>{Sr()}),class:me(v(ae)==2||v(ae)==4?"sele_types":"")}," \u866B\u60C5\u76D1\u6D4B\u4EEA ",2)]),n("div",Ru,[Iu,n("p",{onClick:u[2]||(u[2]=m=>{br()}),class:me(v(ae)==3||v(ae)==4?"sele_types":"
|