diff --git a/src/App.vue b/src/App.vue
index cd69c90..cb57c98 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -26,6 +26,11 @@ export default {
diff --git a/src/pages/MainAccount/index.vue b/src/pages/MainAccount/index.vue
new file mode 100644
index 0000000..c088321
--- /dev/null
+++ b/src/pages/MainAccount/index.vue
@@ -0,0 +1,321 @@
+
+
+
+
+ 投资总资金:1000000U
+
+
+ 系统收益:10000000000U
+
+
+
+ 创建账户
+
+
+
+
+
+
+
+
+
+ 操作
+
+ 编辑
+ 资金变动
+ 变更记录
+ 删除
+
+
+
+ {{ scope.row[i.prop] }}
+
+
+
+
+
+
+
+
+
+ 添加账号
+
+
+
+
+
+
+
+
+
+
+
+ 资金变动
+
+
+
+
+
+
+
+
+
+
+
+ 资金变动
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/MainSec/OrderTable.vue b/src/pages/MainSec/OrderTable.vue
index aa61bc1..442dc51 100644
--- a/src/pages/MainSec/OrderTable.vue
+++ b/src/pages/MainSec/OrderTable.vue
@@ -1,11 +1,126 @@
-
+
+
+
+
+
+
+
+
+
{{ scope.row.CapitalAfterPurchase.toFixed(2) || 0 }}
+
{{ scope.row.CapitalAfterSale.toFixed(2) || 0 }}
+
+
+
+
+ {{
+ scope.row.PurchaseKLineId
+ ? moment(scope.row.PurchaseKLineId * 1000).format(
+ "YYYY-MM-DD HH:mm:ss"
+ )
+ : "-"
+ }}
+
+
+ {{
+ scope.row.SaleKLineId
+ ? moment(scope.row.SaleKLineId * 1000).format(
+ "YYYY-MM-DD HH:mm:ss"
+ )
+ : "-"
+ }}
+
+
+
+
+
{{ scope.row.PurchasePrice }}
+
{{ scope.row.SalePrice }}
+
+
+
+
{{ scope.row.PurchaseCoinCount || "-" }}
+
{{ scope.row.SaleCoinCount || "-" }}
+
+
+
+
{{ scope.row.TotalPurchasePrice || "-" }}
+
{{ scope.row.TotalSalePrice || "-" }}
+
-
+
+
+
{{ scope.row.BorrowAmount.toFixed(2) || "-" }}
+
+
+
+
+
{{ scope.row.BorrowFee.toFixed(2) || "-" }}
+
+
+
+
+
{{ scope.row.BorrowRatio.toFixed(2) || "-" }}%
+
+
+
+
+
{{ scope.row.MaxLossPrice || "-" }}
+
{{ scope.row.MaxLossRatio || "-" }}%
+
+
+
+
{{ scope.row.Profit }}
+
+ {{
+ (
+ (scope.row.Profit / scope.row.TotalPurchasePrice) *
+ 100
+ ).toFixed(2)
+ }}%
+
+
-
+
+
+
+
{{ scope.row.TotalProfit }}
+
+ {{ scope.row.TotalProfitRatio }}%
+
+
-
+
+
+
{{ scope.row[i.prop] }}
+
+
+
+
+
\ No newline at end of file
+ props: {
+ robotId: { type: String, default: "" }
+ },
+ data() {
+ return {
+ columns: secondTradeColumns,
+ data: []
+ };
+ },
+ mounted() {
+ this.init();
+ },
+ methods: {
+ init() {}
+ }
+};
+
diff --git a/src/pages/MainSec/SignalTable.vue b/src/pages/MainSec/SignalTable.vue
index e69de29..8572063 100644
--- a/src/pages/MainSec/SignalTable.vue
+++ b/src/pages/MainSec/SignalTable.vue
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
{{ scope.row[i.prop] }}
+
+
+
+
+
+
+
+
diff --git a/src/pages/MainSec/Summary.vue b/src/pages/MainSec/Summary.vue
index e69de29..2d110e3 100644
--- a/src/pages/MainSec/Summary.vue
+++ b/src/pages/MainSec/Summary.vue
@@ -0,0 +1,38 @@
+
+
+
+
+ 购买交易数量:
+ 购买交易数量:
+ 购买交易数量:
+ 购买交易数量:
+ 购买交易数量:
+ 购买交易数量:
+ 购买交易数量:
+
+
+
+
diff --git a/src/pages/MainSec/index.vue b/src/pages/MainSec/index.vue
index 3a4694e..3e8a222 100644
--- a/src/pages/MainSec/index.vue
+++ b/src/pages/MainSec/index.vue
@@ -1,14 +1,23 @@
-
-
-
+
+
+
diff --git a/src/pages/RobotSec/Modal/OrderPlan.vue b/src/pages/RobotSec/Modal/OrderPlan.vue
index 3759f1b..c3aa93b 100644
--- a/src/pages/RobotSec/Modal/OrderPlan.vue
+++ b/src/pages/RobotSec/Modal/OrderPlan.vue
@@ -16,10 +16,52 @@
委托单
-
-
确定
+
+ 委托类型:
+
+
+
+
+
+
+
+
+
+
+
@@ -33,7 +75,13 @@ export default {
components: { Modal },
props: { robotInfo: { type: Object, defualt: () => {} }, visible: false },
data() {
- return {};
+ return {
+ planForm: { Type: 0 },
+ planWays: [
+ { title: "限价单", value: 0 },
+ { title: "市价单", value: 1 }
+ ]
+ };
},
watch: {
visible(newV, oldV) {
diff --git a/src/pages/RobotSec/Modal/RobotCreate.vue b/src/pages/RobotSec/Modal/RobotCreate.vue
index 1a56693..bd6845d 100644
--- a/src/pages/RobotSec/Modal/RobotCreate.vue
+++ b/src/pages/RobotSec/Modal/RobotCreate.vue
@@ -17,6 +17,58 @@
新建机器人
+
+