agent.0b46f65f.js 124 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["agent"],{"0628":function(e,t,a){},"1b13":function(e,t,a){"use strict";a("3991")},"1c21":function(e,t,a){},2909:function(e,t,a){"use strict";a.d(t,"a",(function(){return l}));var i=a("6b75");function n(e){if(Array.isArray(e))return Object(i["a"])(e)}a("a4d3"),a("e01a"),a("d28b"),a("a630"),a("d3b7"),a("3ca3"),a("ddb0");function o(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}var s=a("06c5");a("d9e2");function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e){return n(e)||o(e)||Object(s["a"])(e)||r()}},"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=[],o=a("c14f"),s=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),m=a("92c7"),u=d.a.Code,p=d.a.Host85,f=d.a.Host00,g={name:"DetailedInfoCid",components:{ConsumerShareLink:m["a"]},props:{dialogInfoCid:{type:Boolean,default:!1},type:{default:0},btn:{default:0},isTrading:{default:!1},formInfo:{default:""}},data:function(){return{reasons:{},imgUrl:p,Host00:f,Host85:p,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(o["a"])().m((function e(){var t=this;return Object(o["a"])().w((function(e){while(1)switch(e.n){case 0:this.$refs["dialogCheck_form"].validate(function(){var e=Object(r["a"])(Object(o["a"])().m((function e(a){var i;return Object(o["a"])().w((function(e){while(1)switch(e.n){case 0:if(!a){e.n=2;break}return e.n=1,l["a"].customFileApprove(Object(s["a"])({},t.dialogCheck_form));case 1:i=e.v,i.code==u.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.n=3;break;case 2:return e.a(2,!1);case 3:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:return e.a(2)}}),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(o["a"])().m((function e(){var t=this;return Object(o["a"])().w((function(e){while(1)switch(e.n){case 0:this.$refs["dialogCheck_form"].validate(function(){var e=Object(r["a"])(Object(o["a"])().m((function e(a){var i;return Object(o["a"])().w((function(e){while(1)switch(e.n){case 0:if(!a){e.n=2;break}return e.n=1,l["a"].customFileApproveDe(Object(s["a"])({},t.dialogCheck_form));case 1:i=e.v,i.code==u.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.n=3;break;case 2:return e.a(2,!1);case 3:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:return e.a(2)}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),searchReasons:function(){var e=this;return Object(r["a"])(Object(o["a"])().m((function t(){var a;return Object(o["a"])().w((function(t){while(1)switch(t.n){case 0:return t.n=1,l["a"].reasonsRefusalList({type:1});case 1:a=t.v,a.code==u.StatusOK?null==a.data?e.reasons={}:e.reasons=a.data:e.$pigeon.MessageError(a.msg);case 2:return t.a(2)}}),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=[])}}},h=g,v=(a("53f6"),a("cf4a"),a("2877")),_=Object(v["a"])(h,i,n,!1,null,"c6ac5fea",null);t["a"]=_.exports},3991:function(e,t,a){},"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=[],o=a("f121"),s=a.n(o),r={name:"DetailedInfoIbNo",props:{dialogInfoIbNo:{type:Boolean,default:!1},infoType:{default:""},formInfo:{default:""},btn:{type:Boolean,default:!1}},data:function(){return{imgUrl:s.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,n,!1,null,"39a3abd0",null);t["a"]=d.exports},"3e6a":function(e,t,a){},"53f6":function(e,t,a){"use strict";a("56e3")},"56e3":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-CloseFunction"].show?t("el-button",{staticStyle:{"margin-left":"8px"},attrs:{type:"primary",size:"small"},on:{click:e.handleBatchClose}},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.BatchClose",expression:"'Btn.BatchClose'"}]})]):e._e(),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",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.mock_tableData,stripe:""},on:{"selection-change":e.handleSelectionChange}},[t("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),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:"customNum",align:"left",label:e.$i18n.t("Label.CustomNum1")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(null!=t.row.customNum?t.row.customNum:"--")+" ")]}}])}),t("el-table-column",{attrs:{prop:"agentNum",align:"left",label:e.$i18n.t("Label.AgentNum")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(null!=t.row.agentNum?t.row.agentNum:"--")+" ")]}}])}),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(),"-1"!=a.row.closeFunctions.indexOf("8")?t("span",{},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Enter_info.type_dynamic13",expression:"'Enter_info.type_dynamic13'"}]}),t("span",[e._v(",")])]):e._e(),"-1"!=a.row.closeFunctions.indexOf("9")?t("span",{},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Enter_info.type_dynamic12",expression:"'Enter_info.type_dynamic12'"}]}),t("span",[e._v(",")])]):e._e(),a.row.closeFunctions.length?e._e():t("span",[e._v(e._s("--"))])]}}],null,!1,1358576153)}):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._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'"}]})]),e._e(),e.display["R-Agent-VietnamCommission"].show?t("el-dropdown-item",{attrs:{command:{type:"VietnamCommission",row:a.row}}},[t("i",{staticClass:"el-icon-search"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"R-Agent-VietnamCommission",expression:"'R-Agent-VietnamCommission'"}]})]):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:{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"}}),t("el-option",{attrs:{label:e.$t("Enter_info.type_dynamic13"),value:"8"}}),t("el-option",{attrs:{label:e.$t("Enter_info.type_dynamic12"),value:"9"}})],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.$i18n.t("R-Agent-CloseFunction"),visible:e.dialogBatchClose,center:"","close-on-click-modal":!1,"custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogBatchClose=t}}},[t("div",{staticClass:"dia-content"},[t("el-form",{ref:"dialogBatchClose_form",staticClass:"dialogCheck_form",attrs:{model:e.dialogBatchClose_form,rules:e.rules,"label-width":"190px"}},[t("el-form-item",{attrs:{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.dialogBatchClose_form.closeFunctions,callback:function(t){e.$set(e.dialogBatchClose_form,"closeFunctions",t)},expression:"dialogBatchClose_form.closeFunctions"}},[t("el-option",{attrs:{label:e.$t("Enter_info.type_dynamic9"),value:"5"}})],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.toBatchClose()}}}),t("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:e.cancelBatchClose}})],1)],1)]),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)]),t("el-dialog",{attrs:{visible:e.dialogVietnamDistribution,center:"",title:e.$t("R-Agent-VietnamCommission"),"custom-class":"dialog_header_w dialogIb",width:"50%"},on:{"update:visible":function(t){e.dialogVietnamDistribution=t}}},[t("div",{staticClass:"dia-content"},[t("el-table",{staticClass:"crm_tab",staticStyle:{width:"100%"},attrs:{data:e.vietnamDistributionTableData,stripe:"","span-method":e.vietnamTableSpanMethod,border:""}},[t("el-table-column",{attrs:{prop:"valid",align:"center","header-align":"center",label:"状态",width:"80"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-switch",{attrs:{"active-value":1,"active-color":"#67C23A","inactive-value":0},on:{change:function(t){return e.handleVietnamValidChange(a.row)}},model:{value:a.row.valid,callback:function(t){e.$set(a.row,"valid",t)},expression:"scope.row.valid"}})]}}])}),t("el-table-column",{attrs:{prop:"accountGroup",align:"center","header-align":"center",label:""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.accountGroup||"--"))]}}])}),t("el-table-column",{attrs:{prop:"type",align:"center","header-align":"center",label:""},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[e._v(" "+e._s(a.row.type||"--")+" ")])]}}])}),t("el-table-column",{attrs:{prop:"energy",align:"center","header-align":"center",label:"METAL"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-select",{staticStyle:{width:"100%"},attrs:{size:"mini"},on:{change:e.handleValueChange},model:{value:a.row.energy,callback:function(t){e.$set(a.row,"energy",t)},expression:"scope.row.energy"}},e._l(a.row.energyOptions,(function(e){return t("el-option",{key:e,attrs:{label:e,value:e}})})),1)]}}])}),t("el-table-column",{attrs:{prop:"forex",align:"center","header-align":"center",label:"FX"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-select",{staticStyle:{width:"100%"},attrs:{size:"mini"},on:{change:e.handleValueChange},model:{value:a.row.forex,callback:function(t){e.$set(a.row,"forex",t)},expression:"scope.row.forex"}},e._l(a.row.forexOptions,(function(e){return t("el-option",{key:e,attrs:{label:e,value:e}})})),1)]}}])}),t("el-table-column",{attrs:{prop:"energy2",align:"center","header-align":"center",label:"Energy"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-select",{staticStyle:{width:"100%"},attrs:{size:"mini"},on:{change:e.handleValueChange},model:{value:a.row.energy2,callback:function(t){e.$set(a.row,"energy2",t)},expression:"scope.row.energy2"}},e._l(a.row.energy2Options,(function(e){return t("el-option",{key:e,attrs:{label:e,value:e}})})),1)]}}])}),t("el-table-column",{attrs:{prop:"index",align:"center","header-align":"center",label:"CFD"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-select",{staticStyle:{width:"100%"},attrs:{size:"mini"},on:{change:e.handleValueChange},model:{value:a.row.index,callback:function(t){e.$set(a.row,"index",t)},expression:"scope.row.index"}},e._l(a.row.indexOptions,(function(e){return t("el-option",{key:e,attrs:{label:e,value:e}})})),1)]}}])}),t("el-table-column",{attrs:{prop:"metal",align:"center","header-align":"center",label:"INDEX"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-select",{staticStyle:{width:"100%"},attrs:{size:"mini"},on:{change:e.handleValueChange},model:{value:a.row.metal,callback:function(t){e.$set(a.row,"metal",t)},expression:"scope.row.metal"}},e._l(a.row.metalOptions,(function(e){return t("el-option",{key:e,attrs:{label:e,value:e}})})),1)]}}])})],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(t){e.dialogVietnamDistribution=!1}}},[e._v("关闭")]),t("el-button",{attrs:{type:"primary"},on:{click:e.saveVietnamDistribution}},[e._v("保存")])],1)],1)])],1)},n=[],o=a("2909"),s=a("6f3e"),r=a("b85c"),l=a("5530"),c=a("c14f"),d=a("1da1"),m=(a("99af"),a("7db0"),a("d81d"),a("14d9"),a("e9f5"),a("f665"),a("7d54"),a("ab43"),a("b64b"),a("d3b7"),a("3ca3"),a("159b"),a("ddb0"),a("2b3d"),a("bf19"),a("9861"),a("88a7"),a("271a"),a("5494"),a("bc3a")),u=a.n(m),p=a("5217"),f=a("f121"),g=a.n(f),h=a("2d59"),v=a("3a82"),_=g.a.Code,b={name:"Agent",inject:["reload"],components:{DetailedInfoCid:h["a"],DetailedInfoIbNo:v["a"]},data:function(){return{dialogVietnamDistribution:!1,vietnamDistributionTableData:[],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"}],closeFunctions:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"change"}]},dialogFixedHide:!1,dialogFixedHide_form:{id:null,fixedHide:0,hide:null},dialogBatchClose:!1,dialogBatchClose_form:{closeFunctions:[]},selectedRows:[]}},computed:{display:function(){return JSON.parse(this.Session.Get("display",!0))}},methods:{handleValueChange:function(){},generateOptions:function(e){for(var t=[],a=0;a<=e;a++)t.push(a);return t},initVietnamDistributionData:function(e){var t=this;return Object(d["a"])(Object(c["a"])().m((function a(){var i,n,o;return Object(c["a"])().w((function(a){while(1)switch(a.p=a.n){case 0:return console.log(e),a.p=1,a.n=2,p["a"].getVietnamPoints({agentId:e.id||e.agentId});case 2:i=a.v,i.code==_.StatusOK&&i.data&&Array.isArray(i.data)?(n=[],i.data.forEach((function(e){var a=e.groupCategoryName||"--";if(e.superRebates&&Array.isArray(e.superRebates)&&e.superRebates.length>0){var i={accountGroup:a,groupCategoryId:e.groupCategoryId,dataType:"rebates",type:e.rebateTypeName||"point",forex:0,index:0,metal:0,energy:0,energy2:0,forex1:0,index1:0,metal1:0,energy1:0,energy21:0,valid:e.valid};e.rebates.forEach((function(e){1===e.symbolCategory?i.forex=e.point||0:2===e.symbolCategory?i.index=e.point||0:3===e.symbolCategory?i.metal=e.point||0:4===e.symbolCategory?i.energy=e.point||0:5===e.symbolCategory&&(i.energy2=e.point||0)})),e.superRebates.forEach((function(e){1===e.symbolCategory?i.forex1=e.point||0:2===e.symbolCategory?i.index1=e.point||0:3===e.symbolCategory?i.metal1=e.point||0:4===e.symbolCategory?i.energy1=e.point||0:5===e.symbolCategory&&(i.energy21=e.point||0)})),i.forexOptions=t.generateOptions(i.forex1),i.indexOptions=t.generateOptions(i.index1),i.metalOptions=t.generateOptions(i.metal1),i.energyOptions=t.generateOptions(i.energy1),i.energy2Options=t.generateOptions(i.energy21),n.push(i)}if(e.superCommissions&&Array.isArray(e.superCommissions)&&e.superCommissions.length>0){var o={accountGroup:a,groupCategoryId:e.groupCategoryId,dataType:"commissions",type:e.commissionTypeName||"commissions",forex:0,index:0,metal:0,energy:0,energy2:0,forex1:0,index1:0,metal1:0,energy1:0,energy21:0,valid:e.valid};e.commissions.forEach((function(e){1===e.symbolCategory?o.forex=e.point||0:2===e.symbolCategory?o.index=e.point||0:3===e.symbolCategory?o.metal=e.point||0:4===e.symbolCategory?o.energy=e.point||0:5===e.symbolCategory&&(o.energy2=e.point||0)})),e.superCommissions.forEach((function(e){1===e.symbolCategory?o.forex1=e.point||0:2===e.symbolCategory?o.index1=e.point||0:3===e.symbolCategory?o.metal1=e.point||0:4===e.symbolCategory?o.energy1=e.point||0:5===e.symbolCategory&&(o.energy21=e.point||0)})),o.forexOptions=t.generateOptions(o.forex1),o.indexOptions=t.generateOptions(o.index1),o.metalOptions=t.generateOptions(o.metal1),o.energyOptions=t.generateOptions(o.energy1),o.energy2Options=t.generateOptions(o.energy21),n.push(o)}})),t.vietnamDistributionTableData=n):(t.vietnamDistributionTableData=[],t.$pigeon.MessageError(i.msg||"获取数据失败")),a.n=4;break;case 3:a.p=3,o=a.v,console.error("获取越南分配数据失败:",o),t.vietnamDistributionTableData=[],t.$pigeon.MessageError("获取数据失败");case 4:return a.a(2)}}),a,null,[[1,3]])})))()},vietnamTableSpanMethod:function(e){var t=e.row,a=e.rowIndex,i=e.columnIndex;if(0===i||1===i){for(var n=t.accountGroup,o=a,s=a;s>=0;s--){if(this.vietnamDistributionTableData[s].accountGroup!==n)break;o=s}if(o===a){for(var r=0,l=a;l<this.vietnamDistributionTableData.length;l++){if(this.vietnamDistributionTableData[l].accountGroup!==n)break;r++}return{rowspan:r,colspan:1}}return{rowspan:0,colspan:0}}},handleVietnamValidChange:function(e){var t=e.groupCategoryId,a=e.valid;this.vietnamDistributionTableData.forEach((function(e){e.groupCategoryId===t&&(e.valid=a)}))},saveVietnamDistribution:function(){var e=this;return Object(d["a"])(Object(c["a"])().m((function t(){var a,i,n,o;return Object(c["a"])().w((function(t){while(1)switch(t.p=t.n){case 0:return t.p=0,a=[],i={},e.vietnamDistributionTableData.forEach((function(e){var t=e.groupCategoryId;i[t]||(i[t]={groupCategoryId:t,commissions:[],rebates:[],valid:e.valid});var a="commissions"===e.dataType?i[t].commissions:i[t].rebates;void 0!==e.forex&&null!==e.forex&&a.push({symbolCategory:1,point:e.forex}),void 0!==e.index&&null!==e.index&&a.push({symbolCategory:2,point:e.index}),void 0!==e.metal&&null!==e.metal&&a.push({symbolCategory:3,point:e.metal}),void 0!==e.energy&&null!==e.energy&&a.push({symbolCategory:4,point:e.energy}),void 0!==e.energy2&&null!==e.energy2&&a.push({symbolCategory:5,point:e.energy2})})),console.log(i,"112233"),Object.keys(i).forEach((function(e){var t=i[e];(t.commissions.length>0||t.rebates.length>0)&&a.push({groupCategoryId:t.groupCategoryId,commissions:t.commissions.length>0?t.commissions:void 0,rebates:t.rebates.length>0?t.rebates:void 0,valid:t.valid})})),t.n=1,p["a"].saveVietnamPoints({agentId:e.currentVietnamAgentId,points:a});case 1:n=t.v,n.code==_.StatusOK?(e.$pigeon.MessageOK(n.msg||"保存成功"),e.dialogVietnamDistribution=!1,e.searchFunc()):e.$pigeon.MessageError(n.msg||"保存失败"),t.n=3;break;case 2:t.p=2,o=t.v,console.error("保存越南分配数据失败:",o),e.$pigeon.MessageError("保存失败");case 3:return t.a(2)}}),t,null,[[0,2]])})))()},handleSelectionChange:function(e){this.selectedRows=e},handleBatchClose:function(){this.selectedRows&&0!==this.selectedRows.length?(this.$refs["dialogBatchClose_form"]&&this.$refs["dialogBatchClose_form"].resetFields(),this.dialogBatchClose_form={closeFunctions:[]},this.dialogBatchClose=!0):this.$pigeon.MessageWarning(this.$i18n.t("Msg.PleaseSelect"))},toBatchClose:function(){var e=Object(d["a"])(Object(c["a"])().m((function e(){var t=this;return Object(c["a"])().w((function(e){while(1)switch(e.n){case 0:this.$refs["dialogBatchClose_form"].validate(function(){var e=Object(d["a"])(Object(c["a"])().m((function e(a){var i,n,o;return Object(c["a"])().w((function(e){while(1)switch(e.n){case 0:if(!a){e.n=5;break}if(!t.flag){e.n=1;break}return e.a(2);case 1:t.flag=!0;case 2:if(t.selectedRows&&0!==t.selectedRows.length){e.n=3;break}return t.$pigeon.MessageWarning(t.$i18n.t("Msg.PleaseSelect")),t.flag=!1,e.a(2);case 3:return i=t.selectedRows.map((function(e){return e.id})),n=t.dialogBatchClose_form.closeFunctions||[],e.n=4,p["a"].ibUpdateCloseFunctions({ids:i,closeFunctions:n});case 4:o=e.v,o.code==_.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.ModifySuccess")),t.cancelBatchClose(),t.searchFunc(),t.flag=!1,t.$refs.multipleTable&&t.$refs.multipleTable.clearSelection()):(t.flag=!1,t.$pigeon.MessageError(o.msg)),e.n=6;break;case 5:return e.a(2,!1);case 6:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:return e.a(2)}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),cancelBatchClose:function(){this.dialogBatchClose=!1,this.$refs["dialogBatchClose_form"]&&this.$refs["dialogBatchClose_form"].resetFields(),this.dialogBatchClose_form={closeFunctions:[]},this.selectedRows=[],this.$refs.multipleTable&&this.$refs.multipleTable.clearSelection()},selectChange:function(){this.$forceUpdate()},handleCommand:function(e){var t=this;return Object(d["a"])(Object(c["a"])().m((function a(){return Object(c["a"])().w((function(a){while(1)switch(a.n){case 0:if("editor"!=e.type){a.n=1;break}t.dialogInfoTradingAdd=!0,t.editor=1,t.btn=1,a.n=10;break;case 1:if("delete"!=e.type){a.n=2;break}t.delete(e.id),a.n=10;break;case 2:if("balance"!=e.type){a.n=3;break}t.$refs["dialogCheck_form"]&&t.$refs["dialogCheck_form"].resetFields(),t.dialogCheck_form={},t.dialogCheck=!0,t.dialogCheckTit=t.$i18n.t("Customer_info.Agent.Title"),t.dialogCheck_form.hideType=0,t.dialogCheck_form.agentId=e.row.id,t.dialogCheck_form.ibNo=e.row.ibNo,a.n=10;break;case 3:if("hide"!=e.type){a.n=4;break}t.$refs["dialogCheck_form"]&&t.$refs["dialogCheck_form"].resetFields(),t.dialogCheck_form={},t.dialogCheck=!0,t.dialogCheckTit=t.$i18n.t("R-Agent-Hide"),t.dialogCheck_form.hideType=1,t.dialogCheck_form.id=e.row.id,t.dialogCheck_form.hide=e.row.hide,t.dialogCheck_form.ibNo=e.row.ibNo,a.n=10;break;case 4:if("commission"!=e.type){a.n=5;break}t.$refs["dialogCheck_form"]&&t.$refs["dialogCheck_form"].resetFields(),t.dialogCheck_form={},t.dialogCheck=!0,t.dialogCheckTit=t.$i18n.t("R-Agent-Commission"),t.dialogCheck_form.hideType=2,t.dialogCheck_form.id=e.row.id,t.dialogCheck_form.commissionApproval=e.row.commissionApproval,t.dialogCheck_form.ibNo=e.row.ibNo,a.n=10;break;case 5:if("Rebate"!=e.type){a.n=6;break}t.$refs["dialogCheck_form"]&&t.$refs["dialogCheck_form"].resetFields(),t.dialogCheck_form={},t.dialogCheckTit=t.$i18n.t("R-Agent-Rebate"),t.dialogCheck_form.id=e.row.id,t.searchPoint(t.dialogCheck_form.id,e.row.ibNo),a.n=10;break;case 6:if("Adjustment"!=e.type){a.n=9;break}return t.$refs["dialogCheck_form"]&&t.$refs["dialogCheck_form"].resetFields(),t.dialogCheck_form={},t.dialogCheckTit=t.$i18n.t("R-Agent-AdjustmentAttribution"),t.dialogCheck_form.hideType=4,t.dialogCheck_form1.id=e.row.id,t.dialogCheck_form1.ibNo=e.row.ibNo,t.dialogCheck_form1.pIbNo=e.row.pIbNo,t.dialogCheck_form1.fixedHide=void 0!==e.row.fixedHide?e.row.fixedHide:0,t.dialogCheck_form1.hide=void 0!==e.row.hide?e.row.hide:null,a.n=7,t.searchIbTree();case 7:return a.n=8,t.setCurrentAgentIdPath(e.row);case 8:t.dialogCheck1=!0,a.n=10;break;case 9:"frozen"==e.type?(t.$refs["dialogCheck_form"]&&t.$refs["dialogCheck_form"].resetFields(),t.dialogCheck_form={},t.dialogCheck=!0,t.dialogCheckTit=t.$i18n.t("R-Agent-Frozen"),t.dialogCheck_form.hideType=5,t.dialogCheck_form.id=e.row.id,t.dialogCheck_form.ibNo=e.row.ibNo):"notice"==e.type?t.$router.push({path:"/web/notice",query:{cid:e.row.cId}}).catch((function(e){return e})):"group"==e.type?(t.$refs["dialogCheck_form"]&&t.$refs["dialogCheck_form"].resetFields(),t.dialogCheck_form={},t.dialogCheckTit=t.$i18n.t("R-Agent-GroupSettings"),t.dialogCheck_form.hideType=6,t.dialogCheck_form.id=e.row.id,t.dialogCheck_form.ibNo=e.row.ibNo,t.dialogCheck_form.selectLoginTypes=e.row.selectLoginTypes,t.dialogCheck_form.excludeLoginTypes=e.row.excludeLoginTypes,t.dialogCheck_form.selectGroupType=e.row.selectGroupType,t.dialogCheck_form.defaultGroupType=e.row.defaultGroupType,t.customGroupType()):"account"==e.type?(t.$refs["dialogCheck_form"]&&t.$refs["dialogCheck_form"].resetFields(),t.dialogCheck_form={},t.dialogCheckTit=t.$i18n.t("R-Agent-AccountSetup"),t.dialogCheck_form.hideType=7,t.dialogCheck_form.id=e.row.id,t.dialogCheck_form.ibNo=e.row.ibNo,t.dialogCheck_form.excludeShowLoginTypes=e.row.excludeShowLoginTypes,t.dialogCheck=!0):"ibAccount"==e.type?(t.$refs["dialogCheck_form"]&&t.$refs["dialogCheck_form"].resetFields(),t.dialogCheck_form={},t.dialogCheckTit=t.$i18n.t("R-IB-Agent-AccountSetup"),t.dialogCheck_form.hideType=11,t.dialogCheck_form.id=e.row.id,t.dialogCheck_form.ibNo=e.row.ibNo,t.dialogCheck_form.agentAccountSetting=e.row.agentAccountSetting,t.dialogCheck=!0):"pammManagerValid"==e.type?(t.$refs["dialogCheck_form"]&&t.$refs["dialogCheck_form"].resetFields(),t.dialogCheck_form={},t.dialogCheck=!0,t.dialogCheckTit=t.$i18n.t("R-Agent-pammManagerValid"),t.dialogCheck_form.hideType=8,t.dialogCheck_form.id=e.row.id,t.dialogCheck_form.pammManagerValid=e.row.pammManagerValid,t.dialogCheck_form.ibNo=e.row.ibNo):"CloseFunction"==e.type?(t.$refs["dialogCheck_form"]&&t.$refs["dialogCheck_form"].resetFields(),t.dialogCheck_form={},t.dialogCheck=!0,t.dialogCheckTit=t.$i18n.t("R-Agent-CloseFunction"),t.dialogCheck_form.hideType=9,t.dialogCheck_form.ids=[e.row.id],t.dialogCheck_form.closeFunctions=e.row.closeFunctions,t.dialogCheck_form.ibNo=e.row.ibNo):"PAMMValid"==e.type?(t.$refs["dialogCheck_form"]&&t.$refs["dialogCheck_form"].resetFields(),t.dialogCheck_form={},t.dialogCheck=!0,t.dialogCheckTit=t.$i18n.t("R-Agent-PAMMValid"),t.dialogCheck_form.hideType=10,t.dialogCheck_form.id=e.row.id,t.dialogCheck_form.pammValid=e.row.pammValid,t.dialogCheck_form.ibNo=e.row.ibNo):"agentTansfer"==e.type?(t.$refs["dialogCheck_form"]&&t.$refs["dialogCheck_form"].resetFields(),t.dialogCheck_form={},t.dialogCheck=!0,t.dialogCheckTit=t.$i18n.t("R-Agent-Transfer"),t.dialogCheck_form.hideType=12,t.dialogCheck_form.id=e.row.id,t.dialogCheck_form.agentTansfer=e.row.agentTransfer||0,t.dialogCheck_form.ibNo=e.row.ibNo):"Level"==e.type?(t.agentId_level=[],t.dialogCheck1level=!0,t.searchIbTreeLevel(e.row.id)):"Hid"==e.type?(t.dialogFixedHide=!0,t.dialogFixedHide_form={id:e.row.id,fixedHide:e.row.fixedHide||0,hide:e.row.hide||0}):"VietnamCommission"==e.type&&(t.currentVietnamAgentId=e.row.id||e.row.agentId,t.dialogVietnamDistribution=!0,t.initVietnamDistributionData(e.row));case 10:return a.a(2)}}),a)})))()},load:function(e,t,a){var i=this;return Object(d["a"])(Object(c["a"])().m((function t(){var n;return Object(c["a"])().w((function(t){while(1)switch(t.n){case 0:return t.n=1,p["a"].ibTree({pid:e.id});case 1:n=t.v,n.code==_.StatusOK?null!=n.data&&(n.data.forEach((function(e){e.children=[],e.hasChildren=!0})),a(n.data||[])):(i.$pigeon.MessageError(n.msg),a([]));case 2:return t.a(2)}}),t)})))()},searchIbTreeLevel:function(e){var t=this;return Object(d["a"])(Object(c["a"])().m((function a(){var i;return Object(c["a"])().w((function(a){while(1)switch(a.n){case 0:return a.n=1,p["a"].ibTree({pid:e});case 1:i=a.v,i.code==_.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 2:return a.a(2)}}),a)})))()},toVerified:function(){var e=Object(d["a"])(Object(c["a"])().m((function e(){var t=this;return Object(c["a"])().w((function(e){while(1)switch(e.n){case 0:this.$refs["dialogCheck_form"].validate(function(){var e=Object(d["a"])(Object(c["a"])().m((function e(a){var i,n,o,s,r,d,m,u,f,g,h,v,b;return Object(c["a"])().w((function(e){while(1)switch(e.n){case 0:if(!a){e.n=28;break}if(!t.flag){e.n=1;break}return e.a(2);case 1:t.flag=!0;case 2:if(1!=t.dialogCheck_form.hideType){e.n=4;break}return e.n=3,p["a"].hideAction(Object(l["a"])({},t.dialogCheck_form));case 3:i=e.v,i.code==_.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.n=27;break;case 4:if(0!=t.dialogCheck_form.hideType){e.n=6;break}return e.n=5,p["a"].agentAction(Object(l["a"])({},t.dialogCheck_form));case 5:n=e.v,n.code==_.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.n=27;break;case 6:if(2!=t.dialogCheck_form.hideType){e.n=8;break}return e.n=7,p["a"].commissionAction(Object(l["a"])({},t.dialogCheck_form));case 7:o=e.v,o.code==_.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.ModifySuccess")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(o.msg)),e.n=27;break;case 8:if(3!=t.dialogCheck_form.hideType){e.n=9;break}t.cancel(),t.flag=!1,e.n=27;break;case 9:if(4!=t.dialogCheck_form.hideType){e.n=11;break}return s=null,t.dialogCheck_form1.agentId&&t.dialogCheck_form1.agentId.length&&(s=t.dialogCheck_form1.agentId[t.dialogCheck_form1.agentId.length-1]),e.n=10,p["a"].AdjustmentAttributionAgent({agentId:t.dialogCheck_form1.id,newAgentId:s,hide:t.dialogCheck_form1.hide,fixedHide:t.dialogCheck_form1.fixedHide});case 10:r=e.v,r.code==_.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.ModifySuccess")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(r.msg)),e.n=27;break;case 11:if(5!=t.dialogCheck_form.hideType){e.n=13;break}return e.n=12,p["a"].agentBalanceFrozenAdd({agentId:t.dialogCheck_form.id,amount:t.dialogCheck_form.amount,type:t.dialogCheck_form.type});case 12:d=e.v,d.code==_.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.n=27;break;case 13:if(6!=t.dialogCheck_form.hideType){e.n=15;break}return e.n=14,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 14:m=e.v,m.code==_.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.n=27;break;case 15:if(7!=t.dialogCheck_form.hideType){e.n=17;break}return e.n=16,p["a"].ibAccount({id:t.dialogCheck_form.id,excludeShowLoginTypes:t.dialogCheck_form.excludeShowLoginTypes||null});case 16:u=e.v,u.code==_.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.n=27;break;case 17:if(8!=t.dialogCheck_form.hideType){e.n=19;break}return e.n=18,p["a"].ibUpdatePammManagerValid(Object(l["a"])({},t.dialogCheck_form));case 18:f=e.v,f.code==_.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.n=27;break;case 19:if(9!=t.dialogCheck_form.hideType){e.n=21;break}return e.n=20,p["a"].ibUpdateCloseFunctions(Object(l["a"])({},t.dialogCheck_form));case 20:g=e.v,g.code==_.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.ModifySuccess")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(g.msg)),e.n=27;break;case 21:if(11!=t.dialogCheck_form.hideType){e.n=23;break}return e.n=22,p["a"].IbAgentSetting(Object(l["a"])({},t.dialogCheck_form));case 22:h=e.v,h.code==_.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.n=27;break;case 23:if(10!=t.dialogCheck_form.hideType){e.n=25;break}return e.n=24,p["a"].ibUpdatePAMMValid(Object(l["a"])({},t.dialogCheck_form));case 24:v=e.v,v.code==_.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.n=27;break;case 25:if(12!=t.dialogCheck_form.hideType){e.n=27;break}return e.n=26,p["a"].agentTansfer(Object(l["a"])({},t.dialogCheck_form));case 26:b=e.v,b.code==_.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 27:e.n=29;break;case 28:return e.a(2,!1);case 29:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:return e.a(2)}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),cancel:function(){var e=this.dialogCheck_form.hideType;this.dialogCheck_form={},4==e?this.dialogCheck1=!1:this.dialogCheck=!1,this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields()},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,n=Object(r["a"])(e);try{for(n.s();!(a=n.n()).done;){var o=a.value;if(o.value===t)return o;if(o.children&&o.children.length>0){var s=i(o.children,t);if(s)return s}}}catch(l){n.e(l)}finally{n.f()}return null},n=i(this.agentId_options,a);this.hidStatus=n&&null===n.agentLevel},tree:function(){var e=Object(d["a"])(Object(c["a"])().m((function e(t,a){var i,n,o,r=this;return Object(c["a"])().w((function(e){while(1)switch(e.n){case 0:i=Object(c["a"])().m((function e(i){var n;return Object(c["a"])().w((function(e){while(1)switch(e.n){case 0:if(!(null!=a[i].children&&a[i].children.length>0&&a[i].value==t)){e.n=1;break}return r.child=a[i].children,e.a(2,{v:void 0});case 1:if(a[i].value!=t){e.n=5;break}return e.n=2,p["a"].ibTree({pid:t});case 2:if(n=e.v,n.code!=_.StatusOK){e.n=4;break}if(null==n.data){e.n=3;break}return n.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)}})),r.child=a[i].children,e.a(2,{v:void 0});case 3:e.n=5;break;case 4:r.$pigeon.MessageError(n.msg);case 5:return e.a(2)}}),e)})),o=0;case 1:if(!(o<a.length)){e.n=4;break}return e.d(Object(s["a"])(i(o)),2);case 2:if(n=e.v,!n){e.n=3;break}return e.a(2,n.v);case 3:o++,e.n=1;break;case 4:return e.a(2)}}),e)})));function t(t,a){return e.apply(this,arguments)}return t}(),searchIbTree:function(){var e=this;return Object(d["a"])(Object(c["a"])().m((function t(){var a;return Object(c["a"])().w((function(t){while(1)switch(t.n){case 0:return e.agentId_options=[],t.n=1,p["a"].ibTree({pid:0});case 1:a=t.v,a.code==_.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 2:return t.a(2)}}),t)})))()},searchIbTreeSearch:function(e){var t=this;return Object(d["a"])(Object(c["a"])().m((function a(){var i;return Object(c["a"])().w((function(a){while(1)switch(a.n){case 0:return a.n=1,p["a"].ibTreeSearch({ibNo:e});case 1:i=a.v,i.code==_.StatusOK?(null!=i.data&&(t.agentId_options=[],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 2:return a.a(2)}}),a)})))()},setCurrentAgentIdPath:function(e){var t=this;return Object(d["a"])(Object(c["a"])().m((function a(){var i,n,o,s;return Object(c["a"])().w((function(a){while(1)switch(a.p=a.n){case 0:return a.n=1,t.$nextTick();case 1:if(i=null,!e.pId&&!e.pAgentId){a.n=2;break}i=e.pId||e.pAgentId,a.n=6;break;case 2:if(!e.pIbNo){a.n=6;break}return a.p=3,a.n=4,p["a"].ibTreeSearch({ibNo:e.pIbNo});case 4:n=a.v,n.code==_.StatusOK&&n.data&&n.data.length>0&&(i=n.data[0].id),a.n=6;break;case 5:a.p=5,s=a.v,console.error("设置归属路径失败:",s);case 6:if(!i){a.n=8;break}return a.n=7,t.buildAgentIdPath(i);case 7:o=a.v,t.dialogCheck_form1.agentId=o.length>0?o:[i],a.n=9;break;case 8:t.dialogCheck_form1.agentId=[];case 9:return a.a(2)}}),a,null,[[3,5]])})))()},buildAgentIdPath:function(e){var t=this;return Object(d["a"])(Object(c["a"])().m((function a(){var i,n,s;return Object(c["a"])().w((function(a){while(1)switch(a.n){case 0:if(i=t.agentId_options.find((function(t){return t.value===e})),!i){a.n=1;break}return a.a(2,[e]);case 1:if(n=function(e,t){var a,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],s=Object(r["a"])(e);try{for(s.s();!(a=s.n()).done;){var l=a.value,c=[].concat(Object(o["a"])(i),[l.value]);if(l.value===t)return c;if(l.children&&l.children.length>0){var d=n(l.children,t,c);if(d)return d}}}catch(m){s.e(m)}finally{s.f()}return null},s=n(t.agentId_options,e),!s){a.n=2;break}return a.a(2,s);case 2:return a.a(2,[e])}}),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(d["a"])(Object(c["a"])().m((function a(){var i;return Object(c["a"])().w((function(a){while(1)switch(a.n){case 0:return a.n=1,p["a"].cidRealSingle({id:e});case 1:i=a.v,i.code==_.StatusOK?(t.formInfo=i.data,t.dialogInfoCid=!0):t.$pigeon.MessageError(i.msg);case 2:return a.a(2)}}),a)})))()},searchSinglePIbNo:function(e){var t=this;return Object(d["a"])(Object(c["a"])().m((function a(){var i;return Object(c["a"])().w((function(a){while(1)switch(a.n){case 0:return a.n=1,p["a"].pIbNoRealSingle({ibNo:e});case 1:i=a.v,i.code==_.StatusOK?(t.formInfoPib=i.data,t.dialogInfoPIbNo=!0):t.$pigeon.MessageError(i.msg);case 2:return a.a(2)}}),a)})))()},searchPoint:function(e,t){var a=this;return Object(d["a"])(Object(c["a"])().m((function i(){var n;return Object(c["a"])().w((function(i){while(1)switch(i.n){case 0:return i.n=1,p["a"].ibPoint({agentId:e});case 1:n=i.v,n.code==_.StatusOK?(a.dialogCheck_form=n.data,a.dialogCheck_form.ibNo=t,a.dialogCheck_form.hideType=3,a.dialogCheck=!0):a.$pigeon.MessageError(n.msg);case 2:return i.a(2)}}),i)})))()},customGroupType:function(){var e=this;return Object(d["a"])(Object(c["a"])().m((function t(){var a;return Object(c["a"])().w((function(t){while(1)switch(t.n){case 0:return t.n=1,p["a"].customGroupTypeList({});case 1:a=t.v,a.code==_.StatusOK?(e.groupType_options=a.data,e.dialogCheck=!0):e.$pigeon.MessageError(a.msg);case 2:return t.a(2)}}),t)})))()},delete:function(){var e=Object(d["a"])(Object(c["a"])().m((function e(t){var a;return Object(c["a"])().w((function(e){while(1)switch(e.n){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(d["a"])(Object(c["a"])().m((function e(){var i;return Object(c["a"])().w((function(e){while(1)switch(e.n){case 0:return e.n=1,p["a"].agentDelete({id:t});case 1:i=e.v,i.code==_.StatusOK?(a.$pigeon.MessageOK(a.$i18n.t("Msg.DeleteSuccess")),a.searchFunc()):a.$pigeon.MessageError(i.msg);case 2:return e.a(2)}}),e)}))),(function(){}));case 1:return e.a(2)}}),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(d["a"])(Object(c["a"])().m((function t(){var a,i,n;return Object(c["a"])().w((function(t){while(1)switch(t.n){case 0:if(e.search.startDate&&e.search.endDate){t.n=1;break}return e.$pigeon.MessageWarning(e.$i18n.t("vaildate.date.empty")),t.a(2);case 1: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],n="/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:""),u.a.get(n,{responseType:"blob"}).then((function(t){if(t.status==_.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 n=t.headers["content-disposition"]?t.headers["content-disposition"].split(";")[1].split("=")[1]:"Download.xlsx";i.href=a,i.download=n,i.click(),window.URL.revokeObjectURL(a)}else e.$pigeon.MessageError(e.$i18n.t("Msg.Download"))}));case 2:return t.a(2)}}),t)})))()},searchFunc:function(){var e=this;return Object(d["a"])(Object(c["a"])().m((function t(){var a;return Object(c["a"])().w((function(t){while(1)switch(t.n){case 0:if(e.pictLoading=!0,e.display["R-Agent-Search"].show){t.n=1;break}return e.$pigeon.MessageWarning(e.$i18n.t("Msg.NotDisplay")),e.pictLoading=!1,t.a(2);case 1: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.n=2,p["a"].agentList(Object(l["a"])(Object(l["a"])({},e.search),{},{page:{current:e.pagerInfo.current,row:e.pagerInfo.row}}));case 2:a=t.v,a.code==_.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 3:return t.a(2)}}),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(),n=(new Date).getTime(),o=new Date(n+60*i*1e3+60*a*60*1e3),s=o.getFullYear(),r=o.getMonth()+1,l=o.getDate();r<10&&(r="0"+r),l<10&&(l="0"+l),e=s+"-"+r+"-01";var c=o.getMonth(),d=++c,m=new Date(o.getFullYear(),d,1),u=864e5,p=new Date(m-u),f=p.getDate();f<10&&(f="0"+f),t=s+"-"+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(d["a"])(Object(c["a"])().m((function t(){var a,i;return Object(c["a"])().w((function(t){while(1)switch(t.p=t.n){case 0:if(!e.flag){t.n=1;break}return t.a(2);case 1:return e.flag=!0,t.p=2,t.n=3,p["a"].updateFixedHide({id:e.dialogFixedHide_form.id,fixedHide:e.dialogFixedHide_form.fixedHide,hide:e.dialogFixedHide_form.hide});case 3:a=t.v,a.code==_.StatusOK?(e.$pigeon.MessageOK(e.$i18n.t("Msg.ModifySuccess")),e.dialogFixedHide=!1,e.searchFunc()):e.$pigeon.MessageError(a.msg),t.n=5;break;case 4:t.p=4,i=t.v,e.$pigeon.MessageError(i.message);case 5:return t.p=5,e.flag=!1,t.f(5);case 6:return t.a(2)}}),t,null,[[2,4,5,6]])})))()}},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=""}}},y=b,C=(a("7e5f"),a("1b13"),a("2877")),k=Object(C["a"])(y,i,n,!1,null,"62d2233e",null);t["default"]=k.exports},"69d8":function(e,t,a){},"6f3e":function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));a("a4d3"),a("e01a"),a("d28b"),a("d9e2"),a("d3b7"),a("3ca3"),a("ddb0");var i=a("53ca");function n(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],a=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&a>=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}}}throw new TypeError(Object(i["a"])(e)+" is not iterable")}},"7e5f":function(e,t,a){"use strict";a("d6e1")},"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:"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=[],o=a("5530"),s=a("c14f"),r=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("5d41")),c=a("9630"),d=a("f121"),m=a.n(d),u=m.a.Code,p=m.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(r["a"])(Object(s["a"])().m((function t(){return Object(s["a"])().w((function(t){while(1)switch(t.n){case 0:return t.n=1,e.getCustomLinkTypes();case 1: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 2:return t.a(2)}}),t)})))()},getCustomLinkTypes:function(){var e=this;return Object(r["a"])(Object(s["a"])().m((function t(){var a,i,n;return Object(s["a"])().w((function(t){while(1)switch(t.n){case 0:return a=e.currentId?{ibId:e.currentId}:{},t.n=1,c["a"].getRegisterLinkTypes(a);case 1:i=t.v,i.code==u.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 2:return t.a(2)}}),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(r["a"])(Object(s["a"])().m((function t(){var a;return Object(s["a"])().w((function(t){while(1)switch(t.n){case 0:return t.n=1,c["a"].loginTypeList({page:{current:1,row:100}});case 1:a=t.v,a.code==u.StatusOK?e.spreadList=a.data:e.$pigeon.MessageError(a.msg);case 2:return t.a(2)}}),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)})),o=e.filter((function(e){return!a.loginTypes.includes(e)})),s=this.excludeList.filter((function(e){return o.includes(e.value)})).map((function(e){return e.label})),r=this.excludeLists.filter((function(e){return!n.includes(e.value)})).map((function(e){return e.value}));return this.loginTypes=s.join("、"),{hide:a.hide,commission:a.comPoint,excludeShowLoginTypes:r,invalidLabels:s,invalidValues:o}},getLink1:function(){var e=this;return Object(r["a"])(Object(s["a"])().m((function t(){var a,i,n,r;return Object(s["a"])().w((function(t){while(1)switch(t.n){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.n=1;break}return e.$pigeon.MessageWarning(e.$i18n.t("Ib.Index.Spread5")),e.link="",t.a(2);case 1:return n=Object(o["a"])({loginConfig:i},e.currentId?{ibId:e.currentId}:{}),t.n=2,c["a"].customLinkCode(n);case 2:if(r=t.v,r.code!==u.StatusOK){t.n=3;break}return e.$pigeon.MessageOK(r.msg),t.a(2,r.data);case 3:return e.$pigeon.MessageError(r.msg),t.a(2,"");case 4:return t.a(2)}}),t)})))()},CreateLink:function(){var e=this;return Object(r["a"])(Object(s["a"])().m((function t(){var a;return Object(s["a"])().w((function(t){while(1)switch(t.n){case 0:if(e.linkName){t.n=1;break}return e.$pigeon.MessageWarning(e.$i18n.t("Ib.Index.LinkName")),t.a(2);case 1:return t.n=2,e.getLink1();case 2:if(a=t.v,a){t.n=3;break}return t.a(2);case 3:e.linkValue=a,e.link="".concat(p,"/#/signup/").concat(e.getInfoId,"/").concat(a,"/").concat(e.ibInvalid);case 4:return t.a(2)}}),t)})))()},saveLink:function(){var e=this;return Object(r["a"])(Object(s["a"])().m((function t(){var a,i,n;return Object(s["a"])().w((function(t){while(1)switch(t.n){case 0:if(e.linkName){t.n=1;break}return e.$pigeon.MessageWarning(e.$i18n.t("Label.Name")),t.a(2);case 1:if(e.link){t.n=2;break}return e.$pigeon.MessageWarning(e.$i18n.t("Ib.Index.CreateLink")),t.a(2);case 2:if(a=[],Object.keys(e.accountTypeSettings).forEach((function(t){var i=e.accountTypeSettings[t];i.selectedItem&&a.push(i.selectedItem)})),0!==a.length){t.n=3;break}return e.$pigeon.MessageWarning(e.$i18n.t("Ib.Index.Spread5")),t.a(2);case 3: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.n=4,c["a"].customLinkAdd(i);case 4:n=t.v,n.code===u.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 5:return t.a(2)}}),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}))}))}},g=f,h=(a("dc5f"),a("2877")),v=Object(h["a"])(g,i,n,!1,null,"ca100a84",null);t["a"]=v.exports},a2fa:function(e,t,a){"use strict";a("3e6a")},cf4a:function(e,t,a){"use strict";a("0628")},d6e1:function(e,t,a){},dc5f:function(e,t,a){"use strict";a("1c21")},ebd6:function(e,t,a){"use strict";a("69d8")}}]);