You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
19 KiB
2 lines
19 KiB
var R=Object.defineProperty;var F=(m,e,n)=>e in m?R(m,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):m[e]=n;var c=(m,e,n)=>(F(m,typeof e!="symbol"?e+"":e,n),n);import{Attrs as P}from"./Attrs-62391d6b.js";import{FieldType as I,UIContralType as f}from"./EnumLab-3cbd0812.js";import{D as y,A as D}from"./DataType-33901a1c.js";import{Attr as T}from"./Attr-d5feb8b8.js";import{RefMethods as C,RefMethodType as u,RefMethod as M}from"./RefMethod-33a71db4.js";import{DTSearchWay as U,SearchNormals as K,SearchNormal as g}from"./SearchNormal-5c7fda42.js";import{SearchFKEnums as L}from"./SearchFKEnum-31a3a609.js";import{Glo as S}from"./Glo-fda3f906.js";import{EnMapExts as w,EnMapExt as E}from"./EnMapExt-8e17025c.js";import"./index-f4658ae7.js";import"./ParamUtils-cdc24dd6.js";import"./SystemConfig-b93c25b3.js";import"./bignumber-cf158d26.js";import"./ParamsUtils-3cbc5822.js";class Q{constructor(e,n){c(this,"PhysicsTable","");c(this,"ParaFields","");c(this,"EnDesc","");c(this,"EnClassID","");c(this,"PKs","");c(this,"CodeStruct","2");c(this,"IsAutoGenerNo",!1);c(this,"SearchFieldsOfNum","");c(this,"DTSearchKey","");c(this,"DTSearchLabel","\u65E5\u671F");c(this,"DTSearchWay",U.None);c(this,"loaders",[]);c(this,"attrs",new P);c(this,"enMapExts",new w);c(this,"rms",new C);c(this,"searchNormals",new K);c(this,"searchFKEnums",new L);c(this,"GroupBarShowModel",0);c(this,"FJSavePath","");c(this,"currRMGroupName","\u57FA\u672C\u4FE1\u606F");c(this,"currRMGroupIcon","icon-drop");c(this,"currAttrName","\u57FA\u672C\u4FE1\u606F");c(this,"HisBPEntityAthType",0);this.PhysicsTable=e||"",this.EnDesc=n||""}AddMyPK(e){this.PKs="MyPK",this.AddTBStringPK("MyPK",null,"\u4E3B\u952EMyPK",e,!0,1,100,10)}SetHelperAlert(e,n){const l=this.GetAttrByKey(e);l.HelperUrl='<i class="icon-user"></i>'+n}SetHelperUrl(e,n){const l=this.GetAttrByKey(e);l.HelperUrl=n}GetAttrByKey(e){const n=this.attrs.find(l=>l.Key.toUpperCase()===e.toUpperCase());if(n)return n;throw new Error(`\u9519\u8BEF:\u6CA1\u6709\u627E\u5230key=${e}\u7684\u5C5E\u6027.`)}AddTBIntPK(e,n,l=!1){this.PKs=e;const s=new T;s.Key=e,s.Field=e,s.DefaultVal="0",s.MyDataType=y.AppInt,s.MyFieldType=I.PK,s.Desc=n,s.UIVisible=l,s.UIIsReadonly=!0,this.attrs.Add(s)}AddTBIntPKOID(){this.AddTBIntPK("OID","OID")}AddTBAtParas(e){this.AddTBString("AtPara",null,"AtPara",!1,!0,0,e,10)}AddTBStringPK(e,n,l,s,r,d,i,t,o){this.PKs=e;const a=new T;a.Key=e,a.Field=e,a.DefaultVal=n,a.MyDataType=y.AppString,a.Desc=l||"",a.UIVisible=s||!1,a.UIWidth=t||0,a.UIIsReadonly=r||!1,a.MaxLength=i||20,a.MinLength=d||0,a.MyFieldType=I.PK,a.UIIsLine=o||!1,this.attrs.Add(a)}AddTBString(e,n,l,s,r,d,i,t,o,a){const h=new T;h.Key=e,h.HelperUrl=a||null,h.Field=e,h.DefaultVal=n,h.MyDataType=y.AppString,h.Desc=l||e,h.UIVisible=s||!1,h.UIWidth=t||0,h.UIIsReadonly=r||!1,h.MaxLength=i||50,h.MinLength=d||0,h.MyFieldType=I.Normal,h.UIIsLine=o||!1,this.attrs.Add(h)}AddTBStringDoc(e,n,l,s,r,d,i){const t=new T;t.Key=e,t.HelperUrl=i||null,t.Field=e,t.DefaultVal=n,t.MyDataType=y.AppString,t.Desc=l||e,t.UIVisible=s,t.UIWidth=300,t.UIIsReadonly=r,t.MaxLength=4e3,t.MinLength=0,t.UIHeight=50,t.MyFieldType=I.Normal,t.UIIsLine=d||!0,this.attrs.Add(t)}AddTBInt(e,n,l,s,r,d,i){const t=new T;t.Key=e,t.HelperUrl=i||null,t.Field=e,t.DefaultVal=n,t.MyDataType=y.AppInt,t.Desc=l||e,t.UIVisible=s||!1,t.UIWidth=80,t.UIIsReadonly=r||!1,t.MaxLength=1,t.MinLength=0,t.MyFieldType=I.Normal,t.UIIsLine=d||!0,this.attrs.Add(t)}AddTBMoney(e,n,l,s,r,d,i){const t=new T;t.Key=e,t.HelperUrl=i||null,t.Field=e,t.DefaultVal=n,t.MyDataType=y.AppMoney,t.Desc=l||e,t.UIVisible=s||!1,t.UIWidth=80,t.UIIsReadonly=r||!1,t.MaxLength=1,t.MinLength=0,t.MyFieldType=I.Normal,t.UIIsLine=d||!0,this.attrs.Add(t)}AddTBFloat(e,n,l,s,r,d,i){const t=new T;t.Key=e,t.HelperUrl=i||null,t.Field=e,t.DefaultVal=n,t.MyDataType=y.AppFloat,t.Desc=l||e,t.UIVisible=s||!1,t.UIWidth=80,t.UIIsReadonly=r||!1,t.MaxLength=1,t.MinLength=0,t.MyFieldType=I.Normal,t.UIIsLine=d||!0,this.attrs.Add(t)}AddTBDecimal(e,n,l,s,r,d,i){const t=new T;t.Key=e,t.HelperUrl=i||null,t.Field=e,t.DefaultVal=n,t.MyDataType=y.AppDouble,t.Desc=l||e,t.UIVisible=s||!1,t.UIWidth=80,t.UIIsReadonly=r||!1,t.MaxLength=0,t.MinLength=2,t.MyFieldType=I.Normal,t.UIIsLine=d||!0,this.attrs.Add(t)}AddTBDate(e,n,l,s,r,d,i){const t=new T;t.Key=e,t.HelperUrl=i||null,t.Field=e,t.DefaultVal=n,t.MyDataType=y.AppDate,t.Desc=l||e,t.UIVisible=s||!1,t.UIWidth=120,t.UIIsReadonly=r||!1,t.MaxLength=50,t.MinLength=0,t.MyFieldType=I.Normal,t.UIIsLine=d||!0,this.attrs.Add(t)}AddRichText(e,n,l,s,r,d,i){const t=new T;t.Key=e,t.HelperUrl=i||null,t.Field=e,t.DefaultVal=n,t.MyDataType=y.AppString,t.Desc=l||e,t.UIVisible=s||!1,t.UIWidth=120,t.UIIsReadonly=r||!1,t.MaxLength=1e4,t.MinLength=0,t.MyFieldType=I.Normal,t.UIIsLine=d||!0,t.UIContralType=f.FrmHtml,this.attrs.Add(t)}AddTBDateTime(e,n,l,s,r,d,i){const t=new T;t.Key=e,t.HelperUrl=i||null,t.Field=e,t.DefaultVal=n,t.MyDataType=y.AppDateTime,t.Desc=l||e,t.UIVisible=s||!1,t.UIWidth=120,t.UIIsReadonly=r||!1,t.MaxLength=50,t.MinLength=0,t.MyFieldType=I.Normal,t.UIIsLine=d||!0,this.attrs.Add(t)}AddDDLSysEnum(e,n,l,s,r,d,i,t,o,a){const h=new T;h.Key=e,h.HelperUrl=t||null,h.Field=e,h.DefaultVal=n,h.Desc=l||e,h.UIVisible=s||!1,h.UIWidth=h.Desc.length*20,h.UIIsReadonly=!r,h.MaxLength=2,h.MinLength=0,h.UIBindKey=d||e,h.UITag=i||null,i!=null&&i.indexOf("@")==-1&&alert("\u5B57\u6BB5["+e+"]\u679A\u4E3E\u503CcfgVal\u9519\u8BEF:["+i+"]\u4E0D\u7B26\u5408\u683C\u5F0F@0=xx@1=yy\u7684\u683C\u5F0F."),h.MyDataType=y.AppInt,h.MyFieldType=I.Enum,h.UIContralType=f.DDL,h.UIIsLine=o||!1,h.UIWidth=a||100,this.attrs.Add(h)}AddRadioBtn(e,n,l,s,r,d,i,t,o){const a=new T;a.Key=e,a.HelperUrl=t||null,a.Field=e,a.DefaultVal=n,a.Desc=l||e,a.UIVisible=s||!1,a.UIWidth=150,a.UIIsReadonly=!r,a.MaxLength=2,a.MinLength=0,a.UIBindKey=d||e,a.UITag=i||null,a.MyDataType=y.AppInt,a.MyFieldType=I.Enum,a.UIContralType=f.RadioBtn,a.UIIsLine=o||!1,this.attrs.Add(a)}AddBoolean(e,n,l,s,r,d,i){const t=new T;t.Key=e,t.HelperUrl=i||null,t.Field=e,n?t.DefaultVal=1:t.DefaultVal=0,t.MyDataType=y.AppBoolean,t.Desc=l||e,t.UIVisible=s||!1,t.UIWidth=80,t.UIIsReadonly=!r,t.MaxLength=1,t.MinLength=0,t.MyFieldType=I.Normal,t.UIIsLine=!!d,this.attrs.Add(t)}AddDDLEntities(e,n,l,s,r,d,i){const t=new T;t.Key=e,t.Field=e,t.DefaultVal=n,t.MyDataType=y.AppString,t.MyFieldType=I.FK,t.MaxLength=l.length*2*24,t.MinLength=0,t.Desc=l,t.UIContralType=f.DDL,t.UIBindKey=s._enMap.PhysicsTable+",No,Name,"+s.classID,t.UIIsReadonly=!r,t.HelperUrl=d||null,t.UIIsLine=!!i,this.attrs.Add(t)}AddDDLStringEnum(e,n,l,s,r,d,i,t){const o=new T;o.Key=e,o.Field=e,o.DefaultVal=n,o.MyDataType=y.AppString,o.MyFieldType=I.Normal,o.UIContralType=f.DDL,o.MaxLength=50,o.MinLength=0,o.Desc=l,o.UIBindKey=S.DealSQLStringEnumFormat(s),o.UIIsReadonly=!r,o.HelperUrl=d||null,o.UIIsLine=!!i,o.UIWidth=t||100,this.attrs.Add(o);const a=new T;a.Key=e+"T",a.Field=e+"T",a.DefaultVal=n,a.MyDataType=y.AppString,a.MyFieldType=I.Normal,a.MaxLength=200,a.Desc=l,a.UIContralType=f.TB,a.HelperUrl=d||null,a.UIIsLine=!!i,a.UIIsReadonly=!0,a.UIVisible=!1,this.attrs.Add(a)}AddDDLSQL(e,n,l,s,r,d,i,t){const o=new T;o.Key=e,o.Field=e,o.DefaultVal=n,o.MyDataType=y.AppString,o.MyFieldType=I.Normal,o.MaxLength=50,o.MinLength=0,o.Desc=l,o.UIContralType=f.DDL,o.UIBindKey=s,o.UIIsReadonly=!r,o.HelperUrl=d||null,o.UIIsLine=!!i,o.UIWidth=t||100,this.attrs.Add(o);const a=new T;a.Key=e+"T",a.Field=e+"T",a.DefaultVal=n,a.MyDataType=y.AppString,a.MyFieldType=I.Normal,a.MaxLength=200,a.Desc=l,a.UIContralType=f.TB,a.HelperUrl=d||null,a.UIIsLine=!!i,a.UIIsReadonly=!0,a.UIVisible=!1,this.attrs.Add(a)}AddAthSingle(e,n,l,s,r="*.*",d=""){const i=new T;i.Key=e,i.Field=e,i.DefaultVal="",i.MyDataType=y.AppString,i.MyFieldType=I.Normal,i.MaxLength=200,i.MinLength=0,i.Desc=n,i.UIContralType=f.AthShow,i.UIBindKey="@AthType=AthSingle@Format="+r+"@SaveTo="+d,i.UIIsReadonly=!l,i.UIIsLine=!!s,this.attrs.Add(i)}AddAthMulti(e,n,l,s,r="*.*"){const d=new T;d.Key=e,d.Field=e,d.DefaultVal="",d.MyDataType=y.AppString,d.MyFieldType=I.Normal,d.MaxLength=200,d.MinLength=0,d.Desc=n,d.UIContralType=f.AthShow,d.UIBindKey="@AthType=AthMulti@Format="+r,d.UIIsReadonly=!l,d.UIIsLine=!!s,this.attrs.Add(d)}AddAttrs(e){for(const n of e)this.attrs.Contains(n.Key)||this.attrs.push(n)}AddLang(){this.AddTBString("Nameen",null,"\u82F1\u6587",!0,!1,0,500,150,!1),this.AddTBString("Nameja",null,"\u65E5\u6587",!0,!1,0,500,150,!1)}ToJson(){return this.attrs}AddRefMethod(e){e.GroupName=this.currRMGroupName,e.GroupIcon=this.currRMGroupIcon,this.rms.push(e)}AddRM_En(e,n,l,s="icon-drop"){const r=new M;r.Title=e,r.Icon=s,r.RefMethodType=u.En,r.ClassMethod="/src/WF/Comm/En.vue.vue?EnName="+n+"&PKVal="+l,this.AddRefMethod(r)}AddRM_EnOnly(e,n,l,s="icon-drop"){const r=new M;r.Title=e,r.Icon=s,r.RefMethodType=u.EnOnly,r.ClassMethod="/src/WF/Comm/EnOnly.vue?EnName="+n+"&PKVal="+l,this.AddRefMethod(r)}AddRM_PG(e,n="icon-user"){const l=new M;l.Title=e.PageTitle,l.Icon=n,l.Tag=e,l.RefMethodType=u.PanelGroup,l.ClassMethod="/src/WF/Comm/PanelGroup.vue?EnName="+e.ClassID+"&RefPKVal=@PKVal&PKVal=@PKVal&RefMainEnName="+this.EnClassID,this.AddRefMethod(l)}AddRM_GPE(e,n="icon-user",l=""){const s=new M;s.Title=e.PageTitle,s.Icon=n,s.Tag=e,s.RefMethodType=u.GroupPageEdit,s.Target=l,s.ClassMethod="/src/WF/Comm/UIEntity/GroupPageEdit.vue?EnName="+e.classID+"&Icon="+n,this.AddRefMethod(s)}AddRM_MyView(e,n,l="icon-people"){const s=new M;s.Title=e,s.Icon=l,s.RefMethodType=u.TabIframeOpen,s.ClassMethod="/#/WF/MyView?FK_Flow="+n;const r=["OID","MyPK","No","WorkID"],d=this.attrs.filter(i=>i.MaxLength<=150).filter(i=>!r.includes(i.Key)).map(i=>i.Key);s.ClassMethod+="&"+d.map(i=>`${i}=@${i}`).join("&"),s.ClassMethod+="&EnName="+this.EnClassID+"&EnPKVal=@PKVal&WorkID=@OID",this.AddRefMethod(s)}AddRM_StartFlow(e,n,l="icon-people"){const s=new M;s.Title=e,s.Icon=l,s.RefMethodType=u.TabIframeOpen,s.ClassMethod="/#/WF/MyFlow?FK_Flow="+n;const r=["OID","MyPK","No","WorkID"],d=this.attrs.filter(i=>i.MaxLength<=150).filter(i=>!r.includes(i.Key)).map(i=>i.Key);s.ClassMethod+="&"+d.map(i=>`${i}=@${i}`).join("&"),s.ClassMethod+="&EnName="+this.EnClassID+"&EnPKVal=@PKVal",this.AddRefMethod(s)}AddRM_Commpent_BBS(e,n="icon-people"){const l=new M;l.Title=e,l.Icon=n,l.RefMethodType=u.TabOpen,l.ClassMethod="/src/CCFast/CCBill/Components/FrmBBS/FrmBBS.vue?EnName="+this.EnClassID+"&PKVal=@PKVal",this.AddRefMethod(l)}AddRM_Commpent_Track(e,n="icon-film"){const l=new M;l.Title=e,l.Icon=n,l.RefMethodType=u.TabOpen,l.ClassMethod="/src/CCFast/CCBill/Components/FrmBBS/FrmTrack.vue?EnName="+this.EnClassID+"&PKVal=@PKVal",this.AddRefMethod(l)}AddRM_GPN(e,n="icon-user",l=""){const s=new M;s.Title=e.PageTitle,s.Icon=n,s.Tag=e,s.RefMethodType=u.GroupPageNew,s.Target=l,s.ClassMethod="/src/WF/Comm/UIEntity/GroupPageNew.vue?EnName="+e.classID+"&PKVal=@PKVal&RefMainEnName="+this.EnClassID,this.AddRefMethod(s)}AddRM_GL(e,n="",l="icon-user",s=""){const r=new M;r.Title=n||e.PageTitle,r.Icon=l,r.Tag=e,r.RefMethodType=u.TabOpen,r.ClassMethod="/src/WF/views/GenerList.vue?EnName="+e.ClassID+"&PKVal=@PKVal&RefMainEnName="+this.EnClassID+s,this.AddRefMethod(r)}AddRM_TreeEns(e,n="icon-user",l=""){const s=new M;s.Title=e.PageTitle,s.Icon=n,s.Tag=e,s.RefMethodType=u.TabOpen,s.Target=l,s.ClassMethod="/src/WF/Comm/TreeEns.vue?EnName="+e.ClassID+"&PKVal=@PKVal&RefMainEnName="+this.EnClassID,this.AddRefMethod(s)}AddRM_Search(e,n="icon-user",l="",s=""){const r=new M;s==""?r.Title=e.EnMap.EnDesc:r.Title=s,r.Icon=n,r.Tag=e,r.RefMethodType=u.TabOpen,r.Target=l,r.ClassMethod="/src/WF/Comm/Search.vue?EnName="+e.classID+"&PKVal=@PKVal&RefMainEnName="+this.EnClassID,this.AddRefMethod(r)}AddRM_Group(e,n="icon-user",l="",s=""){const r=new M;s==""?r.Title=e.EnMap.EnDesc:r.Title=s,r.Icon=n,r.Tag=e,r.RefMethodType=u.TabOpen,r.Target=l,r.ClassMethod="/src/WF/Comm/Group.vue?EnName="+e.classID+"&PKVal=@PKVal&RefMainEnName="+this.EnClassID,this.AddRefMethod(r)}AddRM_Ens(e,n="icon-user",l=""){const s=new M;s.Title=e.EnMap.EnDesc,s.Icon=n,s.Tag=e,s.RefMethodType=u.TabOpen,s.Target=l,s.ClassMethod="/src/WF/Comm/Ens.vue?EnName="+e.classID+"&PKVal=@PKVal&RefMainEnName="+this.EnClassID,this.AddRefMethod(s)}AddMapLoader(e){this.loaders.push(e)}AddHidden(e,n,l){const s=new g(e,e,e,n,l,0,!0);this.searchNormals.AddSearchAttr(s)}AddSearchAttr(e){const n=this.GetAttrByKey(e);this.searchFKEnums.Add(n,!0,"",100)}AddRM_DtlBatch(e,n,l,s="",r="",d="icon-user",i=""){const t=new M;t.Title=e,t.Icon=d,t.RefMethodType=u.Dtl,t.ClassMethod=`/src/WF/Comm/Dtl/DtlBatch.vue?EnName=${n.GetNewEntity.classID}&RefPK=${l}&ButsTableTop=${s}&ButsItem=${r}${i}&RefMainEnName=${this.EnClassID}`,this.AddRefMethod(t)}AddGroupAttr(e){this.currAttrName=e,this.attrs.currGroupName=this.currAttrName}AddGroupMethod(e,n="icon-folder"){this.currRMGroupName=e,this.currRMGroupIcon=n}AddRM_DtlSearch(e,n,l,s="",r="",d="",i="icon-user",t=!1,o=""){const a=new M;a.Title=e,a.Icon=i,a.RefMethodType=u.Dtl,a.ClassMethod=`/src/WF/Comm/Dtl/DtlSearch.vue?EnName=${n.GetNewEntity.classID}&RefPK=${l}&RefMainEnName=${this.EnClassID}&ButsTableTop=${s||""}&ButsItem=${r||""}&ShowAttrs=${d}&IsMove=${t?"1":"0"}${o}`,this.AddRefMethod(a)}AddRM_Tree(e,n,l,s="",r="",d="",i="icon-user",t=!1,o=""){const a=new M;a.Title=e,a.Icon=i,a.RefMethodType=u.Dtl,a.ClassMethod=`/src/WF/Comm/Tree.vue?EnName=${n.GetNewEntity.classID}&RefPK=${l}&RefMainEnName=${this.EnClassID}&ButsTableTop=${s||""}&ButsItem=${r||""}&ShowAttrs=${d}&IsMove=${t?"1":"0"}${o}`,this.AddRefMethod(a)}AddRM_UrlRightFrameOpen(e,n,l="icon-user"){const s=new M;s.Title=e,s.ClassMethod=n,s.Icon=l,s.RefMethodType=u.RightFrameOpen,this.AddRefMethod(s)}AddRM_UrlTabOpen(e,n,l="icon-user"){const s=new M;s.Title=e,s.ClassMethod=n,s.Icon=l,s.RefMethodType=u.TabOpen,this.AddRefMethod(s)}AddRM_HelpDocs(e,n,l,s="icon-user"){const r=new M;r.Title=e,r.ClassMethod=n,r.Icon=s,r.params={doc:l},r.RefMethodType=u.TabOpen,this.AddRefMethod(r)}AddRM_Func(e,n,l,s="icon-user"){const r=new M;r.Title=e,r.ClassMethod=n,r.Icon=s,r.RefMethodType=u.Func,r.Warning=l,this.AddRefMethod(r)}AddRM_UrlLinkeWinOpen(e,n,l="icon-user"){const s=new M;s.Title=e,s.ClassMethod=n,s.Icon=l,s.RefMethodType=u.LinkeWinOpen,this.AddRefMethod(s)}AddRM_UrlLinkModel(e,n,l="icon-user"){const s=new M;s.Title=e,s.ClassMethod=n,s.Icon=l,s.RefMethodType=u.LinkModel,this.AddRefMethod(s)}AddRM_OnAttr2Many_List(e,n,l,s,r,d="icon-user"){const i=new M;i.Title=e,i.Icon=d,i.RefMethodType=u.OneAttr2Many;let t="/src/WF/Comm/OnAttr2Many/List.vue?AttrIDs="+n;t+="&AttrLabs="+l,t+="&EnsOfList="+s.GetNewEntity.classID,t+="&FilterExpOfEnsList="+r,i.ClassMethod=t,this.AddRefMethod(i)}AddRM_OnAttr2Many_GroupList(e,n,l,s,r,d,i,t="icon-user"){const o=new M;o.Title=e,o.Icon=t,o.RefMethodType=u.OneAttr2Many;let a="/src/WF/Comm/OnAttr2Many/GroupList.vue?AttrIDs="+n;a+="&AttrLabs="+l,a+="&EnsOfList="+d.GetNewEntity.classID,a+="&FilterExpOfEnsList="+i,a+="&EnsOfGroup="+s.GetNewEntity.classID,a+="&FilterExpOfEnsGroup="+r,o.ClassMethod=a,this.AddRefMethod(o)}AddRM_OnAttr2Many_Tree(e,n,l,s,r,d="icon-user"){const i=new M;i.Title=e,i.Icon=d,i.RefMethodType=u.OneAttr2Many;let t="/src/WF/Comm/OnAttr2Many/Tree.vue?AttrIDs="+n;t+="&AttrLabs="+l,t+="&EnsOfTree="+s.GetNewEntity.classID,t+="&FilterExpOfEnsList="+r,i.ClassMethod=t,this.AddRefMethod(i)}AddRM_OnAttr2Many_TreeEns(e,n,l,s,r,d,i,t="icon-user"){const o=new M;o.Title=e,o.Icon=t,o.RefMethodType=u.OneAttr2Many;let a="/src/WF/Comm/OnAttr2Many/TreeEns.vue?AttrIDs="+n;a+="&AttrLabs="+l,a+="&EnsOfTree="+s.GetNewEntity.classID,a+="&FilterExpTree="+r,a+="&EnsOfList="+d.GetNewEntity.classID,a+="&FilterExpOfEnsList="+i,o.ClassMethod=a,this.AddRefMethod(o)}AddRM_One2Many_List(e,n,l,s,r,d="icon-user"){const i=new M;i.Title=e,i.Icon=d,i.RefMethodType=u.One2Many;let t="/src/WF/Comm/One2Many/List.vue?EnsOfMyPK="+n.GetNewEntity.classID;t+="&EnsOfDict="+l.GetNewEntity.classID,t+="&KeyRefPK="+s,t+="&KeyDict="+r,i.ClassMethod=t,this.AddRefMethod(i)}AddRM_One2Many_GroupList(e,n,l,s,r,d,i,t="icon-user"){const o=new M;o.Title=e,o.Icon=t,o.RefMethodType=u.One2Many;let a="/src/WF/Comm/One2Many/GroupList.vue?EnsOfMyPK="+n.GetNewEntity.classID;a+="&EnsOfDict="+l.GetNewEntity.classID,a+="&KeyRefPK="+s,a+="&KeyDict="+r,a+="&EnsOfGroup="+d.GetNewEntity.classID,a+="&KeyGroupDict="+i,o.ClassMethod=a,this.AddRefMethod(o)}AddRM_One2Many_Tree(e,n,l,s,r,d,i=!1,t="icon-user"){const o=new M;o.Title=e;let a="/src/WF/Comm/One2Many/Tree.vue?EnsOfMyPK="+n.GetNewEntity.classID;a+="&EnsOfDict="+l.GetNewEntity.classID,a+="&KeyRefPK="+s,a+="&KeyDict="+r,a+="&RootNo="+d,i&&d!=""?a+="&IsLazily=1":a+="&IsLazily=0",o.ClassMethod=a,o.Icon=t,o.RefMethodType=u.One2Many,this.AddRefMethod(o)}AddMyFile(e="",n="*.*",l=""){e==null&&(e="\u9644\u4EF6\u6216\u56FE\u7247"),this.AddTBString("MyFileName",null,e,!1,!1,0,300,200),this.AddTBString("MyFilePath",null,e,!1,!1,0,300,200),this.AddTBString("MyFileExt",null,e,!1,!1,0,300,200),this.AddTBString("WebPath",null,e,!0,!0,0,300,200),this.AddTBString("MyFileH",null,e,!1,!1,0,300,200),this.AddTBString("MyFileW",null,e,!1,!1,0,300,200),this.AddTBString("MyFileSize",null,e,!1,!1,0,300,200),this.AddTBString("WebPath",null,e,!1,!1,0,300,200),this.HisBPEntityAthType=1,this.FJSavePath=l}AddRM_One2Many_TreeEns(e,n,l,s,r,d,i=!1,t,o,a="No=\u7F16\u53F7,Name=\u540D\u79F0,Tel=\u7535\u8BDD",h="icon-user"){const A=new M;A.Title=e;let p="/src/WF/Comm/One2Many/TreeEns.vue?EnsOfMyPK="+n.GetNewEntity.classID;p+="&EnsOfDict="+l.GetNewEntity.classID,p+="&KeyRefPK="+s,p+="&KeyDict="+r,p+="&RootNo="+d,i&&d!=""?p+="&IsLazily=1":p+="&IsLazily=0",p+="&SubDicts="+t.GetNewEntity.classID,p+="&SubDictRefKey="+o,p+="&SubDictKeys="+a,A.ClassMethod=p,A.Icon=h,A.RefMethodType=u.One2Many,this.AddRefMethod(A)}SetPopGroupList(e,n,l,s=!0,r="500",d="400",i="\u8BF7\u9009\u62E9",t="icon-options",o="0"){var A;const a=new E;a.AtPara=new D,a.AttrOfOper=e,a.ExtModel="Pop",a.ExtType="PopGroupList",a.Tag1=n,a.Tag2=l,s==!0?a.AtPara.SetVal("IsMultipleChoice","1"):a.AtPara.SetVal("IsMultipleChoice","0"),a.W=r,a.H=d,a.AtPara.SetVal("Label",i),a.AtPara.SetVal("Icon",t),a.AtPara.SetVal("IsShowSearch",o),this.enMapExts.push(a);const h=((A=this.attrs.find(p=>p.Key==e))==null?void 0:A.Desc)||i;this.AddTBString(e+"T",null,h,!1,!0,0,300,100,!1)}SetPopList(e,n,l=!0,s="500",r="400",d="\u8BF7\u9009\u62E9",i="icon-options",t="0"){const o=new E;o.AtPara=new D,o.ExtModel="Pop",o.ExtType="PopList",o.AttrOfOper=e,o.Tag2=n,l==!0?o.AtPara.SetVal("IsMultipleChoice","1"):o.AtPara.SetVal("IsMultipleChoice","0"),o.AtPara.SetVal("Label",d),o.AtPara.SetVal("Icon",i),o.AtPara.SetVal("IsShowSearch",t),o.W=s,o.H=r,this.enMapExts.push(o),this.AddTBString(e+"T",null,e,!1,!0,0,300,100,!1)}SetPopTree(e,n,l,s=!0,r="500",d="400",i="\u8BF7\u9009\u62E9",t="icon-options",o="0"){this.AddTBString(e+"T",null,e,!1,!0,0,300,100,!1);const a=new E;a.AtPara=new D,a.AttrOfOper=e,a.ExtModel="Pop",a.ExtType="PopTree",a.Tag2=n,a.Tag5=l,s==!0?a.AtPara.SetVal("IsMultipleChoice","1"):a.AtPara.SetVal("IsMultipleChoice","0"),a.AtPara.SetVal("Label",i),a.AtPara.SetVal("Icon",t),a.AtPara.SetVal("RootNo",l),a.AtPara.SetVal("IsShowSearch",o),a.W=r,a.H=d,this.enMapExts.push(a)}SetPopTreeEns(e,n,l,s,r="",d=!0,i="500",t="400",o="\u8BF7\u9009\u62E9",a="icon-options",h="0",A="0"){if(n.includes("@Key")==!1){alert("\u9519\u8BEF:SetPopTreeEns\u6570\u636E\u6E90"+n+"\u5FC5\u987B\u5305\u542B@Key\u53D8\u91CF.");return}if(s.includes("@Key")==!1){alert("\u9519\u8BEF:SetPopTreeEns\u6570\u636E\u6E90"+s+"\u5FC5\u987B\u5305\u542B@Key\u53D8\u91CF.");return}const p=new E;p.ExtModel="Pop",p.ExtType="PopTreeEns",p.AtPara=new D,p.AttrOfOper=e,p.Tag1=n,p.Tag3=s,p.Tag4=r,p.Tag5=l,p.Tag6=h,p.AtPara.SetVal("Label",o),p.AtPara.SetVal("Icon",a),p.AtPara.SetVal("IsShowSearch",A),d==!0?p.AtPara.SetVal("IsMultipleChoice","1"):p.AtPara.SetVal("IsMultipleChoice","0"),p.W=i,p.H=t,this.enMapExts.push(p),this.AddTBString(e+"T",null,e,!1,!0,0,300,100,!1)}}export{Q as Map};
|