Newer
Older
Nanping_sponge_JXKH / spongePerformanceDist / assets / index.39241681.js
import{r as m,aa as be,ae as we,C as he,e as u,D as oe,h as e,o as d,c as V,f as a,w as l,F as z,l as y,p as f,ab as re,m as P,z as B,J as te,K as O,G as F,H as C,v as ke,L as We,n as ge}from"./index.82404a61.js";import{r as Ve,w as qe,f as ze,g as $e,h as Ie,s as Te,i as Pe,j as Re,k as Ae,l as je,m as Le}from"./surfaceWater.fc02dc70.js";const Me={key:0,class:"app-container"},Ee={class:"dialog-footer"},Qe={__name:"index",setup(ye){const{proxy:N}=ke(),{water_function:R,water_quality_level:Q,dbs_sample_factor:ne}=N.useDict("water_function","water_quality_level","dbs_sample_factor"),S=m(!1),b=m(!1),w=m(!0),$=m(!0),A=m(!0),I=m(0),T=m(""),j=m([]),L=m([]),M=m([{value:"0",name:"\u505C\u7528"},{value:"1",name:"\u542F\u7528"}]),G=be({formData:{},queryParams:{pageNum:1,pageSize:10},formRules:{riverId:[{required:!0,message:"\u8BF7\u9009\u62E9",trigger:"blur"}],targerWaterQuality:[{required:!0,message:"\u8BF7\u9009\u62E9",trigger:"blur"}],waterFunction:[{required:!0,message:"\u8BF7\u9009\u62E9",trigger:"blur"}],status:[{required:!0,message:"\u8BF7\u9009\u62E9",trigger:"blur"}],polluteFactor:[{required:!0,message:"\u8BF7\u9009\u62E9",trigger:"blur"}]}}),{queryParams:x,formData:i,formRules:ue}=we(G);function H(){i.value={waterFunction:void 0,riverId:void 0,targerWaterQuality:void 0,polluteFactor:void 0,status:void 0},N.resetForm("ruleForm")}function v(){H(),S.value=!1,b.value=!0,T.value="\u65B0\u589E\u6C34\u8D28\u76EE\u6807"}const c=async()=>{Ve({riverType:"water_quality"}).then(n=>{n.code==200&&(j.value=n.data)})};function J(){console.log(111),A.value=!1}const Y=async()=>{$.value=!0;const n=await qe({});n&&n.code==200&&($.value=!1,L.value=n.data,I.value=n.total)};async function ie(){N.$refs.ruleForm.validate(_=>{_&&(i.value.polluteFactor=i.value.polluteFactor.join(),console.log(i.value.polluteFactor,"11111"),i.value.id!=null?ze(i.value).then(()=>{N.$modal.msgSuccess("\u4FEE\u6539\u6210\u529F"),b.value=!1,Y()}):$e(i.value).then(()=>{console.log(i.value,"formData.value"),N.$modal.msgSuccess("\u65B0\u589E\u6210\u529F"),b.value=!1,Y()}))})}function se(_){T.value="\u4FEE\u6539\u6C34\u8D28\u76EE\u6807",S.value=!1,b.value=!0,i.value.polluteFactor=_.polluteFactor.split(","),i.value.targerWaterQuality=_.targerWaterQuality,i.value.riverId=_.riverId,i.value.status=_.status,i.value.waterFunction=_.waterFunction,i.value.id=_.id,console.log(_.id,"111")}function de(_){N.$modal.confirm("\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F").then(async()=>{const n=await Ie(_.id);(n==null?void 0:n.code)===200&&(N.$modal.msgSuccess("\u64CD\u4F5C\u6210\u529F\uFF01"),Y())}).catch(()=>{})}function K(_){T.value="\u67E5\u770B\u6C34\u8D28\u76EE\u6807",S.value=!0,b.value=!0,i.value={..._}}function ce(){b.value=!1,H()}return he(()=>{Y(),c()}),(_,n)=>{const U=u("el-button"),W=u("el-col"),me=u("right-toolbar"),X=u("el-row"),D=u("el-table-column"),Z=u("dict-tag"),pe=u("el-tag"),fe=u("el-table"),p=u("pagination"),r=u("el-option"),g=u("el-select"),q=u("el-form-item"),h=u("el-checkbox"),ee=u("el-checkbox-group"),k=u("el-form"),ae=u("el-dialog"),le=oe("hasPermi"),_e=oe("loading");return e(A)?(d(),V("div",Me,[a(X,{gutter:10,class:"mb8"},{default:l(()=>[a(W,{span:1.5},{default:l(()=>[z((d(),y(U,{type:"primary",plain:"",icon:"Plus",onClick:v},{default:l(()=>[f("\u65B0\u589E")]),_:1})),[[le,["system:post:add"]]]),a(U,{type:"warning",plain:"",icon:"Plus",onClick:J},{default:l(()=>[f("\u8FD4\u56DE")]),_:1})]),_:1},8,["span"]),a(me,{showSearch:e(w),"onUpdate:showSearch":n[0]||(n[0]=t=>re(w)?w.value=t:null),onQueryTable:Y},null,8,["showSearch"])]),_:1}),z((d(),y(fe,{data:e(L),stripe:"","max-height":600,border:""},{default:l(()=>[a(D,{type:"index",width:"55",label:"\u5E8F\u53F7",fixed:"left"}),a(D,{label:"\u8003\u6838\u6C34\u4F53",prop:"riverName"}),a(D,{label:"\u6C34\u529F\u80FD\u533A",prop:"waterFunction"},{default:l(({row:t})=>[a(Z,{options:e(R),value:t.waterFunction},null,8,["options","value"])]),_:1}),a(D,{label:"\u76EE\u6807\u6C34\u8D28\u7C7B\u522B",prop:"targerWaterQuality"},{default:l(({row:t})=>[a(Z,{options:e(Q),value:t.targerWaterQuality},null,8,["options","value"])]),_:1}),a(D,{label:"\u7279\u5F81\u6C61\u67D3\u56E0\u5B50",prop:"polluteFactor","show-overflow-tooltip":""},{default:l(({row:t})=>[P("span",null,B(t.polluteFactorName),1)]),_:1}),a(D,{label:"\u4FEE\u6539\u65F6\u95F4",prop:"updateTime"}),a(D,{label:"\u4FEE\u6539\u4EBA",prop:"updateBy"}),a(D,{label:"\u72B6\u6001",prop:"status"},{default:l(t=>[P("span",{style:te({color:t.row.status=="0"?"red":"lime"})},[a(pe,{type:t.row.status=="0"?"error":t.row.status=="1"?"success":""},{default:l(()=>[f(B(t.row.status=="0"?"\u505C\u7528":"\u542F\u7528"),1)]),_:2},1032,["type"])],4)]),_:1}),a(D,{label:"\u64CD\u4F5C","show-overflow-tooltip":"",width:"200",fixed:"right"},{default:l(({row:t})=>[a(U,{type:"primary",link:"",onClick:E=>K(t)},{default:l(()=>[f("\u8BE6\u60C5")]),_:2},1032,["onClick"]),a(U,{type:"primary",link:"",onClick:E=>se(t)},{default:l(()=>[f("\u4FEE\u6539")]),_:2},1032,["onClick"]),a(U,{type:"danger",link:"",onClick:E=>de(t)},{default:l(()=>[f("\u5220\u9664")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[_e,e($)]]),z(a(p,{total:e(I),page:e(x).pageNum,"onUpdate:page":n[1]||(n[1]=t=>e(x).pageNum=t),limit:e(x).pageSize,"onUpdate:limit":n[2]||(n[2]=t=>e(x).pageSize=t),onPagination:Y},null,8,["total","page","limit"]),[[O,e(I)>0]]),a(ae,{title:e(T),modelValue:e(b),"onUpdate:modelValue":n[8]||(n[8]=t=>re(b)?b.value=t:null),width:"70%","close-on-click-modal":!1},{footer:l(()=>[P("div",Ee,[z(a(U,{type:"primary",onClick:ie},{default:l(()=>[f("\u4FDD \u5B58")]),_:1},512),[[O,!e(S)]]),a(U,{onClick:ce},{default:l(()=>[f("\u5173\u95ED")]),_:1})])]),default:l(()=>[a(k,{ref:"ruleForm",model:e(i),rules:e(ue),"label-width":"auto",disabled:e(S)},{default:l(()=>[a(X,null,{default:l(()=>[a(q,{label:"\u8003\u6838\u6C34\u4F53:",prop:"riverId",style:{width:"45%"}},{default:l(()=>[a(g,{clearable:"",modelValue:e(i).riverId,"onUpdate:modelValue":n[3]||(n[3]=t=>e(i).riverId=t),class:"m-2",placeholder:"\u8BF7\u9009\u62E9",size:"mini",style:{width:"100%"}},{default:l(()=>[(d(!0),V(F,null,C(e(j),t=>(d(),y(r,{key:t.id,label:t.riverName,value:t.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(q,{label:"\u6C34\u529F\u80FD\u533A:",prop:"waterFunction",style:{width:"45%"}},{default:l(()=>[a(g,{clearable:"",modelValue:e(i).waterFunction,"onUpdate:modelValue":n[4]||(n[4]=t=>e(i).waterFunction=t),class:"m-2",placeholder:"\u8BF7\u9009\u62E9",size:"mini",style:{width:"100%"}},{default:l(()=>[(d(!0),V(F,null,C(e(R),t=>(d(),y(r,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(q,{label:"\u72B6\u6001:",prop:"status",style:{width:"45%"}},{default:l(()=>[a(g,{clearable:"",modelValue:e(i).status,"onUpdate:modelValue":n[5]||(n[5]=t=>e(i).status=t),class:"m-2",placeholder:"\u8BF7\u9009\u62E9",size:"mini",style:{width:"100%"}},{default:l(()=>[(d(!0),V(F,null,C(e(M),t=>(d(),y(r,{key:t.value,label:t.name,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(q,{label:"\u6C34\u8D28\u76EE\u6807:",prop:"targerWaterQuality",style:{width:"45%"}},{default:l(()=>[a(g,{clearable:"",modelValue:e(i).targerWaterQuality,"onUpdate:modelValue":n[6]||(n[6]=t=>e(i).targerWaterQuality=t),class:"m-2",placeholder:"\u8BF7\u9009\u62E9",size:"mini",style:{width:"100%"}},{default:l(()=>[(d(!0),V(F,null,C(e(Q),t=>(d(),y(r,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(q,{label:"\u7279\u5F81\u6C61\u67D3\u56E0\u5B50:",prop:"polluteFactor"},{default:l(()=>[a(ee,{modelValue:e(i).polluteFactor,"onUpdate:modelValue":n[7]||(n[7]=t=>e(i).polluteFactor=t)},{default:l(()=>[(d(!0),V(F,null,C(e(ne),t=>(d(),y(h,{key:t.value,label:t.value},{default:l(()=>[f(B(t.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1},8,["model","rules","disabled"])]),_:1},8,["title","modelValue"])])):(d(),y(e(Se),{key:1}))}}},Je=Object.freeze(Object.defineProperty({__proto__:null,default:Qe},Symbol.toStringTag,{value:"Module"})),Be={key:0,class:"app-container"},Oe={class:"dialog-footer"},Se={__name:"index",props:["paramsData"],setup(ye,{emit:N}){const{paramsData:R}=ye,{proxy:Q}=ke(),{dbs_sample_factor:ne}=Q.useDict("dbs_sample_factor");console.log(ne,"dbs_sample_factor");const S=m(!1),b=m(!1),w=m(!1),$=m(!0),A=m(!0),I=m(!1),T=m(!0),j=m([]),L=m(0),M=m(""),G=m([]),x=m([]),i=m([]),ue=[{label:"\u8FBE\u6807",reachStandard:"1"},{label:"\u4E0D\u8FBE\u6807",reachStandard:"0"}],H=be({formData:{configs:[]},queryParams:{pageNum:1,pageSize:10,sampleTime:"",riverId:"",reachStandard:"",sampleYear:"",section:""},formRules:{riverId:[{required:!0,message:"\u8BF7\u9009\u62E9",trigger:"blur"}],sampleTime:[{required:!0,message:"\u8BF7\u9009\u62E9",trigger:"blur"}],section:[{required:!0,message:"\u8BF7\u8F93\u5165",trigger:"blur"}]}}),{queryParams:v,formData:c,formRules:J}=we(H);function Y(){c.value={riverId:void 0,sampleYear:void 0,sampleTime:void 0,reachStandard:void 0,section:void 0,riverType:"water_quality"},Q.resetForm("ruleForm")}function ie(){N("searchClick",{type:0})}function se(){Y(),I.value=!1,S.value=!1,w.value=!0,M.value="\u65B0\u589E\u68C0\u6D4B\u8BB0\u5F55"}function de(){T.value=!1}function K(){v.value.pageNum=1,W()}function ce(){Q.resetForm("queryRef"),K()}const _=async()=>{Ve({riverType:"water_quality"}).then(r=>{r.code==200&&(j.value=r.data)})},n=async()=>{Te({sampleType:"dbssz"}).then(r=>{r.code==200&&(x.value=r.data,x.value.forEach(g=>{J.value[g.sampleFactor]=[{required:!0,message:"\u8BF7\u8F93\u5165",trigger:"blur",type:"number"}]}))})},U=async()=>{Pe().then(p=>{p.code==200&&(i.value=p.data)})},W=async()=>{A.value=!0;const p=await Re(v.value);G.value=p.data.records,A.value=!1,L.value=p.data.total};async function me(){Q.$refs.ruleForm.validate(p=>{if(p){c.value.configs=[];let r=[];x.value.forEach(g=>{r.push(g.sampleFactor)}),r.forEach(g=>{c.value.configs.push({factor:g,value:c.value[g]}),delete c.value[g]}),console.log(c.value,"formData.value.configs"),c.value.id!=null?Ae(c.value).then(()=>{console.log(c.value,"formData.value"),Q.$modal.msgSuccess("\u4FEE\u6539\u6210\u529F"),w.value=!1,W()}):je(c.value).then(()=>{Q.$modal.msgSuccess("\u65B0\u589E\u6210\u529F"),w.value=!1,W()})}})}function X(p){S.value=!1,b.value=!0,w.value=!0,M.value="\u4FEE\u6539\u68C0\u6D4B\u8BB0\u5F55",c.value={...p},I.value=!0,console.log(p,"row")}function D(p){Q.$modal.confirm("\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F").then(async()=>{const r=await Le(p.id);(r==null?void 0:r.code)===200&&(Q.$modal.msgSuccess("\u64CD\u4F5C\u6210\u529F\uFF01"),W())}).catch(()=>{})}function Z(p){M.value="\u67E5\u770B\u68C0\u6D4B\u8BB0\u5F55",S.value=!0,w.value=!0,b.value=!0,c.value={...p}}function pe(){w.value=!1,Y()}function fe(p){console.log(p,"val"),v.value.sampleYear=p}return he(()=>{v.value.sampleYear=(R==null?void 0:R.examineYear)||"",W(),_(),n(),U()}),(p,r)=>{const g=u("el-option"),q=u("el-select"),h=u("el-form-item"),ee=u("el-date-picker"),k=u("el-button"),ae=u("el-form"),le=u("el-col"),_e=u("right-toolbar"),t=u("el-row"),E=u("el-table-column"),De=u("el-tag"),Fe=u("el-table"),Ce=u("pagination"),ve=u("el-input"),Ne=u("el-input-number"),xe=u("el-dialog"),Ye=oe("hasPermi"),Ue=oe("loading");return e(T)?(d(),V("div",Be,[z(a(ae,{model:e(v),ref:"queryRef",inline:!0},{default:l(()=>[a(h,{label:"\u8003\u6838\u6C34\u4F53:",prop:"riverId"},{default:l(()=>[a(q,{clearable:"",modelValue:e(v).riverId,"onUpdate:modelValue":r[0]||(r[0]=o=>e(v).riverId=o),class:"m-2",placeholder:"\u8BF7\u9009\u62E9",size:"mini"},{default:l(()=>[(d(!0),V(F,null,C(e(j),o=>(d(),y(g,{key:o.id,label:o.riverName,value:Number(o.id)},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(h,{label:"\u91C7\u6837\u5E74\u4EFD:",prop:"sampleYear"},{default:l(()=>[a(ee,{modelValue:e(v).sampleYear,"onUpdate:modelValue":r[1]||(r[1]=o=>e(v).sampleYear=o),type:"year",placeholder:"\u8BF7\u9009\u62E9",format:"YYYY","value-format":"YYYY",onChange:fe},null,8,["modelValue"])]),_:1}),a(h,{label:"\u8BC4\u4EF7\u7ED3\u679C:",prop:"reachStandard"},{default:l(()=>[a(q,{clearable:"",modelValue:e(v).reachStandard,"onUpdate:modelValue":r[2]||(r[2]=o=>e(v).reachStandard=o),class:"m-2",placeholder:"\u8BF7\u9009\u62E9",size:"mini"},{default:l(()=>[(d(),V(F,null,C(ue,o=>a(g,{key:o.reachStandard,label:o.label,value:o.reachStandard},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),a(h,null,{default:l(()=>[a(k,{type:"primary",icon:"Search",onClick:K},{default:l(()=>[f("\u641C\u7D22")]),_:1}),a(k,{icon:"Refresh",onClick:ce},{default:l(()=>[f("\u91CD\u7F6E")]),_:1}),a(k,{icon:"CaretLeft",onClick:ie},{default:l(()=>[f(" \u8FD4\u56DE")]),_:1})]),_:1})]),_:1},8,["model"]),[[O,e($)]]),a(t,{gutter:10,class:"mb8"},{default:l(()=>[a(le,{span:1.5},{default:l(()=>[z((d(),y(k,{type:"primary",plain:"",icon:"Plus",onClick:se},{default:l(()=>[f("\u65B0\u589E")]),_:1})),[[Ye,["system:post:add"]]])]),_:1},8,["span"]),a(le,{span:1.5},{default:l(()=>[a(k,{type:"primary",plain:"",icon:"Plus",onClick:de},{default:l(()=>[f("\u914D\u7F6E\u6C34\u8D28\u76EE\u6807")]),_:1})]),_:1},8,["span"]),a(_e,{showSearch:e($),"onUpdate:showSearch":r[3]||(r[3]=o=>re($)?$.value=o:null),onQueryTable:W},null,8,["showSearch"])]),_:1}),z((d(),y(Fe,{data:e(G),stripe:"","max-height":600,border:""},{default:l(()=>[a(E,{type:"index",width:"55",label:"\u5E8F\u53F7",fixed:"left"}),(d(!0),V(F,null,C(e(i),o=>(d(),y(E,{label:o.value,prop:o.key,"show-overflow-tooltip":""},We({_:2},[o.key=="reachStandard"?{name:"default",fn:l(s=>[P("span",{style:te({color:s.row.reachStandard=="0"?"red":"lime"})},[a(De,{type:s.row.reachStandard=="0"?"error":s.row.reachStandard=="1"?"success":""},{default:l(()=>[f(B(s.row.reachStandard=="0"?"\u8D85\u6807":"\u8FBE\u6807"),1)]),_:2},1032,["type"])],4)]),key:"0"}:void 0,o.key=="targetWaterQuality"?{name:"default",fn:l(s=>[P("span",{style:te({color:s.row.targetWaterQuality=="first"?"greenyellow":s.row.targetWaterQuality=="second"?"#1aab3afc":s.row.targetWaterQuality=="third"?"#3e36a7e6":s.row.targetWaterQuality=="fourth"?"orange":""})},B(s.row.targetWaterQualityName=="\u2160\u7C7B"?"\u2160\u7C7B":s.row.targetWaterQualityName=="\u2161\u7C7B"?"\u2161\u7C7B":s.row.targetWaterQualityName=="\u2162\u7C7B"?"\u2162\u7C7B":s.row.targetWaterQualityName=="\u2163\u7C7B"?"\u2163\u7C7B":""),5)]),key:"1"}:void 0,o.key=="waterQuality"?{name:"default",fn:l(s=>[P("span",{style:te({color:s.row.waterQuality=="first"?"greenyellow":s.row.waterQuality=="second"?"#1aab3afc":s.row.waterQuality=="third"?"#3e36a7e6":s.row.waterQuality=="fourth"?"orange":s.row.waterQuality=="sixth"?"red":""})},B(s.row.waterQualityName=="\u2160\u7C7B"?"\u2160\u7C7B":s.row.waterQualityName=="\u2161\u7C7B"?"\u2161\u7C7B":s.row.waterQualityName=="\u2162\u7C7B"?"\u2162\u7C7B":s.row.waterQualityName=="\u2163\u7C7B"?"\u2163\u7C7B":s.row.waterQualityName=="\u52A3\u2164\u7C7B"?"\u52A3\u2164\u7C7B":""),5)]),key:"2"}:void 0]),1032,["label","prop"]))),256)),a(E,{label:"\u64CD\u4F5C","show-overflow-tooltip":"",width:"200",fixed:"right"},{default:l(({row:o})=>[a(k,{type:"primary",link:"",onClick:s=>Z(o)},{default:l(()=>[f("\u8BE6\u60C5")]),_:2},1032,["onClick"]),a(k,{type:"primary",link:"",onClick:s=>X(o)},{default:l(()=>[f("\u4FEE\u6539")]),_:2},1032,["onClick"]),a(k,{type:"danger",link:"",onClick:s=>D(o)},{default:l(()=>[f("\u5220\u9664")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[Ue,e(A)]]),z(a(Ce,{total:e(L),page:e(v).pageNum,"onUpdate:page":r[4]||(r[4]=o=>e(v).pageNum=o),limit:e(v).pageSize,"onUpdate:limit":r[5]||(r[5]=o=>e(v).pageSize=o),onPagination:W},null,8,["total","page","limit"]),[[O,e(L)>0]]),a(xe,{title:e(M),modelValue:e(w),"onUpdate:modelValue":r[11]||(r[11]=o=>re(w)?w.value=o:null),width:"70%","close-on-click-modal":!1},{footer:l(()=>[P("div",Oe,[z(a(k,{type:"primary",onClick:me},{default:l(()=>[f("\u4FDD \u5B58")]),_:1},512),[[O,!e(S)]]),a(k,{onClick:pe},{default:l(()=>[f("\u5173\u95ED")]),_:1})])]),default:l(()=>[a(ae,{ref:"ruleForm",model:e(c),rules:e(J),"label-width":"auto",disabled:e(S)},{default:l(()=>[a(t,null,{default:l(()=>[a(h,{label:"\u8003\u6838\u6C34\u4F53:",prop:"riverId",style:{width:"45%"}},{default:l(()=>[a(q,{clearable:"",modelValue:e(c).riverId,"onUpdate:modelValue":r[6]||(r[6]=o=>e(c).riverId=o),class:"m-2",placeholder:"\u8BF7\u9009\u62E9",size:"mini",style:{width:"100%"}},{default:l(()=>[(d(!0),V(F,null,C(e(j),o=>(d(),y(g,{key:o.id,label:o.riverName,value:Number(o.id)},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(h,{label:"\u65AD\u9762\u540D\u79F0:",prop:"section",style:{width:"45%"}},{default:l(()=>[a(ve,{modelValue:e(c).section,"onUpdate:modelValue":r[7]||(r[7]=o=>e(c).section=o),placeholder:"\u8BF7\u8F93\u5165",style:{width:"100%"},clearable:""},null,8,["modelValue"])]),_:1}),a(h,{label:"\u91C7\u6837\u65F6\u95F4:",prop:"sampleTime",style:{width:"45%"}},{default:l(()=>[a(ee,{style:{width:"100%"},clearable:"",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD",modelValue:e(c).sampleTime,"onUpdate:modelValue":r[8]||(r[8]=o=>e(c).sampleTime=o),type:"date"},null,8,["modelValue"])]),_:1}),(d(!0),V(F,null,C(e(x),o=>(d(),y(h,{label:o.sampleFactorName,prop:o.sampleFactor,style:{width:"45%"}},{default:l(()=>[a(Ne,{modelValue:e(c)[o.sampleFactor],"onUpdate:modelValue":s=>e(c)[o.sampleFactor]=s,placeholder:"\u8BF7\u8F93\u5165",style:{width:"100%"},clearable:"","controls-position":"right",min:0},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["label","prop"]))),256)),e(I)?(d(),y(h,{key:0,label:"\u6C34\u4F53\u7C7B\u522B:",prop:"waterQualityName",style:{width:"45%"}},{default:l(()=>[a(ve,{modelValue:e(c).waterQualityName,"onUpdate:modelValue":r[9]||(r[9]=o=>e(c).waterQualityName=o),placeholder:"\u8BF7\u8F93\u5165",style:{width:"100%"},clearable:"",disabled:e(b)},null,8,["modelValue","disabled"])]),_:1})):ge("",!0),e(I)?(d(),y(h,{key:1,label:"\u76EE\u6807\u6C34\u8D28\u7C7B\u522B:",prop:"targetWaterQualityName",style:{width:"45%"}},{default:l(()=>[a(ve,{modelValue:e(c).targetWaterQualityName,"onUpdate:modelValue":r[10]||(r[10]=o=>e(c).targetWaterQualityName=o),placeholder:"\u8BF7\u8F93\u5165",style:{width:"100%"},clearable:"",disabled:e(b)},null,8,["modelValue","disabled"])]),_:1})):ge("",!0)]),_:1})]),_:1},8,["model","rules","disabled"])]),_:1},8,["title","modelValue"])])):(d(),y(Qe,{key:1}))}}},Ke=Object.freeze(Object.defineProperty({__proto__:null,default:Se},Symbol.toStringTag,{value:"Module"}));export{Se as _,Ke as a,Je as i};