| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- import { httpRequest } from '@/services/http'
- import { HttpParams } from '@/services/http/interface'
- import { tradeServerRequest } from '@/services/socket/trade'
- import { TradeParams } from '@/services/socket/trade/interface'
- /**
- * 履约违约申请
- */
- export function performanceContractedApply(params: TradeParams<Proto.PerformanceContractedApplyReq, Proto.PerformanceContractedApplyRsp>) {
- return tradeServerRequest('PerformanceContractedApplyReq', 'PerformanceContractedApplyRsp', params);
- }
- /**
- * 履约延期申请
- */
- export function performanceDelayApply(params: TradeParams<Proto.PerformanceDelayApplyReq, Proto.PerformanceDelayApplyRsp>) {
- return tradeServerRequest('PerformanceDelayApplyReq', 'PerformanceDelayApplyRsp', params);
- }
- /**
- * 履约手动申请
- */
- export function performanceManualConfirm(params: TradeParams<Proto.PerformanceManualConfirmReq, Proto.PerformanceManualConfirmRsp>) {
- return tradeServerRequest('PerformanceManualConfirmReq', 'PerformanceManualConfirmRsp', params);
- }
- /**
- * 履约修改联络信息
- */
- export function performanceModifyContact(params: TradeParams<Proto.PerformanceModifyContactReq, Proto.PerformanceModifyContactRsp>) {
- return tradeServerRequest('PerformanceModifyContactReq', 'PerformanceModifyContactRsp', params);
- }
- /**
- * 查询我的履约
- */
- export function queryMyPerformance(params: HttpParams<{ req: Ermcp.MyPerformancReq, rsp: Ermcp.MyPerformancRsp[] }>) {
- return httpRequest('/Guangzuan/QueryMyPerformanc', 'get', params);
- }
- /**
- * 查询履约模板
- */
- export function queryPermancePlanTmp(params: HttpParams<{ req: Ermcp.PermancePlanTmpReq, rsp: Ermcp.PermancePlanTmpRsp[] }>) {
- return httpRequest('/WrTrade2/QueryPermancePlanTmp', 'get', params);
- }
- /**
- * 查询履约步骤枚举
- */
- export function queryWrPerformanceStepType(params: HttpParams<{ rsp: Ermcp.WrPerformanceStepTypeRsp[] }>) {
- return httpRequest('/WrTrade2/QueryWrPerformanceStepType', 'get', params);
- }
- /**
- * 查询履约信息详情
- */
- export function queryWrPerformancePlanStep(params: HttpParams<{ req: Ermcp.WrPerformancePlanStepReq, rsp: Ermcp.WrPerformancePlanStepRsp[] }>) {
- return httpRequest('/WrTrade2/QueryWrPerformancePlanStep', 'get', params);
- }
|