From 417c8c4716f8dab251c9877665f256c1be58acbb Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Fri, 11 Oct 2024 17:20:16 +0800
Subject: [PATCH] 11
---
src/views/position/components/financing-hold.vue | 41 +++++++++++++++++++++++++++++++----------
1 files changed, 31 insertions(+), 10 deletions(-)
diff --git a/src/views/position/components/financing-hold.vue b/src/views/position/components/financing-hold.vue
index c554f35..5108cd7 100644
--- a/src/views/position/components/financing-hold.vue
+++ b/src/views/position/components/financing-hold.vue
@@ -3,7 +3,7 @@
<a-card :bordered="false">
<div class="table-page-search-wrapper">
<a-form layout="inline">
- <a-row :gutter="48">
+ <!-- <a-row :gutter="48">
<a-col :md="12" :lg="6" :sm="24">
<a-form-item label="持仓类型">
<a-select v-model="queryParam.positionType" placeholder="请选择持仓类型">
@@ -12,7 +12,7 @@
<a-select-option :value="1">模拟持仓</a-select-option>
</a-select>
</a-form-item>
- </a-col>
+ </a-col> -->
<a-col :md="12" :lg="6" :sm="24">
<a-form-item label="下级代理">
<a-select
@@ -30,6 +30,11 @@
<a-col :md="12" :lg="6" :sm="24">
<a-form-item label="用户Id">
<a-input v-model="queryParam.userId" style="width: 100%" placeholder="请输入用户Id" />
+ </a-form-item>
+ </a-col>
+ <a-col :md="12" :lg="6" :sm="24">
+ <a-form-item label="手机号">
+ <a-input v-model="queryParam.phone" style="width: 100%" placeholder="请输入手机号" />
</a-form-item>
</a-col>
<a-col :md="12" :lg="6" :sm="24">
@@ -87,7 +92,7 @@
</div>
</template>
</span>
- <span slot="positionType" slot-scope="text, record">
+ <!-- <span slot="positionType" slot-scope="text, record">
<template>
<div>
<a-tag :color="record.positionType == 1 ? 'blue' : 'green'">
@@ -95,7 +100,7 @@
</a-tag>
</div>
</template>
- </span>
+ </span> -->
<span slot="orderDirection" slot-scope="text, record">
<template>
<div>
@@ -192,12 +197,12 @@
width: 180,
scopedSlots: { customRender: 'stockName' },
},
- {
- title: '账户类型',
- dataIndex: 'positionType',
- align: 'center',
- scopedSlots: { customRender: 'positionType' },
- },
+ // {
+ // title: '账户类型',
+ // dataIndex: 'positionType',
+ // align: 'center',
+ // scopedSlots: { customRender: 'positionType' },
+ // },
{
title: '用户名称(ID)',
dataIndex: 'nickName',
@@ -250,6 +255,19 @@
title: '数量(股)',
dataIndex: 'orderNum',
align: 'center',
+ },
+ {
+ title: '账号',
+ dataIndex: 'phone',
+ align: 'center',
+ },
+ {
+ title: '所属代理(ID)',
+ dataIndex: 'agentName_Id',
+ align: 'center',
+ customRender: (text, row, index) => {
+ return `${row.agentName}(${row.agentId})`
+ },
},
{
title: '总市值',
@@ -323,6 +341,7 @@
userId: '',
positionSn: '',
state: 0,
+ phone: '',
},
datalist: [],
agentlist: [],
@@ -434,6 +453,7 @@
userId: '',
positionSn: '',
state: 0,
+ phone: '',
}
this.getlist()
},
@@ -446,6 +466,7 @@
userId: '',
positionSn: '',
state: 0,
+ phone: '',
}
},
getagentlist() {
--
Gitblit v1.9.3