Commit c77766a5 by root

first commit

parent 41c9e049
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="logo.ico"><title>后台管理系统</title><link href="/css/chunk-043d40de.2effa1c7.css" rel="prefetch"><link href="/css/chunk-0ca5d3cf.879d5159.css" rel="prefetch"><link href="/css/chunk-1546df8c.559f2493.css" rel="prefetch"><link href="/css/chunk-1c58100a.879d5159.css" rel="prefetch"><link href="/css/chunk-25f36902.0057e61d.css" rel="prefetch"><link href="/css/chunk-2ef511fa.0057e61d.css" rel="prefetch"><link href="/css/chunk-2f92119d.0057e61d.css" rel="prefetch"><link href="/css/chunk-39b4ab63.287eda6b.css" rel="prefetch"><link href="/css/chunk-39f339d4.559f2493.css" rel="prefetch"><link href="/css/chunk-4038bf24.0057e61d.css" rel="prefetch"><link href="/css/chunk-4063e8c4.0057e61d.css" rel="prefetch"><link href="/css/chunk-4280a640.0057e61d.css" rel="prefetch"><link href="/css/chunk-429b94dc.559f2493.css" rel="prefetch"><link href="/css/chunk-43e52ef7.ed4ee6d6.css" rel="prefetch"><link href="/css/chunk-48a60d7e.0057e61d.css" rel="prefetch"><link href="/css/chunk-4e8faf7e.6b5a3fad.css" rel="prefetch"><link href="/css/chunk-5169a36a.54f7bc6e.css" rel="prefetch"><link href="/css/chunk-57172578.54f7bc6e.css" rel="prefetch"><link href="/css/chunk-5e21cac8.d04d655d.css" rel="prefetch"><link href="/css/chunk-6328fcfa.0057e61d.css" rel="prefetch"><link href="/css/chunk-675bf7fa.b942ae6d.css" rel="prefetch"><link href="/css/chunk-6fd4adee.0057e61d.css" rel="prefetch"><link href="/css/chunk-72e6453c.6b5a3fad.css" rel="prefetch"><link href="/css/chunk-7358aa41.5b5ae118.css" rel="prefetch"><link href="/css/chunk-87c0191e.22ae98cd.css" rel="prefetch"><link href="/css/chunk-9a1477aa.3c386d94.css" rel="prefetch"><link href="/css/chunk-bccdb3a6.0057e61d.css" rel="prefetch"><link href="/css/chunk-cb583cae.072ed99a.css" rel="prefetch"><link href="/css/chunk-e43fa42c.f971a988.css" rel="prefetch"><link href="/css/chunk-e9f92372.2effa1c7.css" rel="prefetch"><link href="/css/chunk-ef865258.54f7bc6e.css" rel="prefetch"><link href="/css/chunk-f4d38a6e.0057e61d.css" rel="prefetch"><link href="/css/chunk-fab280da.0057e61d.css" rel="prefetch"><link href="/js/chunk-0257afc7.0abbb0c0.js" rel="prefetch"><link href="/js/chunk-043d40de.05cd8f42.js" rel="prefetch"><link href="/js/chunk-0ca5d3cf.f5547a8d.js" rel="prefetch"><link href="/js/chunk-1546df8c.36ec63b9.js" rel="prefetch"><link href="/js/chunk-15c290c8.133ba645.js" rel="prefetch"><link href="/js/chunk-1c58100a.26a9cb10.js" rel="prefetch"><link href="/js/chunk-22bdf5a4.b7e6ee5a.js" rel="prefetch"><link href="/js/chunk-25f36902.d38c915d.js" rel="prefetch"><link href="/js/chunk-2d0b5f95.2e6730c8.js" rel="prefetch"><link href="/js/chunk-2d0c156b.d830413e.js" rel="prefetch"><link href="/js/chunk-2d2079b4.ec25c1e1.js" rel="prefetch"><link href="/js/chunk-2ef511fa.e1c63c8f.js" rel="prefetch"><link href="/js/chunk-2f92119d.615c1e92.js" rel="prefetch"><link href="/js/chunk-3111140f.16bdc214.js" rel="prefetch"><link href="/js/chunk-39b4ab63.10d2efdf.js" rel="prefetch"><link href="/js/chunk-39f339d4.0b4509c1.js" rel="prefetch"><link href="/js/chunk-3a6718b5.423d45cf.js" rel="prefetch"><link href="/js/chunk-4038bf24.74b646e8.js" rel="prefetch"><link href="/js/chunk-4063e8c4.7a6cf8f3.js" rel="prefetch"><link href="/js/chunk-4280a640.19582382.js" rel="prefetch"><link href="/js/chunk-429b94dc.9701658a.js" rel="prefetch"><link href="/js/chunk-43e52ef7.034d79f2.js" rel="prefetch"><link href="/js/chunk-440955a8.b83a5736.js" rel="prefetch"><link href="/js/chunk-48a60d7e.9e63278e.js" rel="prefetch"><link href="/js/chunk-4e8faf7e.55cc52b2.js" rel="prefetch"><link href="/js/chunk-5169a36a.427aeec7.js" rel="prefetch"><link href="/js/chunk-53c2e84c.f8e76f60.js" rel="prefetch"><link href="/js/chunk-57172578.9a1d8e23.js" rel="prefetch"><link href="/js/chunk-5e21cac8.efc127a9.js" rel="prefetch"><link href="/js/chunk-6328fcfa.bca0996a.js" rel="prefetch"><link href="/js/chunk-675bf7fa.2d2d7ba5.js" rel="prefetch"><link href="/js/chunk-6fd4adee.254d0fce.js" rel="prefetch"><link href="/js/chunk-72e6453c.a9e59c37.js" rel="prefetch"><link href="/js/chunk-7358aa41.27d9024a.js" rel="prefetch"><link href="/js/chunk-7d79bd2e.1104b212.js" rel="prefetch"><link href="/js/chunk-87c0191e.e8e30c1b.js" rel="prefetch"><link href="/js/chunk-9a1477aa.2260aa33.js" rel="prefetch"><link href="/js/chunk-b241d8c8.3bbc30ab.js" rel="prefetch"><link href="/js/chunk-bccdb3a6.4d66adc4.js" rel="prefetch"><link href="/js/chunk-cb583cae.fd28fce0.js" rel="prefetch"><link href="/js/chunk-e43fa42c.e0353f79.js" rel="prefetch"><link href="/js/chunk-e9f92372.55d8802c.js" rel="prefetch"><link href="/js/chunk-ef865258.8022152a.js" rel="prefetch"><link href="/js/chunk-f4d38a6e.44df6847.js" rel="prefetch"><link href="/js/chunk-fab280da.69a7aea3.js" rel="prefetch"><link href="/css/chunk-vendors.2efec192.css" rel="preload" as="style"><link href="/css/index.f592d007.css" rel="preload" as="style"><link href="/js/chunk-vendors.094dae79.js" rel="preload" as="script"><link href="/js/index.90107b3f.js" rel="preload" as="script"><link href="/css/chunk-vendors.2efec192.css" rel="stylesheet"><link href="/css/index.f592d007.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but 后台管理系统 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.094dae79.js"></script><script src="/js/index.90107b3f.js"></script></body></html> <!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="logo.ico"><title>后台管理系统</title><link href="/css/chunk-043d40de.2effa1c7.css" rel="prefetch"><link href="/css/chunk-0ca5d3cf.879d5159.css" rel="prefetch"><link href="/css/chunk-1546df8c.559f2493.css" rel="prefetch"><link href="/css/chunk-1c58100a.879d5159.css" rel="prefetch"><link href="/css/chunk-25f36902.0057e61d.css" rel="prefetch"><link href="/css/chunk-2ef511fa.0057e61d.css" rel="prefetch"><link href="/css/chunk-2f92119d.0057e61d.css" rel="prefetch"><link href="/css/chunk-39b4ab63.287eda6b.css" rel="prefetch"><link href="/css/chunk-39f339d4.559f2493.css" rel="prefetch"><link href="/css/chunk-4038bf24.0057e61d.css" rel="prefetch"><link href="/css/chunk-4063e8c4.0057e61d.css" rel="prefetch"><link href="/css/chunk-4280a640.0057e61d.css" rel="prefetch"><link href="/css/chunk-429b94dc.559f2493.css" rel="prefetch"><link href="/css/chunk-43e52ef7.ed4ee6d6.css" rel="prefetch"><link href="/css/chunk-48a60d7e.0057e61d.css" rel="prefetch"><link href="/css/chunk-4e8faf7e.6b5a3fad.css" rel="prefetch"><link href="/css/chunk-5169a36a.54f7bc6e.css" rel="prefetch"><link href="/css/chunk-57172578.54f7bc6e.css" rel="prefetch"><link href="/css/chunk-5e21cac8.d04d655d.css" rel="prefetch"><link href="/css/chunk-6328fcfa.0057e61d.css" rel="prefetch"><link href="/css/chunk-675bf7fa.b942ae6d.css" rel="prefetch"><link href="/css/chunk-6fd4adee.0057e61d.css" rel="prefetch"><link href="/css/chunk-72e6453c.6b5a3fad.css" rel="prefetch"><link href="/css/chunk-7358aa41.5b5ae118.css" rel="prefetch"><link href="/css/chunk-87c0191e.22ae98cd.css" rel="prefetch"><link href="/css/chunk-9a1477aa.3c386d94.css" rel="prefetch"><link href="/css/chunk-bccdb3a6.0057e61d.css" rel="prefetch"><link href="/css/chunk-cb583cae.072ed99a.css" rel="prefetch"><link href="/css/chunk-e43fa42c.f971a988.css" rel="prefetch"><link href="/css/chunk-e9f92372.2effa1c7.css" rel="prefetch"><link href="/css/chunk-ef865258.54f7bc6e.css" rel="prefetch"><link href="/css/chunk-f4d38a6e.0057e61d.css" rel="prefetch"><link href="/css/chunk-fab280da.0057e61d.css" rel="prefetch"><link href="/js/chunk-0257afc7.0abbb0c0.js" rel="prefetch"><link href="/js/chunk-043d40de.05cd8f42.js" rel="prefetch"><link href="/js/chunk-0ca5d3cf.f5547a8d.js" rel="prefetch"><link href="/js/chunk-1546df8c.36ec63b9.js" rel="prefetch"><link href="/js/chunk-15c290c8.133ba645.js" rel="prefetch"><link href="/js/chunk-1c58100a.26a9cb10.js" rel="prefetch"><link href="/js/chunk-22bdf5a4.b7e6ee5a.js" rel="prefetch"><link href="/js/chunk-25f36902.d38c915d.js" rel="prefetch"><link href="/js/chunk-2d0b5f95.2e6730c8.js" rel="prefetch"><link href="/js/chunk-2d0c156b.d830413e.js" rel="prefetch"><link href="/js/chunk-2d2079b4.ec25c1e1.js" rel="prefetch"><link href="/js/chunk-2ef511fa.e1c63c8f.js" rel="prefetch"><link href="/js/chunk-2f92119d.615c1e92.js" rel="prefetch"><link href="/js/chunk-3111140f.16bdc214.js" rel="prefetch"><link href="/js/chunk-39b4ab63.10d2efdf.js" rel="prefetch"><link href="/js/chunk-39f339d4.0b4509c1.js" rel="prefetch"><link href="/js/chunk-3a6718b5.423d45cf.js" rel="prefetch"><link href="/js/chunk-4038bf24.74b646e8.js" rel="prefetch"><link href="/js/chunk-4063e8c4.7a6cf8f3.js" rel="prefetch"><link href="/js/chunk-4280a640.19582382.js" rel="prefetch"><link href="/js/chunk-429b94dc.9701658a.js" rel="prefetch"><link href="/js/chunk-43e52ef7.034d79f2.js" rel="prefetch"><link href="/js/chunk-440955a8.b83a5736.js" rel="prefetch"><link href="/js/chunk-48a60d7e.9e63278e.js" rel="prefetch"><link href="/js/chunk-4e8faf7e.55cc52b2.js" rel="prefetch"><link href="/js/chunk-5169a36a.427aeec7.js" rel="prefetch"><link href="/js/chunk-53c2e84c.f8e76f60.js" rel="prefetch"><link href="/js/chunk-57172578.9a1d8e23.js" rel="prefetch"><link href="/js/chunk-5e21cac8.efc127a9.js" rel="prefetch"><link href="/js/chunk-6328fcfa.bca0996a.js" rel="prefetch"><link href="/js/chunk-675bf7fa.2d2d7ba5.js" rel="prefetch"><link href="/js/chunk-6fd4adee.254d0fce.js" rel="prefetch"><link href="/js/chunk-72e6453c.a9e59c37.js" rel="prefetch"><link href="/js/chunk-7358aa41.27d9024a.js" rel="prefetch"><link href="/js/chunk-7d79bd2e.1104b212.js" rel="prefetch"><link href="/js/chunk-87c0191e.e8e30c1b.js" rel="prefetch"><link href="/js/chunk-9a1477aa.cc314622.js" rel="prefetch"><link href="/js/chunk-b241d8c8.3bbc30ab.js" rel="prefetch"><link href="/js/chunk-bccdb3a6.4d66adc4.js" rel="prefetch"><link href="/js/chunk-cb583cae.fd28fce0.js" rel="prefetch"><link href="/js/chunk-e43fa42c.e0353f79.js" rel="prefetch"><link href="/js/chunk-e9f92372.55d8802c.js" rel="prefetch"><link href="/js/chunk-ef865258.8022152a.js" rel="prefetch"><link href="/js/chunk-f4d38a6e.44df6847.js" rel="prefetch"><link href="/js/chunk-fab280da.69a7aea3.js" rel="prefetch"><link href="/css/chunk-vendors.2efec192.css" rel="preload" as="style"><link href="/css/index.f592d007.css" rel="preload" as="style"><link href="/js/chunk-vendors.094dae79.js" rel="preload" as="script"><link href="/js/index.dddee0b7.js" rel="preload" as="script"><link href="/css/chunk-vendors.2efec192.css" rel="stylesheet"><link href="/css/index.f592d007.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but 后台管理系统 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.094dae79.js"></script><script src="/js/index.dddee0b7.js"></script></body></html>
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9a1477aa"],{"00b4":function(e,t,a){"use strict";a("ac1f");var i=a("23e7"),s=a("da84"),o=a("c65b"),l=a("e330"),r=a("1626"),n=a("861d"),c=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),h=s.Error,u=l(/./.test);i({target:"RegExp",proto:!0,forced:!c},{test:function(e){var t=this.exec;if(!r(t))return u(this,e);var a=o(t,this,e);if(null!==a&&!n(a))throw new h("RegExp exec method returned something other than an Object or null");return!!a}})},"04d3":function(e,t,a){"use strict";a("4f61")},4795:function(e,t,a){var i=a("23e7"),s=a("da84"),o=a("2ba4"),l=a("1626"),r=a("342f"),n=a("f36a"),c=/MSIE .\./.test(r),h=s.Function,u=function(e){return function(t,a){var i=arguments.length>2,s=i?n(arguments,2):void 0;return e(i?function(){o(l(t)?t:h(t),this,s)}:t,a)}};i({global:!0,bind:!0,forced:c},{setTimeout:u(s.setTimeout),setInterval:u(s.setInterval)})},"4f61":function(e,t,a){},a15b:function(e,t,a){"use strict";var i=a("23e7"),s=a("e330"),o=a("44ad"),l=a("fc6a"),r=a("a640"),n=s([].join),c=o!=Object,h=r("join",",");i({target:"Array",proto:!0,forced:c||!h},{join:function(e){return n(l(this),void 0===e?",":e)}})},d81d:function(e,t,a){"use strict";var i=a("23e7"),s=a("b727").map,o=a("1dde"),l=o("map");i({target:"Array",proto:!0,forced:!l},{map:function(e){return s(this,e,arguments.length>1?arguments[1]:void 0)}})},f5b8:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{ref:"container",staticClass:"info-table"},[a("div",{staticClass:"fx align-items justify-between mt-15 mb-15 ml-10 mr-10"},[a("page-title",{attrs:{name:e.$t("hyxinxi")}})],1),a("div",{staticClass:"fx align-items mt-15 mb-15 ml-10 mr-10"},[a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v(e._s(e.$t("shijiantype"))+":")]),a("div",{staticClass:"search-item"},[a("el-select",{attrs:{placeholder:e.$t("shijiantype"),size:"small",clearable:""},model:{value:e.sortType,callback:function(t){e.sortType=t},expression:"sortType"}},[a("el-option",{attrs:{value:"0",label:e.$t("time1")}}),a("el-option",{attrs:{value:"1",label:e.$t("time2")}})],1)],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v(e._s(e.$t("time"))+":")]),a("div",{staticClass:"search-item"},[a("el-date-picker",{attrs:{type:"date",size:"small",placeholder:e.$t("xzrq")},model:{value:e.time,callback:function(t){e.time=t},expression:"time"}},[e._v(' style="width:150px" >')])],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v(e._s(e.$t("yonghunicheng"))+":")]),a("div",{staticClass:"search-item"},[a("el-input",{attrs:{placeholder:e.$t("yonghunicheng"),size:"small",clearable:""},model:{value:e.userName,callback:function(t){e.userName="string"===typeof t?t.trim():t},expression:"userName"}})],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v(e._s(e.$t("roomNum"))+":")]),a("div",{staticClass:"search-item"},[a("el-input",{attrs:{placeholder:e.$t("roomNum"),size:"small",clearable:""},model:{value:e.roomNum,callback:function(t){e.roomNum="string"===typeof t?t.trim():t},expression:"roomNum"}})],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v(e._s(e.$t("phone"))+":")]),a("div",{staticClass:"search-item"},[a("el-input",{attrs:{placeholder:e.$t("shoujihaochaxun"),size:"small",clearable:""},model:{value:e.phone,callback:function(t){e.phone="string"===typeof t?t.trim():t},expression:"phone"}})],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v(e._s(e.$t("hot"))+":")]),a("div",{staticClass:"search-item"},[a("el-select",{attrs:{placeholder:e.$t("qxuanze"),size:"small",clearable:""},model:{value:e.hotAnchor1,callback:function(t){e.hotAnchor1=t},expression:"hotAnchor1"}},[a("el-option",{attrs:{value:"0",label:e.$t("isForce0")}}),a("el-option",{attrs:{value:"1",label:e.$t("isForce1")}})],1)],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v(e._s(e.$t("yonghuleixing"))+":")]),a("div",{staticClass:"search-item"},[a("el-select",{attrs:{placeholder:e.$t("qxuanze"),size:"small",clearable:""},model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},[a("el-option",{attrs:{value:"",label:e.$t("all")}}),a("el-option",{attrs:{value:"0",label:e.$t("user1")}}),a("el-option",{attrs:{value:"1",label:e.$t("user2")}}),a("el-option",{attrs:{value:"2",label:e.$t("user3")}})],1)],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"}),a("div",{staticClass:"search-bg",on:{click:function(t){return e.getInfo(!0)}}},[a("div"),e._v(" "+e._s(e.$t("chaxun"))+" ")])]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"}),a("div",{staticClass:"add-bg",on:{click:e.add}},[e._m(0),e._v(" "+e._s(e.$t("xinzeng"))+" ")])]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"}),a("div",{staticClass:"add-bg",on:{click:e.exportExcel}},[e._m(1),e._v(" "+e._s(e.$t("daochu"))+" ")])])]),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:e.tableData,"max-height":e.tableHeight,"header-cell-class-name":"table-header"}},[a("el-table-column",{attrs:{fixed:"",t:"",label:e.$t("xuhao"),align:"center",width:"70"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.$index+10*(e.currents.currentPage-1)+1)+" ")]}}])}),a("el-table-column",{attrs:{label:e.$t("touxiangtupian")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.avatarUrl?a("div",[a("div",{staticClass:"swiper-slide",style:{"background-image":"url("+t.row.avatarUrl+")"}})]):e._e()]}}])}),a("el-table-column",{attrs:{prop:"userName",label:e.$t("nicheng")}}),a("el-table-column",{attrs:{label:e.$t("roomNum"),prop:"roomNum",align:"center"}}),a("el-table-column",{attrs:{prop:"gold",label:e.$t("jinbi")}}),a("el-table-column",{attrs:{label:e.$t("sex"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[2===t.row.sex?a("span",{staticClass:"c-green"},[e._v(e._s(e.$t("sex3")))]):e._e(),1===t.row.sex?a("span",{staticClass:"c-green"},[e._v(e._s(e.$t("sex2")))]):e._e(),0===t.row.sex?a("span",{staticClass:"c-red"},[e._v(e._s(e.$t("sex1")))]):e._e()]}}])}),a("el-table-column",{attrs:{prop:"phone",label:e.$t("phone"),width:"150"}}),a("el-table-column",{attrs:{label:e.$t("type"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[0===t.row.type?a("span",[e._v(e._s(e.$t("user1")))]):e._e(),1===t.row.type?a("span",[e._v(e._s(e.$t("user2")))]):e._e(),2===t.row.type?a("span",[e._v(e._s(e.$t("user3")))]):e._e()]}}])}),a("el-table-column",{attrs:{label:e.$t("tuijianma"),prop:"agentCode",align:"center"}}),a("el-table-column",{attrs:{label:e.$t("huanxinid"),prop:"huanXinId",align:"center",width:"250"}}),a("el-table-column",{attrs:{label:e.$t("shangjituijianma"),prop:"fatherCode",align:"center",width:"100"}}),a("el-table-column",{attrs:{label:e.$t("hotAnchor"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[0===t.row.hotAnchor?a("span",[e._v(e._s(e.$t("isForce0")))]):e._e(),1===t.row.hotAnchor?a("span",[e._v(e._s(e.$t("isForce1")))]):e._e()]}}])}),a("el-table-column",{attrs:{label:e.$t("hotNum"),prop:"hotNum",align:"center"}}),a("el-table-column",{attrs:{label:e.$t("fakeFollow"),prop:"fakeFollow",align:"center",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.fakeFollow))])]}}])}),a("el-table-column",{attrs:{label:e.$t("fensirenshu"),prop:"follows",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.followsClick(t.row)}}},[e._v(e._s(t.row.follows-t.row.fakeFollow))])]}}])}),a("el-table-column",{attrs:{label:e.$t("time2"),width:"200",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.createTime))])]}}])}),a("el-table-column",{attrs:{label:e.$t("laiyuanyuming"),prop:"originDomain",align:"center",width:"150"}}),a("el-table-column",{attrs:{label:e.$t("zhongduan"),prop:"client",align:"center"}}),a("el-table-column",{attrs:{label:e.$t("qudao"),width:"200",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e.getItemLabel(t.row.channel)))])]}}])}),a("el-table-column",{attrs:{label:e.$t("dengluip"),width:"150",prop:"registerIp",align:"center"}}),a("el-table-column",{attrs:{label:e.$t("time1"),width:"200",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.lastLoginTime))])]}}])}),a("el-table-column",{attrs:{fixed:"right",width:"260"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"fx cursor"},[a("div",{staticClass:"search-bg",staticStyle:{width:"120px"},on:{click:function(a){return e.update(t.row)}}},[a("p",[a("i",{staticClass:"el-icon-edit mr-10"})]),e._v(" "+e._s(e.$t("bianji"))+" ")]),a("div",{staticClass:"add-bg ml-10",staticStyle:{width:"120px"},on:{click:function(a){return e.detele(t.row.id)}}},[a("div",[a("i",{staticClass:"el-icon-delete"})]),e._v(e._s(e.$t("shanchu"))+" ")])]),a("div",{staticClass:"fx cursor mt-10"},[0===t.row.type||1===t.row.type?a("div",{staticClass:"add-bg",staticStyle:{width:"120px"},on:{click:function(a){return e.resetPwd(t.row)}}},[a("p",[a("i",{staticClass:"el-icon-refresh mr-10"})]),e._v(" "+e._s(e.$t("chongzhimima"))+" ")]):e._e(),0===t.row.huanXinStatus?a("div",{staticClass:"add-bg ml-10",staticStyle:{width:"120px"},on:{click:function(a){return e.addBlackList(t.row.registerIp)}}},[e._v(" "+e._s(e.$t("laruipheimingdan"))+" ")]):e._e(),1===t.row.huanXinStatus?a("div",{staticClass:"search-bg ml-10",staticStyle:{width:"120px","background-color":"#C0C4CC !important"},on:{click:function(a){return e.removeBlackByUser(t.row.id)}}},[a("p",[e._v(e._s(e.$t("lachuheimingdan")))])]):e._e()])]}}])})],1),a("el-pagination",{staticClass:"pagination",attrs:{background:"","hide-on-single-page":!0,"current-page":e.currents.currentPage,"page-size":10,layout:"total, prev, pager, next, jumper",total:e.currents.currentTotal},on:{"current-change":e.handleCurrentChange}}),a("el-dialog",{attrs:{title:e.$t("yonghuguanli"),visible:e.dialogFormVisible,width:"490px"},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[a("el-form",{ref:"editform",attrs:{rules:e.rules1,model:e.form1}},[a("el-form-item",{attrs:{label:e.$t("yonghutouxiang"),"label-width":"160px",prop:"userCover"}},[a("img",{attrs:{src:e.userCover,width:"100px"}}),a("div",[a("el-upload",{staticClass:"upload-demo",attrs:{action:"/sequoiaBack/file/fileUpload","on-remove":e.handleRemove,"on-change":e.handleChange,"file-list":e.fileList,headers:e.headers,"list-type":"picture"}},[a("el-button",{attrs:{size:"small",type:"primary"}},[e._v(e._s(e.$t("dianjishangc")))])],1)],1)]),a("el-form-item",{attrs:{label:e.$t("nicheng"),"label-width":"160px",prop:"nickName"}},[a("el-input",{staticStyle:{width:"200px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.nickName,callback:function(t){e.nickName=t},expression:"nickName"}})],1),1==e.userType?a("el-form-item",{attrs:{label:e.$t("hotAnchor"),"label-width":"160px",prop:"hotAnchor"}},[a("el-radio",{attrs:{label:0},model:{value:e.hotAnchor,callback:function(t){e.hotAnchor=t},expression:"hotAnchor"}},[e._v(e._s(e.$t("isForce0")))]),a("el-radio",{attrs:{label:1},model:{value:e.hotAnchor,callback:function(t){e.hotAnchor=t},expression:"hotAnchor"}},[e._v(e._s(e.$t("isForce1")))])],1):e._e(),a("el-form-item",{attrs:{label:e.$t("fakeFollow"),"label-width":"160px",prop:"fakeFollow"}},[a("el-input",{staticStyle:{width:"200px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.fakeFollow,callback:function(t){e.fakeFollow=t},expression:"fakeFollow"}})],1),1==e.userType?a("el-form-item",{attrs:{label:e.$t("showHome"),"label-width":"160px",prop:"showHome"}},[a("el-radio",{attrs:{label:0},model:{value:e.showHome,callback:function(t){e.showHome=t},expression:"showHome"}},[e._v(e._s(e.$t("isForce0")))]),a("el-radio",{attrs:{label:1},model:{value:e.showHome,callback:function(t){e.showHome=t},expression:"showHome"}},[e._v(e._s(e.$t("isForce1")))])],1):e._e(),1==e.userType?a("el-form-item",{attrs:{label:e.$t("recommend"),"label-width":"160px",prop:"recommend"}},[a("el-radio",{attrs:{label:0},model:{value:e.recommend,callback:function(t){e.recommend=t},expression:"recommend"}},[e._v(e._s(e.$t("isForce0")))]),a("el-radio",{attrs:{label:1},model:{value:e.recommend,callback:function(t){e.recommend=t},expression:"recommend"}},[e._v(e._s(e.$t("isForce1")))])],1):e._e(),1==e.userType?a("el-form-item",{attrs:{label:e.$t("hotNum"),"label-width":"160px",prop:"hotNum"}},[a("el-input",{staticStyle:{width:"200px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.hotNum,callback:function(t){e.hotNum=e._n(t)},expression:"hotNum"}})],1):e._e(),1==e.userType?a("el-form-item",{attrs:{label:e.$t("roomHotInitial"),"label-width":"160px",prop:"roomHotInitial"}},[a("el-input",{staticStyle:{width:"200px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.roomHotInitial,callback:function(t){e.roomHotInitial=e._n(t)},expression:"roomHotInitial"}})],1):e._e(),1==e.userType?a("el-form-item",{attrs:{label:e.$t("zhubomiaoshu"),"label-width":"160px",prop:"desc"}},[a("el-input",{staticStyle:{width:"200px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.desc,callback:function(t){e.desc=t},expression:"desc"}})],1):e._e()],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.clear}},[e._v(e._s(e.$t("quxiao")))]),a("el-button",{attrs:{type:"primary"},on:{click:e.updateSumbit}},[e._v(e._s(e.$t("queding")))])],1)],1),a("el-dialog",{attrs:{title:e.$t("zhuboxinxi"),visible:e.dialogFormVisible1,width:"490px"},on:{"update:visible":function(t){e.dialogFormVisible1=t}}},[a("el-form",{ref:"addform",attrs:{model:e.form,rules:e.rules1}},[a("el-form-item",{attrs:{label:e.$t("zhubonc"),"label-width":"160px",prop:"nickName"}},[a("el-input",{staticStyle:{width:"200px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.form.nickName,callback:function(t){e.$set(e.form,"nickName",t)},expression:"form.nickName"}})],1),a("el-form-item",{attrs:{label:e.$t("dlzhanghao"),"label-width":"160px",prop:"phone"}},[a("el-input",{staticStyle:{width:"200px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.form.phone,callback:function(t){e.$set(e.form,"phone",t)},expression:"form.phone"}})],1),a("el-form-item",{attrs:{label:e.$t("pwd"),"label-width":"160px",prop:"pwd"}},[a("el-input",{staticStyle:{width:"200px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.form.pwd,callback:function(t){e.$set(e.form,"pwd",t)},expression:"form.pwd"}})],1),a("el-form-item",{attrs:{label:e.$t("role"),"label-width":"160px",prop:"role"}},[a("el-radio",{attrs:{label:0},model:{value:e.form.role,callback:function(t){e.$set(e.form,"role",t)},expression:"form.role"}},[e._v(e._s(e.$t("role1")))]),a("el-radio",{attrs:{label:2},model:{value:e.form.role,callback:function(t){e.$set(e.form,"role",t)},expression:"form.role"}},[e._v(e._s(e.$t("role2")))])],1),a("el-form-item",{attrs:{label:e.$t("sex"),"label-width":"160px",prop:"zbsex"}},[a("el-radio",{attrs:{label:0},model:{value:e.form.sex,callback:function(t){e.$set(e.form,"sex",t)},expression:"form.sex"}},[e._v(e._s(e.$t("sex1")))]),a("el-radio",{attrs:{label:1},model:{value:e.form.sex,callback:function(t){e.$set(e.form,"sex",t)},expression:"form.sex"}},[e._v(e._s(e.$t("sex2")))]),a("el-radio",{attrs:{label:2},model:{value:e.form.sex,callback:function(t){e.$set(e.form,"sex",t)},expression:"form.sex"}},[e._v(e._s(e.$t("sex3")))])],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.clear}},[e._v(e._s(e.$t("quxiao")))]),a("el-button",{attrs:{type:"primary"},on:{click:e.addSumbit}},[e._v(e._s(e.$t("queding")))])],1)],1),a("el-dialog",{attrs:{title:e.$t("anchorUsersList"),visible:e.dialogTableVisible2},on:{"update:visible":function(t){e.dialogTableVisible2=t}}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.anchorUsersList,"header-cell-class-name":"bg-f5"}},[a("el-table-column",{attrs:{fixed:"",type:"index",label:e.$t("xuhao"),align:"center",width:"50"}}),a("el-table-column",{attrs:{label:e.$t("touxiangtupian"),width:"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.userAvatar?a("div",[a("div",{staticClass:"swiper-slide",style:{"background-image":"url("+t.row.userAvatar+")"}})]):e._e()]}}])}),a("el-table-column",{attrs:{prop:"userName",label:e.$t("nicheng")}})],1),a("el-pagination",{staticClass:"pagination",attrs:{background:"","hide-on-single-page":!0,"current-page":e.anchorPageOption.pageNo,"page-size":6,layout:"total, prev, pager, next, jumper",total:e.anchorPageOption.total},on:{"current-change":e.handleAnchorPageChange}})],1)],1)},s=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("i",{staticClass:"el-icon-plus"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",[a("i",{staticClass:"el-icon-folder-checked mr-10"})])}],o=a("5530"),l=(a("d9e2"),a("d401"),a("4795"),a("4160"),a("d3b7"),a("159b"),a("fb6a"),a("a15b"),a("ac1f"),a("00b4"),a("d81d"),a("6ace")),r=a("c1df"),n=a.n(r),c={name:"index",data:function(){var e=this,t=function(t,a,i){var s=e;if(!a)return i(new Error(s.$t("vipisnull")));setTimeout((function(){a<0?i(new Error(s.$t("qxzvip"))):i()}),1e3)};return{loading:!0,form:{nickName:"",phone:"",pwd:"",role:0,sex:0},form1:{userCover:[],nickName:"",fakeFollow:0},zbnickName:"",zbPhone:"",zbpwd:"",zbrole:0,zbsex:0,userName:"",loginPwd:"",recommend:"",roomNum:"",showHome:"",roomHotInitial:0,goldNumber:0,tableData:[],fileList:[],hotAnchor:0,hotAnchor1:"",sortType:"",hotNum:0,userCover:"",vipLevelList:[],type:"0",isAdd:!1,time:"",phone:"",desc:"",deviceId:"",userType:0,nickName:"",channel:"",channelId:"",currents:{currentPage:1,currentTotal:0},ps:{pageNo:1,pageSize:10},userId:0,channelData:[],fakeFollow:"",dialogFormVisible:!1,dialogFormVisible1:!1,dialogTableVisible2:!1,headers:{token:l["a"].get("token")},rules:{vipid:[{validator:t,trigger:"blur"}]},tableTitleData:[{label:this.$t("yonghunicheng"),prop:"userName"},{label:this.$t("roomNum"),prop:"roomNum"},{label:this.$t("jinbi"),prop:"gold"},{label:this.$t("sex"),prop:"sexName"},{label:this.$t("phone"),prop:"phone"},{label:this.$t("type"),prop:"typeName"},{label:this.$t("tuijianma"),prop:"agentCode"},{label:this.$t("huanxinid"),prop:"huanXinId"},{label:this.$t("shangjituijianma"),prop:"fatherCode"},{label:this.$t("hotAnchor"),prop:"hotAnchor"},{label:this.$t("hotNum"),prop:"hotNum"},{label:this.$t("fakeFollow"),prop:"fakeFollow"},{label:this.$t("guanzhurenshu"),prop:"follows"},{label:this.$t("time2"),prop:"createTime"},{label:this.$t("laiyuanyuming"),prop:"originDomain"},{label:this.$t("zhongduan"),prop:"client"},{label:this.$t("qudao"),prop:"channel"},{label:this.$t("dengluip"),prop:"registerIp"},{label:this.$t("time1"),prop:"lastLoginTime"}],anchorUsersList:[],anchorPageOption:{pageNo:1,total:0},anchorRows:{},tableHeight:0,rules1:{nickName:[{required:!0,message:this.$t("qsrzhubonc"),trigger:"blur"}],pwd:[{required:!0,message:this.$t("qingshurumima"),trigger:"blur"},{validator:this.verificationPwd,message:this.$t("qingshuru616demima"),trigger:"blur"}],role:[{required:!0,message:this.$t("qingshurujuese"),trigger:"blur"}],sex:[{required:!0,message:this.$t("qingshuruxingbie"),trigger:"blur"}]},rules2:{zbnickName:[{required:!0,message:this.$t("qsrzhubonc"),trigger:"blur"}],zbpwd:[{required:!0,message:this.$t("qingshurumima"),trigger:"blur"},{validator:this.verificationPwd,message:this.$t("qingshuru616demima"),trigger:"blur"}],zbrole:[{required:!0,message:this.$t("qingshurujuese"),trigger:"blur"}],zbsex:[{required:!0,message:this.$t("qingshuruxingbie"),trigger:"blur"}]}}},mounted:function(){this.getInfo(),this.getChannelData(),this.calHeight()},methods:{calHeight:function(){var e=this;this.$nextTick((function(){var t=e.$refs.container.getBoundingClientRect();e.tableHeight=t.height-250}))},followsClick:function(e){var t=this;this.getAnchorUserList(e,1).then((function(a){t.dialogTableVisible2=!0,t.anchorRows=e}))},getAnchorUserList:function(e,t){var a=this,i={anchorId:e.id,pageNum:t,pageSize:6};return this.$axios("post","/backUser/backGetAnchorUsers",i).then((function(e){200===e.code&&(a.anchorUsersList=e.data.dataList,a.anchorPageOption={pageNo:t,total:e.data.countSize})}))},getChannelData:function(){var e=this,t={pageNum:1,pageSize:50};this.$axios("post","/channelBack/getChannelList",t).then((function(t){200===t.code&&(e.channelData=t.data.dataList)}))},getItemLabel:function(e){var t;return this.channelData.forEach((function(a){a.channelCode==e&&(t=a.channelName)})),t},resetPwd:function(e){var t=this,a=this;this.$confirm(a.$t("chongzhimimashifoujixu")+"?",a.$t("tishi"),{confirmButtonText:a.$t("queding"),cancelButtonText:a.$t("quxiao"),type:"warning"}).then((function(){console.log("row==",e);var i={avatarUrl:e.avatarUrl,id:e.id,hotAnchor:e.hotAnchor,nickName:e.nickName,hotNum:e.hotNum,desc:e.desc,fakeFollow:e.fakeFollow,recommend:e.recommend,loginPwd:"aa123456",showHome:e.showHome,roomHotInitial:e.roomHotInitial};t.$axios("post","/backUser/editUserInfo",i).then((function(e){200===e.code&&(t.getInfo(),t.clear(),t.$message({type:"success",message:a.$t("chongzhichenggong")+"!"}))}))}))["catch"]((function(){t.$message({type:"info",message:a.$t("yiquxiaochongzhi")})}))},add:function(){this.clear(),this.dialogFormVisible1=!0},clear:function(){this.userId=0,this.fileList=[],this.userCover="",this.zbnickName="",this.zbPhone="",this.zbpwd="",this.zbrole=0,this.zbsex=0,this.dialogFormVisible=!1,this.dialogFormVisible1=!1},update:function(e){this.userId=e.id,this.userCover=e.avatarUrl,this.hotAnchor=e.hotAnchor,this.userType=e.type,this.nickName=e.userName,this.loginPwd=e.loginPwd,this.hotNum=e.hotNum,this.fakeFollow=e.fakeFollow,this.desc=e.desc,this.isAdd=!1,this.dialogFormVisible=!0,this.recommend=e.recommend,this.showHome=e.showHome,this.roomHotInitial=e.roomHotInitial},handleChange:function(e,t){this.fileList=t.slice(-1)},handleRemove:function(e,t){console.log(e,t)},detele:function(e){var t=this,a=this;this.$confirm(a.$t("shanchutxt"),a.$t("tishi"),{confirmButtonText:a.$t("queding"),cancelButtonText:a.$t("quxiao"),type:"warning"}).then((function(){var i={id:e};t.$axios("post","/backUser/delUserById",i).then((function(e){200===e.code?(t.$message({type:"success",message:a.$t("shanchuchenggong")+"!"}),t.getInfo()):t.$message({type:"warning",message:e.code})}))}))["catch"]((function(){t.$message({type:"info",message:a.$t("yiquxiaoshanchu")})}))},addBlackList:function(e){var t=this,a=this,i={ip:e};this.$axios("post","/V1/black/addBlackList",i).then((function(e){200===e.code?(t.$message({type:"success",message:a.$t("chenggonglaruheimingdan")}),t.getInfo()):t.$message({type:"warning",message:e.msg})}))},removeBlackByUser:function(e){var t=this,a=this,i={id:e};this.$axios("post","/V1/black/removeBlackByUser",i).then((function(e){200===e.code?(t.$message({type:"success",message:a.$t("chenggonglachuheimingdan")}),t.getInfo()):t.$message({type:"warning",message:e.msg})}))},getInfo:function(e){var t=this;this.loading=!0;var a="",i="";this.time&&(a=n()(this.time).format("YYYY-MM-DD 00:00:00"),i=n()(this.time).format("YYYY-MM-DD 23:59:59")),e&&(this.ps.pageNo=1);var s={id:"",channel:this.channel,pageNum:this.ps.pageNo,pageSize:this.ps.pageSize,hotAnchor:this.hotAnchor1,sortType:this.sortType,userName:this.userName,type:this.type,phone:this.phone,roomNum:this.roomNum,registerStartTime:a,registerEndTime:i};this.$axios("post","/backUser/backGetUserList",s).then((function(e){200===e.code&&(t.tableData=e.data.dataList,t.currents.currentTotal=e.data.countSize,t.currents.currentPage=e.data.pageNo,t.loading=!1)}))},handleSizeChange:function(e){this.ps.pageSize=e,this.getInfo()},handleCurrentChange:function(e){this.ps.pageNo=e,this.getInfo()},handleAnchorPageChange:function(e){this.getAnchorUserList(this.anchorRows,e)},updateSumbit:function(){var e=this,t="";if(0!==this.fileList.length){for(var a=[],i=0;i<this.fileList.length;i++)a.push(this.fileList[i].response.data.imageUrl);t=a.join(",")}else t=this.userCover;var s={avatarUrl:t,id:this.userId,hotAnchor:this.hotAnchor,nickName:this.nickName,hotNum:this.hotNum,desc:this.desc,fakeFollow:this.fakeFollow,recommend:this.recommend,loginPwd:this.loginPwd,showHome:this.showHome,roomHotInitial:this.roomHotInitial};this.$axios("post","/backUser/editUserInfo",s).then((function(t){200===t.code?(e.getInfo(),e.clear()):e.$message({type:"warning",message:t.msg})}))},verificationPhone:function(e,t,a){var i=this,s=/^[1][3,4,5,6,7,8,9][0-9]{9}$/;""===t?a(i.$t("qingshurushoujihao")):s.test(t)?a():a(i.$t("phoneErro"))},verificationPwd:function(e,t,a){var i=this;""===t?a(i.$t("mimabkwk")):t.length>=6&&t.length<16?a():a(i.$t("qsrmima"))},addSumbit:function(){var e=this;this.$refs["addform"].validate((function(t){if(!t)return!1;e.$axios("post","/backUser/createAccount",Object(o["a"])(Object(o["a"])({},e.form),{},{type:1})).then((function(t){200===t.code?(e.getInfo(),e.clear()):e.$message({type:"warning",message:t.msg})}))}))},exportExcel:function(){var e=this,t=this,a="",i="";""!==this.time&&(a=n()(this.time).format("YYYY-MM-DD 00:00:00"),i=n()(this.time).format("YYYY-MM-DD 23:59:59"));var s={channel:this.channel,pageNum:1,pageSize:3e3,hotAnchor:this.hotAnchor1,sortType:this.sortType,userName:this.userName,type:this.type,phone:this.phone,roomNum:this.roomNum,registerStartTime:a,registerEndTime:i};this.$axios("post","/backUser/backGetUserList",s).then((function(a){if(200===a.code)if(0!==a.data.length){var i=a.data.dataList.map((function(a){return Object(o["a"])(Object(o["a"])({},a),{},{sexName:"0"==a.sex?t.$t("sex1"):"1"==a.sex?t.$t("sex2"):t.$t("sex3"),typeName:"0"==a.type?t.$t("user1"):"1"==a.type?t.$t("user2"):t.$t("user3"),hotAnchor:"1"==a.hotAnchor?t.$t("isForce1"):t.$t("isForce0"),channel:e.getItemLabel(a.channel)})}));e.handleDownloadData(i)}else e.$message({type:"warning",message:t.$t("zanwushuju")+"!"})}))},handleDownloadData:function(e){for(var t=this,i=this.tableTitleData,s=[],o=[],l=0;l<i.length;l++)s[l]=i[l].label,o[l]=i[l].prop;Promise.all([a.e("chunk-53c2e84c"),a.e("chunk-3a6718b5"),a.e("chunk-b241d8c8")]).then(function(){var i=a("4bf8"),l=i.export_json_to_excel,r=s,n=o,c=t.formatJson(n,e);l(r,c,"用户信息")}.bind(null,a)).catch(a.oe)},formatJson:function(e,t){return t.map((function(t){return e.map((function(e){return t[e]}))}))}}},h=c,u=(a("04d3"),a("2877")),m=Object(u["a"])(h,i,s,!1,null,null,null);t["default"]=m.exports},fb6a:function(e,t,a){"use strict";var i=a("23e7"),s=a("da84"),o=a("e8b5"),l=a("68ee"),r=a("861d"),n=a("23cb"),c=a("07fa"),h=a("fc6a"),u=a("8418"),m=a("b622"),d=a("1dde"),p=a("f36a"),g=d("slice"),f=m("species"),b=s.Array,v=Math.max;i({target:"Array",proto:!0,forced:!g},{slice:function(e,t){var a,i,s,m=h(this),d=c(m),g=n(e,d),$=n(void 0===t?d:t,d);if(o(m)&&(a=m.constructor,l(a)&&(a===b||o(a.prototype))?a=void 0:r(a)&&(a=a[f],null===a&&(a=void 0)),a===b||void 0===a))return p(m,g,$);for(i=new(void 0===a?b:a)(v($-g,0)),s=0;g<$;g++,s++)g in m&&u(i,s,m[g]);return i.length=s,i}})}}]); (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9a1477aa"],{"00b4":function(e,t,a){"use strict";a("ac1f");var i=a("23e7"),s=a("da84"),o=a("c65b"),l=a("e330"),r=a("1626"),n=a("861d"),c=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),h=s.Error,u=l(/./.test);i({target:"RegExp",proto:!0,forced:!c},{test:function(e){var t=this.exec;if(!r(t))return u(this,e);var a=o(t,this,e);if(null!==a&&!n(a))throw new h("RegExp exec method returned something other than an Object or null");return!!a}})},"04d3":function(e,t,a){"use strict";a("4f61")},4795:function(e,t,a){var i=a("23e7"),s=a("da84"),o=a("2ba4"),l=a("1626"),r=a("342f"),n=a("f36a"),c=/MSIE .\./.test(r),h=s.Function,u=function(e){return function(t,a){var i=arguments.length>2,s=i?n(arguments,2):void 0;return e(i?function(){o(l(t)?t:h(t),this,s)}:t,a)}};i({global:!0,bind:!0,forced:c},{setTimeout:u(s.setTimeout),setInterval:u(s.setInterval)})},"4f61":function(e,t,a){},a15b:function(e,t,a){"use strict";var i=a("23e7"),s=a("e330"),o=a("44ad"),l=a("fc6a"),r=a("a640"),n=s([].join),c=o!=Object,h=r("join",",");i({target:"Array",proto:!0,forced:c||!h},{join:function(e){return n(l(this),void 0===e?",":e)}})},d81d:function(e,t,a){"use strict";var i=a("23e7"),s=a("b727").map,o=a("1dde"),l=o("map");i({target:"Array",proto:!0,forced:!l},{map:function(e){return s(this,e,arguments.length>1?arguments[1]:void 0)}})},f5b8:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{ref:"container",staticClass:"info-table"},[a("div",{staticClass:"fx align-items justify-between mt-15 mb-15 ml-10 mr-10"},[a("page-title",{attrs:{name:e.$t("hyxinxi")}})],1),a("div",{staticClass:"fx align-items mt-15 mb-15 ml-10 mr-10"},[a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v(e._s(e.$t("shijiantype"))+":")]),a("div",{staticClass:"search-item"},[a("el-select",{attrs:{placeholder:e.$t("shijiantype"),size:"small",clearable:""},model:{value:e.sortType,callback:function(t){e.sortType=t},expression:"sortType"}},[a("el-option",{attrs:{value:"0",label:e.$t("time1")}}),a("el-option",{attrs:{value:"1",label:e.$t("time2")}})],1)],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v(e._s(e.$t("time"))+":")]),a("div",{staticClass:"search-item"},[a("el-date-picker",{attrs:{type:"date",size:"small",placeholder:e.$t("xzrq")},model:{value:e.time,callback:function(t){e.time=t},expression:"time"}},[e._v(' style="width:150px" >')])],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v(e._s(e.$t("yonghunicheng"))+":")]),a("div",{staticClass:"search-item"},[a("el-input",{attrs:{placeholder:e.$t("yonghunicheng"),size:"small",clearable:""},model:{value:e.userName,callback:function(t){e.userName="string"===typeof t?t.trim():t},expression:"userName"}})],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v(e._s(e.$t("roomNum"))+":")]),a("div",{staticClass:"search-item"},[a("el-input",{attrs:{placeholder:e.$t("roomNum"),size:"small",clearable:""},model:{value:e.roomNum,callback:function(t){e.roomNum="string"===typeof t?t.trim():t},expression:"roomNum"}})],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v(e._s(e.$t("phone"))+":")]),a("div",{staticClass:"search-item"},[a("el-input",{attrs:{placeholder:e.$t("shoujihaochaxun"),size:"small",clearable:""},model:{value:e.phone,callback:function(t){e.phone="string"===typeof t?t.trim():t},expression:"phone"}})],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v(e._s(e.$t("hot"))+":")]),a("div",{staticClass:"search-item"},[a("el-select",{attrs:{placeholder:e.$t("qxuanze"),size:"small",clearable:""},model:{value:e.hotAnchor1,callback:function(t){e.hotAnchor1=t},expression:"hotAnchor1"}},[a("el-option",{attrs:{value:"0",label:e.$t("isForce0")}}),a("el-option",{attrs:{value:"1",label:e.$t("isForce1")}})],1)],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v(e._s(e.$t("yonghuleixing"))+":")]),a("div",{staticClass:"search-item"},[a("el-select",{attrs:{placeholder:e.$t("qxuanze"),size:"small",clearable:""},model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},[a("el-option",{attrs:{value:"",label:e.$t("all")}}),a("el-option",{attrs:{value:"0",label:e.$t("user1")}}),a("el-option",{attrs:{value:"1",label:e.$t("user2")}}),a("el-option",{attrs:{value:"2",label:e.$t("user3")}})],1)],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"}),a("div",{staticClass:"search-bg",on:{click:function(t){return e.getInfo(!0)}}},[a("div"),e._v(" "+e._s(e.$t("chaxun"))+" ")])]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"}),a("div",{staticClass:"add-bg",on:{click:e.add}},[e._m(0),e._v(" "+e._s(e.$t("xinzeng"))+" ")])]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"}),a("div",{staticClass:"add-bg",on:{click:e.exportExcel}},[e._m(1),e._v(" "+e._s(e.$t("daochu"))+" ")])])]),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:e.tableData,"max-height":e.tableHeight,"header-cell-class-name":"table-header"}},[a("el-table-column",{attrs:{fixed:"",t:"",label:e.$t("xuhao"),align:"center",width:"70"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.$index+10*(e.currents.currentPage-1)+1)+" ")]}}])}),a("el-table-column",{attrs:{label:e.$t("touxiangtupian")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.avatarUrl?a("div",[a("div",{staticClass:"swiper-slide",style:{"background-image":"url("+t.row.avatarUrl+")"}})]):e._e()]}}])}),a("el-table-column",{attrs:{prop:"userName",label:e.$t("nicheng")}}),a("el-table-column",{attrs:{label:e.$t("roomNum"),prop:"roomNum",align:"center"}}),a("el-table-column",{attrs:{prop:"gold",label:e.$t("jinbi")}}),a("el-table-column",{attrs:{label:e.$t("sex"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[2===t.row.sex?a("span",{staticClass:"c-green"},[e._v(e._s(e.$t("sex3")))]):e._e(),1===t.row.sex?a("span",{staticClass:"c-green"},[e._v(e._s(e.$t("sex2")))]):e._e(),0===t.row.sex?a("span",{staticClass:"c-red"},[e._v(e._s(e.$t("sex1")))]):e._e()]}}])}),a("el-table-column",{attrs:{prop:"phone",label:e.$t("phone"),width:"150"}}),a("el-table-column",{attrs:{label:e.$t("type"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[0===t.row.type?a("span",[e._v(e._s(e.$t("user1")))]):e._e(),1===t.row.type?a("span",[e._v(e._s(e.$t("user2")))]):e._e(),2===t.row.type?a("span",[e._v(e._s(e.$t("user3")))]):e._e()]}}])}),a("el-table-column",{attrs:{label:e.$t("tuijianma"),prop:"agentCode",align:"center"}}),a("el-table-column",{attrs:{label:e.$t("huanxinid"),prop:"huanXinId",align:"center",width:"250"}}),a("el-table-column",{attrs:{label:e.$t("shangjituijianma"),prop:"fatherCode",align:"center",width:"100"}}),a("el-table-column",{attrs:{label:e.$t("hotAnchor"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[0===t.row.hotAnchor?a("span",[e._v(e._s(e.$t("isForce0")))]):e._e(),1===t.row.hotAnchor?a("span",[e._v(e._s(e.$t("isForce1")))]):e._e()]}}])}),a("el-table-column",{attrs:{label:e.$t("hotNum"),prop:"hotNum",align:"center"}}),a("el-table-column",{attrs:{label:e.$t("fakeFollow"),prop:"fakeFollow",align:"center",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.fakeFollow))])]}}])}),a("el-table-column",{attrs:{label:e.$t("fensirenshu"),prop:"follows",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.followsClick(t.row)}}},[e._v(e._s(t.row.follows-t.row.fakeFollow))])]}}])}),a("el-table-column",{attrs:{label:e.$t("time2"),width:"200",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.createTime))])]}}])}),a("el-table-column",{attrs:{label:e.$t("laiyuanyuming"),prop:"originDomain",align:"center",width:"150"}}),a("el-table-column",{attrs:{label:e.$t("zhongduan"),prop:"client",align:"center"}}),a("el-table-column",{attrs:{label:e.$t("qudao"),width:"200",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e.getItemLabel(t.row.channel)))])]}}])}),a("el-table-column",{attrs:{label:e.$t("dengluip"),width:"150",prop:"registerIp",align:"center"}}),a("el-table-column",{attrs:{label:e.$t("time1"),width:"200",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.lastLoginTime))])]}}])}),a("el-table-column",{attrs:{fixed:"right",width:"260"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"fx cursor"},[a("div",{staticClass:"search-bg",staticStyle:{width:"120px"},on:{click:function(a){return e.update(t.row)}}},[a("p",[a("i",{staticClass:"el-icon-edit mr-10"})]),e._v(" "+e._s(e.$t("bianji"))+" ")]),a("div",{staticClass:"add-bg ml-10",staticStyle:{width:"120px"},on:{click:function(a){return e.detele(t.row.id)}}},[a("div",[a("i",{staticClass:"el-icon-delete"})]),e._v(e._s(e.$t("shanchu"))+" ")])]),a("div",{staticClass:"fx cursor mt-10"},[0===t.row.type||1===t.row.type?a("div",{staticClass:"add-bg",staticStyle:{width:"120px"},on:{click:function(a){return e.resetPwd(t.row)}}},[a("p",[a("i",{staticClass:"el-icon-refresh mr-10"})]),e._v(" "+e._s(e.$t("chongzhimima"))+" ")]):e._e(),0===t.row.huanXinStatus?a("div",{staticClass:"add-bg ml-10",staticStyle:{width:"120px"},on:{click:function(a){return e.addBlackList(t.row.registerIp)}}},[e._v(" "+e._s(e.$t("laruipheimingdan"))+" ")]):e._e(),1===t.row.huanXinStatus?a("div",{staticClass:"search-bg ml-10",staticStyle:{width:"120px","background-color":"#C0C4CC !important"},on:{click:function(a){return e.removeBlackByUser(t.row.id)}}},[a("p",[e._v(e._s(e.$t("lachuheimingdan")))])]):e._e()])]}}])})],1),a("el-pagination",{staticClass:"pagination",attrs:{background:"","hide-on-single-page":!0,"current-page":e.currents.currentPage,"page-size":10,layout:"total, prev, pager, next, jumper",total:e.currents.currentTotal},on:{"current-change":e.handleCurrentChange}}),a("el-dialog",{attrs:{title:e.$t("yonghuguanli"),visible:e.dialogFormVisible,width:"490px"},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[a("el-form",{ref:"editform",attrs:{rules:e.rules1,model:e.form1}},[a("el-form-item",{attrs:{label:e.$t("yonghutouxiang"),"label-width":"160px",prop:"userCover"}},[a("img",{attrs:{src:e.userCover,width:"100px"}}),a("div",[a("el-upload",{staticClass:"upload-demo",attrs:{action:"/sequoiaBack/file/fileUpload","on-remove":e.handleRemove,"on-change":e.handleChange,"file-list":e.fileList,headers:e.headers,"list-type":"picture"}},[a("el-button",{attrs:{size:"small",type:"primary"}},[e._v(e._s(e.$t("dianjishangc")))])],1)],1)]),a("el-form-item",{attrs:{label:e.$t("nicheng"),"label-width":"160px",prop:"nickName"}},[a("el-input",{staticStyle:{width:"200px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.nickName,callback:function(t){e.nickName=t},expression:"nickName"}})],1),1==e.userType?a("el-form-item",{attrs:{label:e.$t("hotAnchor"),"label-width":"160px",prop:"hotAnchor"}},[a("el-radio",{attrs:{label:0},model:{value:e.hotAnchor,callback:function(t){e.hotAnchor=t},expression:"hotAnchor"}},[e._v(e._s(e.$t("isForce0")))]),a("el-radio",{attrs:{label:1},model:{value:e.hotAnchor,callback:function(t){e.hotAnchor=t},expression:"hotAnchor"}},[e._v(e._s(e.$t("isForce1")))])],1):e._e(),a("el-form-item",{attrs:{label:e.$t("fakeFollow"),"label-width":"160px",prop:"fakeFollow"}},[a("el-input",{staticStyle:{width:"200px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.fakeFollow,callback:function(t){e.fakeFollow=t},expression:"fakeFollow"}})],1),1==e.userType?a("el-form-item",{attrs:{label:e.$t("showHome"),"label-width":"160px",prop:"showHome"}},[a("el-radio",{attrs:{label:0},model:{value:e.showHome,callback:function(t){e.showHome=t},expression:"showHome"}},[e._v(e._s(e.$t("isForce0")))]),a("el-radio",{attrs:{label:1},model:{value:e.showHome,callback:function(t){e.showHome=t},expression:"showHome"}},[e._v(e._s(e.$t("isForce1")))])],1):e._e(),1==e.userType?a("el-form-item",{attrs:{label:e.$t("recommend"),"label-width":"160px",prop:"recommend"}},[a("el-radio",{attrs:{label:0},model:{value:e.recommend,callback:function(t){e.recommend=t},expression:"recommend"}},[e._v(e._s(e.$t("isForce0")))]),a("el-radio",{attrs:{label:1},model:{value:e.recommend,callback:function(t){e.recommend=t},expression:"recommend"}},[e._v(e._s(e.$t("isForce1")))])],1):e._e(),1==e.userType?a("el-form-item",{attrs:{label:e.$t("hotNum"),"label-width":"160px",prop:"hotNum"}},[a("el-input",{staticStyle:{width:"200px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.hotNum,callback:function(t){e.hotNum=e._n(t)},expression:"hotNum"}})],1):e._e(),1==e.userType?a("el-form-item",{attrs:{label:e.$t("roomHotInitial"),"label-width":"160px",prop:"roomHotInitial"}},[a("el-input",{staticStyle:{width:"200px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.roomHotInitial,callback:function(t){e.roomHotInitial=e._n(t)},expression:"roomHotInitial"}})],1):e._e(),1==e.userType?a("el-form-item",{attrs:{label:e.$t("zhubomiaoshu"),"label-width":"160px",prop:"desc"}},[a("el-input",{staticStyle:{width:"200px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.desc,callback:function(t){e.desc=t},expression:"desc"}})],1):e._e()],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.clear}},[e._v(e._s(e.$t("quxiao")))]),a("el-button",{attrs:{type:"primary"},on:{click:e.updateSumbit}},[e._v(e._s(e.$t("queding")))])],1)],1),a("el-dialog",{attrs:{title:e.$t("zhuboxinxi"),visible:e.dialogFormVisible1,width:"490px"},on:{"update:visible":function(t){e.dialogFormVisible1=t}}},[a("el-form",{ref:"addform",attrs:{model:e.form,rules:e.rules1}},[a("el-form-item",{attrs:{label:e.$t("zhubonc"),"label-width":"160px",prop:"nickName"}},[a("el-input",{staticStyle:{width:"200px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.form.nickName,callback:function(t){e.$set(e.form,"nickName",t)},expression:"form.nickName"}})],1),a("el-form-item",{attrs:{label:e.$t("dlzhanghao"),"label-width":"160px",prop:"phone"}},[a("el-input",{staticStyle:{width:"200px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.form.phone,callback:function(t){e.$set(e.form,"phone",t)},expression:"form.phone"}})],1),a("el-form-item",{attrs:{label:e.$t("pwd"),"label-width":"160px",prop:"pwd"}},[a("el-input",{staticStyle:{width:"200px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.form.pwd,callback:function(t){e.$set(e.form,"pwd",t)},expression:"form.pwd"}})],1),a("el-form-item",{attrs:{label:e.$t("role"),"label-width":"160px",prop:"role"}},[a("el-radio",{attrs:{label:0},model:{value:e.form.role,callback:function(t){e.$set(e.form,"role",t)},expression:"form.role"}},[e._v(e._s(e.$t("role1")))]),a("el-radio",{attrs:{label:2},model:{value:e.form.role,callback:function(t){e.$set(e.form,"role",t)},expression:"form.role"}},[e._v(e._s(e.$t("role2")))])],1),a("el-form-item",{attrs:{label:e.$t("sex"),"label-width":"160px",prop:"zbsex"}},[a("el-radio",{attrs:{label:0},model:{value:e.form.sex,callback:function(t){e.$set(e.form,"sex",t)},expression:"form.sex"}},[e._v(e._s(e.$t("sex1")))]),a("el-radio",{attrs:{label:1},model:{value:e.form.sex,callback:function(t){e.$set(e.form,"sex",t)},expression:"form.sex"}},[e._v(e._s(e.$t("sex2")))]),a("el-radio",{attrs:{label:2},model:{value:e.form.sex,callback:function(t){e.$set(e.form,"sex",t)},expression:"form.sex"}},[e._v(e._s(e.$t("sex3")))])],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.clear}},[e._v(e._s(e.$t("quxiao")))]),a("el-button",{attrs:{type:"primary"},on:{click:e.addSumbit}},[e._v(e._s(e.$t("queding")))])],1)],1),a("el-dialog",{attrs:{title:e.$t("anchorUsersList"),visible:e.dialogTableVisible2},on:{"update:visible":function(t){e.dialogTableVisible2=t}}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.anchorUsersList,"header-cell-class-name":"bg-f5"}},[a("el-table-column",{attrs:{fixed:"",type:"index",label:e.$t("xuhao"),align:"center",width:"50"}}),a("el-table-column",{attrs:{label:e.$t("touxiangtupian"),width:"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.userAvatar?a("div",[a("div",{staticClass:"swiper-slide",style:{"background-image":"url("+t.row.userAvatar+")"}})]):e._e()]}}])}),a("el-table-column",{attrs:{prop:"userName",label:e.$t("nicheng")}})],1),a("el-pagination",{staticClass:"pagination",attrs:{background:"","hide-on-single-page":!0,"current-page":e.anchorPageOption.pageNo,"page-size":6,layout:"total, prev, pager, next, jumper",total:e.anchorPageOption.total},on:{"current-change":e.handleAnchorPageChange}})],1)],1)},s=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("i",{staticClass:"el-icon-plus"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",[a("i",{staticClass:"el-icon-folder-checked mr-10"})])}],o=a("5530"),l=(a("d9e2"),a("d401"),a("4795"),a("4160"),a("d3b7"),a("159b"),a("fb6a"),a("a15b"),a("ac1f"),a("00b4"),a("d81d"),a("6ace")),r=a("c1df"),n=a.n(r),c={name:"index",data:function(){var e=this,t=function(t,a,i){var s=e;if(!a)return i(new Error(s.$t("vipisnull")));setTimeout((function(){a<0?i(new Error(s.$t("qxzvip"))):i()}),1e3)};return{loading:!0,form:{nickName:"",phone:"",pwd:"",role:0,sex:0},form1:{userCover:[],nickName:"",fakeFollow:0},zbnickName:"",zbPhone:"",zbpwd:"",zbrole:0,zbsex:0,userName:"",loginPwd:"",recommend:"",roomNum:"",showHome:"",roomHotInitial:0,goldNumber:0,tableData:[],fileList:[],hotAnchor:0,hotAnchor1:"",sortType:"",hotNum:0,userCover:"",vipLevelList:[],type:"0",isAdd:!1,time:"",phone:"",desc:"",deviceId:"",userType:0,nickName:"",channel:"",channelId:"",currents:{currentPage:1,currentTotal:0},ps:{pageNo:1,pageSize:10},userId:0,channelData:[],fakeFollow:"",dialogFormVisible:!1,dialogFormVisible1:!1,dialogTableVisible2:!1,headers:{token:l["a"].get("token")},rules:{vipid:[{validator:t,trigger:"blur"}]},tableTitleData:[{label:this.$t("yonghunicheng"),prop:"userName"},{label:this.$t("roomNum"),prop:"roomNum"},{label:this.$t("jinbi"),prop:"gold"},{label:this.$t("sex"),prop:"sexName"},{label:this.$t("phone"),prop:"phone"},{label:this.$t("type"),prop:"typeName"},{label:this.$t("tuijianma"),prop:"agentCode"},{label:this.$t("huanxinid"),prop:"huanXinId"},{label:this.$t("shangjituijianma"),prop:"fatherCode"},{label:this.$t("hotAnchor"),prop:"hotAnchor"},{label:this.$t("hotNum"),prop:"hotNum"},{label:this.$t("fakeFollow"),prop:"fakeFollow"},{label:this.$t("guanzhurenshu"),prop:"follows"},{label:this.$t("time2"),prop:"createTime"},{label:this.$t("laiyuanyuming"),prop:"originDomain"},{label:this.$t("zhongduan"),prop:"client"},{label:this.$t("qudao"),prop:"channel"},{label:this.$t("dengluip"),prop:"registerIp"},{label:this.$t("time1"),prop:"lastLoginTime"}],anchorUsersList:[],anchorPageOption:{pageNo:1,total:0},anchorRows:{},tableHeight:0,rules1:{nickName:[{required:!0,message:this.$t("qsrzhubonc"),trigger:"blur"}],pwd:[{required:!0,message:this.$t("qingshurumima"),trigger:"blur"},{validator:this.verificationPwd,message:this.$t("qingshuru616demima"),trigger:"blur"}],role:[{required:!0,message:this.$t("qingshurujuese"),trigger:"blur"}],sex:[{required:!0,message:this.$t("qingshuruxingbie"),trigger:"blur"}]},rules2:{zbnickName:[{required:!0,message:this.$t("qsrzhubonc"),trigger:"blur"}],zbpwd:[{required:!0,message:this.$t("qingshurumima"),trigger:"blur"},{validator:this.verificationPwd,message:this.$t("qingshuru616demima"),trigger:"blur"}],zbrole:[{required:!0,message:this.$t("qingshurujuese"),trigger:"blur"}],zbsex:[{required:!0,message:this.$t("qingshuruxingbie"),trigger:"blur"}]}}},mounted:function(){this.getInfo(),this.getChannelData(),this.calHeight()},methods:{calHeight:function(){var e=this;this.$nextTick((function(){var t=e.$refs.container.getBoundingClientRect();e.tableHeight=t.height-250}))},followsClick:function(e){var t=this;this.getAnchorUserList(e,1).then((function(a){t.dialogTableVisible2=!0,t.anchorRows=e}))},getAnchorUserList:function(e,t){var a=this,i={anchorId:e.id,pageNum:t,pageSize:6};return this.$axios("post","/backUser/backGetAnchorUsers",i).then((function(e){200===e.code&&(a.anchorUsersList=e.data.dataList,a.anchorPageOption={pageNo:t,total:e.data.countSize})}))},getChannelData:function(){var e=this,t={pageNum:1,pageSize:50};this.$axios("post","/channelBack/getChannelList",t).then((function(t){200===t.code&&(e.channelData=t.data.dataList)}))},getItemLabel:function(e){var t;return this.channelData.forEach((function(a){a.channelCode==e&&(t=a.channelName)})),t},resetPwd:function(e){var t=this,a=this;this.$confirm(a.$t("chongzhimimashifoujixu")+"?",a.$t("tishi"),{confirmButtonText:a.$t("queding"),cancelButtonText:a.$t("quxiao"),type:"warning"}).then((function(){console.log("row==",e);var i={avatarUrl:e.avatarUrl,id:e.id,hotAnchor:e.hotAnchor,nickName:e.nickName,hotNum:e.hotNum,desc:e.desc,fakeFollow:e.fakeFollow,recommend:e.recommend,loginPwd:"aa123456",showHome:e.showHome,roomHotInitial:e.roomHotInitial};t.$axios("post","/backUser/editUserInfo",i).then((function(e){200===e.code&&(t.getInfo(),t.clear(),t.$message({type:"success",message:a.$t("chongzhichenggong")+"!"}))}))}))["catch"]((function(){t.$message({type:"info",message:a.$t("yiquxiaochongzhi")})}))},add:function(){this.clear(),this.dialogFormVisible1=!0},clear:function(){this.userId=0,this.fileList=[],this.userCover="",this.zbnickName="",this.zbPhone="",this.zbpwd="",this.zbrole=0,this.zbsex=0,this.dialogFormVisible=!1,this.dialogFormVisible1=!1},update:function(e){this.userId=e.id,this.userCover=e.avatarUrl,this.hotAnchor=e.hotAnchor,this.userType=e.type,this.nickName=e.userName,this.loginPwd=e.loginPwd,this.hotNum=e.hotNum,this.fakeFollow=e.fakeFollow,this.desc=e.desc,this.isAdd=!1,this.dialogFormVisible=!0,this.recommend=e.recommend,this.showHome=e.showHome,this.roomHotInitial=e.roomHotInitial},handleChange:function(e,t){this.fileList=t.slice(-1)},handleRemove:function(e,t){console.log(e,t)},detele:function(e){var t=this,a=this;this.$confirm(a.$t("shanchutxt"),a.$t("tishi"),{confirmButtonText:a.$t("queding"),cancelButtonText:a.$t("quxiao"),type:"warning"}).then((function(){var i={id:e};t.$axios("post","/backUser/delUserById",i).then((function(e){200===e.code?(t.$message({type:"success",message:a.$t("shanchuchenggong")+"!"}),t.getInfo()):t.$message({type:"warning",message:e.code})}))}))["catch"]((function(){t.$message({type:"info",message:a.$t("yiquxiaoshanchu")})}))},addBlackList:function(e){var t=this,a=this,i={ip:e};this.$axios("post","/V1/black/addBlackList",i).then((function(e){200===e.code?(t.$message({type:"success",message:a.$t("chenggonglaruheimingdan")}),t.getInfo()):t.$message({type:"warning",message:e.msg})}))},removeBlackByUser:function(e){var t=this,a=this,i={id:e};this.$axios("post","/V1/black/removeBlackByUser",i).then((function(e){200===e.code?(t.$message({type:"success",message:a.$t("chenggonglachuheimingdan")}),t.getInfo()):t.$message({type:"warning",message:e.msg})}))},getInfo:function(e){var t=this;this.loading=!0;var a="",i="";this.time&&(a=n()(this.time).format("YYYY-MM-DD 00:00:00"),i=n()(this.time).format("YYYY-MM-DD 23:59:59")),e&&(this.ps.pageNo=1);var s={id:"",channel:this.channel,pageNum:this.ps.pageNo,pageSize:this.ps.pageSize,hotAnchor:this.hotAnchor1,sortType:this.sortType,userName:this.userName,type:this.type,phone:this.phone,roomNum:this.roomNum,registerStartTime:a,registerEndTime:i};this.$axios("post","/backUser/backGetUserList",s).then((function(e){200===e.code&&(t.tableData=e.data.dataList,t.currents.currentTotal=e.data.countSize,t.currents.currentPage=e.data.pageNo,t.loading=!1)}))},handleSizeChange:function(e){this.ps.pageSize=e,this.getInfo()},handleCurrentChange:function(e){this.ps.pageNo=e,this.getInfo()},handleAnchorPageChange:function(e){this.getAnchorUserList(this.anchorRows,e)},updateSumbit:function(){var e=this,t="";if(0!==this.fileList.length){for(var a=[],i=0;i<this.fileList.length;i++)a.push(this.fileList[i].response.data.imageUrl);t=a.join(",")}else t=this.userCover;var s={avatarUrl:t,id:this.userId,hotAnchor:this.hotAnchor,nickName:this.nickName,hotNum:this.hotNum,desc:this.desc,fakeFollow:this.fakeFollow,recommend:this.recommend,loginPwd:this.loginPwd,showHome:this.showHome,roomHotInitial:this.roomHotInitial};this.$axios("post","/backUser/editUserInfo",s).then((function(t){200===t.code?(e.getInfo(),e.clear()):e.$message({type:"warning",message:t.msg})}))},verificationPhone:function(e,t,a){var i=this,s=/^[1][3,4,5,6,7,8,9][0-9]{9}$/;""===t?a(i.$t("qingshurushoujihao")):s.test(t)?a():a(i.$t("phoneErro"))},verificationPwd:function(e,t,a){var i=this;""===t?a(i.$t("mimabkwk")):t.length>=6&&t.length<16?a():a(i.$t("qsrmima"))},addSumbit:function(){var e=this;this.$refs["addform"].validate((function(t){if(!t)return!1;e.$axios("post","/backUser/createAccount",Object(o["a"])(Object(o["a"])({},e.form),{},{type:1})).then((function(t){200===t.code?(e.getInfo(),e.clear()):e.$message({type:"warning",message:t.msg})}))}))},exportExcel:function(){var e=this,t=this,a="",i="";""!==this.time&&(a=n()(this.time).format("YYYY-MM-DD 00:00:00"),i=n()(this.time).format("YYYY-MM-DD 23:59:59"));var s={channel:this.channel,pageNum:1,pageSize:1e5,hotAnchor:this.hotAnchor1,sortType:this.sortType,userName:this.userName,type:this.type,phone:this.phone,roomNum:this.roomNum,registerStartTime:a,registerEndTime:i};this.$axios("post","/backUser/backGetUserList",s).then((function(a){if(200===a.code)if(0!==a.data.length){var i=a.data.dataList.map((function(a){return Object(o["a"])(Object(o["a"])({},a),{},{sexName:"0"==a.sex?t.$t("sex1"):"1"==a.sex?t.$t("sex2"):t.$t("sex3"),typeName:"0"==a.type?t.$t("user1"):"1"==a.type?t.$t("user2"):t.$t("user3"),hotAnchor:"1"==a.hotAnchor?t.$t("isForce1"):t.$t("isForce0"),channel:e.getItemLabel(a.channel)})}));e.handleDownloadData(i)}else e.$message({type:"warning",message:t.$t("zanwushuju")+"!"})}))},handleDownloadData:function(e){for(var t=this,i=this.tableTitleData,s=[],o=[],l=0;l<i.length;l++)s[l]=i[l].label,o[l]=i[l].prop;Promise.all([a.e("chunk-53c2e84c"),a.e("chunk-3a6718b5"),a.e("chunk-b241d8c8")]).then(function(){var i=a("4bf8"),l=i.export_json_to_excel,r=s,n=o,c=t.formatJson(n,e);l(r,c,"用户信息")}.bind(null,a)).catch(a.oe)},formatJson:function(e,t){return t.map((function(t){return e.map((function(e){return t[e]}))}))}}},h=c,u=(a("04d3"),a("2877")),m=Object(u["a"])(h,i,s,!1,null,null,null);t["default"]=m.exports},fb6a:function(e,t,a){"use strict";var i=a("23e7"),s=a("da84"),o=a("e8b5"),l=a("68ee"),r=a("861d"),n=a("23cb"),c=a("07fa"),h=a("fc6a"),u=a("8418"),m=a("b622"),d=a("1dde"),p=a("f36a"),g=d("slice"),f=m("species"),b=s.Array,v=Math.max;i({target:"Array",proto:!0,forced:!g},{slice:function(e,t){var a,i,s,m=h(this),d=c(m),g=n(e,d),$=n(void 0===t?d:t,d);if(o(m)&&(a=m.constructor,l(a)&&(a===b||o(a.prototype))?a=void 0:r(a)&&(a=a[f],null===a&&(a=void 0)),a===b||void 0===a))return p(m,g,$);for(i=new(void 0===a?b:a)(v($-g,0)),s=0;g<$;g++,s++)g in m&&u(i,s,m[g]);return i.length=s,i}})}}]);
//# sourceMappingURL=chunk-9a1477aa.2260aa33.js.map //# sourceMappingURL=chunk-9a1477aa.cc314622.js.map
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment