import { commonSearch_go } from '@/services/go'; import { Ermcp3HedgePlan } from '@/services/go/ermcp/plan/interface'; /** ================================= 计划 ================================**/ /** * 查询套保计划 /Ermcp3/QueryHedgePlan * @param userId 用户ID * @param hedgeplanstatus 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回 * @constructor */ export function QueryHedgePlan(userId: number, hedgeplanstatus: string): Promise { return commonSearch_go('/Erms3/QueryHedgePlan', { userId, hedgeplanstatus }).catch((err) => { throw new Error(`查询套保计划: ${err.message}`); }); }