GroupHistory.33282fe2.js 62 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["GroupHistory"],{"020b":function(e,t,a){},"095d":function(e,t,a){"use strict";a("a36f")},"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.experienceTradingDerivative,callback:function(t){e.$set(e.form,"experienceTradingDerivative",t)},expression:"form.experienceTradingDerivative"}},[e.form.experienceTradingDerivative?t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Yes",expression:"'Btn.Yes'"}]}):e._e(),e.form.experienceTradingDerivative?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.No",expression:"'Btn.No'"}]})])],1)]),t("div",{staticStyle:{"text-align":"left",margin:"10px 0"}},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.ExperienceTrading.Item2",expression:"'Apply_info.ExperienceTrading.Item2'"}]}),t("div",[t("el-radio",{attrs:{disabled:"",label:1},model:{value:e.form.experienceTradingForex,callback:function(t){e.$set(e.form,"experienceTradingForex",t)},expression:"form.experienceTradingForex"}},[e.form.experienceTradingForex?t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Yes",expression:"'Btn.Yes'"}]}):e._e(),e.form.experienceTradingForex?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.No",expression:"'Btn.No'"}]})])],1)]),t("div",{staticStyle:{"text-align":"left",margin:"10px 0"}},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.ExperienceTrading.Item3",expression:"'Apply_info.ExperienceTrading.Item3'"}]}),t("div",[t("el-radio",{attrs:{disabled:"",label:1},model:{value:e.form.derivativeProducts,callback:function(t){e.$set(e.form,"derivativeProducts",t)},expression:"form.derivativeProducts"}},[e.form.derivativeProducts?t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Yes",expression:"'Btn.Yes'"}]}):e._e(),e.form.derivativeProducts?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.No",expression:"'Btn.No'"}]})])],1)]),t("div",{staticStyle:{"text-align":"left",margin:"10px 0"}},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.ExperienceTrading.Item4",expression:"'Apply_info.ExperienceTrading.Item4'"}]}),t("div",[t("el-radio",{attrs:{disabled:"",label:1},model:{value:e.form.experienceQualification,callback:function(t){e.$set(e.form,"experienceQualification",t)},expression:"form.experienceQualification"}},[e.form.experienceQualification?t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Yes",expression:"'Btn.Yes'"}]}):e._e(),e.form.experienceQualification?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.No",expression:"'Btn.No'"}]})])],1)])]),1!=this.user.departmentId?t("el-collapse-item",{attrs:{title:e.$t("Apply_info.FileManagement.Title"),name:"6"}},[t("div",{staticClass:"Identity"},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.ProofIdentity",expression:"'Apply_info.FileManagement.ProofIdentity'"}],staticClass:"title"}),t("span",[e._v("1")]),t("span",{staticClass:"line"}),t("el-button",{staticStyle:{border:"none"},attrs:{type:"text"}},[1==e.files1.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(1)}}}):e._e(),2==e.files1.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Pass",expression:"'State.Pass'"}],on:{click:function(t){return e.imgApproveDe(1)}}}):e._e(),3==e.files1.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Refused",expression:"'State.Refused'"}],on:{click:function(t){return e.imgApproveDe(1)}}}):e._e(),4==e.files1.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(1)}}}):e._e(),e.files1.status?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Placeholder.Not",expression:"'Placeholder.Not'"}]})])],1),t("div",{staticClass:"Identity-img"},[t("div",{staticClass:"id-img"},["pdf"==e.url1.substr(-3,3)||"PDF"==e.url1.substr(-3,3)?t("div",{staticClass:"pdfLink"},[t("a",{staticStyle:{display:"inline-block",width:"100%",height:"100%"},attrs:{href:e.url1,target:"_blank"}},[t("i",{staticClass:"el-icon-document"})])]):t("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.url1,"preview-src-list":[e.url1]}},[t("div",{staticClass:"image-slot",attrs:{slot:"error"},slot:"error"},[t("i",{staticClass:"el-icon-picture-outline"})])])],1)]),t("div",{staticClass:"Identity"},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.ProofIdentity",expression:"'Apply_info.FileManagement.ProofIdentity'"}],staticClass:"title"}),t("span",[e._v("2")]),t("span",{staticClass:"line"}),t("el-button",{staticStyle:{border:"none"},attrs:{type:"text"}},[1==e.files2.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(2)}}}):e._e(),2==e.files2.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Pass",expression:"'State.Pass'"}],on:{click:function(t){return e.imgApproveDe(2)}}}):e._e(),3==e.files2.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Refused",expression:"'State.Refused'"}],on:{click:function(t){return e.imgApproveDe(2)}}}):e._e(),4==e.files2.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(2)}}}):e._e(),e.files2.status?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Placeholder.Not",expression:"'Placeholder.Not'"}]})])],1),t("div",{staticClass:"Identity-img"},[t("div",{staticClass:"id-img"},["pdf"==e.url2.substr(-3,3)||"PDF"==e.url2.substr(-3,3)?t("div",{staticClass:"pdfLink"},[t("a",{staticStyle:{display:"inline-block",width:"100%",height:"100%"},attrs:{href:e.url2,target:"_blank"}},[t("i",{staticClass:"el-icon-document"})])]):t("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.url2,"preview-src-list":[e.url2]}},[t("div",{staticClass:"image-slot",attrs:{slot:"error"},slot:"error"},[t("i",{staticClass:"el-icon-picture-outline"})])])],1)]),t("div",{staticClass:"Identity"},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.ProofAddress",expression:"'Apply_info.FileManagement.ProofAddress'"}],staticClass:"title"}),t("span",{staticClass:"line"}),t("el-button",{staticStyle:{border:"none"},attrs:{type:"text"}},[1==e.files3.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(3)}}}):e._e(),2==e.files3.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Pass",expression:"'State.Pass'"}],on:{click:function(t){return e.imgApproveDe(3)}}}):e._e(),3==e.files3.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Refused",expression:"'State.Refused'"}],on:{click:function(t){return e.imgApproveDe(3)}}}):e._e(),4==e.files3.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(3)}}}):e._e(),e.files3.status?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Placeholder.Not",expression:"'Placeholder.Not'"}]})])],1),t("div",{staticClass:"Identity-img"},[t("div",{staticClass:"id-img"},["pdf"==e.url3.substr(-3,3)||"PDF"==e.url3.substr(-3,3)?t("div",{staticClass:"pdfLink"},[t("a",{staticStyle:{display:"inline-block",width:"100%",height:"100%"},attrs:{href:e.url3,target:"_blank"}},[t("i",{staticClass:"el-icon-document"})])]):t("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.url3,"preview-src-list":[e.url3]}},[t("div",{staticClass:"image-slot",attrs:{slot:"error"},slot:"error"},[t("i",{staticClass:"el-icon-picture-outline"})])])],1)]),t("div",{staticClass:"Identity"},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.AdditionalProof",expression:"'Apply_info.FileManagement.AdditionalProof'"}],staticClass:"title"}),t("span",{staticClass:"line"})]),e._l(e.filesOther,(function(a,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)},n=[],s=a("c7eb"),r=a("5530"),o=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,v=d.a.Host05,_={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,Host05:v,activeNames:["1","2","3","4","5","6","7","10"],form:{},info:{CID:"123456",name:"QYY"},dialogImageUrl:"",imageUrl:"",dialogVisible:!1,tradingAccount:[{id:1,account:"123456",type:"极速账户"},{id:2,account:"123456",type:"高级账户"}],cardIndex:-1,files1:{},files2:{},files3:{},files5:{},filesOther:[],url1:"",url2:"",url3:"",url5:"",srcList5:[],srcList1:[],srcList2:[],srcList3:[],dialogCheck:!1,dialogCheck1:!1,dialogCheck_form:{},rules:{status:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}],approveDesc:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}]}}},computed:{user:function(){return JSON.parse(this.Session.Get("user",!0))}},methods:{selectChange:function(){this.$forceUpdate()},handlePictureCardPreview:function(e){this.dialogImageUrl=e.url,this.dialogVisible=!0},handleAvatarSuccess:function(e,t){this.imageUrl=URL.createObjectURL(t.raw)},cardTab:function(e){this.cardIndex==e?this.cardIndex=-1:this.cardIndex=e},close:function(){this.$emit("close",!1)},imgApprove:function(e,t){1==e?(this.dialogCheck_form.id=this.files1.id,this.dialogCheck_form.customId=this.form.id):2==e?(this.dialogCheck_form.id=this.files2.id,this.dialogCheck_form.customId=this.form.id):3==e?(this.dialogCheck_form.id=this.files3.id,this.dialogCheck_form.customId=this.form.id):5==e&&(this.dialogCheck_form.id=t,this.dialogCheck_form.customId=this.form.id),this.dialogCheck_form.type=e,this.dialogCheck=!0},toVerified:function(){var e=Object(o["a"])(Object(s["a"])().mark((function e(){var t=this;return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$refs["dialogCheck_form"].validate(function(){var e=Object(o["a"])(Object(s["a"])().mark((function e(a){var i;return Object(s["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(r["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(o["a"])(Object(s["a"])().mark((function e(){var t=this;return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$refs["dialogCheck_form"].validate(function(){var e=Object(o["a"])(Object(s["a"])().mark((function e(a){var i;return Object(s["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(r["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(o["a"])(Object(s["a"])().mark((function t(){var a;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,l["a"].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.Host05+(t.againPath||t.path),e.srcList1.push(e.url1)),2==t.type&&(e.files2=t,e.url2=e.Host05+(t.againPath||t.path),e.srcList2.push(e.url2)),3==t.type&&(e.files3=t,e.url3=e.Host05+(t.againPath||t.path),e.srcList3.push(e.url3)),10==t.type&&(t.urlOther=e.Host05+(t.againPath||t.path),e.filesOther.push(t))}))):(this.url1="",this.files1={},this.url2="",this.files2={},this.url3="",this.files3={},this.url5="",this.files5={},this.filesOther=[])}}},g=_,h=(a("095d"),a("a0fc"),a("2877")),y=Object(h["a"])(g,i,n,!1,null,"1e82c698",null);t["a"]=y.exports},"30f1":function(e,t,a){"use strict";a("dc7d")},"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)},n=[],s=a("f121"),r=a.n(s),o={name:"DetailedInfoIbNo",props:{dialogInfoIbNo:{type:Boolean,default:!1},infoType:{default:""},formInfo:{default:""},btn:{type:Boolean,default:!1}},data:function(){return{imgUrl:r.a.Host05,form:{},info:{CID:"",name:"",type:""}}},methods:{close:function(){this.$emit("close",!1)}},mounted:function(){},watch:{formInfo:function(){this.form=this.formInfo}}},l=o,c=(a("99ca"),a("30f1"),a("2877")),d=Object(c["a"])(l,i,n,!1,null,"c648ddc0",null);t["a"]=d.exports},5396:function(e,t,a){"use strict";a("78ec")},"78ec":function(e,t,a){},"92c7":function(e,t,a){"use strict";a("498a"),a("9911");var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"consumer-share-link views"},[t("el-dialog",{attrs:{visible:e.dialogLink,center:"",title:e.$t("Ib.Index.CreateLink"),"custom-class":"dialog_header_w dialogLink consumer-share-dialog"},on:{"update:visible":function(t){e.dialogLink=t}}},[t("div",{staticClass:"dia-content"},[t("div",{staticClass:"content"},[t("div",{staticClass:"form-item form-item-name"},[t("label",{staticClass:"form-label"},[e._v(e._s(e.$t("Ib.Index.LinkName")))]),t("el-input",{staticClass:"form-input",attrs:{size:"small",placeholder:e.$t("Ib.Index.LinkName")},model:{value:e.linkName,callback:function(t){e.linkName=t},expression:"linkName"}})],1),t("div",{staticClass:"form-section"},[t("div",{staticClass:"section-title"},[t("i",{staticClass:"el-icon-s-operation"}),e._v(" "+e._s(e.$t("Ib.Index.Spread5"))+" ")]),t("div",{staticClass:"account-type-grid"},[t("div",{staticClass:"account-type-card"},[t("div",{staticClass:"account-type-label"},[e._v(e._s(e.$t("AccountType.StandardAccount")))]),t("el-select",{staticClass:"account-select",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:function(t){return e.handleAccountTypeChange("standard","7")}},model:{value:e.accountTypeSettings.standard.selectedIndex,callback:function(t){e.$set(e.accountTypeSettings.standard,"selectedIndex",t)},expression:"accountTypeSettings.standard.selectedIndex"}},e._l(e.getAvailableSpreads("7"),(function(a,i){return t("el-option",{key:i,attrs:{label:e.getSpreadLabel(a),value:i}})})),1)],1),t("div",{staticClass:"account-type-card"},[t("div",{staticClass:"account-type-label"},[e._v(e._s(e.$t("AccountType.SeniorAccount")))]),t("el-select",{staticClass:"account-select",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:function(t){return e.handleAccountTypeChange("ecn","2")}},model:{value:e.accountTypeSettings.ecn.selectedIndex,callback:function(t){e.$set(e.accountTypeSettings.ecn,"selectedIndex",t)},expression:"accountTypeSettings.ecn.selectedIndex"}},e._l(e.getAvailableSpreads("2"),(function(a,i){return t("el-option",{key:i,attrs:{label:e.getSpreadLabel(a),value:i}})})),1)],1),t("div",{staticClass:"account-type-card"},[t("div",{staticClass:"account-type-label"},[e._v(e._s(e.$t("AccountType.CentAccount")))]),t("el-select",{staticClass:"account-select",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:function(t){return e.handleAccountTypeChange("cent","8")}},model:{value:e.accountTypeSettings.cent.selectedIndex,callback:function(t){e.$set(e.accountTypeSettings.cent,"selectedIndex",t)},expression:"accountTypeSettings.cent.selectedIndex"}},e._l(e.getAvailableSpreads("8"),(function(a,i){return t("el-option",{key:i,attrs:{label:e.getSpreadLabel(a),value:i}})})),1)],1)])]),t("div",{staticClass:"action-row"},[t("el-button",{staticClass:"btn-create",attrs:{type:"primary",size:"small"},on:{click:e.CreateLink}},[t("i",{staticClass:"el-icon-link"}),e._v(" "+e._s(e.$t("Ib.Index.CreateLink"))+" ")])],1),e.link?[t("div",{staticClass:"result-section qr-section"},[t("div",{staticClass:"qr-wrapper"},[t("QrCode",{ref:"qrCode",attrs:{text:e.link,width:200,height:200}})],1)]),t("div",{staticClass:"result-section link-section"},[t("div",{staticClass:"result-label"},[t("i",{staticClass:"el-icon-link"}),e._v(" "+e._s(e.$t("Ib.Index.Copy"))+" ")]),t("div",{staticClass:"link-row"},[t("el-input",{staticClass:"link-input",attrs:{readonly:"",size:"small",id:"custom_link_dialog"},model:{value:e.link,callback:function(t){e.link="string"===typeof t?t.trim():t},expression:"link"}}),t("el-button",{staticClass:"btn-copy",attrs:{size:"small",type:"primary"},on:{click:function(t){return e.CopyShareLink("custom_link_dialog")}}},[t("i",{staticClass:"el-icon-document-copy"}),e._v(" "+e._s(e.$t("Ib.Index.Copy"))+" ")])],1)])]:e._e()],2)]),t("div",{staticClass:"commission-adjust-notice"},[t("div",{staticClass:"commission-adjust-notice__section"},[t("div",{staticClass:"commission-adjust-notice__section-head"},[t("i",{staticClass:"el-icon-info commission-adjust-notice__icon"}),t("span",{staticClass:"commission-adjust-notice__title"},[e._v(e._s(e.$t("Customer_info.Real.CommissionNoticeOpenTitle")))])]),t("p",{staticClass:"commission-adjust-notice__p"},[e._v(" "+e._s(e.$t("Customer_info.Real.CommissionNoticeOpenP1"))+" ")]),t("p",{staticClass:"commission-adjust-notice__p"},[e._v(" "+e._s(e.$t("Customer_info.Real.CommissionNoticeOpenP2"))+" ")])])]),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{size:"small"},on:{click:function(t){e.dialogLink=!1}}},[e._v(e._s(e.$t("Btn.Cancel")))]),t("el-button",{attrs:{size:"small",type:"primary",disabled:!e.link},on:{click:e.saveLink}},[e._v(e._s(e.$t("Btn.Confirm")))])],1)])],1)},n=[],s=a("5530"),r=a("c7eb"),o=a("1da1"),l=(a("99af"),a("4de4"),a("7db0"),a("caad"),a("a15b"),a("d81d"),a("14d9"),a("e9f5"),a("910d"),a("f665"),a("7d54"),a("ab43"),a("b64b"),a("d3b7"),a("2532"),a("159b"),a("5d411")),c=a("9630"),d=a("f121"),p=a.n(d),m=p.a.Code,u=p.a.Host80,f={name:"CustomLinkList",components:{QrCode:l["a"]},data:function(){return{pictLoading:!1,dialogLink:!1,tableData:[],linkName:"",excludeList:[],excludeLists:[],excludeListVN:[],spreadList:[],excludeShowLoginTypes:[],selectedSpreadId:"",loginTypes:"",ibInvalid:"B0",link:"",linkValue:"",currentCId:null,currentId:null,accountTypeSettings:{ecn:{selectedIndex:null,selectedItem:null,loginType:"2"},standard:{selectedIndex:null,selectedItem:null,loginType:"7"},cent:{selectedIndex:null,selectedItem:null,loginType:"8"}},accountTypeData:{ecn:[],standard:[],cent:[]},pagerInfo:{row:10,current:1,pageTotal:0,rowTotal:10},qrCodeDialogVisible:!1,currentQrCodeLink:""}},computed:{getInfoId:function(){return JSON.parse(this.Session.Get("user",!0)).id}},methods:{LinkActivity1:function(){var e,t,a,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null!==(e=null!==(t=null===i||void 0===i?void 0:i.cId)&&void 0!==t?t:null===i||void 0===i||null===(a=i.form)||void 0===a?void 0:a.cId)&&void 0!==e?e:null;this.currentCId=n||null,this.currentId=i&&"id"in i?i.id:null,this.openAddDialog()},openAddDialog:function(){var e=this;return Object(o["a"])(Object(r["a"])().mark((function t(){return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.getCustomLinkTypes();case 2:e.selectedSpreadId="",e.linkName="",e.link="",e.linkValue="",e.accountTypeSettings={ecn:{selectedIndex:null,selectedItem:null,loginType:"2"},standard:{selectedIndex:null,selectedItem:null,loginType:"7"},cent:{selectedIndex:null,selectedItem:null,loginType:"8"}},e.dialogLink=!0;case 8:case"end":return t.stop()}}),t)})))()},getCustomLinkTypes:function(){var e=this;return Object(o["a"])(Object(r["a"])().mark((function t(){var a,i,n;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.currentId?{ibId:e.currentId}:{},t.next=3,c["a"].getRegisterLinkTypes(a);case 3:i=t.sent,i.code==m.StatusOK?(n=i.data||[],console.log(n,"123"),e.accountTypeData={ecn:n.filter((function(e){return 2===e.loginType||"2"===e.loginType})),standard:n.filter((function(e){return 7===e.loginType||"7"===e.loginType})),cent:n.filter((function(e){return 8===e.loginType||"8"===e.loginType}))}):(e.$pigeon.MessageError(i.msg),e.accountTypeData={ecn:[],standard:[],cent:[]});case 5:case"end":return t.stop()}}),t)})))()},getAvailableSpreads:function(e){return"2"===e?this.accountTypeData.ecn||[]:"7"===e?this.accountTypeData.standard||[]:"8"===e&&this.accountTypeData.cent||[]},handleAccountTypeChange:function(e,t){var a=this.accountTypeSettings[e],i=this.getAvailableSpreads(t);null!==a.selectedIndex&&void 0!==a.selectedIndex?a.selectedItem=i[a.selectedIndex]||null:a.selectedItem=null,this.$forceUpdate()},getSpreadLabel:function(e){return e.groupName||""},loginTypeList:function(){var e=this;return Object(o["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,c["a"].loginTypeList({page:{current:1,row:100}});case 2:a=t.sent,a.code==m.StatusOK?e.spreadList=a.data:e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},getValidAccountTypes:function(e,t){var a=this.spreadList.find((function(e){return e.id===t})),i={hide:"",commission:"",excludeShowLoginTypes:[]};if(!a)return i;var n=e.filter((function(e){return a.loginTypes.includes(e)})),s=e.filter((function(e){return!a.loginTypes.includes(e)})),r=this.excludeList.filter((function(e){return s.includes(e.value)})).map((function(e){return e.label})),o=this.excludeLists.filter((function(e){return!n.includes(e.value)})).map((function(e){return e.value}));return this.loginTypes=r.join("、"),{hide:a.hide,commission:a.comPoint,excludeShowLoginTypes:o,invalidLabels:r,invalidValues:s}},getLink1:function(){var e=this;return Object(o["a"])(Object(r["a"])().mark((function t(){var a,i,n,o;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=[],i=[],Object.keys(e.accountTypeSettings).forEach((function(t){var n=e.accountTypeSettings[t];n.selectedItem&&(a.push(n.loginType),i.push(n.selectedItem))})),0!==a.length){t.next=7;break}return e.$pigeon.MessageWarning(e.$i18n.t("Ib.Index.Spread5")),e.link="",t.abrupt("return");case 7:return n=Object(s["a"])({loginConfig:i},e.currentId?{ibId:e.currentId}:{}),t.next=10,c["a"].customLinkCode(n);case 10:if(o=t.sent,o.code!==m.StatusOK){t.next=16;break}return e.$pigeon.MessageOK(o.msg),t.abrupt("return",o.data);case 16:return e.$pigeon.MessageError(o.msg),t.abrupt("return","");case 18:case"end":return t.stop()}}),t)})))()},CreateLink:function(){var e=this;return Object(o["a"])(Object(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.linkName){t.next=3;break}return e.$pigeon.MessageWarning(e.$i18n.t("Ib.Index.LinkName")),t.abrupt("return");case 3:return t.next=5,e.getLink1();case 5:if(a=t.sent,a){t.next=8;break}return t.abrupt("return");case 8:e.linkValue=a,e.link="".concat(u,"/#/signup/").concat(e.getInfoId,"/").concat(a,"/").concat(e.ibInvalid);case 10:case"end":return t.stop()}}),t)})))()},saveLink:function(){var e=this;return Object(o["a"])(Object(r["a"])().mark((function t(){var a,i,n;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.linkName){t.next=3;break}return e.$pigeon.MessageWarning(e.$i18n.t("Label.Name")),t.abrupt("return");case 3:if(e.link){t.next=6;break}return e.$pigeon.MessageWarning(e.$i18n.t("Ib.Index.CreateLink")),t.abrupt("return");case 6:if(a=[],Object.keys(e.accountTypeSettings).forEach((function(t){var i=e.accountTypeSettings[t];i.selectedItem&&a.push(i.selectedItem)})),0!==a.length){t.next=11;break}return e.$pigeon.MessageWarning(e.$i18n.t("Ib.Index.Spread5")),t.abrupt("return");case 11:return i={name:e.linkName,link:e.link,linkValue:e.linkValue,loginConfig:a},e.currentCId&&(i.cId=e.currentCId),e.currentId&&(i.ibId=e.currentId),t.next=16,c["a"].customLinkAdd(i);case 16:n=t.sent,n.code===m.StatusOK?(e.$pigeon.MessageOK(n.msg),e.dialogLink=!1,e.currentCId=null,e.currentId=null,e.linkName="",e.link="",e.linkValue="",e.excludeShowLoginTypes=[],e.selectedSpreadId="",e.accountTypeSettings={ecn:{selectedIndex:null,selectedItem:null,loginType:"2"},standard:{selectedIndex:null,selectedItem:null,loginType:"7"},cent:{selectedIndex:null,selectedItem:null,loginType:"8"}},e.$emit("saved")):e.$pigeon.MessageError(n.msg);case 18:case"end":return t.stop()}}),t)})))()},CopyShareLink:function(e){var t=document.getElementById(e);t&&(t.select(),document.execCommand("Copy"),this.$pigeon.MessageOK(this.$i18n.t("card.Msg.m8")))},downloadQrCode:function(){this.$refs.qrCode&&this.$refs.qrCode.downloadQrCode()},showQrCodeDialog:function(e){e&&(this.currentQrCodeLink=e,this.qrCodeDialogVisible=!0)},handleCurrentChange:function(e){this.pagerInfo.current=e,this.getList()},getGroupNameByLoginType:function(e,t){if(!e)return"";var a=e;if("string"===typeof e)try{a=JSON.parse(e)}catch(n){return""}if(!Array.isArray(a))return"";var i=a.find((function(e){return e.loginType===t||e.loginType===String(t)||String(e.loginType)===String(t)}));return i&&i.groupName||""},formatLoginTypes:function(e){if(!e)return"--";var t=e;if("string"===typeof e)try{t=JSON.parse(e)}catch(n){t=e.split(",").map((function(e){return e.trim()}))}Array.isArray(t)||(t=[t]);var a={1:this.$i18n.t("AccountType.ClassicAccount"),2:this.$i18n.t("AccountType.SeniorAccount"),3:this.$i18n.t("AccountType.AgencyAccount"),5:this.$i18n.t("AccountType.SpeedAccount"),6:this.$i18n.t("AccountType.SpeedAccount"),7:this.$i18n.t("AccountType.StandardAccount"),8:this.$i18n.t("AccountType.CentAccount")},i=t.map((function(e){return a[String(e)]||e})).filter(Boolean);return i.length>0?i.join("、"):"--"}},created:function(){var e=this;this.$nextTick((function(){e.excludeLists=[{label:e.$i18n.t("AccountType.SeniorAccount"),value:"2"},{label:e.$i18n.t("AccountType.AgencyAccount"),value:"3"},{label:e.$i18n.t("AccountType.StandardAccount"),value:"7"},{label:e.$i18n.t("AccountType.CentAccount"),value:"8"}],e.excludeLists=e.excludeLists.filter((function(e){return!e.hidden}))}))}},v=f,_=(a("5396"),a("2877")),g=Object(_["a"])(v,i,n,!1,null,"3914491a",null);t["a"]=g.exports},"994b":function(e,t,a){"use strict";a("020b")},"99ca":function(e,t,a){"use strict";a("fe0d")},"9dc7":function(e,t,a){"use strict";a.r(t);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:"GroupHistory","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("div",{staticClass:"chooseLang"},[t("span",{staticClass:"crm-cursor",class:{active:"MT4"==e.search.platform},on:{click:function(t){return e.choosePla("MT4")}}},[e._v("MT4")]),t("span",{staticClass:"crm-cursor",class:{active:"MT5"==e.search.platform},on:{click:function(t){return e.choosePla("MT5")}}},[e._v("MT5")])])]),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:e.$i18n.t("Label.TradingAccount"),value:1}}),t("el-option",{attrs:{label:e.$i18n.t("news_add_field.Group.oldGroup"),value:2}}),t("el-option",{attrs:{label:e.$i18n.t("news_add_field.Group.newGroup"),value:3}})],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.login,callback:function(t){e.$set(e.search,"login","string"===typeof t?t.trim():t)},expression:"search.login"}}):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.oldGroup,callback:function(t){e.$set(e.search,"oldGroup",t)},expression:"search.oldGroup"}}):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.newGroup,callback:function(t){e.$set(e.search,"newGroup",t)},expression:"search.newGroup"}}):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)],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.TradingAccount")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.login||"--")+" ")]}}])}),t("el-table-column",{attrs:{prop:"title",align:"left",label:e.$i18n.t("Label.Platform")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.platform||"--")+" ")]}}])}),t("el-table-column",{attrs:{prop:"title",align:"left",label:e.$i18n.t("news_add_field.Group.oldGroup")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.oldGroup||"--")+" ")]}}])}),t("el-table-column",{attrs:{prop:"title",align:"left",label:e.$i18n.t("news_add_field.Group.newGroup")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.newGroup||"--")+" ")]}}])}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.ProcessingDate")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.addTime||"--")+" ")]}}])}),"MT4"==e.search.platform?t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.Server")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.server||"--")+" ")]}}],null,!1,772331096)}):e._e()],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("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()],1)},n=[],s=a("5530"),r=a("c7eb"),o=a("1da1"),l=a("5217"),c=a("f121"),d=a.n(c),p=a("2d59"),m=a("3a82"),u=d.a.Code,f={name:"GroupHistory",components:{DetailedInfoCid:p["a"],DetailedInfoIbNo:m["a"]},data:function(){return{reasons:{},pictLoading:!1,mock_tableData:[],search:{tag:1,platform:"MT4",oldGroup:"",newGroup:"",login:"",date:[],startDate:"",endDate:""},dialogInfo:!1,dialogCheck:!1,dialogCheck_form:{},dialogInfoCid:!1,dialogInfoPIbNo:!1,infoType:"",formInfo:{},formInfoPib:{},pagerInfo:{row:10,current:1,pageTotal:0,rowTotal:0}}},computed:{display:function(){return this.Session.GetDisplay()}},methods:{choosePla:function(e){this.search.platform=e,this.toSearch()},closeDia:function(){this.dialogInfoCid=!1,this.dialogInfoPIbNo=!1},close:function(e){this.dialogInfoCid=e,this.dialogInfoPIbNo=e},accountOpen:function(e){this.searchSingleCid(e)},agentOpen:function(e){this.searchSinglePIbNo(e)},searchSingleCid:function(e){var t=this;return Object(o["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,l["a"].cidRealSingle({id:e});case 2:i=a.sent,i.code==u.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(o["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,l["a"].pIbNoRealSingle({ibNo:e});case 2:i=a.sent,i.code==u.StatusOK?(t.formInfoPib=i.data,t.dialogInfoPIbNo=!0):t.$pigeon.MessageError(i.msg);case 4:case"end":return a.stop()}}),a)})))()},searchFunc:function(){var e=this;return Object(o["a"])(Object(r["a"])().mark((function t(){var a,i;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.pictLoading=!0,null!==(a=e.display["R-Custom-Group-History-List"])&&void 0!==a&&a.show){t.next=5;break}return e.$pigeon.MessageWarning(e.$i18n.t("Msg.NotDisplay")),e.pictLoading=!1,t.abrupt("return");case 5:return null==e.search.date||0==e.search.date.length?(e.search.startDate="",e.search.endDate=""):(e.search.startDate=e.search.date[0],e.search.endDate=e.search.date[1]),t.next=8,l["a"].customGroupHistory(Object(s["a"])(Object(s["a"])({},e.search),{},{page:{current:e.pagerInfo.current,row:e.pagerInfo.row}}));case 8:i=t.sent,i.code==u.StatusOK?(e.mock_tableData=i.data,null!=i.page?(e.pagerInfo.rowTotal=i.page.rowTotal,e.pagerInfo.pageTotal=i.page.pageTotal):e.pagerInfo.rowTotal=0,e.$pigeon.MessageOK(e.$i18n.t("Msg.SearchSuccess")),e.pictLoading=!1):(e.$pigeon.MessageError(i.msg),e.pictLoading=!1);case 10:case"end":return t.stop()}}),t)})))()},getDate:function(){var e,t,a=2,i=(new Date).getTimezoneOffset(),n=(new Date).getTime(),s=new Date(n+60*i*1e3+60*a*60*1e3),r=s.getFullYear(),o=s.getMonth()+1,l=s.getDate();o<10&&(o="0"+o),l<10&&(l="0"+l),e=r+"-"+o+"-01";var c=s.getMonth(),d=++c,p=new Date(s.getFullYear(),d,1),m=864e5,u=new Date(p-m),f=u.getDate();f<10&&(f="0"+f),t=r+"-"+o+"-"+f,this.search.date=[e,t]},getSearchDate:function(e){this.search.date=e},toSearch:function(){this.pagerInfo.current=1,this.searchFunc()},handleSizeChange:function(e){this.pagerInfo.row=e,this.searchFunc()},handleCurrentChange:function(e){this.pagerInfo.current=e,this.searchFunc()}},mounted:function(){this.getDate(),this.searchFunc()},watch:{"search.tag":function(){this.search.login="",this.search.oldGroup="",this.search.newGroup=""}}},v=f,_=(a("994b"),a("e06b"),a("2877")),g=Object(_["a"])(v,i,n,!1,null,"7a3d17c3",null);t["default"]=g.exports},a0fc:function(e,t,a){"use strict";a("f7f8")},a36f:function(e,t,a){},dc7d:function(e,t,a){},e06b:function(e,t,a){"use strict";a("e8e7")},e8e7:function(e,t,a){},f7f8:function(e,t,a){},fe0d:function(e,t,a){}}]);