|
|
|
+var i=Object.defineProperty;var a=(F,t,u)=>t in F?i(F,t,{enumerable:!0,configurable:!0,writable:!0,value:u}):F[t]=u;var o=(F,t,u)=>(a(F,typeof t!="symbol"?t+"":t,u),u);var s=(F,t,u)=>new Promise((e,B)=>{var n=r=>{try{E(u.next(r))}catch(A){B(A)}},D=r=>{try{E(u.throw(r))}catch(A){B(A)}},E=r=>r.done?e(r.value):Promise.resolve(r.value).then(n,D);E((u=u.apply(F,t)).next())});import{UAC as C}from"./UAC-387312fa.js";import{Map as p}from"./Map-41d61276.js";import{EntityMyPK as d}from"./EntityMyPK-c78e9637.js";import{RefMethodType as l,RefMethod as m}from"./RefMethod-d9c3c728.js";import g from"./BSEntity-716bce77.js";import"./index-e57033b0.js";import"./Attrs-11d5d809.js";import"./EnumLab-3cbd0812.js";import"./DataType-bb392609.js";import"./ParamUtils-cdc24dd6.js";import"./SystemConfig-36dc3ed1.js";import"./bignumber-cf158d26.js";import"./ParamsUtils-3cbc5822.js";import"./Attr-c82803b2.js";import"./SearchNormal-5c7fda42.js";import"./SearchFKEnum-31a3a609.js";import"./Glo-d63e1a88.js";import"./EnMapExt-8e17025c.js";import"./Entities-5c770499.js";class O extends d{constructor(u){super("TS.WF.ARBindWebApi");o(this,"Help",`
|
|
|
|
+ `);u&&this.setPKVal(u)}get HisUAC(){const u=new C;return u.IsDelete=!1,u.IsUpdate=!0,u.IsInsert=!1,u}get EnMap(){const u=new p("WF_Part","\u7ED1\u5B9AWebApi");u.AddGroupAttr("\u57FA\u672C\u8BBE\u7F6E"),u.AddMyPK(),u.AddTBString("FlowNo",null,"FlowNo",!1,!1,0,800,100,!1),u.AddTBInt("NodeID",0,"NodeID",!1,!1),u.AddTBString("Tag0",null,"Url",!0,!1,0,800,100,!0,this.Help),u.AddDDLStringEnum("Tag1","Get","\u8BF7\u6C42\u6A21\u5F0F","@Get=Get\u6A21\u5F0F@POST=Post\u6A21\u5F0F",!0,""),u.AddTBStringDoc("Tag9",null,"\u5907\u6CE8",!0,!1,!0,this.Help),u.AddGroupAttr("POST\u8BBE\u7F6E"),u.AddDDLStringEnum("Tag2","0","\u53C2\u6570\u6A21\u5F0F","@0=\u81EA\u5B9A\u4E49\u6A21\u5F0F@1=\u5168\u91CF\u6A21\u5F0F",!0,this.HelpParaModel),u.AddTBStringDoc("Tag3",null,"\u81EA\u5B9A\u4E49\u6570\u636E\u5185\u5BB9",!0,!1,!0,this.Help),u.AddDDLStringEnum("Tag4","0","\u6570\u636E\u683C\u5F0F","@0=From\u683C\u5F0F@1=JSON\u683C\u5F0F",!0,this.HelpParaModel);const e=new m;return e.Title="\u6267\u884C\u6D4B\u8BD5",e.RefMethodType=l.Func,e.HisAttrs.AddTBString("P",null,"\u8F93\u5165\u53C2\u6570",!0,!1,0,2e3,300,!0,"\u683C\u5F0F@BU=1001@PDT=1002"),e.Warning="\u60A8\u786E\u5B9A\u8981\u6267\u884C\u5417\uFF1F",e.ClassMethod="DoTest",u.AddRefMethod(e),this._enMap=u,this._enMap}DoTest(u){return s(this,null,function*(){const e=new g("BP.WF.Template.Part",this.MyPK);return yield e.Init(),yield e.Retrieve(),"tabOpen@\u63A5\u53D7\u4EBA:"+(yield e.DoMethodReturnString("DoTestARWebApi",u))})}}export{O as ARBindWebApi};
|