diff --git a/src/api/modules/trade/variety.ts b/src/api/modules/trade/variety.ts index 438b81b..428859a 100644 --- a/src/api/modules/trade/variety.ts +++ b/src/api/modules/trade/variety.ts @@ -4,6 +4,10 @@ import { request } from '@/api'; export async function getVarietyListApi(params: any): Promise { return request.get('/contractVariety/getList', {...params}) } +//获取交易组列表 +export async function getTradeGroupListApi(): Promise { + return request.get('/contractVariety/getGroupList') +} //创建合约品种 export async function createVarietyApi(params: any): Promise { @@ -11,6 +15,6 @@ export async function createVarietyApi(params: any): Promise { } //编辑合约品种 -export async function updateVarietyApi(params: any): Promise { +export async function editVarietyApi(params: any): Promise { return request.post('/contractVariety/editVariety', {...params}) } \ No newline at end of file diff --git a/src/components/common/Dialog.vue b/src/components/common/Dialog.vue index 82dad98..7eca336 100644 --- a/src/components/common/Dialog.vue +++ b/src/components/common/Dialog.vue @@ -1,5 +1,6 @@ - + diff --git a/src/views/account/client/index.vue b/src/views/account/client/index.vue index 4059237..51ea1aa 100644 --- a/src/views/account/client/index.vue +++ b/src/views/account/client/index.vue @@ -30,7 +30,7 @@ @cancel="handleCancel" @close="handleClose"> -