agent.22bd422c.js 109 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["agent"],{"18ce":function(e,t,a){},"261d":function(e,t,a){"use strict";a("6003")},"2d59":function(e,t,a){"use strict";var i=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,i){return t("el-card",{key:i,staticClass:"box-card"},[t("div",{staticClass:"clearfix crm-cursor",attrs:{slot:"header"},on:{click:function(t){return e.cardTab(i)}},slot:"header"},[t("span",[t("span",[e._v(e._s(i+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==i?t("i",{staticClass:"el-icon-caret-bottom"}):e._e(),e.cardIndex!=i?t("i",{staticClass:"el-icon-caret-right"}):e._e()])]),t("el-collapse-transition",[e.cardIndex==i?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.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)]),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.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.Item3",expression:"'Apply_info.ExperienceTrading.Item3'"}]}),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.Item4",expression:"'Apply_info.ExperienceTrading.Item4'"}]}),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)])]),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,i){return t("div",{key:i,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)},s=[],n=a("c7eb"),o=a("5530"),r=a("1da1"),l=(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")),c=a("f121"),d=a.n(c),p=a("92c7"),m=d.a.Code,u=d.a.Host85,f=d.a.Host00,h={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:u,Host00:f,Host85:u,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(r["a"])(Object(n["a"])().mark((function e(){var t=this;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$refs["dialogCheck_form"].validate(function(){var e=Object(r["a"])(Object(n["a"])().mark((function e(a){var i;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=7;break}return e.next=3,l["a"].customFileApprove(Object(o["a"])({},t.dialogCheck_form));case 3:i=e.sent,i.code==m.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(i.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(r["a"])(Object(n["a"])().mark((function e(){var t=this;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$refs["dialogCheck_form"].validate(function(){var e=Object(r["a"])(Object(n["a"])().mark((function e(a){var i;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=7;break}return e.next=3,l["a"].customFileApproveDe(Object(o["a"])({},t.dialogCheck_form));case 3:i=e.sent,i.code==m.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(i.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(r["a"])(Object(n["a"])().mark((function t(){var a;return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,l["a"].reasonsRefusalList({type:1});case 2:a=t.sent,a.code==m.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.Host85+(t.againPath||t.path),e.srcList1.push(e.url1)),2==t.type&&(e.files2=t,e.url2=e.Host85+(t.againPath||t.path),e.srcList2.push(e.url2)),3==t.type&&(e.files3=t,e.url3=e.Host85+(t.againPath||t.path),e.srcList3.push(e.url3)),10==t.type&&(t.urlOther=e.Host85+(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=[])}}},g=h,_=(a("261d"),a("5295"),a("2877")),v=Object(_["a"])(g,i,s,!1,null,"7427dc3a",null);t["a"]=v.exports},"32c4":function(e,t,a){"use strict";a("18ce")},3863:function(e,t,a){"use strict";a("4f28")},"3a82":function(e,t,a){"use strict";a("b0c0");var i=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)},s=[],n=a("f121"),o=a.n(n),r={name:"DetailedInfoIbNo",props:{dialogInfoIbNo:{type:Boolean,default:!1},infoType:{default:""},formInfo:{default:""},btn:{type:Boolean,default:!1}},data:function(){return{imgUrl:o.a.Host85,form:{},info:{CID:"",name:"",type:""}}},methods:{close:function(){this.$emit("close",!1)}},mounted:function(){},watch:{formInfo:function(){this.form=this.formInfo}}},l=r,c=(a("ebd6"),a("a2fa"),a("2877")),d=Object(c["a"])(l,i,s,!1,null,"39a3abd0",null);t["a"]=d.exports},"3e6a":function(e,t,a){},"4f28":function(e,t,a){},5295:function(e,t,a){"use strict";a("ccf3")},6003:function(e,t,a){},"63f1":function(e,t,a){"use strict";a.r(t);a("b0c0"),a("ac1f"),a("841c"),a("498a");var i=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.pictLoading,expression:"pictLoading"}],staticClass:"view",attrs:{id:"customer_Agent","element-loading-background":"rgba(43, 48, 67, 0.65)","element-loading-spinner":"el-icon-loading"}},[t("div",{staticClass:"crm_search"},[t("el-form",{ref:"form",attrs:{"label-position":"",model:e.search,"label-width":""}},[t("el-row",[t("el-col",{attrs:{span:24,md:24,lg:24}},[t("el-form-item",[t("el-select",{staticClass:"crm_search_down crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.search.tag,callback:function(t){e.$set(e.search,"tag",t)},expression:"search.tag"}},[t("el-option",{attrs:{label:"CID",value:1}}),t("el-option",{attrs:{label:e.$t("Apply_info.VerifiedUser.Email"),value:2}}),t("el-option",{attrs:{label:e.$t("Label.AgentNumber"),value:3}}),t("el-option",{attrs:{label:e.$t("Label.Name"),value:4}}),t("el-option",{attrs:{label:e.$t("Label.Encode"),value:5}})],1)],1),t("el-form-item",{staticStyle:{"margin-right":"10px"}},[1==e.search.tag?t("el-input",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Input")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toSearch.apply(null,arguments)}},model:{value:e.search.cId,callback:function(t){e.$set(e.search,"cId","string"===typeof t?t.trim():t)},expression:"search.cId"}}):e._e(),2==e.search.tag?t("el-input",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Input")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toSearch.apply(null,arguments)}},model:{value:e.search.email,callback:function(t){e.$set(e.search,"email","string"===typeof t?t.trim():t)},expression:"search.email"}}):e._e(),3==e.search.tag?t("el-input",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Input")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toSearch.apply(null,arguments)}},model:{value:e.search.ibNo,callback:function(t){e.$set(e.search,"ibNo","string"===typeof t?t.trim():t)},expression:"search.ibNo"}}):e._e(),4==e.search.tag?t("el-input",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Input")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toSearch.apply(null,arguments)}},model:{value:e.search.name,callback:function(t){e.$set(e.search,"name",t)},expression:"search.name"}}):e._e(),5==e.search.tag?t("el-input",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Input")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toSearch.apply(null,arguments)}},model:{value:e.search.salesNo,callback:function(t){e.$set(e.search,"salesNo","string"===typeof t?t.trim():t)},expression:"search.salesNo"}}):e._e()],1),t("el-form-item",[t("el-date-picker",{staticClass:"crm_date_pick crm-border-radius-no",attrs:{type:"daterange",align:"right","unlink-panels":"","value-format":"yyyy-MM-dd","range-separator":"-",size:"small","start-placeholder":e.$t("Placeholder.Start"),"end-placeholder":e.$t("Placeholder.End")},model:{value:e.search.date,callback:function(t){e.$set(e.search,"date",t)},expression:"search.date"}}),t("el-button",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",icon:"el-icon-search"},on:{click:e.toSearch}})],1)],1)],1),t("el-form-item",[t("div",{staticClass:"search_action_btn"})]),t("el-form-item",[e.display["R-Agent-Export"].show?t("el-button",{staticStyle:{"margin-left":"8px"},attrs:{type:"primary",size:"small"},on:{click:e.exportAgents}},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Export",expression:"'Btn.Export'"}]})]):e._e()],1)],1)],1),t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.mock_tableData,stripe:""}},[t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.CidAccount")},scopedSlots:e._u([{key:"default",fn:function(a){return[a.row.cId&&e.display["R-Agent-Single"].show?t("span",{staticClass:"crm-text-underline",on:{click:function(t){return e.accountOpen(a.row.cId)}}},[e._v(e._s(a.row.cId||"--"))]):t("span",[e._v(e._s(a.row.cId||"--"))])]}}])}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.AttributionNumber")},scopedSlots:e._u([{key:"default",fn:function(a){return[a.row.pIbNo&&e.display["R-Agent-Single"].show?t("span",{staticClass:"crm-text-underline",on:{click:function(t){return e.agentOpen(a.row.pIbNo)}}},[e._v(e._s(a.row.pIbNo||"--"))]):t("span",[e._v(e._s(a.row.pIbNo||"--"))])]}}])}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.AgentNumber")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.ibNo||"--")+" ")]}}])}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Encode")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.salesNo||"--")+" ")]}}])}),t("el-table-column",{attrs:{prop:"title",align:"left",label:e.$i18n.t("Label.Level")},scopedSlots:e._u([{key:"default",fn:function(a){return[1e3==a.row.agentLevel?t("span",{directives:[{name:"t",rawName:"v-t",value:"Label.Level1",expression:"'Label.Level1'"}]}):e._e(),1001==a.row.agentLevel?t("span",{directives:[{name:"t",rawName:"v-t",value:"Label.Level2",expression:"'Label.Level2'"}]}):e._e(),1002==a.row.agentLevel?t("span",{directives:[{name:"t",rawName:"v-t",value:"Label.Level3",expression:"'Label.Level3'"}]}):e._e(),1003==a.row.agentLevel?t("span",{directives:[{name:"t",rawName:"v-t",value:"Label.Level4",expression:"'Label.Level4'"}]}):e._e(),1004==a.row.agentLevel?t("span",{directives:[{name:"t",rawName:"v-t",value:"Label.Level5",expression:"'Label.Level5'"}]}):e._e(),1005==a.row.agentLevel?t("span",{directives:[{name:"t",rawName:"v-t",value:"Label.Level6",expression:"'Label.Level6'"}]}):e._e(),1006==a.row.agentLevel?t("span",{directives:[{name:"t",rawName:"v-t",value:"Label.Level7",expression:"'Label.Level7'"}]}):e._e(),1007==a.row.agentLevel?t("span",{directives:[{name:"t",rawName:"v-t",value:"Label.Level8",expression:"'Label.Level8'"}]}):e._e(),1008==a.row.agentLevel?t("span",{directives:[{name:"t",rawName:"v-t",value:"Label.Level9",expression:"'Label.Level9'"}]}):e._e(),1009==a.row.agentLevel?t("span",{directives:[{name:"t",rawName:"v-t",value:"Label.Level10",expression:"'Label.Level10'"}]}):e._e(),a.row.agentLevel?e._e():t("span",[e._v(e._s("--"))])]}}])}),t("el-table-column",{attrs:{prop:"title",align:"left",label:e.$i18n.t("Label.Name")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.name||"--")+" ")]}}])}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Email")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.email||"--")+" ")]}}])}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Region")},scopedSlots:e._u([{key:"default",fn:function(a){return["cn"==e.Session.Get("lang")?t("span",[e._v(e._s(a.row.groupName||"--"))]):e._e(),"cn"!=e.Session.Get("lang")?t("span",[e._v(e._s(a.row.groupEnName||"--"))]):e._e()]}}])}),t("el-table-column",{attrs:{prop:"balance",sortable:"",align:"left",label:e.$i18n.t("Label.CommissionBalance")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" $"+e._s(t.row.balance||"0")+" ")]}}])}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.ApplyTime")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.addTime||"--")+" ")]}}])}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("R-Agent-pammManagerValid")},scopedSlots:e._u([{key:"default",fn:function(e){return[1==e.row.pammManagerValid?t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Yes",expression:"'Btn.Yes'"}]}):t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.No",expression:"'Btn.No'"}]})]}}])}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("R-Agent-PAMMValid")},scopedSlots:e._u([{key:"default",fn:function(e){return[1==e.row.pammValid?t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Yes",expression:"'Btn.Yes'"}]}):t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.No",expression:"'Btn.No'"}]})]}}])}),e.display["R-Agent-CloseFunction"].show?t("el-table-column",{attrs:{prop:"",align:"center",width:"120",label:e.$i18n.t("news_add_field.Label.CloseFunction")},scopedSlots:e._u([{key:"default",fn:function(a){return["-1"!=a.row.closeFunctions.indexOf("5")?t("span",{},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Enter_info.type_dynamic9",expression:"'Enter_info.type_dynamic9'"}]}),t("span",[e._v(",")])]):e._e(),a.row.closeFunctions.length?e._e():t("span",[e._v(e._s("--"))])]}}],null,!1,3571498456)}):e._e(),t("el-table-column",{attrs:{prop:"",align:"center",width:"120",label:e.$i18n.t("R-IB-Agent-AccountSetup")},scopedSlots:e._u([{key:"default",fn:function(a){return[1==a.row.agentAccountSetting?t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Open",expression:"'Btn.Open'"}],staticClass:"state crm_state_blue"}):e._e(),0==a.row.agentAccountSetting?t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Close",expression:"'Btn.Close'"}],staticClass:"state crm_state_red"}):e._e()]}}])}),t("el-table-column",{attrs:{prop:"",align:"center",width:"120",label:e.$i18n.t("Label.State")},scopedSlots:e._u([{key:"default",fn:function(a){return[1==a.row.valid?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Normal",expression:"'State.Normal'"}],staticClass:"state crm_state_blue"}):e._e(),0==a.row.valid?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Freeze",expression:"'State.Freeze'"}],staticClass:"state crm_state_red"}):e._e()]}}])}),t("el-table-column",{attrs:{prop:"",align:"center",label:e.$i18n.t("Label.Action")},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleCommand}},[t("span",{staticClass:"el-dropdown-link crm-cursor"},[t("i",{staticClass:"iconfont iconcaidan",staticStyle:{"font-weight":"bold","font-size":"20px"}})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e.display["R-Agent-Delete"].show?t("el-dropdown-item",{attrs:{command:{type:"delete",id:a.row.id}}},[t("i",{staticClass:"el-icon-delete"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Delete",expression:"'Btn.Delete'"}]})]):e._e(),e.display["R-Agent-Action"].show?t("el-dropdown-item",{attrs:{command:{type:"balance",row:a.row}}},[t("i",{staticClass:"el-icon-s-tools"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.BalanceOperating",expression:"'Btn.BalanceOperating'"}]})]):e._e(),e.display["R-Agent-Hide"].show?t("el-dropdown-item",{attrs:{command:{type:"hide",row:a.row}}},[t("i",{staticClass:"el-icon-setting"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Hide",expression:"'Btn.Hide'"}]})]):e._e(),e.display["R-Agent-Commission"].show?t("el-dropdown-item",{attrs:{command:{type:"commission",row:a.row}}},[t("i",{staticClass:"el-icon-finished"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"R-Agent-Commission",expression:"'R-Agent-Commission'"}]})]):e._e(),e.display["R-Agent-Rebate"].show?t("el-dropdown-item",{attrs:{command:{type:"Rebate",row:a.row}}},[t("i",{staticClass:"el-icon-search"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"R-Agent-Rebate",expression:"'R-Agent-Rebate'"}]})]):e._e(),e.display["R-Agent-AdjustmentAttribution"].show?t("el-dropdown-item",{attrs:{command:{type:"Adjustment",row:a.row}}},[t("i",{staticClass:"el-icon-s-custom"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"R-Agent-AdjustmentAttribution",expression:"'R-Agent-AdjustmentAttribution'"}]})]):e._e(),e.display["R-Agent-Frozen"].show?t("el-dropdown-item",{attrs:{command:{type:"frozen",row:a.row}}},[t("i",{staticClass:"el-icon-lock"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"R-Agent-Frozen",expression:"'R-Agent-Frozen'"}]})]):e._e(),e.display["R-Notice-Send"].show?t("el-dropdown-item",{attrs:{command:{type:"notice",row:a.row}}},[t("i",{staticClass:"el-icon-s-promotion"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"R-Notice",expression:"'R-Notice'"}]})]):e._e(),e.display["R-Agent-GroupSettings"].show?t("el-dropdown-item",{attrs:{command:{type:"group",row:a.row}}},[t("i",{staticClass:"el-icon-price-tag"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"R-Agent-GroupSettings",expression:"'R-Agent-GroupSettings'"}]})]):e._e(),e.display["R-IB-Agent-AccountSetup"].show?t("el-dropdown-item",{attrs:{command:{type:"ibAccount",row:a.row}}},[t("i",{staticClass:"el-icon-circle-plus-outline"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"R-IB-Agent-AccountSetup",expression:"'R-IB-Agent-AccountSetup'"}]})]):e._e(),e.display["R-Agent-pammManagerValid"].show?t("el-dropdown-item",{attrs:{command:{type:"pammManagerValid",row:a.row}}},[t("i",{staticClass:"el-icon-user"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"R-Agent-pammManagerValid",expression:"'R-Agent-pammManagerValid'"}]})]):e._e(),e.display["R-Agent-PAMMValid"].show?t("el-dropdown-item",{attrs:{command:{type:"PAMMValid",row:a.row}}},[t("i",{staticClass:"el-icon-user-solid"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"R-Agent-PAMMValid",expression:"'R-Agent-PAMMValid'"}]})]):e._e(),e.display["R-Agent-Transfer"].show?t("el-dropdown-item",{attrs:{command:{type:"agentTansfer",row:a.row}}},[t("i",{staticClass:"el-icon-refresh"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"R-Agent-Transfer",expression:"'R-Agent-Transfer'"}]})]):e._e(),e.display["R-Agent-CloseFunction"].show?t("el-dropdown-item",{attrs:{command:{type:"CloseFunction",row:a.row}}},[t("i",{staticClass:"el-icon-error"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"R-Agent-CloseFunction",expression:"'R-Agent-CloseFunction'"}]})]):e._e(),t("el-dropdown-item",{attrs:{command:{type:"Level",row:a.row}}},[t("i",{staticClass:"el-icon-search"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"R-Agent-Level",expression:"'R-Agent-Level'"}]})]),1===a.row.levelNum&&e.display["R-Agent-black"].show?t("el-dropdown-item",{attrs:{command:{type:"Hid",row:a.row}}},[t("i",{staticClass:"el-icon-search"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"R-Agent-black",expression:"'R-Agent-black'"}]})]):e._e()],1)],1)]}}])})],1),e.pagerInfo.rowTotal?t("div",{staticClass:"crm_pagination"},[t("div",{staticClass:"crm_page_total"},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Page.total.item1",expression:"'Page.total.item1'"}]}),t("span",[e._v(e._s(e.pagerInfo.rowTotal))]),t("span",{directives:[{name:"t",rawName:"v-t",value:"Page.total.item2",expression:"'Page.total.item2'"}]})]),t("el-pagination",{staticClass:"page",attrs:{background:"",layout:"sizes, prev, pager, next","page-sizes":[10,20,50,100],"page-size":e.pagerInfo.row,total:e.pagerInfo.rowTotal},on:{"current-change":e.handleCurrentChange,"size-change":e.handleSizeChange}})],1):e._e(),t("el-dialog",{attrs:{title:e.dialogCheckTit,visible:e.dialogCheck,center:"","custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogCheck=t}}},[t("div",{staticClass:"dia-content"},[t("el-form",{ref:"dialogCheck_form",staticClass:"dialogCheck_form",attrs:{model:e.dialogCheck_form,rules:e.rules,"label-width":"190px"}},[t("el-form-item",{attrs:{prop:"",label:e.$t("Label.AgentNumber")+":"}},[e._v(" "+e._s(e.dialogCheck_form.ibNo)+" ")]),0==e.dialogCheck_form.hideType?t("el-form-item",{attrs:{prop:"type",label:e.$t("Label.ActionType")+":"}},[t("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.dialogCheck_form.type,callback:function(t){e.$set(e.dialogCheck_form,"type",t)},expression:"dialogCheck_form.type"}},[t("el-option",{attrs:{label:e.$t("Customer_info.Agent.Add"),value:1}}),t("el-option",{attrs:{label:e.$t("Customer_info.Agent.Reduce"),value:2}})],1)],1):e._e(),0==e.dialogCheck_form.hideType?t("el-form-item",{attrs:{prop:"balanceType",label:e.$t("Label.CommissionType")+":"}},[t("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.dialogCheck_form.balanceType,callback:function(t){e.$set(e.dialogCheck_form,"balanceType",t)},expression:"dialogCheck_form.balanceType"}},[t("el-option",{attrs:{label:e.$t("Customer_info.Agent.OutsideCommission"),value:1}}),t("el-option",{attrs:{label:e.$t("Customer_info.Agent.Commission"),value:2}})],1)],1):e._e(),0==e.dialogCheck_form.hideType?t("el-form-item",{attrs:{prop:"amount",label:e.$t("Label.Amount")+":"}},[t("el-input",{attrs:{size:"small",placeholder:e.$t("Placeholder.Input")},model:{value:e.dialogCheck_form.amount,callback:function(t){e.$set(e.dialogCheck_form,"amount","string"===typeof t?t.trim():t)},expression:"dialogCheck_form.amount"}})],1):e._e(),0==e.dialogCheck_form.hideType?t("el-form-item",{attrs:{prop:"comment",label:e.$t("Label.Descr")+":"}},[t("el-input",{attrs:{size:"small",placeholder:e.$t("Placeholder.Input")},model:{value:e.dialogCheck_form.comment,callback:function(t){e.$set(e.dialogCheck_form,"comment",t)},expression:"dialogCheck_form.comment"}})],1):e._e(),1==e.dialogCheck_form.hideType?t("el-form-item",{attrs:{prop:"hide",label:e.$t("Label.Hide")+":"},on:{change:e.selectChange}},[t("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.hide,callback:function(t){e.$set(e.dialogCheck_form,"hide",t)},expression:"dialogCheck_form.hide"}},[t("el-option",{attrs:{label:0,value:0}}),t("el-option",{attrs:{label:5,value:5}}),t("el-option",{attrs:{label:10,value:10}}),t("el-option",{attrs:{label:15,value:15}}),t("el-option",{attrs:{label:20,value:20}}),t("el-option",{attrs:{label:30,value:30}})],1)],1):e._e(),2==e.dialogCheck_form.hideType?t("el-form-item",{attrs:{prop:"",label:e.$t("Label.State")+":"}},[t("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.commissionApproval,callback:function(t){e.$set(e.dialogCheck_form,"commissionApproval",t)},expression:"dialogCheck_form.commissionApproval"}},[t("el-option",{attrs:{label:e.$t("Btn.No"),value:0}}),t("el-option",{attrs:{label:e.$t("Btn.Yes"),value:1}})],1)],1):e._e(),3==e.dialogCheck_form.hideType?t("div",[t("el-form-item",{attrs:{prop:"",label:e.$t("Apply_info.VerifiedUser.Type")+":"}},[e._v(" "+e._s(e.dialogCheck_form.typeName||"--")+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$t("system_info.Label.TemplateName")+":"}},[e._v(" "+e._s(e.dialogCheck_form.templateName||"--")+" ")]),2==e.dialogCheck_form.type?t("el-form-item",{attrs:{prop:"",label:e.$t("Label.AgentNumber")+":"}},[e._v(" %"+e._s(e.dialogCheck_form.percent)+" ")]):e._e(),1==e.dialogCheck_form.type?t("div",[t("el-form-item",{attrs:{prop:"",label:e.$i18n.t("AccountType.ClassicAccount")+"(Forex):"}},[e._v(" "+e._s(e.dialogCheck_form.classicFx)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$i18n.t("AccountType.SeniorAccount")+"(Forex):"}},[e._v(" "+e._s(e.dialogCheck_form.vipFx)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$i18n.t("AccountType.StandardAccount")+"(Forex):"}},[e._v(" "+e._s(e.dialogCheck_form.standardFx)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$i18n.t("AccountType.CentAccount")+"(Forex):"}},[e._v(" "+e._s(e.dialogCheck_form.centFx)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$i18n.t("AccountType.ClassicAccount")+"(CFD):"}},[e._v(" "+e._s(e.dialogCheck_form.classicCfd)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$i18n.t("AccountType.SeniorAccount")+"(CFD):"}},[e._v(" "+e._s(e.dialogCheck_form.vipCfd)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$i18n.t("AccountType.StandardAccount")+"(CFD):"}},[e._v(" "+e._s(e.dialogCheck_form.standardCfd)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$i18n.t("AccountType.CentAccount")+"(CFD):"}},[e._v(" "+e._s(e.dialogCheck_form.centCfd)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$i18n.t("AccountType.ClassicAccount")+"(Index):"}},[e._v(" "+e._s(e.dialogCheck_form.classicIndex)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$i18n.t("AccountType.SeniorAccount")+"(Index):"}},[e._v(" "+e._s(e.dialogCheck_form.vipIndex)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$i18n.t("AccountType.StandardAccount")+"(Index):"}},[e._v(" "+e._s(e.dialogCheck_form.standardIndex)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$i18n.t("AccountType.ClassicAccount")+"(Metal):"}},[e._v(" "+e._s(e.dialogCheck_form.classicMetal)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$i18n.t("AccountType.SeniorAccount")+"(Metal):"}},[e._v(" "+e._s(e.dialogCheck_form.vipMetal)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$i18n.t("AccountType.StandardAccount")+"(Metal):"}},[e._v(" "+e._s(e.dialogCheck_form.standardMetal)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$i18n.t("AccountType.CentAccount")+"(Metal):"}},[e._v(" "+e._s(e.dialogCheck_form.centMetal)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$i18n.t("Label.OutsideCommission")+"(+10):"}},[e._v(" "+e._s(e.dialogCheck_form.comPointOne)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$i18n.t("Label.OutsideCommission")+"(+20):"}},[e._v(" "+e._s(e.dialogCheck_form.comPointTwo)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$i18n.t("Label.OutsideCommission")+"(+30):"}},[e._v(" "+e._s(e.dialogCheck_form.comPointThree)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$i18n.t("AccountType.NewSpeedAccount")+"(Forex):"}},[e._v(" "+e._s(e.dialogCheck_form.instantFx)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$i18n.t("AccountType.NewSpeedAccount")+"(Metal):"}},[e._v(" "+e._s(e.dialogCheck_form.instantMetal)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$i18n.t("AccountType.NewSpeedAccount")+"(Index):"}},[e._v(" "+e._s(e.dialogCheck_form.instantIndex)+" ")])],1):e._e(),t("el-form-item",{attrs:{prop:"",label:e.$t("Label.ProcessingDate")+":"}},[e._v(" "+e._s(e.dialogCheck_form.validTime||"--")+" ")])],1):e._e(),5==e.dialogCheck_form.hideType?t("el-form-item",{attrs:{prop:"amount",label:e.$t("Label.AmountMoney")+":"}},[t("el-input",{attrs:{size:"small",placeholder:e.$t("Placeholder.Input")},model:{value:e.dialogCheck_form.amount,callback:function(t){e.$set(e.dialogCheck_form,"amount","string"===typeof t?t.trim():t)},expression:"dialogCheck_form.amount"}})],1):e._e(),5==e.dialogCheck_form.hideType?t("el-form-item",{attrs:{prop:"type",label:e.$t("Label.State")+":"}},[t("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.type,callback:function(t){e.$set(e.dialogCheck_form,"type",t)},expression:"dialogCheck_form.type"}},[t("el-option",{attrs:{label:e.$t("news_add_field.State.Frozen"),value:1}}),t("el-option",{attrs:{label:e.$t("news_add_field.State.Thaw"),value:2}})],1)],1):e._e(),6==e.dialogCheck_form.hideType?t("div",[t("el-form-item",{attrs:{prop:"selectLoginTypes",label:e.$t("news_add_field.Label.SelectAccountType")+":"}},[t("el-select",{staticClass:"crm_search_down",attrs:{size:"small",multiple:"",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.selectLoginTypes,callback:function(t){e.$set(e.dialogCheck_form,"selectLoginTypes",t)},expression:"dialogCheck_form.selectLoginTypes"}},[t("el-option",{attrs:{label:e.$t("AccountType.ClassicAccount"),value:"1"}}),t("el-option",{attrs:{label:e.$t("AccountType.SeniorAccount"),value:"2"}}),t("el-option",{attrs:{label:e.$t("AccountType.SpeedAccount"),value:"5"}}),t("el-option",{attrs:{label:e.$t("AccountType.NewSpeedAccount"),value:"6"}}),t("el-option",{attrs:{label:e.$t("AccountType.StandardAccount"),value:"7"}}),t("el-option",{attrs:{label:e.$t("AccountType.CentAccount"),value:"8"}})],1)],1),t("el-form-item",{attrs:{prop:"excludeLoginTypes",label:e.$t("news_add_field.Label.ExclusionAccountType")+":"}},[t("el-select",{staticClass:"crm_search_down",attrs:{size:"small",multiple:"",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.excludeLoginTypes,callback:function(t){e.$set(e.dialogCheck_form,"excludeLoginTypes",t)},expression:"dialogCheck_form.excludeLoginTypes"}},[t("el-option",{attrs:{label:e.$t("AccountType.ClassicAccount"),value:"1"}}),t("el-option",{attrs:{label:e.$t("AccountType.SeniorAccount"),value:"2"}}),t("el-option",{attrs:{label:e.$t("AccountType.SpeedAccount"),value:"5"}}),t("el-option",{attrs:{label:e.$t("AccountType.NewSpeedAccount"),value:"6"}}),t("el-option",{attrs:{label:e.$t("AccountType.StandardAccount"),value:"7"}}),t("el-option",{attrs:{label:e.$t("AccountType.CentAccount"),value:"8"}})],1)],1),t("el-form-item",{attrs:{prop:"selectGroupType",label:e.$t("news_add_field.Label.SelectGroupType")+":"}},[t("el-select",{staticClass:"crm_search_down",attrs:{size:"small",clearable:"",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.selectGroupType,callback:function(t){e.$set(e.dialogCheck_form,"selectGroupType",t)},expression:"dialogCheck_form.selectGroupType"}},e._l(e.groupType_options,(function(a){return t("el-option",{key:a.name,attrs:{label:"cn"==e.Session.Get("lang")?a.name:a.enName,value:a.id}})})),1)],1),t("el-form-item",{attrs:{prop:"defaultGroupType",label:e.$t("news_add_field.Label.DefaultGroupType")+":"}},[t("el-select",{staticClass:"crm_search_down",attrs:{size:"small",clearable:"",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.defaultGroupType,callback:function(t){e.$set(e.dialogCheck_form,"defaultGroupType",t)},expression:"dialogCheck_form.defaultGroupType"}},e._l(e.groupType_options,(function(a){return t("el-option",{key:a.name,attrs:{label:"cn"==e.Session.Get("lang")?a.name:a.enName,value:a.id}})})),1)],1)],1):e._e(),7==e.dialogCheck_form.hideType?t("div",[t("el-form-item",{attrs:{prop:"excludeLoginTypes",label:e.$t("news_add_field.Label.ExclusionAccountType")+":"}},[t("el-select",{staticClass:"crm_search_down",attrs:{size:"small",multiple:"",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.excludeShowLoginTypes,callback:function(t){e.$set(e.dialogCheck_form,"excludeShowLoginTypes",t)},expression:"dialogCheck_form.excludeShowLoginTypes"}},[t("el-option",{attrs:{label:e.$t("AccountType.ClassicAccount"),value:"1"}}),t("el-option",{attrs:{label:e.$t("AccountType.SeniorAccount"),value:"2"}}),t("el-option",{attrs:{label:e.$t("AccountType.SpeedAccount"),value:"5"}}),t("el-option",{attrs:{label:e.$t("AccountType.NewSpeedAccount"),value:"6"}}),t("el-option",{attrs:{label:e.$t("AccountType.StandardAccount"),value:"7"}}),t("el-option",{attrs:{label:e.$t("AccountType.CentAccount"),value:"8"}})],1)],1)],1):e._e(),8==e.dialogCheck_form.hideType?t("el-form-item",{attrs:{prop:"",label:e.$t("Label.State")+":"}},[t("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.pammManagerValid,callback:function(t){e.$set(e.dialogCheck_form,"pammManagerValid",t)},expression:"dialogCheck_form.pammManagerValid"}},[t("el-option",{attrs:{label:e.$t("Btn.No"),value:0}}),t("el-option",{attrs:{label:e.$t("Btn.Yes"),value:1}})],1)],1):e._e(),10==e.dialogCheck_form.hideType?t("el-form-item",{attrs:{prop:"",label:e.$t("Label.State")+":"}},[t("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.pammValid,callback:function(t){e.$set(e.dialogCheck_form,"pammValid",t)},expression:"dialogCheck_form.pammValid"}},[t("el-option",{attrs:{label:e.$t("Btn.No"),value:0}}),t("el-option",{attrs:{label:e.$t("Btn.Yes"),value:1}})],1)],1):e._e(),11==e.dialogCheck_form.hideType?t("el-form-item",{attrs:{prop:"",label:e.$t("R-IB-Agent-AccountSetup")+":"}},[t("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.agentAccountSetting,callback:function(t){e.$set(e.dialogCheck_form,"agentAccountSetting",t)},expression:"dialogCheck_form.agentAccountSetting"}},[t("el-option",{attrs:{label:e.$t("Btn.Close"),value:0}}),t("el-option",{attrs:{label:e.$t("Btn.Open"),value:1}})],1)],1):e._e(),12==e.dialogCheck_form.hideType?t("el-form-item",{attrs:{prop:"",label:e.$t("R-Agent-Transfer")+":"}},[t("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.agentTansfer,callback:function(t){e.$set(e.dialogCheck_form,"agentTansfer",t)},expression:"dialogCheck_form.agentTansfer"}},[t("el-option",{attrs:{label:e.$t("Btn.Close"),value:0}}),t("el-option",{attrs:{label:e.$t("Btn.Open"),value:1}})],1)],1):e._e(),9==e.dialogCheck_form.hideType?t("el-form-item",{attrs:{prop:"closeFunctions",label:e.$t("news_add_field.Label.CloseFunction")+":"}},[t("el-select",{staticClass:"crm_search_down",attrs:{size:"small",multiple:"",clearable:"",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.closeFunctions,callback:function(t){e.$set(e.dialogCheck_form,"closeFunctions",t)},expression:"dialogCheck_form.closeFunctions"}},[t("el-option",{attrs:{label:e.$t("Enter_info.type_dynamic9"),value:"5"}})],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.dialogCheckTit,visible:e.dialogCheck1,center:"","close-on-click-modal":!1,"custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogCheck1=t}}},[t("div",{staticClass:"dia-content"},[t("el-form",{ref:"dialogCheck_form",staticClass:"dialogCheck_form",attrs:{model:e.dialogCheck_form1,rules:e.rules,"label-width":"190px"}},[t("el-form-item",{attrs:{prop:"",label:e.$t("Label.AgentNumber")+":"}},[e._v(" "+e._s(e.dialogCheck_form1.ibNo)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$t("Label.AttributionNumber")+":"}},[e._v(" "+e._s(e.dialogCheck_form1.pIbNo)+" ")]),t("el-form-item",{attrs:{prop:"",label:""}},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("el-input",{staticClass:"crm-border-radius-no",attrs:{placeholder:e.$t("Placeholder.Input"),size:"small"},model:{value:e.dialogCheck_form.newIb,callback:function(t){e.$set(e.dialogCheck_form,"newIb","string"===typeof t?t.trim():t)},expression:"dialogCheck_form.newIb"}}),t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Search",expression:"'Btn.Search'"}],staticClass:"dialogCheckSearch crm-cursor crm_state_blue",on:{click:function(t){return e.searchIbTreeSearch(e.dialogCheck_form.newIb)}}})],1)]),t("el-form-item",{attrs:{prop:"",label:e.$t("Label.NewAttributionNumber")+":"}},[t("el-cascader",{staticClass:"crm_search_down",attrs:{props:e.props,options:e.agentId_options,placeholder:e.$t("Placeholder.Choose"),size:"small"},on:{"expand-change":e.handleItemChange},scopedSlots:e._u([{key:"default",fn:function(a){a.node;var i=a.data;return[t("div",[t("span",[e._v(e._s(i.label))]),i.name?t("span",[e._v(" - "+e._s(i.name)+" ")]):e._e()])]}}]),model:{value:e.dialogCheck_form1.agentId,callback:function(t){e.$set(e.dialogCheck_form1,"agentId",t)},expression:"dialogCheck_form1.agentId"}})],1),e.hidStatus?t("el-form-item",{attrs:{prop:"fixedHide",label:e.$t("Label.fixedHide")+":"}},[t("el-radio-group",{model:{value:e.dialogCheck_form1.fixedHide,callback:function(t){e.$set(e.dialogCheck_form1,"fixedHide",t)},expression:"dialogCheck_form1.fixedHide"}},[t("el-radio",{attrs:{label:0}},[e._v(e._s(e.$t("Btn.No")))]),t("el-radio",{attrs:{label:1}},[e._v(e._s(e.$t("Btn.Yes")))])],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("R-Agent-Level"),visible:e.dialogCheck1level,center:"","close-on-click-modal":!1,"custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogCheck1level=t}}},[t("div",{staticClass:"dia-content"},[t("el-table",{key:e.indexLeval,staticStyle:{width:"100%","margin-bottom":"20px"},attrs:{data:e.agentId_level,stripe:"","row-key":"id",lazy:"",load:e.load,"tree-props":{children:"children",hasChildren:"hasChildren"}}},[t("el-table-column",{attrs:{prop:"",label:"CID"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.cId||"--")+" ")]}}])}),t("el-table-column",{attrs:{prop:"",label:e.$i18n.t("Label.AgentNumber")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.ibNo||"--")+" ")]}}])}),t("el-table-column",{attrs:{prop:"",label:e.$i18n.t("Label.Name")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.name||"--")+" ")]}}])})],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){e.dialogCheck1level=!1}}}),t("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:function(t){e.dialogCheck1level=!1}}})],1)],1)]),t("detailed-info-cid",{attrs:{dialogInfoCid:e.dialogInfoCid,formInfo:e.formInfo},on:{close:e.close}}),e.dialogInfoCid?t("div",{staticClass:"crm_verified_info_mask",on:{click:e.closeDia}}):e._e(),t("detailed-info-ibNo",{attrs:{dialogInfoIbNo:e.dialogInfoPIbNo,formInfo:e.formInfoPib},on:{close:e.close}}),e.dialogInfoPIbNo?t("div",{staticClass:"crm_verified_info_mask",on:{click:e.closeDia}}):e._e(),t("el-dialog",{attrs:{title:e.$t("Label.fixedHide"),visible:e.dialogFixedHide,center:"","close-on-click-modal":!1,"custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogFixedHide=t}}},[t("div",{staticClass:"dia-content"},[t("el-form",{ref:"dialogFixedHide_form",staticClass:"dialogCheck_form",attrs:{model:e.dialogFixedHide_form,rules:e.rules,"label-width":"190px"}},[t("el-form-item",{attrs:{prop:"fixedHide",label:e.$t("Label.fixedHide")+":"}},[t("el-radio-group",{model:{value:e.dialogFixedHide_form.fixedHide,callback:function(t){e.$set(e.dialogFixedHide_form,"fixedHide",t)},expression:"dialogFixedHide_form.fixedHide"}},[t("el-radio",{attrs:{label:0}},[e._v(e._s(e.$t("Btn.No")))]),t("el-radio",{attrs:{label:1}},[e._v(e._s(e.$t("Btn.Yes")))])],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:e.submitFixedHide}}),t("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:function(t){e.dialogFixedHide=!1}}})],1)],1)])],1)},s=[],n=a("b85c"),o=a("5530"),r=a("c7eb"),l=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("bc3a")),d=a.n(c),p=a("5217"),m=a("f121"),u=a.n(m),f=a("2d59"),h=a("3a82"),g=u.a.Code,_={name:"Agent",inject:["reload"],components:{DetailedInfoCid:f["a"],DetailedInfoIbNo:h["a"]},data:function(){return{hidStatus:!1,flag:!1,pictLoading:!1,mock_tableData:[],search:{tag:1,cId:"",email:"",ibNo:"",name:"",salesNo:"",date:[],startDate:"",endDate:""},tag_options:[{name:this.$i18n.t("Web_info.All"),id:" "},{name:this.$i18n.t("Web_info.Announcement"),id:"1"},{name:this.$i18n.t("Web_info.Notice"),id:"2"},{name:this.$i18n.t("Web_info.Announcement"),id:"3"},{name:this.$i18n.t("Web_info.Notice"),id:"4"}],dialogInfo:!1,dialogInfoCid:!1,dialogInfoPIbNo:!1,infoType:"",formInfo:{},formInfoPib:{},groupType_options:{},value:null,agentId_options:[],props:{value:"value",children:"children",checkStrictly:!0},child:[],dialogCheck1:!1,dialogCheck_form1:{agentId:[],hide:"",fixedHide:null},dialogCheck:!1,dialogCheck_form:{},dialogCheckTit:"",dialogCheck1level:!1,agentId_level:[],indexLeval:0,pagerInfo:{row:10,current:1,pageTotal:0,rowTotal:0},rules:{amount:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}],type:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}],balanceType:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}],comment:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}]},dialogFixedHide:!1,dialogFixedHide_form:{id:null,fixedHide:0,hide:null}}},computed:{display:function(){return JSON.parse(this.Session.Get("display",!0))}},methods:{selectChange:function(){this.$forceUpdate()},handleCommand:function(e){"editor"==e.type?(this.dialogInfoTradingAdd=!0,this.editor=1,this.btn=1):"delete"==e.type?this.delete(e.id):"balance"==e.type?(this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck_form={},this.dialogCheck=!0,this.dialogCheckTit=this.$i18n.t("Customer_info.Agent.Title"),this.dialogCheck_form.hideType=0,this.dialogCheck_form.agentId=e.row.id,this.dialogCheck_form.ibNo=e.row.ibNo):"hide"==e.type?(this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck_form={},this.dialogCheck=!0,this.dialogCheckTit=this.$i18n.t("R-Agent-Hide"),this.dialogCheck_form.hideType=1,this.dialogCheck_form.id=e.row.id,this.dialogCheck_form.hide=e.row.hide,this.dialogCheck_form.ibNo=e.row.ibNo):"commission"==e.type?(this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck_form={},this.dialogCheck=!0,this.dialogCheckTit=this.$i18n.t("R-Agent-Commission"),this.dialogCheck_form.hideType=2,this.dialogCheck_form.id=e.row.id,this.dialogCheck_form.commissionApproval=e.row.commissionApproval,this.dialogCheck_form.ibNo=e.row.ibNo):"Rebate"==e.type?(this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck_form={},this.dialogCheckTit=this.$i18n.t("R-Agent-Rebate"),this.dialogCheck_form.id=e.row.id,this.searchPoint(this.dialogCheck_form.id,e.row.ibNo)):"Adjustment"==e.type?(this.searchIbTree(),this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck_form={},this.dialogCheckTit=this.$i18n.t("R-Agent-AdjustmentAttribution"),this.dialogCheck_form.hideType=4,this.dialogCheck1=!0,this.dialogCheck_form1.id=e.row.id,this.dialogCheck_form1.ibNo=e.row.ibNo,this.dialogCheck_form1.pIbNo=e.row.pIbNo):"frozen"==e.type?(this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck_form={},this.dialogCheck=!0,this.dialogCheckTit=this.$i18n.t("R-Agent-Frozen"),this.dialogCheck_form.hideType=5,this.dialogCheck_form.id=e.row.id,this.dialogCheck_form.ibNo=e.row.ibNo):"notice"==e.type?this.$router.push({path:"/web/notice",query:{cid:e.row.cId}}).catch((function(e){return e})):"group"==e.type?(this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck_form={},this.dialogCheckTit=this.$i18n.t("R-Agent-GroupSettings"),this.dialogCheck_form.hideType=6,this.dialogCheck_form.id=e.row.id,this.dialogCheck_form.ibNo=e.row.ibNo,this.dialogCheck_form.selectLoginTypes=e.row.selectLoginTypes,this.dialogCheck_form.excludeLoginTypes=e.row.excludeLoginTypes,this.dialogCheck_form.selectGroupType=e.row.selectGroupType,this.dialogCheck_form.defaultGroupType=e.row.defaultGroupType,this.customGroupType()):"account"==e.type?(this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck_form={},this.dialogCheckTit=this.$i18n.t("R-Agent-AccountSetup"),this.dialogCheck_form.hideType=7,this.dialogCheck_form.id=e.row.id,this.dialogCheck_form.ibNo=e.row.ibNo,this.dialogCheck_form.excludeShowLoginTypes=e.row.excludeShowLoginTypes,this.dialogCheck=!0):"ibAccount"==e.type?(this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck_form={},this.dialogCheckTit=this.$i18n.t("R-IB-Agent-AccountSetup"),this.dialogCheck_form.hideType=11,this.dialogCheck_form.id=e.row.id,this.dialogCheck_form.ibNo=e.row.ibNo,this.dialogCheck_form.agentAccountSetting=e.row.agentAccountSetting,this.dialogCheck=!0):"pammManagerValid"==e.type?(this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck_form={},this.dialogCheck=!0,this.dialogCheckTit=this.$i18n.t("R-Agent-pammManagerValid"),this.dialogCheck_form.hideType=8,this.dialogCheck_form.id=e.row.id,this.dialogCheck_form.pammManagerValid=e.row.pammManagerValid,this.dialogCheck_form.ibNo=e.row.ibNo):"CloseFunction"==e.type?(this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck_form={},this.dialogCheck=!0,this.dialogCheckTit=this.$i18n.t("R-Agent-CloseFunction"),this.dialogCheck_form.hideType=9,this.dialogCheck_form.id=e.row.id,this.dialogCheck_form.closeFunctions=e.row.closeFunctions,this.dialogCheck_form.ibNo=e.row.ibNo):"PAMMValid"==e.type?(this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck_form={},this.dialogCheck=!0,this.dialogCheckTit=this.$i18n.t("R-Agent-PAMMValid"),this.dialogCheck_form.hideType=10,this.dialogCheck_form.id=e.row.id,this.dialogCheck_form.pammValid=e.row.pammValid,this.dialogCheck_form.ibNo=e.row.ibNo):"agentTansfer"==e.type?(this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck_form={},this.dialogCheck=!0,this.dialogCheckTit=this.$i18n.t("R-Agent-Transfer"),this.dialogCheck_form.hideType=12,this.dialogCheck_form.id=e.row.id,this.dialogCheck_form.agentTansfer=e.row.agentTransfer||0,this.dialogCheck_form.ibNo=e.row.ibNo):"Level"==e.type?(this.agentId_level=[],this.dialogCheck1level=!0,this.searchIbTreeLevel(e.row.id)):"Hid"==e.type&&(this.dialogFixedHide=!0,this.dialogFixedHide_form={id:e.row.id,fixedHide:e.row.fixedHide||0,hide:e.row.hide||0})},load:function(e,t,a){var i=this;return Object(l["a"])(Object(r["a"])().mark((function t(){var s;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,p["a"].ibTree({pid:e.id});case 2:s=t.sent,s.code==g.StatusOK?null!=s.data&&(s.data.forEach((function(e){e.children=[],e.hasChildren=!0})),a(s.data||[])):(i.$pigeon.MessageError(s.msg),a([]));case 4:case"end":return t.stop()}}),t)})))()},searchIbTreeLevel:function(e){var t=this;return Object(l["a"])(Object(r["a"])().mark((function a(){var i;return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,p["a"].ibTree({pid:e});case 2:i=a.sent,i.code==g.StatusOK?null!=i.data&&(t.agentId_level=i.data||[],t.agentId_level.forEach((function(e){e.children=[],e.hasChildren=!0}))):t.$pigeon.MessageError(i.msg);case 4:case"end":return a.stop()}}),a)})))()},toVerified:function(){var e=Object(l["a"])(Object(r["a"])().mark((function e(){var t=this;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$refs["dialogCheck_form"].validate(function(){var e=Object(l["a"])(Object(r["a"])().mark((function e(a){var i,s,n,l,c,d,m,u,f,h,_,v,b;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=97;break}if(!t.flag){e.next=5;break}return e.abrupt("return");case 5:t.flag=!0;case 6:if(1!=t.dialogCheck_form.hideType){e.next=13;break}return e.next=9,p["a"].hideAction(Object(o["a"])({},t.dialogCheck_form));case 9:i=e.sent,i.code==g.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.ModifySuccess")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(i.msg)),e.next=95;break;case 13:if(0!=t.dialogCheck_form.hideType){e.next=20;break}return e.next=16,p["a"].agentAction(Object(o["a"])({},t.dialogCheck_form));case 16:s=e.sent,s.code==g.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.ModifySuccess")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(s.msg)),e.next=95;break;case 20:if(2!=t.dialogCheck_form.hideType){e.next=27;break}return e.next=23,p["a"].commissionAction(Object(o["a"])({},t.dialogCheck_form));case 23:n=e.sent,n.code==g.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.ModifySuccess")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(n.msg)),e.next=95;break;case 27:if(3!=t.dialogCheck_form.hideType){e.next=32;break}t.cancel(),t.flag=!1,e.next=95;break;case 32:if(4!=t.dialogCheck_form.hideType){e.next=41;break}return l=null,t.dialogCheck_form1.agentId&&t.dialogCheck_form1.agentId.length&&(l=t.dialogCheck_form1.agentId[t.dialogCheck_form1.agentId.length-1]),e.next=37,p["a"].AdjustmentAttributionAgent({agentId:t.dialogCheck_form1.id,newAgentId:l,hide:t.dialogCheck_form1.hide,fixedHide:t.dialogCheck_form1.fixedHide});case 37:c=e.sent,c.code==g.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.ModifySuccess")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(c.msg)),e.next=95;break;case 41:if(5!=t.dialogCheck_form.hideType){e.next=48;break}return e.next=44,p["a"].agentBalanceFrozenAdd({agentId:t.dialogCheck_form.id,amount:t.dialogCheck_form.amount,type:t.dialogCheck_form.type});case 44:d=e.sent,d.code==g.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.ModifySuccess")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(d.msg)),e.next=95;break;case 48:if(6!=t.dialogCheck_form.hideType){e.next=55;break}return e.next=51,p["a"].ibGroup({id:t.dialogCheck_form.id,selectLoginTypes:t.dialogCheck_form.selectLoginTypes||null,excludeLoginTypes:t.dialogCheck_form.excludeLoginTypes||null,selectGroupType:t.dialogCheck_form.selectGroupType||null,defaultGroupType:t.dialogCheck_form.defaultGroupType||null});case 51:m=e.sent,m.code==g.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.ModifySuccess")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(m.msg)),e.next=95;break;case 55:if(7!=t.dialogCheck_form.hideType){e.next=62;break}return e.next=58,p["a"].ibAccount({id:t.dialogCheck_form.id,excludeShowLoginTypes:t.dialogCheck_form.excludeShowLoginTypes||null});case 58:u=e.sent,u.code==g.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.ModifySuccess")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(u.msg)),e.next=95;break;case 62:if(8!=t.dialogCheck_form.hideType){e.next=69;break}return e.next=65,p["a"].ibUpdatePammManagerValid(Object(o["a"])({},t.dialogCheck_form));case 65:f=e.sent,f.code==g.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.ModifySuccess")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(f.msg)),e.next=95;break;case 69:if(9!=t.dialogCheck_form.hideType){e.next=76;break}return e.next=72,p["a"].ibUpdateCloseFunctions(Object(o["a"])({},t.dialogCheck_form));case 72:h=e.sent,h.code==g.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.ModifySuccess")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(h.msg)),e.next=95;break;case 76:if(11!=t.dialogCheck_form.hideType){e.next=83;break}return e.next=79,p["a"].IbAgentSetting(Object(o["a"])({},t.dialogCheck_form));case 79:_=e.sent,_.code==g.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.ModifySuccess")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(_.msg)),e.next=95;break;case 83:if(10!=t.dialogCheck_form.hideType){e.next=90;break}return e.next=86,p["a"].ibUpdatePAMMValid(Object(o["a"])({},t.dialogCheck_form));case 86:v=e.sent,v.code==g.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.ModifySuccess")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(v.msg)),e.next=95;break;case 90:if(12!=t.dialogCheck_form.hideType){e.next=95;break}return e.next=93,p["a"].agentTansfer(Object(o["a"])({},t.dialogCheck_form));case 93:b=e.sent,b.code==g.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.ModifySuccess")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(b.msg));case 95:e.next=98;break;case 97:return e.abrupt("return",!1);case 98: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"]&&this.$refs["dialogCheck_form"].resetFields(),4==this.dialogCheck_form.hideType&&this.reload()},handleItemChange:function(e){this.child=this.agentId_options;for(var t=0;t<e.length;t++)this.tree(e[t],this.child);var a=e[e.length-1],i=function(e,t){var a,s=Object(n["a"])(e);try{for(s.s();!(a=s.n()).done;){var o=a.value;if(o.value===t)return o;if(o.children&&o.children.length>0){var r=i(o.children,t);if(r)return r}}}catch(l){s.e(l)}finally{s.f()}return null},s=i(this.agentId_options,a);this.hidStatus=s&&null===s.agentLevel},tree:function(){var e=Object(l["a"])(Object(r["a"])().mark((function e(t,a){var i,s,n,o=this;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:i=Object(r["a"])().mark((function e(i){var s;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(null!=a[i].children&&a[i].children.length>0&&a[i].value==t)){e.next=3;break}return o.child=a[i].children,e.abrupt("return",{v:void 0});case 3:if(a[i].value!=t){e.next=15;break}return e.next=6,p["a"].ibTree({pid:t});case 6:if(s=e.sent,s.code!=g.StatusOK){e.next=14;break}if(null==s.data){e.next=12;break}return s.data.forEach((function(e){if(e.ibNo){var t={};t.value=e.id,t.label=e.ibNo,t.name=e.name,t.agentLevel=e.agentLevel,t.children=[],a[i].children.push(t)}})),o.child=a[i].children,e.abrupt("return",{v:void 0});case 12:e.next=15;break;case 14:o.$pigeon.MessageError(s.msg);case 15:case"end":return e.stop()}}),e)})),n=0;case 2:if(!(n<a.length)){e.next=10;break}return e.delegateYield(i(n),"t0",4);case 4:if(s=e.t0,!s){e.next=7;break}return e.abrupt("return",s.v);case 7:n++,e.next=2;break;case 10:case"end":return e.stop()}}),e)})));function t(t,a){return e.apply(this,arguments)}return t}(),searchIbTree:function(){var e=this;return Object(l["a"])(Object(r["a"])().mark((function t(){var a;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,p["a"].ibTree({pid:0});case 2:a=t.sent,a.code==g.StatusOK?null!=a.data&&a.data.forEach((function(t){if(t.ibNo){var a={};a.value=t.id,a.label=t.ibNo,a.name=t.name,a.agentLevel=t.agentLevel,a.children=[],e.agentId_options.push(a)}})):e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},searchIbTreeSearch:function(e){var t=this;return Object(l["a"])(Object(r["a"])().mark((function a(){var i;return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,p["a"].ibTreeSearch({ibNo:e});case 2:i=a.sent,i.code==g.StatusOK?(null!=i.data&&i.data.forEach((function(e){if(e.ibNo){var a={};a.value=e.id,a.label=e.ibNo,a.name=e.name,a.agentLevel=e.agentLevel,a.children=[],t.agentId_options.push(a)}})),t.$pigeon.MessageOK(t.$i18n.t("Msg.SearchSuccess"))):t.$pigeon.MessageError(i.msg);case 4:case"end":return a.stop()}}),a)})))()},closeDiaAdd:function(){this.dialogInfoTradingAdd=!1,this.editor=""},closeAdd:function(e){this.dialogInfoTradingAdd=e},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(l["a"])(Object(r["a"])().mark((function a(){var i;return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,p["a"].cidRealSingle({id:e});case 2:i=a.sent,i.code==g.StatusOK?(t.formInfo=i.data,t.dialogInfoCid=!0):t.$pigeon.MessageError(i.msg);case 4:case"end":return a.stop()}}),a)})))()},searchSinglePIbNo:function(e){var t=this;return Object(l["a"])(Object(r["a"])().mark((function a(){var i;return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,p["a"].pIbNoRealSingle({ibNo:e});case 2:i=a.sent,i.code==g.StatusOK?(t.formInfoPib=i.data,t.dialogInfoPIbNo=!0):t.$pigeon.MessageError(i.msg);case 4:case"end":return a.stop()}}),a)})))()},searchPoint:function(e,t){var a=this;return Object(l["a"])(Object(r["a"])().mark((function i(){var s;return Object(r["a"])().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,p["a"].ibPoint({agentId:e});case 2:s=i.sent,s.code==g.StatusOK?(a.dialogCheck_form=s.data,a.dialogCheck_form.ibNo=t,a.dialogCheck_form.hideType=3,a.dialogCheck=!0):a.$pigeon.MessageError(s.msg);case 4:case"end":return i.stop()}}),i)})))()},customGroupType:function(){var e=this;return Object(l["a"])(Object(r["a"])().mark((function t(){var a;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,p["a"].customGroupTypeList({});case 2:a=t.sent,a.code==g.StatusOK?(e.groupType_options=a.data,e.dialogCheck=!0):e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},delete:function(){var e=Object(l["a"])(Object(r["a"])().mark((function e(t){var a;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:a=this,this.$pigeon.MessageConfirm(this.$i18n.t("Msg.Delete"),this.$i18n.t("Msg.SystemPrompt"),this.$i18n.t("Btn.Confirm"),this.$i18n.t("Btn.Cancel"),Object(l["a"])(Object(r["a"])().mark((function e(){var i;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p["a"].agentDelete({id:t});case 2:i=e.sent,i.code==g.StatusOK?(a.$pigeon.MessageOK(a.$i18n.t("Msg.DeleteSuccess")),a.searchFunc()):a.$pigeon.MessageError(i.msg);case 4:case"end":return e.stop()}}),e)}))),(function(){}));case 2:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),chooseLang:function(e){this.search.platform=e},exportAgents:function(){var e=this;return Object(l["a"])(Object(r["a"])().mark((function t(){var a,i,s;return Object(r["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],i=e.search.endDate.split("-")[0]+e.search.endDate.split("-")[1]+e.search.endDate.split("-")[2],s="/ib/search/list/export?startDate="+a+"&endDate="+i+"&email="+(e.search.email?e.search.email:"")+"&ibNo="+(e.search.ibNo?e.search.ibNo:"")+"&cId="+(e.search.cId?e.search.cId:"")+"&name="+(e.search.name?e.search.name:"")+"&salesNo="+(e.search.salesNo?e.search.salesNo:""),d.a.get(s,{responseType:"blob"}).then((function(t){if(t.status==g.StatusOK)if("msSaveOrOpenBlob"in navigator)window.navigator.msSaveOrOpenBlob(t.data,"Download.xlsx");else{var a=window.URL.createObjectURL(t.data),i=document.createElement("a");document.body.appendChild(i);var s=t.headers["content-disposition"]?t.headers["content-disposition"].split(";")[1].split("=")[1]:"Download.xlsx";i.href=a,i.download=s,i.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(l["a"])(Object(r["a"])().mark((function t(){var a;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.pictLoading=!0,e.display["R-Agent-Search"].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,p["a"].agentList(Object(o["a"])(Object(o["a"])({},e.search),{},{page:{current:e.pagerInfo.current,row:e.pagerInfo.row}}));case 8:a=t.sent,a.code==g.StatusOK?(a.data?(e.mock_tableData=a.data,e.$pigeon.MessageOK(e.$i18n.t("Msg.SearchSuccess"))):e.mock_tableData=[],null!=a.page?(e.pagerInfo.rowTotal=a.page.rowTotal,e.pagerInfo.pageTotal=a.page.pageTotal):null==a.page&&(e.pagerInfo.rowTotal=0),e.pictLoading=!1):(e.$pigeon.MessageError(a.msg),e.pictLoading=!1);case 10:case"end":return t.stop()}}),t)})))()},getSearchDate:function(e){this.search.date=e},toSearch:function(){this.pagerInfo.current=1,this.searchFunc()},getDate:function(){var e,t,a=2,i=(new Date).getTimezoneOffset(),s=(new Date).getTime(),n=new Date(s+60*i*1e3+60*a*60*1e3),o=n.getFullYear(),r=n.getMonth()+1,l=n.getDate();r<10&&(r="0"+r),l<10&&(l="0"+l),e=o+"-"+r+"-01";var c=n.getMonth(),d=++c,p=new Date(n.getFullYear(),d,1),m=864e5,u=new Date(p-m),f=u.getDate();f<10&&(f="0"+f),t=o+"-"+r+"-"+f,this.search.date=[e,t]},handleSizeChange:function(e){this.pagerInfo.row=e,this.searchFunc()},handleCurrentChange:function(e){this.pagerInfo.current=e,this.searchFunc()},submitFixedHide:function(){var e=this;return Object(l["a"])(Object(r["a"])().mark((function t(){var a;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.flag){t.next=2;break}return t.abrupt("return");case 2:return e.flag=!0,t.prev=3,t.next=6,p["a"].updateFixedHide({id:e.dialogFixedHide_form.id,fixedHide:e.dialogFixedHide_form.fixedHide,hide:e.dialogFixedHide_form.hide});case 6:a=t.sent,a.code==g.StatusOK?(e.$pigeon.MessageOK(e.$i18n.t("Msg.ModifySuccess")),e.dialogFixedHide=!1,e.searchFunc()):e.$pigeon.MessageError(a.msg),t.next=13;break;case 10:t.prev=10,t.t0=t["catch"](3),e.$pigeon.MessageError(t.t0.message);case 13:return t.prev=13,e.flag=!1,t.finish(13);case 16:case"end":return t.stop()}}),t,null,[[3,10,13,16]])})))()}},mounted:function(){this.getDate(),this.searchFunc()},watch:{"search.tag":function(){this.search.cId="",this.search.email="",this.search.ibNo="",this.search.name="",this.search.salesNo=""}}},v=_,b=(a("3863"),a("aeea"),a("2877")),C=Object(b["a"])(v,i,s,!1,null,"60dda422",null);t["default"]=C.exports},"69d8":function(e,t,a){},"704d":function(e,t,a){},"8bff":function(e,t,a){"use strict";a("704d")},"92c7":function(e,t,a){"use strict";a("b0c0"),a("498a"),a("9911");var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"views",attrs:{id:"ib_index"}},[t("el-dialog",{attrs:{visible:e.dialogLink,center:"","modal-append-to-body":!1,title:e.$t("Ib.Index.CreateLink"),"custom-class":"dialog_header_w dialogLink"},on:{"update:visible":function(t){e.dialogLink=t}}},[t("div",{staticClass:"dia-content"},[t("div",{staticClass:"content",staticStyle:{"font-size":"14px","text-align":"left"}},[1==e.type?[t("div",{staticClass:"label forms"},[e._v(" "+e._s(e.$t("Label.Name"))+" :"+e._s(e.form.name)+" ")]),t("div",{staticClass:"label forms"},[e._v(" "+e._s(e.$t("Label.UserNames"))+" :"+e._s(e.form.username)+" ")]),t("div",{staticClass:"label forms"},[e._v(" "+e._s(e.$t("Label.Email"))+" :"+e._s(e.form.email)+" ")])]:e._e(),2==e.type?[t("div",{staticClass:"label forms"},[e._v(" "+e._s(e.$t("Apply_info.UserInfo.CID"))+" :"+e._s(e.form.cId||"--")+" ")]),t("div",{staticClass:"label forms"},[e._v(" "+e._s(e.$t("Label.UserNames"))+" :"),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("div",{staticClass:"label forms"},[e._v(" "+e._s(e.$t("Label.Email"))+" :"+e._s(e.form.email)+" ")])]:e._e(),[t("div",{staticClass:"label"},[e._v(e._s(e.$t("Ib.Index.Spread5"))+" :")]),t("el-select",{staticStyle:{width:"100%"},attrs:{multiple:"",size:"mini",placeholder:e.$t("Placeholder.Choose")},model:{value:e.excludeShowLoginTypes,callback:function(t){e.excludeShowLoginTypes=t},expression:"excludeShowLoginTypes"}},e._l(e.excludeList,(function(e,a){return t("el-option",{key:a,attrs:{label:e.label,value:e.value}})})),1),t("div",{staticClass:"label"},[e._v(e._s(e.$t("Ib.Index.Spread4"))+" :")]),t("el-select",{staticStyle:{width:"100%"},attrs:{size:"mini",placeholder:e.$t("Placeholder.Choose")},model:{value:e.selectedSpreadId,callback:function(t){e.selectedSpreadId=t},expression:"selectedSpreadId"}},e._l(e.spreadList,(function(a,i){return t("el-option",{key:i,attrs:{label:e.$t("Ib.Index.Commission")+":"+a.comPoint+"-"+e.$t("Ib.Index.Hide")+":"+a.hide,value:a.id}})})),1),t("div",{directives:[{name:"t",rawName:"v-t",value:"Ib.Index.IbInvalid",expression:"'Ib.Index.IbInvalid'"}],staticClass:"label"}),t("el-select",{staticStyle:{width:"100%"},attrs:{size:"mini",placeholder:e.$t("Placeholder.Choose")},model:{value:e.ibInvalid,callback:function(t){e.ibInvalid=t},expression:"ibInvalid"}},[t("el-option",{attrs:{label:e.$t("ibTemplate.Allow"),value:"B0"}}),t("el-option",{attrs:{label:e.$t("ibTemplate.NotAllow"),value:"B1"}})],1),t("div",[t("span",{directives:[{name:"t",rawName:"v-t",value:"ApplicationDialog.item1",expression:"'ApplicationDialog.item1'"}],staticStyle:{"line-height":"1.5"}})]),t("div",[t("span",{directives:[{name:"t",rawName:"v-t",value:"ApplicationDialog.item2",expression:"'ApplicationDialog.item2'"}],staticStyle:{"line-height":"1.5"}}),1==e.type?[t("a",{directives:[{name:"t",rawName:"v-t",value:"ApplicationDialog.item3",expression:"'ApplicationDialog.item3'"}],attrs:{href:"pdf/pdf6/all/Account Type Allocation Table-".concat(e.lang,".pdf"),target:"_blank"}})]:["NG"==e.country||"TH"==e.country||"LA"==e.country||e.isAfterJuly7()?t("a",{directives:[{name:"t",rawName:"v-t",value:"ApplicationDialog.item3",expression:"'ApplicationDialog.item3'"}],attrs:{href:"pdf/pdf6/all/Account Type Allocation Table-".concat(e.lang,".pdf"),target:"_blank"}}):t("a",{directives:[{name:"t",rawName:"v-t",value:"ApplicationDialog.item3",expression:"'ApplicationDialog.item3'"}],attrs:{href:"pdf/pdf6/no/Account Type Allocation Table-".concat(e.lang,".pdf"),target:"_blank"}})]],2),t("div",{staticClass:"btn"},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Ib.Index.CreateLink",expression:"'Ib.Index.CreateLink'"}],staticClass:"crm-cursor",on:{click:e.CreateLink}})]),e.link?t("div",{staticClass:"link qrCode"},[t("QrCode",{ref:"qrCode",attrs:{text:e.link,width:200,height:200}}),t("div",{staticClass:"btn"},[t("span",{directives:[{name:"t",rawName:"v-t",value:"ibTemplate.item9",expression:"'ibTemplate.item9'"}],staticClass:"crm-cursor",staticStyle:{height:"16px"},on:{click:e.downloadQrCode}})])],1):e._e(),t("div",{staticClass:"link"},[t("el-input",{attrs:{readonly:"",size:"mini",placeholder:"",id:"custom_link"},model:{value:e.link,callback:function(t){e.link="string"===typeof t?t.trim():t},expression:"link"}}),t("div",{staticClass:"btn"},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Ib.Index.Copy",expression:"'Ib.Index.Copy'"}],staticClass:"crm-cursor",on:{click:function(t){return e.CopyShareLink("custom_link")}}})])],1),t("div",{staticClass:"link",staticStyle:{"align-items":"center"}},[t("div",{directives:[{name:"t",rawName:"v-t",value:"ibTemplate.item2",expression:"'ibTemplate.item2'"}],staticStyle:{"margin-right":"10px"}}),t("el-input",{attrs:{readonly:"",size:"mini",placeholder:"",id:"custom_link_tj"},model:{value:e.getInfoId,callback:function(t){e.getInfoId="string"===typeof t?t.trim():t},expression:"getInfoId"}}),t("div",{staticClass:"btn"},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Ib.Index.Copy",expression:"'Ib.Index.Copy'"}],staticClass:"crm-cursor",on:{click:function(t){return e.CopyShareLink("custom_link_tj")}}})])],1)]],2)])])],1)},s=[],n=a("c7eb"),o=a("1da1"),r=(a("99af"),a("4de4"),a("7db0"),a("caad"),a("a15b"),a("d81d"),a("e9f5"),a("910d"),a("f665"),a("ab43"),a("b64b"),a("d3b7"),a("2532"),a("5d41")),l=a("9630"),c=a("f121"),d=a.n(c),p=d.a.Code,m=d.a.Host80,u={name:"ConsumerShareLink",components:{QrCode:r["a"]},data:function(){return{Host80:m,dialogLink:!1,linkActivity:"",hide:0,country:"",getInfoId:"",commission:0,excludeList:[],spreadList:[],excludeShowLoginTypes:[],selectedSpreadId:"",loginTypes:"",ibInvalid:"B0",link:"",form:{},type:0}},computed:{lang:function(){return this.Session.Get("lang")},user:function(){return JSON.parse(this.Session.Get("user",!0))}},methods:{isAfterJuly7:function(){var e=new Date,t=new Date(e.getFullYear(),6,7);return e>=t},LinkActivity1:function(){var e=Object(o["a"])(Object(n["a"])().mark((function e(t){var a,i,s=this;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:a=t.form,i=t.type,console.log(i),this.form=a,this.type=i,e.t0=i,e.next=0===e.t0?7:1===e.t0?9:2===e.t0?11:13;break;case 7:return this.getInfoId=JSON.parse(this.Session.Get("user",!0)).id,e.abrupt("break",13);case 9:return this.getInfoId=this.form.id,e.abrupt("break",13);case 11:return this.getInfoId=this.form.ibId,e.abrupt("break",13);case 13:this.country=0==this.type?JSON.parse(this.Session.Get("user",!0)).country:this.form.country,e.t1=this.type,e.next=1===e.t1?17:19;break;case 17:return this.excludeList=[{label:this.$i18n.t("AccountType.SeniorAccount"),value:"2"},{label:this.$i18n.t("AccountType.StandardAccount"),value:"7"},{label:this.$i18n.t("AccountType.CentAccount"),value:"8"}],e.abrupt("break",21);case 19:return"NG"==this.country||"TH"==this.country||"LA"==this.country||this.isAfterJuly7()?this.excludeList=[{label:this.$i18n.t("AccountType.SeniorAccount"),value:"2"},{label:this.$i18n.t("AccountType.StandardAccount"),value:"7"},{label:this.$i18n.t("AccountType.CentAccount"),value:"8"}]:this.excludeList=[{label:this.$i18n.t("AccountType.SeniorAccount"),value:"2"},{label:this.$i18n.t("AccountType.StandardAccount"),value:"7"}],e.abrupt("break",21);case 21:return console.log(this.user.excludeShowLoginTypes,"112233"),this.excludeList=this.excludeList.filter((function(e){return!s.user.excludeShowLoginTypes.includes(e.value)})),e.next=25,this.loginTypeList();case 25:this.excludeShowLoginTypes=[],this.selectedSpreadId="",this.commission=0,this.hide=0,this.link="",this.dialogLink=!0;case 31:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),downloadQrCode:function(){this.$refs.qrCode.download()},CopyShareLink:function(e){var t=document.getElementById(e);t.select(),document.execCommand("Copy")},CreateLink:function(){var e=this;return Object(o["a"])(Object(n["a"])().mark((function t(){var a;return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.getLink1();case 2:if(a=t.sent,a){t.next=5;break}return t.abrupt("return");case 5:e.linkValue=a,e.link="".concat(m,"/#/signup/").concat(e.getInfoId,"/").concat(a,"/").concat(e.ibInvalid,"?oc=").concat(e.form.serial);case 7:case"end":return t.stop()}}),t)})))()},getValidAccountTypes:function(e,t){var a=this.spreadList.find((function(e){return e.id===t})),i={hide:"",commission:"",excludeShowLoginTypes:[]};if(!a)return i;var s=e.filter((function(e){return a.loginTypes.includes(e)})),n=e.filter((function(e){return!a.loginTypes.includes(e)})),o=this.excludeList.filter((function(e){return n.includes(e.value)})).map((function(e){return e.label})),r=this.excludeList.filter((function(e){return!s.includes(e.value)})).map((function(e){return e.value}));return this.loginTypes=o.join("、"),{hide:a.hide,commission:a.comPoint,excludeShowLoginTypes:r,invalidLabels:o,invalidValues:n}},getLink1:function(){var e=this;return Object(o["a"])(Object(n["a"])().mark((function t(){var a,i;return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(0!==e.excludeShowLoginTypes.length){t.next=4;break}return e.$pigeon.MessageWarning(e.$i18n.t("Ib.Index.Spread5")),e.link="",t.abrupt("return");case 4:if(e.selectedSpreadId){t.next=8;break}return e.$pigeon.MessageWarning(e.$i18n.t("Ib.Index.Spread4")),e.link="",t.abrupt("return");case 8:if(a=e.getValidAccountTypes(e.excludeShowLoginTypes,e.selectedSpreadId),a.excludeShowLoginTypes.length!==e.excludeList.length){t.next=13;break}return e.$pigeon.MessageError(e.$i18n.t("Ib.Index.Spread3")),e.link="",t.abrupt("return");case 13:if(!(a.invalidLabels.length>0)){t.next=17;break}return t.abrupt("return",new Promise((function(t){e.$pigeon.MessageConfirm("".concat(e.$i18n.t("Ib.Index.Spread1")).concat(e.loginTypes).concat(e.$i18n.t("")),e.$i18n.t("Msg.SystemPrompt"),e.$i18n.t("Btn.Confirm"),e.$i18n.t("Btn.Cancel"),Object(o["a"])(Object(n["a"])().mark((function i(){var s;return Object(n["a"])().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,l["a"].customLink(a);case 2:s=i.sent,s.code===p.StatusOK?(e.$pigeon.MessageOK(s.msg),t(s.data)):(e.$pigeon.MessageError(s.msg),t(""));case 4:case"end":return i.stop()}}),i)}))),(function(){return t("")}))})));case 17:return t.next=19,l["a"].customLink(a);case 19:if(i=t.sent,i.code!==p.StatusOK){t.next=25;break}return e.$pigeon.MessageOK(i.msg),t.abrupt("return",i.data);case 25:return e.$pigeon.MessageError(i.msg),t.abrupt("return","");case 27:case"end":return t.stop()}}),t)})))()},loginTypeList:function(){var e=this;return Object(o["a"])(Object(n["a"])().mark((function t(){var a;return Object(n["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==p.StatusOK?e.spreadList=a.data:e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()}},mounted:function(){this.$nextTick((function(){}))},watch:{commission:function(){this.link=""},ibInvalid:function(){this.link=""}}},f=u,h=(a("8bff"),a("32c4"),a("2877")),g=Object(h["a"])(f,i,s,!1,null,"b662f1f6",null);t["a"]=g.exports},a15b:function(e,t,a){"use strict";var i=a("23e7"),s=a("e330"),n=a("44ad"),o=a("fc6a"),r=a("a640"),l=s([].join),c=n!==Object,d=c||!r("join",",");i({target:"Array",proto:!0,forced:d},{join:function(e){return l(o(this),void 0===e?",":e)}})},a2fa:function(e,t,a){"use strict";a("3e6a")},aeea:function(e,t,a){"use strict";a("cc48")},cc48:function(e,t,a){},ccf3:function(e,t,a){},ebd6:function(e,t,a){"use strict";a("69d8")}}]);