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'">停用
启用
-
+
同步风控模板
-
+
{{ row.status === 1 ? '启用' : '停用' }}
-
+
-
+
@@ -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 @@
{{ getMarketFloatProfit(row.id) }}
-
+
{{ getMarketCloseProfit(row.id) }}
diff --git a/src/views/profile/business/options.ts b/src/views/profile/business/options.ts
index 90b1a1f..463ea5d 100644
--- a/src/views/profile/business/options.ts
+++ b/src/views/profile/business/options.ts
@@ -12,15 +12,15 @@ export const marketSearch = [
export const marketTableColumns = [
// id
- { label: 'ID', prop: 'id', align: 'center' as const, width: '100px' },
+ { label: 'ID', prop: 'id', align: 'center' as const, width: '100px',filterable:false },
//代理关系
- { label: '代理关系', prop: 'agentRelation', align: 'center' as const, width: '200px' },
+ { label: '代理关系', prop: 'agentRelation', align: 'center' as const, width: '290' },
//账户名
{ label: '账户名', prop: 'accountName', align: 'center' as const, width: '120px' },
//级别
{ label: '级别', prop: 'level', align: 'center' as const, width: '120px' },
{ label: '邮箱', prop: 'email', align: 'center' as const, width: '160px' },
- { label: '手机号', prop: 'mobile', align: 'center' as const, width: '140px' },
+ { label: '手机号', prop: 'mobile', align: 'center' as const, width: '180' },
{ label: '风险率', prop: 'ratio', align: 'center' as const, width: '120px' },
//基本账户
{ label: '基本账户', prop: 'basicAccount', align: 'center' as const, isNumber: true , width: '200px' },