import D from"./DataPreview-58b3f352-1782111760424v=1.0.0.js";import A from"./fieldBar-5e2f2e2d-1782111760424v=1.0.0.js";import k from"./Pie-d2d5494d-1782111760424v=1.0.0.js";import S from"./Line-96132d78-1782111760424v=1.0.0.js";import C from"./ProjectBar-aa2d43cc-1782111760424v=1.0.0.js";import w from"./Statistics-cfd76c8a-1782111760424v=1.0.0.js";import{h as r,b,_ as N}from"./index-996f931c-1782111760424v=1.0.0.js";import{m as T,f as j,a as s,e as L,p as P,q as H,t,U as i,u,R as n}from"./vendor-7f807b9d-1782111760424v=1.0.0.js";import"./eleVendor-99a45232-1782111760424v=1.0.0.js";import"./index.vue_vue_type_script_setup_true_name_ECharts_lang-721fe807-1782111760424v=1.0.0.js";import"./index-ff47b9f0-1782111760424v=1.0.0.js";const R=a=>r.post("/facility/homeStat/facilityInfo",a,{headers:{noLoading:!0}}),I=a=>r.post("/facility/homeStat/fieldDict",a,{headers:{noLoading:!0}}),V=a=>r.post("/facility/homeStat/deviceSuit",a,{headers:{noLoading:!0}}),q=a=>r.post("/facility/work/reportStatistics",a,{headers:{noLoading:!0}}),U=a=>r.post("/facility/work/reportTrend",a,{headers:{noLoading:!0}}),M=a=>r.post("/facility/project/projectStatistics",a,{headers:{noLoading:!0}}),W={class:"workbench-container"},$={class:"card mb24"},z={class:"box",style:{"margin-bottom":"20px",height:"574px"}},G={style:{display:"flex"}},J={style:{flex:"1"}},K={style:{flex:"1"}},O={class:"box thirdBox",style:{height:"398px"}},Q={style:{display:"flex"}},X={style:{flex:"1","margin-right":"12px"}},Y={style:{flex:"3"}},Z={class:"echart box",style:{height:"435px"}},ee=T({__name:"index",setup(a){const y=b();j(()=>`(${y.userInfo.company_area_str})`);const _=s({year1:null,year2:null}),E=s([{icon:"home1",key:"deviceSuitNum",name:"\u5168\u6C11\u5065\u8EAB\u5668\u6750\u603B\u6570",count:0,color:"#e6f2ff"},{icon:"home2",key:"repairWorkNum",name:"\u5F85\u7EF4\u4FEE\u5DE5\u5355",count:0,color:"#e6f2ff"},{icon:"home3",key:"oughtScrapNum",name:"\u5E94\u62A5\u5E9F",count:0,color:"#e6f2ff"},{icon:"home4",key:"qualityExpireNum",name:"\u8D28\u4FDD\u8FC7\u671F\u9884\u8B66",count:0,color:"#e6f2ff"},{icon:"home5",key:"fieldNum",name:"\u5168\u6C11\u5065\u8EAB\u573A\u5730",count:0,color:"#e6f6f3"},{icon:"home6",key:"plannedNum",name:"\u7B79\u5907\u4E2D",count:0,color:"#e6f6f3"},{icon:"home7",key:"underNum",name:"\u5728\u5EFA\u9879\u76EE",count:0,color:"#e6f6f3"},{icon:"home8",key:"completedNum",name:"\u5DF2\u5EFA\u6210\u5F85\u6295\u5165\u4F7F\u7528",count:0,color:"#e6f6f3"}]);s([{key:"one",male:0,female:0,xAxis:"18-30\u5C81"},{key:"two",male:0,female:0,xAxis:"31-40"},{key:"three",male:0,female:0,xAxis:"41-50\u5C81"},{key:"four",male:0,female:0,xAxis:"51-60\u5C81"},{key:"five",male:0,female:0,xAxis:"60\u5C81\u4EE5\u4E0A"}]);const c=s([]),l=s([{value:10,name:"1"}]),d=s([]),m=s({}),f=s({}),p=s({}),x=async()=>{let o=await R();o.code===0&&(c.value=o.data)},h=async()=>{let o=await V();o.code===0&&(d.value=o.data)},F=async o=>{let e=await I();l.value=e.data},v=async o=>{let e=await q();m.value=e.data},B=async o=>{let e=await U();f.value=e.data},g=async o=>{let e=await M();p.value=e.data};return L(()=>{x(),h(),F(_.value.year2),v(),B(),g()}),(o,e)=>(P(),H("div",W,[t("div",$,[e[0]||(e[0]=t("div",{class:"card-title pb24",style:{color:"#374866"}},"\u5B9E\u65F6\u6570\u636E\uFF08\u5168\u6C11\u5065\u8EAB\u573A\u5730\u8BBE\u65BD\u7EDF\u8BA1\uFF09",-1)),i(D,{"data-preview-list":u(E),form:u(c)},null,8,["data-preview-list","form"])]),n(` <div class="card mt16 pb16">\r
			<div class="flx-align-center mb20">\r
				<span class="pr10">\u7B5B\u9009\u6761\u4EF6</span>\r
				<el-select placeholder="\u8BF7\u9009\u62E9\u7701\u5E02"></el-select>\r
			</div>\r
			<AreaBar :area-data="areaData" />\r
		</div> `),n(" \u4E8C\u5C42 "),t("div",z,[t("div",G,[t("div",J,[e[1]||(e[1]=t("span",{class:"boxTitle"},"\u6570\u636E\u770B\u677F",-1)),i(A,{"age-data":u(l)},null,8,["age-data"])]),t("div",K,[i(C,{"project-data":u(d)},null,8,["project-data"])])])]),n(" \u7B2C\u4E09\u5C42 "),t("div",O,[e[2]||(e[2]=t("span",{class:"boxTitle"},"\u62A5\u4FEE\u7EDF\u8BA1",-1)),t("div",Q,[t("div",X,[i(w,{repairsStatis:u(m)},null,8,["repairsStatis"])]),t("div",Y,[i(S,{repairsTrendData:u(f)},null,8,["repairsTrendData"])])])]),n(" \u6700\u5E95\u5C42 "),t("div",Z,[e[3]||(e[3]=t("span",{class:"boxTitle"},"\u5EFA\u8BBE\uFF08\u5168\u6C11\u5065\u8EAB\u573A\u5730\u8BBE\u65BD\uFF09\u9879\u76EE\u7EDF\u8BA1",-1)),i(k,{"pie-data":u(p)},null,8,["pie-data"])])]))}});const me=N(ee,[["__scopeId","data-v-10918422"]]);export{me as default};
