From 0ad61c0e690c984e1444401d550896106f575b6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8?= Date: Mon, 1 Jun 2026 09:37:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=A1=A8=E5=A4=B4=E7=BC=96?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/Search.vue | 2 +- src/components/common/Table.vue | 481 +++++++++++++++++++++++--- src/views/mould/handleFee/index.vue | 4 +- src/views/mould/risk/index.vue | 23 +- src/views/profile/business/index.vue | 3 +- src/views/profile/business/options.ts | 6 +- 6 files changed, 453 insertions(+), 66 deletions(-) diff --git a/src/components/common/Search.vue b/src/components/common/Search.vue index 6f52b81..3aa9ce2 100644 --- a/src/components/common/Search.vue +++ b/src/components/common/Search.vue @@ -115,7 +115,7 @@ const handleBlur = () => { diff --git a/src/views/mould/handleFee/index.vue b/src/views/mould/handleFee/index.vue index 5224771..cfbff8d 100644 --- a/src/views/mould/handleFee/index.vue +++ b/src/views/mould/handleFee/index.vue @@ -11,11 +11,11 @@
-
-
+
diff --git a/src/views/mould/risk/index.vue b/src/views/mould/risk/index.vue index 2b63876..1c14efd 100644 --- a/src/views/mould/risk/index.vue +++ b/src/views/mould/risk/index.vue @@ -8,26 +8,27 @@ v-auth="'riskControl_editRiskControlSetting'">停用 启用 - + 同步风控模板
- + - +
- + @@ -194,7 +195,7 @@ const syncLoading = ref(false) const handleSyncRiskControl = async () => { syncLoading.value = true try { - await syncRiskControlApi() + await syncRiskControlApi() } finally { syncLoading.value = false } @@ -251,7 +252,7 @@ const handleModifyRisk = () => { } as any } -const handleChangeStatus = async (status:any) => { +const handleChangeStatus = async (status: any) => { dialogTitle.value = '停用' dialogType.value = 'status' await editRiskApi({ ...selectedRow.value, status: status }) @@ -272,7 +273,7 @@ const handleRowClick = (row: any) => { } selectedRowId.value = row.id // 找到对应的数据并更新右侧内容 - const targetItem:any = tableTreeContent.value.find((item: any) => item.id === row.id) + const targetItem: any = tableTreeContent.value.find((item: any) => item.id === row.id) const fields = [ { text: '单笔开仓最大数量' + targetItem.maxOpenPosition }, diff --git a/src/views/profile/business/index.vue b/src/views/profile/business/index.vue index 0edd49d..7d7ee9c 100644 --- a/src/views/profile/business/index.vue +++ b/src/views/profile/business/index.vue @@ -28,6 +28,7 @@ :table-data="marketTree" :columns="marketTableColumnsOptions" row-key="id" + :show-column-setting="true" :loading="loading" @row-click="handleRowClick" @row-contextmenu="handleRowContextMenu" @@ -35,7 +36,7 @@ -