| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["trading-center-single"],{"178e":function(t,e,a){"use strict";a("98ab")},"631e":function(t,e,a){},8367:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.pictLoading,expression:"pictLoading"}],staticClass:"views",attrs:{id:"documentary_TradingCenterSingle","element-loading-background":"rgba(43, 48, 67, 0.1)","element-loading-spinner":"el-icon-loading"}},[e("div",{staticClass:"accounts"},[e("div",{staticClass:"account-top crm-title-box"},[e("span",{staticClass:"tit crm-cursor",on:{click:t.toBack}},[e("i",{staticClass:"el-icon-refresh-right"}),e("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Settings.Title",expression:"'Custom.Settings.Title'"}]})]),e("div",{staticClass:"time"},[e("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.console.item2",expression:"'Documentary.console.item2'"}]}),t._v(": "),e("span",{staticClass:"crm-cursor",on:{click:t.toReload}},[t._v(t._s(t.time))]),e("i",{staticClass:"crm-cursor el-icon-refresh-right",on:{click:t.toReload}})])])]),e("div",{staticClass:"account-summary"},[e("el-tabs",{staticClass:"tab-con",model:{value:t.activeTab,callback:function(e){t.activeTab=e},expression:"activeTab"}},[e("el-tab-pane",{attrs:{label:t.$t("Documentary.tradingCenter.item60"),name:"1"}}),e("el-tab-pane",{attrs:{label:t.$t("Documentary.tradingCenter.item58"),name:"2"}}),e("el-tab-pane",{attrs:{label:t.$t("Documentary.tradingCenter.item59"),name:"3"}})],1)],1),"1"==t.activeTab?e("div",[e("div",{staticClass:"account-summary",staticStyle:{"margin-bottom":"20px"}},[e("el-row",{staticStyle:{"flex-wrap":"wrap"},attrs:{type:"flex"}},[e("el-col",{staticClass:"col-l",attrs:{span:12,xs:24,sm:24,md:12,lg:12}},[e("el-row",{staticClass:"account-personal",staticStyle:{height:"100%"}},[e("div",{staticClass:"fllow-title"},[e("div",{staticClass:"title"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item12"),expression:"$t('TradingCenter.item12')"}]})]),e("div",{staticClass:"time"})]),e("el-col",{staticClass:"col-l",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item13"),expression:"$t('TradingCenter.item13')"}]})]),e("div",{staticClass:"con"},[t._v(t._s(t.DailyIndex1.nickname||"--"))])]),e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item14"),expression:"$t('TradingCenter.item14')"}]})]),e("div",{staticClass:"con"},[t._v(" "+t._s(t.DailyIndex1.personalSignature||"--")+" ")])])]),e("el-col",{staticClass:"col-r",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item11"),expression:"$t('TradingCenter.item11')"}]})]),e("div",{staticClass:"con"},[1==t.DailyIndex.groupType?e("span",{directives:[{name:"t",rawName:"v-t",value:"AccountType.ClassicAccount",expression:"'AccountType.ClassicAccount'"}]}):t._e(),2==t.DailyIndex.groupType?e("span",{directives:[{name:"t",rawName:"v-t",value:"AccountType.SeniorAccount",expression:"'AccountType.SeniorAccount'"}]}):t._e(),5==t.DailyIndex.groupType?e("span",{directives:[{name:"t",rawName:"v-t",value:"AccountType.SpeedAccount",expression:"'AccountType.SpeedAccount'"}]}):t._e(),6==t.DailyIndex.groupType?e("span",{directives:[{name:"t",rawName:"v-t",value:"AccountType.SpeedAccount",expression:"'AccountType.SpeedAccount'"}]}):t._e(),7==t.DailyIndex.groupType?e("span",{directives:[{name:"t",rawName:"v-t",value:"AccountType.StandardAccount",expression:"'AccountType.StandardAccount'"}]}):t._e(),8==t.DailyIndex.groupType?e("span",{directives:[{name:"t",rawName:"v-t",value:"AccountType.CentAccount",expression:"'AccountType.CentAccount'"}]}):t._e(),t.DailyIndex.groupType?t._e():e("span",[t._v("--")])])]),e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item15"),expression:"$t('TradingCenter.item15')"}]})]),e("div",{staticClass:"con"},[t._v(t._s(t.DailyIndex1.addTime||"--"))])])])],1)],1),e("el-col",{staticClass:"col-r",attrs:{span:12,xs:24,sm:24,md:12,lg:12}},[e("el-row",{staticClass:"account-personal",staticStyle:{height:"100%"}},[e("el-col",{staticClass:"fllow-title",attrs:{span:24,xs:24,sm:24,md:24,lg:24}},[e("div",{staticClass:"title"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item16"),expression:"$t('TradingCenter.item16')"}]})]),e("div")]),e("el-col",{attrs:{span:24,xs:24,sm:24,md:24,lg:24}},[e("div",{staticStyle:{width:"100%",height:"200px"},attrs:{id:"symbolSummaryChart"}})])],1)],1)],1)],1),e("div",{staticClass:"account-summary"},[e("el-row",{staticClass:"account-indicators",attrs:{type:"flex"}},[e("el-col",{staticClass:"col-l",attrs:{span:12,xs:24,sm:24,md:12,lg:12}},[e("div",{staticClass:"fllow-title"},[e("div",{staticClass:"title"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item17"),expression:"$t('TradingCenter.item17')"}]})]),e("div",{staticClass:"time"})]),e("el-row",[e("el-col",{staticClass:"col-l",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item18"),expression:"$t('TradingCenter.item18')"}]})]),e("div",{staticClass:"con"},[t._v(" "+t._s(t.groupCurrency1(t.DailyIndex.currency,t.DailyIndex.groupType))+t._s(t.DailyIndex.pl||"0")+" ")])]),e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item19"),expression:"$t('TradingCenter.item19')"}]})]),e("div",{staticClass:"con"},[t._v(t._s(t.DailyIndex.plRate))])]),e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item20"),expression:"$t('TradingCenter.item20')"}]})]),e("div",{staticClass:"con"},[t._v(" "+t._s(t.groupCurrency1(t.DailyIndex.currency,t.DailyIndex.groupType))+t._s(t.DailyIndex.profit||"0")+" ")])])]),e("el-col",{staticClass:"col-r",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item21"),expression:"$t('TradingCenter.item21')"}]})]),e("div",{staticClass:"con"},[t._v(" "+t._s(t.groupCurrency1(t.DailyIndex.currency,t.DailyIndex.groupType))+t._s(t.DailyIndex.loss||"0")+" ")])]),e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item7"),expression:"$t('TradingCenter.item7')"}]})]),e("div",{staticClass:"con"},[t._v(t._s(t.DailyIndex.maxDdRate))])])])],1)],1),e("el-col",{staticClass:"col-r",attrs:{span:12,xs:24,sm:24,md:12,lg:12}},[e("div",{staticClass:"fllow-title"},[e("div",{staticClass:"title"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item22"),expression:"$t('TradingCenter.item22')"}]})])]),e("el-row",[e("el-col",{staticClass:"col-l",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item23"),expression:"$t('TradingCenter.item23')"}]})]),e("div",{staticClass:"con"},[t._v(t._s(t.DailyIndex.trades||"0"))])]),e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item24"),expression:"$t('TradingCenter.item24')"}]})]),e("div",{staticClass:"con"},[t._v(t._s(t.DailyIndex.volume||"0"))])]),e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item25"),expression:"$t('TradingCenter.item25')"}]})]),e("div",{staticClass:"con"},[t._v(t._s(t.DailyIndex.tradesWin||"0"))])]),e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item26"),expression:"$t('TradingCenter.item26')"}]})]),e("div",{staticClass:"con"},[t._v(t._s(t.DailyIndex.tradesLoss||"0"))])]),e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item27"),expression:"$t('TradingCenter.item27')"}]})]),e("div",{staticClass:"con"},[t._v(t._s(t.DailyIndex.avgHoldVolume||"0"))])]),e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item28"),expression:"$t('TradingCenter.item28')"}]})]),e("div",{staticClass:"con"},[t._v(t._s(t.DailyIndex.avgHoldTime||"--"))])])]),e("el-col",{staticClass:"col-r",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item29"),expression:"$t('TradingCenter.item29')"}]})]),e("div",{staticClass:"con"},[t._v(t._s(t.DailyIndex.avgHoldVolume||"0"))])]),e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item39"),expression:"$t('TradingCenter.item39')"}]})]),e("div",{staticClass:"con"},[t._v(t._s(t.DailyIndex.maxHoldVolume||"0"))])]),e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item30"),expression:"$t('TradingCenter.item30')"}]})]),e("div",{staticClass:"con"},[t._v(t._s(t.DailyIndex.avgDailyTrades||"0"))])]),e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item31"),expression:"$t('TradingCenter.item31')"}]})]),e("div",{staticClass:"con"},[t._v(t._s(t.DailyIndex.tradesSl||"0"))])]),e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item32"),expression:"$t('TradingCenter.item32')"}]})]),e("div",{staticClass:"con"},[t._v(t._s(t.DailyIndex.slRate))])]),e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item6"),expression:"$t('TradingCenter.item6')"}]})]),e("div",{staticClass:"con"},[t._v(t._s(t.DailyIndex.winRate))])])])],1)],1),e("el-col",{staticClass:"col-l",attrs:{span:12,xs:24,sm:24,md:12,lg:12}},[e("div",{staticClass:"fllow-title"},[e("div",{staticClass:"title"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item33"),expression:"$t('TradingCenter.item33')"}]})]),e("div",{staticClass:"time"})]),e("el-row",[e("el-col",{staticClass:"col-l",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item34"),expression:"$t('TradingCenter.item34')"}]})]),e("div",{staticClass:"con"},[t._v(" "+t._s(t.groupCurrency1(t.DailyIndex.currency,t.DailyIndex.groupType))+t._s(t.DailyIndex.deposit||"0")+" ")])]),e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item35"),expression:"$t('TradingCenter.item35')"}]})]),e("div",{staticClass:"con"},[t._v(" "+t._s(t.groupCurrency1(t.DailyIndex.currency,t.DailyIndex.groupType))+t._s(t.DailyIndex.withdraw||"0")+" ")])])]),e("el-col",{staticClass:"col-r",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item36"),expression:"$t('TradingCenter.item36')"}]})]),e("div",{staticClass:"con"},[t._v(" "+t._s(t.groupCurrency1(t.DailyIndex.currency,t.DailyIndex.groupType))+t._s(t.DailyIndex.credit||"0")+" ")])])])],1)],1),e("el-col",{staticClass:"col-r",attrs:{span:12,xs:24,sm:24,md:12,lg:12}},[e("div",{staticClass:"fllow-title"},[e("div",{staticClass:"title"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item40"),expression:"$t('TradingCenter.item40')"}]})])]),e("el-row",[e("el-col",{staticClass:"col-l",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item37"),expression:"$t('TradingCenter.item37')"}]})]),e("div",{staticClass:"con"},[t._v(t._s(t.DailyIndex.follows||"0"))])])]),e("el-col",{staticClass:"col-r",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[e("div",{staticClass:"fllow-content"},[e("div",{staticClass:"tit"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item38"),expression:"$t('TradingCenter.item38')"}]})]),e("div",{staticClass:"con"},[t._v(" "+t._s(t.groupCurrency1(t.DailyIndex.currency,t.DailyIndex.groupType))+t._s(t.DailyIndex.followsPl||"0")+" ")])])])],1)],1)],1)],1),e("div",{staticClass:"account-summary",staticStyle:{"margin-top":"20px"}},[e("el-row",{staticStyle:{"flex-wrap":"wrap"},attrs:{type:"flex"}},[e("el-col",{directives:[{name:"loading",rawName:"v-loading",value:t.pictLoading5,expression:"pictLoading5"}],staticClass:"col-l",attrs:{span:12,xs:24,sm:24,md:12,lg:12,"element-loading-background":"rgba(43, 48, 67, 0.1)","element-loading-spinner":"el-icon-loading"}},[e("div",{staticClass:"account-dashboard"},[e("div",{staticClass:"fllow-title"},[e("div",{staticClass:"title"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("TradingCenter.item41"),expression:"$t('TradingCenter.item41')"}]})])]),e("div",{attrs:{id:"myChart4"}})])]),e("el-col",{directives:[{name:"loading",rawName:"v-loading",value:t.pictLoading5,expression:"pictLoading5"}],staticClass:"col-r",attrs:{span:12,xs:24,sm:24,md:12,lg:12,"element-loading-background":"rgba(43, 48, 67, 0.1)","element-loading-spinner":"el-icon-loading"}},[e("div",{staticClass:"account-dashboard"},[e("div",{staticClass:"fllow-title"},[e("div",{staticClass:"title"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("Documentary.tradingCenter.item140"),expression:"$t('Documentary.tradingCenter.item140')"}]})]),e("div",{staticClass:"time"})]),e("div",{staticClass:"chart-title"},[e("div",{staticClass:"time"})]),e("div",{attrs:{id:"myChart5"}})])])],1)],1)]):t._e(),"2"==t.activeTab?e("div",[e("div",{staticClass:"account-order"},[e("div",{staticClass:"search crm_search"},[e("div",{staticClass:"search-btn"},[e("el-form",{ref:"form",attrs:{model:t.search}},[e("el-form-item",[e("div",[e("el-select",{staticClass:"crm-border-radius-no select_down",attrs:{filterable:"",size:"small",placeholder:t.$t("placeholder.choose")},model:{value:t.search.tab4Type,callback:function(e){t.$set(t.search,"tab4Type",e)},expression:"search.tab4Type"}},[e("el-option",{attrs:{label:t.$t("Documentary.tradingCenter.item114"),value:1}})],1)],1)]),e("el-form-item",[e("div",[e("el-date-picker",{staticClass:"crm_date_pick crm-border-radius-no crm-border-left-no",attrs:{type:"daterange",align:"right","unlink-panels":"","value-format":"yyyy-MM-dd","range-separator":"-",size:"small","start-placeholder":t.$t("placeholder.Start"),"end-placeholder":t.$t("placeholder.End")},model:{value:t.search.date,callback:function(e){t.$set(t.search,"date",e)},expression:"search.date"}}),e("el-button",{staticClass:"crm-border-radius-no crm-border-left-no",attrs:{size:"small",icon:"el-icon-search"},on:{click:t.handleSearch}})],1)])],1)],1)]),e("div",{staticClass:"chart-box crm-border-radius"},[1==t.search.tab4Type?e("div",{staticClass:"tab"},[e("el-table",{key:"one",staticClass:"crm_tab",staticStyle:{width:"100%"},attrs:{data:t.tableData,stripe:"","show-summary":"","summary-method":t.getSummaries1}},[e("el-table-column",{attrs:{align:"center",label:t.$t("Label.OrderNumber")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.order||"--"))]}}],null,!1,1475975315)}),e("el-table-column",{attrs:{align:"center",label:t.$t("Label.Platform")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.platform||"--"))]}}],null,!1,2871219458)}),e("el-table-column",{attrs:{align:"center",label:t.$t("Label.Type")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.cmd||"--"))]}}],null,!1,3616195415)}),e("el-table-column",{attrs:{align:"center",label:t.$t("Label.Varieties")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.symbol||"--"))]}}],null,!1,1798149627)}),e("el-table-column",{attrs:{align:"center",label:t.$t("Label.OpenPrice")}},[e("el-table-column",{attrs:{align:"center",label:t.$t("Label.ClosePrice")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("div",{staticClass:"sp-div-tab"},[t._v(" "+t._s(t._f("NumberFormat")(a.row.openPrice||"0"))+" ")]),e("div",{staticClass:"sp-div-tab-b"},[t._v(" "+t._s(t._f("NumberFormat")(a.row.closePrice||"0"))+" ")])]}}],null,!1,1355260377)})],1),e("el-table-column",{attrs:{align:"center",label:t.$t("Label.OpenTime")}},[e("el-table-column",{attrs:{align:"center",label:t.$t("Label.CloseTime")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("div",{staticClass:"sp-div-tab"},[t._v(" "+t._s(a.row.openTime||"--")+" ")]),e("div",{staticClass:"sp-div-tab-b"},[t._v(" "+t._s(a.row.closeTime||"--")+" ")])]}}],null,!1,3044904441)})],1),e("el-table-column",{attrs:{align:"center",label:t.$t("Label.EP")}},[e("el-table-column",{attrs:{align:"center",label:t.$t("Label.EL")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("div",{staticClass:"sp-div-tab"},[t._v(" "+t._s(t._f("NumberFormat")(a.row.tp||"0"))+" ")]),e("div",{staticClass:"sp-div-tab-b"},[t._v(" "+t._s(t._f("NumberFormat")(a.row.sl||"0"))+" ")])]}}],null,!1,4269080512)})],1),e("el-table-column",{attrs:{align:"center",label:t.$t("Documentary.tradingCenter.item99")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t._f("NumberFormat")(e.row.volume||"0"))+" ")]}}],null,!1,2151490716)}),e("el-table-column",{attrs:{align:"center",label:t.$t("Label.StorageFee")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t._f("NumberFormat")(e.row.storage||"0"))+" ")]}}],null,!1,3627167565)}),e("el-table-column",{attrs:{align:"center",label:t.$t("Label.ProfitLoss")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t._f("NumberFormat")(e.row.profit||"0"))+" ")]}}],null,!1,3175835618)}),e("el-table-column",{attrs:{"class-name":"bor-r",align:"center",label:t.$t("Label.TotalProfitLoss")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t._f("NumberFormat")(e.row.totalProfit||"0"))+" ")]}}],null,!1,2631233568)})],1)],1):t._e(),2==t.search.tab4Type?e("div",{staticClass:"tab"},[e("el-table",{key:"one1",staticClass:"crm_tab",staticStyle:{width:"100%"},attrs:{data:t.tableData,stripe:""}},[e("el-table-column",{attrs:{align:"center",label:t.$t("Label.OrderNumber")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.platform||"--"))]}}],null,!1,2871219458)}),e("el-table-column",{attrs:{align:"center",label:t.$t("Label.Platform")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.platform||"--"))]}}],null,!1,2871219458)}),e("el-table-column",{attrs:{align:"center",label:t.$t("Label.Type")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.platform||"--"))]}}],null,!1,2871219458)}),e("el-table-column",{attrs:{align:"center",label:t.$t("Label.Varieties")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.platform||"--"))]}}],null,!1,2871219458)}),e("el-table-column",{attrs:{align:"center",label:t.$t("Label.OpenPrice")}},[e("el-table-column",{attrs:{align:"center",label:t.$t("Label.ClosePrice")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("div",[t._v(t._s(a.row.addTime||"--"))]),e("div",[t._v(t._s(a.row.addTime||"--"))])]}}],null,!1,2147964052)})],1),e("el-table-column",{attrs:{align:"center",label:t.$t("Label.OpenTime")}},[e("el-table-column",{attrs:{align:"center",label:t.$t("Label.CloseTime")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("div",[t._v(t._s(a.row.addTime||"--"))]),e("div",[t._v(t._s(a.row.addTime||"--"))])]}}],null,!1,2147964052)})],1),e("el-table-column",{attrs:{align:"center",label:t.$t("Label.EP")}},[e("el-table-column",{attrs:{align:"center",label:t.$t("Label.EL")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("div",[t._v(t._s(a.row.addTime||"--"))]),e("div",[t._v(t._s(a.row.addTime||"--"))])]}}],null,!1,2147964052)})],1),e("el-table-column",{attrs:{align:"center",label:t.$t("Documentary.tradingCenter.item99")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.commission||"0")+" ")]}}],null,!1,627828288)}),e("el-table-column",{attrs:{align:"center",label:t.$t("Label.StorageFee")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.addTime||"0")+" ")]}}],null,!1,1138476697)}),e("el-table-column",{attrs:{align:"center",label:t.$t("Label.ProfitLoss")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.commission||"0")+" ")]}}],null,!1,627828288)}),e("el-table-column",{attrs:{"class-name":"bor-r",align:"center",label:t.$t("Label.TotalProfitLoss")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.commission||"0")+" ")]}}],null,!1,627828288)})],1)],1):t._e(),t.pagerInfo.rowTotal?e("div",{staticClass:"crm_pagination"},[e("el-pagination",{staticClass:"page",attrs:{background:"",layout:"prev, pager, next","page-size":t.pagerInfo.row,total:t.pagerInfo.rowTotal},on:{"current-change":t.handleCurrentChange}})],1):t._e()])])]):t._e(),"3"==t.activeTab?e("div",[e("div",{staticClass:"account-order"},[e("div",{staticClass:"search crm_search"},[e("div",{staticClass:"search-btn"},[e("el-form",{ref:"form",attrs:{model:t.search}},[e("el-form-item",[e("div",[e("el-select",{staticClass:"crm-border-radius-no select_down",attrs:{filterable:"",size:"small",placeholder:t.$t("placeholder.choose")},model:{value:t.search.platform,callback:function(e){t.$set(t.search,"platform",e)},expression:"search.platform"}},[e("el-option",{attrs:{label:"MT4",value:"MT4"}}),e("el-option",{attrs:{label:"MT5",value:"MT5"}})],1)],1)]),e("el-form-item",[e("div",[e("el-date-picker",{staticClass:"crm_date_pick crm-border-radius-no crm-border-left-no",attrs:{type:"daterange",align:"right","unlink-panels":"","value-format":"yyyy-MM-dd","range-separator":"-",size:"small","start-placeholder":t.$t("placeholder.Start"),"end-placeholder":t.$t("placeholder.End")},model:{value:t.search.date,callback:function(e){t.$set(t.search,"date",e)},expression:"search.date"}}),e("el-button",{staticClass:"crm-border-radius-no crm-border-left-no",attrs:{size:"small",icon:"el-icon-search"},on:{click:t.handleSearch}})],1)])],1)],1),e("div",{staticClass:"search-operation"},[e("div",{staticClass:"search-operation-l crm-cursor"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("Documentary.tradingCenter.item123"),expression:"$t('Documentary.tradingCenter.item123')"}]}),t._v(t._s(t.tableSumData.profit||"0")+" ")]),e("div",{staticClass:"search-operation-r crm-cursor"},[e("span",{directives:[{name:"t",rawName:"v-t",value:t.$t("Documentary.tradingCenter.item124"),expression:"$t('Documentary.tradingCenter.item124')"}]}),t._v(t._s(t.tableSumData.volume||"0")+" ")])])]),e("div",{staticClass:"chart-box crm-border-radius"},[e("div",{staticClass:"tab"},[e("el-table",{key:"two",staticClass:"crm_tab",staticStyle:{width:"100%"},attrs:{data:t.tableData,stripe:""}},[e("el-table-column",{attrs:{align:"center",label:t.$t("Documentary.tradingCenter.item102")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.followLogin||"--"))]}}],null,!1,700786959)}),e("el-table-column",{attrs:{align:"center",label:t.$t("Label.Platform")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.platform||"--"))]}}],null,!1,2871219458)}),e("el-table-column",{attrs:{align:"center",label:t.$t("Documentary.tradingCenter.item103")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.startTime||"--")+" ")]}}],null,!1,2180455848)}),e("el-table-column",{attrs:{align:"center",label:t.$t("Documentary.tradingCenter.item104")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.endTime||"--")+" ")]}}],null,!1,1336305895)}),e("el-table-column",{attrs:{align:"center",label:t.$t("Documentary.tradingCenter.item105")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t._f("NumberFormat")(e.row.profit||"0"))+" ")]}}],null,!1,3175835618)}),e("el-table-column",{attrs:{"class-name":"bor-r",align:"center",label:t.$t("Documentary.tradingCenter.item99")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t._f("NumberFormat")(e.row.volume||"0"))+" ")]}}],null,!1,2151490716)})],1)],1),t.pagerInfo1.rowTotal?e("div",{staticClass:"crm_pagination"},[e("el-pagination",{staticClass:"page",attrs:{background:"",layout:"prev, pager, next","page-size":t.pagerInfo1.row,total:t.pagerInfo1.rowTotal},on:{"current-change":t.handleCurrentChange1}})],1):t._e()])])]):t._e()])},i=[],l=(a("14d9"),a("e9f5"),a("7d54"),a("ab43"),a("eec4")),r=a.n(l),n=a("a907"),o=a("f121"),c=a.n(o);let{Code:d,Host80:m}=c.a;var u={name:"Index",components:{},inject:["reload"],data(){return{flag:!1,flag1:!1,Host80:m,pictLoading:!1,time:"",pictLoading5:!1,isSearch:!0,myLogin:"",myRanking:"",myId:"",personalDtata:{},DailyIndex:{},DailyIndex1:{},activeTab:null,personalIndicatorsLoading:!1,symbolSummaryLoading:!1,chartDates:[],chartTimes:[],ChartSet:{login:"",startDate:""},isDateBtn:3,chart2Data:[],chart3Datax:[],chart3Datay1:[],chart3Datay2:[],chartDates4:[],chartTimes4:[],chartDates5:[],chartTimes5:[],isDateBtn5:1,combined:{},tableData:[],tableSumData:{},search:{platform:"MT4",country:"",name:"",login:"",groupType:"",tab4Type:1,date:[],startDate:"",endDate:""},pagerInfo:{row:10,current:1,pageTotal:0,rowTotal:0},pagerInfo1:{row:10,current:1,pageTotal:0,rowTotal:0}}},computed:{lang(){return this.Session.Get("lang")},myCid(){return JSON.parse(this.Session.Get("user",!0)).customInfo.cId}},methods:{groupCurrency(t){return"GBP"==t?": £":"USD"==t?": $":"EUR"==t?": €":"USC"==t?": ¢":": $"},groupCurrency1(t,e){return"GBP"==t?"£":"USD"==t?8==e?"¢":"$":"EUR"==t?"€":"USC"==t?"¢":8==e?"¢":"$"},NumberFormatAll(t){if("***"==t)return"***";if(isNaN(t))return 0;let e=t.toString();if(e.indexOf("-")>-1){e=e.split("-")[1];let a=e.split("."),s=a[0].length;if(s<3)return t;let i=0,l="";for(let t=s-3;t>=0;t-=3)l=a[0].substr(t,3)+(""==l?"":",")+l,i=t;return i>0&&(l=a[0].substr(0,i)+(""==l?"":",")+l),"-"+l+(1==a.length?"":"."+a[1])}{let a=e.split("."),s=a[0].length;if(s<3)return t;let i=0,l="";for(let t=s-3;t>=0;t-=3)l=a[0].substr(t,3)+(""==l?"":",")+l,i=t;return i>0&&(l=a[0].substr(0,i)+(""==l?"":",")+l),l+(1==a.length?"":"."+a[1])}},getSummaries1(){let t=[];return 0==Object.keys(this.combined).length||(t=[this.$i18n.t("Label.Total"),"","","","","","",this.combined.volume?this.NumberFormatAll(this.combined.volume):0,"",this.combined.profit?this.NumberFormatAll(this.combined.profit):0,this.combined.totalProfit?this.NumberFormatAll(this.combined.totalProfit):0,""]),t},dateBtn(t){this.isDateBtn=t,this.getTimeToChart()},dateBtn5(t){this.isDateBtn5=t,this.getChart5()},async getFollowDailySummary(){this.pictLoading=!0;let t=await n["a"].followDailySummary({login:this.myLogin,id:this.myId});t.code==d.StatusOK?(this.personalDtata=t.data,this.pictLoading=!1):(this.$pigeon.MessageError(t.msg),this.pictLoading=!1),this.pictLoading=!1},async getPersonalIndicators(){if(!this.personalIndicatorsLoading){this.personalIndicatorsLoading=!0,this.pictLoading=!0;try{if(this.myId){console.log("调用个人指标接口,id:",this.myId);let t=await n["a"].followDealSignalSearchSingle({id:this.myId});t.code==d.StatusOK?(this.DailyIndex=t.data||{},this.DailyIndex1=t.data||{},t.data&&t.data.symbolSummary&&this.drawSymbolSummaryChart(t.data.symbolSummary),this.myLogin=t.data.login,this.$nextTick(()=>{this.getChart4(),this.getChart5()})):this.$pigeon.MessageError(t.msg)}else this.getFollowDealCard(),this.getFollowDailyIndex(),this.getSymbolSummaryChartFallback()}finally{this.pictLoading=!1,this.personalIndicatorsLoading=!1}}},async getFollowDailyIndex(){this.pictLoading=!0;let t=await n["a"].followDailyIndex({login:this.myLogin});t.code==d.StatusOK?(this.DailyIndex=t.data,this.pictLoading=!1):(this.$pigeon.MessageError(t.msg),this.pictLoading=!1),this.pictLoading=!1},async getFollowDealCard(){this.pictLoading=!0;let t=await n["a"].followDealCard({login:this.myLogin});t.code==d.StatusOK?(this.DailyIndex1=t.data||{},this.pictLoading=!1):(this.$pigeon.MessageError(t.msg),this.pictLoading=!1),this.pictLoading=!1},async getOrderRecordList(){this.pictLoading=!0,null==this.search.date||0==this.search.date.length?(this.search.startDate="",this.search.endDate=""):(this.search.startDate=this.search.date[0],this.search.endDate=this.search.date[1]);let t=await n["a"].followOrderRecordList({login:this.search.login,startDate:this.search.startDate,endDate:this.search.endDate,page:{current:this.pagerInfo.current,row:this.pagerInfo.row}});t.code==d.StatusOK?(null!=t.sum?this.combined=t.sum:this.combined=[],t.data?this.tableData=t.data:this.tableData=[],t.sum?this.tableSumData=t.sum:this.tableSumData={},t.page?(this.pagerInfo.rowTotal=t.page.rowTotal,this.pagerInfo.pageTotal=t.page.pageTotal):this.pagerInfo.rowTotal=0,this.pictLoading=!1):(this.$pigeon.MessageError(t.msg),this.pictLoading=!1),this.pictLoading=!1},async getOrderRecordList1(){this.pictLoading=!0,null==this.search.date||0==this.search.date.length?(this.search.startDate="",this.search.endDate=""):(this.search.startDate=this.search.date[0],this.search.endDate=this.search.date[1]);let t=await n["a"].followOrderRecordList({login:this.search.login,startDate:this.search.startDate,endDate:this.search.endDate,page:{current:this.pagerInfo.current,row:this.pagerInfo.row}});t.code==d.StatusOK?(t.data?this.tableData=t.data:this.tableData=[],t.sum?this.tableSumData=t.sum:this.tableSumData={},t.page?(this.pagerInfo.rowTotal=t.page.rowTotal,this.pagerInfo.pageTotal=t.page.pageTotal):this.pagerInfo.rowTotal=0,this.pictLoading=!1):(this.$pigeon.MessageError(t.msg),this.pictLoading=!1),this.pictLoading=!1},async getDealSubscribeSummary(){this.pictLoading=!0,this.tableData=[],this.pagerInfo.rowTotal=0,null==this.search.date||0==this.search.date.length?(this.search.startDate="",this.search.endDate=""):(this.search.startDate=this.search.date[0],this.search.endDate=this.search.date[1]);let t=await n["a"].followDealSubscribeSummary({platform:this.search.platform,groupType:this.search.groupType,startDate:this.search.startDate,endDate:this.search.endDate,login:this.myLogin,page:{current:this.pagerInfo1.current,row:this.pagerInfo1.row}});t.code==d.StatusOK?(t.data?this.tableData=t.data:this.tableData=[],t.sum?this.tableSumData=t.sum:this.tableSumData={},t.page?(this.pagerInfo1.rowTotal=t.page.rowTotal,this.pagerInfo1.pageTotal=t.page.pageTotal):this.pagerInfo1.rowTotal=0,this.pictLoading=!1):(this.$pigeon.MessageError(t.msg),this.pictLoading=!1),this.pictLoading=!1},handleSearch(){this.pagerInfo.current=1,this.tableData=[],this.pagerInfo.rowTotal=0,"2"==this.activeTab?1==this.search.tab4Type?this.getOrderRecordList():2==this.search.tab4Type&&this.getOrderRecordList1():"3"==this.activeTab&&this.getDealSubscribeSummary()},applyFllow(){},toBack(){this.$router.push({path:"/documentary/trading/center"}).catch(t=>t)},getTimeToChart(){let t=2,e=(new Date).getTimezoneOffset(),a=(new Date).getTime(),s=new Date(a+60*e*1e3+60*t*60*1e3),i=null;1==this.isDateBtn?i=7:2==this.isDateBtn?i=30:3==this.isDateBtn&&(i=90);let l=s-24*i*60*60*1e3,r=new Date(l).getFullYear(),n=new Date(l).getMonth()+1,o=new Date(l).getDate();this.ChartSet.startDate=r+"-"+(n<10?"0"+n:n)+"-"+(o<10?"0"+o:o),this.getChart1()},getChart1:async function(){this.pictLoading=!0,this.chartDates=[],this.chartTimes=[];let t=await n["a"].followDailyChartLine({...this.ChartSet});t.code==d.StatusOK?(t.data.forEach(t=>{const e=null!==t.amount?t.amount:t.doubleAmount;this.chartDates.push(e),this.chartTimes.push(t.date.split(" ")[0])}),this.drawLine(),this.$pigeon.MessageOK(this.$i18n.t("Msg.SearchSuccess"))):this.$pigeon.MessageError(t.msg),this.pictLoading=!1},getChart2:async function(){this.chart3Datax=[],this.chart3Datay1=[],this.chart3Datay2=[];let t=await n["a"].followDailyChartSymbol({login:this.ChartSet.login});t.code==d.StatusOK?(this.chart2Data=t.data[0],t.data[0].volumes.forEach(t=>{const e=null!==t.amount?t.amount:t.doubleAmount;this.chart3Datay1.push(e);let a="";switch(t.symbolType){case 1:a=this.$i18n.t("Documentary.Report.item11");break;case 2:a=this.$i18n.t("Documentary.Report.item12");break;case 3:a=this.$i18n.t("Documentary.Report.item13");break;case 4:a=this.$i18n.t("Documentary.Report.item14");break;case 5:a=this.$i18n.t("Documentary.Report.item15");break;case 6:a=this.$i18n.t("Documentary.Report.item16");break}this.chart3Datax.push(a)}),t.data[0].profits.forEach(t=>{const e=null!==t.amount?t.amount:t.doubleAmount;this.chart3Datay2.push(e)}),this.drawLine2(),this.$pigeon.MessageOK(this.$i18n.t("Msg.SearchSuccess"))):this.$pigeon.MessageError(t.msg)},getSymbolSummaryChartFallback:async function(){let t=await n["a"].followDailyChartSymbol({login:this.ChartSet.login});t.code==d.StatusOK&&t.data&&t.data[0]&&t.data[0].volumes&&this.drawSymbolSummaryChart(t.data[0].volumes)},getSymbolSummaryChart:async function(){if(!this.symbolSummaryLoading){this.symbolSummaryLoading=!0;try{if(this.myId){let t=await n["a"].followDealSignalSearchSingle({id:this.myId});if(t.code==d.StatusOK&&t.data&&t.data.symbolSummary)return void this.drawSymbolSummaryChart(t.data.symbolSummary)}let t=await n["a"].followDailyChartSymbol({login:this.ChartSet.login});t.code==d.StatusOK&&t.data&&t.data[0]&&t.data[0].volumes&&this.drawSymbolSummaryChart(t.data[0].volumes)}finally{this.symbolSummaryLoading=!1}}},getChart4:async function(){this.pictLoading=!0,this.chartDates4=[],this.chartTimes4=[];let t=await n["a"].getEquityChart({login:this.myLogin});t.code==d.StatusOK?(t.data.forEach(t=>{const e=null!==t.amount?t.amount:t.doubleAmount;this.chartDates4.push(e),this.chartTimes4.push(t.date.split(" ")[0])}),this.drawLine4(),this.$pigeon.MessageOK(this.$i18n.t("Msg.SearchSuccess"))):this.$pigeon.MessageError(t.msg),this.pictLoading=!1},getChart5:async function(){this.pictLoading5=!0,this.chartDates5=[],this.chartTimes5=[];let t=await n["a"].getRankingChart({login:this.myLogin});t.code==d.StatusOK?(t.data.forEach(t=>{const e=null!==t.amount?t.amount:t.doubleAmount;this.chartDates5.push(e),this.chartTimes5.push(t.date.split(" ")[0])}),this.drawLine5(),this.$pigeon.MessageOK(this.$i18n.t("Msg.SearchSuccess"))):this.$pigeon.MessageError(t.msg),this.pictLoading5=!1},drawLine(){let t=this.$echarts.init(document.getElementById("myChart1")),e=this.chartTimes,a=this.chartDates,s={xAxis:{type:"category",data:e},yAxis:{type:"value"},grid:[{left:50,right:40,bottom:50,height:"80%"}],tooltip:{trigger:"axis",axisPointer:{animation:!1}},series:[{label:{show:!0,position:"top"},data:a.map(t=>({value:t,label:{show:!0,position:t>0?"top":"bottom"}})),type:"line"}]};t.setOption(s)},drawLine2(){let t=this.$echarts.init(document.getElementById("myChart2")),e=this.chart3Datax,a=this.chart3Datay1,s=this.chart3Datay2,i=this.$i18n.t("Documentary.tradingCenter.item127"),l=this.$i18n.t("Documentary.tradingCenter.item128");const r=["#5470C6","#91CC75","#EE6666"];let n={color:r,tooltip:{trigger:"axis",axisPointer:{type:"cross"}},grid:{right:"20%"},toolbox:{feature:{dataView:{show:!0,readOnly:!1},restore:{show:!0},saveAsImage:{show:!0}}},legend:{data:[i,l]},xAxis:[{type:"category",axisTick:{alignWithLabel:!0},data:e}],yAxis:[{type:"value",name:i,position:"left",alignTicks:!0,axisLine:{show:!0,lineStyle:{color:r[0]}},axisLabel:{formatter:"{value} lot"}},{type:"value",name:l,position:"right",alignTicks:!0,offset:10,axisLine:{show:!0,lineStyle:{color:r[1]}},axisLabel:{formatter:"{value} ($)"}}],series:[{name:i,type:"bar",barWidth:a.length>5?"96%":25,data:a},{name:l,type:"bar",yAxisIndex:1,barWidth:s.length>5?"96%":25,data:s}]};t.setOption(n)},drawSymbolSummaryChart(t){let e=this.$echarts.init(document.getElementById("symbolSummaryChart")),a=[],s=["#5470C6","#91CC75","#EE6666","#FAC858","#73C0DE","#3BA272"];console.log("品种摘要数据:",t),t.forEach((t,e)=>{let i="",l=0;if(t.symbol&&void 0!==t.volume)i=t.symbol,l=t.volume;else if(t.name&&void 0!==t.value)i=t.name,l=t.value;else{switch(t.symbolType){case 1:i=this.$i18n.t("Documentary.Report.item11");break;case 2:i=this.$i18n.t("Documentary.Report.item12");break;case 3:i=this.$i18n.t("Documentary.Report.item13");break;case 4:i=this.$i18n.t("Documentary.Report.item14");break;case 5:i=this.$i18n.t("Documentary.Report.item15");break;case 6:i=this.$i18n.t("Documentary.Report.item16");break}l=t.amount||0}a.push({name:i,value:l,itemStyle:{color:s[e%s.length]},originalData:t})});let i={tooltip:{trigger:"item",formatter:function(t){let e=t.seriesName+"<br/>";return e+=t.name+": "+t.value+" lot",e+="<br/>占比: "+t.percent+"%",t.data.originalData&&void 0!==t.data.originalData.pl&&(e+="<br/>盈利: "+t.data.originalData.pl),e}},legend:{orient:"vertical",left:"left",data:a.map(t=>t.name)},series:[{name:"品种分布",type:"pie",radius:"50%",center:["50%","60%"],data:a,emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]};e.setOption(i)},drawLine4(){let t=this.$echarts.init(document.getElementById("myChart4")),e=this.chartTimes4,a=this.chartDates4,s={xAxis:{type:"category",data:e},yAxis:{type:"value"},grid:[{left:50,right:40,bottom:50,height:"80%"}],tooltip:{trigger:"axis",axisPointer:{animation:!1}},series:[{label:{show:!0,position:"top"},data:a.map(t=>({value:t,label:{show:!0,position:t>0?"top":"bottom"}})),type:"line"}]};t.setOption(s)},drawLine5(){let t=this.$echarts.init(document.getElementById("myChart5")),e=this.chartTimes5,a=this.chartDates5,s={xAxis:{type:"category",data:e},yAxis:{type:"value",inverse:!1},grid:[{left:50,right:40,bottom:50,height:"80%"}],tooltip:{trigger:"axis",axisPointer:{animation:!1}},series:[{label:{show:!0,position:"top"},data:a.map(t=>({value:t,label:{show:!0,position:t>0?"top":"bottom"}})),type:"line"}]};t.setOption(s)},divInit(){const t=this,e=r()({strategy:"scroll"});e.listenTo(document.getElementById("documentary_TradingCenterSingle"),()=>{t.$nextTick(()=>{t.chart=t.$echarts.init(document.getElementById("myChart1")),t.chart.resize(),t.chart2=t.$echarts.init(document.getElementById("myChart2")),t.chart2.resize(),t.chart4=t.$echarts.init(document.getElementById("myChart4")),t.chart4.resize(),t.chart5=t.$echarts.init(document.getElementById("myChart5")),t.chart5.resize(),t.symbolSummaryChart=t.$echarts.init(document.getElementById("symbolSummaryChart")),t.symbolSummaryChart.resize()})})},getDate(){let t,e=2,a=(new Date).getTimezoneOffset(),s=(new Date).getTime(),i=new Date(s+60*a*1e3+60*e*60*1e3),l=i.getFullYear(),r=i.getMonth()+1,n=i.getDate(),o=i.getHours(),c=i.getMinutes();r<10&&(r="0"+r),n<10&&(n="0"+n),o<10&&(o="0"+o),c<10&&(c="0"+c),t=l+"/"+r+"/"+n+" "+o+":"+c,this.time=t},goTime(){this.getDate()},toReload(){this.flag1||(this.flag1=!0,this.myLogin=this.$route.query.dealLogin,this.myRanking=this.$route.query.ranking,this.myId=this.$route.query.id,this.myLogin=this.$route.query.login,this.ChartSet.login=this.myLogin,this.activeTab="1",this.isDateBtn=3,this.goTime(),this.getFollowDailySummary(),this.divInit(),setTimeout(()=>{this.flag1=!1},2e3))},handleCurrentChange(t){this.pagerInfo.current=t,1==this.search.tab4Type?this.getOrderRecordList():2==this.search.tab4Type&&this.getOrderRecordList1()},handleCurrentChange1(t){this.pagerInfo1.current=t,this.getDealSubscribeSummary()}},mounted(){this.myLogin=this.$route.query.dealLogin,this.myRanking=this.$route.query.ranking,this.myId=this.$route.query.id,this.myLogin=this.$route.query.login,this.ChartSet.login=this.myLogin,this.activeTab="1",this.goTime(),this.getFollowDailySummary(),this.divInit()},watch:{activeTab:function(t){"1"==t?this.getPersonalIndicators():"2"==t?(this.search.login=this.$route.query.dealLogin,this.getOrderRecordList()):"3"==t&&this.getDealSubscribeSummary()},"search.tab4Type":function(t){this.pagerInfo.current=1,1==t?this.getOrderRecordList():2==t&&this.getOrderRecordList1()}},beforeDestroy:function(){this.getDate&&clearInterval(this.getDate)}},h=u,p=(a("bca7"),a("178e"),a("2877")),g=Object(p["a"])(h,s,i,!1,null,"07aa798b",null);e["default"]=g.exports},"98ab":function(t,e,a){},a907:function(t,e,a){"use strict";var s=a("ff2d");class i extends s["a"]{constructor(){super()}async CustomDropdown(t={}){let e=await this.postAll("Host80","/account/dropdown",t);return e}async CustomDropdownData(t={}){let e=await this.postAll("Host87","/follow/deal/data",t);return e}async followCustomDropdown(t={}){let e=await this.postAll("Host87","/follow/account/dropdown",t);return e}async reasonsRefusalList(t={}){let e=await this.postAll("Host80","/reasons/refusal/list",t);return e}async Country(t={}){let e=await this.postAll("Host80","/country/get",t);return e}async followWalletSingle(t={}){let e=await this.postAll("Host87","/follow/wallet/single",t);return e}async followDealSubscribeInfo(t={}){let e=await this.postAll("Host87","/follow/deal/subscribe/info",t);return e}async followDealSubscriSubscribe(t={}){let e=await this.postAll("Host87","/follow/deal/subscribe/subscribe",t);return e}async followDealSubscribeLoginList(t={}){let e=await this.postAll("Host87","/follow/deal/subscribe/login/list",t);return e}async followDealSubscribeList(t={}){let e=await this.postAll("Host87","/follow/deal/subscribe/list",t);return e}async followDealSubscribeUnsubscribe(t={}){let e=await this.postAll("Host87","/follow/deal/subscribe/unsubscribe",t);return e}async followDealSubscribeUpdate(t={}){let e=await this.postAll("Host87","/follow/deal/subscribe/update",t);return e}async followDealSubscribeDealList(t={}){let e=await this.postAll("Host87","/follow/deal/subscribe/deal/list",t);return e}async followDealApply(t={}){let e=await this.postAll("Host87","/follow/deal/apply",t);return e}async followDealUpdate(t={}){let e=await this.postAll("Host87","/follow/deal/update",t);return e}async followDealAgentUpdate(t={}){let e=await this.postAll("Host87","/follow/deal/agent/update",t);return e}async followDealList(t={}){let e=await this.postAll("Host87","/follow/deal/list",t);return e}async followDealSingle(t={}){let e=await this.postAll("Host87","/follow/deal/single",t);return e}async followDealDelete(t={}){let e=await this.postAll("Host87","/follow/deal/delete",t);return e}async followDealLoginList(t={}){let e=await this.postAll("Host87","/follow/deal/login/list",t);return e}async followDealSearchList(t={}){let e=await this.postAll("Host87","/follow/deal/signal/search/list",t);return e}async followDealSignalSearchSingle(t={}){let e=await this.postAll("Host87","/follow/deal/signal/search/single",t);return e}async followDealAgentSearchList(t={}){let e=await this.postAll("Host87","/follow/deal/agent/search/list",t);return e}async followTransferApply(t={}){let e=await this.postAll("Host04","/follow/transfer/apply",t);return e}async followTransferList(t={}){let e=await this.postAll("Host04","/follow/transfer/list",t);return e}async followReportCommission(t={}){let e=await this.postAll("Host87","/follow/report/period/commission",t);return e}async followDailySummary(t={}){let e=await this.postAll("Host87","/follow/daily/summary",t);return e}async followDailyIndex(t={}){let e=await this.postAll("Host87","/follow/daily/index",t);return e}async followDailyChartLine(t={}){let e=await this.postAll("Host87","/follow/daily/chart/line",t);return e}async followDailyChartSymbol(t={}){let e=await this.postAll("Host87","/follow/deal/signal/plChart",t);return e}async followOrderRecordList(t={}){let e=await this.postAll("Host87","/follow/order/record/list",t);return e}async followDealSubscribeSummary(t={}){let e=await this.postAll("Host87","/follow/deal/subscribe/summary",t);return e}async followDealCard(t={}){let e=await this.postAll("Host87","/follow/deal/card",t);return e}async followDailyDeal(t={}){let e=await this.postAll("Host87","/follow/daily/deal",t);return e}async followDailyCompare(t={}){let e=await this.postAll("Host87","/follow/daily/compare",t);return e}async followDailySubscribeProfit(t={}){let e=await this.postAll("Host87","/follow/daily/subscribe/profit",t);return e}async collectAdd(t={}){let e=await this.postAll("Host87","/follow/deal/collect/add",t);return e}async collectDelete(t={}){let e=await this.postAll("Host87","/follow/deal/collect/delete",t);return e}async getPeriod(t={}){let e=await this.postAll("Host87","/follow/deal/search/period",t);return e}async getEquityChart(t={}){let e=await this.postAll("Host87","/follow/deal/signal/plChart",t);return e}async getRankingChart(t={}){let e=await this.postAll("Host87","/follow/deal/signal/equityChart",t);return e}async followDealSignalRefreshDate(t={}){let e=await this.postAll("Host87","/follow/deal/signal/refreshDate",t);return e}}e["a"]=new i},ab43:function(t,e,a){"use strict";var s=a("23e7"),i=a("c65b"),l=a("59ed"),r=a("825a"),n=a("46c4"),o=a("c5cc"),c=a("9bdd"),d=a("2a62"),m=a("f99f"),u=a("c430"),h=!u&&m("map",TypeError),p=o((function(){var t=this.iterator,e=r(i(this.next,t)),a=this.done=!!e.done;if(!a)return c(t,this.mapper,[e.value,this.counter++],!0)}));s({target:"Iterator",proto:!0,real:!0,forced:u||h},{map:function(t){r(this);try{l(t)}catch(e){d(this,"throw",e)}return h?i(h,this,t):new p(n(this),{mapper:t})}})},bca7:function(t,e,a){"use strict";a("631e")}}]);
|