Agriculture-front-end/dist/assets/Index.71b5d839.js

3 lines
133 KiB
JavaScript
Raw Normal View History

2023-09-19 14:34:21 +08:00
import{L as K,_ as wl,u as bl,r as v,D as Na,t as Al,Z as kl,C as wt,N as bt,d as G,o as s,c as n,k as l,K as le,f as i,m as w,e as d,w as c,x as r,l as f,j as B,F as $e,Q as X,R as J,G as fa,H as wa,A as kt,p as Tl,q as xl}from"./index.42ab3fdc.js";import Qa from"./downloads.4cdbbcc5.js";import{_ as Cl,a as Hl}from"./zhankaiss.dd067ea4.js";import{_ as El,a as Yl,b as Ml,c as _l}from"./position.3b2b2301.js";import{_ as Dl,a as Sl}from"./face.9a19de2e.js";import{_ as Il}from"./dow.b4b83e88.js";import{L as P,i as zl,_ as Bl,a as Ll}from"./VideoSurveillance.c0604781.js";import{_ as Rl,a as ql,b as Pl}from"./fang.a29eda73.js";import"./index.b8675889.js";/* empty css */import{d as qe}from"./download.e798abeb.js";import{u as Vl}from"./useEcharts.5d95df8c.js";import"./linesGL.901ceb35.js";import{h as T}from"./moment.9709ab41.js";import{e as Nl}from"./element-resize-detector.ff2fdb0d.js";import"./imouplayer.78f91836.js";import{i as ca}from"./install.5b5161c6.js";import"./browser-detector.e77caf03.js";function me(Y){return K({url:"equipment/findAllSpore",method:"get",params:Y})}function re(Y){return K({url:"equipment/findAllSoil",method:"get",params:Y})}function ue(Y){return K({url:"equipment/findAllDetectionLights",method:"get",params:Y})}function Ol(Y){return K({url:"equipment/sporeEquipment",method:"get",params:Y})}function Ul(Y){return K({url:"equipment/detectionLightsEquipment",method:"get",params:Y})}function Gl(Y){return K({url:"equipment/soilEquipment",method:"get",params:Y})}function Oa(Y){return K({url:"equipment/sporeEquipmentCondition",method:"get",params:Y})}function Ua(Y){return K({url:"equipment/equipmentCondition",method:"get",params:Y})}function Ga(Y){return K({url:"equipment/eqLightEquipmentCondition",method:"get",params:Y})}function Ql(Y){return K({url:"equipment/deviceNumber",method:"get",params:Y})}function ba(Y){return K({url:"equipment/findAllSoilTb",method:"get",params:Y})}function At(Y){return K({url:"equipment/treeDataTo",method:"get",params:Y})}function pa(Y){return K({url:"equipment/cameraNameTo",method:"get",params:Y})}function Fl(Y){return K({url:"equipment/seedlingMonitoring",method:"get",params:Y})}function va(Y){return K({url:"equipment/capturePointCamera",method:"get",params:Y})}function Xl(Y){return K({url:"equipment/query",method:"get",params:Y})}function Jl(Y){return K({url:"equipment/sxtbf",method:"get",params:Y})}const A=Y=>(Tl("data-v-67de5841"),Y=Y(),xl(),Y),jl={class:"fatherDiv"},Wl=kt('<div id="popup" class="ol-popup" data-v-67de5841><div class="pophead" style="width:100%;" data-v-67de5841><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-67de5841></div><a href="#" id="popup-closer" class="ol-popup-closer" data-v-67de5841></a></div><div id="popup-content" style="padding:10px;" data-v-67de5841></div></div>',1),Zl={class:"centerBox"},Kl={class:"rightWra"},$l={class:"leftTop"},eo={class:"types"},ao={width:"100%",class:"types_left"},to={width:"100%",class:"types_center"},lo={width:"100%",class:"types_right"},oo={key:0,class:"leftbottom"},so=A(()=>l("div",{style:{width:"3px",height:"19px",opacity:"1",background:"rgba(100, 195, 164, 1)","margin-right":"12px"}},null,-1)),io=A(()=>l("span",null,"\u667A\u80FD\u5B62\u5B50\u76D1\u6D4B\u6570\u636E",-1)),no=A(()=>l("img",{src:Qa,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),ro={class:"tableDiv"},uo={key:0,style:{"background-color":"rgba(255, 62, 57, 1)",width:"20px",height:"30px","border-radius":"2px",color:"#fff"}},co={key:1,style:{"background-color":"rgba(9, 222, 133, 1)",padding:"2px 12px 2px 12px","border-radius":"2px",color:"#fff"}},po={key:0},vo=A(()=>l("div",{slot:"error",class:"image-slot"},[l("i",{class:"el-icon-picture-outline"})],-1)),ho={key:1},mo=A(()=>l("div",{slot:"error",class:"image-slot"},[l("i",{class:"el-icon-picture-outline"})],-1)),go={key:1,class:"leftbottom"},yo=A(()=>l("div",{style:{width:"3px",height:"19px",op
`,S+=ua}else S=k;return S}},boundaryGap:!1,axisTick:{show:!1}}],yAxis:[{name:t,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:o,type:"line",data:H,symbolSize:10,itemStyle:{normal:{color:function(k){if(U.value==1)return k.value>=-10&&k.value<=40?u:"red";if(U.value==2)return k.value>=-5<=40?u:"red";if(U.value==3)return k.value>=0&&k.value<=30?u:"red";if(U.value==4)return k.value>=0&&k.value<=30?u:"red";if(U.value==5)return k.value>=0&&k.value<=30?u:"red";if(U.value==6)return k.value>=0&&k.value<=.2?u:"red";if(U.value==7)return k.value>=5.5&&k.value<=7.5?u:"red"}}},smooth:!0,yAxisIndex:0,showSymbol:!0,symbol:"circle",lineStyle:{width:3,color:u}},{name:"\u571F\u58E4\u6E7F\u5EA6",type:"line",data:h,symbolSize:10,yAxisIndex:1,itemStyle:{normal:{color:function(k){if(U.value==1)return k.value>=5&&k.value<=60?"rgba(199, 125, 231, 1)":"red";if(U.value==2)return k.value>=0<=30?"rgba(199, 125, 231, 1)":"red";if(U.value==3)return k.value>=0&&k.value<=30?"rgba(199, 125, 231, 1)":"red";if(U.value==4)return k.value>=0&&k.value<=40?"rgba(199, 125, 231, 1)":"red";if(U.value==5)return k.value>=0&&k.value<=40?"rgba(199, 125, 231, 1)":"red"}}},label:{color:k=>k.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"}}]}),Nl().listenTo(Ge.value,()=>{bt(()=>{a.resize()})})}return(a,t)=>{const o=G("el-table-column"),u=G("image-preview"),m=G("el-table"),h=G("el-image"),H=G("el-icon"),V=G("el-tooltip"),M=G("el-button"),z=G("Close"),k=G("el-date-picker"),S=G("el-option"),ae=G("el-select"),te=G("el-pagination"),he=G("el-dialog"),ne=G("el-tab-pane"),ua=G("el-tabs"),da=G("el-tree"),Ke=G("el-form-item"),yl=G("el-form"),ht=G("el-card"),mt=G("el-col"),gt=G("el-row"),yt=G("el-radio"),fl=G("el-radio-group");return s(),n("div",jl,[Wl,l("div",Zl,[l("div",{ref_key:"cesiumContainer",ref:Tt,style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,512),l("div",Kl,[l("div",$l,[l("div",eo,[l("div",ao,[l("p",{onClick:t[0]||(t[0]=e=>{Bt()}),class:le(i(de)==1?"sele_types":"")}," \u667A\u80FD\u5B62\u5B50\u4EEA ",2)]),l("div",to,[l("p",{onClick:t[1]||(t[1]=e=>{Lt()}),class:le(i(de)==2?"sele_types":"")}," \u866B\u60C5\u76D1\u6D4B\u4EEA ",2)]),l("div",lo,[l("p",{onClick:t[2]||(t[2]=e=>{Rt()}),class:le(i(de)==3?"sele_types":"")}," \u571F\u58E4\u5892\u60C5\u3001\u571F\u8D28 ",2)])])]),i(de)==4||i(de)==1?(s(),n("div",oo,[l("div",{class:"title"},[so,io,l("p",{onClick:rl},[w(" \u5386\u53F2\u6570\u636E \xA0 "),no])]),l("div",ro,[d(m,{"max-height":"100%",onCellClick:La,height:"100%",data:i(We).arrs,stripe:"",style:{width:"100%"},"header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"}},{default:c(()=>[d(o,{width:"90",prop:"msName",label:"\u7AD9\u70B9\u540D\u79F0"}),d(o,{prop:"pictureTime",label:"\u76D1\u6D4B\u65F6\u95F4"},{default:c(e=>[l("div",null,r(na(e.row.pictureTime)),1),l("div",null,r(ra(e.row.pictureTime)),1)]),_:1}),d(o,{class:"red",prop:"warning",filters:[{text:"\u7591\u4F3C\u6709",value:"\u7591\u4F3C\u6709"},{text:"\u65E0",value:"\u65E0"}],"filter-method":Ra,label:"\u9884\u8B66\u60C5\u51B5"},{default:c(e=>[e.row.warning==="\u7591\u4F3C\u6709"?(s(),n("span",uo,r(e.row.warning),1)):(s(),n("span",co,r(e.row.warning),1))]),_:1}),d(o,{prop:"picturePath",label:"\u7167\u7247"},{default:c(e=>[e.row.warning==="\u65E0"?(s(),n("div",po,[d(u,{"append-to-body":"",style:{width:"60px",height:"60px"},src:e.row.picturePath,"zoom-rate":1.2,fit:"cover"},{default:c(()=>[vo]),_:2},1032,["src","zoom-rate"])])):f("",!0),e.row.warning==="\u7591\u4F3C\u6709"?(s(),n("div",ho,[d(u,{"append-to-body":"",style:{width:"60px",height:"60px"},