diff --git a/src/api/base/jsQjApi.ts b/src/api/base/jsQjApi.ts index 01f0b0c..d68975c 100644 --- a/src/api/base/jsQjApi.ts +++ b/src/api/base/jsQjApi.ts @@ -91,13 +91,6 @@ export const findQjListApi = async (params: any) => { return await get("/api/jsQj/findPage", params); }; -/** - * 根据规则ID获取默认审批人和抄送人 - */ -export const getApproversByRuleId = async (ruleId: string) => { - return await get("/api/jsQj/getApproversByRuleId", { ruleId }); -}; - /** * 根据ID获取请假详情 */ diff --git a/src/api/base/lcglSpApi.ts b/src/api/base/lcglSpApi.ts index c376e47..4dc816d 100644 --- a/src/api/base/lcglSpApi.ts +++ b/src/api/base/lcglSpApi.ts @@ -2,6 +2,14 @@ import { get, post } from "@/utils/request"; // 流程审批相关API接口 + +/** + * 根据规则ID获取默认审批人和抄送人 + */ +export const getSprAndCsrByRuleId = async (ruleId: string) => { + return await get("/api/lcglSet/getSprAndCsrByRuleId", { ruleId }); +}; + /** * 根据业务ID和业务类型获取审批流程 * @param ywId 业务ID diff --git a/src/components/BasicSpCsMgr/index.vue b/src/components/BasicSpCsMgr/index.vue index 3fe49eb..6d9dd27 100644 --- a/src/components/BasicSpCsMgr/index.vue +++ b/src/components/BasicSpCsMgr/index.vue @@ -3,19 +3,11 @@ - 审批人 + 审批人({{ approvers.length || 0 }}) - + @@ -18,7 +17,7 @@