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.

8 lines
4.6 KiB

var m=Object.defineProperty;var S=(N,o,t)=>o in N?m(N,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):N[o]=t;var d=(N,o,t)=>(S(N,typeof o!="symbol"?o+"":o,t),t);import{Groups as T,Group as h}from"./Group-ab70f402.js";import{PageModelEdit as p}from"./EnumLab-d43291c1.js";import{Pages as P,Page as l}from"./Page-34b19d96.js";import{W as E}from"./index-f4658ae7.js";import{D as H}from"./DataType-33901a1c.js";import{Helps as D,Help as B}from"./Help-be517e8f.js";import"./ParamUtils-cdc24dd6.js";import"./SystemConfig-b93c25b3.js";import"./bignumber-cf158d26.js";import"./ParamsUtils-3cbc5822.js";class y{constructor(o){d(this,"SubPages");d(this,"Groups");d(this,"Helps");d(this,"classID","");d(this,"entity",null);d(this,"KeyOfEn","");d(this,"PageTitle","");d(this,"Icon","icon-note");d(this,"_groupNo","");d(this,"Btns",[]);d(this,"params",{});d(this,"HelpUn",`
#### \u5E2E\u52A9\u672A\u7F16\u5199
- \u8BF7\u5728QQ\u7FA4\u91CC\u63D0\u95EE.
- \u8BF7\u5728doc.ccbpm.cn\u5728\u7EBF\u6587\u6863\u67E5\u627E.
- \u8BF7\u8DDF\u8E2A\u4EE3\u7801.
`);o&&(this.classID=o),this.SubPages=new P,this.Groups=new T,this.Helps=new D}get RefPKVal(){return this.params.RefPKVal}setParams(o){this.params=o}get EnClassID(){return this.params.EnClassID}get PKVal(){return this.params.PKVal}GetRequestVal(o){const t=this.params[o];return t||E(o),t}AddHelp(o,t,g,i){const a=new B;a.No=o,a.Name=t,a.Url=g,a.MM=i,this.Helps.Add(a)}AddGroup(o,t){this._groupNo=o;const g=new h;g.No=o,g.Name=t,this.Groups.Add(g)}SelfComponent(o,t,g,i){const a=new l;a.No=o,a.Name=t,a.GroupNo=this._groupNo,a.Component=g,a.ComponentParams=i,this.SubPages.Add(a)}Blank(o,t,g){const i=new l;i.No=o,i.Name=t,i.GroupNo=this._groupNo,i.HelpDocs=g,i.HisPageModelEdit=p.Blank,this.SubPages.Add(i)}SingleEnumRadioButon(o,t,g,i,a,e){const s=new l;s.No=o,s.Name=t,s.GroupNo=this._groupNo,s.HelpDocs=i,s.HisPageModelEdit=p.SingleEnumRadioButton,s.Tag0=g,s.Tag1=e,s.Tag2=a,this.SubPages.Add(s)}SingleEnumDDL(o,t,g,i,a){const e=new l;e.No=o,e.Name=t,e.GroupNo=this._groupNo,e.HelpDocs=i,e.HisPageModelEdit=p.SingleDDLEnum,e.Tag0=g,e.Tag1=a,this.SubPages.Add(e)}SingleDDLSQL(o,t,g,i,a,e=!1){const s=new l;s.No=o,s.Name=t,s.GroupNo=this._groupNo,s.HelpDocs=i,s.HisPageModelEdit=p.SingleDDLSQL,s.Tag0=g,s.Tag1=a,s.IsMultiSelect=e,this.SubPages.Add(s)}SingleDDLEntities(o,t,g,i,a,e=!1){const s=new l;s.No=o,s.Name=t,s.GroupNo=this._groupNo,s.HelpDocs=i,s.HisPageModelEdit=p.SingleDDLEntities,s.Tag0=g,s.Tag1=a,s.IsMultiSelect=e,this.SubPages.Add(s)}TextBox2(o,t,g,i,a,e,s){const u=new l;u.No=o,u.Name=t,u.GroupNo=this._groupNo,u.HelpDocs=s,u.HisPageModelEdit=p.TextBox2,u.Tag0=g,u.Tag1=i,u.Tag2=a,u.Tag3=e,this.SubPages.Add(u)}SingleTB(o,t,g,i,a,e){const s=new l;s.No=o,s.Name=t,s.GroupNo=this._groupNo,s.HelpDocs=i,s.HisPageModelEdit=p.SingleTB,s.Tag0=g,s.Tag1=a,e||(e=H.AppString),s.Tag2=e,this.SubPages.Add(s)}SingleCheckBox(o,t,g,i,a){const e=new l;e.No=o,e.Name=t,e.GroupNo=this._groupNo,e.HelpDocs=a,e.HisPageModelEdit=p.SingleCheckbox,e.Tag1=g,e.Tag0=i,this.SubPages.Add(e)}SingleTextArea(o,t,g,i,a){const e=new l;e.No=o,e.Name=t,e.GroupNo=this._groupNo,e.HelpDocs=a,e.HisPageModelEdit=p.SingleTextArea,e.Tag0=g,e.Tag1=i,this.SubPages.Add(e)}SingleRichTxt(o,t,g,i,a){const e=new l;e.No=o,e.Name=t,e.GroupNo=this._groupNo,e.HelpDocs=a,e.HisPageModelEdit=p.SingleRichTxt,e.Tag0=g,e.Tag1=i,this.SubPages.Add(e)}SingleTBSQL(o,t,g,i,a="\u8BF7\u9605\u8BFB\u8BBE\u7F6E\u8BF4\u660E."){const e=new l;e.No=o,e.Name=t,e.GroupNo=this._groupNo,e.HelpDocs=i,e.HisPageModelEdit=p.SingleTBSQL,e.Tag0=g,e.Tag1=a,this.SubPages.Add(e)}AddEntity(o,t,g,i="\u65E0\u63CF\u8FF0",a){const e=new l;e.No=o,e.Name=t,e.GroupNo=this._groupNo,e.HisPageModelEdit=p.Entity,e.HisEntity=g,e.HelpDocs=i,e.Tag0=a,this.SubPages.Add(e)}SelectItemsByList(o,t,g,i=!1,a,e,s=""){const u=new l;u.No=o,u.Name=t,u.GroupNo=this._groupNo,u.HelpDocs=g,u.HisPageModelEdit=p.SelectItemsByList,u.IsMultiSelect=i,u.Tag1=a,u.Tag0=e,u.Tag6=s,this.SubPages.Add(u)}SelectItemsByGroupList(o,t,g,i=!1,a,e,s,u=""){const n=new l;n.No=o,n.Name=t,n.GroupNo=this._groupNo,n.HelpDocs=g,n.HisPageModelEdit=p.SelectItemsByGroupList,n.IsMultiSelect=i,n.Tag0=s,n.Tag1=a,n.Tag2=e,n.Tag6=u,this.SubPages.Add(n)}SelectItemsByTree(o,t,g,i=!1,a,e,s,u=""){const n=new l;n.No=o,n.Name=t,n.GroupNo=this._groupNo,n.HelpDocs=g,n.HisPageModelEdit=p.SelectItemsByTree,n.IsMultiSelect=i,n.Tag5=a,n.Tag1=e,n.Tag4=s,n.Tag0=u,n.Tag6=u,this.SubPages.Add(n)}SelectItemsByTreeEns(o,t,g,i=!1,a,e,s,u,n,c=""){const r=new l;r.No=o,r.Name=t,r.GroupNo=this._groupNo,r.HelpDocs=g,r.HisPageModelEdit=p.SelectItemsByTreeEns,r.IsMultiSelect=i,r.Tag5=a,r.Tag1=e,r.Tag2=s,r.Tag3=u,r.Tag0=n,r.Tag6=c,this.SubPages.Add(r)}}export{y as PageBaseGroupEdit};