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
5.0 KiB
2 lines
5.0 KiB
var s=(l,r,e)=>new Promise((t,c)=>{var i=n=>{try{o(e.next(n))}catch(u){c(u)}},a=n=>{try{o(e.throw(n))}catch(u){c(u)}},o=n=>n.done?t(n.value):Promise.resolve(n.value).then(i,a);o((e=e.apply(l,r)).next())});import{FrmTrack as p}from"./FrmTrack-10f0746d.js";import{$ as m}from"./index-f4658ae7.js";import"./UAC-8e255d47.js";import"./Map-73575e6b.js";import"./Attrs-62391d6b.js";import"./EnumLab-3cbd0812.js";import"./DataType-33901a1c.js";import"./ParamUtils-cdc24dd6.js";import"./SystemConfig-b93c25b3.js";import"./bignumber-cf158d26.js";import"./ParamsUtils-3cbc5822.js";import"./Attr-d5feb8b8.js";import"./RefMethod-33a71db4.js";import"./SearchNormal-5c7fda42.js";import"./SearchFKEnum-31a3a609.js";import"./Glo-fda3f906.js";import"./EnMapExt-8e17025c.js";import"./DBAccess-d3bef90d.js";import"./EntityMyPK-e742fec8.js";import"./Entities-6a72b013.js";class G{static GenerButton(r){r!=""}static GenerBtnICON(r){if(r.indexOf("\u65B0\u5EFA"))return"icon-plus";if(r.indexOf("\u5220\u9664"))return"icon-close";if(r.indexOf("\u4FEE\u6539")||r.indexOf("\u7F16\u8F91"))return"icon-note";switch(r){case"\u53D1\u8D77":case"\u53D1\u8D77\u6D41\u7A0B":case"\u542F\u52A8\u6D41\u7A0B":return"icon-paper-plane";case"\u8FD1\u671F\u53D1\u8D77":return"icon-user";case"\u8FD1\u671F":case"\u8FD1\u671F\u5DE5\u4F5C":return"icon-envelope";case"\u8D85\u65F6\u5DE5\u4F5C":return"icon-bell";case"\u50AC\u529E":return"icon-bell";case"\u64A4\u9500\u53D1\u9001":return"icon-drop";default:return""}}static MyWorkToolbarICON(r){switch(r){case"Send":return"icon-paper-plane";case"Return":return"icon-arrow-left-circle";case"Shift":return"icon-control-forward";case"Track":return"icon-film";case"Delete":case"Del":return"icon-trash";case"EndFlow":return"icon-minus";case"ShowParentForm":return"icon-drop";case"ThreadLab":return"icon-drop";case"JumpWayLab":return"icon-drop";case"Press":return"icon-bell";case"PrintHtmlLab":return"icon-drop";case"PrintZipLab":return"icon-drop";case"PrintDocLab":return"icon-drop";case"HuiQianLab":return"icon-drop";case"AddLeaderLab":return"icon-drop";case"OfficeBtn":return"icon-drop";case"Hung":return"icon-drop";case"SearchLab":return"icon-drop";case"TCLab":return"icon-drop";case"FrmDBVerLab":return"icon-drop";case"FrmDBRemarkLab":return"icon-drop";case"PRILab":return"icon-drop";case"CHLab":return"icon-drop";case"AllotLab":return"icon-drop";case"FocusLab":return"icon-drop";case"ConfirmLab":return"icon-drop";case"ListLab":return"icon-drop";case"BatchLab":return"icon-drop";case"NoteLab":return"icon-drop";case"HelpLab":return"icon-drop";case"ScripLab":return"icon-drop";case"FlowBBSLab":return"icon-drop";case"IMLab":return"icon-drop";case"NextLab":return"icon-drop";case"UnSend":return"icon-reload";default:return"icon-drop"}}static UrlGPN(r,e){return`/@/WF/Comm/UIEntity/GroupPageNew.vue?EnName=${r}&SortNo=${e}`}static UrlGPE(r,e){return`/@/WF/Comm/UIEntity/GroupPageEdit.vue?EnName=${r.classID}&PKVal=${e}`}static UrlEn(r,e){return`/src/WF/Comm/En.vue?EnName=${r}&PKVal=${e}`}static UrlEnOnly(r,e){return`/src/WF/Comm/En.vue?EnName=${r}&PKVal=${e}`}static UrlSearch(r,e=""){return`/src/WF/Comm/Search.vue?EnName=${r}${e}`}static UrlTree(r,e=""){return`/src/WF/Comm/Tree.vue?EnName=${r}&PKVal=${e}`}static UrlDtlSearch(r,e=""){return`/src/WF/Comm/Dtl/DtlSearch.vue?EnName=${r}${e}`}static UrlDtlBatch(r,e=""){return`/src/WF/Comm/Dtl/DtlBatch.vue?EnName=${r}${e}`}static UrlEns(r,e=""){return`/src/WF/Comm/Ens.vue?EnName=${r}${e}`}static UrlPanelGroup(r,e=""){return`/src/WF/Comm/PanelGroup.vue?EnName=${r}${e}`}static UrlMyFlow(r,e=""){return`/src/WF/MyFlow.vue?FK_Flow=${r}${e}`}static UrlMyView(r,e=""){return`/src/WF/MyFlow.vue?EnName=${r}${e}`}static UrlMyCC(r,e=""){return`/src/WF/MyCC.vue?EnName=${r}${e}`}static UrlGenerList(r,e=""){return`/@/WF/views/GenerList.vue?EnName=${r}${e}`}static UrlDept(r,e=""){return"/src/Portal/Standard/SelectOneOrg.vue"}static IframeGenerList(r,e=""){return`/#/WF/GenerList?EnName=${r}${e}`}static UrlSearchBill(r){return`/src/CCFast/CCBill/SearchBill.vue?displayMode=table&FrmID=${r}`}static UrlGroupBill(r){return`/src/CCFast/CCBill/SearchBill.vue?displayMode=group&FrmID=${r}`}static UrlRptBill(r){return`/src/CCFast/CCBill/SearchBill.vue?displayMode=rpt&FrmID=${r}`}static UrlSearchDict(r){return`/src/CCFast/CCBill/SearchDict.vue?displayMode=table&FrmID=${r}`}static UrlGroupDict(r){return`/src/CCFast/CCBill/SearchDict.vue?displayMode=group&FrmID=${r}`}static UrlRptDict(r){return`/src/CCFast/CCBill/SearchDict.vue?displayMode=rpt&FrmID=${r}`}static UrlWhiteScreenDesigner(r,e=""){let t=`/src/CCFast/Views/RptWhiteMain.vue?PageID=${r}`;return e&&(t+="&FrmID="+e),t}static UrlWhiteScreenViewer(r){return`/src/CCFast/Views/RptWhiteMain.vue?PageID=${r}`}static WriteFrmTrack(r,e,t,c,i){return s(this,null,function*(){const a=new p;a.FrmID=r,a.WorkID=e,a.ActionType=t,a.ActionTypeName=c,a.Msg=i,yield a.Insert()})}static ToLang(r,e){return s(this,null,function*(){const t=new m("BP.WF.HttpHandler.WF_Comm");return t.AddPara("Txt",r),t.AddPara("ToLang",e),(yield t.DoMethodReturnJson("ToLang")).translation[0]})}}export{G as GloComm};
|