sinosoft-common-form 1.2.4 → 1.2.5
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.
- package/common-form.es.js +2440 -2440
- package/common-form.umd.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
package/common-form.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(e,C){typeof exports=="object"&&typeof module<"u"?module.exports=C(require("vue")):typeof define=="function"&&define.amd?define(["vue"],C):(e=typeof globalThis<"u"?globalThis:e||self,e.Form=C(e.Vue))})(this,function(e){"use strict";const C=x=>(e.pushScopeId("data-v-48beeedd"),x=x(),e.popScopeId(),x),M={key:0},$={class:"header-title"},P={class:"title-content"},I={key:0,class:"custom-required"},j={key:0,class:"custom-required"},R=["src"],W={key:0,class:"custom-required"},O={class:"lable"},A={class:"lable_note"},G={key:0,class:"custom-required"},J={key:0,class:"custom-required"},Q={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=C(()=>e.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"20px 0"}},null,-1)),oe={key:0,class:"custom-required"},de={key:1},te={class:"header-title"},re={class:"title-content"},ne={key:0,class:"custom-required"},se={key:0,class:"custom-required"},ce=["src"],pe={key:0,class:"custom-required"},ie={class:"lable"},ye={class:"lable_note"},be={key:0,class:"custom-required"},he={key:0,class:"custom-required"},ke={key:0,class:"custom-required"},fe={key:0,class:"custom-required"},Ve={key:0,class:"custom-required"},we={key:0,class:"custom-required"},xe={key:0,class:"custom-required"},_e={key:0,class:"custom-required"},Ce=C(()=>e.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"20px 0"}},null,-1)),ge={key:0,class:"custom-required"},Be={key:2},Ne={class:"header-title"},Se={class:"title-content"},De={key:0,class:"custom-required"},Ee={key:0,class:"custom-required"},ue=["src"],Ue={key:0,class:"custom-required"},me={class:"lable"},Ke={class:"lable_note"},qe={key:0,class:"custom-required"},ze={key:0,class:"custom-required"},He={key:0,class:"custom-required"},Fe={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"},$e=C(()=>e.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"20px 0"}},null,-1)),Pe={key:0,class:"custom-required"},Ie={key:3},je={class:"header-title"},Re={class:"title-content"},We={key:0,class:"custom-required"},Oe={key:0,class:"custom-required"},Ae=["src"],Ge={key:0,class:"custom-required"},Je={class:"lable"},Qe={class:"lable_note"},Xe={key:0,class:"custom-required"},Ze={key:0,class:"custom-required"},ve={key:0,class:"custom-required"},el={key:0,class:"custom-required"},ll={key:0,class:"custom-required"},al={key:0,class:"custom-required"},ol={key:0,class:"custom-required"},dl={key:0,class:"custom-required"},tl=C(()=>e.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"20px 0"}},null,-1)),rl={key:0,class:"custom-required"},nl=e.defineComponent({__name:"Index",props:{fieldList:{},model:{},options:{}},setup(x,{expose:U,emit:_}){const w=x,o=e.ref({}),u=e.ref(),s=e.computed(()=>Object.assign([],w==null?void 0:w.options)),sl=(p,h,t)=>{Y(p,h,t),console.log("cccodddddd",p,h,t)},m=(p,h)=>{_("selectChange",p,h)},k=(p,h)=>{_("radioChange",p,h)},K=(p,h)=>{_("checkChange",p,h)},q=(p,h)=>{const t=o.value[h].length;t!==1&&(t>1&&o.value[h].shift(),_("checkChange",p,h))};U({formRef:u}),(()=>{w.fieldList.map(p=>{const h=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||h;w.model?o.value=w.model:o.value[p.field]=p.value||h,p.type==="address"&&p.field.objectName&&(o.value[p.field.objectName][p.field]=p.value)})})(),console.log("pppp",w.model,o.value);const Y=(p,h,t)=>{u.value&&(h?u.value.validate(y=>{if(y)_(t,o.value,p);else return!1}):t==="reset"?u.value.resetFields():_(t,o.value,p))},b=p=>{p&&Y("",!0,"submit")};return(p,h)=>{const t=e.resolveComponent("el-form-item"),y=e.resolveComponent("el-input"),f=e.resolveComponent("el-radio"),V=e.resolveComponent("el-radio-group"),g=e.resolveComponent("el-checkbox"),B=e.resolveComponent("el-checkbox-group"),N=e.resolveComponent("el-option"),S=e.resolveComponent("el-select"),D=e.resolveComponent("el-date-picker"),z=e.resolveComponent("el-col"),H=e.resolveComponent("el-row"),cl=e.resolveComponent("sinosoft-common-button"),pl=e.resolveComponent("el-form");return e.openBlock(),e.createBlock(pl,e.mergeProps({"hide-required-asterisk":"",onSubmit:h[0]||(h[0]=e.withModifiers(()=>{},["prevent"])),model:o.value},s.value,{"label-position":s.value.labelPosition,ref_key:"formRef",ref:u}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.fieldList,(i,T)=>(e.openBlock(),e.createElementBlock("div",{key:T},[i.colNum===4?(e.openBlock(),e.createElementBlock("div",M,[e.createVNode(H,{gutter:10},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.formItemList,(l,E)=>e.withDirectives((e.openBlock(),e.createBlock(z,{xs:24,sm:6,md:6,lg:6,xl:6,key:E},{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",$,[e.createElementVNode("span",P,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("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",I,"*")):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(y,{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=>b(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(y,{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=>b(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(y,{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=>b(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(y,{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=>b(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("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",j,"*")):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,R)]),_: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("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",W,"*")):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",O,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("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",J,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(B,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,onChange:a=>K(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(g,{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==="checkboxRadio"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:6,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",Q,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(B,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,onChange:a=>q(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(g,{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:7,label:l.label,rules:l.rules,disabled:l.disabled||s.value.isDisabled,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",X,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(S,{onChange:a=>m(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(N,{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:8,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",Z,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(D,{"disabled-date":l.disabledDate,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,["disabled-date","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:9,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",v,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(D,{"disabled-date":l.disabledDate,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,["disabled-date","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:10,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",ee,"*")):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:11,label:l.label,rules:l.rules.phoneNumber,prop:[l.field.phoneNumber],class:"phone_item"},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",le,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(y,{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(S,{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(N,{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:12,label:l.label},{default:e.withCtx(()=>[ae]),_:2},1032,["label"])),[[e.vShow,!l.isHide]]):e.withDirectives((e.openBlock(),e.createBlock(t,{key:13,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",oe,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(y,{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=>b(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)])):i.colNum===3?(e.openBlock(),e.createElementBlock("div",de,[e.createVNode(H,{gutter:20},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.formItemList,(l,E)=>e.withDirectives((e.openBlock(),e.createBlock(z,{xs:24,sm:8,md:8,lg:8,xl:8,key:E},{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",te,[e.createElementVNode("span",re,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("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",ne,"*")):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(y,{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=>b(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(y,{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=>b(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(y,{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=>b(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(y,{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=>b(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("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),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,{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,ce)]),_: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("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),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,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",ie,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",ye,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",be,"*")):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("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",he,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(B,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,onChange:a=>K(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(g,{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==="checkboxRadio"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:6,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",ke,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(B,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,onChange:a=>q(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(g,{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:7,label:l.label,rules:l.rules,disabled:l.disabled||s.value.isDisabled,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",fe,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(S,{onChange:a=>m(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(N,{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:8,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",Ve,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(D,{"disabled-date":l.disabledDate,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,["disabled-date","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:9,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",we,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(D,{"disabled-date":l.disabledDate,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,["disabled-date","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:10,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",xe,"*")):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:11,label:l.label,class:"phone_item",rules:l.rules.phoneNumber,prop:[l.field.phoneNumber]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",_e,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(y,{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(S,{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(N,{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:12,label:l.label},{default:e.withCtx(()=>[Ce]),_:2},1032,["label"])),[[e.vShow,!l.isHide]]):e.withDirectives((e.openBlock(),e.createBlock(t,{key:13,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",ge,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(y,{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=>b(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)])):i.colNum===2?(e.openBlock(),e.createElementBlock("div",Be,[e.createVNode(H,{gutter:20},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.formItemList,(l,E)=>e.withDirectives((e.openBlock(),e.createBlock(z,{xs:24,sm:12,md:12,lg:12,xl:12,key:E},{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",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(t,{key:1,label:l.label,disabled:l.disabled||s.value.isDisabled,class:"container_name",rules:l.rules.nameEnFamily},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",De,"*")):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(y,{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=>b(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(y,{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=>b(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(y,{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=>b(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(y,{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=>b(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("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",Ee,"*")):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("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",Ue,"*")):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",me,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",Ke,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",qe,"*")):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("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",ze,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(B,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,onChange:a=>K(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(g,{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==="checkboxRadio"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:6,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",He,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(B,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,onChange:a=>q(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(g,{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:7,label:l.label,rules:l.rules,disabled:l.disabled||s.value.isDisabled,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",Fe,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(S,{onChange:a=>m(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(N,{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:8,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",Le,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(D,{"disabled-date":l.disabledDate,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,["disabled-date","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:9,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",Ye,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(D,{"disabled-date":l.disabledDate,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,["disabled-date","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:10,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",Te,"*")):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:11,label:l.label,rules:l.rules.phoneNumber,class:"phone_item",prop:[l.field.phoneNumber]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",Me,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(y,{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(S,{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(N,{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:12,label:l.label},{default:e.withCtx(()=>[$e]),_:2},1032,["label"])),[[e.vShow,!l.isHide]]):e.withDirectives((e.openBlock(),e.createBlock(t,{key:13,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",Pe,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(y,{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=>b(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)])):i.colNum===1?(e.openBlock(),e.createElementBlock("div",Ie,[e.createVNode(H,{gutter:20},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.formItemList,(l,E)=>e.withDirectives((e.openBlock(),e.createBlock(z,{xs:24,sm:24,md:24,lg:24,xl:24,key:E},{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",je,[e.createElementVNode("span",Re,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("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",We,"*")):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(y,{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=>b(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(y,{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=>b(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(y,{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=>b(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(y,{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=>b(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("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),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,{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,Ae)]),_: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("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",Ge,"*")):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",Je,e.toDisplayString(l.labelBefore),1),e.createElementVNode("span",Qe,e.toDisplayString(l.labelNode),1),l.required?(e.openBlock(),e.createElementBlock("span",Xe,"*")):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("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",Ze,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(B,{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),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(g,{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==="checkboxRadio"?e.withDirectives((e.openBlock(),e.createBlock(t,{key:6,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",ve,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(B,{modelValue:o.value[l.field],"onUpdate:modelValue":a=>o.value[l.field]=a,onChange:a=>q(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(g,{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:7,label:l.label,rules:l.rules,disabled:l.disabled||s.value.isDisabled,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",el,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(S,{onChange:a=>m(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(N,{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:8,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",ll,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(D,{"disabled-date":l.disabledDate,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,["disabled-date","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:9,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",al,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(D,{"disabled-date":l.disabledDate,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,["disabled-date","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:10,label:l.label,rules:l.rules,prop:[l.field],class:"rule_err"},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",ol,"*")):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:11,label:l.label,rules:l.rules.phoneNumber,prop:[l.field.phoneNumber],class:"phone_item"},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",dl,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(y,{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(S,{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(N,{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:12,label:l.label},{default:e.withCtx(()=>[tl]),_:2},1032,["label"])),[[e.vShow,!l.isHide]]):e.withDirectives((e.openBlock(),e.createBlock(t,{key:13,label:l.label,rules:l.rules,prop:[l.field]},{label:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle([{display:"inline-block"},l.lableStyle])},e.toDisplayString(l.label),5),l.required?(e.openBlock(),e.createElementBlock("span",rl,"*")):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(y,{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=>b(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:Y},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value.btnConfig,(i,T)=>(e.openBlock(),e.createElementBlock("div",{key:T},[i.isShow?(e.openBlock(),e.createBlock(cl,{key:0,btnCode:i.btnCode,plain:i.plain,primary:i.primary,info:i.info,text:i.text,link:i.link,loading:i.loading,loadingColor:i.loadingColor,width:i.width,height:i.height,circle:i.circle,color:i.color,bgColor:i.bgColor,borderColor:i.borderColor,borderStyle:i.borderStyle,borderWidth:i.borderWidth,icon:i.icon,size:i.size,fontSize:i.fontSize,fontWeight:i.fontWeight,styleOjb:{...i.style},class:e.normalizeClass(i.class),onHandleClick:l=>sl(l,i.isRule,i.emitName)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.name),1)]),_:2},1032,["btnCode","plain","primary","info","text","link","loading","loadingColor","width","height","circle","color","bgColor","borderColor","borderStyle","borderWidth","icon","size","fontSize","fontWeight","styleOjb","class","onHandleClick"])):e.createCommentVNode("",!0)]))),128))],!0)]),_:3})]),_:3},16,["model","label-position"])}}}),il="",F=((x,U)=>{const _=x.__vccOpts||x;for(const[w,o]of U)_[w]=o;return _})(nl,[["__scopeId","data-v-48beeedd"]]);function L(x,U={}){L.installed||(L.installed=!0,x.component("common-el-form",F))}return F.install=L,F});
|
|
1
|
+
(function(l,D){typeof exports=="object"&&typeof module<"u"?module.exports=D(require("vue")):typeof define=="function"&&define.amd?define(["vue"],D):(l=typeof globalThis<"u"?globalThis:l||self,l.Form=D(l.Vue))})(this,function(l){"use strict";const D={props:{fieldList:{type:Array,required:!0},model:Object,options:Object},emits:["selectChange","radioChange","checkChange","submit","reset"],setup(h,{emit:f}){const V=l.ref({}),o=l.ref(null),E=l.computed(()=>Object.assign([],h.options)),q=()=>{console.log("3`222",h.model),V.value=h.model},t=(p,y,B)=>{o.value&&(y?o.value.validate(c=>{if(c)f(B||"submit",V.value,p);else return!1}):B==="reset"?o.value.resetFields():f(B||"submit",V.value,p))},i=(p,y)=>{f("selectChange",p,y)},b=(p,y)=>{f("radioChange",p,y)},k=(p,y)=>{f("checkChange",p,y)},_=(p,y)=>{const B=V.value[y].length;B!==1&&(B>1&&V.value[y].shift(),f("checkChange",p,y))},w=(p,y,B)=>{t(p,y,B)},x=(p,y)=>{p&&(y==null?void 0:y.key)==="Enter"&&t(void 0,!0,"submit")},C=()=>{o.value.resetFields()},g=()=>{o.value.clearValidate()};l.onMounted(()=>{q()});const S=l.reactive({count:0,text:"hello"});return l.watch(()=>h.fieldList,(p,y)=>{p!==y&&q()}),{...l.toRefs(S),formRef:o,model:V,_options:E,onSubmit:t,selectChange:i,radioChange:b,checkChange:k,handleCheckedChange:_,handleClick:w,handleKeyUp:x,resetFieldsTest:C,clearValidateTest:g}}},oe="",F=(h,f)=>{const V=h.__vccOpts||h;for(const[o,E]of f)V[o]=E;return V},m=h=>(l.pushScopeId("data-v-92bd879a"),h=h(),l.popScopeId(),h),Y={key:0},H={class:"header-title"},M={class:"title-content"},L={key:0,class:"custom-required"},T={key:0,class:"custom-required"},P=["src"],I={key:0,class:"custom-required"},O={class:"lable"},R={class:"lable_note"},j={key:0,class:"custom-required"},W={key:0,class:"custom-required"},A={key:0,class:"custom-required"},G={key:0,class:"custom-required"},J={key:0,class:"custom-required"},Q={key:0,class:"custom-required"},X={key:0,class:"custom-required"},Z={key:0,class:"custom-required"},$=m(()=>l.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"20px 0"}},null,-1)),u={key:0,class:"custom-required"},v={key:1},ll={class:"header-title"},el={class:"title-content"},al={key:0,class:"custom-required"},ol={key:0,class:"custom-required"},dl=["src"],nl={key:0,class:"custom-required"},rl={class:"lable"},tl={class:"lable_note"},sl={key:0,class:"custom-required"},cl={key:0,class:"custom-required"},il={key:0,class:"custom-required"},pl={key:0,class:"custom-required"},yl={key:0,class:"custom-required"},hl={key:0,class:"custom-required"},bl={key:0,class:"custom-required"},kl={key:0,class:"custom-required"},fl=m(()=>l.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"20px 0"}},null,-1)),Vl={key:0,class:"custom-required"},_l={key:2},wl={class:"header-title"},xl={class:"title-content"},Cl={key:0,class:"custom-required"},gl={key:0,class:"custom-required"},Bl=["src"],Nl={key:0,class:"custom-required"},Sl={class:"lable"},Dl={class:"lable_note"},ml={key:0,class:"custom-required"},El={key:0,class:"custom-required"},Ul={key:0,class:"custom-required"},Kl={key:0,class:"custom-required"},ql={key:0,class:"custom-required"},zl={key:0,class:"custom-required"},Fl={key:0,class:"custom-required"},Yl={key:0,class:"custom-required"},Hl=m(()=>l.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"20px 0"}},null,-1)),Ml={key:0,class:"custom-required"},Ll={key:3},Tl={class:"header-title"},Pl={class:"title-content"},Il={key:0,class:"custom-required"},Ol={key:0,class:"custom-required"},Rl=["src"],jl={key:0,class:"custom-required"},Wl={class:"lable"},Al={class:"lable_note"},Gl={key:0,class:"custom-required"},Jl={key:0,class:"custom-required"},Ql={key:0,class:"custom-required"},Xl={key:0,class:"custom-required"},Zl={key:0,class:"custom-required"},$l={key:0,class:"custom-required"},ul={key:0,class:"custom-required"},vl={key:0,class:"custom-required"},le=m(()=>l.createElementVNode("div",{class:"line",style:{"border-top":"1px solid #e8e8e8",width:"100%",height:"0px",margin:"20px 0"}},null,-1)),ee={key:0,class:"custom-required"};function ae(h,f,V,o,E,q){const t=l.resolveComponent("el-form-item"),i=l.resolveComponent("el-input"),b=l.resolveComponent("el-radio"),k=l.resolveComponent("el-radio-group"),_=l.resolveComponent("el-checkbox"),w=l.resolveComponent("el-checkbox-group"),x=l.resolveComponent("el-option"),C=l.resolveComponent("el-select"),g=l.resolveComponent("el-date-picker"),S=l.resolveComponent("el-col"),p=l.resolveComponent("el-row"),y=l.resolveComponent("sinosoft-common-button"),B=l.resolveComponent("el-form");return l.openBlock(),l.createBlock(B,l.mergeProps({"hide-required-asterisk":"",onSubmit:f[0]||(f[0]=l.withModifiers(()=>{},["prevent"])),model:o.model},o._options,{"label-position":o._options.labelPosition,ref:"formRef"}),{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(V.fieldList,(c,z)=>(l.openBlock(),l.createElementBlock("div",{key:z},[c.colNum===4?(l.openBlock(),l.createElementBlock("div",Y,[l.createVNode(p,{gutter:10},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(c.formItemList,(e,N)=>l.withDirectives((l.openBlock(),l.createBlock(S,{xs:24,sm:6,md:6,lg:6,xl:6,key:N},{default:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle(e.style)},[e.type==="title"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:0},{default:l.withCtx(()=>[l.createElementVNode("div",H,[l.createElementVNode("span",M,l.toDisplayString(e.title),1)])]),_:2},1536)),[[l.vShow,!e.isHide]]):e.type==="name"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:1,label:e.label,disabled:e.disabled||o._options.isDisabled,class:"container_name",rules:e.rules.nameEnFamily},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",L,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(t,{rules:e.rules.nameEnFamily,prop:[e.field.nameEnFamily],class:"item-name"},{default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,modelValue:o.model[e.field.nameEnFamily],"onUpdate:modelValue":a=>o.model[e.field.nameEnFamily]=a,"show-word-limit":"",readonly:e.readonly,type:e.type?e.type:"text",placeholder:e.placeholderNameEnFamily,disabled:e.disabled||o._options.isDisabled,onKeyup:l.withKeys(a=>o.handleKeyUp(e.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),l.createVNode(t,{rules:e.rules.nameEn,prop:[e.field.nameEn],class:"item-name-right"},{default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,modelValue:o.model[e.field.nameEn],"onUpdate:modelValue":a=>o.model[e.field.nameEn]=a,readonly:e.readonly,type:e.type?e.type:"text",placeholder:e.placeholderNameEn,disabled:e.disabled||o._options.isDisabled,onKeyup:l.withKeys(a=>o.handleKeyUp(e.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),l.createVNode(t,{rules:e.rules.nameChFamily,prop:[e.field.nameChFamily],class:"item-name"},{default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,modelValue:o.model[e.field.nameChFamily],"onUpdate:modelValue":a=>o.model[e.field.nameChFamily]=a,readonly:e.readonly,type:e.type?e.type:"text",placeholder:e.placeholderNameChFamily,disabled:e.disabled||o._options.isDisabled,onKeyup:l.withKeys(a=>o.handleKeyUp(e.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),l.createVNode(t,{rules:e.rules.nameCh,prop:[e.field.nameCh],class:"item-name-right"},{default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,modelValue:o.model[e.field.nameCh],"onUpdate:modelValue":a=>o.model[e.field.nameCh]=a,readonly:e.readonly,type:e.type?e.type:"text",placeholder:e.placeholderNameCh,disabled:e.disabled||o._options.isDisabled,onKeyup:l.withKeys(a=>o.handleKeyUp(e.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])]),_:2},1032,["label","disabled","rules"])),[[l.vShow,!e.isHide]]):e.type==="gender"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:2,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",T,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(k,{modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,disabled:e.disabled||o._options.isDisabled,onChange:a=>o.radioChange(a,e.field)},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r;return l.openBlock(),l.createBlock(b,{label:d[((n=e.options)==null?void 0:n.valueKey)||"code"],size:"large",key:d[((r=e.options)==null?void 0:r.valueKey)||"code"]},{default:l.withCtx(()=>[l.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,P)]),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="radio"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:3,label:e.label,rules:e.rules,prop:[e.field],class:l.normalizeClass([e.labelNode?"radio_Note":"rule_err"])},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",I,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(k,{modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,disabled:e.disabled||o._options.isDisabled,onChange:a=>o.radioChange(a,e.field)},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r;return l.openBlock(),l.createBlock(b,{size:"large",label:d[((n=e.options)==null?void 0:n.valueKey)||"code"],key:d[((r=e.options)==null?void 0:r.valueKey)||"code"]},{default:l.withCtx(()=>{var s;return[l.createTextVNode(l.toDisplayString(d[((s=e.options)==null?void 0:s.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[l.vShow,!e.isHide]]):e.type==="radioNote"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:4,label:e.label,rules:e.rules,prop:[e.field],class:l.normalizeClass([e.labelNode?"radio_Note":"rule_err"])},{default:l.withCtx(()=>[l.createElementVNode("div",null,[l.createElementVNode("span",O,l.toDisplayString(e.labelBefore),1),l.createElementVNode("span",R,l.toDisplayString(e.labelNode),1),e.required?(l.openBlock(),l.createElementBlock("span",j,"*")):l.createCommentVNode("",!0)]),l.createVNode(k,{modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,disabled:e.disabled||o._options.isDisabled,onChange:a=>o.radioChange(a,e.field)},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r;return l.openBlock(),l.createBlock(b,{size:"large",label:d[((n=e.options)==null?void 0:n.valueKey)||"code"],key:d[((r=e.options)==null?void 0:r.valueKey)||"code"]},{default:l.withCtx(()=>{var s;return[l.createTextVNode(l.toDisplayString(d[((s=e.options)==null?void 0:s.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[l.vShow,!e.isHide]]):e.type==="checkbox"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:5,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",W,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(w,{modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,onChange:a=>o.checkChange(a,e.field),disabled:e.disabled||o._options.isDisabled,style:l.normalizeStyle(e.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r;return l.openBlock(),l.createBlock(_,{key:d[((n=e.options)==null?void 0:n.valueKey)||"code"],label:d[((r=e.options)==null?void 0:r.valueKey)||"code"]},{default:l.withCtx(()=>{var s;return[l.createTextVNode(l.toDisplayString(d[((s=e.options)==null?void 0:s.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="checkboxRadio"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:6,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",A,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(w,{modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,onChange:a=>o.handleCheckedChange(a,e.field),disabled:e.disabled||o._options.isDisabled,style:l.normalizeStyle(e.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r;return l.openBlock(),l.createBlock(_,{key:d[((n=e.options)==null?void 0:n.valueKey)||"code"],label:d[((r=e.options)==null?void 0:r.valueKey)||"code"]},{default:l.withCtx(()=>{var s;return[l.createTextVNode(l.toDisplayString(d[((s=e.options)==null?void 0:s.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="select"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:7,label:e.label,rules:e.rules,disabled:e.disabled||o._options.isDisabled,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",G,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(C,{onChange:a=>o.selectChange(a,e.field),modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,disabled:e.disabled||o._options.isDisabled,placeholder:e.placeholder,clearable:e.clearable},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r,s;return l.openBlock(),l.createBlock(x,{key:d[((n=e.options)==null?void 0:n.valueKey)||"code"],label:d[((r=e.options)==null?void 0:r.labelkey)||"name"],value:d[((s=e.options)==null?void 0:s.valueKey)||"code"]},null,8,["label","value"])}),128))]}),_:2},1032,["onChange","modelValue","onUpdate:modelValue","disabled","placeholder","clearable"]),l.createElementVNode("div",{class:"item_tips_blow",style:l.normalizeStyle(e.tipsBlowStyle)},l.toDisplayString(e.tipsBlow),5)]),_:2},1032,["label","rules","disabled","prop"])),[[l.vShow,!e.isHide]]):e.type==="date"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:8,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",J,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(g,{format:"DD/MM/YYYY","value-format":"DD/MM/YYYY","disabled-date":e.disabledDate,modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,disabled:e.disabled||o._options.isDisabled,readonly:e.readonly,type:e.type,placeholder:e.placeholder||e.label},null,8,["disabled-date","modelValue","onUpdate:modelValue","disabled","readonly","type","placeholder"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="daterange"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:9,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",Q,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(g,{format:"DD/MM/YYYY","value-format":"DD/MM/YYYY","disabled-date":e.disabledDate,modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,type:"daterange","range-separator":"To","start-placeholder":e.startPlaceholder,"end-placeholder":e.endPlaceholder,size:"large"},null,8,["disabled-date","modelValue","onUpdate:modelValue","start-placeholder","end-placeholder"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="slotItem"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:10,label:e.label,rules:e.rules,prop:[e.field],class:"rule_err"},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",X,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.renderSlot(h.$slots,e.slotItemName,{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="phone"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:11,label:e.label,rules:e.rules.phoneNumber,prop:[e.field.phoneNumber],class:"phone_item"},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",Z,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,modelValue:o.model[e.field.phoneNumber],"onUpdate:modelValue":a=>o.model[e.field.phoneNumber]=a,disabled:e.disabled||o._options.isDisabled,placeholder:e.placeholder||"请选择",clearable:e.clearable},{prepend:l.withCtx(()=>{var a;return[l.createVNode(C,{disabled:e.disabled||o._options.isDisabled,modelValue:o.model[e.field.areaCode],"onUpdate:modelValue":d=>o.model[e.field.areaCode]=d,placeholder:((a=e.options)==null?void 0:a.placeholder)||"请选择",style:{width:"115px"}},{default:l.withCtx(()=>{var d;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((d=e.options)==null?void 0:d.data,(n,r)=>(l.openBlock(),l.createBlock(x,{label:n.name,value:n.code,key:r},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"])),[[l.vShow,!e.isHide]]):e.type==="line"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:12,label:e.label},{default:l.withCtx(()=>[$]),_:2},1032,["label"])),[[l.vShow,!e.isHide]]):l.withDirectives((l.openBlock(),l.createBlock(t,{key:13,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",u,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,readonly:e.readonly,type:e.type?e.type:"text",placeholder:e.placeholder||e.label,disabled:e.disabled||o._options.isDisabled,showPassword:e.showPassword,clearable:e.clearable,onKeyup:l.withKeys(a=>o.handleKeyUp(e.enterable),["enter"])},l.createSlots({_:2},[e.prepend?{name:"prepend",fn:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(e.field),1)]),key:"0"}:void 0,e.append?{name:"append",fn:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(e.append),1)]),key:"1"}:void 0]),1032,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","showPassword","clearable","onKeyup"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]])],4)]),_:2},1024)),[[l.vShow,!e.isHide]])),128))]),_:2},1024)])):c.colNum===3?(l.openBlock(),l.createElementBlock("div",v,[l.createVNode(p,{gutter:20},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(c.formItemList,(e,N)=>l.withDirectives((l.openBlock(),l.createBlock(S,{xs:24,sm:8,md:8,lg:8,xl:8,key:N},{default:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle(e.style)},[e.type==="title"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:0},{default:l.withCtx(()=>[l.createElementVNode("div",ll,[l.createElementVNode("span",el,l.toDisplayString(e.title),1)])]),_:2},1536)),[[l.vShow,!e.isHide]]):e.type==="name"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:1,label:e.label,disabled:e.disabled||o._options.isDisabled,class:"container_name",rules:e.rules.nameEnFamily},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",al,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(t,{rules:e.rules.nameEnFamily,prop:[e.field.nameEnFamily],class:"item-name"},{default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,modelValue:o.model[e.field.nameEnFamily],"onUpdate:modelValue":a=>o.model[e.field.nameEnFamily]=a,readonly:e.readonly,type:e.type?e.type:"text",placeholder:e.placeholderNameEnFamily,disabled:e.disabled||o._options.isDisabled,onKeyup:l.withKeys(a=>o.handleKeyUp(e.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),l.createVNode(t,{rules:e.rules.nameEn,prop:[e.field.nameEn],class:"item-name-right"},{default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,modelValue:o.model[e.field.nameEn],"onUpdate:modelValue":a=>o.model[e.field.nameEn]=a,readonly:e.readonly,type:e.type?e.type:"text",placeholder:e.placeholderNameEn,disabled:e.disabled||o._options.isDisabled,onKeyup:l.withKeys(a=>o.handleKeyUp(e.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),l.createVNode(t,{rules:e.rules.nameChFamily,prop:[e.field.nameChFamily],class:"item-name"},{default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,modelValue:o.model[e.field.nameChFamily],"onUpdate:modelValue":a=>o.model[e.field.nameChFamily]=a,readonly:e.readonly,type:e.type?e.type:"text",placeholder:e.placeholderNameChFamily,disabled:e.disabled||o._options.isDisabled,onKeyup:l.withKeys(a=>o.handleKeyUp(e.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),l.createVNode(t,{rules:e.rules.nameCh,prop:[e.field.nameCh],class:"item-name-right"},{default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,modelValue:o.model[e.field.nameCh],"onUpdate:modelValue":a=>o.model[e.field.nameCh]=a,readonly:e.readonly,type:e.type?e.type:"text",placeholder:e.placeholderNameCh,disabled:e.disabled||o._options.isDisabled,onKeyup:l.withKeys(a=>o.handleKeyUp(e.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])]),_:2},1032,["label","disabled","rules"])),[[l.vShow,!e.isHide]]):e.type==="gender"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:2,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",ol,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(k,{modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,disabled:e.disabled||o._options.isDisabled,onChange:a=>o.radioChange(a,e.field)},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r;return l.openBlock(),l.createBlock(b,{label:d[((n=e.options)==null?void 0:n.valueKey)||"code"],size:"large",key:d[((r=e.options)==null?void 0:r.valueKey)||"code"]},{default:l.withCtx(()=>[l.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,dl)]),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="radio"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:3,label:e.label,rules:e.rules,prop:[e.field],class:l.normalizeClass([e.labelNode?"radio_Note":"rule_err"])},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",nl,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(k,{modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,disabled:e.disabled||o._options.isDisabled,onChange:a=>o.radioChange(a,e.field)},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r;return l.openBlock(),l.createBlock(b,{size:"large",label:d[((n=e.options)==null?void 0:n.valueKey)||"code"],key:d[((r=e.options)==null?void 0:r.valueKey)||"code"]},{default:l.withCtx(()=>{var s;return[l.createTextVNode(l.toDisplayString(d[((s=e.options)==null?void 0:s.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[l.vShow,!e.isHide]]):e.type==="radioNote"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:4,label:e.label,rules:e.rules,prop:[e.field],class:l.normalizeClass([e.labelNode?"radio_Note":"rule_err"])},{default:l.withCtx(()=>[l.createElementVNode("div",null,[l.createElementVNode("span",rl,l.toDisplayString(e.labelBefore),1),l.createElementVNode("span",tl,l.toDisplayString(e.labelNode),1),e.required?(l.openBlock(),l.createElementBlock("span",sl,"*")):l.createCommentVNode("",!0)]),l.createVNode(k,{modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,disabled:e.disabled||o._options.isDisabled,onChange:a=>o.radioChange(a,e.field)},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r;return l.openBlock(),l.createBlock(b,{size:"large",label:d[((n=e.options)==null?void 0:n.valueKey)||"code"],key:d[((r=e.options)==null?void 0:r.valueKey)||"code"]},{default:l.withCtx(()=>{var s;return[l.createTextVNode(l.toDisplayString(d[((s=e.options)==null?void 0:s.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[l.vShow,!e.isHide]]):e.type==="checkbox"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:5,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",cl,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(w,{modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,onChange:a=>o.checkChange(a,e.field),disabled:e.disabled||o._options.isDisabled,style:l.normalizeStyle(e.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r;return l.openBlock(),l.createBlock(_,{key:d[((n=e.options)==null?void 0:n.valueKey)||"code"],label:d[((r=e.options)==null?void 0:r.valueKey)||"code"]},{default:l.withCtx(()=>{var s;return[l.createTextVNode(l.toDisplayString(d[((s=e.options)==null?void 0:s.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="checkboxRadio"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:6,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",il,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(w,{modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,onChange:a=>o.handleCheckedChange(a,e.field),disabled:e.disabled||o._options.isDisabled,style:l.normalizeStyle(e.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r;return l.openBlock(),l.createBlock(_,{key:d[((n=e.options)==null?void 0:n.valueKey)||"code"],label:d[((r=e.options)==null?void 0:r.valueKey)||"code"]},{default:l.withCtx(()=>{var s;return[l.createTextVNode(l.toDisplayString(d[((s=e.options)==null?void 0:s.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="select"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:7,label:e.label,rules:e.rules,disabled:e.disabled||o._options.isDisabled,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",pl,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(C,{onChange:a=>o.selectChange(a,e.field),modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,disabled:e.disabled||o._options.isDisabled,placeholder:e.placeholder,clearable:e.clearable},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r,s;return l.openBlock(),l.createBlock(x,{key:d[((n=e.options)==null?void 0:n.valueKey)||"code"],label:d[((r=e.options)==null?void 0:r.labelkey)||"name"],value:d[((s=e.options)==null?void 0:s.valueKey)||"code"]},null,8,["label","value"])}),128))]}),_:2},1032,["onChange","modelValue","onUpdate:modelValue","disabled","placeholder","clearable"]),l.createElementVNode("div",{class:"item_tips_blow",style:l.normalizeStyle(e.tipsBlowStyle)},l.toDisplayString(e.tipsBlow),5)]),_:2},1032,["label","rules","disabled","prop"])),[[l.vShow,!e.isHide]]):e.type==="date"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:8,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",yl,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(g,{format:"DD/MM/YYYY","value-format":"DD/MM/YYYY","disabled-date":e.disabledDate,modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,disabled:e.disabled||o._options.isDisabled,readonly:e.readonly,type:e.type,placeholder:e.placeholder||e.label},null,8,["disabled-date","modelValue","onUpdate:modelValue","disabled","readonly","type","placeholder"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="daterange"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:9,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",hl,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(g,{format:"DD/MM/YYYY","value-format":"DD/MM/YYYY","disabled-date":e.disabledDate,modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,type:"daterange","range-separator":"To","start-placeholder":e.startPlaceholder,"end-placeholder":e.endPlaceholder,size:"large"},null,8,["disabled-date","modelValue","onUpdate:modelValue","start-placeholder","end-placeholder"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="slotItem"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:10,label:e.label,rules:e.rules,prop:[e.field],class:"rule_err"},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",bl,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.renderSlot(h.$slots,e.slotItemName,{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="phone"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:11,label:e.label,class:"phone_item",rules:e.rules.phoneNumber,prop:[e.field.phoneNumber]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",kl,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,modelValue:o.model[e.field.phoneNumber],"onUpdate:modelValue":a=>o.model[e.field.phoneNumber]=a,disabled:e.disabled||o._options.isDisabled,placeholder:e.placeholder||"请选择",clearable:e.clearable},{prepend:l.withCtx(()=>{var a;return[l.createVNode(C,{disabled:e.disabled||o._options.isDisabled,modelValue:o.model[e.field.areaCode],"onUpdate:modelValue":d=>o.model[e.field.areaCode]=d,placeholder:((a=e.options)==null?void 0:a.placeholder)||"请选择",style:{width:"115px"}},{default:l.withCtx(()=>{var d;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((d=e.options)==null?void 0:d.data,(n,r)=>(l.openBlock(),l.createBlock(x,{label:n.name,value:n.code,key:r},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"])),[[l.vShow,!e.isHide]]):e.type==="line"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:12,label:e.label},{default:l.withCtx(()=>[fl]),_:2},1032,["label"])),[[l.vShow,!e.isHide]]):l.withDirectives((l.openBlock(),l.createBlock(t,{key:13,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",Vl,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,readonly:e.readonly,type:e.type?e.type:"text",placeholder:e.placeholder||e.label,disabled:e.disabled||o._options.isDisabled,showPassword:e.showPassword,clearable:e.clearable,onKeyup:l.withKeys(a=>o.handleKeyUp(e.enterable),["enter"])},l.createSlots({_:2},[e.prepend?{name:"prepend",fn:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(e.field),1)]),key:"0"}:void 0,e.append?{name:"append",fn:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(e.append),1)]),key:"1"}:void 0]),1032,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","showPassword","clearable","onKeyup"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]])],4)]),_:2},1024)),[[l.vShow,!e.isHide]])),128))]),_:2},1024)])):c.colNum===2?(l.openBlock(),l.createElementBlock("div",_l,[l.createVNode(p,{gutter:20},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(c.formItemList,(e,N)=>l.withDirectives((l.openBlock(),l.createBlock(S,{xs:24,sm:12,md:12,lg:12,xl:12,key:N},{default:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle(e.style)},[e.type==="title"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:0},{default:l.withCtx(()=>[l.createElementVNode("div",wl,[l.createElementVNode("span",xl,l.toDisplayString(e.title),1)])]),_:2},1536)),[[l.vShow,!e.isHide]]):e.type==="name"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:1,label:e.label,disabled:e.disabled||o._options.isDisabled,class:"container_name",rules:e.rules.nameEnFamily},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",Cl,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(t,{rules:e.rules.nameEnFamily,prop:[e.field.nameEnFamily],class:"item-name"},{default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,modelValue:o.model[e.field.nameEnFamily],"onUpdate:modelValue":a=>o.model[e.field.nameEnFamily]=a,readonly:e.readonly,type:e.type?e.type:"text",placeholder:e.placeholderNameEnFamily,disabled:e.disabled||o._options.isDisabled,onKeyup:l.withKeys(a=>o.handleKeyUp(e.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),l.createVNode(t,{rules:e.rules.nameEn,prop:[e.field.nameEn],class:"item-name-right"},{default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,modelValue:o.model[e.field.nameEn],"onUpdate:modelValue":a=>o.model[e.field.nameEn]=a,readonly:e.readonly,type:e.type?e.type:"text",placeholder:e.placeholderNameEn,disabled:e.disabled||o._options.isDisabled,onKeyup:l.withKeys(a=>o.handleKeyUp(e.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),l.createVNode(t,{rules:e.rules.nameChFamily,prop:[e.field.nameChFamily],class:"item-name"},{default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,modelValue:o.model[e.field.nameChFamily],"onUpdate:modelValue":a=>o.model[e.field.nameChFamily]=a,readonly:e.readonly,type:e.type?e.type:"text",placeholder:e.placeholderNameChFamily,disabled:e.disabled||o._options.isDisabled,onKeyup:l.withKeys(a=>o.handleKeyUp(e.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),l.createVNode(t,{rules:e.rules.nameCh,prop:[e.field.nameCh],class:"item-name-right"},{default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,modelValue:o.model[e.field.nameCh],"onUpdate:modelValue":a=>o.model[e.field.nameCh]=a,readonly:e.readonly,type:e.type?e.type:"text",placeholder:e.placeholderNameCh,disabled:e.disabled||o._options.isDisabled,onKeyup:l.withKeys(a=>o.handleKeyUp(e.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])]),_:2},1032,["label","disabled","rules"])),[[l.vShow,!e.isHide]]):e.type==="gender"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:2,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",gl,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(k,{modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,disabled:e.disabled||o._options.isDisabled,onChange:a=>o.radioChange(a,e.field)},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r;return l.openBlock(),l.createBlock(b,{label:d[((n=e.options)==null?void 0:n.valueKey)||"code"],size:"large",key:d[((r=e.options)==null?void 0:r.valueKey)||"code"]},{default:l.withCtx(()=>[l.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,Bl)]),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="radio"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:3,label:e.label,rules:e.rules,prop:[e.field],class:l.normalizeClass([e.labelNode?"radio_Note":"rule_err"])},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",Nl,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(k,{modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,disabled:e.disabled||o._options.isDisabled,onChange:a=>o.radioChange(a,e.field)},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r;return l.openBlock(),l.createBlock(b,{size:"large",label:d[((n=e.options)==null?void 0:n.valueKey)||"code"],key:d[((r=e.options)==null?void 0:r.valueKey)||"code"]},{default:l.withCtx(()=>{var s;return[l.createTextVNode(l.toDisplayString(d[((s=e.options)==null?void 0:s.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[l.vShow,!e.isHide]]):e.type==="radioNote"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:4,label:e.label,rules:e.rules,prop:[e.field],class:l.normalizeClass([e.labelNode?"radio_Note":"rule_err"])},{default:l.withCtx(()=>[l.createElementVNode("div",null,[l.createElementVNode("span",Sl,l.toDisplayString(e.labelBefore),1),l.createElementVNode("span",Dl,l.toDisplayString(e.labelNode),1),e.required?(l.openBlock(),l.createElementBlock("span",ml,"*")):l.createCommentVNode("",!0)]),l.createVNode(k,{modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,disabled:e.disabled||o._options.isDisabled,onChange:a=>o.radioChange(a,e.field)},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r;return l.openBlock(),l.createBlock(b,{size:"large",label:d[((n=e.options)==null?void 0:n.valueKey)||"code"],key:d[((r=e.options)==null?void 0:r.valueKey)||"code"]},{default:l.withCtx(()=>{var s;return[l.createTextVNode(l.toDisplayString(d[((s=e.options)==null?void 0:s.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[l.vShow,!e.isHide]]):e.type==="checkbox"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:5,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",El,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(w,{modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,onChange:a=>o.checkChange(a,e.field),disabled:e.disabled||o._options.isDisabled,style:l.normalizeStyle(e.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r;return l.openBlock(),l.createBlock(_,{key:d[((n=e.options)==null?void 0:n.valueKey)||"code"],label:d[((r=e.options)==null?void 0:r.valueKey)||"code"]},{default:l.withCtx(()=>{var s;return[l.createTextVNode(l.toDisplayString(d[((s=e.options)==null?void 0:s.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="checkboxRadio"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:6,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",Ul,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(w,{modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,onChange:a=>o.handleCheckedChange(a,e.field),disabled:e.disabled||o._options.isDisabled,style:l.normalizeStyle(e.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r;return l.openBlock(),l.createBlock(_,{key:d[((n=e.options)==null?void 0:n.valueKey)||"code"],label:d[((r=e.options)==null?void 0:r.valueKey)||"code"]},{default:l.withCtx(()=>{var s;return[l.createTextVNode(l.toDisplayString(d[((s=e.options)==null?void 0:s.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="select"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:7,label:e.label,rules:e.rules,disabled:e.disabled||o._options.isDisabled,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",Kl,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(C,{onChange:a=>o.selectChange(a,e.field),modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,disabled:e.disabled||o._options.isDisabled,placeholder:e.placeholder,clearable:e.clearable},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r,s;return l.openBlock(),l.createBlock(x,{key:d[((n=e.options)==null?void 0:n.valueKey)||"code"],label:d[((r=e.options)==null?void 0:r.labelkey)||"name"],value:d[((s=e.options)==null?void 0:s.valueKey)||"code"]},null,8,["label","value"])}),128))]}),_:2},1032,["onChange","modelValue","onUpdate:modelValue","disabled","placeholder","clearable"]),l.createElementVNode("div",{class:"item_tips_blow",style:l.normalizeStyle(e.tipsBlowStyle)},l.toDisplayString(e.tipsBlow),5)]),_:2},1032,["label","rules","disabled","prop"])),[[l.vShow,!e.isHide]]):e.type==="date"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:8,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",ql,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(g,{format:"DD/MM/YYYY","value-format":"DD/MM/YYYY","disabled-date":e.disabledDate,modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,disabled:e.disabled||o._options.isDisabled,readonly:e.readonly,type:e.type,placeholder:e.placeholder||e.label},null,8,["disabled-date","modelValue","onUpdate:modelValue","disabled","readonly","type","placeholder"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="daterange"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:9,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",zl,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(g,{format:"DD/MM/YYYY","value-format":"DD/MM/YYYY","disabled-date":e.disabledDate,modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,type:"daterange","range-separator":"To","start-placeholder":e.startPlaceholder,"end-placeholder":e.endPlaceholder,size:"large"},null,8,["disabled-date","modelValue","onUpdate:modelValue","start-placeholder","end-placeholder"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="slotItem"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:10,label:e.label,rules:e.rules,prop:[e.field],class:"rule_err"},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",Fl,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.renderSlot(h.$slots,e.slotItemName,{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="phone"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:11,label:e.label,rules:e.rules.phoneNumber,class:"phone_item",prop:[e.field.phoneNumber]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",Yl,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,modelValue:o.model[e.field.phoneNumber],"onUpdate:modelValue":a=>o.model[e.field.phoneNumber]=a,disabled:e.disabled||o._options.isDisabled,placeholder:e.placeholder||"请选择",clearable:e.clearable},{prepend:l.withCtx(()=>{var a;return[l.createVNode(C,{disabled:e.disabled||o._options.isDisabled,modelValue:o.model[e.field.areaCode],"onUpdate:modelValue":d=>o.model[e.field.areaCode]=d,placeholder:((a=e.options)==null?void 0:a.placeholder)||"请选择",style:{width:"115px"}},{default:l.withCtx(()=>{var d;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((d=e.options)==null?void 0:d.data,(n,r)=>(l.openBlock(),l.createBlock(x,{label:n.name,value:n.code,key:r},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"])),[[l.vShow,!e.isHide]]):e.type==="line"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:12,label:e.label},{default:l.withCtx(()=>[Hl]),_:2},1032,["label"])),[[l.vShow,!e.isHide]]):l.withDirectives((l.openBlock(),l.createBlock(t,{key:13,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",Ml,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,readonly:e.readonly,type:e.type?e.type:"text",placeholder:e.placeholder||e.label,disabled:e.disabled||o._options.isDisabled,showPassword:e.showPassword,clearable:e.clearable,onKeyup:l.withKeys(a=>o.handleKeyUp(e.enterable),["enter"])},l.createSlots({_:2},[e.prepend?{name:"prepend",fn:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(e.field),1)]),key:"0"}:void 0,e.append?{name:"append",fn:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(e.append),1)]),key:"1"}:void 0]),1032,["maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","showPassword","clearable","onKeyup"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]])],4)]),_:2},1024)),[[l.vShow,!e.isHide]])),128))]),_:2},1024)])):c.colNum===1?(l.openBlock(),l.createElementBlock("div",Ll,[l.createVNode(p,{gutter:20},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(c.formItemList,(e,N)=>l.withDirectives((l.openBlock(),l.createBlock(S,{xs:24,sm:24,md:24,lg:24,xl:24,key:N},{default:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle(e.style)},[e.type==="title"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:0},{default:l.withCtx(()=>[l.createElementVNode("div",Tl,[l.createElementVNode("span",Pl,l.toDisplayString(e.title),1)])]),_:2},1536)),[[l.vShow,!e.isHide]]):e.type==="name"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:1,label:e.label,disabled:e.disabled||o._options.isDisabled,class:"container_name",rules:e.rules.nameEnFamily},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",Il,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(t,{rules:e.rules.nameEnFamily,prop:[e.field.nameEnFamily],class:"item-name"},{default:l.withCtx(()=>[l.createVNode(i,{name:e.field.nameEnFamily,maxlength:e.maxlength,modelValue:o.model[e.field.nameEnFamily],"onUpdate:modelValue":a=>o.model[e.field.nameEnFamily]=a,readonly:e.readonly,type:e.type?e.type:"text",placeholder:e.placeholderNameEnFamily,disabled:e.disabled||o._options.isDisabled,onKeyup:l.withKeys(a=>o.handleKeyUp(e.enterable),["enter"])},null,8,["name","maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),l.createVNode(t,{rules:e.rules.nameEn,prop:[e.field.nameEn],class:"item-name-right"},{default:l.withCtx(()=>[l.createVNode(i,{name:e.field.nameEn,maxlength:e.maxlength,modelValue:o.model[e.field.nameEn],"onUpdate:modelValue":a=>o.model[e.field.nameEn]=a,readonly:e.readonly,type:e.type?e.type:"text",placeholder:"item.placeholderNameEn",disabled:e.disabled||o._options.isDisabled,onKeyup:l.withKeys(a=>o.handleKeyUp(e.enterable),["enter"])},null,8,["name","maxlength","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),l.createVNode(t,{rules:e.rules.nameChFamily,prop:[e.field.nameChFamily],class:"item-name"},{default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,name:e.field.nameChFamily,modelValue:o.model[e.field.nameChFamily],"onUpdate:modelValue":a=>o.model[e.field.nameChFamily]=a,readonly:e.readonly,type:e.type?e.type:"text",placeholder:e.placeholderNameChFamily,disabled:e.disabled||o._options.isDisabled,onKeyup:l.withKeys(a=>o.handleKeyUp(e.enterable),["enter"])},null,8,["maxlength","name","modelValue","onUpdate:modelValue","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"]),l.createVNode(t,{rules:e.rules.nameCh,prop:[e.field.nameCh],class:"item-name-right"},{default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,modelValue:o.model[e.field.nameCh],"onUpdate:modelValue":a=>o.model[e.field.nameCh]=a,name:e.field.nameCh,readonly:e.readonly,type:e.type?e.type:"text",placeholder:e.placeholderNameCh,disabled:e.disabled||o._options.isDisabled,onKeyup:l.withKeys(a=>o.handleKeyUp(e.enterable),["enter"])},null,8,["maxlength","modelValue","onUpdate:modelValue","name","readonly","type","placeholder","disabled","onKeyup"])]),_:2},1032,["rules","prop"])]),_:2},1032,["label","disabled","rules"])),[[l.vShow,!e.isHide]]):e.type==="gender"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:2,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",Ol,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(k,{modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,disabled:e.disabled||o._options.isDisabled,onChange:a=>o.radioChange(a,e.field)},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r;return l.openBlock(),l.createBlock(b,{label:d[((n=e.options)==null?void 0:n.valueKey)||"code"],size:"large",key:d[((r=e.options)==null?void 0:r.valueKey)||"code"]},{default:l.withCtx(()=>[l.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,Rl)]),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="radio"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:3,label:e.label,rules:e.rules,prop:[e.field],class:l.normalizeClass([e.labelNode?"radio_Note":"rule_err"])},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",jl,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(k,{modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,disabled:e.disabled||o._options.isDisabled,onChange:a=>o.radioChange(a,e.field)},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r;return l.openBlock(),l.createBlock(b,{size:"large",label:d[((n=e.options)==null?void 0:n.valueKey)||"code"],key:d[((r=e.options)==null?void 0:r.valueKey)||"code"]},{default:l.withCtx(()=>{var s;return[l.createTextVNode(l.toDisplayString(d[((s=e.options)==null?void 0:s.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[l.vShow,!e.isHide]]):e.type==="radioNote"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:4,label:e.label,rules:e.rules,prop:[e.field],class:l.normalizeClass([e.labelNode?"radio_Note":"rule_err"])},{default:l.withCtx(()=>[l.createElementVNode("div",null,[l.createElementVNode("span",Wl,l.toDisplayString(e.labelBefore),1),l.createElementVNode("span",Al,l.toDisplayString(e.labelNode),1),e.required?(l.openBlock(),l.createElementBlock("span",Gl,"*")):l.createCommentVNode("",!0)]),l.createVNode(k,{modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,disabled:e.disabled||o._options.isDisabled,onChange:a=>o.radioChange(a,e.field)},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r;return l.openBlock(),l.createBlock(b,{size:"large",label:d[((n=e.options)==null?void 0:n.valueKey)||"code"],key:d[((r=e.options)==null?void 0:r.valueKey)||"code"]},{default:l.withCtx(()=>{var s;return[l.createTextVNode(l.toDisplayString(d[((s=e.options)==null?void 0:s.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:2},1032,["label","rules","prop","class"])),[[l.vShow,!e.isHide]]):e.type==="checkbox"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:5,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",Jl,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(w,{modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,disabled:e.disabled||o._options.isDisabled,onChange:a=>o.checkChange(a,e.field),style:l.normalizeStyle(e.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r;return l.openBlock(),l.createBlock(_,{key:d[((n=e.options)==null?void 0:n.valueKey)||"code"],label:d[((r=e.options)==null?void 0:r.valueKey)||"code"]},{default:l.withCtx(()=>{var s;return[l.createTextVNode(l.toDisplayString(d[((s=e.options)==null?void 0:s.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange","style"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="checkboxRadio"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:6,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",Ql,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(w,{modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,onChange:a=>o.handleCheckedChange(a,e.field),disabled:e.disabled||o._options.isDisabled,style:l.normalizeStyle(e.ways==="row"?"display: flex; align-items: flex-start;flex-flow: row nowrap; ":"display: flex; align-items: flex-start;flex-flow: column nowrap; ")},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r;return l.openBlock(),l.createBlock(_,{key:d[((n=e.options)==null?void 0:n.valueKey)||"code"],label:d[((r=e.options)==null?void 0:r.valueKey)||"code"]},{default:l.withCtx(()=>{var s;return[l.createTextVNode(l.toDisplayString(d[((s=e.options)==null?void 0:s.labelkey)||"name"]),1)]}),_:2},1032,["label"])}),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange","disabled","style"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="select"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:7,label:e.label,rules:e.rules,disabled:e.disabled||o._options.isDisabled,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",Xl,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(C,{onChange:a=>o.selectChange(a,e.field),modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,disabled:e.disabled||o._options.isDisabled,placeholder:e.placeholder,clearable:e.clearable},{default:l.withCtx(()=>{var a;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((a=e.options)==null?void 0:a.data,d=>{var n,r,s;return l.openBlock(),l.createBlock(x,{key:d[((n=e.options)==null?void 0:n.valueKey)||"code"],label:d[((r=e.options)==null?void 0:r.labelkey)||"name"],value:d[((s=e.options)==null?void 0:s.valueKey)||"code"]},null,8,["label","value"])}),128))]}),_:2},1032,["onChange","modelValue","onUpdate:modelValue","disabled","placeholder","clearable"]),l.createElementVNode("div",{class:"item_tips_blow",style:l.normalizeStyle(e.tipsBlowStyle)},l.toDisplayString(e.tipsBlow),5)]),_:2},1032,["label","rules","disabled","prop"])),[[l.vShow,!e.isHide]]):e.type==="date"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:8,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",Zl,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(g,{format:"DD/MM/YYYY","value-format":"DD/MM/YYYY","disabled-date":e.disabledDate,modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,disabled:e.disabled||o._options.isDisabled,readonly:e.readonly,type:e.type,placeholder:e.placeholder||e.label},null,8,["disabled-date","modelValue","onUpdate:modelValue","disabled","readonly","type","placeholder"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="daterange"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:9,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",$l,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(g,{format:"DD/MM/YYYY","value-format":"DD/MM/YYYY","disabled-date":e.disabledDate,modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,type:"daterange","range-separator":"To","start-placeholder":e.startPlaceholder,"end-placeholder":e.endPlaceholder,size:"large"},null,8,["disabled-date","modelValue","onUpdate:modelValue","start-placeholder","end-placeholder"])]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="slotItem"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:10,label:e.label,rules:e.rules,prop:[e.field],class:"rule_err"},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",ul,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.renderSlot(h.$slots,e.slotItemName,{},void 0,!0)]),_:2},1032,["label","rules","prop"])),[[l.vShow,!e.isHide]]):e.type==="phone"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:11,label:e.label,rules:e.rules.phoneNumber,prop:[e.field.phoneNumber],class:"phone_item"},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",vl,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,modelValue:o.model[e.field.phoneNumber],"onUpdate:modelValue":a=>o.model[e.field.phoneNumber]=a,disabled:e.disabled||o._options.isDisabled,placeholder:e.placeholder||"请选择",clearable:e.clearable},{prepend:l.withCtx(()=>{var a;return[l.createVNode(C,{disabled:e.disabled||o._options.isDisabled,modelValue:o.model[e.field.areaCode],"onUpdate:modelValue":d=>o.model[e.field.areaCode]=d,placeholder:((a=e.options)==null?void 0:a.placeholder)||"请选择",style:{width:"115px"}},{default:l.withCtx(()=>{var d;return[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((d=e.options)==null?void 0:d.data,(n,r)=>(l.openBlock(),l.createBlock(x,{label:n.name,value:n.code,key:r},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"])),[[l.vShow,!e.isHide]]):e.type==="line"?l.withDirectives((l.openBlock(),l.createBlock(t,{key:12,label:e.label},{default:l.withCtx(()=>[le]),_:2},1032,["label"])),[[l.vShow,!e.isHide]]):l.withDirectives((l.openBlock(),l.createBlock(t,{key:13,label:e.label,rules:e.rules,prop:[e.field]},{label:l.withCtx(()=>[l.createElementVNode("div",{style:l.normalizeStyle([{display:"inline-block"},e.lableStyle])},l.toDisplayString(e.label),5),e.required?(l.openBlock(),l.createElementBlock("span",ee,"*")):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createVNode(i,{maxlength:e.maxlength,modelValue:o.model[e.field],"onUpdate:modelValue":a=>o.model[e.field]=a,readonly:e.readonly,type:e.type?e.type:"text",placeholder:e.placeholder||e.label,disabled:e.disabled||o._options.isDisabled,showPassword:e.showPassword,clearable:e.clearable,autosize:e.autosize,rows:e.rows,onKeyup:l.withKeys(a=>o.handleKeyUp(e.enterable),["enter"])},l.createSlots({_:2},[e.prepend?{name:"prepend",fn:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(e.field),1)]),key:"0"}:void 0,e.append?{name:"append",fn:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(e.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"])),[[l.vShow,!e.isHide]])],4)]),_:2},1024)),[[l.vShow,!e.isHide]])),128))]),_:2},1024)])):l.createCommentVNode("",!0)]))),128)),l.createVNode(t,{class:"btnsItem"},{default:l.withCtx(()=>[l.renderSlot(h.$slots,"buttons",{model:o.model,onBtnClick:o.onSubmit},()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(o._options.btnConfig,(c,z)=>(l.openBlock(),l.createElementBlock("div",{key:z},[c.isShow?(l.openBlock(),l.createBlock(y,{key:0,btnCode:c.btnCode,plain:c.plain,primary:c.primary,info:c.info,text:c.text,link:c.link,loading:c.loading,loadingColor:c.loadingColor,width:c.width,height:c.height,circle:c.circle,color:c.color,bgColor:c.bgColor,borderColor:c.borderColor,borderStyle:c.borderStyle,borderWidth:c.borderWidth,icon:c.icon,size:c.size,fontSize:c.fontSize,fontWeight:c.fontWeight,styleObj:{...c.style},class:l.normalizeClass(c.class),onHandleClick:e=>o.handleClick(e,c.isRule,c.emitName)},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(c.name),1)]),_:2},1032,["btnCode","plain","primary","info","text","link","loading","loadingColor","width","height","circle","color","bgColor","borderColor","borderStyle","borderWidth","icon","size","fontSize","fontWeight","styleObj","class","onHandleClick"])):l.createCommentVNode("",!0)]))),128))],!0)]),_:3})]),_:3},16,["model","label-position"])}const U=F(D,[["render",ae],["__scopeId","data-v-92bd879a"]]);function K(h,f={}){K.installed||(K.installed=!0,h.component("common-el-form",U))}return U.install=K,U});
|
package/package.json
CHANGED
package/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";[data-v-
|
|
1
|
+
@charset "UTF-8";[data-v-92bd879a] .el-date-editor{height:60px!important;width:100%!important}.form-item[data-v-92bd879a]{width:50%;display:inline-block;padding-right:0;box-sizing:border-box}[data-v-92bd879a] .el-input__inner{height:42px;color:#1d1d1d}[data-v-92bd879a] .el-card__body{padding:0}[data-v-92bd879a] .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-92bd879a] .el-form-item__label{font-size:16px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Medium;min-height:22px!important}.form-item-title[data-v-92bd879a]{width:100%}[data-v-92bd879a] .el-checkbox-group,[data-v-92bd879a] .el-radio-group{height:62px;line-height:62px}[data-v-92bd879a] .el-radio-group .el-radio{height:auto}.rule_err[data-v-92bd879a] .el-form-item__content,.radio_Note[data-v-92bd879a] .el-form-item__content{display:block}.radio_Note .lable[data-v-92bd879a]{font-size:16px;line-height:22px;color:#1d1d1d;font-weight:400;font-family:Roboto Medium}.radio_Note .lable_note[data-v-92bd879a]{font-size:16px;line-height:22px;color:#6e6e73;font-weight:400;font-family:Roboto Medium}.container_name[data-v-92bd879a] .el-form-item__content{align-items:start}[data-v-92bd879a] .el-form-item__error{position:relative}.item-name[data-v-92bd879a]{width:51%;padding-right:20px;padding-bottom:12px;box-sizing:border-box}.item-name-right[data-v-92bd879a]{width:49%;padding-bottom:12px;padding-right:0}.btnsItem[data-v-92bd879a]{width:100%;margin:0 auto;justify-content:right}.btnsItem[data-v-92bd879a] .el-form-item__content{justify-content:right}label[data-v-92bd879a]{display:block}.title-content[data-v-92bd879a]{font-size:22px;line-height:30px;color:#1d1d1d;font-weight:300;font-family:Roboto Medium}[data-v-92bd879a] .el-input-group--prepend .el-input-group__prepend .el-select .el-input .el-input__wrapper{background-color:#fff;width:80px}[data-v-92bd879a] .el-input__wrapper{height:60px;border-radius:8px;border:1px solid #c7c8ca;box-shadow:none!important}.phone_item[data-v-92bd879a] .el-input__wrapper{border-left:0px!important}.phone_item[data-v-92bd879a] .el-input-group__prepend{box-shadow:none!important}.phone_item[data-v-92bd879a] .el-input-group__prepend .el-input__wrapper{height:60px;border-radius:8px;border:1px solid #c7c8ca!important;border-right:0px!important;box-shadow:none!important}.phone_item[data-v-92bd879a] .el-input-group__prepend .el-input__wrapper .el-input__suffix{display:none;width:0!important}.phone_item[data-v-92bd879a] .el-input-group__prepend:hover{box-shadow:none!important}.phone_item[data-v-92bd879a] .el-input-group__prepend:hover .el-input__wrapper:hover{border:none;border-right:0px!important;box-shadow:none!important}.phone_item[data-v-92bd879a] .el-input-group__prepend:hover .el-input__wrapper:hover .el-input__suffix{display:none;width:0!important}[data-v-92bd879a] .el-select{width:100%}.custom-required[data-v-92bd879a]{content:"*";color:#e2a650;margin-left:4px}.item_tips_blow[data-v-92bd879a]{font-size:14px;line-height:22px;color:#00000073;font-weight:400;font-family:Roboto Medium;width:100%;word-wrap:break-word;white-space:normal}
|