import{_ as T,y as $,r as B,e as _,o as u,c,m as a,f as t,w as e,F as O,h as l,at as F,K as W,z as n,l as I,G as w,H as x,n as v,ab as q,v as z,s as A,t as E}from"./index.82404a61.js";import{u as H}from"./useDicts.d48f8ce6.js";import{p as K}from"./index.39d26404.js";const p=i=>(A("data-v-d4052511"),i=i(),E(),i),L={class:"project"},M={class:"card-header"},U=p(()=>a("span",{class:"title"},"\u9879\u76EE\u76EE\u6807",-1)),J=p(()=>a("span",null,"\u8BBE\u8BA1\u964D\u96E8mm",-1)),Q=p(()=>a("span",{style:{"font-weight":"700"}},"\u8BF4\u660E",-1)),X=p(()=>a("br",null,null,-1)),Y=p(()=>a("span",null,"\u6839\u636E\u76EE\u6807\u5E74\u5F84\u6D41\u603B\u91CF\u63A7\u5236\u7387\u8DDF\u8BBE\u8BA1\u964D\u96E8\u5173\u7CFB\u66F2\u7EBF\uFF0C\u7531\u5E74\u5F84\u6D41\u603B\u91CF\u63A7\u5236\u7387\u63A8\u7B97\u8BBE\u8BA1\u964D\u96E8",-1)),Z=p(()=>a("span",null,":",-1)),ee={class:"conclusion"},te={class:"conclusion-item"},ae=p(()=>a("br",null,null,-1)),le={key:0},ne={class:"suggest"},se={class:"suggest-item"},oe=p(()=>a("br",null,null,-1)),re={key:0},ue={__name:"project",props:{data:{type:Object,default:()=>({})},list:{type:Array,default:()=>[]},step:{type:[Number,String],default:0},investigateData:{type:Object,default:()=>({})}},emits:["select-change"],setup(i,{emit:de}){const d=i,{proxy:N}=z(),{findText:b}=H(N),s=$(()=>d.data),g=B(!1);return(_e,h)=>{const P=_("el-icon"),o=_("el-form-item"),r=_("el-col"),y=_("el-row"),S=_("el-form"),V=_("el-card"),C=_("card"),G=_("el-dialog");return u(),c(w,null,[a("div",L,[t(V,{class:"box-card",shadow:"never"},{header:e(()=>[a("div",M,[U,O(t(P,{class:"icon",onClick:h[0]||(h[0]=f=>g.value=!0)},{default:e(()=>[t(l(F))]),_:1},512),[[W,d.step===1]])])]),default:e(()=>[t(S,{class:"formM5",ref:"projectForm",model:l(s)},{default:e(()=>[t(y,{gutter:20},{default:e(()=>[t(r,{span:6},{default:e(()=>[t(o,{label:"\u5EFA\u8BBE\u5DE5\u7A0B:",prop:"projectNo"},{default:e(()=>[a("span",null,n(l(s).projectName),1)]),_:1})]),_:1}),t(r,{span:6},{default:e(()=>[t(o,{label:"\u5DE5\u7A0B\u7C7B\u578B:",prop:"engineeringType"},{default:e(()=>[a("span",null,n(l(b)("sponge_engineering_type",l(s).engineeringType)),1)]),_:1})]),_:1}),t(r,{span:6},{default:e(()=>[t(o,{label:"\u5EFA\u8BBE\u5206\u533A:",prop:"drainagePartition"},{default:e(()=>[a("span",null,n(l(b)("drainage_partition",l(s).drainagePartition)),1)]),_:1})]),_:1}),t(r,{span:6},{default:e(()=>[t(o,{label:"\u5EFA\u8BBE\u7C7B\u578B:",prop:"buildCategory"},{default:e(()=>[a("span",null,n(l(b)("build_category",l(s).buildCategory)),1)]),_:1})]),_:1})]),_:1}),t(y,{gutter:20},{default:e(()=>[t(r,{span:6},{default:e(()=>[t(o,{label:"\u9762\u79EF\u33A1:",prop:"area"},{default:e(()=>[a("span",null,n(l(s).area),1)]),_:1})]),_:1}),t(r,{span:6},{default:e(()=>[t(o,{label:"\u5E74\u5F84\u6D41\u603B\u91CF\u63A7\u5236\u7387%\uFF0C\u2265:",prop:"annualRunoffTotalControlRate"},{default:e(()=>[a("span",null,n(l(s).annualRunoffTotalControlRate),1)]),_:1})]),_:1}),t(r,{span:6},{default:e(()=>[t(o,{label:"\u5E74\u5F84\u6D41\u6C61\u67D3\u63A7\u5236\u7387%\uFF0C\u2265:",prop:"annualRunoffPollutionControlRate"},{default:e(()=>[a("span",null,n(l(s).annualRunoffPollutionControlRate),1)]),_:1})]),_:1}),t(r,{span:6},{default:e(()=>[t(o,{label:"\u786C\u8D28\u5730\u9762\u7387%\uFF0C\uFF1C:",prop:"hardGroundRate"},{default:e(()=>[a("span",null,n(l(s).hardGroundRate),1)]),_:1})]),_:1})]),_:1}),t(y,{gutter:20},{default:e(()=>[t(r,{span:6},{default:e(()=>[t(o,{label:"\u5904\u7F6E\u5BA2\u6C34m\xB3:",prop:"disposalOfGuestWater"},{default:e(()=>[a("span",null,n(l(s).disposalOfGuestWater),1)]),_:1})]),_:1}),t(r,{span:6},{default:e(()=>[t(o,{label:"\u8BBE\u8BA1\u964D\u96E8mm:",prop:"designRainfall"},{label:e(()=>[J,t(l(K),{width:240},{default:e(()=>[Q,X,Y]),_:1}),Z]),default:e(()=>[a("span",null,n(l(s).designRainfall),1)]),_:1})]),_:1}),t(r,{span:6},{default:e(()=>[t(o,{label:"\u6D77\u7EF5\u8BBE\u65BD\u6295\u8D44/\u4E07\u5143:",prop:"spongeInvest"},{default:e(()=>[a("span",null,n(l(s).spongeInvest),1)]),_:1})]),_:1}),t(r,{span:6},{default:e(()=>[t(o,{label:"\u63A8\u8350\u6295\u4EA7\u6BD4\uFF08\u4E07\u5143/m3):",prop:"recommendedProductionRatio"},{default:e(()=>[a("span",null,n(l(s).recommendedProductionRatio),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})]),t(G,{modelValue:l(g),"onUpdate:modelValue":h[1]||(h[1]=f=>q(g)?g.value=f:null),title:"\u5EFA\u8BBE\u5DE5\u7A0B\u5BA1\u67E5","close-on-click-modal":!1,width:"40%",class:"dialog"},{default:e(()=>{var f,D,j,k;return[(D=(f=d.investigateData)==null?void 0:f.conclusions)!=null&&D.length?(u(),I(C,{key:0,header:"\u7ED3\u8BBA",shadow:"never"},{default:e(()=>[a("div",ee,[(u(!0),c(w,null,x(d.investigateData.conclusions,(R,m)=>(u(),c("div",te,[a("span",null,n(`${m+1}\uFF1A ${R}`),1),ae,m<d.investigateData.conclusions.length-1?(u(),c("br",le)):v("",!0)]))),256))])]),_:1})):v("",!0),(k=(j=d.investigateData)==null?void 0:j.suggests)!=null&&k.length?(u(),I(C,{key:1,header:"\u5EFA\u8BAE",class:"suggestCard",shadow:"never"},{default:e(()=>[a("div",ne,[(u(!0),c(w,null,x(d.investigateData.suggests,(R,m)=>(u(),c("div",se,[a("span",null,n(`${m+1}\uFF1A ${R}`),1),oe,m<d.investigateData.suggests.length-1?(u(),c("br",re)):v("",!0)]))),256))])]),_:1})):v("",!0)]}),_:1},8,["modelValue"])],64)}}},fe=T(ue,[["__scopeId","data-v-d4052511"]]);export{fe as default};