import{u as a}from"./index-6530d0f6.js";import{c as t}from"./logo-4fe3e538.js";import{v as e}from"./request-2ce564d0.js";import{d as s,X as r,l as i,W as o,o as u,c as m,P as p,a4 as l,E as n,a as d,O as g,L as c}from"./@vue-37836d09.js";import{_ as v}from"./vue-next-wxlogin-91e03b70.js";const h="https://plant2.hbatg.com/v2",q=a=>e.request({url:h+"/datav-api/org-stat/org-info",method:"get",params:a}),b=a=>e.request({url:h+"/datav-api/org-stat/machine-data",method:"get",params:a}),f=a=>e.request({url:h+"/datav-api/org-stat/expert-question-data",method:"get",params:a}),x=a=>e.request({url:h+"/datav-api/org-stat/planting-data",method:"get",params:a}),y=a=>e.request({url:h+"/datav-api/org-stat/farm-scale-data",method:"get",params:a}),F=a=>e.request({url:h+"/datav-api/org-stat/land-distribution-data",method:"get",params:a}),R=a=>e.request({url:h+"/datav-api/org-stat/agriculture-material-data",method:"get",params:a}),T=a=>e.request({url:h+"/datav-api/org-stat/machine-data-details",method:"get",params:a}),j=(a,t)=>e.fileRequest({url:h+"/datav-api/org-stat/machine-data-export",method:"get",params:a,responseType:"blob"},t),A=a=>e.request({url:h+"/datav-api/org-stat/agriculture-material-details",method:"get",params:a}),C=(a,t)=>e.fileRequest({url:h+"/datav-api/org-stat/agriculture-material-export",method:"get",params:a,responseType:"blob"},t),_=a=>e.request({url:h+"/datav-api/org-stat/expert-question-details",method:"get",params:a}),k=(a,t)=>e.fileRequest({url:h+"/datav-api/org-stat/expert-question-export",method:"get",params:a,responseType:"blob"},t),D=a=>e.request({url:h+"/datav-api/org-stat/remote-sensing-details",method:"get",params:a}),N=(a,t)=>e.fileRequest({url:h+"/datav-api/org-stat/remote-sensing-export",method:"get",params:a,responseType:"blob"},t),U=a=>e.request({url:h+"/datav-api/org-stat/planting-data-details",method:"get",params:a}),w=(a,t)=>e.fileRequest({url:h+"/datav-api/org-stat/planting-data-export",method:"get",params:a,responseType:"blob"},t),P=a=>e.request({url:h+"/datav-api/org-stat/farm-scale-details",method:"get",params:a}),z=(a,t)=>e.fileRequest({url:h+"/datav-api/org-stat/farm-scale-export",method:"get",params:a,responseType:"blob"},t),E=a=>e.request({url:h+"/datav-api/org-stat/area-planting-data-details",method:"get",params:a}),I=(a,t)=>e.fileRequest({url:h+"/datav-api/org-stat/area-planting-data-export",method:"get",params:a,responseType:"blob"},t),L={class:"statistics"},O=["src"],W={class:"statistics-value"},X={class:"unit"},B={key:0,class:"statistics-value"},G={key:1,class:"unit"},H=v(s({__name:"statistics",props:{},setup(s){a();const v=r({
// 数量统计
baseNumData:[]}),q=async()=>{try{const s=await e.request({url:h+"/datav-api/org-stat/basic-num-data",method:"get",params:a});t[0].num1=s.serviceCenterCount,t[1].num1=s.selfFarmCount,t[1].num2=s.selfFarmArea,t[1].unit2=s.selfFarmAreaUnit,t[2].num1=s.signFarmCount,t[2].num2=s.signFarmArea,t[2].unit2=s.signFarmAreaUnit,t[3].num1=s.registerFarmCount,t[3].num2=s.registerFarmArea,t[3].unit2=s.registerFarmAreaUnit,t[4].num1=s.expertCount,v.baseNumData=t}catch(s){}var a};return i((()=>{q()})),o((()=>{})),(a,t)=>(u(),m("div",L,[(u(!0),m(p,null,l(v.baseNumData,((a,t)=>(u(),m("div",{key:t,class:n(["statistics-bg","statistics-bg-"+a.size])},[d("img",{src:a.img,alt:""},null,8,O),d("div",null,[d("p",null,[d("span",W,g(a.num1),1),d("span",X,g(a.unit1),1),a.unit2?(u(),m("span",B,g(a.num2),1)):c("",!0),a.unit2?(u(),m("span",G,g(a.unit2),1)):c("",!0)]),d("p",null,g(a.name),1)])],2)))),128))]))}}),[["__scopeId","data-v-80514fb6"]]);export{_ as a,D as b,U as c,C as d,k as e,A as f,T as g,z as h,P as i,I as j,E as k,x as l,j as m,y as n,F as o,w as p,b as q,N as r,H as s,f as t,R as u,q as v};
//# sourceMappingURL=statistics-65ef1749.js.map
