Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

2 linhas
40KB

  1. import{_ as ne,d as se,B as re,r as f,J as pe,L as me,c as w,e as m,f as N,g as b,h as l,i as e,u as A,G as y,k as M,j as s,F,H as $,t as dl,T as Y,q as ie}from"./index.a2494fc2.js";import{E as fe}from"./index.108a55d4.js";import{s as ve,g as be}from"./formConfiguration.2e3b43b9.js";import{g as Fl,a as Ve}from"./getIsShowRegionTree.7b64ce60.js";const ye={class:"mainBox"},ge={style:{"padding-left":"16px"}},_e={class:"flexRight",style:{"margin-bottom":"16px"}},we={class:"p-16 mx-24"},ke={class:"w-full px-16 mt-16"},Ue={key:1,class:"marginTop"},Ce={class:"flexbetween collapse-title"},xe=["onClick"],Ne={class:"footer justify-center"},Pe=se({name:"formConfiguration"}),Le=Object.assign(Pe,{setup(qe){const{proxy:B}=ie(),{fourSystem:Il,businessTerritory:Tl,constructionLevel:Sl,projectBasisMaterials:$l,coreBusiness:jl,projectTypeOptions:Al}=re.dictStore.globalDicts||{},Dl=[{label:"\u4F9D\u636E\u9879",key:"yjx",prop:"yjx"},{label:"\u4F9D\u636E\u6587\u4EF6\u540D",key:"yjwjm",prop:"yjwjm",width:250},{label:"\u6587\u4EF6",slot:"action",width:100}],El=[{label:"\u5E8F\u53F7",type:"index",width:100},{label:"\u4E1A\u52A1\u7F16\u53F7",key:"ywbh",prop:"ywbh"},{label:"\u4E1A\u52A1\u540D\u79F0",key:"ywmc",prop:"ywmc",width:250},{label:"\u6240\u5C5E\u5355\u4F4D",key:"shdw",prop:"shdw",width:100}],il=!1,fl=f("1"),vl=f("1"),bl=f("1"),Vl=f("1"),yl=f("1"),gl=f("1"),_l=f("1"),wl=f("1"),kl=f("1"),Ul=f(["1"]),r=f({}),P=f({}),G=f({}),L=f({}),O=f({}),J=f([0]),V=f([]),Bl=()=>{if(V.value&&V.value.length>=10){B.$message.error("\u6A21\u5757\u6700\u591A\u53EF\u589E\u52A010\u4E2A\uFF01");return}V.value&&J.value&&J.value.push(V.value.length),V.value.push({})},z=f(!1),D=f(),Gl=n=>{var a;if(((a=V.value[n].formList)==null?void 0:a.length)>=10){B.$message.warning("\u6700\u591A\u52A010\u4E2A\u5B57\u6BB5");return}D.value=n,z.value=!0},d=f({optionList:[{}],type:"\u8F93\u5165"}),Ol=(n,a,t)=>{V.value[D.value].formList&&V.value[D.value].formList.length>0&&V.value[D.value].formList.findIndex(p=>p.formName===a)!==-1?t("\u91CD\u590D\u5B57\u6BB5\u540D\u79F0!"):t()},Yl=(n,a,t)=>{const p=d.value.optionList.filter(o=>o.name===a);p&&p.length>1?t("\u91CD\u590D\u9009\u9879!"):t()},Jl={formName:[{required:!0,message:"\u767B\u5F55\u540D\u4E0D\u80FD\u4E3A\u7A7A",trigger:"blur"},{validator:Ol,trigger:"blur"}],type:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B57\u6BB5\u7C7B\u578B",trigger:"change"}],maxLength:[{required:!0,message:"\u8BF7\u8F93\u5165\u6700\u5927\u957F\u5EA6",trigger:"blur"}],minNumber:[{required:!0,message:"\u8BF7\u8F93\u5165\u6700\u5C0F\u6570\u503C",trigger:"blur"}],maxNumber:[{required:!0,message:"\u8BF7\u8F93\u5165\u6700\u5927\u6570\u503C",trigger:"blur"}],fileNumber:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u4E2A\u6570",trigger:"blur"}],isRequired:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u5FC5\u586B",trigger:"blur"}],formSort:[{required:!0,message:"\u8BF7\u8F93\u5165\u6392\u5E8F",trigger:"blur"}]},Cl=f(),zl=n=>{!n||n.validate(a=>{if(a){V.value[D.value].formList&&V.value[D.value].formList.length>0?console.log(123):V.value[D.value].formList=[];const t={name:d.value.formName,props:{required:d.value.isRequired,sort:Number(d.value.formSort),type:d.value.type}};switch(d.value.type){case"\u8F93\u5165":t.props.maxLength=d.value.maxLength,t.valueType="String";break;case"\u6570\u503C\u8F93\u5165":if(d.value.minNumber>d.value.maxNumber){B.$message.error("\u6700\u5C0F\u6570\u503C\u4E0D\u80FD\u5927\u4E8E\u6700\u5927\u6570\u503C\uFF01");return}t.props.minNumber=d.value.minNumber,t.props.maxNumber=d.value.maxNumber,t.valueType="Number";break;case"\u5355\u9009":t.valueType="String",t.props.options=d.value.optionList,t.props.optionName=d.value.optionList.map(p=>p.name).join(",");break;case"\u591A\u9009":t.valueType="Array",t.props.options=d.value.optionList,t.props.optionName=d.value.optionList.map(p=>p.name).join(",");break;case"\u6587\u4EF6\u4E0A\u4F20":t.valueType="Array",t.props.fileNumber=d.value.fileNumber;break}V.value[D.value].formList.push(t),z.value=!1,B.$message.success("\u6210\u529F\uFF01"),d.value={optionList:[{}],type:"\u8F93\u5165"}}})},H=f(!1),K=f(!1),Q=f(!1),nl=f(!0),W=f(!1),sl=f(!0),rl=f(),ll=f(!1),Hl=async()=>{var p;let n=!1;if(V.value.forEach(o=>{(!o.formList||!o.formList.length)&&(n=!0)}),n)return B.$message.warning("\u8BF7\u52FF\u589E\u52A0\u7A7A\u6A21\u5757"),!1;const a={id:pl.value?pl.value:void 0,isCoreBusiness:H.value,isSafetyInput:K.value,isProjectImageProgress:Q.value,isAccessory:nl.value,isRemark:W.value,isAnnualPaymentPlan:sl.value,isReviewChecklist:el.value,reviewChecklist:(j==null?void 0:j.value.reviewChecklist)||[]};ll.value=!0;var t=[];V.value&&V.value.length>0&&(t=(p=rl.value)==null?void 0:p.map(o=>new Promise((_,U)=>{o.validate(q=>{q?_(q):U(q)})}))),t.push(new Promise((o,_)=>{var U;(U=Nl.value)==null||U.validate(q=>{q?o(q):_(q)})})),Promise.all(t).then(async o=>{var U;const _={...a,safetyInputModular:(U=V.value)!=null&&U.length?V.value.map((q,I)=>({...q,id:I})):[]};await ve(_),B.$message.success("\u4FDD\u5B58\u6210\u529F\uFF01"),ll.value=!1}).catch(o=>(ll.value=!1,console.log(o),!1))},Kl=n=>{d.value.optionList.splice(n,1)},Ql=()=>{var n;if(((n=d.value.optionList)==null?void 0:n.length)>=10){B.$message.warning("\u6700\u591A\u52A010\u4E2A\u9009\u9879");return}d.value.optionList.push({})},Wl=n=>{V.value.splice(n,1),J.value.splice(n,1)},Xl=()=>{},pl=f(),xl=f(),Zl=f(),hl=()=>{xl.value="",H.value=!1,K.value=!1,Q.value=!1,nl.value=!0,W.value=!1,sl.value=!0,rl.value=void 0,V.value=[]},cl=async()=>{hl();const n=await be({regionCode:ml.value});pl.value=n.data.id,xl.value=n.data.formId,Zl.value=n.data.formName,H.value=n.data.isCoreBusiness,K.value=n.data.isSafetyInput,Q.value=n.data.isProjectImageProgress,nl.value=n.data.isAccessory,W.value=n.data.isRemark,sl.value=n.data.isAnnualPaymentPlan,el.value=n.data.isReviewChecklist,j.value={reviewChecklist:n.data.reviewChecklist?JSON.parse(n.data.reviewChecklist):[{modules:[{}]}]},n.data.safetyInputModular&&n.data.safetyInputModular.length>0&&(V.value=n.data.safetyInputModular,J.value=n.data.safetyInputModular.map((a,t)=>t))},ml=f({}),le=n=>{ml.value=n.regionLevel===3?n.regionCode:void 0,cl()},el=f(!1),Nl=f(),j=f({reviewChecklist:[{modules:[{}]}]}),ee=()=>{j.value.reviewChecklist.push({modules:[{}]})},ae=n=>{j.value.reviewChecklist[n].modules.push({})},ue=(n,a)=>{j.value.reviewChecklist[n].modules.splice(a,1)},te=n=>{j.value.reviewChecklist.splice(n,1)};return pe(z,n=>{me(()=>{n||console.log(n)})}),(n,a)=>{const t=w("el-col"),p=w("el-input"),o=w("el-form-item"),_=w("el-radio"),U=w("el-radio-group"),q=w("el-date-picker"),I=w("el-option"),al=w("el-select"),Pl=w("table-list"),ul=w("el-checkbox"),Ll=w("el-checkbox-group"),C=w("el-row"),R=w("el-form"),T=w("el-collapse-item"),S=w("el-collapse"),g=w("el-input-number"),X=w("el-switch"),k=w("el-button"),Z=w("el-upload"),oe=w("el-divider"),de=w("el-dialog");return m(),N(F,null,[b("div",ye,[l(C,null,{default:e(()=>[A(Fl)(["SUPER_ADMIN","REGION_MANAGER"])?(m(),y(t,{key:0,style:{"padding-right":"16px"},span:4},{default:e(()=>[l(fe,{params:A(Ve)({SUPER_ADMIN:!1,REGION_MANAGER:!1}),onGetTree:le},null,8,["params"])]),_:1})):M("",!0),l(t,{span:A(Fl)(["SUPER_ADMIN","REGION_MANAGER"])?20:24,class:"leftCol"},{default:e(()=>[l(S,{modelValue:fl.value,"onUpdate:modelValue":a[20]||(a[20]=u=>fl.value=u)},{default:e(()=>[l(T,{name:"1"},{title:e(()=>a[71]||(a[71]=[b("div",{class:"collapse-title"},"\u57FA\u672C\u4FE1\u606F\uFF08\u5B57\u6BB5\u4E0D\u53EF\u4FEE\u6539\uFF09",-1)])),default:e(()=>[l(R,{model:r.value,"label-position":"right","label-width":"180px","label-suffix":":"},{default:e(()=>[l(C,{gutter:40},{default:e(()=>[l(t,{span:12},{default:e(()=>[l(o,{label:"\u9879\u76EE\u540D\u79F0",prop:"num1"},{default:e(()=>[l(p,{modelValue:r.value.num1,"onUpdate:modelValue":a[0]||(a[0]=u=>r.value.num1=u),disabled:"",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u662F\u5426\u4E00\u5730\u521B\u65B0\u5168\u7701\u5171\u4EAB\u9879\u76EE","label-width":"auto",required:""},{default:e(()=>[l(U,{disabled:""},{default:e(()=>[l(_,{label:!0},{default:e(()=>a[72]||(a[72]=[s("\u662F")])),_:1}),l(_,{label:!1},{default:e(()=>a[73]||(a[73]=[s("\u5426")])),_:1})]),_:1})]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u662F\u5426\u4E34\u65F6\u589E\u8865",prop:"num2"},{default:e(()=>[l(U,{modelValue:r.value.num2,"onUpdate:modelValue":a[1]||(a[1]=u=>r.value.num2=u),disabled:""},{default:e(()=>[l(_,{label:1},{default:e(()=>a[74]||(a[74]=[s("\u662F")])),_:1}),l(_,{label:2},{default:e(()=>a[75]||(a[75]=[s("\u5426")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA",prop:"num3"},{default:e(()=>[l(p,{modelValue:r.value.num3,"onUpdate:modelValue":a[2]||(a[2]=u=>r.value.num3=u),disabled:"",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7",prop:"num4"},{default:e(()=>[l(p,{modelValue:r.value.num4,"onUpdate:modelValue":a[3]||(a[3]=u=>r.value.num4=u),disabled:"",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA",prop:"num5"},{default:e(()=>[l(p,{modelValue:r.value.num5,"onUpdate:modelValue":a[4]||(a[4]=u=>r.value.num5=u),disabled:"",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA\u624B\u673A\u53F7",prop:"num6"},{default:e(()=>[l(p,{modelValue:r.value.num6,"onUpdate:modelValue":a[5]||(a[5]=u=>r.value.num6=u),disabled:"",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u5EFA\u8BBE\u5355\u4F4D",prop:"num7"},{default:e(()=>[l(p,{modelValue:r.value.num7,"onUpdate:modelValue":a[6]||(a[6]=u=>r.value.num7=u),disabled:"",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801",prop:"num8"},{default:e(()=>[l(p,{modelValue:r.value.num8,"onUpdate:modelValue":a[7]||(a[7]=u=>r.value.num8=u),disabled:"",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u9879\u76EE\u7C7B\u578B",prop:"num9"},{default:e(()=>[l(U,{modelValue:r.value.num9,"onUpdate:modelValue":a[8]||(a[8]=u=>r.value.num9=u),disabled:""},{default:e(()=>[(m(!0),N(F,null,$(A(Al),(u,v)=>(m(),y(_,{key:v,label:v},{default:e(()=>[s(dl(u),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u662F\u5426\u9996\u6B21\u65B0\u5EFA",prop:"num10"},{default:e(()=>[l(U,{modelValue:r.value.num10,"onUpdate:modelValue":a[9]||(a[9]=u=>r.value.num10=u),disabled:""},{default:e(()=>[l(_,{label:1},{default:e(()=>a[76]||(a[76]=[s("\u662F")])),_:1}),l(_,{label:2},{default:e(()=>a[77]||(a[77]=[s("\u5426")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u5EFA\u8BBE\u8D77\u6B62\u5E74\u9650",required:""},{default:e(()=>[l(q,{disabled:"",type:"datetimerange","range-separator":"-","start-placeholder":"\u5F00\u59CB\u65F6\u95F4","end-placeholder":"\u7ED3\u675F\u65F6\u95F4",format:"YYYY-MM","value-format":"YYYY-MM"})]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u9884\u7B97\u5E74\u5EA6",prop:"num11"},{default:e(()=>[l(q,{modelValue:r.value.num11,"onUpdate:modelValue":a[10]||(a[10]=u=>r.value.num11=u),disabled:"",type:"year",placeholder:"\u8BF7\u9009\u62E9"},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u56DB\u5927\u4F53\u7CFB",prop:"num12"},{default:e(()=>[l(al,{modelValue:r.value.num12,"onUpdate:modelValue":a[11]||(a[11]=u=>r.value.num12=u),disabled:"",placeholder:"\u8BF7\u9009\u62E9"},{default:e(()=>[(m(!0),N(F,null,$(A(Il),(u,v)=>(m(),y(I,{key:v,label:u,value:v},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u662F\u5426\u6570\u5B57\u5316\u6539\u9769\u9879\u76EE",prop:"num13"},{default:e(()=>[l(U,{modelValue:r.value.num13,"onUpdate:modelValue":a[12]||(a[12]=u=>r.value.num13=u),disabled:""},{default:e(()=>[l(_,{label:1},{default:e(()=>a[78]||(a[78]=[s("\u662F")])),_:1}),l(_,{label:2},{default:e(()=>a[79]||(a[79]=[s("\u5426")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u7EFC\u5408\u4E1A\u52A1\u9886\u57DF",prop:"num14"},{default:e(()=>[l(al,{modelValue:r.value.num14,"onUpdate:modelValue":a[13]||(a[13]=u=>r.value.num14=u),disabled:"",placeholder:"\u8BF7\u9009\u62E9"},{default:e(()=>[(m(!0),N(F,null,$(A(Tl),(u,v)=>(m(),y(I,{key:v,label:u,value:v},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(t,{span:24},{default:e(()=>[l(o,{label:"\u5EFA\u8BBE\u5C42\u7EA7",prop:"num15"},{default:e(()=>[l(U,{modelValue:r.value.num15,"onUpdate:modelValue":a[14]||(a[14]=u=>r.value.num15=u),disabled:""},{default:e(()=>[(m(!0),N(F,null,$(A(Sl),(u,v)=>(m(),y(_,{key:v,label:v},{default:e(()=>[s(dl(u),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(t,{span:24},{default:e(()=>[l(o,{label:"\u7ACB\u9879\u4F9D\u636E\u6750\u6599",prop:"num16"},{default:e(()=>[l(Pl,{pagination:il,style:{width:"100%"},column:Dl,data:A($l)},{action:e(()=>a[80]||(a[80]=[b("span",null,"\u4E0A\u4F20",-1)])),_:1},8,["data"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u53D1\u6539\u7F16\u7801",prop:"num17"},{default:e(()=>[l(p,{modelValue:r.value.num17,"onUpdate:modelValue":a[15]||(a[15]=u=>r.value.num17=u),disabled:"",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u8D22\u653F\u7F16\u7801",prop:"num18"},{default:e(()=>[l(p,{modelValue:r.value.num18,"onUpdate:modelValue":a[16]||(a[16]=u=>r.value.num18=u),disabled:"",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:24},{default:e(()=>[l(o,{label:"\u662F\u5426\u4E0A\u4E91",prop:"num19"},{default:e(()=>[l(U,{modelValue:r.value.num19,"onUpdate:modelValue":a[17]||(a[17]=u=>r.value.num19=u),disabled:""},{default:e(()=>[l(_,{label:1},{default:e(()=>a[81]||(a[81]=[s("\u662F")])),_:1}),l(_,{label:2},{default:e(()=>a[82]||(a[82]=[s("\u5426")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(t,{span:24},{default:e(()=>[l(o,{label:"\u4E91\u7C7B\u578B",prop:"num20"},{default:e(()=>[l(Ll,{modelValue:r.value.num20,"onUpdate:modelValue":a[18]||(a[18]=u=>r.value.num20=u),disabled:""},{default:e(()=>[l(ul,{label:"1"},{default:e(()=>a[83]||(a[83]=[s("\u653F\u52A1\u4E91\uFF08\u975E\u4FE1\u521B\uFF09")])),_:1}),l(ul,{label:"2"},{default:e(()=>a[84]||(a[84]=[s("\u653F\u52A1\u4E91\uFF08\u4FE1\u521B\uFF09")])),_:1}),l(ul,{label:"3"},{default:e(()=>a[85]||(a[85]=[s("\u5176\u4ED6")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(t,{span:24},{default:e(()=>[l(o,{label:"\u9879\u76EE\u7B80\u4ECB",prop:"num23"},{default:e(()=>[l(p,{modelValue:r.value.num23,"onUpdate:modelValue":a[19]||(a[19]=u=>r.value.num23=u),disabled:"",rows:4,type:"textarea",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})]),_:1},8,["modelValue"]),l(S,{modelValue:vl.value,"onUpdate:modelValue":a[27]||(a[27]=u=>vl.value=u),class:"marginTop"},{default:e(()=>[l(T,{name:"1"},{title:e(()=>a[86]||(a[86]=[b("div",{class:"collapse-title"},"\u8D44\u91D1\u7533\u62A5\u60C5\u51B5\uFF08\u5B57\u6BB5\u4E0D\u53EF\u4FEE\u6539\uFF09",-1)])),default:e(()=>[l(R,{model:P.value,"label-position":"right","label-width":"180px","label-suffix":":"},{default:e(()=>[l(C,null,{default:e(()=>[l(t,{span:12},{default:e(()=>[l(o,{label:"\u7533\u62A5\u91D1\u989D",prop:"sum1"},{default:e(()=>[l(g,{modelValue:P.value.sum1,"onUpdate:modelValue":a[21]||(a[21]=u=>P.value.sum1=u),disabled:"",placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),l(C,null,{default:e(()=>[l(t,{span:12},{default:e(()=>[l(o,{label:"\u81EA\u6709\u8D44\u91D1",prop:"sum2"},{default:e(()=>[l(g,{modelValue:P.value.sum2,"onUpdate:modelValue":a[22]||(a[22]=u=>P.value.sum2=u),disabled:"",placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u653F\u5E9C\u6295\u8D44-\u672C\u7EA7\u8D22\u653F\u8D44\u91D1",prop:"sum3"},{default:e(()=>[l(g,{modelValue:P.value.sum3,"onUpdate:modelValue":a[23]||(a[23]=u=>P.value.sum3=u),disabled:"",placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u653F\u5E9C\u6295\u8D44-\u4E0A\u7EA7\u8865\u52A9\u8D44\u91D1",prop:"sum4"},{default:e(()=>[l(g,{modelValue:P.value.sum4,"onUpdate:modelValue":a[24]||(a[24]=u=>P.value.sum4=u),disabled:"",placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u94F6\u884C\u8D37\u6B3E",prop:"sum5"},{default:e(()=>[l(g,{modelValue:P.value.sum5,"onUpdate:modelValue":a[25]||(a[25]=u=>P.value.sum5=u),disabled:"",placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u5176\u4ED6\u8D44\u91D1",prop:"sum6"},{default:e(()=>[l(g,{modelValue:P.value.sum6,"onUpdate:modelValue":a[26]||(a[26]=u=>P.value.sum6=u),disabled:"",placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})]),_:1},8,["modelValue"]),l(S,{modelValue:bl.value,"onUpdate:modelValue":a[31]||(a[31]=u=>bl.value=u),class:"marginTop"},{default:e(()=>[l(T,{name:"1"},{title:e(()=>a[87]||(a[87]=[b("div",{class:"collapse-title"},"\u603B\u6295\u8D44\u5206\u914D\u60C5\u51B5\uFF08\u5B57\u6BB5\u4E0D\u53EF\u4FEE\u6539\uFF09",-1)])),default:e(()=>[l(R,{style:{"padding-left":"16px"},model:G.value,"label-suffix":":"},{default:e(()=>[l(C,{gutter:10},{default:e(()=>[l(t,{span:8},{default:e(()=>[l(o,{label:"\u8F6F\u4EF6\u5F00\u53D1",prop:"money1"},{default:e(()=>[l(g,{modelValue:G.value.money1,"onUpdate:modelValue":a[28]||(a[28]=u=>G.value.money1=u),placeholder:"\u8BF7\u586B\u5199",min:0,disabled:"",controls:!1},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:8},{default:e(()=>[l(o,{label:"\u4E91\u8D44\u6E90\u3001\u786C\u4EF6\u914D\u7F6E",prop:"money2"},{default:e(()=>[l(g,{modelValue:G.value.money2,"onUpdate:modelValue":a[29]||(a[29]=u=>G.value.money2=u),disabled:"",placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:8},{default:e(()=>[l(o,{label:"\u7B2C\u4E09\u65B9\u670D\u52A1",prop:"money3"},{default:e(()=>[l(g,{modelValue:G.value.money3,"onUpdate:modelValue":a[30]||(a[30]=u=>G.value.money3=u),disabled:"",placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})]),_:1},8,["modelValue"]),l(S,{modelValue:Vl.value,"onUpdate:modelValue":a[38]||(a[38]=u=>Vl.value=u),class:"marginTop"},{default:e(()=>[l(T,{name:"1"},{title:e(()=>a[88]||(a[88]=[b("div",{class:"collapse-title"}," \u5E74\u5EA6\u652F\u4ED8\u8BA1\u5212\uFF08\u5B57\u6BB5\u4E0D\u53EF\u4FEE\u6539\uFF09 ",-1)])),default:e(()=>[l(R,{style:{"padding-left":"16px"},model:L.value,"label-position":"right","label-width":"180px","label-suffix":":"},{default:e(()=>[l(C,null,{default:e(()=>[l(t,{span:12},{default:e(()=>[l(o,{label:"\u5E74\u5EA6\u652F\u4ED8\u91D1\u989D",prop:"annualPlan1"},{default:e(()=>[l(g,{modelValue:L.value.annualPlan1,"onUpdate:modelValue":a[32]||(a[32]=u=>L.value.annualPlan1=u),placeholder:"\u8BF7\u586B\u5199",disabled:"",min:0,controls:!1},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),l(C,{gutter:10},{default:e(()=>[l(t,{span:12},{default:e(()=>[l(o,{label:"\u81EA\u6709\u8D44\u91D1",prop:"annualPlan2"},{default:e(()=>[l(g,{modelValue:L.value.annualPlan2,"onUpdate:modelValue":a[33]||(a[33]=u=>L.value.annualPlan2=u),disabled:"",placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u653F\u5E9C\u6295\u8D44-\u672C\u7EA7\u8D22\u653F\u8D44\u91D1",prop:"annualPlan3"},{default:e(()=>[l(g,{modelValue:L.value.annualPlan3,"onUpdate:modelValue":a[34]||(a[34]=u=>L.value.annualPlan3=u),disabled:"",placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u653F\u5E9C\u6295\u8D44-\u4E0A\u7EA7\u8865\u52A9\u8D44\u91D1",prop:"annualPlan4"},{default:e(()=>[l(g,{modelValue:L.value.annualPlan4,"onUpdate:modelValue":a[35]||(a[35]=u=>L.value.annualPlan4=u),disabled:"",placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u94F6\u884C\u8D37\u6B3E",prop:"annualPlan5"},{default:e(()=>[l(g,{modelValue:L.value.annualPlan5,"onUpdate:modelValue":a[36]||(a[36]=u=>L.value.annualPlan5=u),disabled:"",placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u5176\u4ED6",prop:"annualPlan6"},{default:e(()=>[l(g,{modelValue:L.value.annualPlan6,"onUpdate:modelValue":a[37]||(a[37]=u=>L.value.annualPlan6=u),disabled:"",placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})]),_:1},8,["modelValue"]),l(S,{modelValue:yl.value,"onUpdate:modelValue":a[41]||(a[41]=u=>yl.value=u),class:"marginTop"},{default:e(()=>[l(T,{name:"1"},{title:e(()=>[a[89]||(a[89]=b("div",{class:"collapse-title"}," \u6838\u5FC3\u4E1A\u52A1\uFF08\u5B57\u6BB5\u4E0D\u53EF\u4FEE\u6539\uFF0C\u53EF\u9009\u62E9\u662F\u5426\u542F\u7528\u8BE5\u6A21\u5757\uFF09 ",-1)),b("div",{class:"elSwitch",onClick:a[40]||(a[40]=Y(()=>{},["stop"]))},[l(X,{modelValue:H.value,"onUpdate:modelValue":a[39]||(a[39]=u=>H.value=u)},null,8,["modelValue"])])]),default:e(()=>[b("div",ge,[b("div",_e,[l(k,{type:"primary",disabled:"",onClick:Xl},{default:e(()=>a[90]||(a[90]=[s(" \u9009\u62E9\u6838\u5FC3\u4E1A\u52A1 ")])),_:1})]),l(Pl,{pagination:il,style:{width:"100%"},column:El,data:A(jl)},null,8,["data"])])]),_:1})]),_:1},8,["modelValue"]),l(S,{modelValue:gl.value,"onUpdate:modelValue":a[47]||(a[47]=u=>gl.value=u),class:"marginTop"},{default:e(()=>[l(T,{name:"1"},{title:e(()=>[a[91]||(a[91]=b("div",{class:"collapse-title"}," \u5B89\u5168\u6295\u5165\uFF08\u5B57\u6BB5\u4E0D\u53EF\u4FEE\u6539\uFF0C\u53EF\u9009\u62E9\u662F\u5426\u542F\u7528\u8BE5\u6A21\u5757\uFF09 ",-1)),b("div",{class:"elSwitch",onClick:a[43]||(a[43]=Y(()=>{},["stop"]))},[l(X,{modelValue:K.value,"onUpdate:modelValue":a[42]||(a[42]=u=>K.value=u)},null,8,["modelValue"])])]),default:e(()=>[l(R,{style:{"padding-left":"16px"},model:O.value,"label-position":"right","label-width":"100px","label-suffix":":"},{default:e(()=>[l(C,null,{default:e(()=>[l(t,{span:12},{default:e(()=>[l(o,{label:"\u6295\u5165\u9879",prop:"safetyInvestment1"},{default:e(()=>[l(p,{modelValue:O.value.safetyInvestment1,"onUpdate:modelValue":a[44]||(a[44]=u=>O.value.safetyInvestment1=u),disabled:"",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:24},{default:e(()=>[l(o,{label:"\u5185\u5BB9\u63CF\u8FF0",prop:"safetyInvestment2"},{default:e(()=>[l(p,{modelValue:O.value.safetyInvestment2,"onUpdate:modelValue":a[45]||(a[45]=u=>O.value.safetyInvestment2=u),rows:4,disabled:"",type:"textarea",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),l(C,null,{default:e(()=>[l(t,{span:12},{default:e(()=>[l(o,{label:"\u91D1\u989D",prop:"safetyInvestment3"},{default:e(()=>[l(g,{modelValue:O.value.safetyInvestment3,"onUpdate:modelValue":a[46]||(a[46]=u=>O.value.safetyInvestment3=u),placeholder:"\u8BF7\u586B\u5199",disabled:"",min:0,controls:!1},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})]),_:1},8,["modelValue"]),l(S,{modelValue:_l.value,"onUpdate:modelValue":a[50]||(a[50]=u=>_l.value=u),class:"marginTop"},{default:e(()=>[l(T,{name:"1"},{title:e(()=>[a[92]||(a[92]=b("div",{class:"collapse-title"}," \u5DE5\u7A0B\u5F62\u8C61\u8FDB\u5EA6\uFF08\u5B57\u6BB5\u4E0D\u53EF\u4FEE\u6539\uFF0C\u53EF\u9009\u62E9\u662F\u5426\u542F\u7528\u8BE5\u6A21\u5757\uFF09 ",-1)),b("div",{class:"elSwitch",onClick:a[49]||(a[49]=Y(()=>{},["stop"]))},[l(X,{modelValue:Q.value,"onUpdate:modelValue":a[48]||(a[48]=u=>Q.value=u)},null,8,["modelValue"])])]),default:e(()=>[l(R,{"label-position":"right","label-width":"100px","label-suffix":":",class:"pl-16"},{default:e(()=>[l(C,null,{default:e(()=>[l(t,{span:12},{default:e(()=>[l(o,{label:"\u7B2C\u4E00\u5B63\u5EA6",required:""},{default:e(()=>[l(p,{disabled:""})]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u7B2C\u4E8C\u5B63\u5EA6",required:""},{default:e(()=>[l(p,{disabled:""})]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u7B2C\u4E09\u5B63\u5EA6",required:""},{default:e(()=>[l(p,{disabled:""})]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u7B2C\u56DB\u5B63\u5EA6",required:""},{default:e(()=>[l(p,{disabled:""})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"]),l(S,{modelValue:wl.value,"onUpdate:modelValue":a[51]||(a[51]=u=>wl.value=u),class:"marginTop"},{default:e(()=>[l(T,{name:"1"},{title:e(()=>a[93]||(a[93]=[b("div",{class:"collapse-title"}," \u9644\u4EF6\uFF08\u5B57\u6BB5\u4E0D\u53EF\u4FEE\u6539\uFF09 ",-1)])),default:e(()=>[l(R,{"label-position":"right","label-width":"260px","label-suffix":":"},{default:e(()=>[l(C,null,{default:e(()=>[l(t,{span:12},{default:e(()=>[l(o,{label:"\u521D\u6B65\u65B9\u6848",required:""},{default:e(()=>[l(Z,{ref:"preliminaryPlanRef",class:"upload-demo",disabled:""},{tip:e(()=>a[95]||(a[95]=[b("div",{class:"el-upload__tip"}," \u652F\u6301PDF\u6587\u4EF6 ",-1)])),default:e(()=>[l(k,{plain:"",type:"primary",disabled:""},{default:e(()=>a[94]||(a[94]=[s("\u9009\u62E9\u6587\u4EF6")])),_:1})]),_:1},512)]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u4F50\u8BC1\u6750\u6599",required:""},{default:e(()=>[l(Z,{class:"upload-demo",multiple:"",disabled:""},{tip:e(()=>a[97]||(a[97]=[b("div",{class:"el-upload__tip"}," \u652F\u6301PDF\u6587\u4EF6 ",-1)])),default:e(()=>[l(k,{plain:"",type:"primary",disabled:""},{default:e(()=>a[96]||(a[96]=[s("\u9009\u62E9\u6587\u4EF6")])),_:1})]),_:1})]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u9879\u76EE\u603B\u6295\u8D44\u6D4B\u7B97\u660E\u7EC6",required:""},{default:e(()=>[l(Z,{class:"upload-demo",multiple:"",disabled:""},{tip:e(()=>a[99]||(a[99]=[b("div",{class:"el-upload__tip"}," \u652F\u6301PDF\u6587\u4EF6 ",-1)])),default:e(()=>[l(k,{plain:"",type:"primary",disabled:""},{default:e(()=>a[98]||(a[98]=[s("\u9009\u62E9\u6587\u4EF6")])),_:1})]),_:1})]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u7533\u62A5\u5355\u4F4D\u4E3B\u8981\u804C\u8D23\uFF08\u5355\u4F4D\u4E09\u5B9A\u65B9\u6848\uFF09",required:""},{default:e(()=>[l(Z,{class:"upload-demo",multiple:"",disabled:""},{tip:e(()=>a[101]||(a[101]=[b("div",{class:"el-upload__tip"}," \u652F\u6301PDF\u6587\u4EF6 ",-1)])),default:e(()=>[l(k,{plain:"",type:"primary",disabled:""},{default:e(()=>a[100]||(a[100]=[s("\u9009\u62E9\u6587\u4EF6")])),_:1})]),_:1})]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u9879\u76EE\u7533\u62A5\u4E66",required:""},{default:e(()=>[l(Z,{class:"upload-demo",multiple:"",disabled:""},{tip:e(()=>a[103]||(a[103]=[b("div",{class:"el-upload__tip"}," \u652F\u6301PDF\u6587\u4EF6 ",-1)])),default:e(()=>[l(k,{plain:"",type:"primary",disabled:""},{default:e(()=>a[102]||(a[102]=[s("\u9009\u62E9\u6587\u4EF6")])),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"]),ml.value==="330500"?(m(),y(S,{key:0,modelValue:Ul.value,"onUpdate:modelValue":a[54]||(a[54]=u=>Ul.value=u),class:"marginTop"},{default:e(()=>[l(T,{name:"1"},{title:e(()=>[a[104]||(a[104]=b("div",{class:"collapse-title"}," \u5BA1\u67E5\u6E05\u5355 ",-1)),b("div",{class:"elSwitch",onClick:a[53]||(a[53]=Y(()=>{},["stop"]))},[l(X,{modelValue:el.value,"onUpdate:modelValue":a[52]||(a[52]=u=>el.value=u)},null,8,["modelValue"])])]),default:e(()=>[l(R,{ref_key:"reviewInfoFormRef",ref:Nl,"label-position":"right","label-width":"90px","label-suffix":":",model:j.value,"scroll-to-error":""},{default:e(()=>[b("div",null,[(m(!0),N(F,null,$(j.value.reviewChecklist,(u,v)=>(m(),N("div",{key:v,class:"relative ml-16 pb-16 mb-16",style:{border:"1px solid #eee"}},[l(C,{class:"mt-16"},{default:e(()=>[l(t,{span:12},{default:e(()=>[l(o,{label:"\u6807\u9898",prop:`reviewChecklist[${v}].title`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:e(()=>[l(p,{modelValue:u.title,"onUpdate:modelValue":i=>u.title=i},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024)]),_:2},1024),b("div",we,[(m(!0),N(F,null,$(u.modules,(i,E)=>{var h,c;return m(),N("div",{key:E,class:"relative"},[l(C,null,{default:e(()=>[l(t,{span:12},{default:e(()=>[l(o,{label:"\u5B50\u6807\u9898",prop:`reviewChecklist[${v}].modules[${E}].subTitle`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:e(()=>[l(p,{modelValue:i.subTitle,"onUpdate:modelValue":x=>i.subTitle=x},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024)]),_:2},1024),l(C,null,{default:e(()=>[l(t,{span:12},{default:e(()=>[l(o,{label:"\u5BA1\u67E5\u5185\u5BB9",prop:`reviewChecklist[${v}].modules[${E}].content`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:e(()=>[l(p,{modelValue:i.content,"onUpdate:modelValue":x=>i.content=x,type:"textarea"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024),l(t,{span:12},{default:e(()=>[l(o,{label:"\u5426\u51B3\u60C5\u5F62",prop:`reviewChecklist[${v}].modules[${E}].rejectionSituation`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:e(()=>[l(p,{modelValue:i.rejectionSituation,"onUpdate:modelValue":x=>i.rejectionSituation=x,type:"textarea"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024),l(t,{span:6},{default:e(()=>[l(o,{label:"\u54CD\u5E94\u60C5\u51B5"},{default:e(()=>[l(p,{modelValue:i.resCondition,"onUpdate:modelValue":x=>i.resCondition=x,disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),l(t,{span:6},{default:e(()=>[l(o,{label:"\u5BF9\u5E94\u9875\u7801"},{default:e(()=>[l(p,{modelValue:i.corrPageNum,"onUpdate:modelValue":x=>i.corrPageNum=x,disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),l(t,{span:12},{default:e(()=>[l(o,{label:"\u5BA1\u6838\u610F\u89C1"},{default:e(()=>[l(p,{modelValue:i.reviewComments,"onUpdate:modelValue":x=>i.reviewComments=x,type:"textarea",disabled:""},null,8,["modelValue","onUpdate:modelValue"]),l(U,{modelValue:i.reviewResult,"onUpdate:modelValue":x=>i.reviewResult=x},{default:e(()=>[l(_,{label:1},{default:e(()=>a[105]||(a[105]=[s("\u901A\u8FC7")])),_:1}),l(_,{label:2},{default:e(()=>a[106]||(a[106]=[s("\u4E0D\u901A\u8FC7")])),_:1}),l(_,{label:3},{default:e(()=>a[107]||(a[107]=[s("\u4E00\u7968\u5426\u51B3")])),_:1})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024)]),_:2},1024),E<((h=u.modules)==null?void 0:h.length)-1?(m(),y(oe,{key:0})):M("",!0),((c=u.modules)==null?void 0:c.length)>1?(m(),y(k,{key:1,icon:"Delete",type:"danger",link:"",class:"absolute right-4 top-1",onClick:x=>ue(v,E)},{default:e(()=>a[108]||(a[108]=[s("\u5220\u9664")])),_:2},1032,["onClick"])):M("",!0)])}),128)),l(k,{icon:"Plus",type:"primary",plain:"",onClick:i=>ae(v)},{default:e(()=>a[109]||(a[109]=[s("\u589E\u52A0\u5B50\u6A21\u5757")])),_:2},1032,["onClick"])]),l(k,{icon:"Delete",type:"danger",link:"",class:"absolute right-4 top-4",onClick:i=>te(v)},{default:e(()=>a[110]||(a[110]=[s("\u5220\u9664")])),_:2},1032,["onClick"])]))),128))]),b("div",ke,[l(k,{icon:"Plus",type:"primary",plain:"",class:"w-full",onClick:ee},{default:e(()=>a[111]||(a[111]=[s("\u589E\u52A0\u6A21\u5757")])),_:1})])]),_:1},8,["model"])]),_:1})]),_:1},8,["modelValue"])):M("",!0),l(S,{modelValue:kl.value,"onUpdate:modelValue":a[57]||(a[57]=u=>kl.value=u),class:"marginTop"},{default:e(()=>[l(T,{name:"1"},{title:e(()=>[a[112]||(a[112]=b("div",{class:"collapse-title"}," \u5907\u6CE8\uFF08\u5B57\u6BB5\u4E0D\u53EF\u4FEE\u6539\uFF0C\u53EF\u9009\u62E9\u662F\u5426\u542F\u7528\u8BE5\u6A21\u5757\uFF09 ",-1)),b("div",{class:"elSwitch",onClick:a[56]||(a[56]=Y(()=>{},["stop"]))},[l(X,{modelValue:W.value,"onUpdate:modelValue":a[55]||(a[55]=u=>W.value=u)},null,8,["modelValue"])])]),default:e(()=>[l(R,{style:{"padding-left":"16px"},"label-position":"right","label-width":"100px","label-suffix":":"},{default:e(()=>[l(o,{label:"\u5907\u6CE8",prop:"notes"},{default:e(()=>[l(p,{autosize:{minRows:2,maxRows:4},maxlength:"2000",type:"textarea",placeholder:"\u8BF7\u586B\u5199"})]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"]),V.value&&V.value.length>0?(m(),N("div",Ue,[(m(!0),N(F,null,$(V.value,(u,v)=>(m(),y(S,{key:v,modelValue:J.value,"onUpdate:modelValue":a[59]||(a[59]=i=>J.value=i),class:"marginTop"},{default:e(()=>[l(T,{name:u.id},{title:e(()=>[b("div",Ce,[b("div",{class:"flexItem formClass",onClick:a[58]||(a[58]=Y(()=>{},["stop"]))},[l(R,{ref_for:!0,ref_key:"moduleFormRef",ref:rl,model:u},{default:e(()=>[l(o,{rules:{required:!0,message:"\u8BF7\u8F93\u5165",trigger:"blur"},prop:"moduleName"},{default:e(()=>[l(p,{modelValue:V.value[v].moduleName,"onUpdate:modelValue":i=>V.value[v].moduleName=i,style:{width:"400px"},maxlength:50,placeholder:"\u8BF7\u586B\u5199\u6A21\u5757\u540D\u79F0\u3002\u4F8B\u5982\u5E02\u7EA7\u6709\u8FDB\u5EA6\u8BA1\u5212\u6A21\u5757\uFF0C\u53EF\u5982\u4E0B\u5B9A\u4E49"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),a[113]||(a[113]=s(" \xA0\xA0 ")),l(o,{rules:{required:!0,message:"\u8BF7\u8F93\u5165",trigger:"blur"},prop:"sort"},{default:e(()=>[l(g,{modelValue:V.value[v].sort,"onUpdate:modelValue":i=>V.value[v].sort=i,placeholder:"\u8BF7\u586B\u5199",min:1},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1032,["model"])]),b("a",{class:"delClass",onClick:Y(i=>Wl(v),["stop"])},"\u5220\u9664\u6A21\u5757",8,xe)])]),default:e(()=>[l(R,{style:{"padding-left":"16px"},model:u.formList,"label-position":"right","label-width":u.formList&&u.formList.length>0?"100px":"0px","label-suffix":":"},{default:e(()=>[l(C,null,{default:e(()=>[(m(!0),N(F,null,$(u.formList,(i,E)=>(m(),y(t,{key:E,span:12},{default:e(()=>{var h;return[l(o,{label:i.name,prop:i.name,rules:{required:(h=i.props)==null?void 0:h.required}},{default:e(()=>{var c,x,ql,Rl;return[((c=i.props)==null?void 0:c.type)==="\u8F93\u5165"?(m(),y(p,{key:0,disabled:"",placeholder:"\u8BF7\u8F93\u5165"})):((x=i.props)==null?void 0:x.type)==="\u6570\u503C\u8F93\u5165"?(m(),y(g,{key:1,disabled:"",style:{width:"100%"},placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1})):((ql=i.props)==null?void 0:ql.type)==="\u5355\u9009"?(m(),y(U,{key:2,disabled:""},{default:e(()=>{var tl;return[(m(!0),N(F,null,$((tl=i.props)==null?void 0:tl.options,(ol,Ml)=>(m(),y(_,{key:Ml,label:Ml},{default:e(()=>[s(dl(ol.name),1)]),_:2},1032,["label"]))),128))]}),_:2},1024)):((Rl=i.props)==null?void 0:Rl.type)==="\u591A\u9009"?(m(),y(Ll,{key:3,disabled:""},{default:e(()=>[(m(!0),N(F,null,$(i.props.options,(tl,ol)=>(m(),y(ul,{key:ol,label:ol},{default:e(()=>[s(dl(tl.name),1)]),_:2},1032,["label"]))),128))]),_:2},1024)):(m(),y(k,{key:4,disabled:""},{default:e(()=>a[114]||(a[114]=[s("\u6587\u4EF6\u4E0A\u4F20")])),_:1}))]}),_:2},1032,["label","prop","rules"])]}),_:2},1024))),128)),l(t,{span:12},{default:e(()=>[l(o,{class:"btnClass"},{default:e(()=>[l(k,{class:"w-full",type:"primary",plain:"",icon:"Plus",onClick:i=>Gl(v)},{default:e(()=>a[115]||(a[115]=[s("\u589E\u52A0\u5B57\u6BB5")])),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["model","label-width"])]),_:2},1032,["name"])]),_:2},1032,["modelValue"]))),128))])):M("",!0),l(k,{plain:"",type:"primary",icon:"Plus",class:"w-full mt-16",onClick:Bl},{default:e(()=>a[116]||(a[116]=[s("\u589E\u52A0\u6A21\u5757")])),_:1})]),_:1},8,["span"])]),_:1})]),b("div",Ne,[l(k,{type:"primary",loading:ll.value,onClick:Hl},{default:e(()=>a[117]||(a[117]=[s(" \u4FDD\u5B58\u914D\u7F6E ")])),_:1},8,["loading"])]),l(de,{title:"\u5B57\u6BB5\u5C5E\u6027","model-value":z.value,onClose:a[70]||(a[70]=u=>z.value=!1)},{footer:e(()=>[l(k,{type:"primary",onClick:a[68]||(a[68]=u=>zl(Cl.value))},{default:e(()=>a[125]||(a[125]=[s(" \u63D0\u4EA4 ")])),_:1}),l(k,{onClick:a[69]||(a[69]=u=>z.value=!1)},{default:e(()=>a[126]||(a[126]=[s(" \u5173\u95ED ")])),_:1})]),default:e(()=>[l(R,{ref_key:"addFormRef",ref:Cl,model:d.value,rules:Jl,"label-width":"90px","label-suffix":":"},{default:e(()=>[l(C,{gutter:20},{default:e(()=>[l(t,{span:12},{default:e(()=>[l(o,{label:"\u5B57\u6BB5\u540D\u79F0",prop:"formName"},{default:e(()=>[l(p,{modelValue:d.value.formName,"onUpdate:modelValue":a[60]||(a[60]=u=>d.value.formName=u),placeholder:"\u8BF7\u8F93\u5165",maxlength:50},null,8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u5B57\u6BB5\u7C7B\u578B",prop:"type"},{default:e(()=>[l(al,{modelValue:d.value.type,"onUpdate:modelValue":a[61]||(a[61]=u=>d.value.type=u),style:{width:"100%"},placeholder:"\u8BF7\u9009\u62E9"},{default:e(()=>[l(I,{value:"\u8F93\u5165"},{default:e(()=>a[118]||(a[118]=[s("\u8F93\u5165")])),_:1}),l(I,{value:"\u6570\u503C\u8F93\u5165"},{default:e(()=>a[119]||(a[119]=[s("\u6570\u503C\u8F93\u5165")])),_:1}),l(I,{value:"\u5355\u9009"},{default:e(()=>a[120]||(a[120]=[s("\u5355\u9009")])),_:1}),l(I,{value:"\u591A\u9009"},{default:e(()=>a[121]||(a[121]=[s("\u591A\u9009")])),_:1}),l(I,{value:"\u6587\u4EF6\u4E0A\u4F20"},{default:e(()=>a[122]||(a[122]=[s("\u6587\u4EF6\u4E0A\u4F20")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),d.value.type==="\u8F93\u5165"||!d.value.type?(m(),y(t,{key:0,span:12},{default:e(()=>[l(o,{label:"\u6700\u5927\u957F\u5EA6",prop:"maxLength"},{default:e(()=>[l(g,{modelValue:d.value.maxLength,"onUpdate:modelValue":a[62]||(a[62]=u=>d.value.maxLength=u),style:{width:"100%"},placeholder:"\u8BF7\u586B\u5199",min:0,max:1e4,controls:!1},null,8,["modelValue"])]),_:1})]),_:1})):M("",!0),d.value.type==="\u591A\u9009"||d.value.type==="\u5355\u9009"?(m(),y(t,{key:1,span:24},{default:e(()=>[(m(!0),N(F,null,$(d.value.optionList,(u,v)=>(m(),y(o,{key:u,label:"\u9009\u9879"+(v+1),prop:`optionList[${v}].name`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165",trigger:"blur"},{validator:Yl}]},{default:e(()=>[l(C,{style:{width:"86%"},gutter:10},{default:e(()=>[l(t,{span:12},{default:e(()=>[l(p,{modelValue:d.value.optionList[v].name,"onUpdate:modelValue":i=>d.value.optionList[v].name=i,placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),d.value.optionList.length!==1?(m(),y(t,{key:0,span:12},{default:e(()=>[l(k,{type:"primary",onClick:Kl},{default:e(()=>a[123]||(a[123]=[s(" \u5220\u9664\u9009\u9879 ")])),_:1})]),_:1})):M("",!0)]),_:2},1024)]),_:2},1032,["label","prop","rules"]))),128))]),_:1})):M("",!0),d.value.type==="\u591A\u9009"||d.value.type==="\u5355\u9009"?(m(),y(t,{key:2,span:24},{default:e(()=>[l(o,null,{default:e(()=>[l(k,{type:"primary",onClick:Ql},{default:e(()=>a[124]||(a[124]=[s(" \u589E\u52A0\u9009\u9879 ")])),_:1})]),_:1})]),_:1})):M("",!0),d.value.type==="\u6570\u503C\u8F93\u5165"?(m(),y(t,{key:3,span:12},{default:e(()=>[l(o,{label:"\u6700\u5C0F\u6570\u503C",prop:"minNumber"},{default:e(()=>[l(g,{modelValue:d.value.minNumber,"onUpdate:modelValue":a[63]||(a[63]=u=>d.value.minNumber=u),style:{width:"100%"},placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1},null,8,["modelValue"])]),_:1})]),_:1})):M("",!0),d.value.type==="\u6570\u503C\u8F93\u5165"?(m(),y(t,{key:4,span:12},{default:e(()=>[l(o,{label:"\u6700\u5927\u6570\u503C",prop:"maxNumber"},{default:e(()=>[l(g,{modelValue:d.value.maxNumber,"onUpdate:modelValue":a[64]||(a[64]=u=>d.value.maxNumber=u),style:{width:"100%"},placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1},null,8,["modelValue"])]),_:1})]),_:1})):M("",!0),d.value.type==="\u6587\u4EF6\u4E0A\u4F20"?(m(),y(t,{key:5,span:12},{default:e(()=>[l(o,{label:"\u6587\u4EF6\u4E2A\u6570",prop:"fileNumber"},{default:e(()=>[l(g,{modelValue:d.value.fileNumber,"onUpdate:modelValue":a[65]||(a[65]=u=>d.value.fileNumber=u),style:{width:"100%"},placeholder:"\u8BF7\u586B\u5199",min:0,max:10,controls:!1},null,8,["modelValue"])]),_:1})]),_:1})):M("",!0),l(t,{span:12},{default:e(()=>[l(o,{label:"\u662F\u5426\u5FC5\u586B",prop:"isRequired"},{default:e(()=>[l(al,{modelValue:d.value.isRequired,"onUpdate:modelValue":a[66]||(a[66]=u=>d.value.isRequired=u),style:{width:"100%"},placeholder:"\u8BF7\u9009\u62E9"},{default:e(()=>[l(I,{label:"\u662F",value:!0}),l(I,{label:"\u5426",value:!1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(t,{span:12},{default:e(()=>[l(o,{label:"\u6392\u5E8F",prop:"formSort"},{default:e(()=>[l(g,{modelValue:d.value.formSort,"onUpdate:modelValue":a[67]||(a[67]=u=>d.value.formSort=u),style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165",min:0,max:100,controls:!1},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])],64)}}}),Te=ne(Le,[["__scopeId","data-v-c57d83c1"]]);export{Te as default};