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
2.5 KiB
2 lines
2.5 KiB
var A=Object.defineProperty;var d=(r,e,o)=>e in r?A(r,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[e]=o;var u=(r,e,o)=>(d(r,typeof e!="symbol"?e+"":e,o),o);var m=(r,e,o)=>new Promise((T,p)=>{var c=s=>{try{a(o.next(s))}catch(i){p(i)}},D=s=>{try{a(o.throw(s))}catch(i){p(i)}},a=s=>s.done?T(s.value):Promise.resolve(s.value).then(c,D);a((o=o.apply(r,e)).next())});import{UAC as B}from"./UAC-8e255d47.js";import{Map as h}from"./Map-73575e6b.js";import{EntityMyPK as E,EntitiesMyPK as N}from"./EntityMyPK-e742fec8.js";import{a1 as l}from"./index-f4658ae7.js";import{G as n,D as F}from"./DataType-33901a1c.js";import"./Attrs-62391d6b.js";import"./EnumLab-3cbd0812.js";import"./Attr-d5feb8b8.js";import"./ParamUtils-cdc24dd6.js";import"./SystemConfig-b93c25b3.js";import"./bignumber-cf158d26.js";import"./ParamsUtils-3cbc5822.js";import"./RefMethod-33a71db4.js";import"./SearchNormal-5c7fda42.js";import"./SearchFKEnum-31a3a609.js";import"./Glo-fda3f906.js";import"./EnMapExt-8e17025c.js";import"./Entities-6a72b013.js";class t{}u(t,"MyPK","MyPK"),u(t,"AuthType","AuthType"),u(t,"Auther","Auther"),u(t,"AutherName","AutherName"),u(t,"FlowNo","FlowNo"),u(t,"FlowName","FlowName"),u(t,"TakeBackDT","TakeBackDT"),u(t,"AutherToEmpNo","AutherToEmpNo"),u(t,"AutherToEmpName","AutherToEmpName"),u(t,"RDT","RDT");class y extends E{constructor(e){super("TS.Port.Auth"),e&&(this.MyPK=e)}get HisUAC(){const e=new B;return e.IsDelete=!0,e.IsUpdate=!0,e.IsInsert=!0,e}get EnMap(){const e=new h("WF_Auth","\u6388\u6743");return e.AddMyPK(),e.AddTBString(t.Auther,null,"\u6388\u6743\u4EBA",!1,!1,0,100,10),e.AddTBString(t.AutherName,null,"\u6388\u6743\u4EBA",!1,!1,0,100,10),e.AddTBString(t.AutherToEmpNo,null,"\u6388\u6743\u7ED9",!0,!0,0,100,100),e.AddTBString(t.AutherToEmpName,null,"\u540D\u79F0",!0,!0,0,100,100),e.AddDDLSysEnum(t.AuthType,0,"\u6388\u6743\u65B9\u5F0F",!0,!0,"AuthType","@0=\u5168\u90E8\u6D41\u7A0B@1=\u6307\u5B9A\u6D41\u7A0B@2=\u53D6\u6D88",null,!1),e.AddTBString(t.FlowNo,null,"\u6D41\u7A0B",!0,!1,0,100,100,!0),e.SetPopGroupList("FlowNo",n.srcFlowSorts,n.srcFlows,!0,"300px","500px","\u9009\u62E9\u6D41\u7A0B","icon-people"),e.AddTBDate(t.TakeBackDT,null,"\u53D6\u56DE\u65E5\u671F",!0,!1),e.AddTBDate(t.RDT,"@RDT","\u8BB0\u5F55\u65E5\u671F",!0,!0),this._enMap=e,this._enMap}beforeInsert(){return m(this,null,function*(){return this.Auther=l.No,this.AutherName=l.Name,this.RDT=F.CurrentDateTime,Promise.resolve(!0)})}}class H extends N{get GetNewEntity(){return new y}constructor(){super()}}export{y as Auth,t as AuthAttr,H as Auths};
|