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