From bb9134f78d87093eee0e983644f58e64ae02cf60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=BF=9C?= <2970639877@qq.com> Date: Wed, 18 Mar 2026 14:43:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/trade/variety.ts | 6 +- src/components/common/Dialog.vue | 7 +- src/components/common/Form.vue | 97 +++++----- src/components/common/Search.vue | 23 +-- src/components/common/Table.vue | 1 + src/views/account/agent/index.vue | 6 +- src/views/account/client/index.vue | 8 +- src/views/account/market-maker/index.vue | 8 +- src/views/trade/variety/index.vue | 219 ++++++++++++++++------- src/views/trade/variety/options.ts | 40 +++-- src/views/trade/variety/rules.ts | 92 +++++++++- 11 files changed, 348 insertions(+), 159 deletions(-) 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"> -