RaffleList.8c5fa887.js 91 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["RaffleList"],{"003e":function(e,t,a){"use strict";a("9d92")},"095d":function(e,t,a){"use strict";a("a36f")},"2d59":function(e,t,a){"use strict";var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"InfoBox",class:{active:e.dialogInfoCid,active1:e.type},attrs:{id:"GlobalDetailedInfoCid"}},[t("div",{staticClass:"header"},[t("div",[t("span",{directives:[{name:"t",rawName:"v-t",value:"Label.CidAccount",expression:"'Label.CidAccount'"}],staticClass:"title"}),e._v(" :"),t("span",[e._v(e._s(e.form.cId))]),e._v(" - "),e.form.firstName?t("span",[e._v(e._s(e.form.firstName+" "))]):e._e(),e.form.middle?t("span",[e._v(e._s(e.form.middle+" "))]):e._e(),e.form.lastName?t("span",[e._v(e._s(e.form.lastName))]):e._e()]),t("span",{staticClass:"close crm-cursor",on:{click:e.close}},[t("i",{staticClass:"el-icon-close"})])]),t("el-form",{ref:"form",attrs:{model:e.form,"label-width":"150PX"}},[t("el-collapse",{staticClass:"crm_collapse_info",model:{value:e.activeNames,callback:function(t){e.activeNames=t},expression:"activeNames"}},[t("el-collapse-item",{attrs:{title:e.$t("Apply_info.UserInfo.Title"),name:"1"}},[t("el-form-item",{attrs:{label:e.$t("Apply_info.UserInfo.CID")}},[e._v(" "+e._s(e.form.cId||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.UserInfo.Email")}},[e._v(" "+e._s(e.form.email||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.UserInfo.Registration")}},[e._v(" "+e._s(e.form.addTime||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.UserInfo.IP")}},[e._v(" "+e._s(e.form.addIp||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Raffle.FundModification.WalletBalance")}},[e._v(" "+e._s(e.form.balance||"0")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.UserInfo.LoginState")}},[t("el-switch",{staticClass:"crm_switch",attrs:{disabled:"","active-value":1,"inactive-value":0,"active-text":e.$t("Btn.Yes"),"inactive-text":e.$t("Btn.No"),"active-color":"#368FEC","inactive-color":"#EB3F57"},model:{value:e.form.valid,callback:function(t){e.$set(e.form,"valid",t)},expression:"form.valid"}})],1)],1),e.form.isAgent?t("el-collapse-item",{attrs:{title:e.$t("Label.Ib"),name:"7"}},[t("el-form-item",{attrs:{label:e.$t("Label.AgentNumber")}},[e._v(" "+e._s(e.form.ibNo||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.AgentLevel")}},[e._v(" "+e._s("cn"==e.Session.Get("lang")?e.form.agentLevelName||"--":e.form.agentLevelEnName||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.CommissionBalance")}},[e._v(" "+e._s(e.form.agentBalance||"0")+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.Unresolved")}},[e._v(" "+e._s(e.form.unresolved||"0")+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.Frozen")}},[e._v(" "+e._s(e.form.frozen||"0")+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.AllCommission")}},[e._v(" "+e._s(e.form.allCommission||"0")+" ")]),t("el-form-item",{attrs:{label:e.$t("Dashboard.Profile.AgentShareLink")}},[t("span",{staticClass:"btn-copy",on:{click:e.CopyShareLink}},[e._v(e._s(e.$t("Dashboard.Profile.ConsumerShareLinks")))])])],1):e._e(),e.isTrading?t("el-collapse-item",{attrs:{title:e.$t("Apply_info.TradingAccount.Title"),name:"10"}},e._l(e.form.realList,(function(a,n){return t("el-card",{key:n,staticClass:"box-card"},[t("div",{staticClass:"clearfix crm-cursor",attrs:{slot:"header"},on:{click:function(t){return e.cardTab(n)}},slot:"header"},[t("span",[t("span",[e._v(e._s(n+1)+". ")]),t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.TradingAccount.Account",expression:"'Apply_info.TradingAccount.Account'"}]}),e._v(" "+e._s(a.login)+" - "),1==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Classic",expression:"'Web_info.Classic'"}]}):e._e(),2==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Senior",expression:"'Web_info.Senior'"}]}):e._e(),3==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Institutions",expression:"'Web_info.Institutions'"}]}):e._e(),5==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Speed",expression:"'Web_info.Speed'"}]}):e._e(),6==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.NewSpeed",expression:"'Web_info.NewSpeed'"}]}):e._e(),7==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.StandardAccount",expression:"'Web_info.StandardAccount'"}]}):e._e(),8==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.CentAccount",expression:"'Web_info.CentAccount'"}]}):e._e()]),t("span",[e.cardIndex==n?t("i",{staticClass:"el-icon-caret-bottom"}):e._e(),e.cardIndex!=n?t("i",{staticClass:"el-icon-caret-right"}):e._e()])]),t("el-collapse-transition",[e.cardIndex==n?t("div",{staticClass:"text item"},[t("el-form-item",{attrs:{label:e.$t("Apply_info.TradingAccount.Trading")}},[e._v(" "+e._s(a.login||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.TradingAccount.Type")}},[1==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Classic",expression:"'Web_info.Classic'"}]}):e._e(),2==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Senior",expression:"'Web_info.Senior'"}]}):e._e(),3==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Institutions",expression:"'Web_info.Institutions'"}]}):e._e(),5==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.Speed",expression:"'Web_info.Speed'"}]}):e._e(),6==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.NewSpeed",expression:"'Web_info.NewSpeed'"}]}):e._e(),7==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.StandardAccount",expression:"'Web_info.StandardAccount'"}]}):e._e(),8==a.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Web_info.CentAccount",expression:"'Web_info.CentAccount'"}]}):e._e()]),t("el-form-item",{attrs:{label:e.$t("Apply_info.TradingAccount.Leverage")}},[a.leverage?t("span",[e._v("1:")]):e._e(),e._v(e._s(a.leverage||"0")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.TradingAccount.OutsideCommission")}},[e._v(" "+e._s(a.commission||"0")+" ")]),1!=this.user.departmentId?t("el-form-item",{attrs:{label:e.$t("Apply_info.TradingAccount.Group")}},[e._v(" "+e._s(a.groupCode||"--")+" ")]):e._e(),t("el-form-item",{attrs:{label:e.$t("Apply_info.TradingAccount.Currency")}},[e._v(" "+e._s(a.currency||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.TradingAccount.Time")}},[e._v(" "+e._s(a.addTime||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.TradingAccount.State")}},[t("el-switch",{staticClass:"crm_switch",attrs:{disabled:"","active-value":1,"inactive-value":0,"active-text":e.$t("Btn.Yes"),"inactive-text":e.$t("Btn.No"),"active-color":"#368FEC","inactive-color":"#EB3F57"},model:{value:a.valid,callback:function(t){e.$set(a,"valid",t)},expression:"item.valid"}})],1)],1):e._e()])],1)})),1):e._e(),t("el-collapse-item",{attrs:{title:e.$t("Apply_info.BasicInfo.Title"),name:"2"}},[t("el-form-item",{attrs:{label:e.$t("Label.CustomerType")}},[2==e.form.customType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Label.CustomerType2",expression:"'Label.CustomerType2'"}]}):e._e(),1==e.form.customType?t("span",{directives:[{name:"t",rawName:"v-t",value:"Label.CustomerType1",expression:"'Label.CustomerType1'"}]}):e._e(),e.form.customType?e._e():t("span",[e._v(e._s("--"))])]),2==e.form.customType?t("el-form-item",{attrs:{label:e.$t("Label.CompanyName")}},[e._v(" "+e._s(e.form.companyName||"--")+" ")]):e._e(),2==e.form.customType?t("el-form-item",{attrs:{label:e.$t("Label.CorporationName")}},[e.form.firstName?t("span",[e._v(e._s(e.form.firstName+" "))]):e._e(),e.form.middle?t("span",[e._v(e._s(e.form.middle+" "))]):e._e(),e.form.lastName?t("span",[e._v(e._s(e.form.lastName))]):e._e(),e.form.firstName||e.form.lastName||e.form.middle?e._e():t("span",[e._v(e._s("--"))])]):t("el-form-item",{attrs:{label:e.$t("Apply_info.BasicInfo.Name")}},[e.form.firstName?t("span",[e._v(e._s(e.form.firstName+" "))]):e._e(),e.form.middle?t("span",[e._v(e._s(e.form.middle+" "))]):e._e(),e.form.lastName?t("span",[e._v(e._s(e.form.lastName))]):e._e(),e.form.firstName||e.form.lastName||e.form.middle?e._e():t("span",[e._v(e._s("--"))])]),t("el-form-item",{attrs:{label:e.$t("system_info.Label.EnglishNames")}},[e._v(" "+e._s(e.form.nameEn||"--")+" ")]),1!=this.user.departmentId?t("el-form-item",{attrs:{label:e.$t("Apply_info.BasicInfo.Phone")}},[e._v(" "+e._s(e.form.phone||"--")+" ")]):e._e(),1!=this.user.departmentId?t("el-form-item",{attrs:{label:e.$t("Apply_info.BasicInfo.ID")}},[e._v(" "+e._s(e.form.identity||"--")+" ")]):e._e(),1!=this.user.departmentId?t("el-form-item",{attrs:{label:e.$t("Apply_info.BasicInfo.IdentityNumber")}},[e._v(" "+e._s(e.form.identityNumber||"--")+" ")]):e._e(),1!=this.user.departmentId?t("el-form-item",{attrs:{label:e.$t("Apply_info.BasicInfo.KycIdNumber")}},[e._v(" "+e._s(e.form.kycIdNumber||"--")+" ")]):e._e(),1!=this.user.departmentId?t("el-form-item",{attrs:{label:e.$t("Apply_info.BasicInfo.KycNumber")}},[e._v(" "+e._s(e.form.kycNumber||"--")+" ")]):e._e(),1!=this.user.departmentId?t("el-form-item",{attrs:{label:e.$t("Apply_info.BasicInfo.KycName")}},[e._v(" "+e._s(e.form.kycName||"--")+" ")]):e._e(),t("el-form-item",{attrs:{label:e.$t("Apply_info.BasicInfo.Birthday")}},[e.form.birth?t("span",[e._v(e._s(e.form.birth.split(" ")[0]))]):e._e(),e.form.birth?e._e():t("span",[e._v(e._s("--"))])]),t("el-form-item",{attrs:{label:e.$t("Apply_info.BasicInfo.Gender")}},["1"==e.form.gender?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.BasicInfo.Male",expression:"'Apply_info.BasicInfo.Male'"}]}):e._e(),"2"==e.form.gender?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.BasicInfo.Female",expression:"'Apply_info.BasicInfo.Female'"}]}):e._e(),e.form.gender?e._e():t("span",[e._v(e._s("--"))])])],1),t("el-collapse-item",{attrs:{title:e.$t("Apply_info.AddressInfo.Title"),name:"3"}},[t("el-form-item",{attrs:{label:e.$t("Apply_info.AddressInfo.Lang")}},[e._v(" "+e._s("cn"==e.form.lang?"中文":"English")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.AddressInfo.Country")}},[e._v(" "+e._s("cn"==e.Session.Get("lang")?e.form.countryName:e.form.countryEnName)+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.AddressInfo.Region")}},[e._v(" "+e._s(e.form.state||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.AddressInfo.City")}},[e._v(" "+e._s(e.form.city||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Apply_info.AddressInfo.Address")}},[e.form.addressLines?t("span",[e._v(e._s(e.form.addressLines.length?e.form.addressLines[0]:"--"))]):e._e()]),t("el-form-item",{attrs:{label:e.$t("Apply_info.AddressInfo.standbyAddress")}},[e.form.addressLines?t("span",[e._v(e._s(2==e.form.addressLines.length?e.form.addressLines[1]:"--"))]):e._e()]),t("el-form-item",{attrs:{label:e.$t("Apply_info.AddressInfo.zipCode")}},[t("span",[e._v(e._s(e.form.zipCode||"--"))])])],1),t("el-collapse-item",{attrs:{title:e.$t("Apply_info.FinancialBack.Title"),name:"4"}},[t("el-form-item",{attrs:{label:e.$t("Apply_info.FinancialBack.EducationBackground")}},[1==e.form.level?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item11",expression:"'Apply_info.FinancialBack.item11'"}]}):e._e(),2==e.form.level?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item12",expression:"'Apply_info.FinancialBack.item12'"}]}):e._e(),3==e.form.level?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item13",expression:"'Apply_info.FinancialBack.item13'"}]}):e._e(),4==e.form.level?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item14",expression:"'Apply_info.FinancialBack.item14'"}]}):e._e(),5==e.form.level?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item15",expression:"'Apply_info.FinancialBack.item15'"}]}):e._e(),e.form.level?e._e():t("span",[e._v(e._s("--"))])]),t("el-form-item",{attrs:{label:e.$t("Apply_info.FinancialBack.InaugurationSituation")}},[1==e.form.employmentStatus?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item21",expression:"'Apply_info.FinancialBack.item21'"}]}):e._e(),2==e.form.employmentStatus?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item22",expression:"'Apply_info.FinancialBack.item22'"}]}):e._e(),3==e.form.employmentStatus?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item23",expression:"'Apply_info.FinancialBack.item23'"}]}):e._e(),4==e.form.employmentStatus?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item24",expression:"'Apply_info.FinancialBack.item24'"}]}):e._e(),5==e.form.employmentStatus?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item25",expression:"'Apply_info.FinancialBack.item25'"}]}):e._e(),e.form.employmentStatus?e._e():t("span",[e._v(e._s("--"))])]),t("el-form-item",{attrs:{label:e.$t("Apply_info.FinancialBack.TradingPurposes")}},[1==e.form.tradingObjectives?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item31",expression:"'Apply_info.FinancialBack.item31'"}]}):e._e(),2==e.form.tradingObjectives?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item32",expression:"'Apply_info.FinancialBack.item32'"}]}):e._e(),3==e.form.tradingObjectives?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item33",expression:"'Apply_info.FinancialBack.item33'"}]}):e._e(),4==e.form.tradingObjectives?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item34",expression:"'Apply_info.FinancialBack.item34'"}]}):e._e(),e.form.tradingObjectives?e._e():t("span",[e._v(e._s("--"))])]),t("el-form-item",{attrs:{label:e.$t("Apply_info.FinancialBack.SourcesFunding")}},[1==e.form.sourceFunding?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item41",expression:"'Apply_info.FinancialBack.item41'"}]}):e._e(),2==e.form.sourceFunding?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item42",expression:"'Apply_info.FinancialBack.item42'"}]}):e._e(),3==e.form.sourceFunding?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item43",expression:"'Apply_info.FinancialBack.item43'"}]}):e._e(),4==e.form.sourceFunding?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item44",expression:"'Apply_info.FinancialBack.item44'"}]}):e._e(),5==e.form.sourceFunding?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item45",expression:"'Apply_info.FinancialBack.item45'"}]}):e._e(),6==e.form.sourceFunding?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item46",expression:"'Apply_info.FinancialBack.item46'"}]}):e._e(),e.form.sourceFunding?e._e():t("span",[e._v(e._s("--"))])]),t("el-form-item",{attrs:{label:e.$t("Apply_info.FinancialBack.InTotalRevenue")}},[1==e.form.grossAnnualIncome?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item61",expression:"'Apply_info.FinancialBack.item61'"}]}):e._e(),2==e.form.grossAnnualIncome?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item62",expression:"'Apply_info.FinancialBack.item62'"}]}):e._e(),3==e.form.grossAnnualIncome?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item63",expression:"'Apply_info.FinancialBack.item63'"}]}):e._e(),4==e.form.grossAnnualIncome?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item64",expression:"'Apply_info.FinancialBack.item64'"}]}):e._e(),5==e.form.grossAnnualIncome?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item65",expression:"'Apply_info.FinancialBack.item65'"}]}):e._e(),e.form.grossAnnualIncome?e._e():t("span",[e._v(e._s("--"))])]),t("el-form-item",{attrs:{label:e.$t("Apply_info.FinancialBack.TotalAssets")}},[1==e.form.totalNewWorth?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item51",expression:"'Apply_info.FinancialBack.item51'"}]}):e._e(),2==e.form.totalNewWorth?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item52",expression:"'Apply_info.FinancialBack.item52'"}]}):e._e(),3==e.form.totalNewWorth?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item53",expression:"'Apply_info.FinancialBack.item53'"}]}):e._e(),4==e.form.totalNewWorth?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item54",expression:"'Apply_info.FinancialBack.item54'"}]}):e._e(),5==e.form.totalNewWorth?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FinancialBack.item55",expression:"'Apply_info.FinancialBack.item55'"}]}):e._e(),e.form.totalNewWorth?e._e():t("span",[e._v(e._s("--"))])])],1),t("el-collapse-item",{attrs:{title:e.$t("Apply_info.ExperienceTrading.Title"),name:"5"}},[t("div",{staticStyle:{"text-align":"left",margin:"10px 0"}},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.ExperienceTrading.Item1",expression:"'Apply_info.ExperienceTrading.Item1'"}]}),t("div",[t("el-radio",{attrs:{disabled:"",label:1},model:{value:e.form.experienceTradingDerivative,callback:function(t){e.$set(e.form,"experienceTradingDerivative",t)},expression:"form.experienceTradingDerivative"}},[e.form.experienceTradingDerivative?t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Yes",expression:"'Btn.Yes'"}]}):e._e(),e.form.experienceTradingDerivative?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.No",expression:"'Btn.No'"}]})])],1)]),t("div",{staticStyle:{"text-align":"left",margin:"10px 0"}},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.ExperienceTrading.Item2",expression:"'Apply_info.ExperienceTrading.Item2'"}]}),t("div",[t("el-radio",{attrs:{disabled:"",label:1},model:{value:e.form.experienceTradingForex,callback:function(t){e.$set(e.form,"experienceTradingForex",t)},expression:"form.experienceTradingForex"}},[e.form.experienceTradingForex?t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Yes",expression:"'Btn.Yes'"}]}):e._e(),e.form.experienceTradingForex?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.No",expression:"'Btn.No'"}]})])],1)]),t("div",{staticStyle:{"text-align":"left",margin:"10px 0"}},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.ExperienceTrading.Item3",expression:"'Apply_info.ExperienceTrading.Item3'"}]}),t("div",[t("el-radio",{attrs:{disabled:"",label:1},model:{value:e.form.derivativeProducts,callback:function(t){e.$set(e.form,"derivativeProducts",t)},expression:"form.derivativeProducts"}},[e.form.derivativeProducts?t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Yes",expression:"'Btn.Yes'"}]}):e._e(),e.form.derivativeProducts?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.No",expression:"'Btn.No'"}]})])],1)]),t("div",{staticStyle:{"text-align":"left",margin:"10px 0"}},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.ExperienceTrading.Item4",expression:"'Apply_info.ExperienceTrading.Item4'"}]}),t("div",[t("el-radio",{attrs:{disabled:"",label:1},model:{value:e.form.experienceQualification,callback:function(t){e.$set(e.form,"experienceQualification",t)},expression:"form.experienceQualification"}},[e.form.experienceQualification?t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Yes",expression:"'Btn.Yes'"}]}):e._e(),e.form.experienceQualification?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.No",expression:"'Btn.No'"}]})])],1)])]),1!=this.user.departmentId?t("el-collapse-item",{attrs:{title:e.$t("Apply_info.FileManagement.Title"),name:"6"}},[t("div",{staticClass:"Identity"},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.ProofIdentity",expression:"'Apply_info.FileManagement.ProofIdentity'"}],staticClass:"title"}),t("span",[e._v("1")]),t("span",{staticClass:"line"}),t("el-button",{staticStyle:{border:"none"},attrs:{type:"text"}},[1==e.files1.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(1)}}}):e._e(),2==e.files1.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Pass",expression:"'State.Pass'"}],on:{click:function(t){return e.imgApproveDe(1)}}}):e._e(),3==e.files1.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Refused",expression:"'State.Refused'"}],on:{click:function(t){return e.imgApproveDe(1)}}}):e._e(),4==e.files1.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(1)}}}):e._e(),e.files1.status?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Placeholder.Not",expression:"'Placeholder.Not'"}]})])],1),t("div",{staticClass:"Identity-img"},[t("div",{staticClass:"id-img"},["pdf"==e.url1.substr(-3,3)||"PDF"==e.url1.substr(-3,3)?t("div",{staticClass:"pdfLink"},[t("a",{staticStyle:{display:"inline-block",width:"100%",height:"100%"},attrs:{href:e.url1,target:"_blank"}},[t("i",{staticClass:"el-icon-document"})])]):t("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.url1,"preview-src-list":[e.url1]}},[t("div",{staticClass:"image-slot",attrs:{slot:"error"},slot:"error"},[t("i",{staticClass:"el-icon-picture-outline"})])])],1)]),t("div",{staticClass:"Identity"},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.ProofIdentity",expression:"'Apply_info.FileManagement.ProofIdentity'"}],staticClass:"title"}),t("span",[e._v("2")]),t("span",{staticClass:"line"}),t("el-button",{staticStyle:{border:"none"},attrs:{type:"text"}},[1==e.files2.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(2)}}}):e._e(),2==e.files2.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Pass",expression:"'State.Pass'"}],on:{click:function(t){return e.imgApproveDe(2)}}}):e._e(),3==e.files2.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Refused",expression:"'State.Refused'"}],on:{click:function(t){return e.imgApproveDe(2)}}}):e._e(),4==e.files2.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(2)}}}):e._e(),e.files2.status?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Placeholder.Not",expression:"'Placeholder.Not'"}]})])],1),t("div",{staticClass:"Identity-img"},[t("div",{staticClass:"id-img"},["pdf"==e.url2.substr(-3,3)||"PDF"==e.url2.substr(-3,3)?t("div",{staticClass:"pdfLink"},[t("a",{staticStyle:{display:"inline-block",width:"100%",height:"100%"},attrs:{href:e.url2,target:"_blank"}},[t("i",{staticClass:"el-icon-document"})])]):t("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.url2,"preview-src-list":[e.url2]}},[t("div",{staticClass:"image-slot",attrs:{slot:"error"},slot:"error"},[t("i",{staticClass:"el-icon-picture-outline"})])])],1)]),t("div",{staticClass:"Identity"},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.ProofAddress",expression:"'Apply_info.FileManagement.ProofAddress'"}],staticClass:"title"}),t("span",{staticClass:"line"}),t("el-button",{staticStyle:{border:"none"},attrs:{type:"text"}},[1==e.files3.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(3)}}}):e._e(),2==e.files3.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Pass",expression:"'State.Pass'"}],on:{click:function(t){return e.imgApproveDe(3)}}}):e._e(),3==e.files3.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Refused",expression:"'State.Refused'"}],on:{click:function(t){return e.imgApproveDe(3)}}}):e._e(),4==e.files3.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(3)}}}):e._e(),e.files3.status?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Placeholder.Not",expression:"'Placeholder.Not'"}]})])],1),t("div",{staticClass:"Identity-img"},[t("div",{staticClass:"id-img"},["pdf"==e.url3.substr(-3,3)||"PDF"==e.url3.substr(-3,3)?t("div",{staticClass:"pdfLink"},[t("a",{staticStyle:{display:"inline-block",width:"100%",height:"100%"},attrs:{href:e.url3,target:"_blank"}},[t("i",{staticClass:"el-icon-document"})])]):t("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.url3,"preview-src-list":[e.url3]}},[t("div",{staticClass:"image-slot",attrs:{slot:"error"},slot:"error"},[t("i",{staticClass:"el-icon-picture-outline"})])])],1)]),t("div",{staticClass:"Identity"},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.AdditionalProof",expression:"'Apply_info.FileManagement.AdditionalProof'"}],staticClass:"title"}),t("span",{staticClass:"line"})]),e._l(e.filesOther,(function(a,n){return t("div",{key:n,staticClass:"Identity-img"},[t("div",{staticClass:"id-img"},["pdf"==a.urlOther.substr(-3,3)||"PDF"==a.urlOther.substr(-3,3)?t("div",{staticClass:"pdfLink"},[t("a",{staticStyle:{display:"inline-block",width:"100%",height:"100%"},attrs:{href:a.urlOther,target:"_blank"}},[t("i",{staticClass:"el-icon-document"})])]):t("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:a.urlOther,"preview-src-list":[a.urlOther]}},[t("div",{staticClass:"image-slot",attrs:{slot:"error"},slot:"error"},[t("i",{staticClass:"el-icon-picture-outline"})])])],1),t("span",{staticClass:"line"}),t("el-button",{staticStyle:{border:"none"},attrs:{type:"text"}},[1==a.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(5,a.id)}}}):e._e(),2==a.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Pass",expression:"'State.Pass'"}],on:{click:function(t){return e.imgApproveDe(5,a.id)}}}):e._e(),3==a.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Refused",expression:"'State.Refused'"}],on:{click:function(t){return e.imgApproveDe(5,a.id)}}}):e._e(),4==a.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],on:{click:function(t){return e.imgApprove(5,a.id)}}}):e._e(),a.status?e._e():t("span",{directives:[{name:"t",rawName:"v-t",value:"Placeholder.Not",expression:"'Placeholder.Not'"}]})])],1)}))],2):e._e()],1)],1),t("el-dialog",{attrs:{title:e.$t("Customer_info.Files.Title"),visible:e.dialogCheck,center:"","append-to-body":"","custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogCheck=t},close:e.cancel}},[t("div",{staticClass:"dia-content"},[t("el-form",{ref:"dialogCheck_form",staticClass:"dialogCheck_form",attrs:{model:e.dialogCheck_form,rules:e.rules,"label-width":"135px"}},[t("el-form-item",{attrs:{prop:"",label:e.$t("Label.Type")+":"}},[1==e.dialogCheck_form.type||2==e.dialogCheck_form.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.ProofIdentity",expression:"'Apply_info.FileManagement.ProofIdentity'"}]}):e._e(),1==e.dialogCheck_form.type?t("span",[e._v("1")]):e._e(),2==e.dialogCheck_form.type?t("span",[e._v("2")]):e._e(),3==e.dialogCheck_form.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.ProofAddress",expression:"'Apply_info.FileManagement.ProofAddress'"}]}):e._e(),5==e.dialogCheck_form.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.AdditionalProof",expression:"'Apply_info.FileManagement.AdditionalProof'"}]}):e._e()]),t("el-form-item",{attrs:{prop:"status",label:e.$t("Label.CheckResults")+":"}},[t("el-select",{staticClass:"crm_search_down",staticStyle:{width:"400px"},attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.status,callback:function(t){e.$set(e.dialogCheck_form,"status",t)},expression:"dialogCheck_form.status"}},[t("el-option",{attrs:{label:e.$t("Apply_info.VerifiedUser.Refused"),value:3}}),t("el-option",{attrs:{label:e.$t("Apply_info.VerifiedUser.Agree"),value:2}})],1)],1),3==e.dialogCheck_form.status?t("el-form-item",{attrs:{prop:"approveDesc",label:e.$t("Label.Descr")+":"}},[t("el-select",{staticClass:"crm_search_down",staticStyle:{width:"400px"},attrs:{size:"small",placeholder:e.$t("Placeholder.Choose"),filterable:"","allow-create":""},on:{change:e.selectChange},model:{value:e.dialogCheck_form.approveDesc,callback:function(t){e.$set(e.dialogCheck_form,"approveDesc",t)},expression:"dialogCheck_form.approveDesc"}},e._l(e.reasons,(function(a){return t("el-option",{key:a.id,attrs:{label:"cn"==e.Session.Get("lang")?a.content:a.enContent,value:a.id}})})),1)],1):e._e()],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:function(t){return e.toVerified()}}}),t("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:e.cancel}})],1)],1)]),t("el-dialog",{attrs:{title:e.$t("Customer_info.Files.Title1"),visible:e.dialogCheck1,center:"","append-to-body":"","custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogCheck1=t},close:e.cancel}},[t("div",{staticClass:"dia-content"},[t("el-form",{ref:"dialogCheck_form",staticClass:"dialogCheck_form",attrs:{model:e.dialogCheck_form,rules:e.rules,"label-width":"135px"}},[t("el-form-item",{attrs:{prop:"",label:e.$t("Label.Type")+":"}},[1==e.dialogCheck_form.type||2==e.dialogCheck_form.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.ProofIdentity",expression:"'Apply_info.FileManagement.ProofIdentity'"}]}):e._e(),1==e.dialogCheck_form.type?t("span",[e._v("1")]):e._e(),2==e.dialogCheck_form.type?t("span",[e._v("2")]):e._e(),3==e.dialogCheck_form.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.ProofAddress",expression:"'Apply_info.FileManagement.ProofAddress'"}]}):e._e(),5==e.dialogCheck_form.type?t("span",{directives:[{name:"t",rawName:"v-t",value:"Apply_info.FileManagement.AdditionalProof",expression:"'Apply_info.FileManagement.AdditionalProof'"}]}):e._e()]),t("el-form-item",{attrs:{prop:"status",label:e.$t("Label.Action")+":"}},[t("el-select",{staticClass:"crm_search_down",staticStyle:{width:"400px"},attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.status,callback:function(t){e.$set(e.dialogCheck_form,"status",t)},expression:"dialogCheck_form.status"}},[t("el-option",{attrs:{label:e.$t("Customer_info.Real.Umpire"),value:4}})],1)],1),t("el-form-item",{attrs:{prop:"approveDesc",label:e.$t("Label.Descr")+":"}},[t("el-select",{staticClass:"crm_search_down",staticStyle:{width:"400px"},attrs:{size:"small",placeholder:e.$t("Placeholder.Choose"),filterable:"","allow-create":""},on:{change:e.selectChange},model:{value:e.dialogCheck_form.approveDesc,callback:function(t){e.$set(e.dialogCheck_form,"approveDesc",t)},expression:"dialogCheck_form.approveDesc"}},e._l(e.reasons,(function(a){return t("el-option",{key:a.id,attrs:{label:"cn"==e.Session.Get("lang")?a.content:a.enContent,value:a.id}})})),1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:function(t){return e.toVerifiedDe()}}}),t("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:e.cancel}})],1)],1)]),t("ConsumerShareLink",{ref:"consumerShareLink"})],1)},i=[],s=a("c7eb"),r=a("5530"),o=a("1da1"),l=(a("14d9"),a("e9f5"),a("7d54"),a("b64b"),a("d3b7"),a("3ca3"),a("159b"),a("ddb0"),a("2b3d"),a("bf19"),a("9861"),a("88a7"),a("271a"),a("5494"),a("5217")),c=a("f121"),u=a.n(c),p=a("92c7"),d=u.a.Code,f=u.a.Host85,m=u.a.Host00,v=u.a.Host05,h={name:"DetailedInfoCid",components:{ConsumerShareLink:p["a"]},props:{dialogInfoCid:{type:Boolean,default:!1},type:{default:0},btn:{default:0},isTrading:{default:!1},formInfo:{default:""}},data:function(){return{reasons:{},imgUrl:f,Host00:m,Host85:f,Host05:v,activeNames:["1","2","3","4","5","6","7","10"],form:{},info:{CID:"123456",name:"QYY"},dialogImageUrl:"",imageUrl:"",dialogVisible:!1,tradingAccount:[{id:1,account:"123456",type:"极速账户"},{id:2,account:"123456",type:"高级账户"}],cardIndex:-1,files1:{},files2:{},files3:{},files5:{},filesOther:[],url1:"",url2:"",url3:"",url5:"",srcList5:[],srcList1:[],srcList2:[],srcList3:[],dialogCheck:!1,dialogCheck1:!1,dialogCheck_form:{},rules:{status:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}],approveDesc:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}]}}},computed:{user:function(){return JSON.parse(this.Session.Get("user",!0))}},methods:{selectChange:function(){this.$forceUpdate()},handlePictureCardPreview:function(e){this.dialogImageUrl=e.url,this.dialogVisible=!0},handleAvatarSuccess:function(e,t){this.imageUrl=URL.createObjectURL(t.raw)},cardTab:function(e){this.cardIndex==e?this.cardIndex=-1:this.cardIndex=e},close:function(){this.$emit("close",!1)},imgApprove:function(e,t){1==e?(this.dialogCheck_form.id=this.files1.id,this.dialogCheck_form.customId=this.form.id):2==e?(this.dialogCheck_form.id=this.files2.id,this.dialogCheck_form.customId=this.form.id):3==e?(this.dialogCheck_form.id=this.files3.id,this.dialogCheck_form.customId=this.form.id):5==e&&(this.dialogCheck_form.id=t,this.dialogCheck_form.customId=this.form.id),this.dialogCheck_form.type=e,this.dialogCheck=!0},toVerified:function(){var e=Object(o["a"])(Object(s["a"])().mark((function e(){var t=this;return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$refs["dialogCheck_form"].validate(function(){var e=Object(o["a"])(Object(s["a"])().mark((function e(a){var n;return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=7;break}return e.next=3,l["a"].customFileApprove(Object(r["a"])({},t.dialogCheck_form));case 3:n=e.sent,n.code==d.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.ModifySuccess")),t.form.files.forEach((function(e){e.id==t.dialogCheck_form.id&&(1==e.type&&(t.files1.status=t.dialogCheck_form.status),2==e.type&&(t.files2.status=t.dialogCheck_form.status),3==e.type&&(t.files3.status=t.dialogCheck_form.status),10==e.type&&t.filesOther.forEach((function(e){e.id==t.dialogCheck_form.id&&(e.status=t.dialogCheck_form.status)})))})),t.cancel()):t.$pigeon.MessageError(n.msg),e.next=8;break;case 7:return e.abrupt("return",!1);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),cancel:function(){this.dialogCheck=!1,this.dialogCheck1=!1,this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields()},imgApproveDe:function(e,t){1==e?(this.dialogCheck_form.id=this.files1.id,this.dialogCheck_form.customId=this.form.id):2==e?(this.dialogCheck_form.id=this.files2.id,this.dialogCheck_form.customId=this.form.id):3==e?(this.dialogCheck_form.id=this.files3.id,this.dialogCheck_form.customId=this.form.id):5==e&&(this.dialogCheck_form.id=t,this.dialogCheck_form.customId=this.form.id),this.dialogCheck_form.type=e,this.dialogCheck1=!0},toVerifiedDe:function(){var e=Object(o["a"])(Object(s["a"])().mark((function e(){var t=this;return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$refs["dialogCheck_form"].validate(function(){var e=Object(o["a"])(Object(s["a"])().mark((function e(a){var n;return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=7;break}return e.next=3,l["a"].customFileApproveDe(Object(r["a"])({},t.dialogCheck_form));case 3:n=e.sent,n.code==d.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.ModifySuccess")),t.form.files.forEach((function(e){e.id==t.dialogCheck_form.id&&(1==e.type&&(t.files1.status=t.dialogCheck_form.status),2==e.type&&(t.files2.status=t.dialogCheck_form.status),3==e.type&&(t.files3.status=t.dialogCheck_form.status),10==e.type&&t.filesOther.forEach((function(e){e.id==t.dialogCheck_form.id&&(e.status=t.dialogCheck_form.status)})))})),t.cancel()):t.$pigeon.MessageError(n.msg),e.next=8;break;case 7:return e.abrupt("return",!1);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),searchReasons:function(){var e=this;return Object(o["a"])(Object(s["a"])().mark((function t(){var a;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,l["a"].reasonsRefusalList({type:1});case 2:a=t.sent,a.code==d.StatusOK?null==a.data?e.reasons={}:e.reasons=a.data:e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},CopyShareLink:function(){var e=this;this.$nextTick((function(){e.formInfo.isAgent&&e.$refs.consumerShareLink.LinkActivity1({form:e.form,type:2})}))}},mounted:function(){},watch:{dialogInfoCid:function(e){0==e&&(this.$refs["form"]&&this.$refs["form"].resetFields(),this.form={})},formInfo:function(){var e=this;this.searchReasons(),this.form=this.formInfo,this.url1="",this.files1={},this.url2="",this.files2={},this.url3="",this.files3={},this.url5="",this.files5={},this.filesOther=[],this.form.files.length?(this.filesOther=[],this.form.files.forEach((function(t){1==t.type&&(e.files1=t,e.url1=e.Host05+(t.againPath||t.path),e.srcList1.push(e.url1)),2==t.type&&(e.files2=t,e.url2=e.Host05+(t.againPath||t.path),e.srcList2.push(e.url2)),3==t.type&&(e.files3=t,e.url3=e.Host05+(t.againPath||t.path),e.srcList3.push(e.url3)),10==t.type&&(t.urlOther=e.Host05+(t.againPath||t.path),e.filesOther.push(t))}))):(this.url1="",this.files1={},this.url2="",this.files2={},this.url3="",this.files3={},this.url5="",this.files5={},this.filesOther=[])}}},g=h,_=(a("095d"),a("a0fc"),a("2877")),b=Object(_["a"])(g,n,i,!1,null,"1e82c698",null);t["a"]=b.exports},"30f1":function(e,t,a){"use strict";a("dc7d")},"3a82":function(e,t,a){"use strict";a("b0c0");var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"InfoBox",class:{active:e.dialogInfoIbNo},attrs:{id:"TradingDetailedInfo"}},[t("div",{staticClass:"header"},[t("div",[t("span",{directives:[{name:"t",rawName:"v-t",value:"Label.AgentNumber",expression:"'Label.AgentNumber'"}],staticClass:"title"}),t("span",[e._v(":")]),t("span",[e._v(e._s(e.form.ibNo||"--"))])]),t("span",{staticClass:"close crm-cursor",on:{click:e.close}},[t("i",{staticClass:"el-icon-close"})])]),t("el-form",{ref:"form",attrs:{model:e.form,"label-width":"150PX"}},[t("el-form-item",{attrs:{label:e.$t("Label.CidAccount")}},[e._v(" "+e._s(e.form.cId||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.AgentNumber")}},[e._v(" "+e._s(e.form.ibNo||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.AttributionNumber")}},[e._v(" "+e._s(e.form.pIbNo||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.AgentLevel")}},[e._v(" "+e._s("cn"==e.Session.Get("lang")?e.form.agentLevelName:e.form.agentLevelEnName)+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.Name")}},[e._v(" "+e._s(e.form.name||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.Email")}},[e._v(" "+e._s(e.form.email||"--")+" ")]),t("el-form-item",{attrs:{label:e.$t("Label.Amount")}},[e._v(" "+e._s(e.form.balance||"--")+" ")])],1)],1)},i=[],s=a("f121"),r=a.n(s),o={name:"DetailedInfoIbNo",props:{dialogInfoIbNo:{type:Boolean,default:!1},infoType:{default:""},formInfo:{default:""},btn:{type:Boolean,default:!1}},data:function(){return{imgUrl:r.a.Host05,form:{},info:{CID:"",name:"",type:""}}},methods:{close:function(){this.$emit("close",!1)}},mounted:function(){},watch:{formInfo:function(){this.form=this.formInfo}}},l=o,c=(a("99ca"),a("30f1"),a("2877")),u=Object(c["a"])(l,n,i,!1,null,"c648ddc0",null);t["a"]=u.exports},5396:function(e,t,a){"use strict";a("78ec")},"78ec":function(e,t,a){},"7d5b":function(e,t,a){},"7edd":function(e,t,a){"use strict";a("7d5b")},"92c7":function(e,t,a){"use strict";a("498a"),a("9911");var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"consumer-share-link views"},[t("el-dialog",{attrs:{visible:e.dialogLink,center:"",title:e.$t("Ib.Index.CreateLink"),"custom-class":"dialog_header_w dialogLink consumer-share-dialog"},on:{"update:visible":function(t){e.dialogLink=t}}},[t("div",{staticClass:"dia-content"},[t("div",{staticClass:"content"},[t("div",{staticClass:"form-item form-item-name"},[t("label",{staticClass:"form-label"},[e._v(e._s(e.$t("Ib.Index.LinkName")))]),t("el-input",{staticClass:"form-input",attrs:{size:"small",placeholder:e.$t("Ib.Index.LinkName")},model:{value:e.linkName,callback:function(t){e.linkName=t},expression:"linkName"}})],1),t("div",{staticClass:"form-section"},[t("div",{staticClass:"section-title"},[t("i",{staticClass:"el-icon-s-operation"}),e._v(" "+e._s(e.$t("Ib.Index.Spread5"))+" ")]),t("div",{staticClass:"account-type-grid"},[t("div",{staticClass:"account-type-card"},[t("div",{staticClass:"account-type-label"},[e._v(e._s(e.$t("AccountType.StandardAccount")))]),t("el-select",{staticClass:"account-select",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:function(t){return e.handleAccountTypeChange("standard","7")}},model:{value:e.accountTypeSettings.standard.selectedIndex,callback:function(t){e.$set(e.accountTypeSettings.standard,"selectedIndex",t)},expression:"accountTypeSettings.standard.selectedIndex"}},e._l(e.getAvailableSpreads("7"),(function(a,n){return t("el-option",{key:n,attrs:{label:e.getSpreadLabel(a),value:n}})})),1)],1),t("div",{staticClass:"account-type-card"},[t("div",{staticClass:"account-type-label"},[e._v(e._s(e.$t("AccountType.SeniorAccount")))]),t("el-select",{staticClass:"account-select",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:function(t){return e.handleAccountTypeChange("ecn","2")}},model:{value:e.accountTypeSettings.ecn.selectedIndex,callback:function(t){e.$set(e.accountTypeSettings.ecn,"selectedIndex",t)},expression:"accountTypeSettings.ecn.selectedIndex"}},e._l(e.getAvailableSpreads("2"),(function(a,n){return t("el-option",{key:n,attrs:{label:e.getSpreadLabel(a),value:n}})})),1)],1),t("div",{staticClass:"account-type-card"},[t("div",{staticClass:"account-type-label"},[e._v(e._s(e.$t("AccountType.CentAccount")))]),t("el-select",{staticClass:"account-select",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},on:{change:function(t){return e.handleAccountTypeChange("cent","8")}},model:{value:e.accountTypeSettings.cent.selectedIndex,callback:function(t){e.$set(e.accountTypeSettings.cent,"selectedIndex",t)},expression:"accountTypeSettings.cent.selectedIndex"}},e._l(e.getAvailableSpreads("8"),(function(a,n){return t("el-option",{key:n,attrs:{label:e.getSpreadLabel(a),value:n}})})),1)],1)])]),t("div",{staticClass:"action-row"},[t("el-button",{staticClass:"btn-create",attrs:{type:"primary",size:"small"},on:{click:e.CreateLink}},[t("i",{staticClass:"el-icon-link"}),e._v(" "+e._s(e.$t("Ib.Index.CreateLink"))+" ")])],1),e.link?[t("div",{staticClass:"result-section qr-section"},[t("div",{staticClass:"qr-wrapper"},[t("QrCode",{ref:"qrCode",attrs:{text:e.link,width:200,height:200}})],1)]),t("div",{staticClass:"result-section link-section"},[t("div",{staticClass:"result-label"},[t("i",{staticClass:"el-icon-link"}),e._v(" "+e._s(e.$t("Ib.Index.Copy"))+" ")]),t("div",{staticClass:"link-row"},[t("el-input",{staticClass:"link-input",attrs:{readonly:"",size:"small",id:"custom_link_dialog"},model:{value:e.link,callback:function(t){e.link="string"===typeof t?t.trim():t},expression:"link"}}),t("el-button",{staticClass:"btn-copy",attrs:{size:"small",type:"primary"},on:{click:function(t){return e.CopyShareLink("custom_link_dialog")}}},[t("i",{staticClass:"el-icon-document-copy"}),e._v(" "+e._s(e.$t("Ib.Index.Copy"))+" ")])],1)])]:e._e()],2)]),t("div",{staticClass:"commission-adjust-notice"},[t("div",{staticClass:"commission-adjust-notice__section"},[t("div",{staticClass:"commission-adjust-notice__section-head"},[t("i",{staticClass:"el-icon-info commission-adjust-notice__icon"}),t("span",{staticClass:"commission-adjust-notice__title"},[e._v(e._s(e.$t("Customer_info.Real.CommissionNoticeOpenTitle")))])]),t("p",{staticClass:"commission-adjust-notice__p"},[e._v(" "+e._s(e.$t("Customer_info.Real.CommissionNoticeOpenP1"))+" ")]),t("p",{staticClass:"commission-adjust-notice__p"},[e._v(" "+e._s(e.$t("Customer_info.Real.CommissionNoticeOpenP2"))+" ")])])]),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{size:"small"},on:{click:function(t){e.dialogLink=!1}}},[e._v(e._s(e.$t("Btn.Cancel")))]),t("el-button",{attrs:{size:"small",type:"primary",disabled:!e.link},on:{click:e.saveLink}},[e._v(e._s(e.$t("Btn.Confirm")))])],1)])],1)},i=[],s=a("5530"),r=a("c7eb"),o=a("1da1"),l=(a("99af"),a("4de4"),a("7db0"),a("caad"),a("a15b"),a("d81d"),a("14d9"),a("e9f5"),a("910d"),a("f665"),a("7d54"),a("ab43"),a("b64b"),a("d3b7"),a("2532"),a("159b"),a("5d411")),c=a("9630"),u=a("f121"),p=a.n(u),d=p.a.Code,f=p.a.Host80,m={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,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=null!==(e=null!==(t=null===n||void 0===n?void 0:n.cId)&&void 0!==t?t:null===n||void 0===n||null===(a=n.form)||void 0===a?void 0:a.cId)&&void 0!==e?e:null;this.currentCId=i||null,this.currentId=n&&"id"in n?n.id:null,this.openAddDialog()},openAddDialog:function(){var e=this;return Object(o["a"])(Object(r["a"])().mark((function t(){return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.getCustomLinkTypes();case 2:e.selectedSpreadId="",e.linkName="",e.link="",e.linkValue="",e.accountTypeSettings={ecn:{selectedIndex:null,selectedItem:null,loginType:"2"},standard:{selectedIndex:null,selectedItem:null,loginType:"7"},cent:{selectedIndex:null,selectedItem:null,loginType:"8"}},e.dialogLink=!0;case 8:case"end":return t.stop()}}),t)})))()},getCustomLinkTypes:function(){var e=this;return Object(o["a"])(Object(r["a"])().mark((function t(){var a,n,i;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.currentId?{ibId:e.currentId}:{},t.next=3,c["a"].getRegisterLinkTypes(a);case 3:n=t.sent,n.code==d.StatusOK?(i=n.data||[],console.log(i,"123"),e.accountTypeData={ecn:i.filter((function(e){return 2===e.loginType||"2"===e.loginType})),standard:i.filter((function(e){return 7===e.loginType||"7"===e.loginType})),cent:i.filter((function(e){return 8===e.loginType||"8"===e.loginType}))}):(e.$pigeon.MessageError(n.msg),e.accountTypeData={ecn:[],standard:[],cent:[]});case 5:case"end":return t.stop()}}),t)})))()},getAvailableSpreads:function(e){return"2"===e?this.accountTypeData.ecn||[]:"7"===e?this.accountTypeData.standard||[]:"8"===e&&this.accountTypeData.cent||[]},handleAccountTypeChange:function(e,t){var a=this.accountTypeSettings[e],n=this.getAvailableSpreads(t);null!==a.selectedIndex&&void 0!==a.selectedIndex?a.selectedItem=n[a.selectedIndex]||null:a.selectedItem=null,this.$forceUpdate()},getSpreadLabel:function(e){return e.groupName||""},loginTypeList:function(){var e=this;return Object(o["a"])(Object(r["a"])().mark((function t(){var a;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,c["a"].loginTypeList({page:{current:1,row:100}});case 2:a=t.sent,a.code==d.StatusOK?e.spreadList=a.data:e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},getValidAccountTypes:function(e,t){var a=this.spreadList.find((function(e){return e.id===t})),n={hide:"",commission:"",excludeShowLoginTypes:[]};if(!a)return n;var i=e.filter((function(e){return a.loginTypes.includes(e)})),s=e.filter((function(e){return!a.loginTypes.includes(e)})),r=this.excludeList.filter((function(e){return s.includes(e.value)})).map((function(e){return e.label})),o=this.excludeLists.filter((function(e){return!i.includes(e.value)})).map((function(e){return e.value}));return this.loginTypes=r.join("、"),{hide:a.hide,commission:a.comPoint,excludeShowLoginTypes:o,invalidLabels:r,invalidValues:s}},getLink1:function(){var e=this;return Object(o["a"])(Object(r["a"])().mark((function t(){var a,n,i,o;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=[],n=[],Object.keys(e.accountTypeSettings).forEach((function(t){var i=e.accountTypeSettings[t];i.selectedItem&&(a.push(i.loginType),n.push(i.selectedItem))})),0!==a.length){t.next=7;break}return e.$pigeon.MessageWarning(e.$i18n.t("Ib.Index.Spread5")),e.link="",t.abrupt("return");case 7:return i=Object(s["a"])({loginConfig:n},e.currentId?{ibId:e.currentId}:{}),t.next=10,c["a"].customLinkCode(i);case 10:if(o=t.sent,o.code!==d.StatusOK){t.next=16;break}return e.$pigeon.MessageOK(o.msg),t.abrupt("return",o.data);case 16:return e.$pigeon.MessageError(o.msg),t.abrupt("return","");case 18:case"end":return t.stop()}}),t)})))()},CreateLink:function(){var e=this;return Object(o["a"])(Object(r["a"])().mark((function t(){var a;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.linkName){t.next=3;break}return e.$pigeon.MessageWarning(e.$i18n.t("Ib.Index.LinkName")),t.abrupt("return");case 3:return t.next=5,e.getLink1();case 5:if(a=t.sent,a){t.next=8;break}return t.abrupt("return");case 8:e.linkValue=a,e.link="".concat(f,"/#/signup/").concat(e.getInfoId,"/").concat(a,"/").concat(e.ibInvalid);case 10:case"end":return t.stop()}}),t)})))()},saveLink:function(){var e=this;return Object(o["a"])(Object(r["a"])().mark((function t(){var a,n,i;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.linkName){t.next=3;break}return e.$pigeon.MessageWarning(e.$i18n.t("Label.Name")),t.abrupt("return");case 3:if(e.link){t.next=6;break}return e.$pigeon.MessageWarning(e.$i18n.t("Ib.Index.CreateLink")),t.abrupt("return");case 6:if(a=[],Object.keys(e.accountTypeSettings).forEach((function(t){var n=e.accountTypeSettings[t];n.selectedItem&&a.push(n.selectedItem)})),0!==a.length){t.next=11;break}return e.$pigeon.MessageWarning(e.$i18n.t("Ib.Index.Spread5")),t.abrupt("return");case 11:return n={name:e.linkName,link:e.link,linkValue:e.linkValue,loginConfig:a},e.currentCId&&(n.cId=e.currentCId),e.currentId&&(n.ibId=e.currentId),t.next=16,c["a"].customLinkAdd(n);case 16:i=t.sent,i.code===d.StatusOK?(e.$pigeon.MessageOK(i.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(i.msg);case 18:case"end":return t.stop()}}),t)})))()},CopyShareLink:function(e){var t=document.getElementById(e);t&&(t.select(),document.execCommand("Copy"),this.$pigeon.MessageOK(this.$i18n.t("card.Msg.m8")))},downloadQrCode:function(){this.$refs.qrCode&&this.$refs.qrCode.downloadQrCode()},showQrCodeDialog:function(e){e&&(this.currentQrCodeLink=e,this.qrCodeDialogVisible=!0)},handleCurrentChange:function(e){this.pagerInfo.current=e,this.getList()},getGroupNameByLoginType:function(e,t){if(!e)return"";var a=e;if("string"===typeof e)try{a=JSON.parse(e)}catch(i){return""}if(!Array.isArray(a))return"";var n=a.find((function(e){return e.loginType===t||e.loginType===String(t)||String(e.loginType)===String(t)}));return n&&n.groupName||""},formatLoginTypes:function(e){if(!e)return"--";var t=e;if("string"===typeof e)try{t=JSON.parse(e)}catch(i){t=e.split(",").map((function(e){return e.trim()}))}Array.isArray(t)||(t=[t]);var a={1:this.$i18n.t("AccountType.ClassicAccount"),2:this.$i18n.t("AccountType.SeniorAccount"),3:this.$i18n.t("AccountType.AgencyAccount"),5:this.$i18n.t("AccountType.SpeedAccount"),6:this.$i18n.t("AccountType.SpeedAccount"),7:this.$i18n.t("AccountType.StandardAccount"),8:this.$i18n.t("AccountType.CentAccount")},n=t.map((function(e){return a[String(e)]||e})).filter(Boolean);return n.length>0?n.join("、"):"--"}},created:function(){var e=this;this.$nextTick((function(){e.excludeLists=[{label:e.$i18n.t("AccountType.SeniorAccount"),value:"2"},{label:e.$i18n.t("AccountType.AgencyAccount"),value:"3"},{label:e.$i18n.t("AccountType.StandardAccount"),value:"7"},{label:e.$i18n.t("AccountType.CentAccount"),value:"8"}],e.excludeLists=e.excludeLists.filter((function(e){return!e.hidden}))}))}},v=m,h=(a("5396"),a("2877")),g=Object(h["a"])(v,n,i,!1,null,"3914491a",null);t["a"]=g.exports},"99ca":function(e,t,a){"use strict";a("fe0d")},"9d92":function(e,t,a){},a0fc:function(e,t,a){"use strict";a("f7f8")},a36f:function(e,t,a){},d35e:function(e,t,a){"use strict";var n=a("c7eb"),i=a("1da1"),s=a("d4ec"),r=a("bee2"),o=a("8f33"),l=a("262e"),c=a("ff2d"),u=a("bc3a"),p=a.n(u),d=a("f121"),f=a.n(d),m=function(e){function t(){var e;return Object(s["a"])(this,t),e=Object(o["a"])(this,t),p.a.defaults.baseURL=f.a.Host85,e}return Object(l["a"])(t,e),Object(r["a"])(t,[{key:"customUpdateBalance",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/custom/update/balance",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositRaffleSearch",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/web/activity/custom/deposit/raffle/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositRaffleSearchSingle",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/web/activity/custom/deposit/raffle/search/single",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositRaffleAdd",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/web/activity/custom/deposit/raffle/add",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositRaffleUpdate",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/web/activity/custom/deposit/raffle/update",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositRaffleDelete",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/web/activity/custom/deposit/raffle/delete",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositRaffleAutomatic",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/custom/activity/deposit/raffle/get/config/week/raffle",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositRaffleAutomaticUpdate",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/custom/activity/deposit/raffle/update/config/week/raffle",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositRafflePopupSearch",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/web/activity/custom/deposit/raffle/popup/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositRafflePopupSearchSingle",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/web/activity/custom/deposit/raffle/popup/search/single",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositRafflePopupAdd",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/web/activity/custom/deposit/raffle/popup/add",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositRafflePopupUpdate",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/web/activity/custom/deposit/raffle/popup/update",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositRafflePopupDelete",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/web/activity/custom/deposit/raffle/popup/delete",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"customDepositRaffleSearch",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/custom/activity/deposit/raffle/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"customDepositRaffleExport",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/custom/activity/deposit/raffle/export?email=&cId=&startDate=null&endDate=null",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"customDepositRaffleNumber",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/custom/activity/deposit/raffle/update/number",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"customDepositRaffleMarketsSearch",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/custom/activity/deposit/raffle/week/markets/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"customDepositRaffleMarketsApprove",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/custom/activity/deposit/raffle/markets/week/approve",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"customDepositRaffleManagerSearch",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/custom/activity/deposit/raffle/week/manager/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"customDepositRaffleManagerApprove",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/custom/activity/deposit/raffle/week/approve",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"customTransferSearch",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/custom/transfer/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"walletHistorySearch",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/custom/wallet/history/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"walletHistoryExport",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/custom/wallet/history/export?email=&cId=null&startDate=null&endDate=null",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositRaffleNumberRecordSearch",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/custom/activity/deposit/raffle/number/record/search/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositRaffleNumberRecordExport",value:function(){var e=Object(i["a"])(Object(n["a"])().mark((function e(){var t,a,i=arguments;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,this.post("/custom/activity/deposit/raffle/number/record/export",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}])}(c["a"]);t["a"]=new m},dc7d:function(e,t,a){},e3d5:function(e,t,a){"use strict";a.r(t);a("b0c0"),a("ac1f"),a("841c"),a("498a");var n=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:"apply_RaffleList","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",{staticStyle:{"margin-right":"10px"},attrs:{prop:"status"}},[t("el-select",{staticClass:"crm_search_down_special crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.search.customSubmitStatus,callback:function(t){e.$set(e.search,"customSubmitStatus",t)},expression:"search.customSubmitStatus"}},[t("el-option",{attrs:{label:e.$t("Raffle.RaffleList.item1"),value:null},nativeOn:{click:function(t){return e.toSearch.apply(null,arguments)}}}),t("el-option",{attrs:{label:e.$t("Raffle.RaffleList.item1_1"),value:0},nativeOn:{click:function(t){return e.toSearch.apply(null,arguments)}}}),t("el-option",{attrs:{label:e.$t("Raffle.RaffleList.item1_2"),value:1},nativeOn:{click:function(t){return e.toSearch.apply(null,arguments)}}})],1)],1),t("el-form-item",{staticStyle:{"margin-right":"10px"},attrs:{prop:"status"}},[t("el-select",{staticClass:"crm_search_down_special crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.search.status,callback:function(t){e.$set(e.search,"status",t)},expression:"search.status"}},[t("el-option",{attrs:{label:e.$t("Raffle.RaffleList.item2"),value:null},nativeOn:{click:function(t){return e.toSearch.apply(null,arguments)}}}),t("el-option",{attrs:{label:e.$t("ActivitiesApply23New.item6"),value:1},nativeOn:{click:function(t){return e.toSearch.apply(null,arguments)}}}),t("el-option",{attrs:{label:e.$t("State.Pass"),value:2},nativeOn:{click:function(t){return e.toSearch.apply(null,arguments)}}}),t("el-option",{attrs:{label:e.$t("State.Refused"),value:3},nativeOn:{click:function(t){return e.toSearch.apply(null,arguments)}}})],1)],1),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("Label.Email"),value:2}})],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()],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")},on:{input:e.getSearchDate},model:{value:e.search.date,callback:function(t){e.$set(e.search,"date",t)},expression:"search.date"}}),t("el-button",{staticClass:"crm-border-left-no crm-border-radius-no",attrs:{size:"small",icon:"el-icon-search"},on:{click:e.toSearch}})],1)],1)],1)],1)],1),t("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{data:e.mock_tableData,stripe:""},on:{"selection-change":e.handleSelectionChange}},[t("el-table-column",{attrs:{align:"left",type:"selection",width:"55"}}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.CidAccount")},scopedSlots:e._u([{key:"default",fn:function(a){var n;return[a.row.cId&&null!==(n=e.display["Raffle.R-RaffleList-list"])&&void 0!==n&&n.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.Encode")},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[e._v(e._s(a.row.pIbNo||"--"))])]}}])}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.AttributionNumber")},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[e._v(e._s(a.row.ibNo||"--"))])]}}])}),t("el-table-column",{attrs:{prop:"",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.countrys")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.countryName||"--")+" ")]}}])}),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:"center",width:"120",label:e.$i18n.t("Raffle.RaffleList.item1")},scopedSlots:e._u([{key:"default",fn:function(a){return[0==a.row.customSubmitStatus?t("span",{directives:[{name:"t",rawName:"v-t",value:"Raffle.RaffleList.item1_1",expression:"'Raffle.RaffleList.item1_1'"}],staticClass:"state crm_state_red"}):e._e(),1==a.row.customSubmitStatus?t("span",{directives:[{name:"t",rawName:"v-t",value:"Raffle.RaffleList.item1_2",expression:"'Raffle.RaffleList.item1_2'"}],staticClass:"state crm_state_green"}):e._e()]}}])}),t("el-table-column",{attrs:{prop:"",align:"center",width:"120",label:e.$i18n.t("Raffle.RaffleList.item2")},scopedSlots:e._u([{key:"default",fn:function(a){return[1==a.row.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"ActivitiesApply23New.item6",expression:"'ActivitiesApply23New.item6'"}],staticClass:"state crm_state_blue"}):e._e(),2==a.row.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Pass",expression:"'State.Pass'"}],staticClass:"state crm_state_green"}):e._e(),3==a.row.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"State.Refused",expression:"'State.Refused'"}],staticClass:"state crm_state_red"}):e._e()]}}])}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Raffle.WalletHistory.item5")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.addTime||"--")+" ")]}}])}),t("el-table-column",{attrs:{prop:"title",align:"center",label:e.$i18n.t("Label.Note")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.note||"--")+" ")]}}])}),t("el-table-column",{attrs:{prop:"",align:"center",label:e.$i18n.t("Label.Action")},scopedSlots:e._u([{key:"default",fn:function(a){var n;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"},[1==a.row.status&&null!==(n=e.display["Raffle.R-RaffleList-approve"])&&void 0!==n&&n.show?t("el-dropdown-item",{attrs:{command:{type:"check",row:a.row}}},[t("i",{staticClass:"el-icon-s-operation"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.DealWith",expression:"'Btn.DealWith'"}]})]):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.dialogTit,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":"135px"}},[t("el-form-item",{attrs:{prop:"",label:"CID:"}},[e._v(" "+e._s(e.dialogCheck_form.cId)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$t("Label.Name")+":"}},[e._v(" "+e._s(e.dialogCheck_form.name)+" ")]),t("el-form-item",{attrs:{prop:"status",label:e.$t("Label.CheckResults")+":"}},[t("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},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-input",{attrs:{size:"small",type:"textarea",rows:3,placeholder:e.$t("Placeholder.Input")},on:{change:e.selectChange},model:{value:e.dialogCheck_form.approveDesc,callback:function(t){e.$set(e.dialogCheck_form,"approveDesc",t)},expression:"dialogCheck_form.approveDesc"}})],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.dialogTit,visible:e.dialogCheckAdd,center:"","custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogCheckAdd=t}}},[t("div",{staticClass:"dia-content"},[t("el-form",{ref:"dialogCheckAdd_form",staticClass:"dialogCheckAdd_form",attrs:{model:e.dialogCheckAdd_form,rules:e.rules,"label-width":"135px"}},[t("el-form-item",{attrs:{prop:"",label:e.$t("Label.ApplicationAccount")+":"}},[e._v(" "+e._s(e.dialogCheckAdd_form.login)+" ")]),t("el-form-item",{attrs:{prop:"approveDesc",label:e.$t("Label.Descr")+":"}},[t("el-input",{attrs:{size:"small",type:"textarea",rows:3,placeholder:e.$t("Placeholder.Input")},on:{change:e.selectChange},model:{value:e.dialogCheckAdd_form.approveDesc,callback:function(t){e.$set(e.dialogCheckAdd_form,"approveDesc",t)},expression:"dialogCheckAdd_form.approveDesc"}})],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.toAddNote()}}}),t("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:e.cancelNote}})],1)],1)]),t("el-dialog",{attrs:{title:e.dialogTit,visible:e.dialogCheckTransition,center:"","custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogCheckTransition=t}}},[t("div",{staticClass:"dia-content"},[t("el-form",{ref:"dialogCheckTransition_form",staticClass:"dialogCheckTransition_form",attrs:{model:e.dialogCheckTransition_form,rules:e.rules,"label-width":"135px"}},[t("el-form-item",{attrs:{prop:"",label:e.$t("Label.ApplicationAccount")+":"}},[e._v(" "+e._s(e.dialogCheckTransition_form.login)+" ")]),t("el-form-item",{attrs:{prop:"status",label:e.$t("Label.CheckResults")+":"}},[t("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.dialogCheckTransition_form.status,callback:function(t){e.$set(e.dialogCheckTransition_form,"status",t)},expression:"dialogCheckTransition_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.dialogCheckTransition_form.status?t("el-form-item",{attrs:{prop:"approveDesc",label:e.$t("Label.Descr")+":"}},[t("el-input",{attrs:{size:"small",type:"textarea",rows:3,placeholder:e.$t("Placeholder.Input")},on:{change:e.selectChange},model:{value:e.dialogCheckTransition_form.approveDesc,callback:function(t){e.$set(e.dialogCheckTransition_form,"approveDesc",t)},expression:"dialogCheckTransition_form.approveDesc"}})],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.toTransition()}}}),t("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:e.cancelTransition}})],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()],1)},i=[],s=a("5530"),r=a("c7eb"),o=a("1da1"),l=(a("99af"),a("14d9"),a("e9f5"),a("7d54"),a("d3b7"),a("3ca3"),a("159b"),a("ddb0"),a("2b3d"),a("bf19"),a("9861"),a("88a7"),a("271a"),a("5494"),a("d35e")),c=a("f121"),u=a.n(c),p=a("2d59"),d=a("3a82"),f=a("bc3a"),m=a.n(f),v=u.a.Code,h={name:"ActivitiesApply",components:{DetailedInfoCid:p["a"],DetailedInfoIbNo:d["a"]},data:function(){return{flag:!1,reasons:{},pushMes:{},pictLoading:!1,mock_tableData:[],search:{tag:1,status:null,customSubmitStatus:null,cId:"",email:"",date:[],startDate:"",endDate:""},dialogCheck:!1,dialogCheck_form:{},dialogTit:"",dialogCheckAdd:!1,dialogCheckAdd_form:{},dialogCheckTransition:!1,dialogCheckTransition_form:{},dialogInfoCid:!1,dialogInfoPIbNo:!1,infoType:"",formInfo:{},formInfoPib:{},interval:null,isCountDown:"",expands:null,tableData:[],expandKeys:[],multipleSelection:[],pagerInfo:{row:10,current:1,pageTotal:0,rowTotal:0},rules:{status:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}],approveDesc:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}],pushMessageId:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"blur"}]}}},computed:{display:function(){return this.Session.GetDisplay()}},destroyed:function(){clearInterval(this.interval)},filters:{limitTimeFilter:function(e){var t="",a=e.activityEndTimes;if(a>0){var n=1e3,i=60*n,s=60*i,r=24*s,o=Math.floor(a/r)>"9"?Math.floor(a/r):"0"+Math.floor(a/r),l=Math.floor(a%r/s)>"9"?Math.floor(a%r/s):"0"+Math.floor(a%r/s),c=Math.floor(a%s/i)>"9"?Math.floor(a%s/i):"0"+Math.floor(a%s/i),u=Math.floor(a%i/n)>"9"?Math.floor(a%i/n):"0"+Math.floor(a%i/n);t="".concat(o,"天 ").concat(l,":").concat(c,":").concat(u)}else t=e.activityEndTime;return t}},methods:{selectChange:function(){this.$forceUpdate()},handleCommand:function(e){"check"==e.type&&(this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck=!0,this.dialogCheck_form.cId=e.row.cId,this.dialogCheck_form.name=e.row.name,this.dialogCheck_form.id=e.row.id,this.dialogTit=this.$i18n.t("Raffle.R-RaffleList-approve"))},beginTimer:function(){var e=this;e.interval=setInterval((function(){e.mock_tableData.forEach((function(t,a){t.activityEndTimes<0?clearInterval(e.interval):(t.activityEndTimes=t.activityEndTimes-1e3,e.$set(e.mock_tableData,a,t))}))}),1e3)},exportActity:function(){var e=this;return Object(o["a"])(Object(r["a"])().mark((function t(){var a,n,i;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.search.startDate?e.search.startDate.split("-")[0]+e.search.startDate.split("-")[1]+e.search.startDate.split("-")[2]:"",n=e.search.endDate?e.search.endDate.split("-")[0]+e.search.endDate.split("-")[1]+e.search.endDate.split("-")[2]:"",i="/custom/activity/hundred/export?startDate="+a+"&endDate="+n+"&login="+(e.search.login?e.search.login:"")+"&cId="+(e.search.cId?e.search.cId:"")+"&status="+(null!=e.search.status?e.search.status:"")+"&email="+(e.search.email?e.search.email:"")+"&activityStatus="+(e.search.activityStatus?e.search.activityStatus:"")+"&realizationStatus="+(e.search.realizationStatus?e.search.realizationStatus:""),m.a.get(i,{responseType:"blob"}).then((function(t){if(t.status==v.StatusOK)if("msSaveOrOpenBlob"in navigator)window.navigator.msSaveOrOpenBlob(t.data,"Download.xlsx");else{var a=window.URL.createObjectURL(t.data),n=document.createElement("a");document.body.appendChild(n);var i=t.headers["content-disposition"]?t.headers["content-disposition"].split(";")[1].split("=")[1]:"Download.xlsx";n.href=a,n.download=i,n.click(),window.URL.revokeObjectURL(a)}else e.$pigeon.MessageError(e.$i18n.t("Msg.Download"))}));case 4:case"end":return t.stop()}}),t)})))()},toogleExpand:function(e){var t=this.$refs.table;t.toggleRowExpansion(e)},getCommentList:function(e){var t=this;return Object(o["a"])(Object(r["a"])().mark((function a(){var n;return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return t.pictLoading=!0,a.next=3,l["a"].customActivity23NewNoteList({hundredId:e.id});case 3:n=a.sent,n.code==v.StatusOK?(n.data?(t.tableData=n.data,t.pictLoading=!1):t.tableData=[],t.pictLoading=!1):(t.tableData=[],t.$pigeon.MessageError(n.msg),t.pictLoading=!1),t.$refs.table.toggleRowExpansion(e);case 6:case"end":return a.stop()}}),a)})))()},toVerified:function(){var e=Object(o["a"])(Object(r["a"])().mark((function e(){var t=this;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$refs["dialogCheck_form"].validate(function(){var e=Object(o["a"])(Object(r["a"])().mark((function e(a){var n;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=13;break}if(!t.flag){e.next=5;break}return e.abrupt("return");case 5:t.flag=!0;case 6:return 3!=t.dialogCheck_form.status&&(t.dialogCheck_form.approveDesc=""),e.next=9,l["a"].customDepositRaffleManagerApprove(Object(s["a"])({},t.dialogCheck_form));case 9:n=e.sent,n.code==v.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.Success")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(n.msg)),e.next=14;break;case 13:return e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),cancel:function(){this.dialogCheck=!1,this.$refs["dialogCheck_form"].resetFields()},toAddNote:function(){var e=Object(o["a"])(Object(r["a"])().mark((function e(){var t=this;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$refs["dialogCheckAdd_form"].validate(function(){var e=Object(o["a"])(Object(r["a"])().mark((function e(a){var n;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=12;break}if(!t.flag){e.next=5;break}return e.abrupt("return");case 5:t.flag=!0;case 6:return e.next=8,l["a"].customActivity23NewNote({hundredId:t.dialogCheckAdd_form.id,comment:t.dialogCheckAdd_form.approveDesc});case 8:n=e.sent,n.code==v.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.Success")),t.cancelNote(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(n.msg)),e.next=13;break;case 12:return e.abrupt("return",!1);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),cancelNote:function(){this.dialogCheckAdd=!1,this.$refs["dialogCheckAdd_form"].resetFields()},toTransition:function(){var e=Object(o["a"])(Object(r["a"])().mark((function e(){var t=this;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$refs["dialogCheckTransition_form"].validate(function(){var e=Object(o["a"])(Object(r["a"])().mark((function e(a){var n;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=13;break}if(!t.flag){e.next=5;break}return e.abrupt("return");case 5:t.flag=!0;case 6:return 3!=t.dialogCheckTransition_form.status&&(t.dialogCheckTransition_form.approveDesc=""),e.next=9,l["a"].customActivity23Transform(Object(s["a"])({},t.dialogCheckTransition_form));case 9:n=e.sent,n.code==v.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.Success")),t.cancelTransition(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(n.msg)),e.next=14;break;case 13:return e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),cancelTransition:function(){this.dialogCheckTransition=!1,this.$refs["dialogCheckTransition_form"].resetFields()},closeDia:function(){this.dialogInfoCid=!1,this.dialogInfoPIbNo=!1},close:function(e){this.dialogInfoCid=e,this.dialogInfoPIbNo=e},accountOpen:function(e){this.searchSingleCid(e)},agentOpen:function(e){this.searchSinglePIbNo(e)},searchSingleCid:function(e){var t=this;return Object(o["a"])(Object(r["a"])().mark((function a(){var n;return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,l["a"].cidRealSingle({id:e});case 2:n=a.sent,n.code==v.StatusOK?(t.formInfo=n.data,t.dialogInfoCid=!0):t.$pigeon.MessageError(n.msg);case 4:case"end":return a.stop()}}),a)})))()},searchSinglePIbNo:function(e){var t=this;return Object(o["a"])(Object(r["a"])().mark((function a(){var n;return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,l["a"].pIbNoRealSingle({ibNo:e});case 2:n=a.sent,n.code==v.StatusOK?(t.formInfoPib=n.data,t.dialogInfoPIbNo=!0):t.$pigeon.MessageError(n.msg);case 4:case"end":return a.stop()}}),a)})))()},searchFunc:function(){var e=this;return Object(o["a"])(Object(r["a"])().mark((function t(){var a,n;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.pictLoading=!0,null!==(a=e.display["Raffle.R-RaffleList-list"])&&void 0!==a&&a.show){t.next=5;break}return e.$pigeon.MessageWarning(e.$i18n.t("Msg.NotDisplay")),e.pictLoading=!1,t.abrupt("return");case 5:return null==e.search.date||0==e.search.date.length?(e.search.startDate="",e.search.endDate=""):(e.search.startDate=e.search.date[0],e.search.endDate=e.search.date[1]),t.next=8,l["a"].customDepositRaffleManagerSearch(Object(s["a"])(Object(s["a"])({},e.search),{},{page:{current:e.pagerInfo.current,row:e.pagerInfo.row}}));case 8:n=t.sent,n.code==v.StatusOK?(e.mock_tableData=n.data||[],e.expandKeys=[],e.mock_tableData.forEach((function(t){t.comments&&t.comments.length&&e.expandKeys.push(t.id)})),null!=n.page?(e.pagerInfo.rowTotal=n.page.rowTotal,e.pagerInfo.pageTotal=n.page.pageTotal):e.pagerInfo.rowTotal=0,e.$pigeon.MessageOK(e.$i18n.t("Msg.SearchSuccess")),e.pictLoading=!1):(e.$pigeon.MessageError(n.msg),e.pictLoading=!1);case 10:case"end":return t.stop()}}),t)})))()},searchReasons:function(){var e=this;return Object(o["a"])(Object(r["a"])().mark((function t(){var a;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,l["a"].reasonsRefusalList({type:6});case 2:a=t.sent,a.code==v.StatusOK?null==a.data?e.reasons={}:e.reasons=a.data:e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},searchPushMes:function(){var e=this;return Object(o["a"])(Object(r["a"])().mark((function t(){var a;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,l["a"].PushMessageList({type:6});case 2:a=t.sent,a.code==v.StatusOK?null==a.data?e.pushMes={}:e.pushMes=a.data:e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},handleSelectionChange:function(e){var t=this;this.multipleSelection=[],e.forEach((function(e){t.multipleSelection.push(e.id)}))},daleteAll:function(){var e=this;return Object(o["a"])(Object(r["a"])().mark((function t(){var a;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e,e.$pigeon.MessageConfirm(e.$i18n.t("Msg.Delete"),e.$i18n.t("Msg.SystemPrompt"),e.$i18n.t("Btn.Confirm"),e.$i18n.t("Btn.Cancel"),Object(o["a"])(Object(r["a"])().mark((function e(){var t;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l["a"].customActivity23Delete({ids:a.multipleSelection});case 2:t=e.sent,t.code==v.StatusOK?(a.$pigeon.MessageOK(a.$i18n.t("Msg.DeleteSuccess")),a.searchFunc()):a.$pigeon.MessageError(t.msg);case 4:case"end":return e.stop()}}),e)}))),(function(){}));case 2:case"end":return t.stop()}}),t)})))()},delete:function(){var e=Object(o["a"])(Object(r["a"])().mark((function e(t){var a,n;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:a=[],a.push(t),n=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(o["a"])(Object(r["a"])().mark((function e(){var t;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l["a"].customActivity23Delete({ids:a});case 2:t=e.sent,t.code==v.StatusOK?(n.$pigeon.MessageOK(n.$i18n.t("Msg.DeleteSuccess")),n.searchFunc()):n.$pigeon.MessageError(t.msg);case 4:case"end":return e.stop()}}),e)}))),(function(){}));case 4:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),getSearchDate:function(e){this.search.date=e},toSearch:function(){this.pagerInfo.current=1,this.searchFunc()},handleSizeChange:function(e){this.pagerInfo.row=e,this.searchFunc()},handleCurrentChange:function(e){this.pagerInfo.current=e,this.searchFunc()}},mounted:function(){this.searchFunc()},watch:{"search.tag":function(){this.search.cId="",this.search.email=""}}},g=h,_=(a("7edd"),a("003e"),a("2877")),b=Object(_["a"])(g,n,i,!1,null,"fabdf4e0",null);t["default"]=b.exports},f7f8:function(e,t,a){},fe0d:function(e,t,a){}}]);