sinosoft-common-form 1.2.2 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- (function(e,B){typeof exports=="object"&&typeof module<"u"?module.exports=B(require("vue")):typeof define=="function"&&define.amd?define(["vue"],B):(e=typeof globalThis<"u"?globalThis:e||self,e.Form=B(e.Vue))})(this,function(e){"use strict";const B=_=>(e.pushScopeId("data-v-37860b7d"),_=_(),e.popScopeId(),_),L={key:0},Y={class:"header-title"},T={class:"title-content"},M={key:0,class:"custom-required"},P={key:0,class:"custom-required"},j=["src"],O={key:0,class:"custom-required"},R={class:"lable"},A={class:"lable_note"},G={key:0,class:"custom-required"},J={key:0,class:"custom-required"},Q={key:0,class:"custom-required"},W={key:0,class:"custom-required"},X={key:0,class:"custom-required"},Z={key:0,class:"custom-required"},v={key:0,class:"custom-required"},ee={key:0,class:"custom-required"},le={key:0,class:"custom-required"},ae={key:0,class:"custom-required"},oe={key:0,class:"custom-required"},re=B(()=>e.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"20px 0"}},null,-1)),de={key:0,class:"custom-required"},te={key:1},ne={class:"header-title"},se={class:"title-content"},ce={key:0,class:"custom-required"},pe={key:0,class:"custom-required"},ie=["src"],he={key:0,class:"custom-required"},be={class:"lable"},ye={class:"lable_note"},ke={key:0,class:"custom-required"},fe={key:0,class:"custom-required"},Ve={key:0,class:"custom-required"},we={key:0,class:"custom-required"},_e={key:0,class:"custom-required"},Be={key:0,class:"custom-required"},Ce={key:0,class:"custom-required"},xe={key:0,class:"custom-required"},ge={key:0,class:"custom-required"},Ne={key:0,class:"custom-required"},De={key:0,class:"custom-required"},Ee=B(()=>e.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"20px 0"}},null,-1)),ue={key:0,class:"custom-required"},Se={key:2},me={class:"header-title"},qe={class:"title-content"},Ue={key:0,class:"custom-required"},Ke={key:0,class:"custom-required"},He=["src"],Fe={key:0,class:"custom-required"},Ie={class:"lable"},ze={class:"lable_note"},$e={key:0,class:"custom-required"},Le={key:0,class:"custom-required"},Ye={key:0,class:"custom-required"},Te={key:0,class:"custom-required"},Me={key:0,class:"custom-required"},Pe={key:0,class:"custom-required"},je={key:0,class:"custom-required"},Oe={key:0,class:"custom-required"},Re={key:0,class:"custom-required"},Ae={key:0,class:"custom-required"},Ge={key:0,class:"custom-required"},Je=B(()=>e.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"20px 0"}},null,-1)),Qe={key:0,class:"custom-required"},We={key:3},Xe={class:"header-title"},Ze={class:"title-content"},ve={key:0,class:"custom-required"},el={key:0,class:"custom-required"},ll=["src"],al={key:0,class:"custom-required"},ol={class:"lable"},rl={class:"lable_note"},dl={key:0,class:"custom-required"},tl={key:0,class:"custom-required"},nl={key:0,class:"custom-required"},sl={key:0,class:"custom-required"},cl={key:0,class:"custom-required"},pl={key:0,class:"custom-required"},il={key:0,class:"custom-required"},hl={key:0,class:"custom-required"},bl={key:0,class:"custom-required"},yl={key:0,class:"custom-required"},kl={key:0,class:"custom-required"},fl={key:0,class:"custom-required"},Vl=B(()=>e.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"20px 0"}},null,-1)),wl={key:0,class:"custom-required"},_l=e.defineComponent({__name:"Index",props:{fieldList:{},model:{},options:{}},emits:["submit","reset","cancel"],setup(_,{expose:u,emit:C}){const w=_,o=e.ref({}),E=e.ref(),s=e.computed(()=>Object.assign([],w==null?void 0:w.options)),S=(c,y)=>{C("selectChange",c,y)},k=(c,y)=>{C("radioChange",c,y)},m=(c,y)=>{C("checkChange",c,y)};u({formRef:E}),(()=>{w.fieldList.map(c=>{const y=c.type==="checkbox"?[]:"";if(c.field&&typeof c.field=="object")for(let d of Object.keys(c.field))w.model?o.value=w.model:o.value[c.field[d]]=c.value||y;w.model?o.value=w.model:o.value[c.field]=c.value||y,c.type==="address"&&c.field.objectName&&(o.value[c.field.objectName][c.field]=c.value)})})(),console.log("pppp",w.model,o.value);const z=(c,y,d)=>{E.value&&(y?E.value.validate(i=>{if(i)C(d,o.value,c);else return!1}):d==="reset"?E.value.resetFields():C(d,o.value,c))},h=c=>{c&&z("",E.value,!0)};return(c,y)=>{const d=e.resolveComponent("el-form-item"),i=e.resolveComponent("el-input"),f=e.resolveComponent("el-radio"),V=e.resolveComponent("el-radio-group"),q=e.resolveComponent("el-checkbox"),U=e.resolveComponent("el-checkbox-group"),x=e.resolveComponent("el-option"),g=e.resolveComponent("el-select"),N=e.resolveComponent("el-date-picker"),K=e.resolveComponent("el-col"),H=e.resolveComponent("el-row"),Bl=e.resolveComponent("sinosoft-common-button"),Cl=e.resolveComponent("el-form");return e.openBlock(),e.createBlock(Cl,e.mergeProps({"hide-required-asterisk":"",onSubmit:y[0]||(y[0]=e.withModifiers(()=>{},["prevent"])),model:o.value},s.value,{"label-position":s.value.labelPosition,ref_key:"formRef",ref:E}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.fieldList,(b,$)=>(e.openBlock(),e.createElementBlock("div",{key:$},[b.colNum===4?(e.openBlock(),e.createElementBlock("div",L,[e.createVNode(H,{gutter:10},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.formItemList,(l,D)=>e.withDirectives((e.openBlock(),e.createBlock(K,{xs:8,sm:6,md:4,lg:3,xl:1,key:D},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(l.style)},[l.type==="title"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",Y,[e.createElementVNode("span",T,e.toDisplayString(l.title),1)])]),_:2},1536)),[[e.vShow,!l.isHide]]):l.type==="name"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:1,label:l.label,disabled:l.disabled||s.value.isDisabled,class:"container_name",rules:l.rules.nameEnFamily},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",M,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(d,{rules:l.rules.nameEnFamily,prop:[l.field.nameEnFamily],class:"item-name"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameEnFamily],"onUpdate:modelValue":a=>o.value[l.field.nameEnFamily]=a,"show-word-limit":"",readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEnFamily,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(d,{rules:l.rules.nameEn,prop:[l.field.nameEn],class:"item-name-right"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameEn],"onUpdate:modelValue":a=>o.value[l.field.nameEn]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEn,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(d,{rules:l.rules.nameChFamily,prop:[l.field.nameChFamily],class:"item-name"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameChFamily],"onUpdate:modelValue":a=>o.value[l.field.nameChFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameChFamily,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(d,{rules:l.rules.nameCh,prop:[l.field.nameCh],class:"item-name-right"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameCh],"onUpdate:modelValue":a=>o.value[l.field.nameCh]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameCh,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])]),_:2},1032,["label","disabled","rules"])),[[e.vShow,!l.isHide]]):l.type==="gender"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:2,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",P,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>{var t,n;return e.openBlock(),e.createBlock(f,{label:r[((t=l.options)==null?void 0:t.valueKey)||"code"],size:"large",key:r[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>[e.createElementVNode("img",{src:r.code==="M"?"http://192.168.5.200:9000/test/sex_img_M.png":"http://192.168.5.200:9000/test/sex_img_F.png",style:{width:"44px",height:"44px","margin-bottom":"-15px","margin-left":"4px"},alt:""},null,8,j)]),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="radio"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:3,label:l.label,rules:l.rules,prop:[l.field],class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",O,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>{var t,n;return e.openBlock(),e.createBlock(f,{size:"large",label:r[((t=l.options)==null?void 0:t.valueKey)||"code"],key:r[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var p;return[e.createTextVNode(e.toDisplayString(r[((p=l.options)==null?void 0:p.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[e.vShow,!l.isHide]]):l.type==="radioNote"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:4,label:l.label,rules:l.rules,prop:[l.field],class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("span",R,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",A,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",G,"*")):e.createCommentVNode("",!0)]),e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>{var t,n;return e.openBlock(),e.createBlock(f,{size:"large",label:r[((t=l.options)==null?void 0:t.valueKey)||"code"],key:r[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var p;return[e.createTextVNode(e.toDisplayString(r[((p=l.options)==null?void 0:p.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[e.vShow,!l.isHide]]):l.type==="checkbox"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:5,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",J,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(U,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,onChange:a=>m(a,l.field),disabled:l.disabled||s.value.isDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>{var t,n;return e.openBlock(),e.createBlock(q,{key:r[((t=l.options)==null?void 0:t.valueKey)||"code"],label:r[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var p;return[e.createTextVNode(e.toDisplayString(r[((p=l.options)==null?void 0:p.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="select"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:6,label:l.label,rules:l.rules,disabled:l.disabled||s.value.isDisabled,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Q,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(g,{onChange:a=>S(a,l.field),modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,placeholder:l.placeholder,clearable:l.clearable},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>{var t,n,p;return e.openBlock(),e.createBlock(x,{key:r[((t=l.options)==null?void 0:t.valueKey)||"code"],label:r[((n=l.options)==null?void 0:n.labelkey)||"name"],value:r[((p=l.options)==null?void 0:p.valueKey)||"code"]},null,8,["label","value"])}),128))]}),_:2},1032,["onChange","modelValue","onUpdate:modelValue","disabled","placeholder","clearable"]),e.createElementVNode("div",{class:"item_tips_blow",style:e.normalizeStyle(l.tipsBlowStyle)},e.toDisplayString(l.tipsBlow),5)]),_:2},1032,["label","rules","disabled","prop"])),[[e.vShow,!l.isHide]]):l.type==="date"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:7,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",W,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,readonly:l.readonly,type:l.type,placeholder:l.placeholder||l.label,"value-format":l.format||"YYYY-MM-DD HH:mm:ss"},null,8,["modelValue","onUpdate:modelValue","disabled","readonly","type","placeholder","value-format"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="daterange"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:8,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",X,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,type:"daterange","range-separator":"To","start-placeholder":l.startPlaceholder,"end-placeholder":l.endPlaceholder,"value-format":l.format||"YYYY-MM-DD HH:mm:ss",size:"large"},null,8,["modelValue","onUpdate:modelValue","start-placeholder","end-placeholder","value-format"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem1"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:9,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Z,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,"slotItem1",{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem2"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:10,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",v,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,"slotItem2",{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem3"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:11,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",ee,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,"slotItem3",{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem4"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:12,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",le,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,"slotItem4",{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem5"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:13,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",ae,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,"slotItem5",{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="phone"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:14,label:l.label,rules:l.rules.phoneNumber,prop:[l.field.phoneNumber]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",oe,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.phoneNumber],"onUpdate:modelValue":a=>o.value[l.field.phoneNumber]=a,disabled:l.disabled||s.value.isDisabled,placeholder:l.placeholder||"请选择",clearable:l.clearable},{prepend:e.withCtx(()=>{var a;return[e.createVNode(g,{disabled:l.disabled||s.value.isDisabled,modelValue:o.value[l.field.areaCode],"onUpdate:modelValue":r=>o.value[l.field.areaCode]=r,placeholder:((a=l.options)==null?void 0:a.placeholder)||"请选择",style:{width:"115px"}},{default:e.withCtx(()=>{var r;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((r=l.options)==null?void 0:r.data,(t,n)=>(e.openBlock(),e.createBlock(x,{label:t.name,value:t.code,key:n},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder"])]}),_:2},1032,["maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","clearable"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="line"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:15,label:l.label},{default:e.withCtx(()=>[re]),_:2},1032,["label"])),[[e.vShow,!l.isHide]]):e.withDirectives((e.openBlock(),e.createBlock(d,{key:16,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",de,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholder||l.label,disabled:l.disabled||s.value.isDisabled,showPassword:l.showPassword,clearable:l.clearable,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.field),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","showPassword","clearable","onKeyup"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]])],4)]),_:2},1024)),[[e.vShow,!l.isHide]])),128))]),_:2},1024)])):b.colNum===3?(e.openBlock(),e.createElementBlock("div",te,[e.createVNode(H,{gutter:20},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.formItemList,(l,D)=>e.withDirectives((e.openBlock(),e.createBlock(K,{xs:24,sm:8,md:8,lg:8,xl:8,key:D},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(l.style)},[l.type==="title"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",ne,[e.createElementVNode("span",se,e.toDisplayString(l.title),1)])]),_:2},1536)),[[e.vShow,!l.isHide]]):l.type==="name"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:1,label:l.label,disabled:l.disabled||s.value.isDisabled,class:"container_name",rules:l.rules.nameEnFamily},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",ce,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(d,{rules:l.rules.nameEnFamily,prop:[l.field.nameEnFamily],class:"item-name"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameEnFamily],"onUpdate:modelValue":a=>o.value[l.field.nameEnFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEnFamily,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(d,{rules:l.rules.nameEn,prop:[l.field.nameEn],class:"item-name-right"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameEn],"onUpdate:modelValue":a=>o.value[l.field.nameEn]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEn,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(d,{rules:l.rules.nameChFamily,prop:[l.field.nameChFamily],class:"item-name"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameChFamily],"onUpdate:modelValue":a=>o.value[l.field.nameChFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameChFamily,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(d,{rules:l.rules.nameCh,prop:[l.field.nameCh],class:"item-name-right"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameCh],"onUpdate:modelValue":a=>o.value[l.field.nameCh]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameCh,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])]),_:2},1032,["label","disabled","rules"])),[[e.vShow,!l.isHide]]):l.type==="gender"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:2,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",pe,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>{var t,n;return e.openBlock(),e.createBlock(f,{label:r[((t=l.options)==null?void 0:t.valueKey)||"code"],size:"large",key:r[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>[e.createElementVNode("img",{src:r.code==="M"?"http://192.168.5.200:9000/test/sex_img_M.png":"http://192.168.5.200:9000/test/sex_img_F.png",style:{width:"44px",height:"44px","margin-bottom":"-15px","margin-left":"4px"},alt:""},null,8,ie)]),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="radio"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:3,label:l.label,rules:l.rules,prop:[l.field],class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",he,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>{var t,n;return e.openBlock(),e.createBlock(f,{size:"large",label:r[((t=l.options)==null?void 0:t.valueKey)||"code"],key:r[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var p;return[e.createTextVNode(e.toDisplayString(r[((p=l.options)==null?void 0:p.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[e.vShow,!l.isHide]]):l.type==="radioNote"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:4,label:l.label,rules:l.rules,prop:[l.field],class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("span",be,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",ye,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",ke,"*")):e.createCommentVNode("",!0)]),e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>{var t,n;return e.openBlock(),e.createBlock(f,{size:"large",label:r[((t=l.options)==null?void 0:t.valueKey)||"code"],key:r[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var p;return[e.createTextVNode(e.toDisplayString(r[((p=l.options)==null?void 0:p.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[e.vShow,!l.isHide]]):l.type==="checkbox"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:5,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",fe,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(U,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,onChange:a=>m(a,l.field),disabled:l.disabled||s.value.isDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>{var t,n;return e.openBlock(),e.createBlock(q,{key:r[((t=l.options)==null?void 0:t.valueKey)||"code"],label:r[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var p;return[e.createTextVNode(e.toDisplayString(r[((p=l.options)==null?void 0:p.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="select"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:6,label:l.label,rules:l.rules,disabled:l.disabled||s.value.isDisabled,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Ve,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(g,{onChange:a=>S(a,l.field),modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,placeholder:l.placeholder,clearable:l.clearable},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>{var t,n,p;return e.openBlock(),e.createBlock(x,{key:r[((t=l.options)==null?void 0:t.valueKey)||"code"],label:r[((n=l.options)==null?void 0:n.labelkey)||"name"],value:r[((p=l.options)==null?void 0:p.valueKey)||"code"]},null,8,["label","value"])}),128))]}),_:2},1032,["onChange","modelValue","onUpdate:modelValue","disabled","placeholder","clearable"]),e.createElementVNode("div",{class:"item_tips_blow",style:e.normalizeStyle(l.tipsBlowStyle)},e.toDisplayString(l.tipsBlow),5)]),_:2},1032,["label","rules","disabled","prop"])),[[e.vShow,!l.isHide]]):l.type==="date"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:7,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",we,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,readonly:l.readonly,type:l.type,placeholder:l.placeholder||l.label,"value-format":l.format||"YYYY-MM-DD HH:mm:ss"},null,8,["modelValue","onUpdate:modelValue","disabled","readonly","type","placeholder","value-format"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="daterange"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:8,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",_e,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,type:"daterange","range-separator":"To","start-placeholder":l.startPlaceholder,"end-placeholder":l.endPlaceholder,"value-format":l.format||"YYYY-MM-DD HH:mm:ss",size:"large"},null,8,["modelValue","onUpdate:modelValue","start-placeholder","end-placeholder","value-format"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem1"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:9,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Be,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,"slotItem1",{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem2"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:10,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Ce,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,"slotItem2",{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem3"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:11,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",xe,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,"slotItem3",{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem4"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:12,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",ge,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,"slotItem4",{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem5"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:13,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Ne,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,"slotItem5",{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="phone"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:14,label:l.label,rules:l.rules.phoneNumber,prop:[l.field.phoneNumber]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",De,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.phoneNumber],"onUpdate:modelValue":a=>o.value[l.field.phoneNumber]=a,disabled:l.disabled||s.value.isDisabled,placeholder:l.placeholder||"请选择",clearable:l.clearable},{prepend:e.withCtx(()=>{var a;return[e.createVNode(g,{disabled:l.disabled||s.value.isDisabled,modelValue:o.value[l.field.areaCode],"onUpdate:modelValue":r=>o.value[l.field.areaCode]=r,placeholder:((a=l.options)==null?void 0:a.placeholder)||"请选择",style:{width:"115px"}},{default:e.withCtx(()=>{var r;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((r=l.options)==null?void 0:r.data,(t,n)=>(e.openBlock(),e.createBlock(x,{label:t.name,value:t.code,key:n},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder"])]}),_:2},1032,["maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","clearable"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="line"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:15,label:l.label},{default:e.withCtx(()=>[Ee]),_:2},1032,["label"])),[[e.vShow,!l.isHide]]):e.withDirectives((e.openBlock(),e.createBlock(d,{key:16,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",ue,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholder||l.label,disabled:l.disabled||s.value.isDisabled,showPassword:l.showPassword,clearable:l.clearable,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.field),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","showPassword","clearable","onKeyup"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]])],4)]),_:2},1024)),[[e.vShow,!l.isHide]])),128))]),_:2},1024)])):b.colNum===2?(e.openBlock(),e.createElementBlock("div",Se,[e.createVNode(H,{gutter:20},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.formItemList,(l,D)=>e.withDirectives((e.openBlock(),e.createBlock(K,{xs:24,sm:12,md:12,lg:12,xl:12,key:D},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(l.style)},[l.type==="title"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",me,[e.createElementVNode("span",qe,e.toDisplayString(l.title),1)])]),_:2},1536)),[[e.vShow,!l.isHide]]):l.type==="name"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:1,label:l.label,disabled:l.disabled||s.value.isDisabled,class:"container_name",rules:l.rules.nameEnFamily},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Ue,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(d,{rules:l.rules.nameEnFamily,prop:[l.field.nameEnFamily],class:"item-name"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameEnFamily],"onUpdate:modelValue":a=>o.value[l.field.nameEnFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEnFamily,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(d,{rules:l.rules.nameEn,prop:[l.field.nameEn],class:"item-name-right"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameEn],"onUpdate:modelValue":a=>o.value[l.field.nameEn]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEn,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(d,{rules:l.rules.nameChFamily,prop:[l.field.nameChFamily],class:"item-name"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameChFamily],"onUpdate:modelValue":a=>o.value[l.field.nameChFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameChFamily,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(d,{rules:l.rules.nameCh,prop:[l.field.nameCh],class:"item-name-right"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameCh],"onUpdate:modelValue":a=>o.value[l.field.nameCh]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameCh,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])]),_:2},1032,["label","disabled","rules"])),[[e.vShow,!l.isHide]]):l.type==="gender"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:2,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Ke,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>{var t,n;return e.openBlock(),e.createBlock(f,{label:r[((t=l.options)==null?void 0:t.valueKey)||"code"],size:"large",key:r[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>[e.createElementVNode("img",{src:r.code==="M"?"http://192.168.5.200:9000/test/sex_img_M.png":"http://192.168.5.200:9000/test/sex_img_F.png",style:{width:"44px",height:"44px","margin-bottom":"-15px","margin-left":"4px"},alt:""},null,8,He)]),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="radio"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:3,label:l.label,rules:l.rules,prop:[l.field],class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Fe,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>{var t,n;return e.openBlock(),e.createBlock(f,{size:"large",label:r[((t=l.options)==null?void 0:t.valueKey)||"code"],key:r[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var p;return[e.createTextVNode(e.toDisplayString(r[((p=l.options)==null?void 0:p.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[e.vShow,!l.isHide]]):l.type==="radioNote"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:4,label:l.label,rules:l.rules,prop:[l.field],class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("span",Ie,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",ze,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",$e,"*")):e.createCommentVNode("",!0)]),e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>{var t,n;return e.openBlock(),e.createBlock(f,{size:"large",label:r[((t=l.options)==null?void 0:t.valueKey)||"code"],key:r[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var p;return[e.createTextVNode(e.toDisplayString(r[((p=l.options)==null?void 0:p.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[e.vShow,!l.isHide]]):l.type==="checkbox"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:5,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Le,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(U,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,onChange:a=>m(a,l.field),disabled:l.disabled||s.value.isDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>{var t,n;return e.openBlock(),e.createBlock(q,{key:r[((t=l.options)==null?void 0:t.valueKey)||"code"],label:r[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var p;return[e.createTextVNode(e.toDisplayString(r[((p=l.options)==null?void 0:p.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="select"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:6,label:l.label,rules:l.rules,disabled:l.disabled||s.value.isDisabled,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Ye,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(g,{onChange:a=>S(a,l.field),modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,placeholder:l.placeholder,clearable:l.clearable},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>{var t,n,p;return e.openBlock(),e.createBlock(x,{key:r[((t=l.options)==null?void 0:t.valueKey)||"code"],label:r[((n=l.options)==null?void 0:n.labelkey)||"name"],value:r[((p=l.options)==null?void 0:p.valueKey)||"code"]},null,8,["label","value"])}),128))]}),_:2},1032,["onChange","modelValue","onUpdate:modelValue","disabled","placeholder","clearable"]),e.createElementVNode("div",{class:"item_tips_blow",style:e.normalizeStyle(l.tipsBlowStyle)},e.toDisplayString(l.tipsBlow),5)]),_:2},1032,["label","rules","disabled","prop"])),[[e.vShow,!l.isHide]]):l.type==="date"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:7,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Te,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,readonly:l.readonly,type:l.type,placeholder:l.placeholder||l.label,"value-format":l.format||"YYYY-MM-DD HH:mm:ss"},null,8,["modelValue","onUpdate:modelValue","disabled","readonly","type","placeholder","value-format"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="daterange"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:8,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Me,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,type:"daterange","range-separator":"To","start-placeholder":l.startPlaceholder,"end-placeholder":l.endPlaceholder,"value-format":l.format||"YYYY-MM-DD HH:mm:ss",size:"large"},null,8,["modelValue","onUpdate:modelValue","start-placeholder","end-placeholder","value-format"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem1"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:9,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Pe,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,"slotItem1",{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem2"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:10,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",je,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,"slotItem2",{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem3"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:11,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Oe,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,"slotItem3",{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem4"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:12,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Re,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,"slotItem4",{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem5"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:13,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Ae,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,"slotItem5",{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="phone"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:14,label:l.label,rules:l.rules.phoneNumber,prop:[l.field.phoneNumber]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Ge,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.phoneNumber],"onUpdate:modelValue":a=>o.value[l.field.phoneNumber]=a,disabled:l.disabled||s.value.isDisabled,placeholder:l.placeholder||"请选择",clearable:l.clearable},{prepend:e.withCtx(()=>{var a;return[e.createVNode(g,{disabled:l.disabled||s.value.isDisabled,modelValue:o.value[l.field.areaCode],"onUpdate:modelValue":r=>o.value[l.field.areaCode]=r,placeholder:((a=l.options)==null?void 0:a.placeholder)||"请选择",style:{width:"115px"}},{default:e.withCtx(()=>{var r;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((r=l.options)==null?void 0:r.data,(t,n)=>(e.openBlock(),e.createBlock(x,{label:t.name,value:t.code,key:n},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder"])]}),_:2},1032,["maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","clearable"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="line"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:15,label:l.label},{default:e.withCtx(()=>[Je]),_:2},1032,["label"])),[[e.vShow,!l.isHide]]):e.withDirectives((e.openBlock(),e.createBlock(d,{key:16,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Qe,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholder||l.label,disabled:l.disabled||s.value.isDisabled,showPassword:l.showPassword,clearable:l.clearable,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.field),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","showPassword","clearable","onKeyup"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]])],4)]),_:2},1024)),[[e.vShow,!l.isHide]])),128))]),_:2},1024)])):b.colNum===1?(e.openBlock(),e.createElementBlock("div",We,[e.createVNode(H,{gutter:20},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.formItemList,(l,D)=>e.withDirectives((e.openBlock(),e.createBlock(K,{xs:24,sm:24,md:24,lg:24,xl:24,key:D},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(l.style)},[l.type==="title"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",Xe,[e.createElementVNode("span",Ze,e.toDisplayString(l.title),1)])]),_:2},1536)),[[e.vShow,!l.isHide]]):l.type==="name"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:1,label:l.label,disabled:l.disabled||s.value.isDisabled,class:"container_name",rules:l.rules.nameEnFamily},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",ve,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(d,{rules:l.rules.nameEnFamily,prop:[l.field.nameEnFamily],class:"item-name"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameEnFamily],"onUpdate:modelValue":a=>o.value[l.field.nameEnFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEnFamily,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(d,{rules:l.rules.nameEn,prop:[l.field.nameEn],class:"item-name-right"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameEn],"onUpdate:modelValue":a=>o.value[l.field.nameEn]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEn,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(d,{rules:l.rules.nameChFamily,prop:[l.field.nameChFamily],class:"item-name"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameChFamily],"onUpdate:modelValue":a=>o.value[l.field.nameChFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameChFamily,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(d,{rules:l.rules.nameCh,prop:[l.field.nameCh],class:"item-name-right"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameCh],"onUpdate:modelValue":a=>o.value[l.field.nameCh]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameCh,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])]),_:2},1032,["label","disabled","rules"])),[[e.vShow,!l.isHide]]):l.type==="gender"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:2,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",el,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>{var t,n;return e.openBlock(),e.createBlock(f,{label:r[((t=l.options)==null?void 0:t.valueKey)||"code"],size:"large",key:r[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>[e.createElementVNode("img",{src:r.code==="M"?"http://192.168.5.200:9000/test/sex_img_M.png":"http://192.168.5.200:9000/test/sex_img_F.png",style:{width:"44px",height:"44px","margin-bottom":"-15px","margin-left":"4px"},alt:""},null,8,ll)]),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="radio"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:3,label:l.label,rules:l.rules,prop:[l.field],class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",al,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>{var t,n;return e.openBlock(),e.createBlock(f,{size:"large",label:r[((t=l.options)==null?void 0:t.valueKey)||"code"],key:r[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var p;return[e.createTextVNode(e.toDisplayString(r[((p=l.options)==null?void 0:p.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[e.vShow,!l.isHide]]):l.type==="radioNote"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:4,label:l.label,rules:l.rules,prop:[l.field],class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("span",ol,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",rl,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",dl,"*")):e.createCommentVNode("",!0)]),e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>{var t,n;return e.openBlock(),e.createBlock(f,{size:"large",label:r[((t=l.options)==null?void 0:t.valueKey)||"code"],key:r[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var p;return[e.createTextVNode(e.toDisplayString(r[((p=l.options)==null?void 0:p.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[e.vShow,!l.isHide]]):l.type==="checkbox"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:5,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",tl,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(U,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>m(a,l.field),style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>{var t,n;return e.openBlock(),e.createBlock(q,{key:r[((t=l.options)==null?void 0:t.valueKey)||"code"],label:r[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var p;return[e.createTextVNode(e.toDisplayString(r[((p=l.options)==null?void 0:p.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange","style"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="select"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:6,label:l.label,rules:l.rules,disabled:l.disabled||s.value.isDisabled,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",nl,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(g,{onChange:a=>S(a,l.field),modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,placeholder:l.placeholder,clearable:l.clearable},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,r=>{var t,n,p;return e.openBlock(),e.createBlock(x,{key:r[((t=l.options)==null?void 0:t.valueKey)||"code"],label:r[((n=l.options)==null?void 0:n.labelkey)||"name"],value:r[((p=l.options)==null?void 0:p.valueKey)||"code"]},null,8,["label","value"])}),128))]}),_:2},1032,["onChange","modelValue","onUpdate:modelValue","disabled","placeholder","clearable"]),e.createElementVNode("div",{class:"item_tips_blow",style:e.normalizeStyle(l.tipsBlowStyle)},e.toDisplayString(l.tipsBlow),5)]),_:2},1032,["label","rules","disabled","prop"])),[[e.vShow,!l.isHide]]):l.type==="date"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:7,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",sl,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,readonly:l.readonly,type:l.type,placeholder:l.placeholder||l.label,"value-format":l.format||"YYYY-MM-DD HH:mm:ss"},null,8,["modelValue","onUpdate:modelValue","disabled","readonly","type","placeholder","value-format"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="daterange"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:8,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",cl,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,type:"daterange","range-separator":"To","start-placeholder":l.startPlaceholder,"end-placeholder":l.endPlaceholder,"value-format":l.format||"YYYY-MM-DD HH:mm:ss",size:"large"},null,8,["modelValue","onUpdate:modelValue","start-placeholder","end-placeholder","value-format"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem1"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:9,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",pl,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,"slotItem1",{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem2"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:10,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",il,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,"slotItem2",{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem3"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:11,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",hl,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,"slotItem3",{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem4"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:12,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",bl,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,"slotItem4",{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem5"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:13,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",yl,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,"slotItem5",{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:14,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",kl,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,l.slotItemName,{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="phone"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:15,label:l.label,rules:l.rules.phoneNumber,prop:[l.field.phoneNumber]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",fl,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.phoneNumber],"onUpdate:modelValue":a=>o.value[l.field.phoneNumber]=a,disabled:l.disabled||s.value.isDisabled,placeholder:l.placeholder||"请选择",clearable:l.clearable},{prepend:e.withCtx(()=>{var a;return[e.createVNode(g,{disabled:l.disabled||s.value.isDisabled,modelValue:o.value[l.field.areaCode],"onUpdate:modelValue":r=>o.value[l.field.areaCode]=r,placeholder:((a=l.options)==null?void 0:a.placeholder)||"请选择",style:{width:"115px"}},{default:e.withCtx(()=>{var r;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((r=l.options)==null?void 0:r.data,(t,n)=>(e.openBlock(),e.createBlock(x,{label:t.name,value:t.code,key:n},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder"])]}),_:2},1032,["maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","clearable"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="line"?e.withDirectives((e.openBlock(),e.createBlock(d,{key:16,label:l.label},{default:e.withCtx(()=>[Vl]),_:2},1032,["label"])),[[e.vShow,!l.isHide]]):e.withDirectives((e.openBlock(),e.createBlock(d,{key:17,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",wl,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholder||l.label,disabled:l.disabled||s.value.isDisabled,showPassword:l.showPassword,clearable:l.clearable,autosize:l.autosize,rows:l.rows,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.field),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","showPassword","clearable","autosize","rows","onKeyup"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]])],4)]),_:2},1024)),[[e.vShow,!l.isHide]])),128))]),_:2},1024)])):e.createCommentVNode("",!0)]))),128)),e.createVNode(d,{class:"btnsItem"},{default:e.withCtx(()=>[e.renderSlot(c.$slots,"buttons",{model:o.value,onBtnClick:z},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value.btnConfig,(b,$)=>(e.openBlock(),e.createElementBlock("div",{key:$},[b.isShow?(e.openBlock(),e.createBlock(Bl,{key:0,size:15,width:b.size,btnCode:b.btnCode,onHandleClick:l=>{z(l,b.isRule,b.emitName)},style:e.normalizeStyle(b.style)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.name),1)]),_:2},1032,["width","btnCode","onHandleClick","style"])):e.createCommentVNode("",!0)]))),128))],!0)]),_:3})]),_:3},16,["model","label-position"])}}}),xl="",F=((_,u)=>{const C=_.__vccOpts||_;for(const[w,o]of u)C[w]=o;return C})(_l,[["__scopeId","data-v-37860b7d"]]);function I(_,u={}){I.installed||(I.installed=!0,_.component("common-el-form",F))}return F.install=I,F});
1
+ (function(e,x){typeof exports=="object"&&typeof module<"u"?module.exports=x(require("vue")):typeof define=="function"&&define.amd?define(["vue"],x):(e=typeof globalThis<"u"?globalThis:e||self,e.Form=x(e.Vue))})(this,function(e){"use strict";const x=_=>(e.pushScopeId("data-v-16751220"),_=_(),e.popScopeId(),_),T={key:0},M={class:"header-title"},$={class:"title-content"},P={key:0,class:"custom-required"},I={key:0,class:"custom-required"},j=["src"],O={key:0,class:"custom-required"},R={class:"lable"},A={class:"lable_note"},G={key:0,class:"custom-required"},J={key:0,class:"custom-required"},Q={key:0,class:"custom-required"},W={key:0,class:"custom-required"},X={key:0,class:"custom-required"},Z={key:0,class:"custom-required"},v={key:0,class:"custom-required"},ee=x(()=>e.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"20px 0"}},null,-1)),le={key:0,class:"custom-required"},ae={key:1},oe={class:"header-title"},de={class:"title-content"},te={key:0,class:"custom-required"},re={key:0,class:"custom-required"},ne=["src"],se={key:0,class:"custom-required"},ce={class:"lable"},pe={class:"lable_note"},ie={key:0,class:"custom-required"},he={key:0,class:"custom-required"},be={key:0,class:"custom-required"},ye={key:0,class:"custom-required"},ke={key:0,class:"custom-required"},fe={key:0,class:"custom-required"},Ve={key:0,class:"custom-required"},we=x(()=>e.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"20px 0"}},null,-1)),_e={key:0,class:"custom-required"},xe={key:2},Ce={class:"header-title"},Be={class:"title-content"},ge={key:0,class:"custom-required"},Ne={key:0,class:"custom-required"},ue=["src"],De={key:0,class:"custom-required"},Ee={class:"lable"},Se={class:"lable_note"},me={key:0,class:"custom-required"},Ue={key:0,class:"custom-required"},Ke={key:0,class:"custom-required"},qe={key:0,class:"custom-required"},He={key:0,class:"custom-required"},Fe={key:0,class:"custom-required"},ze={key:0,class:"custom-required"},Le=x(()=>e.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"20px 0"}},null,-1)),Ye={key:0,class:"custom-required"},Te={key:3},Me={class:"header-title"},$e={class:"title-content"},Pe={key:0,class:"custom-required"},Ie={key:0,class:"custom-required"},je=["src"],Oe={key:0,class:"custom-required"},Re={class:"lable"},Ae={class:"lable_note"},Ge={key:0,class:"custom-required"},Je={key:0,class:"custom-required"},Qe={key:0,class:"custom-required"},We={key:0,class:"custom-required"},Xe={key:0,class:"custom-required"},Ze={key:0,class:"custom-required"},ve={key:0,class:"custom-required"},el=x(()=>e.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"20px 0"}},null,-1)),ll={key:0,class:"custom-required"},al=e.defineComponent({__name:"Index",props:{fieldList:{},model:{},options:{}},emits:["submit","reset","cancel"],setup(_,{expose:E,emit:C}){const w=_,o=e.ref({}),D=e.ref(),s=e.computed(()=>Object.assign([],w==null?void 0:w.options)),S=(p,y)=>{C("selectChange",p,y)},k=(p,y)=>{C("radioChange",p,y)},m=(p,y)=>{C("checkChange",p,y)};E({formRef:D}),(()=>{w.fieldList.map(p=>{const y=p.type==="checkbox"?[]:"";if(p.field&&typeof p.field=="object")for(let t of Object.keys(p.field))w.model?o.value=w.model:o.value[p.field[t]]=p.value||y;w.model?o.value=w.model:o.value[p.field]=p.value||y,p.type==="address"&&p.field.objectName&&(o.value[p.field.objectName][p.field]=p.value)})})(),console.log("pppp",w.model,o.value);const L=(p,y,t)=>{D.value&&(y?D.value.validate(i=>{if(i)C(t,o.value,p);else return!1}):t==="reset"?D.value.resetFields():C(t,o.value,p))},h=p=>{p&&L("",D.value,!0)};return(p,y)=>{const t=e.resolveComponent("el-form-item"),i=e.resolveComponent("el-input"),f=e.resolveComponent("el-radio"),V=e.resolveComponent("el-radio-group"),U=e.resolveComponent("el-checkbox"),K=e.resolveComponent("el-checkbox-group"),B=e.resolveComponent("el-option"),g=e.resolveComponent("el-select"),N=e.resolveComponent("el-date-picker"),q=e.resolveComponent("el-col"),H=e.resolveComponent("el-row"),ol=e.resolveComponent("sinosoft-common-button"),dl=e.resolveComponent("el-form");return e.openBlock(),e.createBlock(dl,e.mergeProps({"hide-required-asterisk":"",onSubmit:y[0]||(y[0]=e.withModifiers(()=>{},["prevent"])),model:o.value},s.value,{"label-position":s.value.labelPosition,ref_key:"formRef",ref:D}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.fieldList,(b,Y)=>(e.openBlock(),e.createElementBlock("div",{key:Y},[b.colNum===4?(e.openBlock(),e.createElementBlock("div",T,[e.createVNode(H,{gutter:10},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.formItemList,(l,u)=>e.withDirectives((e.openBlock(),e.createBlock(q,{xs:8,sm:6,md:4,lg:3,xl:1,key:u},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(l.style)},[l.type==="title"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",M,[e.createElementVNode("span",$,e.toDisplayString(l.title),1)])]),_:2},1536)),[[e.vShow,!l.isHide]]):l.type==="name"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:1,label:l.label,disabled:l.disabled||s.value.isDisabled,class:"container_name",rules:l.rules.nameEnFamily},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",P,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(t,{rules:l.rules.nameEnFamily,prop:[l.field.nameEnFamily],class:"item-name"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameEnFamily],"onUpdate:modelValue":a=>o.value[l.field.nameEnFamily]=a,"show-word-limit":"",readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEnFamily,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(t,{rules:l.rules.nameEn,prop:[l.field.nameEn],class:"item-name-right"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameEn],"onUpdate:modelValue":a=>o.value[l.field.nameEn]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEn,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(t,{rules:l.rules.nameChFamily,prop:[l.field.nameChFamily],class:"item-name"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameChFamily],"onUpdate:modelValue":a=>o.value[l.field.nameChFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameChFamily,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(t,{rules:l.rules.nameCh,prop:[l.field.nameCh],class:"item-name-right"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameCh],"onUpdate:modelValue":a=>o.value[l.field.nameCh]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameCh,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])]),_:2},1032,["label","disabled","rules"])),[[e.vShow,!l.isHide]]):l.type==="gender"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:2,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",I,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,d=>{var r,n;return e.openBlock(),e.createBlock(f,{label:d[((r=l.options)==null?void 0:r.valueKey)||"code"],size:"large",key:d[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>[e.createElementVNode("img",{src:d.code==="M"?"http://192.168.5.200:9000/test/sex_img_M.png":"http://192.168.5.200:9000/test/sex_img_F.png",style:{width:"44px",height:"44px","margin-bottom":"-15px","margin-left":"4px"},alt:""},null,8,j)]),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="radio"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:3,label:l.label,rules:l.rules,prop:[l.field],class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",O,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,d=>{var r,n;return e.openBlock(),e.createBlock(f,{size:"large",label:d[((r=l.options)==null?void 0:r.valueKey)||"code"],key:d[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var c;return[e.createTextVNode(e.toDisplayString(d[((c=l.options)==null?void 0:c.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[e.vShow,!l.isHide]]):l.type==="radioNote"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:4,label:l.label,rules:l.rules,prop:[l.field],class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("span",R,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",A,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",G,"*")):e.createCommentVNode("",!0)]),e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,d=>{var r,n;return e.openBlock(),e.createBlock(f,{size:"large",label:d[((r=l.options)==null?void 0:r.valueKey)||"code"],key:d[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var c;return[e.createTextVNode(e.toDisplayString(d[((c=l.options)==null?void 0:c.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[e.vShow,!l.isHide]]):l.type==="checkbox"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:5,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",J,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(K,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,onChange:a=>m(a,l.field),disabled:l.disabled||s.value.isDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,d=>{var r,n;return e.openBlock(),e.createBlock(U,{key:d[((r=l.options)==null?void 0:r.valueKey)||"code"],label:d[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var c;return[e.createTextVNode(e.toDisplayString(d[((c=l.options)==null?void 0:c.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="select"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:6,label:l.label,rules:l.rules,disabled:l.disabled||s.value.isDisabled,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Q,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(g,{onChange:a=>S(a,l.field),modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,placeholder:l.placeholder,clearable:l.clearable},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,d=>{var r,n,c;return e.openBlock(),e.createBlock(B,{key:d[((r=l.options)==null?void 0:r.valueKey)||"code"],label:d[((n=l.options)==null?void 0:n.labelkey)||"name"],value:d[((c=l.options)==null?void 0:c.valueKey)||"code"]},null,8,["label","value"])}),128))]}),_:2},1032,["onChange","modelValue","onUpdate:modelValue","disabled","placeholder","clearable"]),e.createElementVNode("div",{class:"item_tips_blow",style:e.normalizeStyle(l.tipsBlowStyle)},e.toDisplayString(l.tipsBlow),5)]),_:2},1032,["label","rules","disabled","prop"])),[[e.vShow,!l.isHide]]):l.type==="date"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:7,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",W,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,readonly:l.readonly,type:l.type,placeholder:l.placeholder||l.label,"value-format":l.format||"YYYY-MM-DD HH:mm:ss"},null,8,["modelValue","onUpdate:modelValue","disabled","readonly","type","placeholder","value-format"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="daterange"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:8,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",X,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,type:"daterange","range-separator":"To","start-placeholder":l.startPlaceholder,"end-placeholder":l.endPlaceholder,"value-format":l.format||"YYYY-MM-DD HH:mm:ss",size:"large"},null,8,["modelValue","onUpdate:modelValue","start-placeholder","end-placeholder","value-format"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:9,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Z,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(p.$slots,l.slotItemName,{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="phone"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:10,label:l.label,rules:l.rules.phoneNumber,prop:[l.field.phoneNumber]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",v,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.phoneNumber],"onUpdate:modelValue":a=>o.value[l.field.phoneNumber]=a,disabled:l.disabled||s.value.isDisabled,placeholder:l.placeholder||"请选择",clearable:l.clearable},{prepend:e.withCtx(()=>{var a;return[e.createVNode(g,{disabled:l.disabled||s.value.isDisabled,modelValue:o.value[l.field.areaCode],"onUpdate:modelValue":d=>o.value[l.field.areaCode]=d,placeholder:((a=l.options)==null?void 0:a.placeholder)||"请选择",style:{width:"115px"}},{default:e.withCtx(()=>{var d;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((d=l.options)==null?void 0:d.data,(r,n)=>(e.openBlock(),e.createBlock(B,{label:r.name,value:r.code,key:n},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder"])]}),_:2},1032,["maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","clearable"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="line"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:11,label:l.label},{default:e.withCtx(()=>[ee]),_:2},1032,["label"])),[[e.vShow,!l.isHide]]):e.withDirectives((e.openBlock(),e.createBlock(t,{key:12,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",le,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholder||l.label,disabled:l.disabled||s.value.isDisabled,showPassword:l.showPassword,clearable:l.clearable,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.field),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","showPassword","clearable","onKeyup"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]])],4)]),_:2},1024)),[[e.vShow,!l.isHide]])),128))]),_:2},1024)])):b.colNum===3?(e.openBlock(),e.createElementBlock("div",ae,[e.createVNode(H,{gutter:20},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.formItemList,(l,u)=>e.withDirectives((e.openBlock(),e.createBlock(q,{xs:24,sm:8,md:8,lg:8,xl:8,key:u},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(l.style)},[l.type==="title"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",oe,[e.createElementVNode("span",de,e.toDisplayString(l.title),1)])]),_:2},1536)),[[e.vShow,!l.isHide]]):l.type==="name"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:1,label:l.label,disabled:l.disabled||s.value.isDisabled,class:"container_name",rules:l.rules.nameEnFamily},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",te,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(t,{rules:l.rules.nameEnFamily,prop:[l.field.nameEnFamily],class:"item-name"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameEnFamily],"onUpdate:modelValue":a=>o.value[l.field.nameEnFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEnFamily,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(t,{rules:l.rules.nameEn,prop:[l.field.nameEn],class:"item-name-right"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameEn],"onUpdate:modelValue":a=>o.value[l.field.nameEn]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEn,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(t,{rules:l.rules.nameChFamily,prop:[l.field.nameChFamily],class:"item-name"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameChFamily],"onUpdate:modelValue":a=>o.value[l.field.nameChFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameChFamily,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(t,{rules:l.rules.nameCh,prop:[l.field.nameCh],class:"item-name-right"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameCh],"onUpdate:modelValue":a=>o.value[l.field.nameCh]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameCh,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])]),_:2},1032,["label","disabled","rules"])),[[e.vShow,!l.isHide]]):l.type==="gender"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:2,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",re,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,d=>{var r,n;return e.openBlock(),e.createBlock(f,{label:d[((r=l.options)==null?void 0:r.valueKey)||"code"],size:"large",key:d[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>[e.createElementVNode("img",{src:d.code==="M"?"http://192.168.5.200:9000/test/sex_img_M.png":"http://192.168.5.200:9000/test/sex_img_F.png",style:{width:"44px",height:"44px","margin-bottom":"-15px","margin-left":"4px"},alt:""},null,8,ne)]),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="radio"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:3,label:l.label,rules:l.rules,prop:[l.field],class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",se,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,d=>{var r,n;return e.openBlock(),e.createBlock(f,{size:"large",label:d[((r=l.options)==null?void 0:r.valueKey)||"code"],key:d[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var c;return[e.createTextVNode(e.toDisplayString(d[((c=l.options)==null?void 0:c.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[e.vShow,!l.isHide]]):l.type==="radioNote"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:4,label:l.label,rules:l.rules,prop:[l.field],class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("span",ce,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",pe,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",ie,"*")):e.createCommentVNode("",!0)]),e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,d=>{var r,n;return e.openBlock(),e.createBlock(f,{size:"large",label:d[((r=l.options)==null?void 0:r.valueKey)||"code"],key:d[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var c;return[e.createTextVNode(e.toDisplayString(d[((c=l.options)==null?void 0:c.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[e.vShow,!l.isHide]]):l.type==="checkbox"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:5,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",he,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(K,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,onChange:a=>m(a,l.field),disabled:l.disabled||s.value.isDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,d=>{var r,n;return e.openBlock(),e.createBlock(U,{key:d[((r=l.options)==null?void 0:r.valueKey)||"code"],label:d[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var c;return[e.createTextVNode(e.toDisplayString(d[((c=l.options)==null?void 0:c.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="select"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:6,label:l.label,rules:l.rules,disabled:l.disabled||s.value.isDisabled,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",be,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(g,{onChange:a=>S(a,l.field),modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,placeholder:l.placeholder,clearable:l.clearable},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,d=>{var r,n,c;return e.openBlock(),e.createBlock(B,{key:d[((r=l.options)==null?void 0:r.valueKey)||"code"],label:d[((n=l.options)==null?void 0:n.labelkey)||"name"],value:d[((c=l.options)==null?void 0:c.valueKey)||"code"]},null,8,["label","value"])}),128))]}),_:2},1032,["onChange","modelValue","onUpdate:modelValue","disabled","placeholder","clearable"]),e.createElementVNode("div",{class:"item_tips_blow",style:e.normalizeStyle(l.tipsBlowStyle)},e.toDisplayString(l.tipsBlow),5)]),_:2},1032,["label","rules","disabled","prop"])),[[e.vShow,!l.isHide]]):l.type==="date"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:7,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",ye,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,readonly:l.readonly,type:l.type,placeholder:l.placeholder||l.label,"value-format":l.format||"YYYY-MM-DD HH:mm:ss"},null,8,["modelValue","onUpdate:modelValue","disabled","readonly","type","placeholder","value-format"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="daterange"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:8,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",ke,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,type:"daterange","range-separator":"To","start-placeholder":l.startPlaceholder,"end-placeholder":l.endPlaceholder,"value-format":l.format||"YYYY-MM-DD HH:mm:ss",size:"large"},null,8,["modelValue","onUpdate:modelValue","start-placeholder","end-placeholder","value-format"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:9,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",fe,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(p.$slots,l.slotItemName,{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="phone"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:10,label:l.label,rules:l.rules.phoneNumber,prop:[l.field.phoneNumber]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Ve,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.phoneNumber],"onUpdate:modelValue":a=>o.value[l.field.phoneNumber]=a,disabled:l.disabled||s.value.isDisabled,placeholder:l.placeholder||"请选择",clearable:l.clearable},{prepend:e.withCtx(()=>{var a;return[e.createVNode(g,{disabled:l.disabled||s.value.isDisabled,modelValue:o.value[l.field.areaCode],"onUpdate:modelValue":d=>o.value[l.field.areaCode]=d,placeholder:((a=l.options)==null?void 0:a.placeholder)||"请选择",style:{width:"115px"}},{default:e.withCtx(()=>{var d;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((d=l.options)==null?void 0:d.data,(r,n)=>(e.openBlock(),e.createBlock(B,{label:r.name,value:r.code,key:n},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder"])]}),_:2},1032,["maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","clearable"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="line"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:11,label:l.label},{default:e.withCtx(()=>[we]),_:2},1032,["label"])),[[e.vShow,!l.isHide]]):e.withDirectives((e.openBlock(),e.createBlock(t,{key:12,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",_e,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholder||l.label,disabled:l.disabled||s.value.isDisabled,showPassword:l.showPassword,clearable:l.clearable,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.field),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","showPassword","clearable","onKeyup"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]])],4)]),_:2},1024)),[[e.vShow,!l.isHide]])),128))]),_:2},1024)])):b.colNum===2?(e.openBlock(),e.createElementBlock("div",xe,[e.createVNode(H,{gutter:20},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.formItemList,(l,u)=>e.withDirectives((e.openBlock(),e.createBlock(q,{xs:24,sm:12,md:12,lg:12,xl:12,key:u},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(l.style)},[l.type==="title"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",Ce,[e.createElementVNode("span",Be,e.toDisplayString(l.title),1)])]),_:2},1536)),[[e.vShow,!l.isHide]]):l.type==="name"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:1,label:l.label,disabled:l.disabled||s.value.isDisabled,class:"container_name",rules:l.rules.nameEnFamily},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",ge,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(t,{rules:l.rules.nameEnFamily,prop:[l.field.nameEnFamily],class:"item-name"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameEnFamily],"onUpdate:modelValue":a=>o.value[l.field.nameEnFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEnFamily,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(t,{rules:l.rules.nameEn,prop:[l.field.nameEn],class:"item-name-right"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameEn],"onUpdate:modelValue":a=>o.value[l.field.nameEn]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEn,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(t,{rules:l.rules.nameChFamily,prop:[l.field.nameChFamily],class:"item-name"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameChFamily],"onUpdate:modelValue":a=>o.value[l.field.nameChFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameChFamily,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(t,{rules:l.rules.nameCh,prop:[l.field.nameCh],class:"item-name-right"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameCh],"onUpdate:modelValue":a=>o.value[l.field.nameCh]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameCh,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])]),_:2},1032,["label","disabled","rules"])),[[e.vShow,!l.isHide]]):l.type==="gender"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:2,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Ne,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,d=>{var r,n;return e.openBlock(),e.createBlock(f,{label:d[((r=l.options)==null?void 0:r.valueKey)||"code"],size:"large",key:d[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>[e.createElementVNode("img",{src:d.code==="M"?"http://192.168.5.200:9000/test/sex_img_M.png":"http://192.168.5.200:9000/test/sex_img_F.png",style:{width:"44px",height:"44px","margin-bottom":"-15px","margin-left":"4px"},alt:""},null,8,ue)]),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="radio"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:3,label:l.label,rules:l.rules,prop:[l.field],class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",De,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,d=>{var r,n;return e.openBlock(),e.createBlock(f,{size:"large",label:d[((r=l.options)==null?void 0:r.valueKey)||"code"],key:d[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var c;return[e.createTextVNode(e.toDisplayString(d[((c=l.options)==null?void 0:c.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[e.vShow,!l.isHide]]):l.type==="radioNote"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:4,label:l.label,rules:l.rules,prop:[l.field],class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("span",Ee,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",Se,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",me,"*")):e.createCommentVNode("",!0)]),e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,d=>{var r,n;return e.openBlock(),e.createBlock(f,{size:"large",label:d[((r=l.options)==null?void 0:r.valueKey)||"code"],key:d[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var c;return[e.createTextVNode(e.toDisplayString(d[((c=l.options)==null?void 0:c.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[e.vShow,!l.isHide]]):l.type==="checkbox"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:5,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Ue,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(K,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,onChange:a=>m(a,l.field),disabled:l.disabled||s.value.isDisabled,style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,d=>{var r,n;return e.openBlock(),e.createBlock(U,{key:d[((r=l.options)==null?void 0:r.valueKey)||"code"],label:d[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var c;return[e.createTextVNode(e.toDisplayString(d[((c=l.options)==null?void 0:c.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="select"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:6,label:l.label,rules:l.rules,disabled:l.disabled||s.value.isDisabled,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Ke,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(g,{onChange:a=>S(a,l.field),modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,placeholder:l.placeholder,clearable:l.clearable},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,d=>{var r,n,c;return e.openBlock(),e.createBlock(B,{key:d[((r=l.options)==null?void 0:r.valueKey)||"code"],label:d[((n=l.options)==null?void 0:n.labelkey)||"name"],value:d[((c=l.options)==null?void 0:c.valueKey)||"code"]},null,8,["label","value"])}),128))]}),_:2},1032,["onChange","modelValue","onUpdate:modelValue","disabled","placeholder","clearable"]),e.createElementVNode("div",{class:"item_tips_blow",style:e.normalizeStyle(l.tipsBlowStyle)},e.toDisplayString(l.tipsBlow),5)]),_:2},1032,["label","rules","disabled","prop"])),[[e.vShow,!l.isHide]]):l.type==="date"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:7,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",qe,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,readonly:l.readonly,type:l.type,placeholder:l.placeholder||l.label,"value-format":l.format||"YYYY-MM-DD HH:mm:ss"},null,8,["modelValue","onUpdate:modelValue","disabled","readonly","type","placeholder","value-format"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="daterange"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:8,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",He,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,type:"daterange","range-separator":"To","start-placeholder":l.startPlaceholder,"end-placeholder":l.endPlaceholder,"value-format":l.format||"YYYY-MM-DD HH:mm:ss",size:"large"},null,8,["modelValue","onUpdate:modelValue","start-placeholder","end-placeholder","value-format"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:9,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Fe,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(p.$slots,l.slotItemName,{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="phone"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:10,label:l.label,rules:l.rules.phoneNumber,prop:[l.field.phoneNumber]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",ze,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.phoneNumber],"onUpdate:modelValue":a=>o.value[l.field.phoneNumber]=a,disabled:l.disabled||s.value.isDisabled,placeholder:l.placeholder||"请选择",clearable:l.clearable},{prepend:e.withCtx(()=>{var a;return[e.createVNode(g,{disabled:l.disabled||s.value.isDisabled,modelValue:o.value[l.field.areaCode],"onUpdate:modelValue":d=>o.value[l.field.areaCode]=d,placeholder:((a=l.options)==null?void 0:a.placeholder)||"请选择",style:{width:"115px"}},{default:e.withCtx(()=>{var d;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((d=l.options)==null?void 0:d.data,(r,n)=>(e.openBlock(),e.createBlock(B,{label:r.name,value:r.code,key:n},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder"])]}),_:2},1032,["maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","clearable"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="line"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:11,label:l.label},{default:e.withCtx(()=>[Le]),_:2},1032,["label"])),[[e.vShow,!l.isHide]]):e.withDirectives((e.openBlock(),e.createBlock(t,{key:12,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Ye,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholder||l.label,disabled:l.disabled||s.value.isDisabled,showPassword:l.showPassword,clearable:l.clearable,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.field),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","showPassword","clearable","onKeyup"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]])],4)]),_:2},1024)),[[e.vShow,!l.isHide]])),128))]),_:2},1024)])):b.colNum===1?(e.openBlock(),e.createElementBlock("div",Te,[e.createVNode(H,{gutter:20},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.formItemList,(l,u)=>e.withDirectives((e.openBlock(),e.createBlock(q,{xs:24,sm:24,md:24,lg:24,xl:24,key:u},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(l.style)},[l.type==="title"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",Me,[e.createElementVNode("span",$e,e.toDisplayString(l.title),1)])]),_:2},1536)),[[e.vShow,!l.isHide]]):l.type==="name"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:1,label:l.label,disabled:l.disabled||s.value.isDisabled,class:"container_name",rules:l.rules.nameEnFamily},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Pe,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(t,{rules:l.rules.nameEnFamily,prop:[l.field.nameEnFamily],class:"item-name"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameEnFamily],"onUpdate:modelValue":a=>o.value[l.field.nameEnFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEnFamily,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(t,{rules:l.rules.nameEn,prop:[l.field.nameEn],class:"item-name-right"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameEn],"onUpdate:modelValue":a=>o.value[l.field.nameEn]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameEn,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(t,{rules:l.rules.nameChFamily,prop:[l.field.nameChFamily],class:"item-name"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameChFamily],"onUpdate:modelValue":a=>o.value[l.field.nameChFamily]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameChFamily,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),e.createVNode(t,{rules:l.rules.nameCh,prop:[l.field.nameCh],class:"item-name-right"},{default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.nameCh],"onUpdate:modelValue":a=>o.value[l.field.nameCh]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholderNameCh,disabled:l.disabled||s.value.isDisabled,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])]),_:2},1032,["label","disabled","rules"])),[[e.vShow,!l.isHide]]):l.type==="gender"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:2,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Ie,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,d=>{var r,n;return e.openBlock(),e.createBlock(f,{label:d[((r=l.options)==null?void 0:r.valueKey)||"code"],size:"large",key:d[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>[e.createElementVNode("img",{src:d.code==="M"?"http://192.168.5.200:9000/test/sex_img_M.png":"http://192.168.5.200:9000/test/sex_img_F.png",style:{width:"44px",height:"44px","margin-bottom":"-15px","margin-left":"4px"},alt:""},null,8,je)]),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="radio"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:3,label:l.label,rules:l.rules,prop:[l.field],class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Oe,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,d=>{var r,n;return e.openBlock(),e.createBlock(f,{size:"large",label:d[((r=l.options)==null?void 0:r.valueKey)||"code"],key:d[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var c;return[e.createTextVNode(e.toDisplayString(d[((c=l.options)==null?void 0:c.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[e.vShow,!l.isHide]]):l.type==="radioNote"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:4,label:l.label,rules:l.rules,prop:[l.field],class:e.normalizeClass([l.labelNode?"radio_Note":"rule_err"])},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("span",Re,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",Ae,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",Ge,"*")):e.createCommentVNode("",!0)]),e.createVNode(V,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>k(a,l.field)},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,d=>{var r,n;return e.openBlock(),e.createBlock(f,{size:"large",label:d[((r=l.options)==null?void 0:r.valueKey)||"code"],key:d[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var c;return[e.createTextVNode(e.toDisplayString(d[((c=l.options)==null?void 0:c.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[e.vShow,!l.isHide]]):l.type==="checkbox"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:5,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Je,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(K,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,onChange:a=>m(a,l.field),style:e.normalizeStyle(l.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,d=>{var r,n;return e.openBlock(),e.createBlock(U,{key:d[((r=l.options)==null?void 0:r.valueKey)||"code"],label:d[((n=l.options)==null?void 0:n.valueKey)||"code"]},{default:e.withCtx(()=>{var c;return[e.createTextVNode(e.toDisplayString(d[((c=l.options)==null?void 0:c.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange","style"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="select"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:6,label:l.label,rules:l.rules,disabled:l.disabled||s.value.isDisabled,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Qe,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(g,{onChange:a=>S(a,l.field),modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,placeholder:l.placeholder,clearable:l.clearable},{default:e.withCtx(()=>{var a;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.options)==null?void 0:a.data,d=>{var r,n,c;return e.openBlock(),e.createBlock(B,{key:d[((r=l.options)==null?void 0:r.valueKey)||"code"],label:d[((n=l.options)==null?void 0:n.labelkey)||"name"],value:d[((c=l.options)==null?void 0:c.valueKey)||"code"]},null,8,["label","value"])}),128))]}),_:2},1032,["onChange","modelValue","onUpdate:modelValue","disabled","placeholder","clearable"]),e.createElementVNode("div",{class:"item_tips_blow",style:e.normalizeStyle(l.tipsBlowStyle)},e.toDisplayString(l.tipsBlow),5)]),_:2},1032,["label","rules","disabled","prop"])),[[e.vShow,!l.isHide]]):l.type==="date"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:7,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",We,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,disabled:l.disabled||s.value.isDisabled,readonly:l.readonly,type:l.type,placeholder:l.placeholder||l.label,"value-format":l.format||"YYYY-MM-DD HH:mm:ss"},null,8,["modelValue","onUpdate:modelValue","disabled","readonly","type","placeholder","value-format"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="daterange"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:8,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Xe,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(N,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,type:"daterange","range-separator":"To","start-placeholder":l.startPlaceholder,"end-placeholder":l.endPlaceholder,"value-format":l.format||"YYYY-MM-DD HH:mm:ss",size:"large"},null,8,["modelValue","onUpdate:modelValue","start-placeholder","end-placeholder","value-format"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="slotItem"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:9,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",Ze,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(p.$slots,l.slotItemName,{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="phone"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:10,label:l.label,rules:l.rules.phoneNumber,prop:[l.field.phoneNumber]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",ve,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field.phoneNumber],"onUpdate:modelValue":a=>o.value[l.field.phoneNumber]=a,disabled:l.disabled||s.value.isDisabled,placeholder:l.placeholder||"请选择",clearable:l.clearable},{prepend:e.withCtx(()=>{var a;return[e.createVNode(g,{disabled:l.disabled||s.value.isDisabled,modelValue:o.value[l.field.areaCode],"onUpdate:modelValue":d=>o.value[l.field.areaCode]=d,placeholder:((a=l.options)==null?void 0:a.placeholder)||"请选择",style:{width:"115px"}},{default:e.withCtx(()=>{var d;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((d=l.options)==null?void 0:d.data,(r,n)=>(e.openBlock(),e.createBlock(B,{label:r.name,value:r.code,key:n},null,8,["label","value"]))),128))]}),_:2},1032,["disabled","modelValue","onUpdate:modelValue","placeholder"])]}),_:2},1032,["maxlength","modelValue","onUpdate:modelValue","disabled","placeholder","clearable"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]]):l.type==="line"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:11,label:l.label},{default:e.withCtx(()=>[el]),_:2},1032,["label"])),[[e.vShow,!l.isHide]]):e.withDirectives((e.openBlock(),e.createBlock(t,{key:12,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(l.label),1),l.required?(e.openBlock(),e.createElementBlock("span",ll,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(i,{maxlength:l.maxlength,modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,readonly:l.readonly,type:l.type?l.type:"text",placeholder:l.placeholder||l.label,disabled:l.disabled||s.value.isDisabled,showPassword:l.showPassword,clearable:l.clearable,autosize:l.autosize,rows:l.rows,onKeyup:e.withKeys(a=>h(l.enterable),["enter"])},e.createSlots({_:2},[l.prepend?{name:"prepend",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.field),1)]),key:"0"}:void 0,l.append?{name:"append",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.append),1)]),key:"1"}:void 0]),1032,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","showPassword","clearable","autosize","rows","onKeyup"])]),_:2},1032,["label","rules","prop"])),[[e.vShow,!l.isHide]])],4)]),_:2},1024)),[[e.vShow,!l.isHide]])),128))]),_:2},1024)])):e.createCommentVNode("",!0)]))),128)),e.createVNode(t,{class:"btnsItem"},{default:e.withCtx(()=>[e.renderSlot(p.$slots,"buttons",{model:o.value,onBtnClick:L},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value.btnConfig,(b,Y)=>(e.openBlock(),e.createElementBlock("div",{key:Y},[b.isShow?(e.openBlock(),e.createBlock(ol,{key:0,size:15,width:b.size,btnCode:b.btnCode,onHandleClick:l=>{L(l,b.isRule,b.emitName)},style:e.normalizeStyle(b.style)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.name),1)]),_:2},1032,["width","btnCode","onHandleClick","style"])):e.createCommentVNode("",!0)]))),128))],!0)]),_:3})]),_:3},16,["model","label-position"])}}}),tl="",F=((_,E)=>{const C=_.__vccOpts||_;for(const[w,o]of E)C[w]=o;return C})(al,[["__scopeId","data-v-16751220"]]);function z(_,E={}){z.installed||(z.installed=!0,_.component("common-el-form",F))}return F.install=z,F});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinosoft-common-form",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "",
5
5
  "main": "common-form.es.js",
6
6
  "scripts": {
package/style.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";[data-v-37860b7d] .el-date-editor{height:60px!important;width:100%!important}.form-item[data-v-37860b7d]{width:50%;display:inline-block;padding-right:0;box-sizing:border-box}[data-v-37860b7d] .el-input__inner{height:42px;color:#1d1d1d}[data-v-37860b7d] .el-card__body{padding:0}[data-v-37860b7d] .el-input__inner::placeholder{font-family:Roboto;font-size:14px;font-weight:400;line-height:22px;letter-spacing:0em;text-align:left;color:#6e6e73}[data-v-37860b7d] .el-form-item__label{font-size:16px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Medium;height:22px!important}.form-item-title[data-v-37860b7d]{width:100%}.rule_err[data-v-37860b7d] .el-form-item__content,.radio_Note[data-v-37860b7d] .el-form-item__content{display:block}.radio_Note .lable[data-v-37860b7d]{font-size:16px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Medium}.radio_Note .lable_note[data-v-37860b7d]{font-size:16px;line-height:22px;color:#6e6e73;font-weight:400;font-family:Roboto Medium}.container_name[data-v-37860b7d] .el-form-item__content{align-items:start}[data-v-37860b7d] .el-form-item__error{position:relative}.item-name[data-v-37860b7d]{width:51%;padding-right:20px;padding-bottom:12px;box-sizing:border-box}.item-name-right[data-v-37860b7d]{width:49%;padding-bottom:12px;padding-right:0}.btnsItem[data-v-37860b7d]{width:100%;margin:0 auto;justify-content:right}.btnsItem[data-v-37860b7d] .el-form-item__content{justify-content:right}label[data-v-37860b7d]{display:block}.title-content[data-v-37860b7d]{font-size:22px;line-height:30px;color:#1d1d1d;font-weight:300;font-family:Roboto Medium}[data-v-37860b7d] .el-input-group--prepend .el-input-group__prepend .el-select .el-input .el-input__wrapper{background-color:#fff;width:80px}[data-v-37860b7d] .el-input__wrapper{height:60px;border-radius:8px;border:1px;border-color:#c7c8ca}[data-v-37860b7d] .el-select{width:100%}.custom-required[data-v-37860b7d]{content:"*";color:#e2a650;margin-left:4px}.item_tips_blow[data-v-37860b7d]{font-size:14px;line-height:22px;color:#00000073;font-weight:400;font-family:Roboto Medium;width:100%;word-wrap:break-word;white-space:normal}
1
+ @charset "UTF-8";[data-v-16751220] .el-date-editor{height:60px!important;width:100%!important}.form-item[data-v-16751220]{width:50%;display:inline-block;padding-right:0;box-sizing:border-box}[data-v-16751220] .el-input__inner{height:42px;color:#1d1d1d}[data-v-16751220] .el-card__body{padding:0}[data-v-16751220] .el-input__inner::placeholder{font-family:Roboto;font-size:14px;font-weight:400;line-height:22px;letter-spacing:0em;text-align:left;color:#6e6e73}[data-v-16751220] .el-form-item__label{font-size:16px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Medium;height:22px!important}.form-item-title[data-v-16751220]{width:100%}[data-v-16751220] .el-checkbox-group,[data-v-16751220] .el-radio-group{height:62px;line-height:62px}[data-v-16751220] .el-radio-group .el-radio{height:auto}.rule_err[data-v-16751220] .el-form-item__content,.radio_Note[data-v-16751220] .el-form-item__content{display:block}.radio_Note .lable[data-v-16751220]{font-size:16px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Medium}.radio_Note .lable_note[data-v-16751220]{font-size:16px;line-height:22px;color:#6e6e73;font-weight:400;font-family:Roboto Medium}.container_name[data-v-16751220] .el-form-item__content{align-items:start}[data-v-16751220] .el-form-item__error{position:relative}.item-name[data-v-16751220]{width:51%;padding-right:20px;padding-bottom:12px;box-sizing:border-box}.item-name-right[data-v-16751220]{width:49%;padding-bottom:12px;padding-right:0}.btnsItem[data-v-16751220]{width:100%;margin:0 auto;justify-content:right}.btnsItem[data-v-16751220] .el-form-item__content{justify-content:right}label[data-v-16751220]{display:block}.title-content[data-v-16751220]{font-size:22px;line-height:30px;color:#1d1d1d;font-weight:300;font-family:Roboto Medium}[data-v-16751220] .el-input-group--prepend .el-input-group__prepend .el-select .el-input .el-input__wrapper{background-color:#fff;width:80px}[data-v-16751220] .el-input__wrapper{height:60px;border-radius:8px;border:1px;border-color:#c7c8ca}[data-v-16751220] .el-select{width:100%}.custom-required[data-v-16751220]{content:"*";color:#e2a650;margin-left:4px}.item_tips_blow[data-v-16751220]{font-size:14px;line-height:22px;color:#00000073;font-weight:400;font-family:Roboto Medium;width:100%;word-wrap:break-word;white-space:normal}