(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["s-views-Merge-hasty"],{"002e":function(t,e,n){"use strict";n("2fec")},"0936":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",{attrs:{data:t.data},on:{success:t.go}})],1)},s=[],r=n("b8c8"),o={name:"hastyStep3",components:{BtSuccess:r["default"]},data:function(){return{data:{title:"合并成功!",subTitle:"为保证您的用户体验,后续请使用该账号绑定的手机号进行登录!"}}},props:{},computed:{},created:function(){},mounted:function(){},methods:{go:function(){window.location.href="/WhiteHat/Center"}}},c=o,i=n("2877"),u=Object(i["a"])(c,a,s,!1,null,"7c61afe2",null);e["default"]=u.exports},"1b8f":function(t,e,n){"use strict";n("6e39")},"2fec":function(t,e,n){},"6e39":function(t,e,n){},"6ff2":function(t,e,n){},"88ce":function(t,e,n){"use strict";n("6ff2")},b8c8: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"),o={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")}}},c=o,i=(n("88ce"),n("2877")),u=Object(i["a"])(c,a,s,!1,null,"341cd31a",null);e["default"]=u.exports},d17c: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("br"),n("a",{attrs:{href:"javascript:void(0)"}},[t._v("注意:合并账号仅此一次机会,请谨慎选择,一旦合并将无法再进行修改!若有疑问,可添加QQ群630215691进行咨询。")])]),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"),o=(n("96cf"),n("d81d"),n("b64b"),n("159b"),n("d602")),c=n("2f93"),i={name:"hasty-step1",components:{MergeTip:c["default"]},data:function(){return{mobile:"",REALNAME:{0:"否",1:"是"},defItem:{uid:"",nickname:"",real_name:"",score:"",kb:"",reward:"",loo_num:"",team:"",radio:""},result:{},radio:"",accountList:[]}},computed:{nextDisabled:function(){return!(this.radio||0===this.radio)}},created:function(){},mounted:function(){this.getMobile(),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,o["getUser"].r({t:2});case 3:n=e.sent,a=n.data,s=n.status,1*s===1&&(t.accountList=a.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]])})))()},getMobile: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,o["getUser"].r({t:3});case 3:n=e.sent,a=n.data,s=n.status,1*s===1&&(t.mobile=a),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 o=a.map((function(t){return 1*t[r[n]]}));s[n]=o.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)}}},u=i,l=(n("1b8f"),n("2877")),d=Object(l["a"])(u,a,s,!1,null,"b752ded8",null);e["default"]=d.exports},e04a: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("d17c"),o=n("8845"),c=n("0936"),i={name:"hastyIndex",components:{Step1:r["default"],Step2:o["default"],Step3:c["default"]},data:function(){return{active:0,curComp:[r["default"],o["default"],c["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){}}},u=i,l=(n("002e"),n("2877")),d=Object(l["a"])(u,a,s,!1,null,"23adbd18",null);e["default"]=d.exports}}]);