Agriculture-front-end/dist/assets/index.ba60de27.js

3 lines
144 KiB
JavaScript
Raw Normal View History

import{Q as j,_ as ro,r as p,u as co,I as ql,x as po,H as Ga,S as Fa,U as vo,d as L,T as Xa,o as i,c as n,l as t,O as se,f as o,n as g,e as u,w as d,A as r,m as f,k as D,J as de,V as X,W as J,K as ce,M as be,j as ho,F as ja,a8 as Vl,q as mo,s as go,v as fo}from"./index.064676a5.js";import ga from"./downloads.e955445d.js";import{_ as yo,a as wo}from"./zhankaiss.6870329f.js";import{_ as bo,a as ko,b as Ao,c as xo}from"./position.3b2b2301.js";import{_ as Co,a as _o}from"./face.d3470a20.js";import{_ as To}from"./dow.b4b83e88.js";import{L as R,i as Ho,_ as Eo,a as Yo}from"./VideoSurveillance.1754b100.js";import{_ as Za,a as Wa,b as Ka}from"./fang.1cee0737.js";import"./index.2809c208.js";/* empty css */import{l as Mo,a as Do}from"./chzl.60e42fc7.js";import{d as Je}from"./download.fe7036ba.js";import{u as So}from"./useEcharts.c88e6744.js";import"./linesGL.76a64914.js";import{h as _}from"./moment.2cad4b18.js";import{e as zo}from"./element-resize-detector.d4d1cd8d.js";import"./imouplayer.55398e05.js";import Io from"./insect.a7af68da.js";import{ai as Tl}from"./linkSeriesData.e74eae00.js";import"./browser-detector.d146ab9e.js";function ke(E){return j({url:"equipment/findAllSpore",method:"get",params:E})}function me(E){return j({url:"equipment/findAllSoil",method:"get",params:E})}function pe(E){return j({url:"equipment/findAllDetectionLights",method:"get",params:E})}function Bo(E){return j({url:"equipment/sporeEquipment",method:"get",params:E})}function qo(E){return j({url:"equipment/detectionLightsEquipment",method:"get",params:E})}function Vo(E){return j({url:"equipment/soilEquipment",method:"get",params:E})}function va(E){return j({url:"equipment/sporeEquipmentCondition",method:"get",params:E})}function ha(E){return j({url:"equipment/equipmentCondition",method:"get",params:E})}function ma(E){return j({url:"equipment/eqLightEquipmentCondition",method:"get",params:E})}function Po(E){return j({url:"equipment/deviceNumber",method:"get",params:E})}function Pl(E){return j({url:"equipment/findAllSoilTb",method:"get",params:E})}function Ja(E){return j({url:"equipment/treeDataTo",method:"get",params:E})}function Hl(E){return j({url:"equipment/cameraNameTo",method:"get",params:E})}function Lo(E){return j({url:"equipment/seedlingMonitoring",method:"get",params:E})}function El(E){return j({url:"equipment/capturePointCamera",method:"get",params:E})}function Ro(E){return j({url:"equipment/query",method:"get",params:E})}function No(E){return j({url:"equipment/sxtbf",method:"get",params:E})}function Uo(E){return j({url:"equipment/cqyjfsdx",method:"post",data:E})}function Oo(E){return j({url:"/equipment/xgclcqdzt",method:"post",params:E})}const b=E=>(mo("data-v-18cf26f7"),E=E(),go(),E),Qo={class:"fatherDiv"},Go=ja('<div id="popup" class="ol-popup" data-v-18cf26f7><div class="pophead" style="width:100%;" data-v-18cf26f7><div id="popup-title" style="font-size:20px;font-weight:400;letter-spacing:1px;line-height:42px;padding:0 20px;border-radius:8px;margin:20px;background:rgba(100, 195, 164, 0.05);" data-v-18cf26f7></div><a href="#" id="popup-closer" class="ol-popup-closer" data-v-18cf26f7></a></div><div id="popup-content" style="padding:10px;" data-v-18cf26f7></div></div>',1),Fo={class:"centerBox"},Xo={class:"rightWra"},Jo={class:"leftTop"},jo={class:"types"},Zo={width:"100%",class:"types_left"},Wo={width:"100%",class:"types_center"},Ko={width:"100%",class:"types_right"},$o={key:0,class:"leftbottom"},es=b(()=>t("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),ls=b(()=>t("span",null,"\u667A\u80FD\u5B62\u5B50\u76D1\u6D4B\u6570\u636E",-1)),as=b(()=>t("img",{src:ga,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),ts={class:"tableDiv"},os={key:0,style:{"background-color":"rgba(255, 62, 57, 1)",width:"20px",height:"30px","border-radius":"2px",color:"#fff"}},ss={key:1,style:{"background-color":"rgba(9, 222, 133, 1)",padding:"2px 12px 2px 12px","border-radius":"2px",color:"#fff"}},is={key:0},ns=b(()=>t("div"
`,z+=xl}else z=C;return z}},boundaryGap:!1,axisTick:{show:!1}}],yAxis:[{name:l,type:"value",axisLine:{show:!1,lineStyle:{color:"rgba(102, 102, 102, 1)"}},axisTick:{show:!1},axisLabel:{textStyle:{color:"rgba(102, 102, 102, 1)"}},splitLine:{show:!0,lineStyle:{color:"#ccc",type:"solid",opacity:1}}},{name:"\u571F\u58E4\u6E7F\u5EA6(%RH)",type:"value",axisLine:{show:!1,lineStyle:{color:"rgba(102, 102, 102, 1)"}},position:"right",axisTick:{show:!1},axisLabel:{textStyle:{color:"rgba(102, 102, 102, 1)"},formatter:"{value}"},splitLine:{show:!1}}],series:[{name:s,type:"line",data:T,symbolSize:10,itemStyle:{normal:{color:function(C){if(Q.value==1)return C.value>=-10&&C.value<=40?c:"red";if(Q.value==2)return C.value>=-5<=40?c:"red";if(Q.value==3)return C.value>=0&&C.value<=30?c:"red";if(Q.value==4)return C.value>=0&&C.value<=30?c:"red";if(Q.value==5)return C.value>=0&&C.value<=30?c:"red";if(Q.value==6)return C.value>=0&&C.value<=.2?c:"red";if(Q.value==7)return C.value>=5.5&&C.value<=7.5?c:"red"}}},smooth:!0,yAxisIndex:0,showSymbol:!0,symbol:"circle",lineStyle:{width:3,color:c}},{name:"\u571F\u58E4\u6E7F\u5EA6",type:"line",data:m,symbolSize:10,yAxisIndex:1,itemStyle:{normal:{color:function(C){if(Q.value==1)return C.value>=5&&C.value<=60?"rgba(199, 125, 231, 1)":"red";if(Q.value==2)return C.value>=0<=30?"rgba(199, 125, 231, 1)":"red";if(Q.value==3)return C.value>=0&&C.value<=30?"rgba(199, 125, 231, 1)":"red";if(Q.value==4)return C.value>=0&&C.value<=40?"rgba(199, 125, 231, 1)":"red";if(Q.value==5)return C.value>=0&&C.value<=40?"rgba(199, 125, 231, 1)":"red"}}},label:{color:C=>C.color},smooth:!0,showSymbol:!0,symbol:"circle",lineStyle:{width:3,color:"rgba(199, 125, 231, 1)"}},{name:"\u9884\u8B66",type:"bar",data:[],itemStyle:{color:"red"}}]}),zo().listenTo($e.value,()=>{Fa(()=>{a.resize()})})}let sa=p();const Ft=a=>{sa.value=a,xe.value=!0,console.log(sa.value)},Xt=()=>{xe.value=!1;let a=sa.value;a.jl=fl.value,Uo({...a}).then(l=>{l.code=="200"?Vl({message:"\u9884\u8B66\u77ED\u4FE1\u5DF2\u6210\u529F\u53D1\u9001",type:"success"}):Vl.error("\u53D1\u9001\u5931\u8D25")})},{proxy:kl}=fo(),La=p([]),rl=p(!1),ia=p(!0),na=p(!0),Jt=p([]),jt=p(!0),Zt=p(!0),ua=p(0),Ra=p("");let Al=p(!1),Il=p([]);const Wt=ql({form:{},queryParams:{pageNum:1,pageSize:10,id:null,name:null,bt:null,nr:null},rules:{}}),{queryParams:Ve,form:ve,rules:Kt}=vo(Wt);function dl(){ia.value=!0,Mo({...Ve.value}).then(a=>{La.value=a.data,ua.value=a.total,ia.value=!1})}function $t(){rl.value=!1,Na()}function Na(){ve.value={name:null,xttz:null,fzff:null},kl.resetForm("chzlRef")}function ra(){Ve.value.pageNum=1,dl()}function eo(){kl.resetForm("queryRef"),ra()}function lo(a){Jt.value=a.map(l=>l.id),jt.value=a.length!=1,Zt.value=!a.length}function ao(){Na(),rl.value=!0,Ra.value="\u6DFB\u52A0\u75C5\u5BB3"}function to(){kl.$refs.chzlRef.validate(a=>{a&&(ve.value.id!=null?updateChzl(ve.value).then(l=>{kl.$modal.msgSuccess("\u4FEE\u6539\u6210\u529F"),rl.value=!1,dl()}):Do(ve.value).then(l=>{kl.$modal.msgSuccess(l.msg),rl.value=!1,dl()}))})}const oo=a=>{Al.value=!0,Il.value=a};return dl(),(a,l)=>{const s=L("el-table-column"),c=L("image-preview"),h=L("el-table"),m=L("el-image"),T=L("el-icon"),O=L("el-tooltip"),x=L("el-button"),B=L("Close"),C=L("el-date-picker"),z=L("el-option"),ae=L("el-select"),oe=L("el-pagination"),ne=L("el-dialog"),re=L("el-tab-pane"),xl=L("el-tabs"),Cl=L("el-tree"),he=L("el-form-item"),da=L("el-form"),Ua=L("el-card"),ca=L("el-col"),pa=L("el-row"),_l=L("el-input"),so=L("right-toolbar"),io=L("pagination"),Bl=L("el-radio"),Oa=L("el-radio-group"),no=Xa("hasPermi"),uo=Xa("loading");return i(),n("div",Qo,[Go,t("div",Fo,[t("div",{ref_key:"cesiumContainer",ref:$a,style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,512),t("div",Xo,[t("div",Jo,[t("div",jo,[t("div",Zo,[t("p",{onClick:l[0]||(l[0]=e=>{ct()}),class:se(o(ge)==1?"sele_types":"")}," \u667A\u80FD\u5B62\u5B50\u4EEA ",2)]),t("div",Wo,[t("p",{onClick:l[1]||(l[1]=e=>{pt()}),class:se(o(ge)==2?"sele_types":"")}," \u866B\u60C5\u76D1\u6D4B\u4EEA ",2)]),t("div",Ko,[t("p",{onClick:l[2]||(l[2]=e=>{vt()}),class:se(o(ge)==3?"se