AgentTransfer.d6a180c7.js 125 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["AgentTransfer","AutomaticBalanceAdjustmentGroup~AutomaticBalanceAdjustmentLogin~Bank~CloseTradeGroup~Country~Country~e723c839"],{"095d":function(e,t,a){"use strict";a("a36f")},"0ccb":function(e,t,a){"use strict";var n=a("e330"),r=a("50c4"),i=a("577e"),s=a("1148"),o=a("1d80"),c=n(s),l=n("".slice),u=Math.ceil,p=function(e){return function(t,a,n){var s,p,d=i(o(t)),f=r(a),m=d.length,h=void 0===n?" ":i(n);return f<=m||""===h?d:(s=f-m,p=c(h,u(s/h.length)),p.length>s&&(p=l(p,0,s)),e?d+p:p+d)}};e.exports={start:p(!1),end:p(!0)}},"0e4a":function(e,t,a){"use strict";a("2627")},"1b40":function(e,t,a){"use strict";a("9400")},2627:function(e,t,a){},"2d59":function(e,t,a){"use strict";var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"InfoBox",class:{active:e.dialogInfoCid,active1:e.type},attrs:{id:"GlobalDetailedInfoCid"}},[t("div",{staticClass:"header"},[t("div",[t("span",{directives:[{name:"t",rawName:"v-t",value:"Label.CidAccount",expression:"'Label.CidAccount'"}],staticClass:"title"}),e._v(" :"),t("span",[e._v(e._s(e.form.cId))]),e._v(" - "),e.form.firstName?t("span",[e._v(e._s(e.form.firstName+" "))]):e._e(),e.form.middle?t("span",[e._v(e._s(e.form.middle+" "))]):e._e(),e.form.lastName?t("span",[e._v(e._s(e.form.lastName))]):e._e()]),t("span",{staticClass:"close crm-cursor",on:{click:e.close}},[t("i",{staticClass:"el-icon-close"})])]),t("el-form",{ref:"form",attrs:{model:e.form,"label-width":"150PX"}},[t("el-collapse",{staticClass:"crm_collapse_info",model:{value:e.activeNames,callback:function(t){e.activeNames=t},expression:"activeNames"}},[t("el-collapse-item",{attrs:{title:e.$t("Apply_info.UserInfo.Title"),name:"1"}},[t("el-form-item",{attrs:{label:e.$t("Apply_info.UserInfo.CID")}},[e._v(" "+e._s(e.form.cId||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.UserInfo.Email")}},[e._v(" "+e._s(e.form.email||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.UserInfo.Registration")}},[e._v(" "+e._s(e.form.addTime||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.UserInfo.IP")}},[e._v(" "+e._s(e.form.addIp||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Raffle.FundModification.WalletBalance")}},[e._v(" "+e._s(e.form.balance||"0")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.UserInfo.LoginState")}},[t("el-switch",{staticClass:"crm_switch",attrs:{disabled:"","active-value":1,"inactive-value":0,"active-text":e.$t("Btn.Yes"),"inactive-text":e.$t("Btn.No"),"active-color":"#368FEC","inactive-color":"#EB3F57"},model:{value:e.form.valid,callback:function(t){e.$set(e.form,"valid",t)},expression:"form.valid"}})],1)],1),e.form.isAgent?t("el-collapse-item",{attrs:{title:e.$t("Label.Ib"),name:"7"}},[t("el-form-item",{attrs:{label:e.$t("Label.AgentNumber")}},[e._v(" "+e._s(e.form.ibNo||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.AgentLevel")}},[e._v(" "+e._s("cn"==e.Session.Get("lang")?e.form.agentLevelName||"--":e.form.agentLevelEnName||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.CommissionBalance")}},[e._v(" "+e._s(e.form.agentBalance||"0")+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.Unresolved")}},[e._v(" "+e._s(e.form.unresolved||"0")+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.Frozen")}},[e._v(" "+e._s(e.form.frozen||"0")+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.AllCommission")}},[e._v(" "+e._s(e.form.allCommission||"0")+" ")]),t("el-form-item",{attrs:{label:e.$t("Dashboard.Profile.AgentShareLink")}},[t("span",{staticClass:"btn-copy",on:{click:e.CopyShareLink}},[e._v(e._s(e.$t("Dashboard.Profile.ConsumerShareLinks")))])])],1):e._e(),e.isTrading?t("el-collapse-item",{attrs:{title:e.$t("Apply_info.TradingAccount.Title"),name:"10"}},e._l(e.form.realList,(function(a,n){return t("el-card",{key:n,staticClass:"box-card"},[t("div",{staticClass:"clearfix crm-cursor",attrs:{slot:"header"},on:{click:function(t){return e.cardTab(n)}},slot:"header"},[t("span",[t("span",[e._v(e._s(n+1)+". ")]),t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.TradingAccount.Account",expression:"'Apply_info.TradingAccount.Account'"}]}),e._v(" "+e._s(a.login)+" - "),1==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Classic",expression:"'Web_info.Classic'"}]}):e._e(),2==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Senior",expression:"'Web_info.Senior'"}]}):e._e(),3==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Institutions",expression:"'Web_info.Institutions'"}]}):e._e(),5==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Speed",expression:"'Web_info.Speed'"}]}):e._e(),6==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.NewSpeed",expression:"'Web_info.NewSpeed'"}]}):e._e(),7==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.StandardAccount",expression:"'Web_info.StandardAccount'"}]}):e._e(),8==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.CentAccount",expression:"'Web_info.CentAccount'"}]}):e._e()]),t("span",[e.cardIndex==n?t("i",{staticClass:"el-icon-caret-bottom"}):e._e(),e.cardIndex!=n?t("i",{staticClass:"el-icon-caret-right"}):e._e()])]),t("el-collapse-transition",[e.cardIndex==n?t("div",{staticClass:"text item"},[t("el-form-item",{attrs:{label:e.$t("Apply_info.TradingAccount.Trading")}},[e._v(" "+e._s(a.login||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.TradingAccount.Type")}},[1==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Classic",expression:"'Web_info.Classic'"}]}):e._e(),2==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Senior",expression:"'Web_info.Senior'"}]}):e._e(),3==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Institutions",expression:"'Web_info.Institutions'"}]}):e._e(),5==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Speed",expression:"'Web_info.Speed'"}]}):e._e(),6==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.NewSpeed",expression:"'Web_info.NewSpeed'"}]}):e._e(),7==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.StandardAccount",expression:"'Web_info.StandardAccount'"}]}):e._e(),8==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.CentAccount",expression:"'Web_info.CentAccount'"}]}):e._e()]),t("el-form-item",{attrs:{label:e.$t("Apply_info.TradingAccount.Leverage")}},[a.leverage?t("span",[e._v("1:")]):e._e(),e._v(e._s(a.leverage||"0")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.TradingAccount.OutsideCommission")}},[e._v(" "+e._s(a.commission||"0")+" ")]),1!=this.user.departmentId?t("el-form-item",{attrs:{label:e.$t("Apply_info.TradingAccount.Group")}},[e._v(" "+e._s(a.groupCode||"--")+" ")]):e._e(),t("el-form-item",{attrs:{label:e.$t("Apply_info.TradingAccount.Currency")}},[e._v(" "+e._s(a.currency||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.TradingAccount.Time")}},[e._v(" "+e._s(a.addTime||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.TradingAccount.State")}},[t("el-switch",{staticClass:"crm_switch",attrs:{disabled:"","active-value":1,"inactive-value":0,"active-text":e.$t("Btn.Yes"),"inactive-text":e.$t("Btn.No"),"active-color":"#368FEC","inactive-color":"#EB3F57"},model:{value:a.valid,callback:function(t){e.$set(a,"valid",t)},expression:"item.valid"}})],1)],1):e._e()])],1)})),1):e._e(),t("el-collapse-item",{attrs:{title:e.$t("Apply_info.BasicInfo.Title"),name:"2"}},[t("el-form-item",{attrs:{label:e.$t("Label.CustomerType")}},[2==e.form.customType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Label.CustomerType2",expression:"'Label.CustomerType2'"}]}):e._e(),1==e.form.customType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Label.CustomerType1",expression:"'Label.CustomerType1'"}]}):e._e(),e.form.customType?e._e():t("span",[e._v(e._s("--"))])]),2==e.form.customType?t("el-form-item",{attrs:{label:e.$t("Label.CompanyName")}},[e._v(" "+e._s(e.form.companyName||"--")+" ")]):e._e(),2==e.form.customType?t("el-form-item",{attrs:{label:e.$t("Label.CorporationName")}},[e.form.firstName?t("span",[e._v(e._s(e.form.firstName+" "))]):e._e(),e.form.middle?t("span",[e._v(e._s(e.form.middle+" "))]):e._e(),e.form.lastName?t("span",[e._v(e._s(e.form.lastName))]):e._e(),e.form.firstName||e.form.lastName||e.form.middle?e._e():t("span",[e._v(e._s("--"))])]):t("el-form-item",{attrs:{label:e.$t("Apply_info.BasicInfo.Name")}},[e.form.firstName?t("span",[e._v(e._s(e.form.firstName+" "))]):e._e(),e.form.middle?t("span",[e._v(e._s(e.form.middle+" "))]):e._e(),e.form.lastName?t("span",[e._v(e._s(e.form.lastName))]):e._e(),e.form.firstName||e.form.lastName||e.form.middle?e._e():t("span",[e._v(e._s("--"))])]),t("el-form-item",{attrs:{label:e.$t("system_info.Label.EnglishNames")}},[e._v(" "+e._s(e.form.nameEn||"--")+" ")]),1!=this.user.departmentId?t("el-form-item",{attrs:{label:e.$t("Apply_info.BasicInfo.Phone")}},[e._v(" "+e._s(e.form.phone||"--")+" ")]):e._e(),1!=this.user.departmentId?t("el-form-item",{attrs:{label:e.$t("Apply_info.BasicInfo.ID")}},[e._v(" "+e._s(e.form.identity||"--")+" ")]):e._e(),1!=this.user.departmentId?t("el-form-item",{attrs:{label:e.$t("Apply_info.BasicInfo.IdentityNumber")}},[e._v(" "+e._s(e.form.identityNumber||"--")+" ")]):e._e(),1!=this.user.departmentId?t("el-form-item",{attrs:{label:e.$t("Apply_info.BasicInfo.KycIdNumber")}},[e._v(" "+e._s(e.form.kycIdNumber||"--")+" ")]):e._e(),1!=this.user.departmentId?t("el-form-item",{attrs:{label:e.$t("Apply_info.BasicInfo.KycNumber")}},[e._v(" "+e._s(e.form.kycNumber||"--")+" ")]):e._e(),1!=this.user.departmentId?t("el-form-item",{attrs:{label:e.$t("Apply_info.BasicInfo.KycName")}},[e._v(" "+e._s(e.form.kycName||"--")+" ")]):e._e(),t("el-form-item",{attrs:{label:e.$t("Apply_info.BasicInfo.Birthday")}},[e.form.birth?t("span",[e._v(e._s(e.form.birth.split(" ")[0]))]):e._e(),e.form.birth?e._e():t("span",[e._v(e._s("--"))])]),t("el-form-item",{attrs:{label:e.$t("Apply_info.BasicInfo.Gender")}},["1"==e.form.gender?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.BasicInfo.Male",expression:"'Apply_info.BasicInfo.Male'"}]}):e._e(),"2"==e.form.gender?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.BasicInfo.Female",expression:"'Apply_info.BasicInfo.Female'"}]}):e._e(),e.form.gender?e._e():t("span",[e._v(e._s("--"))])])],1),t("el-collapse-item",{attrs:{title:e.$t("Apply_info.AddressInfo.Title"),name:"3"}},[t("el-form-item",{attrs:{label:e.$t("Apply_info.AddressInfo.Lang")}},[e._v(" "+e._s("cn"==e.form.lang?"中文":"English")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.AddressInfo.Country")}},[e._v(" "+e._s("cn"==e.Session.Get("lang")?e.form.countryName:e.form.countryEnName)+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.AddressInfo.Region")}},[e._v(" "+e._s(e.form.state||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.AddressInfo.City")}},[e._v(" "+e._s(e.form.city||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.AddressInfo.Address")}},[e.form.addressLines?t("span",[e._v(e._s(e.form.addressLines.length?e.form.addressLines[0]:"--"))]):e._e()]),t("el-form-item",{attrs:{label:e.$t("Apply_info.AddressInfo.standbyAddress")}},[e.form.addressLines?t("span",[e._v(e._s(2==e.form.addressLines.length?e.form.addressLines[1]:"--"))]):e._e()]),t("el-form-item",{attrs:{label:e.$t("Apply_info.AddressInfo.zipCode")}},[t("span",[e._v(e._s(e.form.zipCode||"--"))])])],1),t("el-collapse-item",{attrs:{title:e.$t("Apply_info.FinancialBack.Title"),name:"4"}},[t("el-form-item",{attrs:{label:e.$t("Apply_info.FinancialBack.EducationBackground")}},[1==e.form.level?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item11",expression:"'Apply_info.FinancialBack.item11'"}]}):e._e(),2==e.form.level?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item12",expression:"'Apply_info.FinancialBack.item12'"}]}):e._e(),3==e.form.level?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item13",expression:"'Apply_info.FinancialBack.item13'"}]}):e._e(),4==e.form.level?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item14",expression:"'Apply_info.FinancialBack.item14'"}]}):e._e(),5==e.form.level?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item15",expression:"'Apply_info.FinancialBack.item15'"}]}):e._e(),e.form.level?e._e():t("span",[e._v(e._s("--"))])]),t("el-form-item",{attrs:{label:e.$t("Apply_info.FinancialBack.InaugurationSituation")}},[1==e.form.employmentStatus?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item21",expression:"'Apply_info.FinancialBack.item21'"}]}):e._e(),2==e.form.employmentStatus?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item22",expression:"'Apply_info.FinancialBack.item22'"}]}):e._e(),3==e.form.employmentStatus?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item23",expression:"'Apply_info.FinancialBack.item23'"}]}):e._e(),4==e.form.employmentStatus?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item24",expression:"'Apply_info.FinancialBack.item24'"}]}):e._e(),5==e.form.employmentStatus?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item25",expression:"'Apply_info.FinancialBack.item25'"}]}):e._e(),e.form.employmentStatus?e._e():t("span",[e._v(e._s("--"))])]),t("el-form-item",{attrs:{label:e.$t("Apply_info.FinancialBack.TradingPurposes")}},[1==e.form.tradingObjectives?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item31",expression:"'Apply_info.FinancialBack.item31'"}]}):e._e(),2==e.form.tradingObjectives?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item32",expression:"'Apply_info.FinancialBack.item32'"}]}):e._e(),3==e.form.tradingObjectives?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item33",expression:"'Apply_info.FinancialBack.item33'"}]}):e._e(),4==e.form.tradingObjectives?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item34",expression:"'Apply_info.FinancialBack.item34'"}]}):e._e(),e.form.tradingObjectives?e._e():t("span",[e._v(e._s("--"))])]),t("el-form-item",{attrs:{label:e.$t("Apply_info.FinancialBack.SourcesFunding")}},[1==e.form.sourceFunding?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item41",expression:"'Apply_info.FinancialBack.item41'"}]}):e._e(),2==e.form.sourceFunding?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item42",expression:"'Apply_info.FinancialBack.item42'"}]}):e._e(),3==e.form.sourceFunding?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item43",expression:"'Apply_info.FinancialBack.item43'"}]}):e._e(),4==e.form.sourceFunding?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item44",expression:"'Apply_info.FinancialBack.item44'"}]}):e._e(),5==e.form.sourceFunding?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item45",expression:"'Apply_info.FinancialBack.item45'"}]}):e._e(),6==e.form.sourceFunding?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item46",expression:"'Apply_info.FinancialBack.item46'"}]}):e._e(),e.form.sourceFunding?e._e():t("span",[e._v(e._s("--"))])]),t("el-form-item",{attrs:{label:e.$t("Apply_info.FinancialBack.InTotalRevenue")}},[1==e.form.grossAnnualIncome?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item61",expression:"'Apply_info.FinancialBack.item61'"}]}):e._e(),2==e.form.grossAnnualIncome?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item62",expression:"'Apply_info.FinancialBack.item62'"}]}):e._e(),3==e.form.grossAnnualIncome?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item63",expression:"'Apply_info.FinancialBack.item63'"}]}):e._e(),4==e.form.grossAnnualIncome?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item64",expression:"'Apply_info.FinancialBack.item64'"}]}):e._e(),5==e.form.grossAnnualIncome?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item65",expression:"'Apply_info.FinancialBack.item65'"}]}):e._e(),e.form.grossAnnualIncome?e._e():t("span",[e._v(e._s("--"))])]),t("el-form-item",{attrs:{label:e.$t("Apply_info.FinancialBack.TotalAssets")}},[1==e.form.totalNewWorth?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item51",expression:"'Apply_info.FinancialBack.item51'"}]}):e._e(),2==e.form.totalNewWorth?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item52",expression:"'Apply_info.FinancialBack.item52'"}]}):e._e(),3==e.form.totalNewWorth?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item53",expression:"'Apply_info.FinancialBack.item53'"}]}):e._e(),4==e.form.totalNewWorth?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item54",expression:"'Apply_info.FinancialBack.item54'"}]}):e._e(),5==e.form.totalNewWorth?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item55",expression:"'Apply_info.FinancialBack.item55'"}]}):e._e(),e.form.totalNewWorth?e._e():t("span",[e._v(e._s("--"))])])],1),t("el-collapse-item",{attrs:{title:e.$t("Apply_info.ExperienceTrading.Title"),name:"5"}},[t("div",{staticStyle:{"text-align":"left",margin:"10px 0"}},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.ExperienceTrading.Item1",expression:"'Apply_info.ExperienceTrading.Item1'"}]}),t("div",[t("el-radio",{attrs:{disabled:"",label:1},model:{value:e.form.experienceTradingDerivative,callback:function(t){e.$set(e.form,"experienceTradingDerivative",t)},expression:"form.experienceTradingDerivative"}},[e.form.experienceTradingDerivative?t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Yes",expression:"'Btn.Yes'"}]}):e._e(),e.form.experienceTradingDerivative?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.No",expression:"'Btn.No'"}]})])],1)]),t("div",{staticStyle:{"text-align":"left",margin:"10px 0"}},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.ExperienceTrading.Item2",expression:"'Apply_info.ExperienceTrading.Item2'"}]}),t("div",[t("el-radio",{attrs:{disabled:"",label:1},model:{value:e.form.experienceTradingForex,callback:function(t){e.$set(e.form,"experienceTradingForex",t)},expression:"form.experienceTradingForex"}},[e.form.experienceTradingForex?t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Yes",expression:"'Btn.Yes'"}]}):e._e(),e.form.experienceTradingForex?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.No",expression:"'Btn.No'"}]})])],1)]),t("div",{staticStyle:{"text-align":"left",margin:"10px 0"}},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.ExperienceTrading.Item3",expression:"'Apply_info.ExperienceTrading.Item3'"}]}),t("div",[t("el-radio",{attrs:{disabled:"",label:1},model:{value:e.form.derivativeProducts,callback:function(t){e.$set(e.form,"derivativeProducts",t)},expression:"form.derivativeProducts"}},[e.form.derivativeProducts?t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Yes",expression:"'Btn.Yes'"}]}):e._e(),e.form.derivativeProducts?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.No",expression:"'Btn.No'"}]})])],1)]),t("div",{staticStyle:{"text-align":"left",margin:"10px 0"}},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.ExperienceTrading.Item4",expression:"'Apply_info.ExperienceTrading.Item4'"}]}),t("div",[t("el-radio",{attrs:{disabled:"",label:1},model:{value:e.form.experienceQualification,callback:function(t){e.$set(e.form,"experienceQualification",t)},expression:"form.experienceQualification"}},[e.form.experienceQualification?t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Yes",expression:"'Btn.Yes'"}]}):e._e(),e.form.experienceQualification?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.No",expression:"'Btn.No'"}]})])],1)])]),1!=this.user.departmentId?t("el-collapse-item",{attrs:{title:e.$t("Apply_info.FileManagement.Title"),name:"6"}},[t("div",{staticClass:"Identity"},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.ProofIdentity",expression:"'Apply_info.FileManagement.ProofIdentity'"}],staticClass:"title"}),t("span",[e._v("1")]),t("span",{staticClass:"line"}),t("el-button",{staticStyle:{border:"none"},attrs:{type:"text"}},[1==e.files1.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(1)}}}):e._e(),2==e.files1.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Pass",expression:"'State.Pass'"}],on:{click:function(t){return e.imgApproveDe(1)}}}):e._e(),3==e.files1.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Refused",expression:"'State.Refused'"}],on:{click:function(t){return e.imgApproveDe(1)}}}):e._e(),4==e.files1.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(1)}}}):e._e(),e.files1.status?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Placeholder.Not",expression:"'Placeholder.Not'"}]})])],1),t("div",{staticClass:"Identity-img"},[t("div",{staticClass:"id-img"},["pdf"==e.url1.substr(-3,3)||"PDF"==e.url1.substr(-3,3)?t("div",{staticClass:"pdfLink"},[t("a",{staticStyle:{display:"inline-block",width:"100%",height:"100%"},attrs:{href:e.url1,target:"_blank"}},[t("i",{staticClass:"el-icon-document"})])]):t("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.url1,"preview-src-list":[e.url1]}},[t("div",{staticClass:"image-slot",attrs:{slot:"error"},slot:"error"},[t("i",{staticClass:"el-icon-picture-outline"})])])],1)]),t("div",{staticClass:"Identity"},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.ProofIdentity",expression:"'Apply_info.FileManagement.ProofIdentity'"}],staticClass:"title"}),t("span",[e._v("2")]),t("span",{staticClass:"line"}),t("el-button",{staticStyle:{border:"none"},attrs:{type:"text"}},[1==e.files2.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(2)}}}):e._e(),2==e.files2.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Pass",expression:"'State.Pass'"}],on:{click:function(t){return e.imgApproveDe(2)}}}):e._e(),3==e.files2.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Refused",expression:"'State.Refused'"}],on:{click:function(t){return e.imgApproveDe(2)}}}):e._e(),4==e.files2.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(2)}}}):e._e(),e.files2.status?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Placeholder.Not",expression:"'Placeholder.Not'"}]})])],1),t("div",{staticClass:"Identity-img"},[t("div",{staticClass:"id-img"},["pdf"==e.url2.substr(-3,3)||"PDF"==e.url2.substr(-3,3)?t("div",{staticClass:"pdfLink"},[t("a",{staticStyle:{display:"inline-block",width:"100%",height:"100%"},attrs:{href:e.url2,target:"_blank"}},[t("i",{staticClass:"el-icon-document"})])]):t("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.url2,"preview-src-list":[e.url2]}},[t("div",{staticClass:"image-slot",attrs:{slot:"error"},slot:"error"},[t("i",{staticClass:"el-icon-picture-outline"})])])],1)]),t("div",{staticClass:"Identity"},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.ProofAddress",expression:"'Apply_info.FileManagement.ProofAddress'"}],staticClass:"title"}),t("span",{staticClass:"line"}),t("el-button",{staticStyle:{border:"none"},attrs:{type:"text"}},[1==e.files3.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(3)}}}):e._e(),2==e.files3.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Pass",expression:"'State.Pass'"}],on:{click:function(t){return e.imgApproveDe(3)}}}):e._e(),3==e.files3.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Refused",expression:"'State.Refused'"}],on:{click:function(t){return e.imgApproveDe(3)}}}):e._e(),4==e.files3.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(3)}}}):e._e(),e.files3.status?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Placeholder.Not",expression:"'Placeholder.Not'"}]})])],1),t("div",{staticClass:"Identity-img"},[t("div",{staticClass:"id-img"},["pdf"==e.url3.substr(-3,3)||"PDF"==e.url3.substr(-3,3)?t("div",{staticClass:"pdfLink"},[t("a",{staticStyle:{display:"inline-block",width:"100%",height:"100%"},attrs:{href:e.url3,target:"_blank"}},[t("i",{staticClass:"el-icon-document"})])]):t("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.url3,"preview-src-list":[e.url3]}},[t("div",{staticClass:"image-slot",attrs:{slot:"error"},slot:"error"},[t("i",{staticClass:"el-icon-picture-outline"})])])],1)]),t("div",{staticClass:"Identity"},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.AdditionalProof",expression:"'Apply_info.FileManagement.AdditionalProof'"}],staticClass:"title"}),t("span",{staticClass:"line"})]),e._l(e.filesOther,(function(a,n){return t("div",{key:n,staticClass:"Identity-img"},[t("div",{staticClass:"id-img"},["pdf"==a.urlOther.substr(-3,3)||"PDF"==a.urlOther.substr(-3,3)?t("div",{staticClass:"pdfLink"},[t("a",{staticStyle:{display:"inline-block",width:"100%",height:"100%"},attrs:{href:a.urlOther,target:"_blank"}},[t("i",{staticClass:"el-icon-document"})])]):t("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:a.urlOther,"preview-src-list":[a.urlOther]}},[t("div",{staticClass:"image-slot",attrs:{slot:"error"},slot:"error"},[t("i",{staticClass:"el-icon-picture-outline"})])])],1),t("span",{staticClass:"line"}),t("el-button",{staticStyle:{border:"none"},attrs:{type:"text"}},[1==a.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(5,a.id)}}}):e._e(),2==a.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Pass",expression:"'State.Pass'"}],on:{click:function(t){return e.imgApproveDe(5,a.id)}}}):e._e(),3==a.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Refused",expression:"'State.Refused'"}],on:{click:function(t){return e.imgApproveDe(5,a.id)}}}):e._e(),4==a.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(5,a.id)}}}):e._e(),a.status?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Placeholder.Not",expression:"'Placeholder.Not'"}]})])],1)}))],2):e._e()],1)],1),t("el-dialog",{attrs:{title:e.$t("Customer_info.Files.Title"),visible:e.dialogCheck,center:"","append-to-body":"","custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogCheck=t},close:e.cancel}},[t("div",{staticClass:"dia-content"},[t("el-form",{ref:"dialogCheck_form",staticClass:"dialogCheck_form",attrs:{model:e.dialogCheck_form,rules:e.rules,"label-width":"135px"}},[t("el-form-item",{attrs:{prop:"",label:e.$t("Label.Type")+":"}},[1==e.dialogCheck_form.type||2==e.dialogCheck_form.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.ProofIdentity",expression:"'Apply_info.FileManagement.ProofIdentity'"}]}):e._e(),1==e.dialogCheck_form.type?t("span",[e._v("1")]):e._e(),2==e.dialogCheck_form.type?t("span",[e._v("2")]):e._e(),3==e.dialogCheck_form.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.ProofAddress",expression:"'Apply_info.FileManagement.ProofAddress'"}]}):e._e(),5==e.dialogCheck_form.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.AdditionalProof",expression:"'Apply_info.FileManagement.AdditionalProof'"}]}):e._e()]),t("el-form-item",{attrs:{prop:"status",label:e.$t("Label.CheckResults")+":"}},[t("el-select",{staticClass:"crm_search_down",staticStyle:{width:"400px"},attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.status,callback:function(t){e.$set(e.dialogCheck_form,"status",t)},expression:"dialogCheck_form.status"}},[t("el-option",{attrs:{label:e.$t("Apply_info.VerifiedUser.Refused"),value:3}}),t("el-option",{attrs:{label:e.$t("Apply_info.VerifiedUser.Agree"),value:2}})],1)],1),3==e.dialogCheck_form.status?t("el-form-item",{attrs:{prop:"approveDesc",label:e.$t("Label.Descr")+":"}},[t("el-select",{staticClass:"crm_search_down",staticStyle:{width:"400px"},attrs:{size:"small",placeholder:e.$t("Placeholder.Choose"),filterable:"","allow-create":""},on:{change:e.selectChange},model:{value:e.dialogCheck_form.approveDesc,callback:function(t){e.$set(e.dialogCheck_form,"approveDesc",t)},expression:"dialogCheck_form.approveDesc"}},e._l(e.reasons,(function(a){return t("el-option",{key:a.id,attrs:{label:"cn"==e.Session.Get("lang")?a.content:a.enContent,value:a.id}})})),1)],1):e._e()],1),t("div",{staticClass:"dialog-footer",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){return e.toVerified()}}}),t("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:e.cancel}})],1)],1)]),t("el-dialog",{attrs:{title:e.$t("Customer_info.Files.Title1"),visible:e.dialogCheck1,center:"","append-to-body":"","custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogCheck1=t},close:e.cancel}},[t("div",{staticClass:"dia-content"},[t("el-form",{ref:"dialogCheck_form",staticClass:"dialogCheck_form",attrs:{model:e.dialogCheck_form,rules:e.rules,"label-width":"135px"}},[t("el-form-item",{attrs:{prop:"",label:e.$t("Label.Type")+":"}},[1==e.dialogCheck_form.type||2==e.dialogCheck_form.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.ProofIdentity",expression:"'Apply_info.FileManagement.ProofIdentity'"}]}):e._e(),1==e.dialogCheck_form.type?t("span",[e._v("1")]):e._e(),2==e.dialogCheck_form.type?t("span",[e._v("2")]):e._e(),3==e.dialogCheck_form.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.ProofAddress",expression:"'Apply_info.FileManagement.ProofAddress'"}]}):e._e(),5==e.dialogCheck_form.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.AdditionalProof",expression:"'Apply_info.FileManagement.AdditionalProof'"}]}):e._e()]),t("el-form-item",{attrs:{prop:"status",label:e.$t("Label.Action")+":"}},[t("el-select",{staticClass:"crm_search_down",staticStyle:{width:"400px"},attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.status,callback:function(t){e.$set(e.dialogCheck_form,"status",t)},expression:"dialogCheck_form.status"}},[t("el-option",{attrs:{label:e.$t("Customer_info.Real.Umpire"),value:4}})],1)],1),t("el-form-item",{attrs:{prop:"approveDesc",label:e.$t("Label.Descr")+":"}},[t("el-select",{staticClass:"crm_search_down",staticStyle:{width:"400px"},attrs:{size:"small",placeholder:e.$t("Placeholder.Choose"),filterable:"","allow-create":""},on:{change:e.selectChange},model:{value:e.dialogCheck_form.approveDesc,callback:function(t){e.$set(e.dialogCheck_form,"approveDesc",t)},expression:"dialogCheck_form.approveDesc"}},e._l(e.reasons,(function(a){return t("el-option",{key:a.id,attrs:{label:"cn"==e.Session.Get("lang")?a.content:a.enContent,value:a.id}})})),1)],1)],1),t("div",{staticClass:"dialog-footer",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){return e.toVerifiedDe()}}}),t("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:e.cancel}})],1)],1)]),t("ConsumerShareLink",{ref:"consumerShareLink"})],1)},r=[],i=a("c7eb"),s=a("5530"),o=a("1da1"),c=(a("14d9"),a("e9f5"),a("7d54"),a("b64b"),a("d3b7"),a("3ca3"),a("159b"),a("ddb0"),a("2b3d"),a("bf19"),a("9861"),a("88a7"),a("271a"),a("5494"),a("5217")),l=a("f121"),u=a.n(l),p=a("92c7"),d=u.a.Code,f=u.a.Host85,m=u.a.Host00,h=u.a.Host05,v={name:"DetailedInfoCid",components:{ConsumerShareLink:p["a"]},props:{dialogInfoCid:{type:Boolean,default:!1},type:{default:0},btn:{default:0},isTrading:{default:!1},formInfo:{default:""}},data:function(){return{reasons:{},imgUrl:f,Host00:m,Host85:f,Host05:h,activeNames:["1","2","3","4","5","6","7","10"],form:{},info:{CID:"123456",name:"QYY"},dialogImageUrl:"",imageUrl:"",dialogVisible:!1,tradingAccount:[{id:1,account:"123456",type:"极速账户"},{id:2,account:"123456",type:"高级账户"}],cardIndex:-1,files1:{},files2:{},files3:{},files5:{},filesOther:[],url1:"",url2:"",url3:"",url5:"",srcList5:[],srcList1:[],srcList2:[],srcList3:[],dialogCheck:!1,dialogCheck1:!1,dialogCheck_form:{},rules:{status:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}],approveDesc:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}]}}},computed:{user:function(){return JSON.parse(this.Session.Get("user",!0))}},methods:{selectChange:function(){this.$forceUpdate()},handlePictureCardPreview:function(e){this.dialogImageUrl=e.url,this.dialogVisible=!0},handleAvatarSuccess:function(e,t){this.imageUrl=URL.createObjectURL(t.raw)},cardTab:function(e){this.cardIndex==e?this.cardIndex=-1:this.cardIndex=e},close:function(){this.$emit("close",!1)},imgApprove:function(e,t){1==e?(this.dialogCheck_form.id=this.files1.id,this.dialogCheck_form.customId=this.form.id):2==e?(this.dialogCheck_form.id=this.files2.id,this.dialogCheck_form.customId=this.form.id):3==e?(this.dialogCheck_form.id=this.files3.id,this.dialogCheck_form.customId=this.form.id):5==e&&(this.dialogCheck_form.id=t,this.dialogCheck_form.customId=this.form.id),this.dialogCheck_form.type=e,this.dialogCheck=!0},toVerified:function(){var e=Object(o["a"])(Object(i["a"])().mark((function e(){var t=this;return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$refs["dialogCheck_form"].validate(function(){var e=Object(o["a"])(Object(i["a"])().mark((function e(a){var n;return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=7;break}return e.next=3,c["a"].customFileApprove(Object(s["a"])({},t.dialogCheck_form));case 3:n=e.sent,n.code==d.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.ModifySuccess")),t.form.files.forEach((function(e){e.id==t.dialogCheck_form.id&&(1==e.type&&(t.files1.status=t.dialogCheck_form.status),2==e.type&&(t.files2.status=t.dialogCheck_form.status),3==e.type&&(t.files3.status=t.dialogCheck_form.status),10==e.type&&t.filesOther.forEach((function(e){e.id==t.dialogCheck_form.id&&(e.status=t.dialogCheck_form.status)})))})),t.cancel()):t.$pigeon.MessageError(n.msg),e.next=8;break;case 7:return e.abrupt("return",!1);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),cancel:function(){this.dialogCheck=!1,this.dialogCheck1=!1,this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields()},imgApproveDe:function(e,t){1==e?(this.dialogCheck_form.id=this.files1.id,this.dialogCheck_form.customId=this.form.id):2==e?(this.dialogCheck_form.id=this.files2.id,this.dialogCheck_form.customId=this.form.id):3==e?(this.dialogCheck_form.id=this.files3.id,this.dialogCheck_form.customId=this.form.id):5==e&&(this.dialogCheck_form.id=t,this.dialogCheck_form.customId=this.form.id),this.dialogCheck_form.type=e,this.dialogCheck1=!0},toVerifiedDe:function(){var e=Object(o["a"])(Object(i["a"])().mark((function e(){var t=this;return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$refs["dialogCheck_form"].validate(function(){var e=Object(o["a"])(Object(i["a"])().mark((function e(a){var n;return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=7;break}return e.next=3,c["a"].customFileApproveDe(Object(s["a"])({},t.dialogCheck_form));case 3:n=e.sent,n.code==d.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.ModifySuccess")),t.form.files.forEach((function(e){e.id==t.dialogCheck_form.id&&(1==e.type&&(t.files1.status=t.dialogCheck_form.status),2==e.type&&(t.files2.status=t.dialogCheck_form.status),3==e.type&&(t.files3.status=t.dialogCheck_form.status),10==e.type&&t.filesOther.forEach((function(e){e.id==t.dialogCheck_form.id&&(e.status=t.dialogCheck_form.status)})))})),t.cancel()):t.$pigeon.MessageError(n.msg),e.next=8;break;case 7:return e.abrupt("return",!1);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),searchReasons:function(){var e=this;return Object(o["a"])(Object(i["a"])().mark((function t(){var a;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,c["a"].reasonsRefusalList({type:1});case 2:a=t.sent,a.code==d.StatusOK?null==a.data?e.reasons={}:e.reasons=a.data:e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},CopyShareLink:function(){var e=this;this.$nextTick((function(){e.formInfo.isAgent&&e.$refs.consumerShareLink.LinkActivity1({form:e.form,type:2})}))}},mounted:function(){},watch:{dialogInfoCid:function(e){0==e&&(this.$refs["form"]&&this.$refs["form"].resetFields(),this.form={})},formInfo:function(){var e=this;this.searchReasons(),this.form=this.formInfo,this.url1="",this.files1={},this.url2="",this.files2={},this.url3="",this.files3={},this.url5="",this.files5={},this.filesOther=[],this.form.files.length?(this.filesOther=[],this.form.files.forEach((function(t){1==t.type&&(e.files1=t,e.url1=e.Host05+(t.againPath||t.path),e.srcList1.push(e.url1)),2==t.type&&(e.files2=t,e.url2=e.Host05+(t.againPath||t.path),e.srcList2.push(e.url2)),3==t.type&&(e.files3=t,e.url3=e.Host05+(t.againPath||t.path),e.srcList3.push(e.url3)),10==t.type&&(t.urlOther=e.Host05+(t.againPath||t.path),e.filesOther.push(t))}))):(this.url1="",this.files1={},this.url2="",this.files2={},this.url3="",this.files3={},this.url5="",this.files5={},this.filesOther=[])}}},b=v,g=(a("095d"),a("a0fc"),a("2877")),w=Object(g["a"])(b,n,r,!1,null,"1e82c698",null);t["a"]=w.exports},"30f1":function(e,t,a){"use strict";a("dc7d")},3160:function(e,t,a){"use strict";var n=a("c7eb"),r=a("1da1"),i=a("d4ec"),s=a("bee2"),o=a("8f33"),c=a("262e"),l=a("ff2d"),u=a("bc3a"),p=a.n(u),d=a("f121"),f=a.n(d),m=function(e){function t(){var e;return Object(i["a"])(this,t),e=Object(o["a"])(this,t),p.a.defaults.baseURL=f.a.Host85,e}return Object(c["a"])(t,e),Object(s["a"])(t,[{key:"rewardStatisticsList",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("/sales/reward/statistics",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:"rewardSearchList",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("/sales/reward/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:"rewardDeduction",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("/sales/reward/deduction",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:"commissionSearchList",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("/agent/balance/commission/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:"salesLeaderAllList",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("/sales/leader/all/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:"salesPerformanceList",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("/trade/sales/performance/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:"sendPerformanceManagerReport",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("/trade/sales/performance/manager/send",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:"sendPerformanceReport",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("/trade/sales/performance/send",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:"statisticsPerformance",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("/trade/sales/performance/statistics",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}()}])}(l["a"]);t["a"]=new m},"3a82":function(e,t,a){"use strict";a("b0c0");var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"InfoBox",class:{active:e.dialogInfoIbNo},attrs:{id:"TradingDetailedInfo"}},[t("div",{staticClass:"header"},[t("div",[t("span",{directives:[{name:"t",rawName:"v-t",value:"Label.AgentNumber",expression:"'Label.AgentNumber'"}],staticClass:"title"}),t("span",[e._v(":")]),t("span",[e._v(e._s(e.form.ibNo||"--"))])]),t("span",{staticClass:"close crm-cursor",on:{click:e.close}},[t("i",{staticClass:"el-icon-close"})])]),t("el-form",{ref:"form",attrs:{model:e.form,"label-width":"150PX"}},[t("el-form-item",{attrs:{label:e.$t("Label.CidAccount")}},[e._v(" "+e._s(e.form.cId||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.AgentNumber")}},[e._v(" "+e._s(e.form.ibNo||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.AttributionNumber")}},[e._v(" "+e._s(e.form.pIbNo||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.AgentLevel")}},[e._v(" "+e._s("cn"==e.Session.Get("lang")?e.form.agentLevelName:e.form.agentLevelEnName)+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.Name")}},[e._v(" "+e._s(e.form.name||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.Email")}},[e._v(" "+e._s(e.form.email||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.Amount")}},[e._v(" "+e._s(e.form.balance||"--")+" ")])],1)],1)},r=[],i=a("f121"),s=a.n(i),o={name:"DetailedInfoIbNo",props:{dialogInfoIbNo:{type:Boolean,default:!1},infoType:{default:""},formInfo:{default:""},btn:{type:Boolean,default:!1}},data:function(){return{imgUrl:s.a.Host05,form:{},info:{CID:"",name:"",type:""}}},methods:{close:function(){this.$emit("close",!1)}},mounted:function(){},watch:{formInfo:function(){this.form=this.formInfo}}},c=o,l=(a("99ca"),a("30f1"),a("2877")),u=Object(l["a"])(c,n,r,!1,null,"c648ddc0",null);t["a"]=u.exports},"4be1":function(e,t,a){"use strict";a.r(t);a("b0c0"),a("ac1f"),a("841c"),a("498a");var n=function(){var e,t=this,a=t._self._c;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.pictLoading,expression:"pictLoading"}],staticClass:"view",attrs:{id:"system_ConfigChanges","element-loading-background":"rgba(43, 48, 67, 0.65)","element-loading-spinner":"el-icon-loading"}},[a("div",{staticClass:"crm_search"},[a("el-form",{ref:"form",attrs:{"label-position":"",model:t.search.search,"label-width":""}},[a("el-row",[a("el-col",{attrs:{span:24,md:24,lg:24}},[a("el-form-item",{staticStyle:{"margin-right":"10px","margin-top":"5px"}},[a("el-input",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",placeholder:t.$t("Dashboard.Commission.Name")},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.toSearch.apply(null,arguments)}},model:{value:t.search.name,callback:function(e){t.$set(t.search,"name","string"===typeof e?e.trim():e)},expression:"search.name"}},[a("template",{slot:"prepend"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Dashboard.Commission.Name",expression:"'Dashboard.Commission.Name'"}],staticClass:"crm-cursor"})])],2)],1),a("el-form-item",{staticStyle:{"margin-right":"10px","margin-top":"5px"}},[a("el-input",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",placeholder:t.$t("Dashboard.Commission.CId")},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.toSearch.apply(null,arguments)}},model:{value:t.search.cId,callback:function(e){t.$set(t.search,"cId","string"===typeof e?e.trim():e)},expression:"search.cId"}},[a("template",{slot:"prepend"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Dashboard.Commission.CId",expression:"'Dashboard.Commission.CId'"}],staticClass:"crm-cursor"})])],2)],1),a("el-form-item",{staticStyle:{"margin-right":"10px","margin-top":"5px"}},[a("el-input",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",placeholder:t.$t("Dashboard.Commission.WithdrawIbNo")},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.toSearch.apply(null,arguments)}},model:{value:t.search.withdrawIbNo,callback:function(e){t.$set(t.search,"withdrawIbNo","string"===typeof e?e.trim():e)},expression:"search.withdrawIbNo"}},[a("template",{slot:"prepend"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Dashboard.Commission.WithdrawIbNo",expression:"'Dashboard.Commission.WithdrawIbNo'"}],staticClass:"crm-cursor"})])],2)],1),a("el-form-item",{staticStyle:{"margin-right":"10px","margin-top":"5px"}},[a("el-input",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",placeholder:t.$t("Dashboard.Commission.DepositIbNo")},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.toSearch.apply(null,arguments)}},model:{value:t.search.depositIbNo,callback:function(e){t.$set(t.search,"depositIbNo","string"===typeof e?e.trim():e)},expression:"search.depositIbNo"}},[a("template",{slot:"prepend"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Dashboard.Commission.DepositIbNo",expression:"'Dashboard.Commission.DepositIbNo'"}],staticClass:"crm-cursor"})])],2)],1),a("el-form-item",[a("el-date-picker",{staticClass:"crm-border-radius-no",attrs:{type:"daterange",size:"small","start-placeholder":t.$t("Dashboard.Commission.AddTime"),"end-placeholder":t.$t("Dashboard.Commission.AddTime"),"unlink-panels":""},on:{change:t.handleDateChange},model:{value:t.dateRange,callback:function(e){t.dateRange=e},expression:"dateRange"}})],1),a("el-form-item",[a("el-button",{staticClass:"crm-border-radius-no crm-border-left-no",attrs:{size:"small",icon:"el-icon-search"},on:{click:t.toSearch}})],1)],1)],1),a("el-form-item",{staticStyle:{float:"right"}},[null!==(e=t.display["R-Historical-Export"])&&void 0!==e&&e.show?a("el-button",{staticClass:"crm-border-radius-no",attrs:{size:"small",type:"primary",icon:"el-icon-download",loading:t.exportLoading},on:{click:t.exportData}},[t._v(t._s(t.$t("Btn.Export")))]):t._e()],1)],1)],1),a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.displayTableData,stripe:"","row-class-name":t.getRowClassName}},[a("el-table-column",{attrs:{prop:"cId",align:"left",label:t.$t("Dashboard.Commission.CId")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.cId||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"pIbNo",align:"left",label:t.$t("Dashboard.Commission.PIbNo")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.pIbNo||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"withdrawIbNo",align:"left",label:t.$t("Dashboard.Commission.WithdrawIbNo")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.withdrawIbNo||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"name",align:"left",label:t.$t("Dashboard.Commission.Name")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.name||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"withdrawAmount",align:"left",label:t.$t("Dashboard.Commission.WithdrawAmount")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t.formatNumber(e.row.withdrawAmount)||"0")+" ")]}}])}),a("el-table-column",{attrs:{prop:"withdrawCurrency",align:"left",label:t.$t("Dashboard.Commission.WithdrawCurrency")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.withdrawCurrency||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"depositIbNo",align:"left",label:t.$t("Dashboard.Commission.DepositIbNo")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.depositIbNo||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"depositAmount",align:"left",label:t.$t("Dashboard.Commission.DepositAmount")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t.formatNumber(e.row.depositAmount)||"0")+" ")]}}])}),a("el-table-column",{attrs:{prop:"depositCurrency",align:"left",label:t.$t("Dashboard.Commission.DepositCurrency")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.depositCurrency||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"addTime",align:"left",label:t.$t("Dashboard.Commission.AddTime")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.addTime||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"status",align:"left",label:t.$t("Dashboard.Commission.Status")},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:t.getStatusClass(e.row.status)},[t._v(" "+t._s(t.getStatusText(e.row.status))+" ")])]}}])})],1),t.mock_tableData.length>0&&t.status?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",[t._v(t._s(t.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":t.pagerInfo.row,total:t.pagerInfo.rowTotal,"current-page":t.pagerInfo.current},on:{"current-change":t.handleCurrentChange,"size-change":t.handleSizeChange}})],1):t._e()],1)},r=[],i=a("5530"),s=a("c7eb"),o=a("1da1"),c=(a("99af"),a("14d9"),a("a9e3"),a("b64b"),a("d3b7"),a("3ca3"),a("466d"),a("4d90"),a("5319"),a("ddb0"),a("2b3d"),a("bf19"),a("9861"),a("88a7"),a("271a"),a("5494"),a("bc3a")),l=a.n(c),u=a("3160"),p=a("f121"),d=a.n(p),f=d.a.Code,m={name:"SalesRewardStatistics",props:{status:{type:Boolean,default:!0}},components:{},data:function(){return{info:{},exportLoading:!1,pictLoading:!1,week:"",dateRange:[],mock_tableData:[],search:{name:"",cId:"",withdrawIbNo:"",depositIbNo:"",startDate:"",endDate:""},yearOptions:[],pagerInfo:{row:15,current:1,pageTotal:0,rowTotal:0}}},computed:{display:function(){return this.Session.GetDisplay()},displayTableData:function(){return this.mock_tableData}},methods:{exportData:function(){var e=this;return Object(o["a"])(Object(s["a"])().mark((function t(){var a,n,r,i,o,c,u,p;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.exportLoading=!0,t.prev=1,(e.search.startDate||e.search.endDate)&&(e.search.startDate&&(e.search.startDate=e.search.startDate.split("-")[0]+e.search.startDate.split("-")[1]+e.search.startDate.split("-")[2]),e.search.endDate&&(e.search.endDate=e.search.endDate.split("-")[0]+e.search.endDate.split("-")[1]+e.search.endDate.split("-")[2])),a={name:e.search.name||"",cId:e.search.cId||"",startDate:e.search.startDate||"",endDate:e.search.endDate||"",withdrawIbNo:e.search.withdrawIbNo||"",depositIbNo:e.search.depositIbNo||""},t.next=6,l.a.get("/agent/balance/commission/search/list/export",{params:a,responseType:"blob",baseURL:d.a.Host85,headers:{"Access-Token":sessionStorage.getItem("access_token"),Language:sessionStorage.getItem("lang"),CLIENT:sessionStorage.getItem("CLIENT"),"Content-Type":"application/json"}});case 6:n=t.sent,r=new Blob([n.data],{type:n.headers["content-type"]||"application/octet-stream"}),i=window.URL.createObjectURL(r),o=document.createElement("a"),o.href=i,c=n.headers&&n.headers["content-disposition"],u="commission_list_export.xlsx",c&&(p=c.match(/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/),p&&p[1]&&(u=p[1].replace(/['"]/g,""))),o.download=u,document.body.appendChild(o),o.click(),document.body.removeChild(o),window.URL.revokeObjectURL(i),t.next=24;break;case 21:t.prev=21,t.t0=t["catch"](1),console.error("Export error:",t.t0);case 24:return t.prev=24,e.exportLoading=!1,t.finish(24);case 27:case"end":return t.stop()}}),t,null,[[1,21,24,27]])})))()},initYearOptions:function(){var e=(new Date).getFullYear();this.yearOptions=[];for(var t=e-5;t<=e+2;t++)this.yearOptions.push(t)},searchFunc:function(){var e=this;return Object(o["a"])(Object(s["a"])().mark((function t(){var a,n;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.pictLoading=!0,t.prev=1,e.display["R-AgentBalanceCommission-Search"]&&null!==(a=e.display["R-AgentBalanceCommission-Search"])&&void 0!==a&&a.show){t.next=6;break}return e.$pigeon.MessageWarning(e.$i18n.t("Msg.NotDisplay")),e.pictLoading=!1,t.abrupt("return");case 6:t.next=14;break;case 8:return t.prev=8,t.t0=t["catch"](1),console.error("Error checking display permissions:",t.t0),e.$pigeon.MessageWarning(e.$i18n.t("Msg.NotDisplay")),e.pictLoading=!1,t.abrupt("return");case 14:return t.next=16,u["a"].commissionSearchList(Object(i["a"])(Object(i["a"])({},e.search),{},{page:{current:e.pagerInfo.current,row:e.pagerInfo.row}}));case 16:n=t.sent,n.code==f.StatusOK?(e.mock_tableData=n.data,null!=n.page?(e.pagerInfo.rowTotal=n.page.rowTotal,e.pagerInfo.pageTotal=n.page.pageTotal):(e.pagerInfo.rowTotal=n.data?n.data.length:0,e.pagerInfo.pageTotal=1),e.$pigeon.MessageOK(e.$i18n.t("Msg.SearchSuccess"))):e.$pigeon.MessageError(n.msg),e.pictLoading=!1;case 19:case"end":return t.stop()}}),t,null,[[1,8]])})))()},toSearch:function(){this.pagerInfo.current=1,this.searchFunc()},handleSizeChange:function(e){this.pagerInfo.row=e,this.searchFunc()},handleCurrentChange:function(e){this.pagerInfo.current=e,this.searchFunc()},formatDate:function(e){var t=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(a,"-").concat(n)},formatNumber:function(e){return null===e||void 0===e||""===e?"0":Number(e).toLocaleString()},getRowClassName:function(){return""},getStatusText:function(e){switch(e){case 1:return this.$t("Dashboard.Commission.Status-Processing");case 2:return this.$t("Dashboard.Commission.Status-Approved");case 3:return this.$t("Dashboard.Commission.Status-Rejected");default:return"--"}},getStatusClass:function(e){switch(e){case 1:return"status-processing";case 2:return"status-approved";case 3:return"status-rejected";default:return""}},handleDateChange:function(e){e&&2===e.length?(this.search.startDate=this.formatDate(e[0]),this.search.endDate=this.formatDate(e[1])):(this.search.startDate="",this.search.endDate="")}},mounted:function(){this.initYearOptions(),this.searchFunc()},created:function(){this.info=JSON.parse(sessionStorage.getItem("info"))}},h=m,v=(a("1b40"),a("0e4a"),a("2877")),b=Object(v["a"])(h,n,r,!1,null,"2f806cf2",null);t["default"]=b.exports},"4d90":function(e,t,a){"use strict";var n=a("23e7"),r=a("0ccb").start,i=a("9a0c");n({target:"String",proto:!0,forced:i},{padStart:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},5396:function(e,t,a){"use strict";a("78ec")},"78ec":function(e,t,a){},"92c7":function(e,t,a){"use strict";a("498a"),a("9911");var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"consumer-share-link views"},[t("el-dialog",{attrs:{visible:e.dialogLink,center:"",title:e.$t("Ib.Index.CreateLink"),"custom-class":"dialog_header_w dialogLink consumer-share-dialog"},on:{"update:visible":function(t){e.dialogLink=t}}},[t("div",{staticClass:"dia-content"},[t("div",{staticClass:"content"},[t("div",{staticClass:"form-item form-item-name"},[t("label",{staticClass:"form-label"},[e._v(e._s(e.$t("Ib.Index.LinkName")))]),t("el-input",{staticClass:"form-input",attrs:{size:"small",placeholder:e.$t("Ib.Index.LinkName")},model:{value:e.linkName,callback:function(t){e.linkName=t},expression:"linkName"}})],1),t("div",{staticClass:"form-section"},[t("div",{staticClass:"section-title"},[t("i",{staticClass:"el-icon-s-operation"}),e._v(" "+e._s(e.$t("Ib.Index.Spread5"))+" ")]),t("div",{staticClass:"account-type-grid"},[t("div",{staticClass:"account-type-card"},[t("div",{staticClass:"account-type-label"},[e._v(e._s(e.$t("AccountType.StandardAccount")))]),t("el-select",{staticClass:"account-select",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:function(t){return e.handleAccountTypeChange("standard","7")}},model:{value:e.accountTypeSettings.standard.selectedIndex,callback:function(t){e.$set(e.accountTypeSettings.standard,"selectedIndex",t)},expression:"accountTypeSettings.standard.selectedIndex"}},e._l(e.getAvailableSpreads("7"),(function(a,n){return t("el-option",{key:n,attrs:{label:e.getSpreadLabel(a),value:n}})})),1)],1),t("div",{staticClass:"account-type-card"},[t("div",{staticClass:"account-type-label"},[e._v(e._s(e.$t("AccountType.SeniorAccount")))]),t("el-select",{staticClass:"account-select",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:function(t){return e.handleAccountTypeChange("ecn","2")}},model:{value:e.accountTypeSettings.ecn.selectedIndex,callback:function(t){e.$set(e.accountTypeSettings.ecn,"selectedIndex",t)},expression:"accountTypeSettings.ecn.selectedIndex"}},e._l(e.getAvailableSpreads("2"),(function(a,n){return t("el-option",{key:n,attrs:{label:e.getSpreadLabel(a),value:n}})})),1)],1),t("div",{staticClass:"account-type-card"},[t("div",{staticClass:"account-type-label"},[e._v(e._s(e.$t("AccountType.CentAccount")))]),t("el-select",{staticClass:"account-select",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:function(t){return e.handleAccountTypeChange("cent","8")}},model:{value:e.accountTypeSettings.cent.selectedIndex,callback:function(t){e.$set(e.accountTypeSettings.cent,"selectedIndex",t)},expression:"accountTypeSettings.cent.selectedIndex"}},e._l(e.getAvailableSpreads("8"),(function(a,n){return t("el-option",{key:n,attrs:{label:e.getSpreadLabel(a),value:n}})})),1)],1)])]),t("div",{staticClass:"action-row"},[t("el-button",{staticClass:"btn-create",attrs:{type:"primary",size:"small"},on:{click:e.CreateLink}},[t("i",{staticClass:"el-icon-link"}),e._v(" "+e._s(e.$t("Ib.Index.CreateLink"))+" ")])],1),e.link?[t("div",{staticClass:"result-section qr-section"},[t("div",{staticClass:"qr-wrapper"},[t("QrCode",{ref:"qrCode",attrs:{text:e.link,width:200,height:200}})],1)]),t("div",{staticClass:"result-section link-section"},[t("div",{staticClass:"result-label"},[t("i",{staticClass:"el-icon-link"}),e._v(" "+e._s(e.$t("Ib.Index.Copy"))+" ")]),t("div",{staticClass:"link-row"},[t("el-input",{staticClass:"link-input",attrs:{readonly:"",size:"small",id:"custom_link_dialog"},model:{value:e.link,callback:function(t){e.link="string"===typeof t?t.trim():t},expression:"link"}}),t("el-button",{staticClass:"btn-copy",attrs:{size:"small",type:"primary"},on:{click:function(t){return e.CopyShareLink("custom_link_dialog")}}},[t("i",{staticClass:"el-icon-document-copy"}),e._v(" "+e._s(e.$t("Ib.Index.Copy"))+" ")])],1)])]:e._e()],2)]),t("div",{staticClass:"commission-adjust-notice"},[t("div",{staticClass:"commission-adjust-notice__section"},[t("div",{staticClass:"commission-adjust-notice__section-head"},[t("i",{staticClass:"el-icon-info commission-adjust-notice__icon"}),t("span",{staticClass:"commission-adjust-notice__title"},[e._v(e._s(e.$t("Customer_info.Real.CommissionNoticeOpenTitle")))])]),t("p",{staticClass:"commission-adjust-notice__p"},[e._v(" "+e._s(e.$t("Customer_info.Real.CommissionNoticeOpenP1"))+" ")]),t("p",{staticClass:"commission-adjust-notice__p"},[e._v(" "+e._s(e.$t("Customer_info.Real.CommissionNoticeOpenP2"))+" ")])])]),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{size:"small"},on:{click:function(t){e.dialogLink=!1}}},[e._v(e._s(e.$t("Btn.Cancel")))]),t("el-button",{attrs:{size:"small",type:"primary",disabled:!e.link},on:{click:e.saveLink}},[e._v(e._s(e.$t("Btn.Confirm")))])],1)])],1)},r=[],i=a("5530"),s=a("c7eb"),o=a("1da1"),c=(a("99af"),a("4de4"),a("7db0"),a("caad"),a("a15b"),a("d81d"),a("14d9"),a("e9f5"),a("910d"),a("f665"),a("7d54"),a("ab43"),a("b64b"),a("d3b7"),a("2532"),a("159b"),a("5d411")),l=a("9630"),u=a("f121"),p=a.n(u),d=p.a.Code,f=p.a.Host80,m={name:"CustomLinkList",components:{QrCode:c["a"]},data:function(){return{pictLoading:!1,dialogLink:!1,tableData:[],linkName:"",excludeList:[],excludeLists:[],excludeListVN:[],spreadList:[],excludeShowLoginTypes:[],selectedSpreadId:"",loginTypes:"",ibInvalid:"B0",link:"",linkValue:"",currentCId:null,currentId:null,accountTypeSettings:{ecn:{selectedIndex:null,selectedItem:null,loginType:"2"},standard:{selectedIndex:null,selectedItem:null,loginType:"7"},cent:{selectedIndex:null,selectedItem:null,loginType:"8"}},accountTypeData:{ecn:[],standard:[],cent:[]},pagerInfo:{row:10,current:1,pageTotal:0,rowTotal:10},qrCodeDialogVisible:!1,currentQrCodeLink:""}},computed:{getInfoId:function(){return JSON.parse(this.Session.Get("user",!0)).id}},methods:{LinkActivity1:function(){var e,t,a,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=null!==(e=null!==(t=null===n||void 0===n?void 0:n.cId)&&void 0!==t?t:null===n||void 0===n||null===(a=n.form)||void 0===a?void 0:a.cId)&&void 0!==e?e:null;this.currentCId=r||null,this.currentId=n&&"id"in n?n.id:null,this.openAddDialog()},openAddDialog:function(){var e=this;return Object(o["a"])(Object(s["a"])().mark((function t(){return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.getCustomLinkTypes();case 2:e.selectedSpreadId="",e.linkName="",e.link="",e.linkValue="",e.accountTypeSettings={ecn:{selectedIndex:null,selectedItem:null,loginType:"2"},standard:{selectedIndex:null,selectedItem:null,loginType:"7"},cent:{selectedIndex:null,selectedItem:null,loginType:"8"}},e.dialogLink=!0;case 8:case"end":return t.stop()}}),t)})))()},getCustomLinkTypes:function(){var e=this;return Object(o["a"])(Object(s["a"])().mark((function t(){var a,n,r;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.currentId?{ibId:e.currentId}:{},t.next=3,l["a"].getRegisterLinkTypes(a);case 3:n=t.sent,n.code==d.StatusOK?(r=n.data||[],console.log(r,"123"),e.accountTypeData={ecn:r.filter((function(e){return 2===e.loginType||"2"===e.loginType})),standard:r.filter((function(e){return 7===e.loginType||"7"===e.loginType})),cent:r.filter((function(e){return 8===e.loginType||"8"===e.loginType}))}):(e.$pigeon.MessageError(n.msg),e.accountTypeData={ecn:[],standard:[],cent:[]});case 5:case"end":return t.stop()}}),t)})))()},getAvailableSpreads:function(e){return"2"===e?this.accountTypeData.ecn||[]:"7"===e?this.accountTypeData.standard||[]:"8"===e&&this.accountTypeData.cent||[]},handleAccountTypeChange:function(e,t){var a=this.accountTypeSettings[e],n=this.getAvailableSpreads(t);null!==a.selectedIndex&&void 0!==a.selectedIndex?a.selectedItem=n[a.selectedIndex]||null:a.selectedItem=null,this.$forceUpdate()},getSpreadLabel:function(e){return e.groupName||""},loginTypeList:function(){var e=this;return Object(o["a"])(Object(s["a"])().mark((function t(){var a;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,l["a"].loginTypeList({page:{current:1,row:100}});case 2:a=t.sent,a.code==d.StatusOK?e.spreadList=a.data:e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},getValidAccountTypes:function(e,t){var a=this.spreadList.find((function(e){return e.id===t})),n={hide:"",commission:"",excludeShowLoginTypes:[]};if(!a)return n;var r=e.filter((function(e){return a.loginTypes.includes(e)})),i=e.filter((function(e){return!a.loginTypes.includes(e)})),s=this.excludeList.filter((function(e){return i.includes(e.value)})).map((function(e){return e.label})),o=this.excludeLists.filter((function(e){return!r.includes(e.value)})).map((function(e){return e.value}));return this.loginTypes=s.join("、"),{hide:a.hide,commission:a.comPoint,excludeShowLoginTypes:o,invalidLabels:s,invalidValues:i}},getLink1:function(){var e=this;return Object(o["a"])(Object(s["a"])().mark((function t(){var a,n,r,o;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=[],n=[],Object.keys(e.accountTypeSettings).forEach((function(t){var r=e.accountTypeSettings[t];r.selectedItem&&(a.push(r.loginType),n.push(r.selectedItem))})),0!==a.length){t.next=7;break}return e.$pigeon.MessageWarning(e.$i18n.t("Ib.Index.Spread5")),e.link="",t.abrupt("return");case 7:return r=Object(i["a"])({loginConfig:n},e.currentId?{ibId:e.currentId}:{}),t.next=10,l["a"].customLinkCode(r);case 10:if(o=t.sent,o.code!==d.StatusOK){t.next=16;break}return e.$pigeon.MessageOK(o.msg),t.abrupt("return",o.data);case 16:return e.$pigeon.MessageError(o.msg),t.abrupt("return","");case 18:case"end":return t.stop()}}),t)})))()},CreateLink:function(){var e=this;return Object(o["a"])(Object(s["a"])().mark((function t(){var a;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.linkName){t.next=3;break}return e.$pigeon.MessageWarning(e.$i18n.t("Ib.Index.LinkName")),t.abrupt("return");case 3:return t.next=5,e.getLink1();case 5:if(a=t.sent,a){t.next=8;break}return t.abrupt("return");case 8:e.linkValue=a,e.link="".concat(f,"/#/signup/").concat(e.getInfoId,"/").concat(a,"/").concat(e.ibInvalid);case 10:case"end":return t.stop()}}),t)})))()},saveLink:function(){var e=this;return Object(o["a"])(Object(s["a"])().mark((function t(){var a,n,r;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.linkName){t.next=3;break}return e.$pigeon.MessageWarning(e.$i18n.t("Label.Name")),t.abrupt("return");case 3:if(e.link){t.next=6;break}return e.$pigeon.MessageWarning(e.$i18n.t("Ib.Index.CreateLink")),t.abrupt("return");case 6:if(a=[],Object.keys(e.accountTypeSettings).forEach((function(t){var n=e.accountTypeSettings[t];n.selectedItem&&a.push(n.selectedItem)})),0!==a.length){t.next=11;break}return e.$pigeon.MessageWarning(e.$i18n.t("Ib.Index.Spread5")),t.abrupt("return");case 11:return n={name:e.linkName,link:e.link,linkValue:e.linkValue,loginConfig:a},e.currentCId&&(n.cId=e.currentCId),e.currentId&&(n.ibId=e.currentId),t.next=16,l["a"].customLinkAdd(n);case 16:r=t.sent,r.code===d.StatusOK?(e.$pigeon.MessageOK(r.msg),e.dialogLink=!1,e.currentCId=null,e.currentId=null,e.linkName="",e.link="",e.linkValue="",e.excludeShowLoginTypes=[],e.selectedSpreadId="",e.accountTypeSettings={ecn:{selectedIndex:null,selectedItem:null,loginType:"2"},standard:{selectedIndex:null,selectedItem:null,loginType:"7"},cent:{selectedIndex:null,selectedItem:null,loginType:"8"}},e.$emit("saved")):e.$pigeon.MessageError(r.msg);case 18:case"end":return t.stop()}}),t)})))()},CopyShareLink:function(e){var t=document.getElementById(e);t&&(t.select(),document.execCommand("Copy"),this.$pigeon.MessageOK(this.$i18n.t("card.Msg.m8")))},downloadQrCode:function(){this.$refs.qrCode&&this.$refs.qrCode.downloadQrCode()},showQrCodeDialog:function(e){e&&(this.currentQrCodeLink=e,this.qrCodeDialogVisible=!0)},handleCurrentChange:function(e){this.pagerInfo.current=e,this.getList()},getGroupNameByLoginType:function(e,t){if(!e)return"";var a=e;if("string"===typeof e)try{a=JSON.parse(e)}catch(r){return""}if(!Array.isArray(a))return"";var n=a.find((function(e){return e.loginType===t||e.loginType===String(t)||String(e.loginType)===String(t)}));return n&&n.groupName||""},formatLoginTypes:function(e){if(!e)return"--";var t=e;if("string"===typeof e)try{t=JSON.parse(e)}catch(r){t=e.split(",").map((function(e){return e.trim()}))}Array.isArray(t)||(t=[t]);var a={1:this.$i18n.t("AccountType.ClassicAccount"),2:this.$i18n.t("AccountType.SeniorAccount"),3:this.$i18n.t("AccountType.AgencyAccount"),5:this.$i18n.t("AccountType.SpeedAccount"),6:this.$i18n.t("AccountType.SpeedAccount"),7:this.$i18n.t("AccountType.StandardAccount"),8:this.$i18n.t("AccountType.CentAccount")},n=t.map((function(e){return a[String(e)]||e})).filter(Boolean);return n.length>0?n.join("、"):"--"}},created:function(){var e=this;this.$nextTick((function(){e.excludeLists=[{label:e.$i18n.t("AccountType.SeniorAccount"),value:"2"},{label:e.$i18n.t("AccountType.AgencyAccount"),value:"3"},{label:e.$i18n.t("AccountType.StandardAccount"),value:"7"},{label:e.$i18n.t("AccountType.CentAccount"),value:"8"}],e.excludeLists=e.excludeLists.filter((function(e){return!e.hidden}))}))}},h=m,v=(a("5396"),a("2877")),b=Object(v["a"])(h,n,r,!1,null,"3914491a",null);t["a"]=b.exports},9400:function(e,t,a){},"97ed":function(e,t,a){},"99ca":function(e,t,a){"use strict";a("fe0d")},"9a0c":function(e,t,a){"use strict";var n=a("b5db");e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},a0fc:function(e,t,a){"use strict";a("f7f8")},a1a2:function(e,t,a){"use strict";var n=a("c7eb"),r=a("1da1"),i=a("d4ec"),s=a("bee2"),o=a("8f33"),c=a("262e"),l=a("ff2d"),u=a("bc3a"),p=a.n(u),d=a("f121"),f=a.n(d),m=function(e){function t(){var e;return Object(i["a"])(this,t),e=Object(o["a"])(this,t),p.a.defaults.baseURL=f.a.Host85,e}return Object(c["a"])(t,e),Object(s["a"])(t,[{key:"remitChannelCode",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("/remit/channel/get/code",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:"remittanceChannelCode",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("/remittance/channel/get/code",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:"cidRealSingle",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("/custom/search/real/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:"pIbNoRealSingle",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("/ib/search/ib/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:"reasonsRefusalList",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("/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:"depositList",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("/finance/deposit/searcher/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:"depositListAll",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("/finance/deposit/searcher/all/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:"depositAction",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("/finance/deposit/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:"giftStatus",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("/finance/deposit/activity/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:"financeDepositSupplement",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("/finance/deposit/supplement",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:"withdrawList",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("/finance/withdraw/searcher/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:"withdrawListAll",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("/finance/withdraw/searcher/all/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:"withdrawAction",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("/finance/withdraw/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:"withdrawActionMT",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("/finance/withdraw/approve/manager",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:"withdrawActionReceiptsubmit",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("/finance/withdraw/approve/submit/channel",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:"withdrawActionReceipt",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("/finance/withdraw/approve/channel",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:"withdrawSalesAction",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("/finance/withdraw/sales/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:"withdrawActionReceiptsubmits",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("/finance/withdraw/approve/submits/channel",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:"withdrawActionReceipts",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("/finance/withdraw/approve/channels",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:"withdrawBackstage",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("/finance/withdraw/approve/backstage",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:"withdrawInfoStatus",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("/finance/withdraw/approve/info",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:"withdrawInfosStatus",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("/finance/withdraw/approve/infos",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:"withdrawRemitChannel",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("/finance/withdraw/remit/channel",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:"withdrawRemitChannelApi",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("/finance/withdraw/api/info",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:"withdrawWithdrawapi",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("/finance/withdraw/withdrawapi",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:"transfertList",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("/finance/transfer/searcher/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:"transferAction",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("/finance/transfer/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:"systemTransferList",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("/finance/transfer/system/searcher/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:"IBwithdrawList",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("/finance/agent/withdraw/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:"IBwithdrawApprove",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("/finance/agent/withdraw/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:"IBwithdrawActionMT",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("/finance/agent/withdraw/complete",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:"IBwithdrawActionReceipt",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("/finance/agent/withdraw/channel",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:"remitChannelGetCode",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("/remit/channel/get/code",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:"IBwithdrawSalesApprove",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("/finance/agent/withdraw/sales/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:"IBwithdrawSalesSubmit",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("/finance/agent/withdraw/approve/submit/channel",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:"IBwithdrawSalesSubmits",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("/finance/agent/withdraw/approve/submits/channel",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:"IBwithdrawActionChannels",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("/finance/agent/withdraw/channels",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:"IBwithdrawActionApproves",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("/finance/agent/withdraw/approves",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:"agentwithdrawRemitChannel",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("/finance/agent/withdraw/remit/channel",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:"agentwithdrawRemitChannelApi",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("/finance/agent/withdraw/api/info",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:"agentwithdrawWithdrawapi",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("/finance/agent/withdraw/withdrawapi",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:"ibTransferList",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("/agent/balance/transfer/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:"ibTransferApprove",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("/agent/balance/transfer/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:"depositGiveList",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("/finance/deposit/give/searcher/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:"depositGiveSingle",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("/finance/deposit/give/searcher/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:"FollowerTransferList",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("/transfer/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:"FollowerTransferSingle",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("/transfer/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:"FollowerTransferApprove",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("/transfer/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:"FollowerTransferDelete",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("/transfer/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:"FollowerTransferCallback",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("/transfer/callback",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:"agentTransferList",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("/finance/agent/transfer/searcher/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:"agentTransferSingle",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("/finance/agent/transfer/searcher/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:"agentTransferApprove",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("/finance/agent/transfer/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:"agentTransferDelete",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("/finance/agent/transfer/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:"synonymTransferList",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("/finance/synonym/transfer/searcher/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:"synonymTransferSingle",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("/finance/synonym/transfer/searcher/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:"synonymTransferAdd",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("/finance/synonym/transfer/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:"synonymTransferApprove",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("/finance/synonym/transfer/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:"synonymTransferDelete",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("/finance/synonym/transfer/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:"synonymTransferDemo",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("/finance/synonym/transfer/template/export",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:"synonymTransferExcel",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("/finance/synonym/transfer/excel",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:"financeTradeList",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("/finance/trade/interest/searcher/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:"financeTradeSingle",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("/finance/trade/interest/searcher/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:"financeTradeAdd",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("/finance/trade/interest/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:"followTransferList",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/transfer/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:"salesRealSingle",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("/user/search/sales",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:"cancelActivity",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("/custom/activity/requite/apply/cancel",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:"depositAmountStatistics",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("/finance/deposit/amount/statictics",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:"withdrawAmountStatistics",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("/finance/withdraw/amount/statictics",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:"withdrawTypeStatistics",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("/finance/withdraw/type/statictics",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:"depositTypeStatistics",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("/finance/deposit/type/statictics",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:"financeCommentAdd",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("/finance/comment/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:"financeCommentList",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("/finance/comment/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}()}])}(l["a"]);t["a"]=new m},a36f:function(e,t,a){},b095:function(e,t,a){"use strict";a("97ed")},b791:function(e,t,a){"use strict";a("d894")},d894:function(e,t,a){},dc7d:function(e,t,a){},f7ea:function(e,t,a){"use strict";a.r(t);a("ac1f"),a("841c"),a("498a");var n=function(){var e,t=this,a=t._self._c;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.pictLoading,expression:"pictLoading"}],staticClass:"view",attrs:{id:"financial_AgentTransfer","element-loading-background":"rgba(43, 48, 67, 0.65)","element-loading-spinner":"el-icon-loading"}},[a("div",{staticClass:"crm_search"},[a("el-form",{ref:"form",attrs:{"label-position":"",model:t.search,"label-width":""}},[a("el-row",[a("el-col",{attrs:{span:24,md:24,lg:24}},[a("el-form-item",{staticStyle:{"margin-right":"10px"}},[a("el-select",{staticClass:"crm_search_down_special crm-border-radius-no",attrs:{size:"small",placeholder:t.$t("Placeholder.Choose")},model:{value:t.search.status,callback:function(e){t.$set(t.search,"status",e)},expression:"search.status"}},[a("el-option",{attrs:{label:t.$t("State.All"),value:null},nativeOn:{click:function(e){return t.toSearch.apply(null,arguments)}}}),a("el-option",{attrs:{label:t.$t("State.ToBeProcessed"),value:0},nativeOn:{click:function(e){return t.toSearch.apply(null,arguments)}}}),a("el-option",{attrs:{label:t.$t("State.InTheProcessing"),value:1},nativeOn:{click:function(e){return t.toSearch.apply(null,arguments)}}}),a("el-option",{attrs:{label:t.$t("State.Pass"),value:2},nativeOn:{click:function(e){return t.toSearch.apply(null,arguments)}}}),a("el-option",{attrs:{label:t.$t("State.Refused"),value:3},nativeOn:{click:function(e){return t.toSearch.apply(null,arguments)}}})],1)],1),a("el-form-item",[a("el-select",{staticClass:"crm_search_down crm-border-radius-no",attrs:{size:"small",placeholder:t.$t("Placeholder.Choose")},model:{value:t.search.tag,callback:function(e){t.$set(t.search,"tag",e)},expression:"search.tag"}},[t.detail?t._e():a("el-option",{attrs:{label:t.$t("Financial_info.InternalTransfer.withdrawCId"),value:1}}),a("el-option",{attrs:{label:t.$t("Label.TransferAccounts"),value:2}}),a("el-option",{attrs:{label:t.$t("Label.IntoAccount"),value:3}}),a("el-option",{attrs:{label:t.$t("Label.IBAccount"),value:4}}),a("el-option",{attrs:{label:t.$t("Financial_info.InternalTransfer.withdrawName"),value:5}}),a("el-option",{attrs:{label:t.$t("Financial_info.InternalTransfer.depositName"),value:6}})],1)],1),a("el-form-item",{staticStyle:{"margin-right":"10px"}},[1!=t.search.tag||t.detail?t._e():a("el-input",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",placeholder:t.$t("Placeholder.Input")},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.toSearch.apply(null,arguments)}},model:{value:t.search.withdrawCId,callback:function(e){t.$set(t.search,"withdrawCId","string"===typeof e?e.trim():e)},expression:"search.withdrawCId"}}),2==t.search.tag?a("el-input",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",placeholder:t.$t("Placeholder.Input")},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.toSearch.apply(null,arguments)}},model:{value:t.search.fromLogin,callback:function(e){t.$set(t.search,"fromLogin","string"===typeof e?e.trim():e)},expression:"search.fromLogin"}}):t._e(),3==t.search.tag?a("el-input",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",placeholder:t.$t("Placeholder.Input")},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.toSearch.apply(null,arguments)}},model:{value:t.search.toLogin,callback:function(e){t.$set(t.search,"toLogin","string"===typeof e?e.trim():e)},expression:"search.toLogin"}}):t._e(),4==t.search.tag?a("el-input",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",placeholder:t.$t("Placeholder.Input")},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.toSearch.apply(null,arguments)}},model:{value:t.search.ibNo,callback:function(e){t.$set(t.search,"ibNo","string"===typeof e?e.trim():e)},expression:"search.ibNo"}}):t._e(),5==t.search.tag?a("el-input",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",placeholder:t.$t("Placeholder.Input")},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.toSearch.apply(null,arguments)}},model:{value:t.search.withdrawName,callback:function(e){t.$set(t.search,"withdrawName","string"===typeof e?e.trim():e)},expression:"search.withdrawName"}}):t._e(),6==t.search.tag?a("el-input",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",placeholder:t.$t("Placeholder.Input")},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.toSearch.apply(null,arguments)}},model:{value:t.search.depositName,callback:function(e){t.$set(t.search,"depositName","string"===typeof e?e.trim():e)},expression:"search.depositName"}}):t._e()],1),a("el-form-item",[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":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"}}),a("el-button",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",icon:"el-icon-search"},on:{click:t.toSearch}})],1)],1)],1),a("el-form-item",[a("div",{staticClass:"search_action_btn"},[null!==(e=t.display["R-AgentTransfer-Export"])&&void 0!==e&&e.show?a("span",{staticClass:"crm-cursor",on:{click:t.exportAgents}},[a("i",{staticClass:"el-icon-download"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Export",expression:"'Btn.Export'"}]})]):t._e()])])],1)],1),a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.mock_tableData,stripe:""}},[a("el-table-column",{attrs:{prop:"",align:"left",label:t.$i18n.t("Financial_info.InternalTransfer.withdrawCId")},scopedSlots:t._u([{key:"default",fn:function(e){return[!e.row.withdrawCId||t.search.withdrawCId||t.detail?a("span",[t._v(t._s(e.row.withdrawCId||"--"))]):a("span",{staticClass:"crm-text-underline",on:{click:function(a){return t.accountOpen(e.row.withdrawCId)}}},[t._v(t._s(e.row.withdrawCId||"--"))])]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:t.$i18n.t("Label.AttributionNumber")},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.pIbNo?a("span",{staticClass:"crm-text-underline",on:{click:function(a){return t.agentOpen(e.row.pIbNo)}}},[t._v(t._s(e.row.pIbNo||"--"))]):a("span",[t._v(t._s(e.row.pIbNo||"--"))])]}}])}),a("el-table-column",{attrs:{prop:"title",align:"left",label:t.$i18n.t("Financial_info.InternalTransfer.withdrawName")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.withdrawName||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:t.$i18n.t("Label.TransferAccounts")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.withdrawLogin||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:t.$i18n.t("Label.AmountMoney")},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticStyle:{color:"#eb3f57"}},[t._v("-"+t._s(t._f("NumberFormat")(t._f("NumberDecimal")(e.row.amount||"0"))))])]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:t.$i18n.t("Financial_info.InternalTransfer.depositCId")},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.depositCId?a("span",{staticClass:"crm-text-underline",on:{click:function(a){return t.accountOpen(e.row.depositCId)}}},[t._v(t._s(e.row.depositCId||"--"))]):a("span",[t._v(t._s(e.row.depositCId||"--"))])]}}])}),a("el-table-column",{attrs:{prop:"title",align:"left",label:t.$i18n.t("Financial_info.InternalTransfer.depositName")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.depositName||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:t.$i18n.t("Label.IntoAccount")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.depositLogin||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:t.$i18n.t("news_add_field.Label.depositPlatformAmount")},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticStyle:{color:"#eb3f57"}},[t._v(" "+t._s(t._f("NumberFormat")(t._f("NumberDecimal")(e.row.depositAmount||"0")))+" ")]),a("div",[t._v(t._s(e.row.depositCurrency))])]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:t.$i18n.t("news_add_field.Label.withdrawPlatformAmount")},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticStyle:{color:"#eb3f57"}},[t._v(" "+t._s(t._f("NumberFormat")(t._f("NumberDecimal")(e.row.withdrawAmount||"0")))+" ")]),a("div",[t._v(t._s(e.row.withdrawCurrency))])]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:t.$i18n.t("Label.ApplyTime")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.addTime||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"",align:"center",width:"120",label:t.$i18n.t("Label.State")},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.status?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],staticClass:"state crm_state_blue"}):t._e(),2==e.row.status&&2==e.row.withdrawStatus&&2==e.row.depositStatus?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.Pass",expression:"'State.Pass'"}],staticClass:"state crm_state_gray"}):t._e(),2!=e.row.status||1!=e.row.withdrawStatus&&1!=e.row.depositStatus?t._e():a("span",{directives:[{name:"t",rawName:"v-t",value:"State.InTheProcessing",expression:"'State.InTheProcessing'"}],staticClass:"state crm_state_green"}),3==e.row.status||3==e.row.withdrawStatus||3==e.row.depositStatus?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.Refused",expression:"'State.Refused'"}],staticClass:"state crm_state_red"}):t._e()]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:t.$i18n.t("Label.OperatingMode")},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.operationType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Label.automatic",expression:"'Label.automatic'"}]}):t._e(),2==e.row.operationType?a("span",{directives:[{name:"t",rawName:"v-t",value:"Label.artificial",expression:"'Label.artificial'"}]}):t._e(),e.row.operationType?t._e():a("span",[t._v(t._s("--"))])]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:t.$i18n.t("Label.Note")},scopedSlots:t._u([{key:"default",fn:function(e){return[t.reasons[e.row.approveDesc]?a("span",[t._v(t._s("cn"==t.Session.Get("lang")?t.reasons[e.row.approveDesc].content:t.reasons[e.row.approveDesc].enContent))]):a("span",[t._v(t._s(e.row.approveDesc||"--"))])]}}])}),a("el-table-column",{attrs:{prop:"",align:"left",label:t.$i18n.t("Label.Server")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.withdrawServer||"--")+" ")]}}])}),a("el-table-column",{attrs:{prop:"",align:"center",label:t.$i18n.t("Label.Action")},scopedSlots:t._u([{key:"default",fn:function(e){var n;return[a("el-dropdown",{attrs:{trigger:"click"},on:{command:t.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"},[1==e.row.status&&null!==(n=t.display["R-AgentTransfer-Approve"])&&void 0!==n&&n.show?a("el-dropdown-item",{attrs:{command:{type:"check",row:e.row}}},[a("i",{staticClass:"el-icon-s-operation"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.DealWith",expression:"'Btn.DealWith'"}]})]):t._e()],1)],1)]}}])})],1),t.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",[t._v(t._s(t.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":t.pagerInfo.row,total:t.pagerInfo.rowTotal},on:{"current-change":t.handleCurrentChange,"size-change":t.handleSizeChange}})],1):t._e(),a("el-dialog",{attrs:{title:t.$t("R-AgentTransfer"),visible:t.dialogCheck,center:"","custom-class":"dialog_header_w"},on:{"update:visible":function(e){t.dialogCheck=e}}},[a("div",{staticClass:"dia-content"},[a("el-form",{ref:"dialogCheck_form",staticClass:"dialogCheck_form",attrs:{model:t.dialogCheck_form,rules:t.rules,"label-width":"135px"}},[a("el-form-item",{attrs:{prop:"",label:t.$t("Label.TransferAccounts")+":"}},[t._v(" "+t._s(t.dialogCheck_form.withdrawLogin)+" ")]),a("el-form-item",{attrs:{prop:"",label:t.$t("Label.IntoAccount")+":"}},[t._v(" "+t._s(t.dialogCheck_form.depositLogin)+" ")]),a("el-form-item",{attrs:{prop:"status",label:t.$t("Label.ProcessingState")+":"}},[a("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:t.$t("Placeholder.Choose")},model:{value:t.dialogCheck_form.status,callback:function(e){t.$set(t.dialogCheck_form,"status",e)},expression:"dialogCheck_form.status"}},[a("el-option",{attrs:{label:t.$t("Apply_info.VerifiedUser.Refused"),value:3}}),a("el-option",{attrs:{label:t.$t("Apply_info.VerifiedUser.Agree"),value:2}})],1)],1),3==t.dialogCheck_form.status?a("el-form-item",{attrs:{prop:"approveDesc",label:t.$t("Label.Descr")+":"}},[a("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:t.$t("Placeholder.Choose"),filterable:"","allow-create":""},on:{change:t.selectChange},model:{value:t.dialogCheck_form.approveDesc,callback:function(e){t.$set(t.dialogCheck_form,"approveDesc",e)},expression:"dialogCheck_form.approveDesc"}},t._l(t.reasons,(function(e){return a("el-option",{key:e.id,attrs:{label:"cn"==t.Session.Get("lang")?e.content:e.enContent,value:e.id}})})),1)],1):t._e(),2==t.dialogCheck_form.withdrawStatus?a("el-form-item",{attrs:{prop:"withdrawTicket",label:t.$t("Label.withdrawOrderNumber")+":"}},[a("el-input",{attrs:{size:"small",placeholder:t.$t("Placeholder.Input")},model:{value:t.dialogCheck_form.withdrawTicket,callback:function(e){t.$set(t.dialogCheck_form,"withdrawTicket",e)},expression:"dialogCheck_form.withdrawTicket"}})],1):t._e(),2==t.dialogCheck_form.withdrawStatus?a("el-form-item",{attrs:{prop:"depositTicket",label:t.$t("Label.depositOrderNumber")+":"}},[a("el-input",{attrs:{size:"small",placeholder:t.$t("Placeholder.Input")},model:{value:t.dialogCheck_form.depositTicket,callback:function(e){t.$set(t.dialogCheck_form,"depositTicket",e)},expression:"dialogCheck_form.depositTicket"}})],1):t._e()],1),a("div",{staticClass:"dialog-footer",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(e){return t.toVerified()}}}),a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:t.cancel}})],1)],1)]),a("detailed-info-cid",{attrs:{dialogInfoCid:t.dialogInfoCid,formInfo:t.formInfo},on:{close:t.close}}),t.dialogInfoCid?a("div",{staticClass:"crm_verified_info_mask",on:{click:t.closeDia}}):t._e(),a("detailed-info-ibNo",{attrs:{dialogInfoIbNo:t.dialogInfoPIbNo,formInfo:t.formInfoPib},on:{close:t.close}}),t.dialogInfoPIbNo?a("div",{staticClass:"crm_verified_info_mask",on:{click:t.closeDia}}):t._e()],1)},r=[],i=a("c7eb"),s=a("5530"),o=a("1da1"),c=(a("14d9"),a("b0c0"),a("d3b7"),a("3ca3"),a("ddb0"),a("2b3d"),a("bf19"),a("9861"),a("88a7"),a("271a"),a("5494"),a("bc3a")),l=a.n(c),u=a("a1a2"),p=a("f121"),d=a.n(p),f=a("2d59"),m=a("3a82"),h=d.a.Code,v={name:"AgentTransfer",props:{isListMode:{default:!0},customerInfo:{default:function(){return{}}},cid:{default:""},detail:{default:!1}},components:{DetailedInfoCid:f["a"],DetailedInfoIbNo:m["a"]},data:function(){return{flag:!1,reasons:{},pictLoading:!1,mock_tableData:[],search:{tag:2,login:"",customId:"",status:null,fromLogin:"",toLogin:"",ibNo:"",cId:"",withdrawCId:"",withdrawName:"",depositName:"",date:[],startDate:"",endDate:"",name:""},dialogCheck:!1,dialogCheck_form:{},dialogInfoCid:!1,dialogInfoPIbNo:!1,infoType:"",formInfo:{},formInfoPib:{},pagerInfo:{row:10,current:1,pageTotal:0,rowTotal:0},rules:{status:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}],approveDesc:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}],depositTicket:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}],withdrawTicket:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}]}}},computed:{display:function(){return this.Session.GetDisplay()}},methods:{selectChange:function(){this.$forceUpdate()},handleCommand:function(e){"check"==e.type&&(this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck=!0,this.dialogCheck_form.CID=e.row.CID,this.dialogCheck_form.id=e.row.id,this.dialogCheck_form.withdrawLogin=e.row.withdrawLogin,this.dialogCheck_form.depositLogin=e.row.depositLogin)},toVerified:function(){var e=Object(o["a"])(Object(i["a"])().mark((function e(){var t=this;return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$refs["dialogCheck_form"].validate(function(){var e=Object(o["a"])(Object(i["a"])().mark((function e(a){var n;return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=13;break}if(!t.flag){e.next=5;break}return e.abrupt("return");case 5:t.flag=!0;case 6:return 3!=t.dialogCheck_form.status&&(t.dialogCheck_form.approveDesc=""),e.next=9,u["a"].agentTransferApprove(Object(s["a"])({},t.dialogCheck_form));case 9:n=e.sent,n.code==h.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.Success")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(n.msg)),e.next=14;break;case 13:return e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),cancel:function(){this.dialogCheck=!1,this.$refs["dialogCheck_form"].resetFields()},closeDia:function(){this.dialogInfoCid=!1,this.dialogInfoPIbNo=!1},close:function(e){this.dialogInfoCid=e,this.dialogInfoPIbNo=e},accountOpen:function(e){this.$router.push({name:"R-CustomerDetail",params:{cId:e}})},agentOpen:function(e){this.searchSinglePIbNo(e)},searchSingleCid:function(e){var t=this;return Object(o["a"])(Object(i["a"])().mark((function a(){var n;return Object(i["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,u["a"].cidRealSingle({id:e});case 2:n=a.sent,n.code==h.StatusOK?(t.formInfo=n.data,t.dialogInfoCid=!0):t.$pigeon.MessageError(n.msg);case 4:case"end":return a.stop()}}),a)})))()},searchSinglePIbNo:function(e){var t=this;return Object(o["a"])(Object(i["a"])().mark((function a(){var n;return Object(i["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,u["a"].pIbNoRealSingle({ibNo:e});case 2:n=a.sent,n.code==h.StatusOK?(t.formInfoPib=n.data,t.dialogInfoPIbNo=!0):t.$pigeon.MessageError(n.msg);case 4:case"end":return a.stop()}}),a)})))()},exportAgents:function(){var e=this;return Object(o["a"])(Object(i["a"])().mark((function t(){var a,n,r;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.search.startDate&&e.search.endDate){t.next=3;break}return e.$pigeon.MessageWarning(e.$i18n.t("vaildate.date.empty")),t.abrupt("return");case 3: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="/finance/agent/transfer/searcher/list/export?startDate="+a+"&endDate="+n+"&withdrawCId="+(e.search.withdrawCId?e.search.withdrawCId:"")+"&ibNo="+(e.search.ibNo?e.search.ibNo:"")+"&toLogin="+(e.search.toLogin?e.search.toLogin:"")+"&login="+(e.search.login?e.search.login:"")+"&name="+(e.search.name?e.search.name:"")+"&customId="+(e.search.customId?e.search.customId:"")+"&status="+(null!=e.search.status?e.search.status:"")+"&fromLogin="+(e.search.fromLogin?e.search.fromLogin:"")+"&withdrawName="+(e.search.withdrawName?e.search.withdrawName:"")+"&depositName="+(e.search.depositName?e.search.depositName:""),l.a.get(r,{responseType:"blob"}).then((function(t){if(t.status==h.StatusOK)if("msSaveOrOpenBlob"in navigator)window.navigator.msSaveOrOpenBlob(t.data,"Download.xlsx");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)}else e.$pigeon.MessageError(e.$i18n.t("Msg.Download"))}));case 7:case"end":return t.stop()}}),t)})))()},searchFunc:function(){var e=this;return Object(o["a"])(Object(i["a"])().mark((function t(){var a,n;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.pictLoading=!0,null!==(a=e.display["R-AgentTransfer-Search"])&&void 0!==a&&a.show){t.next=5;break}return e.$pigeon.MessageWarning(e.$i18n.t("Msg.NotDisplay")),e.pictLoading=!1,t.abrupt("return");case 5:return 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]),t.next=8,u["a"].agentTransferList(Object(s["a"])(Object(s["a"])({},e.search),{},{page:{current:e.pagerInfo.current,row:e.pagerInfo.row}}));case 8:n=t.sent,n.code==h.StatusOK?(e.mock_tableData=n.data,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);case 10:case"end":return t.stop()}}),t)})))()},searchReasons:function(){var e=this;return Object(o["a"])(Object(i["a"])().mark((function t(){var a;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,u["a"].reasonsRefusalList({type:10});case 2:a=t.sent,a.code==h.StatusOK?null==a.data?e.reasons={}:e.reasons=a.data:e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},getSearchDate:function(e){this.search.date=e},toSearch:function(){this.pagerInfo.current=1,this.searchFunc()},handleSizeChange:function(e){this.pagerInfo.row=e,this.searchFunc()},handleCurrentChange:function(e){this.pagerInfo.current=e,this.searchFunc()}},mounted:function(){this.search.cId=this.cid,this.searchFunc(),this.searchReasons()},watch:{"search.tag":function(){this.search.cId="",this.search.login="",this.search.serial="",this.search.withdrawCId="",this.search.fromLogin="",this.search.toLogin="",this.search.ibNo="",this.search.withdrawName="",this.search.depositName=""}}},b=v,g=(a("b791"),a("b095"),a("2877")),w=Object(g["a"])(b,n,r,!1,null,"14dbdf84",null);t["default"]=w.exports},f7f8:function(e,t,a){},fe0d:function(e,t,a){}}]);