From 2a4aecd380fad4ccb1303be0526eabf56bd3d9a6 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期五, 27 六月 2025 16:49:08 +0800 Subject: [PATCH] Merge branch 'dev-2.2.0' of http://120.26.58.240:8888/r/JYBIndependentFront into dev-2.2.0 --- src/services/api/Dictionary.ts | 63 +++++++++++++++++++++++++++++++ 1 files changed, 63 insertions(+), 0 deletions(-) diff --git a/src/services/api/Dictionary.ts b/src/services/api/Dictionary.ts index 589de27..ca58aca 100644 --- a/src/services/api/Dictionary.ts +++ b/src/services/api/Dictionary.ts @@ -2,6 +2,21 @@ // @ts-ignore import { request } from '@/utils/request'; +/** 鏂板锛岀紪杈戜繚闄╀骇鍝佹柟妗� POST /api/Dictionary/CreateOrUpdateInsureProductScheme */ +export async function createOrUpdateInsureProductScheme( + body: API.CreateOrUpdateInsureProductSchemeInput, + options?: API.RequestConfig +) { + return request<string>('/api/Dictionary/CreateOrUpdateInsureProductScheme', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + /** 鏂板锛岀紪杈戜繚闄╀骇鍝侀厤缃� POST /api/Dictionary/CreateOrUpdateInsureProductSetting */ export async function createOrUpdateInsureProductSetting( body: API.CreateOrUpdateInsureProductSettingInput, @@ -13,6 +28,21 @@ 'Content-Type': 'application/json', }, data: body, + ...(options || {}), + }); +} + +/** 鍒犻櫎淇濋櫓浜у搧鏂规 POST /api/Dictionary/DeleteInsureProductScheme */ +export async function deleteInsureProductScheme( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIdeleteInsureProductSchemeParams, + options?: API.RequestConfig +) { + return request<number>('/api/Dictionary/DeleteInsureProductScheme', { + method: 'POST', + params: { + ...params, + }, ...(options || {}), }); } @@ -32,6 +62,39 @@ }); } +/** 鑾峰彇淇濋櫓浜у搧鏂规涓嬫媺鍒楄〃 POST /api/Dictionary/GetInsureProductSchemeAllList */ +export async function getInsureProductSchemeAllList( + body: API.GetInsureProductSchemePageInput, + options?: API.RequestConfig +) { + return request<API.InsureProductSchemeDto[]>('/api/Dictionary/GetInsureProductSchemeAllList', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鑾峰彇淇濋櫓浜у搧鏂规鍒楄〃 POST /api/Dictionary/GetInsureProductSchemePage */ +export async function getInsureProductSchemePage( + body: API.GetInsureProductSchemePageInput, + options?: API.RequestConfig +) { + return request<API.InsureProductSchemeDtoPageOutput>( + '/api/Dictionary/GetInsureProductSchemePage', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + /** 鑾峰彇宸插惎鐢ㄧ殑淇濋櫓浜у搧閰嶇疆涓嬫媺鍒楄〃 POST /api/Dictionary/GetInsureProductSettingAllList */ export async function getInsureProductSettingAllList( body: API.GetInsureProductSettingPageInput, -- Gitblit v1.9.1