Handy_Cao 1 年之前
父节点
当前提交
90d5aa89ad

+ 8 - 8
public/config/columns.json

@@ -4,35 +4,35 @@
         "columns": [
             {
                 "field": "marketname",
-                "label": "市场"
+                "label": "position.goods.holddetail.marketname"
             },
             {
                 "field": "goodsname",
-                "label": "商品名称"
+                "label": "position.goods.goodsname"
             },
             {
                 "field": "buyorsell",
-                "label": "方向"
+                "label": "position.goods.buyorsell"
             },
             {
                 "field": "holderqty",
-                "label": "持仓数量"
+                "label": "position.goods.holddetail.holderqty"
             },
             {
                 "field": "holderprice",
-                "label": "持仓价格"
+                "label": "position.goods.holddetail.holderprice"
             },
             {
                 "field": "holderamount",
-                "label": "持仓金额"
+                "label": "position.goods.holddetail.holderamount"
             },
             {
                 "field": "tradetime",
-                "label": "交易时间"
+                "label": "position.goods.holddetail.tradetime"
             },
             {
                 "field": "tradeid",
-                "label": "成交单号"
+                "label": "position.goods.holddetail.tradeid"
             }
         ]
     },

+ 98 - 98
public/config/router.json

@@ -2,40 +2,40 @@
     {
         "authType": 2,
         "sort": 0,
-        "title": "底部单据菜单",
+        "title": "pcroute.bottom.title",
         "code": "bottom",
         "children": [
             {
                 "authType": 2,
                 "sort": 1,
-                "title": "商品订单",
+                "title": "pcroute.bottom.bottom_goods",
                 "code": "bottom_goods",
                 "component": "views/footer/index.vue",
                 "children": [
                     {
                         "authType": 2,
                         "sort": 1,
-                        "title": "持仓汇总",
+                        "title": "pcroute.bottom.bottom_goods_position",
                         "code": "bottom_goods_position",
                         "component": "views/footer/goods/position/index.vue",
                         "children": [
                             {
                                 "authType": 3,
-                                "title": "转让",
+                                "title": "pcroute.bottom.bottom_goods_position_transfer",
                                 "code": "bottom_goods_position_transfer",
                                 "component": "views/footer/goods/position/components/transfer/index.vue",
                                 "className": "el-button--danger"
                             },
                             {
                                 "authType": 3,
-                                "title": "交收",
+                                "title": "pcroute.bottom.bottom_goods_position_delivery16",
                                 "code": "bottom_goods_position_delivery16",
                                 "component": "views/footer/goods/position/components/delivery16/index.vue",
                                 "className": "el-button--primary"
                             },
                             {
                                 "authType": 3,
-                                "title": "交收",
+                                "title": "pcroute.bottom.bottom_goods_position_delivery50",
                                 "code": "bottom_goods_position_delivery50",
                                 "component": "views/footer/goods/position/components/delivery50/index.vue",
                                 "className": "el-button--primary"
@@ -45,28 +45,28 @@
                     {
                         "authType": 2,
                         "sort": 2,
-                        "title": "持仓明细",
+                        "title": "pcroute.bottom.bottom_goods_detail",
                         "code": "bottom_goods_detail",
                         "component": "views/footer/goods/detail/index.vue"
                     },
                     {
                         "authType": 2,
                         "sort": 3,
-                        "title": "委托",
+                        "title": "pcroute.bottom.bottom_goods_order",
                         "code": "bottom_goods_order",
                         "component": "views/footer/goods/order/index.vue"
                     },
                     {
                         "authType": 2,
                         "sort": 4,
-                        "title": "成交",
+                        "title": "pcroute.bottom.bottom_goods_trade",
                         "code": "bottom_goods_trade",
                         "component": "views/footer/goods/trade/index.vue"
                     },
                     {
                         "authType": 2,
                         "sort": 5,
-                        "title": "交收",
+                        "title": "pcroute.bottom.bottom_goods_delivery",
                         "code": "bottom_goods_delivery",
                         "component": "views/footer/goods/delivery/index.vue"
                     }
@@ -75,42 +75,42 @@
             {
                 "authType": 2,
                 "sort": 2,
-                "title": "预售转让",
+                "title": "pcroute.bottom.bottom_presell",
                 "code": "bottom_presell",
                 "component": "views/footer/index.vue",
                 "children": [
                     {
                         "authType": 2,
                         "sort": 1,
-                        "title": "预售认购",
+                        "title": "pcroute.bottom.bottom_presell_presellposition",
                         "code": "bottom_presell_presellposition",
                         "component": "views/footer/presell/presellposition/index.vue"
                     },
                     {
                         "authType": 2,
                         "sort": 2,
-                        "title": "转让持仓",
+                        "title": "pcroute.bottom.bottom_presell_transferposition",
                         "code": "bottom_presell_transferposition",
                         "component": "views/footer/presell/transferposition/index.vue"
                     },
                     {
                         "authType": 2,
                         "sort": 3,
-                        "title": "转让委托",
+                        "title": "pcroute.bottom.bottom_presell_transferorder",
                         "code": "bottom_presell_transferorder",
                         "component": "views/footer/presell/transferorder/index.vue"
                     },
                     {
                         "authType": 2,
                         "sort": 4,
-                        "title": "转让成交",
+                        "title": "pcroute.bottom.bottom_presell_transfertrader",
                         "code": "bottom_presell_transfertrader",
                         "component": "views/footer/presell/transfertrader/index.vue"
                     },
                     {
                         "authType": 2,
                         "sort": 5,
-                        "title": "点选交收",
+                        "title": "pcroute.bottom.bottom_presell_onlinedelivery",
                         "code": "bottom_presell_onlinedelivery",
                         "component": "views/footer/presell/onlinedelivery/index.vue"
                     }
@@ -119,35 +119,35 @@
             {
                 "authType": 2,
                 "sort": 3,
-                "title": "现货仓单",
+                "title": "pcroute.bottom.bottom_spot",
                 "code": "bottom_spot",
                 "component": "views/footer/index.vue",
                 "children": [
                     {
                         "authType": 2,
                         "sort": 1,
-                        "title": "现货明细",
+                        "title": "pcroute.bottom.bottom_spot_position",
                         "code": "bottom_spot_position",
                         "component": "views/footer/spot/position/index.vue"
                     },
                     {
                         "authType": 2,
                         "sort": 2,
-                        "title": "挂单",
+                        "title": "pcroute.bottom.bottom_spot_order",
                         "code": "bottom_spot_order",
                         "component": "views/footer/spot/order/index.vue"
                     },
                     {
                         "authType": 2,
                         "sort": 3,
-                        "title": "成交",
+                        "title": "pcroute.bottom.bottom_spot_trade",
                         "code": "bottom_spot_trade",
                         "component": "views/footer/spot/trade/index.vue"
                     },
                     {
                         "authType": 2,
                         "sort": 4,
-                        "title": "提货",
+                        "title": "pcroute.bottom.bottom_spot_pickup",
                         "code": "bottom_spot_pickup",
                         "component": "views/footer/spot/pickup/index.vue"
                     }
@@ -156,35 +156,35 @@
             {
                 "authType": 2,
                 "sort": 4,
-                "title": "挂牌点价",
+                "title": "pcroute.bottom.bottom_pricing",
                 "code": "bottom_pricing",
                 "component": "views/footer/index.vue",
                 "children": [
                     {
                         "authType": 2,
                         "sort": 1,
-                        "title": "持仓汇总",
+                        "title": "pcroute.bottom.bottom_pricing_position",
                         "code": "bottom_pricing_position",
                         "component": "views/footer/pricing/position/index.vue"
                     },
                     {
                         "authType": 2,
                         "sort": 2,
-                        "title": "持仓明细",
+                        "title": "pcroute.bottom.bottom_pricing_detail",
                         "code": "bottom_pricing_detail",
                         "component": "views/footer/pricing/detail/index.vue"
                     },
                     {
                         "authType": 2,
                         "sort": 2,
-                        "title": "委托",
+                        "title": "pcroute.bottom.bottom_pricing_order",
                         "code": "bottom_pricing_order",
                         "component": "views/footer/pricing/order/index.vue"
                     },
                     {
                         "authType": 2,
                         "sort": 3,
-                        "title": "成交",
+                        "title": "pcroute.bottom.bottom_pricing_trade",
                         "code": "bottom_pricing_trade",
                         "component": "views/footer/pricing/trade/index.vue"
                     }
@@ -193,28 +193,28 @@
             {
                 "authType": 2,
                 "sort": 5,
-                "title": "掉期市场",
+                "title": "pcroute.bottom.bottom_swap",
                 "code": "bottom_swap",
                 "component": "views/footer/index.vue",
                 "children": [
                     {
                         "authType": 2,
                         "sort": 1,
-                        "title": "持仓汇总",
+                        "title": "pcroute.bottom.bottom_swap_position",
                         "code": "bottom_swap_position",
                         "component": "views/footer/swap/position/index.vue"
                     },
                     {
                         "authType": 2,
                         "sort": 2,
-                        "title": "委托",
+                        "title": "pcroute.bottom.bottom_swap_order",
                         "code": "bottom_swap_order",
                         "component": "views/footer/swap/order/index.vue"
                     },
                     {
                         "authType": 2,
                         "sort": 3,
-                        "title": "成交",
+                        "title": "pcroute.bottom.bottom_swap_trade",
                         "code": "bottom_swap_trade",
                         "component": "views/footer/swap/trade/index.vue"
                     }
@@ -223,21 +223,21 @@
             {
                 "authType": 2,
                 "sort": 6,
-                "title": "履约信息",
+                "title": "pcroute.bottom.bottom_performance",
                 "code": "bottom_performance",
                 "component": "views/footer/index.vue",
                 "children": [
                     {
                         "authType": 2,
                         "sort": 1,
-                        "title": "买履约",
+                        "title": "pcroute.bottom.bottom_performance_buy",
                         "code": "bottom_performance_buy",
                         "component": "views/footer/performance/buy/index.vue"
                     },
                     {
                         "authType": 2,
                         "sort": 2,
-                        "title": "卖履约",
+                        "title": "pcroute.bottom.bottom_performance_sell",
                         "code": "bottom_performance_sell",
                         "component": "views/footer/performance/sell/index.vue"
                     }
@@ -246,21 +246,21 @@
             {
                 "authType": 2,
                 "sort": 7,
-                "title": "持仓过户",
+                "title": "pcroute.bottom.bottom_inout",
                 "code": "bottom_inout",
                 "component": "views/footer/index.vue",
                 "children": [
                     {
                         "authType": 2,
                         "sort": 1,
-                        "title": "我的转入",
+                        "title": "pcroute.bottom.bottom_inout_in",
                         "code": "bottom_inout_in",
                         "component": "views/footer/inout/in/index.vue"
                     },
                     {
                         "authType": 2,
                         "sort": 2,
-                        "title": "我的转出",
+                        "title": "pcroute.bottom.bottom_inout_out",
                         "code": "bottom_inout_out",
                         "component": "views/footer/inout/out/index.vue"
                     }
@@ -269,28 +269,28 @@
             {
                 "authType": 2,
                 "sort": 8,
-                "title": "资金信息",
+                "title": "pcroute.bottom.bottom_capital",
                 "code": "bottom_capital",
                 "component": "views/footer/index.vue",
                 "children": [
                     {
                         "authType": 2,
                         "sort": 1,
-                        "title": "资金汇总",
+                        "title": "pcroute.bottom.bottom_capital_summary",
                         "code": "bottom_capital_summary",
                         "component": "views/footer/capital/summary/index.vue"
                     },
                     {
                         "authType": 2,
                         "sort": 2,
-                        "title": "资金流水",
+                        "title": "pcroute.bottom.bottom_capital_statement",
                         "code": "bottom_capital_statement",
                         "component": "views/footer/capital/statement/index.vue"
                     },
                     {
                         "authType": 2,
                         "sort": 3,
-                        "title": "出入金明细",
+                        "title": "pcroute.bottom.bottom_capital_inoutapply",
                         "code": "bottom_capital_inoutapply",
                         "component": "views/footer/capital/inoutapply/index.vue"
                     }
@@ -301,7 +301,7 @@
     {
         "authType": 1,
         "sort": 1,
-        "title": "交易市场",
+        "title": "pcroute.market.title",
         "code": "market",
         "url": "/market",
         "urlType": 1,
@@ -311,7 +311,7 @@
             {
                 "authType": 1,
                 "sort": 1,
-                "title": "交易市场",
+                "title": "pcroute.market.market_trade",
                 "code": "market_trade",
                 "url": "trade",
                 "urlType": 1,
@@ -322,7 +322,7 @@
     {
         "authType": 1,
         "sort": 2,
-        "title": "查询",
+        "title": "pcroute.query.title",
         "code": "query",
         "url": "/query",
         "urlType": 1,
@@ -332,7 +332,7 @@
             {
                 "authType": 1,
                 "sort": 1,
-                "title": "委托记录",
+                "title": "pcroute.query.query_order",
                 "code": "query_order",
                 "url": "order",
                 "urlType": 1,
@@ -341,7 +341,7 @@
                     {
                         "authType": 1,
                         "sort": 1,
-                        "title": "商品合约",
+                        "title": "pcroute.query.query_order_goods",
                         "code": "query_order_goods",
                         "url": "goods",
                         "urlType": 1,
@@ -350,14 +350,14 @@
                             {
                                 "authType": 2,
                                 "sort": 1,
-                                "title": "当前记录",
+                                "title": "pcroute.query.query_order_goods_list",
                                 "code": "query_order_goods_list",
                                 "component": "views/query/order/goods/list/index.vue"
                             },
                             {
                                 "authType": 2,
                                 "sort": 2,
-                                "title": "历史记录",
+                                "title": "pcroute.query.query_order_goods_history",
                                 "code": "query_order_goods_history",
                                 "component": "views/query/order/goods/history/index.vue"
                             }
@@ -366,7 +366,7 @@
                     {
                         "authType": 1,
                         "sort": 2,
-                        "title": "预售转让",
+                        "title": "pcroute.query.query_order_presell",
                         "code": "query_order_presell",
                         "url": "presell",
                         "urlType": 1,
@@ -375,28 +375,28 @@
                             {
                                 "authType": 2,
                                 "sort": 1,
-                                "title": "当前认购",
+                                "title": "pcroute.query.query_order_presell__list",
                                 "code": "query_order_presell__list",
                                 "component": "views/query/order/presell/list/index.vue"
                             },
                             {
                                 "authType": 2,
                                 "sort": 2,
-                                "title": "历史认购",
+                                "title": "pcroute.query.query_order_presell_history",
                                 "code": "query_order_presell_history",
                                 "component": "views/query/order/presell/history/index.vue"
                             },
                             {
                                 "authType": 2,
                                 "sort": 3,
-                                "title": "当前转让",
+                                "title": "pcroute.query.query_order_presell_transferlist",
                                 "code": "query_order_presell_transferlist",
                                 "component": "views/query/order/presell/transferlist/index.vue"
                             },
                             {
                                 "authType": 2,
                                 "sort": 4,
-                                "title": "历史转让",
+                                "title": "pcroute.query.query_order_presell_transferhistory",
                                 "code": "query_order_presell_transferhistory",
                                 "component": "views/query/order/presell/transferhistory/index.vue"
                             }
@@ -405,7 +405,7 @@
                     {
                         "authType": 1,
                         "sort": 3,
-                        "title": "现货仓单",
+                        "title": "pcroute.query.query_order_spot",
                         "code": "query_order_spot",
                         "url": "spot",
                         "urlType": 1,
@@ -414,14 +414,14 @@
                             {
                                 "authType": 2,
                                 "sort": 1,
-                                "title": "当前记录",
+                                "title": "pcroute.query.query_order_spot_list",
                                 "code": "query_order_spot_list",
                                 "component": "views/query/order/spot/list/index.vue"
                             },
                             {
                                 "authType": 2,
                                 "sort": 2,
-                                "title": "历史记录",
+                                "title": "pcroute.query.query_order_spot_history",
                                 "code": "query_order_spot_history",
                                 "component": "views/query/order/spot/history/index.vue"
                             }
@@ -430,7 +430,7 @@
                     {
                         "authType": 1,
                         "sort": 4,
-                        "title": "挂牌点价",
+                        "title": "pcroute.query.query_order_pricing",
                         "code": "query_order_pricing",
                         "url": "pricing",
                         "urlType": 1,
@@ -439,14 +439,14 @@
                             {
                                 "authType": 2,
                                 "sort": 1,
-                                "title": "当前记录",
+                                "title": "pcroute.query.query_order_pricing_list",
                                 "code": "query_order_pricing_list",
                                 "component": "views/query/order/pricing/list/index.vue"
                             },
                             {
                                 "authType": 2,
                                 "sort": 2,
-                                "title": "历史记录",
+                                "title": "pcroute.query.query_order_pricing_history",
                                 "code": "query_order_pricing_history",
                                 "component": "views/query/order/pricing/history/index.vue"
                             }
@@ -455,7 +455,7 @@
                     {
                         "authType": 1,
                         "sort": 5,
-                        "title": "掉期市场",
+                        "title": "pcroute.query.query_order_swap",
                         "code": "query_order_swap",
                         "url": "swap",
                         "urlType": 1,
@@ -464,14 +464,14 @@
                             {
                                 "authType": 2,
                                 "sort": 1,
-                                "title": "当前记录",
+                                "title": "pcroute.query.query_order_swap_list",
                                 "code": "query_order_swap_list",
                                 "component": "views/query/order/swap/list/index.vue"
                             },
                             {
                                 "authType": 2,
                                 "sort": 2,
-                                "title": "历史记录",
+                                "title": "pcroute.query.query_order_swap_history",
                                 "code": "query_order_swap_history",
                                 "component": "views/query/order/swap/history/index.vue"
                             }
@@ -482,7 +482,7 @@
             {
                 "authType": 1,
                 "sort": 2,
-                "title": "成交记录",
+                "title": "pcroute.query.query_trade",
                 "code": "query_trade",
                 "url": "trade",
                 "urlType": 1,
@@ -491,7 +491,7 @@
                     {
                         "authType": 1,
                         "sort": 1,
-                        "title": "商品合约",
+                        "title": "pcroute.query.query_trade_goods",
                         "code": "query_trade_goods",
                         "url": "goods",
                         "urlType": 1,
@@ -500,14 +500,14 @@
                             {
                                 "authType": 2,
                                 "sort": 1,
-                                "title": "当前记录",
+                                "title": "pcroute.query.query_trade_goods_list",
                                 "code": "query_trade_goods_list",
                                 "component": "views/query/trade/goods/list/index.vue"
                             },
                             {
                                 "authType": 2,
                                 "sort": 2,
-                                "title": "历史记录",
+                                "title": "pcroute.query.query_trade_goods_history",
                                 "code": "query_trade_goods_history",
                                 "component": "views/query/trade/goods/history/index.vue"
                             }
@@ -516,7 +516,7 @@
                     {
                         "authType": 1,
                         "sort": 2,
-                        "title": "预售转让",
+                        "title": "pcroute.query.query_trade_presell",
                         "code": "query_trade_presell",
                         "url": "presell",
                         "urlType": 1,
@@ -525,14 +525,14 @@
                             {
                                 "authType": 2,
                                 "sort": 1,
-                                "title": "当前记录",
+                                "title": "pcroute.query.query_trade_presell_list",
                                 "code": "query_trade_presell_list",
                                 "component": "views/query/trade/presell/list/index.vue"
                             },
                             {
                                 "authType": 2,
                                 "sort": 2,
-                                "title": "历史记录",
+                                "title": "pcroute.query.query_trade_presell_history",
                                 "code": "query_trade_presell_history",
                                 "component": "views/query/trade/presell/history/index.vue"
                             }
@@ -541,7 +541,7 @@
                     {
                         "authType": 1,
                         "sort": 3,
-                        "title": "现货仓单",
+                        "title": "pcroute.query.query_trade_spot",
                         "code": "query_trade_spot",
                         "url": "spot",
                         "urlType": 1,
@@ -550,14 +550,14 @@
                             {
                                 "authType": 2,
                                 "sort": 1,
-                                "title": "当前记录",
+                                "title": "pcroute.query.query_trade_spot_list",
                                 "code": "query_trade_spot_list",
                                 "component": "views/query/trade/spot/list/index.vue"
                             },
                             {
                                 "authType": 2,
                                 "sort": 2,
-                                "title": "历史记录",
+                                "title": "pcroute.query.query_trade_spot_history",
                                 "code": "query_trade_spot_history",
                                 "component": "views/query/trade/spot/history/index.vue"
                             }
@@ -566,7 +566,7 @@
                     {
                         "authType": 1,
                         "sort": 4,
-                        "title": "挂牌点价",
+                        "title": "pcroute.query.query_trade_pricing",
                         "code": "query_trade_pricing",
                         "url": "pricing",
                         "urlType": 1,
@@ -575,14 +575,14 @@
                             {
                                 "authType": 2,
                                 "sort": 1,
-                                "title": "当前记录",
+                                "title": "pcroute.query.query_trade_pricing_list",
                                 "code": "query_trade_pricing_list",
                                 "component": "views/query/trade/pricing/list/index.vue"
                             },
                             {
                                 "authType": 2,
                                 "sort": 2,
-                                "title": "历史记录",
+                                "title": "pcroute.query.query_trade_pricing_history",
                                 "code": "query_trade_pricing_history",
                                 "component": "views/query/trade/pricing/history/index.vue"
                             }
@@ -591,7 +591,7 @@
                     {
                         "authType": 1,
                         "sort": 5,
-                        "title": "掉期市场",
+                        "title": "pcroute.query.query_trade_swap",
                         "code": "query_trade_swap",
                         "url": "swap",
                         "urlType": 1,
@@ -600,14 +600,14 @@
                             {
                                 "authType": 2,
                                 "sort": 1,
-                                "title": "当前记录",
+                                "title": "pcroute.query.query_trade_swap_list",
                                 "code": "query_trade_swap_list",
                                 "component": "views/query/trade/swap/list/index.vue"
                             },
                             {
                                 "authType": 2,
                                 "sort": 2,
-                                "title": "历史记录",
+                                "title": "pcroute.query.query_trade_swap_history",
                                 "code": "query_trade_swap_history",
                                 "component": "views/query/trade/swap/history/index.vue"
                             }
@@ -618,7 +618,7 @@
             {
                 "authType": 1,
                 "sort": 3,
-                "title": "资金流水",
+                "title": "pcroute.query.query_capital",
                 "code": "query_capital",
                 "url": "capital",
                 "urlType": 1,
@@ -627,14 +627,14 @@
                     {
                         "authType": 2,
                         "sort": 1,
-                        "title": "当前记录",
+                        "title": "pcroute.query.query_capital_list",
                         "code": "query_capital_list",
                         "component": "views/query/capital/list/index.vue"
                     },
                     {
                         "authType": 2,
                         "sort": 2,
-                        "title": "历史记录",
+                        "title": "pcroute.query.query_capital_history",
                         "code": "query_capital_history",
                         "component": "views/query/capital/history/index.vue"
                     }
@@ -643,7 +643,7 @@
             {
                 "authType": 1,
                 "sort": 4,
-                "title": "点选交收",
+                "title": "pcroute.query.query_presell",
                 "code": "query_presell",
                 "url": "presell",
                 "urlType": 1,
@@ -652,7 +652,7 @@
                     {
                         "authType": 1,
                         "sort": 1,
-                        "title": "点选交收",
+                        "title": "pcroute.query.query_presell_onlinedelivery",
                         "code": "query_presell_onlinedelivery",
                         "url": "buy",
                         "urlType": 1,
@@ -663,7 +663,7 @@
             {
                 "authType": 1,
                 "sort": 5,
-                "title": "履约查询",
+                "title": "pcroute.query.query_performance",
                 "code": "query_performance",
                 "url": "performance",
                 "urlType": 1,
@@ -672,7 +672,7 @@
                     {
                         "authType": 1,
                         "sort": 1,
-                        "title": "买履约",
+                        "title": "pcroute.query.query_performance_buy",
                         "code": "query_performance_buy",
                         "url": "buy",
                         "urlType": 1,
@@ -681,14 +681,14 @@
                             {
                                 "authType": 2,
                                 "sort": 1,
-                                "title": "执行中",
+                                "title": "pcroute.query.query_performance_buy_running",
                                 "code": "query_performance_buy_running",
                                 "component": "views/query/performance/buy/running/index.vue"
                             },
                             {
                                 "authType": 2,
                                 "sort": 2,
-                                "title": "全部",
+                                "title": "pcroute.query.query_performance_buy_all",
                                 "code": "query_performance_buy_all",
                                 "component": "views/query/performance/buy/all/index.vue"
                             }
@@ -697,7 +697,7 @@
                     {
                         "authType": 1,
                         "sort": 2,
-                        "title": "卖履约",
+                        "title": "pcroute.query.query_performance_sell",
                         "code": "query_performance_sell",
                         "url": "sell",
                         "urlType": 1,
@@ -706,14 +706,14 @@
                             {
                                 "authType": 2,
                                 "sort": 1,
-                                "title": "执行中",
+                                "title": "pcroute.query.query_performance_sell_running",
                                 "code": "query_performance_sell_running",
                                 "component": "views/query/performance/sell/running/index.vue"
                             },
                             {
                                 "authType": 2,
                                 "sort": 2,
-                                "title": "全部",
+                                "title": "pcroute.query.query_performance_sell_all",
                                 "code": "query_performance_sell_all",
                                 "component": "views/query/performance/sell/all/index.vue"
                             }
@@ -724,7 +724,7 @@
             {
                 "authType": 1,
                 "sort": 6,
-                "title": "出入金申请记录",
+                "title": "pcroute.query.query_inoutapply",
                 "code": "query_inoutapply",
                 "url": "inoutapply",
                 "urlType": 1,
@@ -733,14 +733,14 @@
                     {
                         "authType": 2,
                         "sort": 1,
-                        "title": "当前记录",
+                        "title": "pcroute.query.query_inoutapply_list",
                         "code": "query_inoutapply_list",
                         "component": "views/query/inoutapply/list/index.vue"
                     },
                     {
                         "authType": 2,
                         "sort": 1,
-                        "title": "历史记录",
+                        "title": "pcroute.query.query_inoutapply_history",
                         "code": "query_inoutapply_history",
                         "component": "views/query/inoutapply/history/index.vue"
                     }
@@ -751,7 +751,7 @@
     {
         "authType": 1,
         "sort": 3,
-        "title": "账户管理",
+        "title": "pcroute.account.title",
         "code": "account",
         "url": "/account",
         "urlType": 1,
@@ -761,7 +761,7 @@
             {
                 "authType": 1,
                 "sort": 1,
-                "title": "签约账号管理",
+                "title": "pcroute.account.account_sign",
                 "code": "account_sign",
                 "url": "sign",
                 "urlType": 1,
@@ -770,7 +770,7 @@
             {
                 "authType": 1,
                 "sort": 2,
-                "title": "入金代扣签约",
+                "title": "pcroute.account.account_holdsign",
                 "code": "account_holdsign",
                 "url": "holdsign",
                 "urlType": 1,
@@ -779,7 +779,7 @@
             {
                 "authType": 1,
                 "sort": 3,
-                "title": "入金代扣申请",
+                "title": "pcroute.account.account_holddeposit",
                 "code": "account_holddeposit",
                 "url": "holddeposit",
                 "urlType": 1,
@@ -788,7 +788,7 @@
             {
                 "authType": 1,
                 "sort": 4,
-                "title": "收货地址管理",
+                "title": "pcroute.account.account_address",
                 "code": "account_address",
                 "url": "address",
                 "urlType": 1,
@@ -797,7 +797,7 @@
             {
                 "authType": 1,
                 "sort": 5,
-                "title": "发票信息管理",
+                "title": "pcroute.account.account_receipt",
                 "code": "account_receipt",
                 "url": "receipt",
                 "urlType": 1,

+ 118 - 3
public/locales/en-US.json

@@ -16,10 +16,12 @@
         "submitsuccess": "Submit Successful",
         "pleaseenter": "Please enter",
         "ikonw": "I Konw",
-        "exit": "exit",
-        "tryagain": "try again",
-        "loading": "loading...",
+        "operate": "Operate",
+        "exit": "Exit",
+        "tryagain": "Try again",
+        "loading": "Loading...",
         "nomore": "No more",
+        "loadMore": "Load More",
         "requestfailure": "Request failed, click Reload"
     },
     "tabbar": {
@@ -343,6 +345,7 @@
             "ordertime": "OrderTime",
             "orderdate": "OrderDate",
             "orderid": "OrderID",
+            "freezemargin": "FreezeMargin",
             "tips1": "Is the confirmation to be revoked?",
             "tips2": "Revocation is successful"
         },
@@ -544,6 +547,7 @@
             "transferprice": "Price",
             "qty": "Qty",
             "tradetime": "TradeTime",
+            "marketValue": "MarketValue",
             "holderprice": "HolderPrice",
             "deliveryinfo": "DeliveryInfo",
             "tips1": "Please enter the transfer price",
@@ -558,6 +562,8 @@
             "tips10": "Please enter the delivery information",
             "holddetail": {
                 "title": "Hold Detail",
+                "marketname":"MarketName",
+                "tradeid":"TradeID",
                 "tradetime": "TradeTime",
                 "buyorsell": "BuyOrSell",
                 "holderqty": "HolderQty",
@@ -700,6 +706,7 @@
             "title": "Offline",
             "subtitle": "Offline Order Information",
             "goodsname": "Name/Code",
+            "goodsnamedisplay": "GoodsName",
             "buyorselldisplay": "Direction",
             "deliveryqty": "DeliveryQty",
             "deliveryprice": "DeliveryPrice",
@@ -1202,5 +1209,113 @@
         "tipTxt": "Swipe right to verify",
         "successTip": "Success",
         "failTip": "Verification failed. Please try again"
+    },
+    "pcroute": {
+        "bottom": {
+            "title": "Bottom Order Menu",
+            "bottom_goods": "Goods",
+            "bottom_goods_position": "Position",
+            "bottom_goods_position_transfer": "Transfer",
+            "bottom_goods_position_delivery16": "Delivery",
+            "bottom_goods_position_delivery50": "Delivery",
+            "bottom_goods_detail": "HoldDetail",
+            "bottom_goods_order": "Order",
+            "bottom_goods_trade": "Trade",
+            "bottom_goods_delivery": "Delivery",
+            "bottom_presell": "Presell & Transfer",
+            "bottom_presell_presellposition": "Presell Subscription",
+            "bottom_presell_transferposition": "Transfer Position",
+            "bottom_presell_transferorder": "Transfer Order",
+            "bottom_presell_transfertrader": "Transfer Trade",
+            "bottom_presell_onlinedelivery": "Online Delivery",
+            "bottom_spot": "Spot",
+            "bottom_spot_position": "HoldDetail",
+            "bottom_spot_order": "Order",
+            "bottom_spot_trade": "Trade",
+            "bottom_spot_pickup": "Pick Up",
+            "bottom_pricing": "Pricing & Listing",
+            "bottom_pricing_position": "Position",
+            "bottom_pricing_detail": "HoldDetail",
+            "bottom_pricing_order": "Order",
+            "bottom_pricing_trade": "Trade",
+            "bottom_swap": "Swap Market",
+            "bottom_swap_position": "Position",
+            "bottom_swap_order": "Order",
+            "bottom_swap_trade": "Trade",
+            "bottom_performance": "Performance",
+            "bottom_performance_buy": "Buy",
+            "bottom_performance_sell": "Sell",
+            "bottom_inout": "Transfer Position",
+            "bottom_inout_in": "My Transfer In",
+            "bottom_inout_out": "My Transfer Out",
+            "bottom_capital": "Funds Information",
+            "bottom_capital_summary": "Funds Summary",
+            "bottom_capital_statement": "Funds Statement",
+            "bottom_capital_inoutapply": "InOut Apply Details"
+        },
+        "market": {
+            "title": "Market",
+            "market_trade": "Market Trade"
+        },
+        "query": {
+            "title": "Query",
+            "query_order": "Order List",
+            "query_order_goods": "Goods",
+            "query_order_goods_list": "Currents",
+            "query_order_goods_history": "Historys",
+            "query_order_presell": "Presell Transfer",
+            "query_order_presell__list": "Currents Subscribe",
+            "query_order_presell_history": "Historys Subscribe",
+            "query_order_presell_transferlist": "Currents Transfer",
+            "query_order_presell_transferhistory": "Historys Transfer",
+            "query_order_spot": "Spots",
+            "query_order_spot_list": "Currents",
+            "query_order_spot_history": "Historys",
+            "query_order_pricing": "Pricing",
+            "query_order_pricing_list": "Currents",
+            "query_order_pricing_history": "Historys",
+            "query_order_swap": "Swap Market",
+            "query_order_swap_list": "Currents",
+            "query_order_swap_history": "Historys",
+            "query_trade": "Trade List",
+            "query_trade_goods": "Goods",
+            "query_trade_goods_list": "Currents",
+            "query_trade_goods_history": "Historys",
+            "query_trade_presell": "Presell Transfer",
+            "query_trade_presell_list": "Currents",
+            "query_trade_presell_history": "Historys",
+            "query_trade_spot": "Spots",
+            "query_trade_spot_list": "Currents",
+            "query_trade_spot_history": "Historys",
+            "query_trade_pricing": "Pricing",
+            "query_trade_pricing_list": "Currents",
+            "query_trade_pricing_history": "Historys",
+            "query_trade_swap": "Swap Market",
+            "query_trade_swap_list": "Currents",
+            "query_trade_swap_history": "Historys",
+            "query_capital": "Funds List",
+            "query_capital_list": "Currents",
+            "query_capital_history": "Historys",
+            "query_presell": "Delivery & Pick Up",
+            "query_presell_onlinedelivery": "Delivery & Pick Up",
+            "query_performance": "Performance",
+            "query_performance_buy": "Buy",
+            "query_performance_buy_running": "Running",
+            "query_performance_buy_all": "All",
+            "query_performance_sell": "Sell",
+            "query_performance_sell_running": "Running",
+            "query_performance_sell_all": "All",
+            "query_inoutapply": "InOut Applys",
+            "query_inoutapply_list": "Currents",
+            "query_inoutapply_history": "Historys"
+        },
+        "account": {
+            "title": "Accounts",
+            "account_sign": "BankAccount Sign",
+            "account_holdsign": "WithHolding Sign",
+            "account_holddeposit": "WithHolding Apply",
+            "account_address": "Address",
+            "account_receipt": "Invoice"
+        }
     }
 }

+ 115 - 0
public/locales/zh-CN.json

@@ -16,11 +16,13 @@
         "submitsuccess": "提交成功",
         "pleaseenter": "请输入",
         "ikonw": "我知道了",
+        "operate": "操作",
         "exit": "退出",
         "tryagain": "重试",
         "loading": "正在加载...",
         "submiting": "提交中...",
         "nomore": "没有更多了",
+        "loadMore": "加载更多",
         "requestfailure": "请求失败,点击重新加载"
     },
     "tabbar": {
@@ -345,6 +347,7 @@
             "ordertime": "委托时间",
             "orderdate": "委托日期",
             "orderid": "委托单号",
+            "freezemargin": "冻结金额",
             "tips1": "是否撤销该委托单?",
             "tips2": "撤销成功"
         },
@@ -548,6 +551,7 @@
             "holderprice": "持仓价格",
             "deliveryinfo": "交收信息",
             "freezeqty": "冻结量",
+            "marketValue": "市值",
             "tips1": "请输入转让价格",
             "tips2": "请输入转让量",
             "tips3": "确认要转让吗?",
@@ -560,7 +564,9 @@
             "tips10": "请输入交收信息",
             "holddetail": {
                 "title": "订单明细",
+                "marketname":"市场",
                 "tradetime": "交易时间",
+                "tradeid":"成交单号",
                 "buyorsell": "类型",
                 "holderqty": "持仓量",
                 "freezeqty": "冻结量",
@@ -702,6 +708,7 @@
             "title": "线下交收单",
             "subtitle": "线下交收单信息",
             "goodsname": "商品代码/名称",
+            "goodsnamedisplay": "订单合约",
             "buyorselldisplay": "交收方向",
             "deliveryqty": "交收数量",
             "deliveryprice": "交收价格",
@@ -1205,5 +1212,113 @@
         "tipTxt": "向右滑动验证",
         "successTip": "验证通过",
         "failTip": "验证失败,请重试"
+    },
+    "pcroute": {
+        "bottom": {
+            "title": "底部单据菜单",
+            "bottom_goods": "商品订单",
+            "bottom_goods_position": "持仓汇总",
+            "bottom_goods_position_transfer": "转让",
+            "bottom_goods_position_delivery16": "交收",
+            "bottom_goods_position_delivery50": "交收",
+            "bottom_goods_detail": "持仓明细",
+            "bottom_goods_order": "委托",
+            "bottom_goods_trade": "成交",
+            "bottom_goods_delivery": "交收",
+            "bottom_presell": "预售转让",
+            "bottom_presell_presellposition": "预售认购",
+            "bottom_presell_transferposition": "转让持仓",
+            "bottom_presell_transferorder": "转让委托",
+            "bottom_presell_transfertrader": "转让成交",
+            "bottom_presell_onlinedelivery": "点选交收",
+            "bottom_spot": "现货仓单",
+            "bottom_spot_position": "现货明细",
+            "bottom_spot_order": "挂单",
+            "bottom_spot_trade": "成交",
+            "bottom_spot_pickup": "提货",
+            "bottom_pricing": "挂牌点价",
+            "bottom_pricing_position": "持仓汇总",
+            "bottom_pricing_detail": "持仓明细",
+            "bottom_pricing_order": "委托",
+            "bottom_pricing_trade": "成交",
+            "bottom_swap": "掉期市场",
+            "bottom_swap_position": "持仓汇总",
+            "bottom_swap_order": "委托",
+            "bottom_swap_trade": "成交",
+            "bottom_performance": "履约信息",
+            "bottom_performance_buy": "买履约",
+            "bottom_performance_sell": "卖履约",
+            "bottom_inout": "持仓过户",
+            "bottom_inout_in": "我的转入",
+            "bottom_inout_out": "我的转出",
+            "bottom_capital": "资金信息",
+            "bottom_capital_summary": "资金汇总",
+            "bottom_capital_statement": "资金流水",
+            "bottom_capital_inoutapply": "出入金明细"
+        },
+        "market": {
+            "title": "交易市场",
+            "market_trade": "交易市场"
+        },
+        "query": {
+            "title": "查询",
+            "query_order": "委托记录",
+            "query_order_goods": "商品合约",
+            "query_order_goods_list": "当前记录",
+            "query_order_goods_history": "历史记录",
+            "query_order_presell": "预售转让",
+            "query_order_presell__list": "当前认购",
+            "query_order_presell_history": "历史认购",
+            "query_order_presell_transferlist": "当前转让",
+            "query_order_presell_transferhistory": "历史转让",
+            "query_order_spot": "现货仓单",
+            "query_order_spot_list": "当前记录",
+            "query_order_spot_history": "历史记录",
+            "query_order_pricing": "挂牌点价",
+            "query_order_pricing_list": "当前记录",
+            "query_order_pricing_history": "历史记录",
+            "query_order_swap": "掉期市场",
+            "query_order_swap_list": "当前记录",
+            "query_order_swap_history": "历史记录",
+            "query_trade": "成交记录",
+            "query_trade_goods": "商品合约",
+            "query_trade_goods_list": "当前记录",
+            "query_trade_goods_history": "历史记录",
+            "query_trade_presell": "预售转让",
+            "query_trade_presell_list": "当前记录",
+            "query_trade_presell_history": "历史记录",
+            "query_trade_spot": "现货仓单",
+            "query_trade_spot_list": "当前记录",
+            "query_trade_spot_history": "历史记录",
+            "query_trade_pricing": "挂牌点价",
+            "query_trade_pricing_list": "当前记录",
+            "query_trade_pricing_history": "历史记录",
+            "query_trade_swap": "掉期市场",
+            "query_trade_swap_list": "当前记录",
+            "query_trade_swap_history": "历史记录",
+            "query_capital": "资金流水",
+            "query_capital_list": "当前记录",
+            "query_capital_history": "历史记录",
+            "query_presell": "点选交收",
+            "query_presell_onlinedelivery": "点选交收",
+            "query_performance": "履约查询",
+            "query_performance_buy": "买履约",
+            "query_performance_buy_running": "执行中",
+            "query_performance_buy_all": "全部",
+            "query_performance_sell": "卖履约",
+            "query_performance_sell_running": "执行中",
+            "query_performance_sell_all": "全部",
+            "query_inoutapply": "出入金申请记录",
+            "query_inoutapply_list": "当前记录",
+            "query_inoutapply_history": "历史记录"
+        },
+        "account": {
+            "title": "账户管理",
+            "account_sign": "签约账号管理",
+            "account_holdsign": "入金代扣签约",
+            "account_holddeposit": "入金代扣申请",
+            "account_address": "收货地址管理",
+            "account_receipt": "发票信息管理"
+        }
     }
 }

+ 4 - 1
src/packages/pc/components/base/table/index.vue

@@ -29,7 +29,7 @@
         <el-table-column type="index" label="序号" align="center" :width="80" v-if="showIndex" />
         <!-- 数据列 -->
         <template v-for="(item, index) in columns" :key="index">
-          <el-table-column :align="item.align ?? 'center'" :min-width="120" :width="item.width" :label="item.label"
+          <el-table-column :align="item.align ?? 'center'" :min-width="120" :width="item.width" :label="t(item.label)"
             :prop="item.field" :fixed="item.fixed || false" :sortable="item.sortable"
             :show-overflow-tooltip="item.field !== 'operate'" v-if="item.show ?? true">
             <template #default="{ row, $index }">
@@ -55,6 +55,7 @@
 <script lang="ts">
 import { defineComponent, shallowRef, PropType } from 'vue'
 import { handleNoneValue } from '@/filters'
+import { i18n } from '@/stores'
 import AppTableSetting from '../table-setting/index.vue'
 
 export default defineComponent({
@@ -88,6 +89,7 @@ export default defineComponent({
     const showTableSetting = shallowRef(false)
     const refresh = () => emit('refresh')
     const updateColumn = (value: Model.TableColumn[]) => emit('update:columns', value)
+    const { global: { t } } = i18n
 
     // 当某一行被勾选时触发的事件
     const onSelect = (selection: unknown[], currentRow: unknown) => {
@@ -151,6 +153,7 @@ export default defineComponent({
       handleValue,
       refresh,
       updateColumn,
+      t
     }
   },
 })

+ 8 - 2
src/packages/pc/components/layouts/sidemenu/submenu.vue

@@ -5,7 +5,7 @@
                 <!--如果没有图标,用标题第一个字代替-->
                 <template v-if="item.icon">
                     <app-icon class="menu-icon" :icon="item.icon" />
-                    <span>{{ item.title }}</span>
+                    <span>{{ t(item.title) }}</span>
                 </template>
                 <template v-else>
                     <i class="menu-icon menu-icon--text">{{ item.title.slice(0, 1) }}</i>
@@ -17,13 +17,14 @@
         </el-sub-menu>
         <el-menu-item :index="item.code" v-else>
             <app-icon class="menu-icon" :icon="item.icon" v-if="item.icon" />
-            <span>{{ item.title }}</span>
+            <span>{{ t(item.title) }}</span>
         </el-menu-item>
     </template>
 </template>
 
 <script lang="ts">
 import { defineComponent, PropType } from 'vue'
+import { i18n } from '@/stores';
 import AppIcon from '@pc/components/base/icon/index.vue'
 
 export default defineComponent({
@@ -37,5 +38,10 @@ export default defineComponent({
             required: true,
         },
     },
+
+    setup() {
+        const { global: { t } } = i18n
+        return { t }
+    }
 })
 </script>

+ 12 - 11
src/packages/pc/views/footer/goods/delivery/index.vue

@@ -31,6 +31,7 @@ import { queryMineTradeGoodsDeliveryOfflines } from '@/services/api/transfer'
 import { formatDate } from '@/filters'
 import { useComponent } from '@/hooks/component'
 import { useComposeTable } from '@pc/components/base/table'
+import { i18n } from '@/stores'
 import AppTable from '@pc/components/base/table/index.vue'
 
 const componentMap = new Map<string, unknown>([
@@ -42,21 +43,21 @@ const { componentRef, componentId, openComponent, closeComponent } = useComponen
 })
 
 const { loading, dataList, run } = useRequest(queryMineTradeGoodsDeliveryOfflines)
-
 const { rowKey, expandKeys, selectedRow, rowClick } = useComposeTable<Model.MineTradeGoodsDeliveryOfflinesRsp>({ rowKey: 'deliveryorderid' })
 
+const { global: { t } } = i18n
 
 const tableColumns = shallowRef<Model.TableColumn[]>([
-    { field: 'goodsnamedisplay', label: '订单合约' },
-    { field: 'buyorselldisplay', label: '交收方向' },
-    { field: 'deliveryqty', label: '交收数量' },
-    { field: 'deliveryprice', label: '交收价格' },
-    { field: 'deliveryamount', label: '交收金额' },
-    { field: 'deliveryinfo', label: '交收信息' },
-    { field: 'orderstatusdisplay', label: '状态' },
-    { field: 'deliveryorderid', label: '交收单号' },
-    { field: 'matchusername', label: '对手方' },
-    { field: 'reqtime', label: '申请时间' }
+    { field: 'goodsnamedisplay', label: t('delivery.offline.goodsnamedisplay') },
+    { field: 'buyorselldisplay', label: t('delivery.offline.buyorselldisplay') },
+    { field: 'deliveryqty', label: t('delivery.offline.deliveryqty') },
+    { field: 'deliveryprice', label: t('delivery.offline.deliveryprice') },
+    { field: 'deliveryamount', label: t('delivery.offline.deliveryamount') },
+    { field: 'deliveryinfo', label: t('delivery.offline.deliveryinfo') },
+    { field: 'orderstatusdisplay', label: t('delivery.offline.orderstatusdisplay') },
+    { field: 'deliveryorderid', label: t('delivery.offline.deliveryorderid') },
+    { field: 'matchusername', label: t('delivery.offline.matchusername') },
+    { field: 'reqtime', label: t('delivery.offline.reqtime') }
 ])
 
 const showComponent = (componentName: string, row?: Model.MineTradeGoodsDeliveryOfflinesRsp) => {

+ 13 - 11
src/packages/pc/views/footer/goods/order/index.vue

@@ -41,10 +41,11 @@ import { useRequest } from '@/hooks/request'
 import { useLocalPagination } from '@/hooks/pagination'
 import { getBuildTypeName, getBuyOrSellName, getOrderStatusName } from '@/constants/order'
 import { queryTradeOrderDetail } from '@/services/api/order'
-import AppTable from '@pc/components/base/table/index.vue'
 import { formatDate } from '@/filters'
 import { useComponent } from '@/hooks/component'
 import eventBus from '@/services/bus'
+import AppTable from '@pc/components/base/table/index.vue'
+import { i18n } from '@/stores'
 
 const componentMap = new Map<string, unknown>([
     ['cancel', defineAsyncComponent(() => import('./cancel/index.vue'))], // 撤单
@@ -54,6 +55,7 @@ const componentMap = new Map<string, unknown>([
 const { tableList, showLoadMore, initTableData, loadMore } = useLocalPagination<Model.TradeOrderDetailRsp>()
 const tableRef = ref()
 const selectedRows = ref<Model.TradeOrderDetailRsp[]>([])
+const { global: { t } } = i18n
 
 const { dataList, loading, run, runAsync } = useRequest(queryTradeOrderDetail, {
     params: {
@@ -68,16 +70,16 @@ const { componentRef, componentId, openComponent, closeComponent } = useComponen
 })
 
 const tableColumns = ref<Model.TableColumn[]>([
-    { field: 'goodsname', label: '订单合约' },
-    { field: 'buyorsell', label: '方向' },
-    { field: 'buildtype', label: '类型' },
-    { field: 'orderprice', label: '委托价' },
-    { field: 'orderqty', label: '委托量' },
-    { field: 'tradeqty', label: '成交量' },
-    { field: 'freezemargin', label: '冻结金额' },
-    { field: 'orderid', label: '委托单号' },
-    { field: 'ordertime', label: '委托时间' },
-    { field: 'orderstatus', label: '状态' }
+    { field: 'goodsname', label: t('order.goodsorder.goodsname') },
+    { field: 'buyorsell', label: t('order.goodsorder.buyorsell') },
+    { field: 'buildtype', label: t('order.goodsorder.buildtype') },
+    { field: 'orderprice', label: t('order.goodsorder.orderprice')  },
+    { field: 'orderqty', label: t('order.goodsorder.orderqty') },
+    { field: 'tradeqty', label: t('order.goodsorder.tradeqty') },
+    { field: 'freezemargin', label: t('order.goodsorder.freezemargin') },
+    { field: 'orderid', label: t('order.goodsorder.orderid') },
+    { field: 'ordertime', label: t('order.goodsorder.ordertime') },
+    { field: 'orderstatus', label: t('order.goodsorder.orderstatus') }
 ])
 
 /// 双击单据撤销

+ 13 - 12
src/packages/pc/views/footer/goods/position/index.vue

@@ -30,7 +30,7 @@
 import { shallowRef, computed, onMounted } from 'vue'
 import { handleNumberValue, formatDecimal } from '@/filters'
 import { BuyOrSell, getBuyOrSellName } from '@/constants/order'
-import { usePositionStore, useUserStore, useFuturesStore } from '@/stores'
+import { usePositionStore, useUserStore, useFuturesStore, i18n } from '@/stores'
 import AppTable from '@pc/components/base/table/index.vue'
 import AppAuthOperation from '@pc/components/modules/auth-operation/index.vue'
 
@@ -38,6 +38,7 @@ defineProps({
     code: String
 })
 
+const { global: { t } } = i18n
 const userStore = useUserStore()
 const positionStore = usePositionStore()
 const futuresStore = useFuturesStore()
@@ -46,17 +47,17 @@ const positionList = computed(() => positionStore.getPositionListByTradeMode(50,
 const goodsList = computed(() => futuresStore.goodsList.filter((a) => positionList.value.some((b) => b.goodsid === a.goodsid)))
 
 const tableColumns = shallowRef<Model.TableColumn[]>([
-    { field: 'goodsname', label: '订单合约' },
-    { field: 'buyorsell', label: '方向' },
-    { field: 'curpositionqty', label: '持有量' },
-    { field: 'enableqty', label: '可用量' },
-    { field: 'frozenqty', label: '预扣量' },
-    { field: 'averageprice', label: '均价' },
-    { field: 'lastprice', label: '现价' },
-    { field: 'curholderamount', label: '持仓金额' },
-    { field: 'marketValue', label: '市值' },
-    { field: 'closepl', label: '参考损益' },
-    { field: 'operate', label: '操作', fixed: 'right', width: 140 },
+    { field: 'goodsname', label: t('position.goods.goodsname') },
+    { field: 'buyorsell', label: t('position.goods.buyorsell') },
+    { field: 'curpositionqty', label: t('position.goods.curpositionqty') },
+    { field: 'enableqty', label: t('position.goods.enableqty') },
+    { field: 'frozenqty', label: t('position.goods.frozenqty') },
+    { field: 'averageprice', label: t('position.goods.averageprice') },
+    { field: 'lastprice', label: t('position.goods.last') },
+    { field: 'curholderamount', label: t('position.goods.curholderamount') },
+    { field: 'marketValue', label: t('position.goods.marketValue') },
+    { field: 'closepl', label: t('position.goods.closepl') },
+    { field: 'operate', label: t('position.goods.closepl'), fixed: 'right', width: 140 },
 ])
 
 const handleOperateButtons = (row: Model.TradePositionRsp) => {

+ 13 - 12
src/packages/pc/views/footer/goods/trade/index.vue

@@ -34,7 +34,7 @@
             {{ formatDate(value) }}
         </template>
         <template #append v-if="showLoadMore">
-            <el-button size="small" plain @click="loadMore">加载更多</el-button>
+            <el-button size="small" plain @click="loadMore">{{ $t('common.loadMore') }}</el-button>
         </template>
     </app-table>
 </template>
@@ -45,12 +45,13 @@ import { useRequest } from '@/hooks/request'
 import { useLocalPagination } from '@/hooks/pagination'
 import { getBuyOrSellName, getBuildTypeName } from '@/constants/order'
 import { queryTradeDetail } from '@/services/api/order'
-import AppTable from '@pc/components/base/table/index.vue'
 import { formatDate, tmMatchAccountID } from '@/filters'
+import { i18n } from '@/stores'
 import eventBus from '@/services/bus'
+import AppTable from '@pc/components/base/table/index.vue'
 
 const { tableList, showLoadMore, initTableData, loadMore } = useLocalPagination<Model.TradeDetailRsp>()
-
+const { global: { t } } = i18n
 const { dataList, loading, runAsync } = useRequest(queryTradeDetail, {
     params: {
         tradeMode: '50,16'
@@ -59,16 +60,16 @@ const { dataList, loading, runAsync } = useRequest(queryTradeDetail, {
 })
 
 const tableColumns = ref<Model.TableColumn[]>([
-    { field: 'goodsname', label: '订单合约' },
-    { field: 'buyorsell', label: '方向' },
-    { field: 'buildtype', label: '成交类型' },
-    { field: 'tradeprice', label: '成交价格' },
-    { field: 'tradeqty', label: '成交量' },
-    { field: 'charge', label: '手续费' },
-    { field: 'closepl', label: '平仓盈亏' },
-    { field: 'tradeid', label: '成交单号' },
+    { field: 'goodsname', label: t('order.goodstrade.goodsname') },
+    { field: 'buyorsell', label: t('order.goodstrade.buyorsell') },
+    { field: 'buildtype', label: t('order.goodstrade.buildtype') },
+    { field: 'tradeprice', label: t('order.goodstrade.tradeprice') },
+    { field: 'tradeqty', label: t('order.goodstrade.tradeqty') },
+    { field: 'charge', label: t('order.goodstrade.charge') },
+    { field: 'closepl', label: t('order.goodstrade.closepl') },
+    { field: 'tradeid', label: t('order.goodstrade.tradeid') },
     //{ field: 'matchaccountid', label: '成交对手' },
-    { field: 'tradetime', label: '成交时间' }
+    { field: 'tradetime', label: t('order.goodstrade.tradetime') }
 ])
 
 // 数量汇总

+ 1 - 0
src/packages/pc/views/footer/swap/position/index.vue

@@ -44,6 +44,7 @@ import { useComponent } from '@/hooks/component'
 import { getBuyOrSellName } from '@/constants/order'
 import { useComposeTable } from '@pc/components/base/table'
 import { usePositionStore } from '@/stores'
+
 import AppTable from '@pc/components/base/table/index.vue'
 
 const componentMap = new Map<string, unknown>([

+ 1 - 1
src/stores/modules/language.ts

@@ -6,7 +6,7 @@ import enUS from '@public/locales/en-US.json'
 const appLanguage = localData.getRef('appLanguage')
 
 export const i18n = createI18n({
-    locale: appLanguage.value,
+    locale: 'en-US',//appLanguage.value,
     fallbackLocale: 'zh-CN',
     messages: {
         'zh-CN': zhCN,

+ 4 - 2
src/stores/modules/table.ts

@@ -2,12 +2,14 @@ import { shallowRef } from 'vue'
 import { defineStore } from '../store'
 import axios from 'axios'
 import tableColumns from '@public/config/columns.json'
-
+import { i18n } from "@/stores";
 interface Table {
     tableKey: string;
     columns: TableColumn[];
 }
 
+const { global: { t } } = i18n
+
 interface TableColumn {
     field: string;
     label: string;
@@ -39,7 +41,7 @@ export const useTableColumnsStore = defineStore(() => {
                     if (operateColumn) {
                         baseColumns.push({
                             field: 'operate',
-                            label: '操作',
+                            label: t('common.operate'),
                             fixed: 'right'
                         })
                     }