| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["HistoricalRecords"],{"233a":function(e,t,a){"use strict";a("e2ec")},"4afc":function(e,t,a){},5978:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("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"}},[a("div",{staticClass:"crm_search"},[a("el-form",{ref:"search",attrs:{"label-position":"",model:e.search,"label-width":""}},[a("el-row",[a("el-col",{attrs:{span:24,md:24,lg:24}},[a("el-form-item",[a("span",{directives:[{name:"t",rawName:"v-t",value:"Label.ReportType",expression:"'Label.ReportType'"}]}),a("span",{staticStyle:{"margin-right":"8px"}},[e._v(":")])]),a("el-form-item",{staticStyle:{"margin-right":"10px"}},[a("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?a("el-option",{attrs:{label:e.$t("Documentary.R-HistoricalRecords-Commission"),value:1}}):e._e(),e.display["Documentary.R-HistoricalRecords-Unsubscribe"].show?a("el-option",{attrs:{label:e.$t("Documentary.R-HistoricalRecords-Unsubscribe"),value:2}}):e._e(),e.display["Documentary.R-HistoricalRecords-dealApprove"].show?a("el-option",{attrs:{label:e.$t("Documentary.R-HistoricalRecords-dealApprove"),value:3}}):e._e()],1)],1),1==e.search.reportType||2==e.search.reportType?a("el-form-item",{staticStyle:{"margin-right":"10px"}},[a("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(t)}},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?a("el-form-item",{staticStyle:{"margin-right":"10px"}},[a("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(t)}},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?a("el-form-item",{staticStyle:{"margin-right":"10px"}},[a("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(t)}},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?a("el-form-item",{staticStyle:{"margin-right":"10px"},attrs:{prop:""}},[a("div",{staticStyle:{display:"flex","align-items":"center"}},[a("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"}}),a("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)}}}),a("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(t){t.node;var n=t.data;return[a("div",[a("span",[e._v(e._s(n.label))]),n.name?a("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(),a("el-form-item",{attrs:{prop:"date"}},[a("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"}}),a("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.allDate}},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.All",expression:"'Web_info.All'"}]})])],1)],1)],1),a("el-form-item",[a("el-button",{staticStyle:{"margin-left":"8px"},attrs:{type:"primary",size:"small"},on:{click:e.toSearch}},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Label.GenerateReport",expression:"'Label.GenerateReport'"}]})]),a("el-dropdown",{staticStyle:{margin:"0 8px"},attrs:{trigger:"click"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link crm-cursor"},[a("i",{staticClass:"iconfont iconcaidan",staticStyle:{"font-weight":"bold","font-size":"20px"}})]),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e.display["Documentary.R-HistoricalRecords-CommissionE"].show&&"1"==e.type?a("el-dropdown-item",{attrs:{command:{type:"export"}}},[a("i",{staticClass:"el-icon-download"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Export",expression:"'Btn.Export'"}]})]):e._e()],1)],1)],1)],1)],1),1==e.type?a("el-table",{key:"1",staticClass:"crm_tab",staticStyle:{width:"100%"},attrs:{data:e.mock_tableData,"show-summary":"","summary-method":e.getSummaries1,stripe:""}},[a("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)}),a("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)}),a("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)}),a("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)}),a("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)}),a("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)}),a("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)}),a("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)}),a("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?a("el-table",{key:"2",staticClass:"crm_tab",staticStyle:{width:"100%"},attrs:{data:e.mock_tableData,stripe:""}},[a("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)}),a("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)}),a("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)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.AttributionNumber")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.pIbNo&&e.display["Documentary.R-DocumentaryAccount-Details"].show?a("span",{staticClass:"crm-text-underline",on:{click:function(a){return e.agentOpen(t.row.pIbNo)}}},[e._v(e._s(t.row.pIbNo||"--"))]):a("span",[e._v(e._s(t.row.pIbNo||"--"))])]}}],null,!1,1914032733)}),a("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)}),a("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)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.LoginType")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[1==t.row.dealLoginType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Classic",expression:"'Web_info.Classic'"}]}):e._e(),2==t.row.dealLoginType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Senior",expression:"'Web_info.Senior'"}]}):e._e(),3==t.row.dealLoginType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Institutions",expression:"'Web_info.Institutions'"}]}):e._e(),5==t.row.dealLoginType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Speed",expression:"'Web_info.Speed'"}]}):e._e(),6==t.row.dealLoginType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.NewSpeed",expression:"'Web_info.NewSpeed'"}]}):e._e(),7==t.row.dealLoginType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.StandardAccount",expression:"'Web_info.StandardAccount'"}]}):e._e(),t.row.dealLoginType?e._e():a("span",[e._v(e._s("--"))])])]}}],null,!1,2937747472)}),a("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)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Documentary.tradingCenter.item30")},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.distributionType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.TundManagement.item59",expression:"'Documentary.TundManagement.item59'"}]}):e._e()]}}],null,!1,307628250)}),a("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)}),a("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)}),a("el-table-column",{attrs:{prop:"",align:"center",width:"180",label:e.$i18n.t("Documentary.Label.item22")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.startTime||"--"))]),a("div",[e._v(e._s(t.row.endTime||"--"))])]}}],null,!1,3808586075)}),a("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)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Descr")},scopedSlots:e._u([{key:"default",fn:function(t){return[e.reasons[t.row.note]?a("span",[e._v(e._s("cn"==e.Session.Get("lang")?e.reasons[t.row.note].content:e.reasons[t.row.note].enContent))]):a("span",[e._v(e._s(t.row.note||"--"))])]}}],null,!1,2856587213)}),a("el-table-column",{attrs:{prop:"",align:"center",label:e.$i18n.t("Label.Action")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleCommand2}},[a("span",{staticClass:"el-dropdown-link crm-cursor"},[a("i",{staticClass:"iconfont iconcaidan",staticStyle:{"font-weight":"bold","font-size":"20px"}})]),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e.display["Documentary.R-HistoricalRecords-Unsubscribe"].show?a("el-dropdown-item",{attrs:{command:{type:"Details",row:t.row}}},[a("i",{staticClass:"el-icon-document-copy"}),a("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?a("el-table",{key:"3",staticClass:"crm_tab",staticStyle:{width:"100%"},attrs:{data:e.mock_tableData,stripe:""}},[a("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)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.CidAccount")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.dealCId&&e.display["Documentary.R-SignalSourceApply-Details"].show?a("span",{staticClass:"crm-text-underline",on:{click:function(a){return e.accountOpen(t.row.dealCId)}}},[e._v(e._s(t.row.dealCId||"--"))]):a("span",[e._v(e._s(t.row.dealCId||"--"))])]}}],null,!1,1451507734)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.AttributionNumber")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.pIbNo&&e.display["Documentary.R-SignalSourceApply-Details"].show?a("span",{staticClass:"crm-text-underline",on:{click:function(a){return e.agentOpen(t.row.pIbNo)}}},[e._v(e._s(t.row.pIbNo||"--"))]):a("span",[e._v(e._s(t.row.pIbNo||"--"))])]}}],null,!1,3398045678)}),a("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)}),a("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)}),a("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)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.LoginType")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[1==t.row.dealLoginType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Classic",expression:"'Web_info.Classic'"}]}):e._e(),2==t.row.dealLoginType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Senior",expression:"'Web_info.Senior'"}]}):e._e(),3==t.row.dealLoginType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Institutions",expression:"'Web_info.Institutions'"}]}):e._e(),5==t.row.dealLoginType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Speed",expression:"'Web_info.Speed'"}]}):e._e(),6==t.row.dealLoginType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.NewSpeed",expression:"'Web_info.NewSpeed'"}]}):e._e(),7==t.row.dealLoginType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.StandardAccount",expression:"'Web_info.StandardAccount'"}]}):e._e(),t.row.dealLoginType?e._e():a("span",[e._v(e._s("--"))])])]}}],null,!1,2937747472)}),a("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)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Documentary.Label.OverallSituation")},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.permissionDisplay?a("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.Label.item1",expression:"'Documentary.Label.item1'"}]}):e._e(),2==t.row.permissionDisplay?a("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.Label.item2",expression:"'Documentary.Label.item2'"}]}):e._e(),t.row.permissionDisplay?e._e():a("span",[e._v(e._s("--"))])]}}],null,!1,2256879594)}),a("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Documentary.tradingCenter.item30")},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.distributionType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.TundManagement.item59",expression:"'Documentary.TundManagement.item59'"}]}):e._e()]}}],null,!1,307628250)}),a("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)}),a("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)}),a("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)}),a("el-table-column",{attrs:{prop:"",align:"center",width:"120",label:e.$i18n.t("Label.State")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[0==t.row.status?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],staticClass:"state crm_state_blue"}):e._e(),1==t.row.status?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.InTheProcessing",expression:"'State.InTheProcessing'"}],staticClass:"state crm_state_blue"}):e._e(),2==t.row.status?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.Pass",expression:"'State.Pass'"}],staticClass:"state crm_state_gray"}):e._e(),3==t.row.status?a("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?a("div",{staticClass:"crm_pagination"},[a("div",{staticClass:"crm_page_total"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Page.total.item1",expression:"'Page.total.item1'"}]}),a("span",[e._v(e._s(e.pagerInfo.rowTotal))]),a("span",{directives:[{name:"t",rawName:"v-t",value:"Page.total.item2",expression:"'Page.total.item2'"}]})]),a("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(),a("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}}},[a("div",{staticClass:"dia-content"},[a("div",{staticClass:"content",staticStyle:{"font-size":"14px","text-align":"left"}},[a("el-form",{ref:"dialogFllowDetailsData",attrs:{model:e.dialogFllowDetailsData}},[a("el-row",[a("div",{staticClass:"fllow-title"},[a("div",{staticClass:"title"},[a("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.Label.item28"),expression:"$t('Documentary.Label.item28')"}]})])]),a("el-col",{staticClass:"col-l",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[a("div",{staticClass:"fllow-content"},[a("div",{staticClass:"tit"},[a("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item29"),expression:"$t('Documentary.tradingCenter.item29')"}]})]),a("div",{staticClass:"con"},[e._v(e._s(e.dialogFllowDetailsData.followLogin||"--"))])])]),a("el-col",{staticClass:"col-r",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[a("div",{staticClass:"fllow-content"},[a("div",{staticClass:"tit"},[a("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item35"),expression:"$t('Documentary.tradingCenter.item35')"}]})]),a("div",{staticClass:"con"},[1==e.dialogFllowDetailsData.followType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.tradingCenter.item116",expression:"'Documentary.tradingCenter.item116'"}]}):e._e(),2==e.dialogFllowDetailsData.followType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.tradingCenter.item117",expression:"'Documentary.tradingCenter.item117'"}]}):e._e(),3==e.dialogFllowDetailsData.followType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.tradingCenter.item118",expression:"'Documentary.tradingCenter.item118'"}]}):e._e()])]),1==e.dialogFllowDetailsData.followType?a("div",{staticClass:"fllow-content"},[a("div",{staticClass:"tit"},[a("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item119"),expression:"$t('Documentary.tradingCenter.item119')"}]})]),a("div",{staticClass:"con"},[e._v(e._s(e.dialogFllowDetailsData.volume/100||"--"))])]):e._e(),2==e.dialogFllowDetailsData.followType?a("div",{staticClass:"fllow-content"},[a("div",{staticClass:"tit"},[a("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item36"),expression:"$t('Documentary.tradingCenter.item36')"}]})]),a("div",{staticClass:"con"},[e._v(e._s(e.dialogFllowDetailsData.ratio||"--")+"%")])]):e._e(),a("div",{staticClass:"fllow-content"},[a("div",{staticClass:"tit"},[a("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.Label.item22"),expression:"$t('Documentary.Label.item22')"}]})]),a("div",{staticClass:"con"},[e._v(e._s(e.dialogFllowDetailsData.startTime||"--"))])]),a("div",{staticClass:"fllow-content"},[a("div",{staticClass:"tit"},[a("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item32"),expression:"$t('Documentary.tradingCenter.item32')"}]})]),a("div",{staticClass:"con"},[e._v(e._s(e.dialogFllowDetailsData.settlementCycle||"0"))])])]),a("el-col",{staticClass:"fllow-title",attrs:{span:24,xs:24,sm:24,md:24,lg:24}},[a("div",{staticClass:"title"},[a("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item28"),expression:"$t('Documentary.tradingCenter.item28')"}]})]),a("div")]),a("el-col",{staticClass:"col-l",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[a("div",{staticClass:"fllow-content"},[a("div",{staticClass:"tit"},[a("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item29"),expression:"$t('Documentary.tradingCenter.item29')"}]})]),a("div",{staticClass:"con"},[e._v(e._s(e.dialogFllowDetailsData.dealLogin||"--"))])])]),a("el-col",{staticClass:"col-r",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[a("div",{staticClass:"fllow-content"},[a("div",{staticClass:"tit"},[a("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item30"),expression:"$t('Documentary.tradingCenter.item30')"}]})]),a("div",{staticClass:"con"},[1==e.dialogFllowDetailsData.distributionType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.TundManagement.item59",expression:"'Documentary.TundManagement.item59'"}]}):e._e()])]),a("div",{staticClass:"fllow-content"},[a("div",{staticClass:"tit"},[a("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item31"),expression:"$t('Documentary.tradingCenter.item31')"}]})]),a("div",{staticClass:"con"},[e._v(e._s(e.dialogFllowDetailsData.distributionRatio||"0")+"%")])])]),a("el-col",{staticClass:"fllow-title",attrs:{span:24,xs:24,sm:24,md:24,lg:24}},[a("div",{staticClass:"title"},[a("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item37"),expression:"$t('Documentary.tradingCenter.item37')"}]})])]),a("el-col",{staticClass:"col-l",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[a("div",{staticClass:"fllow-content"},[a("div",{staticClass:"tit"},[a("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item38"),expression:"$t('Documentary.tradingCenter.item38')"}]})]),a("div",{staticClass:"con"},[1==e.dialogFllowDetailsData.protectType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.tradingCenter.item120",expression:"'Documentary.tradingCenter.item120'"}]}):e._e(),2==e.dialogFllowDetailsData.protectType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Documentary.tradingCenter.item121",expression:"'Documentary.tradingCenter.item121'"}]}):e._e(),e.dialogFllowDetailsData.protectType?e._e():a("span",[e._v(e._s("--"))])])])]),a("el-col",{staticClass:"col-r",attrs:{span:12,xs:12,sm:12,md:12,lg:12}},[1==e.dialogFllowDetailsData.protectType?a("div",{staticClass:"fllow-content"},[a("div",{staticClass:"tit"},[a("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item39"),expression:"$t('Documentary.tradingCenter.item39')"}]})]),a("div",{staticClass:"con"},[e._v(e._s(e.dialogFllowDetailsData.protectAmount||"--")+"($)")])]):e._e(),2==e.dialogFllowDetailsData.protectType?a("div",{staticClass:"fllow-content"},[a("div",{staticClass:"tit"},[a("span",{directives:[{name:"t",rawName:"v-t",value:e.$t("Documentary.tradingCenter.item122"),expression:"$t('Documentary.tradingCenter.item122')"}]})]),a("div",{staticClass:"con"},[e._v(e._s(e.dialogFllowDetailsData.protectRatio||"--")+"(%)")])]):e._e()])],1)],1),a("div",{staticClass:"dialog-footer",staticStyle:{display:"flex","justify-content":"center"},attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:function(t){e.dialogFllowDetails=!1}}}),a("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("4160"),a("c975"),a("45fc"),a("b0c0"),a("a9e3"),a("b64b"),a("d3b7"),a("ac1f"),a("25f0"),a("3ca3"),a("841c"),a("1276"),a("159b"),a("ddb0"),a("2b3d"),a("5530")),o=a("53ca"),i=(a("96cf"),a("1da1")),l=a("bc3a"),c=a.n(l),u=a("a907"),p=a("4477"),d=a("f121"),m=a.n(d),f=m.a.Code,g={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 i=t.split("."),l=i[0].length;if(l<3)return e;for(var c=0,u="",p=l-3;p>=0;p-=3)u=i[0].substr(p,3)+(""==u?"":",")+u,c=p;return c>0&&(u=i[0].substr(0,c)+(""==u?"":",")+u),u+(1==i.length?"":"."+i[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=3,n=(new Date).getTimezoneOffset(),r=(new Date).getTime(),s=new Date(r+60*n*1e3+60*a*60*1e3),o=s.getFullYear(),i=s.getMonth()+1,l=s.getDate();i<10&&(i="0"+i),e=o+"-"+i+"-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+"-"+i+"-"+f,2==this.search.reportType)if(1==Number(l)){var g=s.getFullYear(),v=s.getMonth();0==v&&(v=12,g-=1),v<10&&(v="0"+v);var b=new Date(g,v,0),h=g+"-"+v+"-01",w=g+"-"+v+"-"+b.getDate();this.search.date=[h,w]}else{var y=l-1;y<10&&(y="0"+y),t=o+"-"+i+"-"+y,this.search.date=[e,t]}else this.search.date=[e,t]},allDate:function(){var e,t=3,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,i=r.getDate();if(o<10&&(o="0"+o),2==this.search.reportType){var l=i-1;l<10&&(l="0"+l),e=s+"-"+o+"-"+l,this.search.date=["1970-01-01",e]}else i<10&&(i="0"+i),e=s+"-"+o+"-"+i,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;t<e.length;t++)this.tree(e[t],this.child)},tree:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t,a){var n,r,s,i=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=regeneratorRuntime.mark((function e(n){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(null!=a[n].children&&a[n].children.length>0&&a[n].value==t)){e.next=3;break}return i.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)}})),i.child=a[n].children,e.abrupt("return",{v:void 0});case 12:e.next=15;break;case 14:i.$pigeon.MessageError(r.msg);case 15:case"end":return e.stop()}}),e)})),r=0;case 2:if(!(r<a.length)){e.next=10;break}return e.delegateYield(n(r),"t0",4);case 4:if(s=e.t0,"object"!==Object(o["a"])(s)){e.next=7;break}return e.abrupt("return",s.v);case 7:r++,e.next=2;break;case 10:case"end":return e.stop()}}),e)})));function t(t,a){return e.apply(this,arguments)}return t}(),searchIbTree:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,p["a"].ibTree({pid:0});case 2:a=t.sent,a.code==f.StatusOK?null!=a.data&&a.data.forEach((function(t){if(t.ibNo){var a={};a.value=t.id,a.label=t.ibNo,a.name=t.name,a.children=[],e.agentId_options.push(a)}})):e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},searchIbTreeSearch:function(e){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function a(){var n,r;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return t.value=[],a.next=3,p["a"].ibTreeSearch({ibNo:e});case 3:n=a.sent,n.code==f.StatusOK?null!=n.data&&n.data.length?(r=null,n.data.forEach((function(a){if(a.ibNo==e){var n={};n.value=a.id,n.label=a.ibNo,n.name=a.name,n.children=[],t.agentId_options.push(n),t.value.push(a.id),r=a.id}})),r?t.searchFuncType5(r):t.$pigeon.MessageWarning(t.$i18n.t("Msg.ibNoId"))):t.$pigeon.MessageWarning(t.$i18n.t("Msg.ibNoId")):t.$pigeon.MessageError(n.msg),t.pictLoading=!1;case 6:case"end":return a.stop()}}),a)})))()},searchFuncType5:function(e){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function a(){var n;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(t.pictLoading=!0,5!=t.type||!t.search.ibNoId){a.next=8;break}return null==t.search.date||0==t.search.date.length?(t.search.startDate="",t.search.endDate=""):(t.search.startDate=t.search.date[0],t.search.endDate=t.search.date[1]),t.search.agentId=e,a.next=6,p["a"].tradeAccount(Object(s["a"])(Object(s["a"])({},t.search),{},{page:{current:t.pagerInfo.current,row:t.pagerInfo.row}}));case 6:n=a.sent,n.code==f.StatusOK?(null!=n.sum?t.combined=n.sum:t.combined={},null!=n.data?t.mock_tableData=n.data:t.mock_tableData=[],null!=n.page?(t.pagerInfo.rowTotal=n.page.rowTotal,t.pagerInfo.pageTotal=n.page.pageTotal):t.pagerInfo.rowTotal=0,t.$pigeon.MessageOK(t.$i18n.t("Msg.SearchSuccess")),t.pictLoading=!1):(t.$pigeon.MessageError(n.msg),t.pictLoading=!1);case 8:t.pictLoading=!1;case 9:case"end":return a.stop()}}),a)})))()},searchIbTreeSearch1:function(e){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function a(){var n,r;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(e){a.next=2;break}return a.abrupt("return");case 2:if(n=t.agentId_options.some((function(t){return t.label==e})),!n){a.next=5;break}return a.abrupt("return");case 5:return a.next=7,u["a"].ibTreeSearch({ibNo:e});case 7:r=a.sent,r.code==f.StatusOK?(null!=r.data&&r.data.forEach((function(e){if(e.ibNo){var a={};a.value=e.id,a.label=e.ibNo,a.name=e.name,a.children=[],t.agentId_options.unshift(a)}})),t.$pigeon.MessageOK(t.$i18n.t("Msg.SearchSuccess"))):t.$pigeon.MessageError(r.msg);case 9:case"end":return a.stop()}}),a)})))()},handleCommand:function(e){"export"==e.type&&this.exportAgents()},getBlob:function(e){return new Promise((function(t){var a=new XMLHttpRequest;a.open("GET",e,!0),a.responseType="blob",a.onload=function(){200===a.status&&t(a.response)},a.send()}))},saveAs:function(e,t){window.navigator.msSaveOrOpenBlob&&navigator.msSaveBlob(e,t)},download:function(e,t){var a=this;this.getBlob(e).then((function(e){a.saveAs(e,t)}))},exportAgents:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var a,n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.flag){t.next=4;break}return t.abrupt("return");case 4:e.flag=!0;case 5:if(1!=e.type){t.next=13;break}if(e.search.startDate&&e.search.endDate){t.next=9;break}return e.$pigeon.MessageWarning(e.$i18n.t("vaildate.date.empty")),t.abrupt("return");case 9:a=e.search.startDate.split("-")[0]+e.search.startDate.split("-")[1]+e.search.startDate.split("-")[2],n=e.search.endDate.split("-")[0]+e.search.endDate.split("-")[1]+e.search.endDate.split("-")[2],r="/follow/report/period/commission/export?followLogin="+(e.search.followLogin?e.search.followLogin:"")+"&dealLogin="+(e.search.dealLogin?e.search.dealLogin:"")+"&agentId="+(e.search.agentId?e.search.agentId:0)+"&startDate="+a+"&endDate="+n,c.a.get(r,{responseType:"blob"}).then((function(t){if(t.status==f.StatusOK)if("msSaveOrOpenBlob"in navigator)window.navigator.msSaveOrOpenBlob(t.data,"Download.xlsx"),e.flag=!1;else{var a=window.URL.createObjectURL(t.data),n=document.createElement("a");document.body.appendChild(n);var r=t.headers["content-disposition"]?t.headers["content-disposition"].split(";")[1].split("=")[1]:"Download.xlsx";n.href=a,n.download=r,n.click(),window.URL.revokeObjectURL(a),e.flag=!1}else e.$pigeon.MessageError(e.$i18n.t("Msg.Download")),e.flag=!1}));case 13:case"end":return t.stop()}}),t)})))()},searchFunc:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var a,n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.pictLoading=!0,null==e.search.date||0==e.search.date.length?(e.search.startDate="",e.search.endDate=""):(e.search.startDate=e.search.date[0],e.search.endDate=e.search.date[1]),1!=e.type){t.next=9;break}return t.next=5,u["a"].followReportCommission({agentId:e.search.agentId,dealLogin:e.search.dealLogin,followLogin:e.search.followLogin,startDate:e.search.startDate,endDate:e.search.endDate,page:{current:e.pagerInfo.current,row:e.pagerInfo.row}});case 5:a=t.sent,a.code==f.StatusOK?(null!=a.sum?e.combined=a.sum:e.combined={},null!=a.data?e.mock_tableData=a.data:e.mock_tableData=[],null!=a.page?(e.pagerInfo.rowTotal=a.page.rowTotal,e.pagerInfo.pageTotal=a.page.pageTotal):e.pagerInfo.rowTotal=0,e.$pigeon.MessageOK(e.$i18n.t("Msg.SearchSuccess")),e.pictLoading=!1):(e.$pigeon.MessageError(a.msg),e.pictLoading=!1),t.next=21;break;case 9:if(2!=e.type){t.next=16;break}return t.next=12,u["a"].followDealSubscribeList({dealLogin:e.search.dealLogin,followLogin:e.search.followLogin,followPlatform:null,dealPlatform:null,status:2,startTime:e.search.startDate,endTime:e.search.endDate,page:{current:e.pagerInfo.current,row:e.pagerInfo.row}});case 12:n=t.sent,n.code==f.StatusOK?(null!=n.sum?e.combined=n.sum:e.combined={},null!=n.data?e.mock_tableData=n.data:e.mock_tableData=[],null!=n.page?(e.pagerInfo.rowTotal=n.page.rowTotal,e.pagerInfo.pageTotal=n.page.pageTotal):e.pagerInfo.rowTotal=0,e.$pigeon.MessageOK(e.$i18n.t("Msg.SearchSuccess")),e.pictLoading=!1):(e.$pigeon.MessageError(n.msg),e.pictLoading=!1),t.next=21;break;case 16:if(3!=e.type){t.next=21;break}return t.next=19,u["a"].followDealSearchList({login:e.search.login,platform:null,status:null,startTime:e.search.startDate,endTime:e.search.endDate,page:{current:e.pagerInfo.current,row:e.pagerInfo.row}});case 19:r=t.sent,r.code==f.StatusOK?(null!=r.sum?e.combined=r.sum:e.combined={},null!=r.data?e.mock_tableData=r.data:e.mock_tableData=[],null!=r.page?(e.pagerInfo.rowTotal=r.page.rowTotal,e.pagerInfo.pageTotal=r.page.pageTotal):e.pagerInfo.rowTotal=0,e.$pigeon.MessageOK(e.$i18n.t("Msg.SearchSuccess")),e.pictLoading=!1):(e.$pigeon.MessageError(r.msg),e.pictLoading=!1);case 21:e.pictLoading=!1;case 22:case"end":return t.stop()}}),t)})))()},toSearch:function(){this.type=this.search.reportType,this.detail_type=this.search.detail_type,this.pagerInfo.current=1,this.searchFunc()},searchReasons:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,u["a"].reasonsRefusalList({});case 2:a=t.sent,a.code==f.StatusOK?null==a.data?e.reasons={}:e.reasons=a.data:e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},handleSizeChange:function(e){this.pagerInfo.row=e,this.searchFunc()},handleCurrentChange:function(e){this.pagerInfo.current=e,this.searchFunc()}},mounted:function(){this.search.reportType=this.$route.query.type?Number(this.$route.query.type):this.search.reportType,this.searchIbTree(),this.searchReasons()},watch:{"search.reportType":function(e){this.newIb="",this.search={reportType:e,detail_type:null,agentId:null,dealLogin:"",followLogin:"",login:"",ibNo:"",platform:null,date:[],startDate:"",endDate:"",startTime:"",endTime:""},this.value=[],this.mock_tableData=[],this.pagerInfo.rowTotal=0,this.type="",this.agentId_options=[{value:0,label:this.$i18n.t("news_add_field.IbReport.ALL")},{value:-1,label:this.$i18n.t("news_add_field.IbReport.DirectlyUnder")}],this.searchIbTree()},value:function(e){if(e){var t=e[e.length-1]||"";this.search.agentId=t}}}},v=g,b=(a("233a"),a("d63c"),a("2877")),h=Object(b["a"])(v,n,r,!1,null,"083fd062",null);t["default"]=h.exports},a907:function(e,t,a){"use strict";a("96cf");var n=a("1da1"),r=a("d4ec"),s=a("bee2"),o=a("262e"),i=a("2caf"),l=a("ff2d"),c=a("bc3a"),u=a.n(c),p=a("f121"),d=a.n(p),m=function(e){Object(o["a"])(a,e);var t=Object(i["a"])(a);function a(){var e;return Object(r["a"])(this,a),e=t.call(this),u.a.defaults.baseURL=d.a.Host85,e}return Object(s["a"])(a,[{key:"reasonsRefusalList",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[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(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[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(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[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(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[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(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[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(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[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(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[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:"followDealSubscribeList",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[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(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[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(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[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(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[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(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[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(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[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}()}]),a}(l["a"]);t["a"]=new m},d63c:function(e,t,a){"use strict";a("4afc")},e2ec:function(e,t,a){}}]);
|