From d8b4bfed02ab1e0bdaf4494d68be8d20eabdc1e5 Mon Sep 17 00:00:00 2001 From: lizhixin <382352532@qq.com> Date: Thu, 24 Jun 2021 00:02:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8F=82=E6=95=B0/=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/ReCheck/AccountInfo.vue | 62 ++++++++++++++++++++++++++++++- src/pages/ReCheck/OrderTable.vue | 27 ++++++++++---- src/pages/ReCheck/index.vue | 25 +++++++++++-- src/pages/prePages/js/columns.js | 46 ++++++++++++++++++----- 4 files changed, 137 insertions(+), 23 deletions(-) diff --git a/src/pages/ReCheck/AccountInfo.vue b/src/pages/ReCheck/AccountInfo.vue index df4e5a7..de5868f 100644 --- a/src/pages/ReCheck/AccountInfo.vue +++ b/src/pages/ReCheck/AccountInfo.vue @@ -30,7 +30,7 @@ :key="index + '12'" >{{ item.TotalPurchasePrice }} {{ - index == accountInfo.TotalPurchaseInfoList.length - 1 ? "" : "---" + index == accountInfo.TotalPurchaseInfoList.length - 1 ? "" : "→" }}
@@ -80,11 +80,62 @@历史周转资金: {{ accountInfo.RealCost }}
+ ++ K线涨幅榜:{{ item.Ratio.toFixed(2) }}% + ({{ item.Time }}) + {{ + index == accountInfo.KLineUpRatioList.length - 1 ? "" : " → " + }} +
+ ++ K线跌幅榜:{{ item.Ratio.toFixed(2) }}% + ({{ item.Time }}) + {{ + index == accountInfo.KLineLossRatioList.length - 1 ? "" : " → " + }} +
+ ++ 订单亏损榜:{{ item.Ratio.toFixed(2) }}% + ({{ item.Time }}) + {{ + index == accountInfo.LossOrderRankList.length - 1 ? "" : " → " + }} +
+ +购买交易数: {{ accountInfo.PurchaseTradeCount }}
+卖出交易数: {{ accountInfo.SaleTradeCount }}
+持仓成本: {{ accountInfo.TotalPurchasePrice }}
波段盈亏 :{{ accountInfo.HistoryProfit }}
币本位盈亏: {{ accountInfo.BBWProfit }}
持币盈亏 : {{ accountInfo.TotalPriceGap }}
浮动盈亏金额 : {{ accountInfo.TotalPurchasePriceProfit }}
+总借币利息 : {{ accountInfo.TotalBorrowFee }}
总盈亏 : {{ accountInfo.ZYK }}
@@ -99,4 +150,11 @@ export default { }; - + diff --git a/src/pages/ReCheck/OrderTable.vue b/src/pages/ReCheck/OrderTable.vue index 8d1fbb4..6e05b42 100644 --- a/src/pages/ReCheck/OrderTable.vue +++ b/src/pages/ReCheck/OrderTable.vue @@ -33,8 +33,8 @@{{ scope.row.CapitalAfterPurchase || 0 }}
-{{ scope.row.CapitalAfterSale || 0 }}
+{{ scope.row.CapitalAfterPurchase.toFixed(2) || 0 }}
+{{ scope.row.CapitalAfterSale.toFixed(2) || 0 }}
{{ scope.row.TotalPurchasePrice || "-" }}
{{ scope.row.TotalSalePrice || "-" }}
{{ scope.row.BorrowAmount.toFixed(2) || "-" }}
+{{ scope.row.BorrowFee.toFixed(2) || "-" }}
+{{ scope.row.BorrowRatio.toFixed(2) || "-" }}%
+{{ scope.row.MaxLossPrice || "-" }}
@@ -140,9 +156,4 @@ export default { } }; - + diff --git a/src/pages/ReCheck/index.vue b/src/pages/ReCheck/index.vue index 5298949..faf5d74 100644 --- a/src/pages/ReCheck/index.vue +++ b/src/pages/ReCheck/index.vue @@ -133,8 +133,16 @@ v-model="trendForm" >