(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["s-views-LoginID-hasty","s-utils-url"],{"129f":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},4648:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bt-hasty-step1"},[n("p",{staticClass:"tips__leftborder"},[t._v(" 亲爱的白帽,由于补天账号系统升级,现将对您当前的账号进行合并操作。根据您在基本资料中填写的手机号"+t._s(t.mobile)+"匹配到您的两个账号信息如下,请 "),n("a",{attrs:{href:"javascript:void(0)"}},[t._v("选择保留其中一个账号的基本信息")]),t._v(" (昵称、实名认证、团队信息等), "),n("a",{attrs:{href:"javascript:void(0)"}},[t._v("其余数据将进行合并")]),t._v(" (积分、库币、奖金、漏洞数)。其中,实名认证和团队信息将与选择保留信息账号一致,若选择的账号无该信息,则保留其他账号的这两项信息。 "),n("br"),n("a",{attrs:{href:"javascript:void(0)"}},[t._v("注意:合并账号仅此一次机会,请谨慎选择,一旦合并将无法再进行修改!若有疑问,可添加QQ:3604889125进行咨询。")])]),n("el-table",{staticStyle:{"margin-top":"15px"},attrs:{border:"",data:t.accountList,"show-summary":"","sum-text":"合并后","span-method":t.spanMethod,"summary-method":t.setSummaries}},[n("el-table-column",{attrs:{label:""}},[[t._v("合并前")]],2),n("el-table-column",{attrs:{prop:"nickname",label:"昵称"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.nickname))]}}])}),n("el-table-column",{attrs:{prop:"real_name",label:"实名认证"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(t.REALNAME[e.row.real_name]))]}}])}),n("el-table-column",{attrs:{prop:"score",label:"积分"}}),n("el-table-column",{attrs:{prop:"kb",label:"库币"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.kb)+" "),e.row.kb?n("span",[t._v("KB")]):t._e()]}}])}),n("el-table-column",{attrs:{prop:"reward",label:"奖金"}}),n("el-table-column",{attrs:{prop:"loo_num",label:"漏洞数"}}),n("el-table-column",{attrs:{prop:"team",label:"所属团队"}}),n("el-table-column",{attrs:{label:"保留信息"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-radio",{attrs:{label:e.row.radio},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},[t._v("保留")])]}}])})],1),n("div",{staticStyle:{"text-align":"center",padding:"40px 0"}},[n("el-button",{staticStyle:{width:"360px"},attrs:{type:"primary",disabled:t.nextDisabled},on:{click:t.next}},[t._v("下一步")])],1),n("merge-tip")],1)},s=[],r=n("1da1"),i=(n("96cf"),n("d81d"),n("b64b"),n("159b"),n("d2e6")),o=n("4b90"),u=n("738c"),c={name:"hasty-step1",components:{MergeTip:u["default"]},data:function(){return{mobile:"",REALNAME:{0:"否",1:"是"},defItem:{uid:"",nickname:"",real_name:"",score:"",kb:"",reward:"",loo_num:"",team:"",radio:""},result:{},radio:"",accountList:[],uid:"",token:""}},computed:{nextDisabled:function(){return!(this.radio||0===this.radio)}},created:function(){},mounted:function(){this.token=window.App.token,this.uid=Object(o["getUrlParam"])("uid"),this.getLists()},methods:{next:function(){this.$emit("changeStep",{i:1,result:this.result})},spanMethod:function(t){t.row,t.column;var e=t.rowIndex,n=t.columnIndex;if(0===n)return e%this.accountList.length===0?{rowspan:this.accountList.length,colspan:1}:{rowspan:0,colspan:0}},getLists:function(){var t=this;return Object(r["a"])(regeneratorRuntime.mark((function e(){var n,a,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,i["loginIdDataGet"].r({uid:t.uid,token:t.token});case 3:n=e.sent,a=n.data,s=n.status,1*s===1&&(t.mobile=a.mobile,t.accountList=a.list.map((function(t,e){return Object.assign({},{radio:e},t)}))),e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](0),console.log("【merge-hasty-step1】"+e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})))()},setSummaries:function(t){var e=this,n=t.columns,a=t.data,s=[],r=a[0]?Object.keys(this.defItem):[];return this.radio||0===this.radio?(n.forEach((function(t,n){if(0!==n){if(8===n&&(s[n]="——"),1!==n&&2!==n&&7!==n||(s[n]=a[e.radio][r[n]]?a[e.radio][r[n]]:1*e.radio===0?a[1][r[n]]:a[0][r[n]]||"——",2===n&&(s[n]=1*s[n]===1?"是":"否"),e.result[r[n]]=s[n]),n>2&&n<7){var i=a.map((function(t){return 1*t[r[n]]}));s[n]=i.reduce((function(t,e){return t+e})),s[n]=s[n]||0===s[n]?s[n]:"——",4===n&&"——"!==s[n]&&(s[n]=s[n]+"KB"),e.result[r[n]]=s[n]}}else s[n]="合并后"})),this.result["uid"]=a[this.radio]&&a[this.radio]["uid"]?a[this.radio]["uid"]:"",console.log("this.result---------------",this.result),s):(s[0]="合并后",s)}}},l=c,d=(n("51bd"),n("2877")),f=Object(d["a"])(l,a,s,!1,null,"6303df9d",null);e["default"]=f.exports},"4b90":function(t,e,n){"use strict";n.r(e),n.d(e,"getUrlParam",(function(){return a}));n("4d63"),n("ac1f"),n("25f0"),n("466d"),n("841c");function a(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),n=window.location.search.substr(1).match(e);return null!=n?unescape(n[2]):null}},"51bd":function(t,e,n){"use strict";n("6cb3")},"6cb3":function(t,e,n){},"770e":function(t,e,n){"use strict";n("f238")},"841c":function(t,e,n){"use strict";var a=n("d784"),s=n("825a"),r=n("1d80"),i=n("129f"),o=n("577e"),u=n("14c3");a("search",(function(t,e,n){return[function(e){var n=r(this),a=void 0==e?void 0:e[t];return void 0!==a?a.call(e,n):new RegExp(e)[t](o(n))},function(t){var a=s(this),r=o(t),c=n(e,a,r);if(c.done)return c.value;var l=a.lastIndex;i(l,0)||(a.lastIndex=0);var d=u(a,r);return i(a.lastIndex,l)||(a.lastIndex=l),null===d?-1:d.index}]}))},"87db":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bt-hasty-step3"},[n("bt-success-login-id",{attrs:{data:t.data},on:{success:t.go}})],1)},s=[],r=n("fcf2"),i={name:"hastyStep3",components:{BtSuccessLoginId:r["default"]},data:function(){return{data:{title:"合并成功!",subTitle:"您可以用绑定的手机号进行登录了!"}}},props:{},computed:{},created:function(){},mounted:function(){},methods:{go:function(){window.location.href="https://user.skyeye.qianxin.com/user/sign-in?next=https://www.butian.net/login.html&style=1#/pages/white-hat/login/login"}}},o=i,u=n("2877"),c=Object(u["a"])(o,a,s,!1,null,"56d34a0a",null);e["default"]=c.exports},"9e26":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bt-hasty"},[n("div",{staticClass:"bt-hasty-in"},[n("el-steps",{attrs:{active:t.active,"finish-status":"success"}},[n("el-step",{attrs:{title:"选择保留账号信息"}}),n("el-step",{attrs:{title:"确认合并信息"}}),n("el-step",{attrs:{title:"合并完成"}})],1),n("keep-alive",{attrs:{exclude:"hastyStep2"}},[n(t.curComp[t.active],{tag:"component",attrs:{result:t.result},on:{changeStep:t.changeStep}})],1)],1)])},s=[],r=n("4648"),i=n("4300"),o=n("87db"),u={name:"hastyIndex",components:{Step1:r["default"],Step2:i["default"],Step3:o["default"]},data:function(){return{active:0,curComp:[r["default"],i["default"],o["default"]],result:{},btnCode:{width:"240px",count:10,gt:!0,text1:"点击获取验证码",text2:"秒后可重新发送"}}},created:function(){},mounted:function(){},methods:{changeStep:function(t){this.active=t.i,this.result=t.result},callbackForBtnCountDown:function(t){}}},c=u,l=(n("a705"),n("2877")),d=Object(l["a"])(c,a,s,!1,null,"786d807d",null);e["default"]=d.exports},a00e:function(t,e,n){},a705:function(t,e,n){"use strict";n("a00e")},f238:function(t,e,n){},fcf2:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bt-merge-success"},[t._m(0),n("h3",[t._v(t._s(t.data.title))]),n("h4",[t._v(t._s(t.data.subTitle))]),n("div",{staticClass:"operate"},[t._t("operate",(function(){return[n("bt-count-down",{attrs:{count:t.countDown},on:{endCount:t.endCount}}),t._v("s后将跳转回到登录页面 ")]}))],2)])},s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"icon"},[n("i",{staticClass:"el-icon-success"})])}],r=n("9073"),i={name:"BtSuccess",components:{BtCountDown:r["default"]},data:function(){return{countDown:3}},props:{data:{type:Object,default:function(){return{title:"成功",subTitle:""}}}},computed:{},created:function(){},mounted:function(){},methods:{endCount:function(){console.log("success-----------------"),this.$emit("success")}}},o=i,u=(n("770e"),n("2877")),c=Object(u["a"])(o,a,s,!1,null,"28954e62",null);e["default"]=c.exports}}]);