(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["HistoricalRecords"],{"0196":function(e,t,a){},5978:function(e,t,a){"use strict";a.r(t);a("b0c0"),a("ac1f"),a("841c"),a("498a");var n=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.pictLoading,expression:"pictLoading"}],staticClass:"view",attrs:{id:"documentary_HistoricalRecords","element-loading-background":"rgba(43, 48, 67, 0.65)","element-loading-spinner":"el-icon-loading"}},[t("div",{staticClass:"crm_search"},[t("el-form",{ref:"search",attrs:{"label-position":"",model:e.search,"label-width":""}},[t("el-row",[t("el-col",{attrs:{span:24,md:24,lg:24}},[t("el-form-item",[t("span",{directives:[{name:"t",rawName:"v-t",value:"Label.ReportType",expression:"'Label.ReportType'"}]}),t("span",{staticStyle:{"margin-right":"8px"}},[e._v(":")])]),t("el-form-item",{staticStyle:{"margin-right":"10px"}},[t("el-select",{staticClass:"crm_search_down_special crm-border-radius-no",staticStyle:{width:"220px"},attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.search.reportType,callback:function(t){e.$set(e.search,"reportType",t)},expression:"search.reportType"}},[e.display["Documentary.R-HistoricalRecords-Commission"].show?t("el-option",{attrs:{label:e.$t("Documentary.R-HistoricalRecords-Commission"),value:1}}):e._e(),e.display["Documentary.R-HistoricalRecords-Unsubscribe"].show?t("el-option",{attrs:{label:e.$t("Documentary.R-HistoricalRecords-Unsubscribe"),value:2}}):e._e(),e.display["Documentary.R-HistoricalRecords-dealApprove"].show?t("el-option",{attrs:{label:e.$t("Documentary.R-HistoricalRecords-dealApprove"),value:3}}):e._e()],1)],1),1==e.search.reportType||2==e.search.reportType?t("el-form-item",{staticStyle:{"margin-right":"10px"}},[t("el-input",{attrs:{size:"small",placeholder:e.$t("Documentary.TundManagement.item11")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toSearch.apply(null,arguments)}},model:{value:e.search.dealLogin,callback:function(t){e.$set(e.search,"dealLogin","string"===typeof t?t.trim():t)},expression:"search.dealLogin"}})],1):e._e(),1==e.search.reportType||2==e.search.reportType?t("el-form-item",{staticStyle:{"margin-right":"10px"}},[t("el-input",{attrs:{size:"small",placeholder:e.$t("Documentary.console.item28")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toSearch.apply(null,arguments)}},model:{value:e.search.followLogin,callback:function(t){e.$set(e.search,"followLogin","string"===typeof t?t.trim():t)},expression:"search.followLogin"}})],1):e._e(),3==e.search.reportType?t("el-form-item",{staticStyle:{"margin-right":"10px"}},[t("el-input",{attrs:{size:"small",placeholder:e.$t("Label.TradingAccount")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toSearch.apply(null,arguments)}},model:{value:e.search.login,callback:function(t){e.$set(e.search,"login","string"===typeof t?t.trim():t)},expression:"search.login"}})],1):e._e(),1==e.search.reportType?t("el-form-item",{staticStyle:{"margin-right":"10px"},attrs:{prop:""}},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("el-input",{staticClass:"crm-border-radius-no",staticStyle:{width:"160px"},attrs:{placeholder:e.$t("Placeholder.Input"),size:"small"},model:{value:e.newIb,callback:function(t){e.newIb="string"===typeof t?t.trim():t},expression:"newIb"}}),t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Search",expression:"'Btn.Search'"}],staticClass:"dialogCheckSearch crm-cursor crm_state_blue",on:{click:function(t){return e.searchIbTreeSearch1(e.newIb)}}}),t("el-cascader",{staticClass:"crm-border-radius-no crm_select_icon",attrs:{props:e.props,options:e.agentId_options,placeholder:e.$t("Enter_info.All"),size:"small"},on:{"expand-change":e.handleItemChange},scopedSlots:e._u([{key:"default",fn:function(a){a.node;var n=a.data;return[t("div",[t("span",[e._v(e._s(n.label))]),n.name?t("span",[e._v(" - "+e._s(n.name)+" ")]):e._e()])]}}],null,!1,3817458562),model:{value:e.value,callback:function(t){e.value=t},expression:"value"}})],1)]):e._e(),t("el-form-item",{attrs:{prop:"date"}},[t("el-date-picker",{staticClass:"crm_date_pick crm-border-radius-no",attrs:{type:"daterange",align:"right","unlink-panels":"","value-format":"yyyy-MM-dd","range-separator":"-",size:"small","start-placeholder":e.$t("Placeholder.Start"),"end-placeholder":e.$t("Placeholder.End")},model:{value:e.search.date,callback:function(t){e.$set(e.search,"date",t)},expression:"search.date"}}),t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.allDate}},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.All",expression:"'Web_info.All'"}]})])],1)],1)],1),t("el-form-item",[t("el-button",{staticStyle:{"margin-left":"8px"},attrs:{type:"primary",size:"small"},on:{click:e.toSearch}},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Label.GenerateReport",expression:"'Label.GenerateReport'"}]})]),t("el-dropdown",{staticStyle:{margin:"0 8px"},attrs:{trigger:"click"},on:{command:e.handleCommand}},[t("span",{staticClass:"el-dropdown-link crm-cursor"},[t("i",{staticClass:"iconfont iconcaidan",staticStyle:{"font-weight":"bold","font-size":"20px"}})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e.display["Documentary.R-HistoricalRecords-CommissionE"].show&&"1"==e.type?t("el-dropdown-item",{attrs:{command:{type:"export"}}},[t("i",{staticClass:"el-icon-download"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Export",expression:"'Btn.Export'"}]})]):e._e()],1)],1)],1)],1)],1),1==e.type?t("el-table",{key:"1",staticClass:"crm_tab",staticStyle:{width:"100%"},attrs:{data:e.mock_tableData,"show-summary":"","summary-method":e.getSummaries1,stripe:""}},[t("el-table-column",{attrs:{prop:"",align:"center",label:e.$i18n.t("Label.AgentNumber")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.ibNo||"--")+" ")]}}],null,!1,2306203287)}),t("el-table-column",{attrs:{prop:"",align:"center",label:e.$i18n.t("Documentary.tradingCenter.item18")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.dealLogin||"--")+" ")]}}],null,!1,1421045522)}),t("el-table-column",{attrs:{prop:"",align:"center",label:e.$i18n.t("Documentary.console.item28")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.followLogin||"--")+" ")]}}],null,!1,3724601903)}),t("el-table-column",{attrs:{prop:"",align:"center",label:e.$i18n.t("Documentary.Report.item4")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(e._f("NumberFormat")(t.row.dealCommission||"0"))+" ")]}}],null,!1,4170095445)}),t("el-table-column",{attrs:{prop:"",align:"center",label:e.$i18n.t("Documentary.Report.item5")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.dealRatio||"0%")+" ")]}}],null,!1,332989125)}),t("el-table-column",{attrs:{prop:"",align:"center",label:e.$i18n.t("Documentary.Report.item8")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" $"+e._s(e._f("NumberFormat")(t.row.agentCommission||"0"))+" ")]}}],null,!1,2520246564)}),t("el-table-column",{attrs:{prop:"",align:"center",label:e.$i18n.t("Documentary.Report.item7")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.agentRatio||"0%")+" ")]}}],null,!1,454702800)}),t("el-table-column",{attrs:{align:"center",label:e.$t("Documentary.Report.item17")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(e._f("NumberFormat")(t.row.startEquity||"0"))+" ")]}}],null,!1,1944712209)}),t("el-table-column",{attrs:{align:"center",label:e.$t("Documentary.Report.item18")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(e._f("NumberFormat")(t.row.endEquity||"0"))+" ")]}}],null,!1,378042814)})],1):e._e(),2==e.type?t("el-table",{key:"2",staticClass:"crm_tab",staticStyle:{width:"100%"},attrs:{data:e.mock_tableData,stripe:""}},[t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Documentary.Label.nickname")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.dealNickname||"--")+" ")]}}],null,!1,4033072089)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Documentary.console.item24")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.dealLogin||"--")+" ")]}}],null,!1,1421045522)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Documentary.console.item28")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.followLogin||"--")+" ")]}}],null,!1,3724601903)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.AttributionNumber")},scopedSlots:e._u([{key:"default",fn:function(a){return[a.row.pIbNo&&e.display["Documentary.R-DocumentaryAccount-Details"].show?t("span",{staticClass:"crm-text-underline",on:{click:function(t){return e.agentOpen(a.row.pIbNo)}}},[e._v(e._s(a.row.pIbNo||"--"))]):t("span",[e._v(e._s(a.row.pIbNo||"--"))])]}}],null,!1,1914032733)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.UserNames")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.followFirstName)+" "+e._s(t.row.followMiddle)+" "+e._s(t.row.followLastName)+" ")]}}],null,!1,636917521)}),t("el-table-column",{attrs:{prop:"followEmail",align:"left",label:e.$i18n.t("Label.Email")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.followEmail||"--")+" ")]}}],null,!1,2644889632)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.LoginType")},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[1==a.row.dealLoginType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Classic",expression:"'Web_info.Classic'"}]}):e._e(),2==a.row.dealLoginType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Senior",expression:"'Web_info.Senior'"}]}):e._e(),3==a.row.dealLoginType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Institutions",expression:"'Web_info.Institutions'"}]}):e._e(),5==a.row.dealLoginType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Speed",expression:"'Web_info.Speed'"}]}):e._e(),6==a.row.dealLoginType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.NewSpeed",expression:"'Web_info.NewSpeed'"}]}):e._e(),7==a.row.dealLoginType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.StandardAccount",expression:"'Web_info.StandardAccount'"}]}):e._e(),8==a.row.dealLoginType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.CentAccount",expression:"'Web_info.CentAccount'"}]}):e._e(),a.row.dealLoginType?e._e():t("span",[e._v(e._s("--"))])])]}}],null,!1,475356002)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Platform")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.dealPlatform||"--")+" ")]}}],null,!1,2720451406)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Documentary.tradingCenter.item30")},scopedSlots:e._u([{key:"default",fn:function(a){return[1==a.row.distributionType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.TundManagement.item59",expression:"'Documentary.TundManagement.item59'"}]}):e._e()]}}],null,!1,307628250)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Documentary.tradingCenter.item31")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.distributionRatio||"0")+"% ")]}}],null,!1,3368837139)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Documentary.tradingCenter.item32")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.settlementCycle||"--")+" ")]}}],null,!1,654406432)}),t("el-table-column",{attrs:{prop:"",align:"center",width:"180",label:e.$i18n.t("Documentary.Label.item22")},scopedSlots:e._u([{key:"default",fn:function(a){return[t("div",[e._v(e._s(a.row.startTime||"--"))]),t("div",[e._v(e._s(a.row.endTime||"--"))])]}}],null,!1,3808586075)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Documentary.Label.item23")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.followProfit||"--")+" ")]}}],null,!1,4228305018)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Descr")},scopedSlots:e._u([{key:"default",fn:function(a){return[e.reasons[a.row.note]?t("span",[e._v(e._s("cn"==e.Session.Get("lang")?e.reasons[a.row.note].content:e.reasons[a.row.note].enContent))]):t("span",[e._v(e._s(a.row.note||"--"))])]}}],null,!1,2856587213)}),t("el-table-column",{attrs:{prop:"",align:"center",label:e.$i18n.t("Label.Action")},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleCommand2}},[t("span",{staticClass:"el-dropdown-link crm-cursor"},[t("i",{staticClass:"iconfont iconcaidan",staticStyle:{"font-weight":"bold","font-size":"20px"}})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e.display["Documentary.R-HistoricalRecords-Unsubscribe"].show?t("el-dropdown-item",{attrs:{command:{type:"Details",row:a.row}}},[t("i",{staticClass:"el-icon-document-copy"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.R-DocumentaryAccount-Details",expression:"'Documentary.R-DocumentaryAccount-Details'"}]})]):e._e()],1)],1)]}}],null,!1,3403790953)})],1):e._e(),3==e.type?t("el-table",{key:"3",staticClass:"crm_tab",staticStyle:{width:"100%"},attrs:{data:e.mock_tableData,stripe:""}},[t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Documentary.Label.nickname")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.nickname||"--")+" ")]}}],null,!1,679892181)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.CidAccount")},scopedSlots:e._u([{key:"default",fn:function(a){return[a.row.dealCId&&e.display["Documentary.R-SignalSourceApply-Details"].show?t("span",{staticClass:"crm-text-underline",on:{click:function(t){return e.accountOpen(a.row.dealCId)}}},[e._v(e._s(a.row.dealCId||"--"))]):t("span",[e._v(e._s(a.row.dealCId||"--"))])]}}],null,!1,1451507734)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.AttributionNumber")},scopedSlots:e._u([{key:"default",fn:function(a){return[a.row.pIbNo&&e.display["Documentary.R-SignalSourceApply-Details"].show?t("span",{staticClass:"crm-text-underline",on:{click:function(t){return e.agentOpen(a.row.pIbNo)}}},[e._v(e._s(a.row.pIbNo||"--"))]):t("span",[e._v(e._s(a.row.pIbNo||"--"))])]}}],null,!1,3398045678)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.TradingAccount")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.dealLogin||"--")+" ")]}}],null,!1,1421045522)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.UserNames")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.firstName)+" "+e._s(t.row.middle)+" "+e._s(t.row.lastName)+" ")]}}],null,!1,450404928)}),t("el-table-column",{attrs:{prop:"email",align:"left",label:e.$i18n.t("Label.Email")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.email||"--")+" ")]}}],null,!1,1132627921)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.LoginType")},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[1==a.row.dealLoginType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Classic",expression:"'Web_info.Classic'"}]}):e._e(),2==a.row.dealLoginType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Senior",expression:"'Web_info.Senior'"}]}):e._e(),3==a.row.dealLoginType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Institutions",expression:"'Web_info.Institutions'"}]}):e._e(),5==a.row.dealLoginType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Speed",expression:"'Web_info.Speed'"}]}):e._e(),6==a.row.dealLoginType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.NewSpeed",expression:"'Web_info.NewSpeed'"}]}):e._e(),7==a.row.dealLoginType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.StandardAccount",expression:"'Web_info.StandardAccount'"}]}):e._e(),8==a.row.dealLoginType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.CentAccount",expression:"'Web_info.CentAccount'"}]}):e._e(),a.row.dealLoginType?e._e():t("span",[e._v(e._s("--"))])])]}}],null,!1,475356002)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Platform")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.dealPlatform||"--")+" ")]}}],null,!1,2720451406)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Documentary.Label.OverallSituation")},scopedSlots:e._u([{key:"default",fn:function(a){return[1==a.row.permissionDisplay?t("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.Label.item1",expression:"'Documentary.Label.item1'"}]}):e._e(),2==a.row.permissionDisplay?t("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.Label.item2",expression:"'Documentary.Label.item2'"}]}):e._e(),a.row.permissionDisplay?e._e():t("span",[e._v(e._s("--"))])]}}],null,!1,2256879594)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Documentary.tradingCenter.item30")},scopedSlots:e._u([{key:"default",fn:function(a){return[1==a.row.distributionType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.TundManagement.item59",expression:"'Documentary.TundManagement.item59'"}]}):e._e()]}}],null,!1,307628250)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Documentary.tradingCenter.item31")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.distributionRatio||"0")+"% ")]}}],null,!1,3368837139)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Documentary.tradingCenter.item32")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.settlementCycle||"--")+" ")]}}],null,!1,654406432)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.ApplyTime")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.addTime||"--")+" ")]}}],null,!1,457315401)}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Descr")},scopedSlots:e._u([{key:"default",fn:function(a){return[e.reasons[a.row.approveDesc]?t("span",[e._v(e._s("cn"==e.Session.Get("lang")?e.reasons[a.row.approveDesc].content:e.reasons[a.row.approveDesc].enContent))]):t("span",[e._v(e._s(a.row.approveDesc||"--"))])]}}],null,!1,2720758573)}),t("el-table-column",{attrs:{prop:"",align:"center",width:"120",label:e.$i18n.t("Label.State")},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[0==a.row.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],staticClass:"state crm_state_blue"}):e._e(),1==a.row.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.InTheProcessing",expression:"'State.InTheProcessing'"}],staticClass:"state crm_state_blue"}):e._e(),2==a.row.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Pass",expression:"'State.Pass'"}],staticClass:"state crm_state_gray"}):e._e(),3==a.row.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Refused",expression:"'State.Refused'"}],staticClass:"state crm_state_red"}):e._e()])]}}],null,!1,2011727761)})],1):e._e(),e.pagerInfo.rowTotal?t("div",{staticClass:"crm_pagination"},[t("div",{staticClass:"crm_page_total"},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Page.total.item1",expression:"'Page.total.item1'"}]}),t("span",[e._v(e._s(e.pagerInfo.rowTotal))]),t("span",{directives:[{name:"t",rawName:"v-t",value:"Page.total.item2",expression:"'Page.total.item2'"}]})]),t("el-pagination",{staticClass:"page",attrs:{background:"",layout:"sizes, prev, pager, next","page-sizes":[10,20,50,100],"page-size":e.pagerInfo.row,total:e.pagerInfo.rowTotal},on:{"current-change":e.handleCurrentChange,"size-change":e.handleSizeChange}})],1):e._e(),t("el-dialog",{attrs:{visible:e.dialogFllowDetails,center:"",title:e.$t("Documentary.R-HistoricalRecords-Unsubscribe-Details"),"custom-class":"dialog_header_w dialog_header_blue"},on:{"update:visible":function(t){e.dialogFllowDetails=t}}},[t("div",{staticClass:"dia-content"},[t("div",{staticClass:"content",staticStyle:{"font-size":"14px","text-align":"left"}},[t("el-form",{ref:"dialogFllowDetailsData",attrs:{model:e.dialogFllowDetailsData}},[t("el-row",[t("div",{staticClass:"fllow-title"},[t("div",{staticClass:"title"},[t("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.Label.item28"),expression:"$t('Documentary.Label.item28')"}]})])]),t("el-col",{staticClass:"col-l",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[t("div",{staticClass:"fllow-content"},[t("div",{staticClass:"tit"},[t("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item29"),expression:"$t('Documentary.tradingCenter.item29')"}]})]),t("div",{staticClass:"con"},[e._v(e._s(e.dialogFllowDetailsData.followLogin||"--"))])])]),t("el-col",{staticClass:"col-r",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[t("div",{staticClass:"fllow-content"},[t("div",{staticClass:"tit"},[t("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item35"),expression:"$t('Documentary.tradingCenter.item35')"}]})]),t("div",{staticClass:"con"},[1==e.dialogFllowDetailsData.followType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.tradingCenter.item116",expression:"'Documentary.tradingCenter.item116'"}]}):e._e(),2==e.dialogFllowDetailsData.followType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.tradingCenter.item117",expression:"'Documentary.tradingCenter.item117'"}]}):e._e(),3==e.dialogFllowDetailsData.followType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.tradingCenter.item118",expression:"'Documentary.tradingCenter.item118'"}]}):e._e()])]),1==e.dialogFllowDetailsData.followType?t("div",{staticClass:"fllow-content"},[t("div",{staticClass:"tit"},[t("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item119"),expression:"$t('Documentary.tradingCenter.item119')"}]})]),t("div",{staticClass:"con"},[e._v(e._s(e.dialogFllowDetailsData.volume/100||"--"))])]):e._e(),2==e.dialogFllowDetailsData.followType?t("div",{staticClass:"fllow-content"},[t("div",{staticClass:"tit"},[t("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item36"),expression:"$t('Documentary.tradingCenter.item36')"}]})]),t("div",{staticClass:"con"},[e._v(e._s(e.dialogFllowDetailsData.ratio||"--")+"%")])]):e._e(),t("div",{staticClass:"fllow-content"},[t("div",{staticClass:"tit"},[t("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.Label.item22"),expression:"$t('Documentary.Label.item22')"}]})]),t("div",{staticClass:"con"},[e._v(e._s(e.dialogFllowDetailsData.startTime||"--"))])]),t("div",{staticClass:"fllow-content"},[t("div",{staticClass:"tit"},[t("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item32"),expression:"$t('Documentary.tradingCenter.item32')"}]})]),t("div",{staticClass:"con"},[e._v(e._s(e.dialogFllowDetailsData.settlementCycle||"0"))])])]),t("el-col",{staticClass:"fllow-title",attrs:{span:24,xs:24,sm:24,md:24,lg:24}},[t("div",{staticClass:"title"},[t("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item28"),expression:"$t('Documentary.tradingCenter.item28')"}]})]),t("div")]),t("el-col",{staticClass:"col-l",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[t("div",{staticClass:"fllow-content"},[t("div",{staticClass:"tit"},[t("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item29"),expression:"$t('Documentary.tradingCenter.item29')"}]})]),t("div",{staticClass:"con"},[e._v(e._s(e.dialogFllowDetailsData.dealLogin||"--"))])])]),t("el-col",{staticClass:"col-r",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[t("div",{staticClass:"fllow-content"},[t("div",{staticClass:"tit"},[t("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item30"),expression:"$t('Documentary.tradingCenter.item30')"}]})]),t("div",{staticClass:"con"},[1==e.dialogFllowDetailsData.distributionType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.TundManagement.item59",expression:"'Documentary.TundManagement.item59'"}]}):e._e()])]),t("div",{staticClass:"fllow-content"},[t("div",{staticClass:"tit"},[t("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item31"),expression:"$t('Documentary.tradingCenter.item31')"}]})]),t("div",{staticClass:"con"},[e._v(e._s(e.dialogFllowDetailsData.distributionRatio||"0")+"%")])])]),t("el-col",{staticClass:"fllow-title",attrs:{span:24,xs:24,sm:24,md:24,lg:24}},[t("div",{staticClass:"title"},[t("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item37"),expression:"$t('Documentary.tradingCenter.item37')"}]})])]),t("el-col",{staticClass:"col-l",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[t("div",{staticClass:"fllow-content"},[t("div",{staticClass:"tit"},[t("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item38"),expression:"$t('Documentary.tradingCenter.item38')"}]})]),t("div",{staticClass:"con"},[1==e.dialogFllowDetailsData.protectType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.tradingCenter.item120",expression:"'Documentary.tradingCenter.item120'"}]}):e._e(),2==e.dialogFllowDetailsData.protectType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.tradingCenter.item121",expression:"'Documentary.tradingCenter.item121'"}]}):e._e(),e.dialogFllowDetailsData.protectType?e._e():t("span",[e._v(e._s("--"))])])])]),t("el-col",{staticClass:"col-r",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[1==e.dialogFllowDetailsData.protectType?t("div",{staticClass:"fllow-content"},[t("div",{staticClass:"tit"},[t("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item39"),expression:"$t('Documentary.tradingCenter.item39')"}]})]),t("div",{staticClass:"con"},[e._v(e._s(e.dialogFllowDetailsData.protectAmount||"--")+"($)")])]):e._e(),2==e.dialogFllowDetailsData.protectType?t("div",{staticClass:"fllow-content"},[t("div",{staticClass:"tit"},[t("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item122"),expression:"$t('Documentary.tradingCenter.item122')"}]})]),t("div",{staticClass:"con"},[e._v(e._s(e.dialogFllowDetailsData.protectRatio||"--")+"(%)")])]):e._e()])],1)],1),t("div",{staticClass:"dialog-footer",staticStyle:{display:"flex","justify-content":"center"},attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:function(t){e.dialogFllowDetails=!1}}}),t("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:function(t){e.dialogFllowDetails=!1}}})],1)],1)])])],1)},r=[],s=a("5530"),o=a("c7eb"),l=a("1da1"),i=(a("14d9"),a("e9f5"),a("7d54"),a("a732"),a("a9e3"),a("b64b"),a("d3b7"),a("25f0"),a("3ca3"),a("159b"),a("ddb0"),a("2b3d"),a("bf19"),a("9861"),a("88a7"),a("271a"),a("5494"),a("bc3a")),c=a.n(i),u=a("a907"),p=a("4477"),d=a("f121"),m=a.n(d),f=m.a.Code,b={name:"DataReport",data:function(){return{flag:!1,pictLoading:!1,type:"",detail_type:"",mock_tableData:[],search:{reportType:1,detail_type:null,agentId:null,dealLogin:"",followLogin:"",login:"",ibNo:"",platform:null,date:[],startDate:"",endDate:"",startTime:"",endTime:""},newIb:"",activityDrop:{},value:[],agentId_options:[{value:0,label:this.$i18n.t("news_add_field.IbReport.ALL")},{value:-1,label:this.$i18n.t("news_add_field.IbReport.DirectlyUnder")}],props:{value:"value",children:"children",checkStrictly:!0},child:[],reasons:{},combined:{},pagerInfo:{row:10,current:1,pageTotal:0,rowTotal:0},dialogFllowDetails:!1,dialogFllowDetailsData:{}}},computed:{display:function(){return JSON.parse(this.Session.Get("display",!0))}},methods:{handleCommand2:function(e){"Details"==e.type&&(this.dialogFllowDetailsData=e.row,this.dialogFllowDetails=!0)},NumberFormatAll:function(e){if("***"==e)return"***";if(isNaN(e))return 0;var t=e.toString();if(t.indexOf("-")>-1){t=t.split("-")[1];var a=t.split("."),n=a[0].length;if(n<3)return e;for(var r=0,s="",o=n-3;o>=0;o-=3)s=a[0].substr(o,3)+(""==s?"":",")+s,r=o;return r>0&&(s=a[0].substr(0,r)+(""==s?"":",")+s),"-"+s+(1==a.length?"":"."+a[1])}var l=t.split("."),i=l[0].length;if(i<3)return e;for(var c=0,u="",p=i-3;p>=0;p-=3)u=l[0].substr(p,3)+(""==u?"":",")+u,c=p;return c>0&&(u=l[0].substr(0,c)+(""==u?"":",")+u),u+(1==l.length?"":"."+l[1])},getSummaries1:function(){var e=[];return 0==Object.keys(this.combined).length||(e=[this.$i18n.t("Label.Total"),"","",this.combined.dealCommission?this.NumberFormatAll(this.combined.dealCommission):0,"",this.combined.agentCommission?this.NumberFormatAll(this.combined.agentCommission):0,"","",""]),e},getDate:function(){var e,t,a=2,n=(new Date).getTimezoneOffset(),r=(new Date).getTime(),s=new Date(r+60*n*1e3+60*a*60*1e3),o=s.getFullYear(),l=s.getMonth()+1,i=s.getDate();l<10&&(l="0"+l),e=o+"-"+l+"-01";var c=s.getMonth(),u=++c,p=new Date(s.getFullYear(),u,1),d=864e5,m=new Date(p-d),f=m.getDate();if(f<10&&(f="0"+f),t=o+"-"+l+"-"+f,2==this.search.reportType)if(1==Number(i)){var b=s.getFullYear(),g=s.getMonth();0==g&&(g=12,b-=1),g<10&&(g="0"+g);var v=new Date(b,g,0),h=b+"-"+g+"-01",w=b+"-"+g+"-"+v.getDate();this.search.date=[h,w]}else{var y=i-1;y<10&&(y="0"+y),t=o+"-"+l+"-"+y,this.search.date=[e,t]}else this.search.date=[e,t]},allDate:function(){var e,t=2,a=(new Date).getTimezoneOffset(),n=(new Date).getTime(),r=new Date(n+60*a*1e3+60*t*60*1e3),s=r.getFullYear(),o=r.getMonth()+1,l=r.getDate();if(o<10&&(o="0"+o),2==this.search.reportType){var i=l-1;i<10&&(i="0"+i),e=s+"-"+o+"-"+i,this.search.date=["1970-01-01",e]}else l<10&&(l="0"+l),e=s+"-"+o+"-"+l,this.search.date=["1970-01-01",e]},chooseLang:function(e){this.search.platform=e,this.searchFunc()},handleItemChange:function(e){this.child=this.agentId_options;for(var t=0;t0&&a[n].value==t)){e.next=3;break}return l.child=a[n].children,e.abrupt("return",{v:void 0});case 3:if(a[n].value!=t){e.next=15;break}return e.next=6,p["a"].ibTree({pid:t});case 6:if(r=e.sent,r.code!=f.StatusOK){e.next=14;break}if(null==r.data){e.next=12;break}return r.data.forEach((function(e){if(e.ibNo){var t={};t.value=e.id,t.label=e.ibNo,t.name=e.name,t.children=[],a[n].children.push(t)}})),l.child=a[n].children,e.abrupt("return",{v:void 0});case 12:e.next=15;break;case 14:l.$pigeon.MessageError(r.msg);case 15:case"end":return e.stop()}}),e)})),s=0;case 2:if(!(s0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/reasons/refusal/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followDealSearchList",value:function(){var e=Object(r["a"])(Object(n["a"])().mark((function e(){var t,a,r=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/follow/deal/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followDealSearchSingle",value:function(){var e=Object(r["a"])(Object(n["a"])().mark((function e(){var t,a,r=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/follow/deal/search/single",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followDealSearchDelete",value:function(){var e=Object(r["a"])(Object(n["a"])().mark((function e(){var t,a,r=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/follow/deal/delete",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followDealSearchUpdate",value:function(){var e=Object(r["a"])(Object(n["a"])().mark((function e(){var t,a,r=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/follow/deal/update",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followDealSearchAdd",value:function(){var e=Object(r["a"])(Object(n["a"])().mark((function e(){var t,a,r=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/follow/deal/add",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followDealSearchApprove",value:function(){var e=Object(r["a"])(Object(n["a"])().mark((function e(){var t,a,r=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/follow/deal/approve",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followPeriodRanking",value:function(){var e=Object(r["a"])(Object(n["a"])().mark((function e(){var t,a,r=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/follow/deal/search/periodRanking",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followPeriod",value:function(){var e=Object(r["a"])(Object(n["a"])().mark((function e(){var t,a,r=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/follow/deal/search/period",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followDealClearRecommend",value:function(){var e=Object(r["a"])(Object(n["a"])().mark((function e(){var t,a,r=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/follow/deal/clear/all/recommend",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followDealUpdateRecommend",value:function(){var e=Object(r["a"])(Object(n["a"])().mark((function e(){var t,a,r=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/follow/deal/recommend/update",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followDealSubscribeList",value:function(){var e=Object(r["a"])(Object(n["a"])().mark((function e(){var t,a,r=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/follow/deal/subscribe/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followDealSubscribeSingle",value:function(){var e=Object(r["a"])(Object(n["a"])().mark((function e(){var t,a,r=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/follow/deal/subscribe/search/single",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followDealSubscribeDelete",value:function(){var e=Object(r["a"])(Object(n["a"])().mark((function e(){var t,a,r=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/follow/deal/subscribe/unsubscribe",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followDealSubscribeUpdate",value:function(){var e=Object(r["a"])(Object(n["a"])().mark((function e(){var t,a,r=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/follow/deal/subscribe/update",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followDealSubscribeAdd",value:function(){var e=Object(r["a"])(Object(n["a"])().mark((function e(){var t,a,r=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/follow/deal/subscribe/subscribe",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"followReportCommission",value:function(){var e=Object(r["a"])(Object(n["a"])().mark((function e(){var t,a,r=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.post("/follow/report/period/commission",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}])}(c["a"]);t["a"]=new f},bb23:function(e,t,a){"use strict";a("0196")},e5fb:function(e,t,a){}}]);