MES审批复用钉钉审批设置

This commit is contained in:
geht
2026-06-10 16:57:07 +08:00
parent 617d47a3db
commit 5cb24c582d
4 changed files with 115 additions and 24 deletions

View File

@@ -14,8 +14,10 @@ enum Api {
/**
* 已发布审批流列表(可发起的单据类型)
* @param routePath 当前功能页路由;传入时与钉钉审批按钮一致,按 mes_xsl_ding_tpl_bind 绑定页过滤
*/
export const getPublishedFlows = () => defHttp.get({ url: Api.publishedList });
export const getPublishedFlows = (routePath?: string) =>
defHttp.get({ url: Api.publishedList, params: routePath ? { routePath } : undefined });
/**
* 根据审批流查询其绑定单据的记录列表