Commit 87ad86df by root

first commit

parent 5a1caeca
<!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-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-1546df8c.36ec63b9.js" rel="prefetch"><link href="/js/chunk-15c290c8.133ba645.js" rel="prefetch"><link href="/js/chunk-1c58100a.a71659cd.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.7e2c55b9.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.7e2c55b9.js"></script></body></html>
\ No newline at end of file
<!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-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-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.92909054.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.92909054.js"></script></body></html>
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1c58100a"],{1276:function(e,t,a){"use strict";var i=a("2ba4"),s=a("c65b"),o=a("e330"),l=a("d784"),r=a("44e7"),n=a("825a"),c=a("1d80"),m=a("4840"),u=a("8aa5"),h=a("50c4"),d=a("577e"),p=a("dc4a"),f=a("4dae"),g=a("14c3"),b=a("9263"),v=a("9f7f"),w=a("d039"),$=v.UNSUPPORTED_Y,x=4294967295,y=Math.min,k=[].push,N=o(/./.exec),_=o(k),C=o("".slice),I=!w((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var a="ab".split(e);return 2!==a.length||"a"!==a[0]||"b"!==a[1]}));l("split",(function(e,t,a){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,a){var o=d(c(this)),l=void 0===a?x:a>>>0;if(0===l)return[];if(void 0===e)return[o];if(!r(e))return s(t,o,e,l);var n,m,u,h=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,v=new RegExp(e.source,p+"g");while(n=s(b,v,o)){if(m=v.lastIndex,m>g&&(_(h,C(o,g,n.index)),n.length>1&&n.index<o.length&&i(k,h,f(n,1)),u=n[0].length,g=m,h.length>=l))break;v.lastIndex===n.index&&v.lastIndex++}return g===o.length?!u&&N(v,"")||_(h,""):_(h,C(o,g)),h.length>l?f(h,0,l):h}:"0".split(void 0,0).length?function(e,a){return void 0===e&&0===a?[]:s(t,this,e,a)}:t,[function(t,a){var i=c(this),l=void 0==t?void 0:p(t,e);return l?s(l,t,i,a):s(o,d(i),t,a)},function(e,i){var s=n(this),l=d(e),r=a(o,s,l,i,o!==t);if(r.done)return r.value;var c=m(s,RegExp),p=s.unicode,f=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+($?"g":"y"),b=new c($?"^(?:"+s.source+")":s,f),v=void 0===i?x:i>>>0;if(0===v)return[];if(0===l.length)return null===g(b,l)?[l]:[];var w=0,k=0,N=[];while(k<l.length){b.lastIndex=$?0:k;var I,z=g(b,$?C(l,k):l);if(null===z||(I=y(h(b.lastIndex+($?k:0)),l.length))===w)k=u(l,k,p);else{if(_(N,C(l,w,k)),N.length===v)return N;for(var S=1;S<=z.length-1;S++)if(_(N,z[S]),N.length===v)return N;k=w=I}}return _(N,C(l,w)),N}]}),!I,$)},"129f":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"3a36":function(e,t,a){"use strict";a("683a")},"683a":function(e,t,a){},"841c":function(e,t,a){"use strict";var i=a("c65b"),s=a("d784"),o=a("825a"),l=a("1d80"),r=a("129f"),n=a("577e"),c=a("dc4a"),m=a("14c3");s("search",(function(e,t,a){return[function(t){var a=l(this),s=void 0==t?void 0:c(t,e);return s?i(s,t,a):new RegExp(t)[e](n(a))},function(e){var i=o(this),s=n(e),l=a(t,i,s);if(l.done)return l.value;var c=i.lastIndex;r(c,0)||(i.lastIndex=0);var u=m(i,s);return r(i.lastIndex,c)||(i.lastIndex=c),null===u?-1:u.index}]}))},8502: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("fjguanli")}})],1),a("div",{staticClass:"fx align-items justify-between 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("recommend1"))+":")]),a("div",{staticClass:"search-item"},[a("el-select",{attrs:{size:"small",clearable:""},model:{value:e.recommend,callback:function(t){e.recommend=t},expression:"recommend"}},[a("el-option",{attrs:{value:"",label:e.$t("all")}}),a("el-option",{attrs:{value:"0",label:e.$t("recommend0")}}),a("el-option",{attrs:{value:"1",label:e.$t("recommend1")}})],1)],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v(e._s(e.$t("xianshizaishouye"))+":")]),a("div",{staticClass:"search-item"},[a("el-select",{attrs:{size:"small",clearable:""},model:{value:e.showHome,callback:function(t){e.showHome=t},expression:"showHome"}},[a("el-option",{attrs:{value:"",label:e.$t("all")}}),a("el-option",{attrs:{value:"0",label:e.$t("isOnline0")}}),a("el-option",{attrs:{value:"1",label:e.$t("isOnline1")}})],1)],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:{size:"small",clearable:""},model:{value:e.showHot,callback:function(t){e.showHot=t},expression:"showHot"}},[a("el-option",{attrs:{value:"",label:e.$t("all")}}),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("living"))+":")]),a("div",{staticClass:"search-item"},[a("el-select",{attrs:{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("buzai")}}),a("el-option",{attrs:{value:"1",label:e.$t("zai")}})],1)],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v(e._s(e.$t("roomname"))+":")]),a("div",{staticClass:"search-item"},[a("el-input",{attrs:{clearable:"",placeholder:e.$t("srfjmc"),size:"small"},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}})],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v(e._s(e.$t("zbname"))+":")]),a("div",{staticClass:"search-item"},[a("el-input",{attrs:{clearable:"",placeholder:e.$t("srzbname"),size:"small"},model:{value:e.anchorName,callback:function(t){e.anchorName=t},expression:"anchorName"}})],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v("ID:")]),a("div",{staticClass:"search-item"},[a("el-input",{attrs:{clearable:"",placeholder:e.$t("shuruid"),size:"small"},model:{value:e.roomNum,callback:function(t){e.roomNum=t},expression:"roomNum"}})],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"}),a("div",{staticClass:"search-bg",on:{click:function(t){return e.getInfo(1)}}},[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("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%","margin-top":"20px"},attrs:{data:e.tableData,"header-cell-class-name":"table-header","max-height":e.tableHeight}},[a("el-table-column",{attrs:{fixed:"",label:e.$t("xuhao"),align:"center",width:"100"},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:{align:"center",prop:"anchorName",label:e.$t("zbname"),fixed:""}}),a("el-table-column",{attrs:{align:"center",width:"200",prop:"huanXinRoomId",label:e.$t("huanXinRoomId")}}),a("el-table-column",{attrs:{align:"center",width:"200",label:e.$t("fangjianming")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{color:"#2897ff",cursor:"pointer"},on:{click:function(a){return e.toPage(t.row.roomNum)}}},[e._v(e._s(t.row.roomName))])]}}])}),a("el-table-column",{attrs:{align:"center",prop:"roomNum",label:e.$t("roomNum")}}),a("el-table-column",{attrs:{label:e.$t("fangjiantupian")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.roomCover?a("div",[a("el-image",{staticStyle:{width:"100px",height:"55px"},attrs:{src:t.row.roomCover,"preview-src-list":[t.row.roomCover]}})],1):e._e()]}}])}),a("el-table-column",{attrs:{align:"center",width:"200",prop:"matchName",label:e.$t("glsaic")}}),a("el-table-column",{attrs:{align:"center",prop:"hotNum",label:e.$t("hotNum")}}),a("el-table-column",{attrs:{align:"center",prop:"announcement",label:e.$t("zbnotice"),width:"150"}}),a("el-table-column",{attrs:{label:e.$t("recommend")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},on:{change:function(a){return e.changeStatus(t.row,"recommend")}},model:{value:t.row.recommend,callback:function(a){e.$set(t.row,"recommend",a)},expression:"scope.row.recommend"}})]}}])}),a("el-table-column",{attrs:{width:"150",align:"center",label:e.$t("showHome")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},on:{change:function(a){return e.changeStatus(t.row,"showHome")}},model:{value:t.row.showHome,callback:function(a){e.$set(t.row,"showHome",a)},expression:"scope.row.showHome"}})]}}])}),a("el-table-column",{attrs:{label:e.$t("hotAnchor")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},on:{change:function(a){return e.changeStatus(t.row,"showHot")}},model:{value:t.row.showHot,callback:function(a){e.$set(t.row,"showHot",a)},expression:"scope.row.showHot"}})]}}])}),a("el-table-column",{attrs:{width:"150",align:"center",label:e.$t("shifouzaizhibo")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},on:{change:function(a){return e.changeStatus(t.row,"type")}},model:{value:t.row.type,callback:function(a){e.$set(t.row,"type",a)},expression:"scope.row.type"}})]}}])}),a("el-table-column",{attrs:{width:"150",align:"center",label:e.$t("enableFakeChat")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},on:{change:function(a){return e.changeStatus(t.row,"type")}},model:{value:t.row.enableFakeChat,callback:function(a){e.$set(t.row,"enableFakeChat",a)},expression:"scope.row.enableFakeChat"}})]}}])}),a("el-table-column",{attrs:{align:"center",prop:"likeNum",label:e.$t("likeNum")}}),a("el-table-column",{attrs:{align:"center",prop:"categoryName",label:e.$t("categoryName")}}),a("el-table-column",{attrs:{align:"center",width:"200",label:e.$t("xianshizhibojian")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.excludeChannelDesc?a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:t.row.excludeChannelDesc.join(","),placement:"top-start"}},[a("div",{staticClass:"text-overflow"},[e._v(e._s(t.row.excludeChannelDesc.join(",")))])]):e._e()]}}])}),a("el-table-column",{attrs:{align:"center",width:"300",label:e.$t("liveUrl")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:t.row.liveUrl,placement:"top-start"}},[a("div",{staticStyle:{"text-align":"left"}},[e._v(e._s(e.getShortUrl(t.row.liveUrl)))])])]}}])}),a("el-table-column",{attrs:{width:"270",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"fx justify-between"},[a("div",{staticClass:"search-bg cursor",staticStyle:{width:"120px"},on:{click:function(a){return e.update(t.row)}}},[e._v(" "+e._s(e.$t("xiugaifjpeizhi"))+" ")]),a("div",{staticClass:"add-bg cursor",staticStyle:{width:"120px"},on:{click:function(a){return e.addRoomHistoryMsg(t.row.huanXinRoomId)}}},[e._v(" "+e._s(e.$t("xzlishixiaoxi"))+" ")])]),a("div",{staticClass:"add-bg mt-10 cursor",staticStyle:{width:"120px"},on:{click:function(a){return e.updateRoomHistoryMsg(t.row.huanXinRoomId)}}},[e._v(" "+e._s(e.$t("xglishixiaoxi"))+" ")])]}}])})],1),a("el-pagination",{staticClass:"pagination",attrs:{background:"","hide-on-single-page":!0,"current-page":e.currents.currentPage,"page-sizes":[10,20,30],"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("fjguanli"),visible:e.dialogFormVisible,width:"50%","destroy-on-close":""},on:{"update:visible":function(t){e.dialogFormVisible=t},close:e.clear}},[a("div",{staticStyle:{height:"50vh","overflow-y":"auto"}},[a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules}},[a("el-form-item",{attrs:{label:e.$t("user2"),"label-width":e.formLabelWidth,prop:"anchorId"}},[e._v(" "+e._s(e.userNames)+" "),e.isAdd?a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.openUser()}}},[e._v(e._s(e.$t("xuanze")))]):e._e()],1),a("el-form-item",{attrs:{label:e.$t("fangjianfengmian"),"label-width":e.formLabelWidth,prop:"roomCover"}},[a("img",{attrs:{src:e.form.roomCover,width:"100px"}}),a("div",[a("el-upload",{staticClass:"upload-demo",attrs:{action:"/sequoiaBack/file/fileUpload","on-remove":e.handleRemove,"on-success":e.handleChange,"file-list":e.fileList,headers:e.headers,"show-file-list":!1,"before-upload":e.beforeAvatarUpload,"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("fangjianming"),"label-width":e.formLabelWidth,prop:"roomName"}},[a("el-input",{staticStyle:{width:"300px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.form.roomName,callback:function(t){e.$set(e.form,"roomName",t)},expression:"form.roomName"}})],1),a("el-form-item",{attrs:{label:e.$t("liveUrl"),"label-width":e.formLabelWidth,prop:"liveUrl"}},[1===e.form.type?a("el-input",{attrs:{clearable:"",type:"textarea",rows:5,disabled:!0},model:{value:e.form.liveUrl,callback:function(t){e.$set(e.form,"liveUrl",t)},expression:"form.liveUrl"}}):e._e(),0===e.form.type?a("el-input",{attrs:{clearable:"",type:"textarea",rows:5},model:{value:e.form.liveUrl,callback:function(t){e.$set(e.form,"liveUrl",t)},expression:"form.liveUrl"}}):e._e()],1),a("el-form-item",{attrs:{label:e.$t("hotNum"),"label-width":e.formLabelWidth,prop:"hotNum"}},[a("el-input",{staticStyle:{width:"300px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.form.hotNum,callback:function(t){e.$set(e.form,"hotNum",e._n(t))},expression:"form.hotNum"}})],1),a("el-form-item",{attrs:{label:e.$t("zbnotice"),"label-width":e.formLabelWidth,prop:"announcement"}},[a("el-input",{staticStyle:{width:"300px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.form.announcement,callback:function(t){e.$set(e.form,"announcement",t)},expression:"form.announcement"}})],1),a("el-form-item",{attrs:{label:e.$t("glsaic"),"label-width":e.formLabelWidth,prop:"matchName"}},[e._v(" "+e._s(e.matchName)+" "),a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.openMatch()}}},[e._v(e._s(e.$t("xuanze")))])],1),a("el-form-item",{attrs:{label:e.$t("categoryName"),"label-width":e.formLabelWidth,prop:"categoryId"}},[a("el-radio",{attrs:{label:0},model:{value:e.form.categoryId,callback:function(t){e.$set(e.form,"categoryId",t)},expression:"form.categoryId"}},[e._v(e._s(e.$t("zuqiu")))]),a("el-radio",{attrs:{label:1},model:{value:e.form.categoryId,callback:function(t){e.$set(e.form,"categoryId",t)},expression:"form.categoryId"}},[e._v(e._s(e.$t("lanqiu")))]),a("el-radio",{attrs:{label:2},model:{value:e.form.categoryId,callback:function(t){e.$set(e.form,"categoryId",t)},expression:"form.categoryId"}},[e._v(e._s(e.$t("qita")))]),a("el-radio",{attrs:{label:3},model:{value:e.form.categoryId,callback:function(t){e.$set(e.form,"categoryId",t)},expression:"form.categoryId"}},[e._v(e._s(e.$t("dianjin")))])],1),a("el-form-item",{attrs:{label:e.$t("shifoukqltjxx"),"label-width":e.formLabelWidth,prop:"enableFakeChat"}},[a("el-radio",{attrs:{label:0},model:{value:e.form.enableFakeChat,callback:function(t){e.$set(e.form,"enableFakeChat",t)},expression:"form.enableFakeChat"}},[e._v(e._s(e.$t("jinyong")))]),a("el-radio",{attrs:{label:1},model:{value:e.form.enableFakeChat,callback:function(t){e.$set(e.form,"enableFakeChat",t)},expression:"form.enableFakeChat"}},[e._v(e._s(e.$t("qiyong")))])],1),a("el-form-item",{attrs:{label:e.$t("xianshizhibojian"),"label-width":e.formLabelWidth,prop:"enableFakeChat"}},[a("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v(e._s(e.$t("quanx")))]),a("div",{staticStyle:{margin:"15px 0"}}),a("el-checkbox-group",{on:{change:e.handleCheckedCitiesChange},model:{value:e.checkedCities,callback:function(t){e.checkedCities=t},expression:"checkedCities"}},e._l(e.channelList,(function(t,i){return a("el-checkbox",{key:i,attrs:{label:t}},[e._v(" "+e._s(e.getItemLabel(t)))])})),1)],1)],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.updateSumbit}},[e._v(e._s(e.$t("queding")))])],1)]),a("el-dialog",{attrs:{title:e.$t("saichengliebiao"),visible:e.dialogFormVisible1,width:"80%"},on:{"update:visible":function(t){e.dialogFormVisible1=t}}},[a("div",{staticClass:"fx align-items fx-end"},[a("div",[e._v(e._s(e.$t("sctime"))+":")]),a("div",{staticClass:"ml-10"},[a("el-date-picker",{attrs:{type:"date",size:"small",placeholder:e.$t("qxzshijian"),clearable:""},model:{value:e.matchDate,callback:function(t){e.matchDate=t},expression:"matchDate"}})],1),a("div",{staticClass:"ml-10"},[e._v(e._s(e.$t("dwmc"))+":")]),a("div",[a("el-input",{attrs:{clearable:"",placeholder:e.$t("srdwmc"),size:"small"},model:{value:e.teamName,callback:function(t){e.teamName=t},expression:"teamName"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),a("div",{staticClass:"ml-10"},[e._v(e._s(e.$t("matchName"))+":")]),a("div",[a("el-input",{attrs:{clearable:"",placeholder:e.$t("srscbiaoti"),size:"small"},model:{value:e.matchListName,callback:function(t){e.matchListName=t},expression:"matchListName"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),a("div",{staticClass:"ml-10"},[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.getBackGetMatchList(!0)}}},[e._v(e._s(e.$t("chaxun")))])],1)]),a("el-table",{ref:"multipleTable",staticStyle:{width:"100%","margin-top":"20px"},attrs:{data:e.matchList,"tooltip-effect":"dark","header-cell-class-name":"table-header"}},[a("el-table-column",{attrs:{fixed:"",type:"index",label:e.$t("xuhao"),align:"center",width:"200"}}),a("el-table-column",{attrs:{prop:"matchName",width:"150",label:e.$t("saichengbiaoti")}}),a("el-table-column",{attrs:{prop:"matchShortName",width:"150",label:e.$t("matchName")}}),a("el-table-column",{attrs:{label:e.$t("sctime"),width:"150",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.matchDate)+" "+e._s(t.row.matchTime))])]}}])}),a("el-table-column",{attrs:{label:e.$t("homeTeam"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.homeTeam.teamName))])]}}])}),a("el-table-column",{attrs:{label:e.$t("teamIcon")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.homeTeam.teamIcon?a("div",[a("img",{attrs:{src:t.row.homeTeam.teamIcon,width:"100px",height:"55px"}})]):e._e()]}}])}),a("el-table-column",{attrs:{label:e.$t("score"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.homeTeam.score))])]}}])}),a("el-table-column",{attrs:{label:e.$t("awayTeam"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.awayTeam.teamName))])]}}])}),a("el-table-column",{attrs:{label:e.$t("ateamIcon")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.awayTeam.teamIcon?a("div",[a("img",{attrs:{src:t.row.awayTeam.teamIcon,width:"100px",height:"55px"}})]):e._e()]}}])}),a("el-table-column",{attrs:{label:e.$t("ascore"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.awayTeam.score))])]}}])}),a("el-table-column",{attrs:{label:e.$t("saishileixing"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[0===t.row.sportsType?a("span",[e._v("足球")]):e._e(),1===t.row.sportsType?a("span",[e._v("篮球")]):e._e()]}}])}),a("el-table-column",{attrs:{fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{on:{click:function(a){return e.checkMatch(t.row)}}},[a("el-button",{staticClass:"cursor",attrs:{type:"primary",size:"mini",plain:""}},[e._v(e._s(e.$t("check")))])],1)]}}])})],1),a("el-pagination",{staticClass:"pagination",attrs:{background:"","hide-on-single-page":!0,"current-page":e.currents1.currentPage,"page-sizes":[10,20,30],"page-size":10,layout:"total, prev, pager, next, jumper",total:e.currents1.currentTotal},on:{"current-change":e.handleCurrentChange1}})],1),a("el-dialog",{attrs:{title:e.$t("zhuboliebiao"),visible:e.dialogFormVisible4,width:"80%"},on:{"update:visible":function(t){e.dialogFormVisible4=t}}},[a("div",{staticClass:"fx align-items fx-end"},[a("div",[e._v(e._s(e.$t("zhubonc"))+":")]),a("div",{staticClass:"ml-10"},[a("el-input",{attrs:{size:"small",placeholder:e.$t("qsrzhubonc"),clearable:""},model:{value:e.userName,callback:function(t){e.userName=t},expression:"userName"}})],1),a("div",{staticClass:"ml-10"},[e._v(e._s(e.$t("roomNum"))+":")]),a("div",[a("el-input",{attrs:{clearable:"",placeholder:e.$t("shuruzhuboid"),size:"small"},model:{value:e.roomNums,callback:function(t){e.roomNums=t},expression:"roomNums"}})],1),a("div",{staticClass:"ml-10"},[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.getUserList(!0)}}},[e._v(e._s(e.$t("chaxun")))])],1)]),a("el-table",{staticStyle:{width:"100%","margin-top":"20px"},attrs:{data:e.userList,"tooltip-effect":"dark"}},[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+")",width:"60px"}})]):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:{fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{on:{click:function(a){return e.checkUser(t.row)}}},[a("el-button",{staticClass:"cursor",attrs:{type:"primary",size:"mini",plain:""}},[e._v(e._s(e.$t("check")))])],1)]}}])})],1),a("el-pagination",{staticClass:"pagination",attrs:{background:"","hide-on-single-page":!0,"current-page":e.currents4.currentPage,"page-sizes":[10,20,30],"page-size":10,layout:"total, prev, pager, next, jumper",total:e.currents4.currentTotal},on:{"current-change":e.handleCurrentChange4}})],1),a("el-dialog",{attrs:{title:e.$t("lishixiaoxi"),visible:e.dialogFormVisible2,width:"490px"},on:{"update:visible":function(t){e.dialogFormVisible2=t}}},[a("el-form",{ref:"form1",attrs:{rules:e.rules1,model:e.form1}},[a("el-form-item",{attrs:{label:e.$t("senderName"),"label-width":e.formLabelWidth,prop:"senderName"}},[a("el-input",{staticStyle:{width:"200px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.form1.senderName,callback:function(t){e.$set(e.form1,"senderName",t)},expression:"form1.senderName"}})],1),a("el-form-item",{attrs:{label:e.$t("message"),"label-width":e.formLabelWidth,prop:"message"}},[a("el-input",{attrs:{clearable:"",type:"textarea",rows:10,placeholder:e.$t("qingshuruneirong")},model:{value:e.form1.message,callback:function(t){e.$set(e.form1,"message",t)},expression:"form1.message"}})],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.clear2}},[e._v(e._s(e.$t("quxiao")))]),a("el-button",{attrs:{type:"primary"},on:{click:e.editRoomHistoryMsg}},[e._v(e._s(e.$t("queding")))])],1)],1),a("el-dialog",{attrs:{title:e.$t("lishilist"),visible:e.dialogFormVisible3,width:"50%"},on:{"update:visible":function(t){e.dialogFormVisible3=t}}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.historyMsg,"header-cell-class-name":"bg-f5"}},[a("el-table-column",{attrs:{fixed:"",type:"index",label:e.$t("xuhao"),align:"center",width:"100"}}),a("el-table-column",{attrs:{prop:"senderName",label:e.$t("senderName")}}),a("el-table-column",{attrs:{prop:"message",label:e.$t("neirong")}}),a("el-table-column",{attrs:{width:"150",label:e.$t("gengxinshijian")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e.fromDate(t.row.updateTime)))])]}}])}),a("el-table-column",{attrs:{fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"fx cursor"},[a("div",{staticClass:"search-bg",on:{click:function(a){return e.updateRoomMsg(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",on:{click:function(a){return e.deleteMsg(t.row)}}},[a("div",[a("i",{staticClass:"el-icon-delete"})]),e._v(e._s(e.$t("shanchu"))+" ")])])]}}])})],1),a("el-pagination",{staticClass:"pagination",attrs:{background:"","hide-on-single-page":!0,"current-page":e.currents2.currentPage,"page-sizes":[6,20,30],"page-size":6,layout:"total, prev, pager, next, jumper",total:e.currents2.currentTotal},on:{"current-change":e.handleCurrentChange2}})],1)],1)},s=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("i",{staticClass:"el-icon-plus"})])}],o=a("5530"),l=(a("fb6a"),a("ac1f"),a("1276"),a("841c"),a("a15b"),a("4160"),a("d3b7"),a("159b"),a("0d03"),a("6ace")),r={name:"index",data:function(){return{tableHeight:0,isPicPath:"2",currents:{currentPage:1,currentTotal:0},ps:{pageNo:1,pageSize:10},currents1:{currentPage:1,currentTotal:0},ps1:{pageNo:1,pageSize:10},currents2:{currentPage:1,currentTotal:0},ps2:{pageNo:1,pageSize:6},currents4:{currentPage:1,currentTotal:0},ps4:{pageNo:1,pageSize:10},tagName:"",search:"",message:"",anchorName:"",roomId:"",roomNum:"",senderName:"",showHome:"",matchName:"",fileList:[],matchList:[],checkedCities:[],channelList:[],isIndeterminate:!0,checkAll:!0,userNames:"",form:{deleted:0,recommend:0,announcement:"",enableFakeChat:0,showHome:0,roomName:"",anchorName:"",anchorId:"",roomCover:"",showHot:0,type:0,matchId:"",qqGroupNum:"",categoryId:"",qqNum:"",wxNum:"",hotNum:0,id:0,liveUrl:""},form1:{senderName:"",message:""},rules:{roomCover:[{required:!0,message:this.$t("tishi1"),trigger:"change"}],anchorId:[{required:!0,message:this.$t("tishi2"),trigger:"change"}],roomName:[{required:!0,message:this.$t("tishi3"),trigger:"change"}],hotNum:[{required:!0,message:this.$t("tishi4"),trigger:"change"}],categoryId:[{required:!0,message:this.$t("tishi5"),trigger:"change"}]},rules1:{senderName:[{required:!0,message:this.$t("tishi6"),trigger:"blur"}],message:[{required:!0,message:this.$t("tishi7"),trigger:"blur"}]},showHot:"",matchListName:"",matchDate:"",teamName:"",liveUrl:"",type:"1",recommend:"",tableData:[],id:0,detele:0,imgUrl:"",formLabelWidth:"160px",dialogFormVisible:!1,dialogFormVisible1:!1,dialogFormVisible2:!1,dialogFormVisible3:!1,dialogFormVisible4:!1,historyMsg:[],loading:!1,disabled:!1,isAdd:!0,channelData:[],userList:[],userName:"",roomNums:"",headers:{token:l["a"].get("token")}}},mounted:function(){this.getInfo(1),this.getBackGetMatchList(),this.getUserList(),this.getChannelList(),"10"===sessionStorage.getItem("roleId")&&(this.disabled=!1),this.getChannelData(),this.calHeight()},methods:{beforeAvatarUpload:function(e){var t=this,a=e.size/1024/1024<2;return a||this.$message.error(t.$t("sctouxtup")),a},calHeight:function(){var e=this;this.$nextTick((function(){var t=e.$refs.container.getBoundingClientRect();e.tableHeight=t.height-250}))},handleCheckAllChange:function(e){this.checkedCities=e?this.channelList:[],this.isIndeterminate=!1},handleCheckedCitiesChange:function(e){var t=e.length;this.checkAll=t===this.channelList.length,this.isIndeterminate=t>0&&t<this.channelList.length},toPage:function(e){"admin.hszb.vip"===window.location.host&&window.open("http://hszhibo.live/#/room?rid="+e),"admin.qiujuzb.com"===window.location.host&&window.open("http://qiujuzb.com/#/room?rid="+e),"admin.qmtxzb.com"===window.location.host&&window.open("http://qmtxzb.com/#/room?rid="+e),"admin.duomizb.com"===window.location.host&&window.open("http://duomizb.com/#/room?rid="+e),"admin.sjb1.tv"===window.location.host&&window.open("http://sjb1.tv/#/room?rid="+e)},clear:function(){var e={deleted:0,recommend:0,showHome:0,categoryId:"",showHot:0,roomName:"",announcement:"",roomCover:"",enableFakeChat:0,matchId:"",qqGroupNum:"",qqNum:"",wxNum:"",hotNum:0,liveUrl:"",type:0,id:0,anchorId:""};this.fileList=[],this.userNames="",this.matchName="",this.form=Object.assign(this.form,e),this.dialogFormVisible=!1},clear2:function(){this.form1.message="",this.form1.senderName="",this.deleted=0,this.id=0,this.roomId="",this.dialogFormVisible2=!1},updateRoomHistoryMsg:function(e){this.roomId=e,this.getRoomHistoryMsgList(1),this.dialogFormVisible3=!0},updateRoomMsg:function(e){this.roomId=e.huanXinRoomId,this.form1.message=e.message,this.id=e.id,this.deleted=0,this.form1.senderName=e.senderName,this.dialogFormVisible2=!0},deleteMsg:function(e){var t=this,a=this;this.$confirm(a.$t("shanchuxiaoxi"),a.$t("tishi"),{confirmButtonText:a.$t("queding"),cancelButtonText:a.$t("quxiao"),type:"warning"}).then((function(){t.form1.message=e.message,t.form1.senderName=e.senderName,t.deleted=1,t.id=e.id,t.editRoomHistoryMsg()}))["catch"]((function(){t.$message({type:"info",message:a.$t("yiquxiaoshanchu")})}))},addRoomHistoryMsg:function(e){this.roomId=e,this.dialogFormVisible2=!0},openMatch:function(){this.dialogFormVisible1=!0},openUser:function(){this.dialogFormVisible4=!0},checkMatch:function(e){this.matchName=e.matchShortName,0===e.sportsType?this.$set(this.form,"categoryId",2):1===e.sportsType&&this.$set(this.form,"categoryId",3),this.$set(this.form,"matchId",e.id),this.dialogFormVisible1=!1},checkUser:function(e){this.userNames=e.userName,this.$set(this.form,"anchorId",e.id),this.dialogFormVisible4=!1},handleChange:function(e,t,a){this.fileList=a.slice(-1);var i=e.data,s=i.imageUrl,o=i.prefix;this.form.roomCover=o+s},handleRemove:function(e,t){},picPathBtn:function(e){"1"===e&&(this.fileList=[]),"2"===e&&this.$set(this.form,"tagImage","")},getBackGetMatchList:function(e){var t=this,a="";this.matchDate&&(a=this.fromDate(this.matchDate)),e&&(this.ps1=Object(o["a"])(Object(o["a"])({},this.ps1),{},{pageNo:1}));var i={pageNum:this.ps1.pageNo,pageSize:this.ps1.pageSize,endDate:"",matchDate:a,startDate:"",matchName:this.matchListName,teamName:this.teamName};this.$axios("post","/match/backGetMatchList",i).then((function(e){200===e.code&&(t.matchList=e.data.dataList,t.currents1={currentPage:e.data.pageNo,currentTotal:e.data.countSize})}))},getUserList:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t&&(this.ps4=Object(o["a"])(Object(o["a"])({},this.ps4),{},{pageNo:1}));var a={pageNum:this.ps4.pageNo,pageSize:this.ps4.pageSize,userName:this.userName,roomNum:this.roomNums,type:"1"};this.$axios("post","/backUser/backGetUserList",a).then((function(t){200===t.code&&(e.userList=t.data.dataList,e.currents4={currentPage:t.data.pageNo,currentTotal:t.data.countSize})}))},editRoomHistoryMsg:function(){var e=this,t={message:this.form1.message,roomId:this.roomId,deleted:this.deleted,id:this.id,senderName:this.form1.senderName};this.$refs.form1.validate((function(a){if(!a)return!1;e.$axios("post","/backRoom/editRoomHistoryMsg",t).then((function(t){200===t.code&&(e.dialogFormVisible2=!1,e.getRoomHistoryMsgList(1))}))}))},add:function(){this.isAdd=!0,this.dialogFormVisible=!0},update:function(e){this.form=Object.assign(this.form,e),null!==e.excludeChannels&&(this.checkedCities=e.excludeChannels.split(",")),this.matchName=e.matchName,this.userNames=e.anchorName,this.isAdd=!1,this.dialogFormVisible=!0},getRoomHistoryMsgList:function(e){var t=this;e&&(this.ps2.pageNo=1);var a={pageNum:this.ps2.pageNo,pageSize:this.ps2.pageSize,roomId:this.roomId};this.$axios("post","/backRoom/getRoomHistoryMsgList",a).then((function(e){200===e.code&&(t.historyMsg=e.data.dataList,t.currents2.currentTotal=e.data.countSize)}))},getInfo:function(e){var t=this;this.loading=!0,e&&(this.ps.pageNo=1);var a={recommend:this.recommend,showHome:this.showHome,showHot:this.showHot,roomNum:this.roomNum,anchorName:this.anchorName,type:this.type,pageNum:this.ps.pageNo,pageSize:this.ps.pageSize,roomName:this.search};this.$axios("post","/backRoom/getRoomList",a).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)}))},handleCurrentChange:function(e){this.ps.pageNo=e,this.getInfo()},handleCurrentChange1:function(e){this.ps1.pageNo=e,this.getBackGetMatchList()},handleCurrentChange2:function(e){this.ps2.pageNo=e,this.getRoomHistoryMsgList()},handleCurrentChange4:function(e){this.ps4.pageNo=e,this.getUserList()},addImg:function(){this.isAdd&&(this.$delete(this.form,"roomId"),this.$set(this.form,"showHome",0),this.$set(this.form,"showHot",0),this.$set(this.form,"recommend",0),this.$set(this.form,"type",0),this.$set(this.form,"enableFakeChat",0))},updateInfo:function(){var e=this;this.addImg();var t=this,a={deleted:this.form.deleted,recommend:this.form.recommend,showHome:this.form.showHome,showHot:this.form.showHot,type:this.form.type,hotNum:this.form.hotNum,roomId:this.form.huanXinRoomId,categoryId:this.form.categoryId,announcement:this.form.announcement,enableFakeChat:this.form.enableFakeChat,anchorId:this.form.anchorId,excludeChannels:this.checkedCities.join(","),matchId:this.form.matchId,roomName:this.form.roomName,linkAccount:this.form.linkAccount,linkType:this.form.linkType,roomCover:this.form.roomCover,qqGroupNum:this.form.qqGroupNum,qqNum:this.form.qqNum,wxNum:this.form.wxNum,liveUrl:this.form.liveUrl};this.$refs.form.validate((function(i){if(!i)return!1;e.$axios("post","/backRoom/editRoomById",a).then((function(a){200===a.code?(e.$message({type:"success",message:t.$t("caozuocg")+"!"}),e.getInfo(),e.clear()):e.$message({type:"warning",message:a.msg})}))}))},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},getChannelList:function(){var e=this;this.$axios("post","/channelBack/getChannelCode").then((function(t){200===t.code&&(e.channelList=t.data,e.checkedCities=t.data)}))},updateSumbit:function(){this.flag||this.updateInfo()},fromDate:function(e){var t=new Date(e),a=t.getMonth()+1,i=t.getDate();a<10&&(a="0"+(t.getMonth()+1)),i<10&&(i="0"+t.getDate());var s=t.getFullYear()+"-"+a+"-"+i;return s},getShortUrl:function(e){if(e){var t=e.split("//");if(t[1]){var a=t[1].split("/");return t[0]+"//"+a[0]+"/"+a[1]}return e}return e},changeStatus:function(e){var t=this,a=this,i=Object(o["a"])(Object(o["a"])({},e),{},{roomId:e.huanXinRoomId,deleted:0});this.$axios("post","/backRoom/editRoomById",i).then((function(e){200===e.code?t.$message({type:"success",message:a.$t("caozuocg")+"!"}):t.$message({type:"warning",message:e.msg}),t.getInfo()}))}}},n=r,c=(a("3a36"),a("2877")),m=Object(c["a"])(n,i,s,!1,null,null,null);t["default"]=m.exports},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,m=r("join",",");i({target:"Array",proto:!0,forced:c||!m},{join:function(e){return n(l(this),void 0===e?",":e)}})},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"),m=a("fc6a"),u=a("8418"),h=a("b622"),d=a("1dde"),p=a("f36a"),f=d("slice"),g=h("species"),b=s.Array,v=Math.max;i({target:"Array",proto:!0,forced:!f},{slice:function(e,t){var a,i,s,h=m(this),d=c(h),f=n(e,d),w=n(void 0===t?d:t,d);if(o(h)&&(a=h.constructor,l(a)&&(a===b||o(a.prototype))?a=void 0:r(a)&&(a=a[g],null===a&&(a=void 0)),a===b||void 0===a))return p(h,f,w);for(i=new(void 0===a?b:a)(v(w-f,0)),s=0;f<w;f++,s++)f in h&&u(i,s,h[f]);return i.length=s,i}})}}]);
//# sourceMappingURL=chunk-1c58100a.a71659cd.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1c58100a"],{1276:function(e,t,a){"use strict";var i=a("2ba4"),s=a("c65b"),o=a("e330"),l=a("d784"),r=a("44e7"),n=a("825a"),c=a("1d80"),m=a("4840"),u=a("8aa5"),h=a("50c4"),d=a("577e"),f=a("dc4a"),p=a("4dae"),g=a("14c3"),b=a("9263"),v=a("9f7f"),w=a("d039"),$=v.UNSUPPORTED_Y,x=4294967295,y=Math.min,k=[].push,N=o(/./.exec),_=o(k),C=o("".slice),I=!w((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var a="ab".split(e);return 2!==a.length||"a"!==a[0]||"b"!==a[1]}));l("split",(function(e,t,a){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,a){var o=d(c(this)),l=void 0===a?x:a>>>0;if(0===l)return[];if(void 0===e)return[o];if(!r(e))return s(t,o,e,l);var n,m,u,h=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,v=new RegExp(e.source,f+"g");while(n=s(b,v,o)){if(m=v.lastIndex,m>g&&(_(h,C(o,g,n.index)),n.length>1&&n.index<o.length&&i(k,h,p(n,1)),u=n[0].length,g=m,h.length>=l))break;v.lastIndex===n.index&&v.lastIndex++}return g===o.length?!u&&N(v,"")||_(h,""):_(h,C(o,g)),h.length>l?p(h,0,l):h}:"0".split(void 0,0).length?function(e,a){return void 0===e&&0===a?[]:s(t,this,e,a)}:t,[function(t,a){var i=c(this),l=void 0==t?void 0:f(t,e);return l?s(l,t,i,a):s(o,d(i),t,a)},function(e,i){var s=n(this),l=d(e),r=a(o,s,l,i,o!==t);if(r.done)return r.value;var c=m(s,RegExp),f=s.unicode,p=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+($?"g":"y"),b=new c($?"^(?:"+s.source+")":s,p),v=void 0===i?x:i>>>0;if(0===v)return[];if(0===l.length)return null===g(b,l)?[l]:[];var w=0,k=0,N=[];while(k<l.length){b.lastIndex=$?0:k;var I,z=g(b,$?C(l,k):l);if(null===z||(I=y(h(b.lastIndex+($?k:0)),l.length))===w)k=u(l,k,f);else{if(_(N,C(l,w,k)),N.length===v)return N;for(var S=1;S<=z.length-1;S++)if(_(N,z[S]),N.length===v)return N;k=w=I}}return _(N,C(l,w)),N}]}),!I,$)},"129f":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"3a36":function(e,t,a){"use strict";a("683a")},"683a":function(e,t,a){},"841c":function(e,t,a){"use strict";var i=a("c65b"),s=a("d784"),o=a("825a"),l=a("1d80"),r=a("129f"),n=a("577e"),c=a("dc4a"),m=a("14c3");s("search",(function(e,t,a){return[function(t){var a=l(this),s=void 0==t?void 0:c(t,e);return s?i(s,t,a):new RegExp(t)[e](n(a))},function(e){var i=o(this),s=n(e),l=a(t,i,s);if(l.done)return l.value;var c=i.lastIndex;r(c,0)||(i.lastIndex=0);var u=m(i,s);return r(i.lastIndex,c)||(i.lastIndex=c),null===u?-1:u.index}]}))},8502: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("fjguanli")}})],1),a("div",{staticClass:"fx align-items justify-between 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("recommend1"))+":")]),a("div",{staticClass:"search-item"},[a("el-select",{attrs:{size:"small",clearable:""},model:{value:e.recommend,callback:function(t){e.recommend=t},expression:"recommend"}},[a("el-option",{attrs:{value:"",label:e.$t("all")}}),a("el-option",{attrs:{value:"0",label:e.$t("recommend0")}}),a("el-option",{attrs:{value:"1",label:e.$t("recommend1")}})],1)],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v(e._s(e.$t("xianshizaishouye"))+":")]),a("div",{staticClass:"search-item"},[a("el-select",{attrs:{size:"small",clearable:""},model:{value:e.showHome,callback:function(t){e.showHome=t},expression:"showHome"}},[a("el-option",{attrs:{value:"",label:e.$t("all")}}),a("el-option",{attrs:{value:"0",label:e.$t("isOnline0")}}),a("el-option",{attrs:{value:"1",label:e.$t("isOnline1")}})],1)],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:{size:"small",clearable:""},model:{value:e.showHot,callback:function(t){e.showHot=t},expression:"showHot"}},[a("el-option",{attrs:{value:"",label:e.$t("all")}}),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("living"))+":")]),a("div",{staticClass:"search-item"},[a("el-select",{attrs:{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("buzai")}}),a("el-option",{attrs:{value:"1",label:e.$t("zai")}})],1)],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v(e._s(e.$t("roomname"))+":")]),a("div",{staticClass:"search-item"},[a("el-input",{attrs:{clearable:"",placeholder:e.$t("srfjmc"),size:"small"},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}})],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v(e._s(e.$t("zbname"))+":")]),a("div",{staticClass:"search-item"},[a("el-input",{attrs:{clearable:"",placeholder:e.$t("srzbname"),size:"small"},model:{value:e.anchorName,callback:function(t){e.anchorName=t},expression:"anchorName"}})],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"},[e._v("ID:")]),a("div",{staticClass:"search-item"},[a("el-input",{attrs:{clearable:"",placeholder:e.$t("shuruid"),size:"small"},model:{value:e.roomNum,callback:function(t){e.roomNum=t},expression:"roomNum"}})],1)]),a("div",{staticClass:"search-item-container"},[a("div",{staticClass:"search-label"}),a("div",{staticClass:"search-bg",on:{click:function(t){return e.getInfo(1)}}},[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("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%","margin-top":"20px"},attrs:{data:e.tableData,"header-cell-class-name":"table-header","max-height":e.tableHeight}},[a("el-table-column",{attrs:{fixed:"",label:e.$t("xuhao"),align:"center",width:"100"},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:{align:"center",prop:"anchorName",label:e.$t("zbname"),fixed:""}}),a("el-table-column",{attrs:{align:"center",width:"200",prop:"huanXinRoomId",label:e.$t("huanXinRoomId")}}),a("el-table-column",{attrs:{align:"center",width:"200",label:e.$t("fangjianming")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticStyle:{color:"#2897ff",cursor:"pointer"},on:{click:function(a){return e.toPage(t.row.roomNum)}}},[e._v(e._s(t.row.roomName))])]}}])}),a("el-table-column",{attrs:{align:"center",prop:"roomNum",label:e.$t("roomNum")}}),a("el-table-column",{attrs:{label:e.$t("fangjiantupian")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.roomCover?a("div",[a("el-image",{staticStyle:{width:"100px",height:"55px"},attrs:{src:t.row.roomCover,"preview-src-list":[t.row.roomCover]}})],1):e._e()]}}])}),a("el-table-column",{attrs:{align:"center",width:"200",prop:"matchName",label:e.$t("glsaic")}}),a("el-table-column",{attrs:{align:"center",prop:"hotNum",label:e.$t("hotNum")}}),a("el-table-column",{attrs:{align:"center",prop:"announcement",label:e.$t("zbnotice"),width:"150"}}),a("el-table-column",{attrs:{label:e.$t("recommend")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},on:{change:function(a){return e.changeStatus(t.row,"recommend")}},model:{value:t.row.recommend,callback:function(a){e.$set(t.row,"recommend",a)},expression:"scope.row.recommend"}})]}}])}),a("el-table-column",{attrs:{width:"150",align:"center",label:e.$t("showHome")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},on:{change:function(a){return e.changeStatus(t.row,"showHome")}},model:{value:t.row.showHome,callback:function(a){e.$set(t.row,"showHome",a)},expression:"scope.row.showHome"}})]}}])}),a("el-table-column",{attrs:{label:e.$t("hotAnchor")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},on:{change:function(a){return e.changeStatus(t.row,"showHot")}},model:{value:t.row.showHot,callback:function(a){e.$set(t.row,"showHot",a)},expression:"scope.row.showHot"}})]}}])}),a("el-table-column",{attrs:{width:"150",align:"center",label:e.$t("shifouzaizhibo")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},on:{change:function(a){return e.changeStatus(t.row,"type")}},model:{value:t.row.type,callback:function(a){e.$set(t.row,"type",a)},expression:"scope.row.type"}})]}}])}),a("el-table-column",{attrs:{width:"150",align:"center",label:e.$t("enableFakeChat")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},on:{change:function(a){return e.changeStatus(t.row,"type")}},model:{value:t.row.enableFakeChat,callback:function(a){e.$set(t.row,"enableFakeChat",a)},expression:"scope.row.enableFakeChat"}})]}}])}),a("el-table-column",{attrs:{align:"center",prop:"likeNum",label:e.$t("likeNum")}}),a("el-table-column",{attrs:{align:"center",prop:"categoryName",label:e.$t("categoryName")}}),a("el-table-column",{attrs:{align:"center",width:"200",label:e.$t("xianshizhibojian")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.excludeChannelDesc?a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:t.row.excludeChannelDesc.join(","),placement:"top-start"}},[a("div",{staticClass:"text-overflow"},[e._v(e._s(t.row.excludeChannelDesc.join(",")))])]):e._e()]}}])}),a("el-table-column",{attrs:{align:"center",width:"300",label:e.$t("liveUrl")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:t.row.liveUrl,placement:"top-start"}},[a("div",{staticStyle:{"text-align":"left"}},[e._v(e._s(e.getShortUrl(t.row.liveUrl)))])])]}}])}),a("el-table-column",{attrs:{width:"270",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"fx justify-between"},[a("div",{staticClass:"search-bg cursor",staticStyle:{width:"120px"},on:{click:function(a){return e.update(t.row)}}},[e._v(" "+e._s(e.$t("xiugaifjpeizhi"))+" ")]),a("div",{staticClass:"add-bg cursor",staticStyle:{width:"120px"},on:{click:function(a){return e.addRoomHistoryMsg(t.row.huanXinRoomId)}}},[e._v(" "+e._s(e.$t("xzlishixiaoxi"))+" ")])]),a("div",{staticClass:"add-bg mt-10 cursor",staticStyle:{width:"120px"},on:{click:function(a){return e.updateRoomHistoryMsg(t.row.huanXinRoomId)}}},[e._v(" "+e._s(e.$t("xglishixiaoxi"))+" ")])]}}])})],1),a("el-pagination",{staticClass:"pagination",attrs:{background:"","hide-on-single-page":!0,"current-page":e.currents.currentPage,"page-sizes":[10,20,30],"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("fjguanli"),visible:e.dialogFormVisible,width:"50%","destroy-on-close":""},on:{"update:visible":function(t){e.dialogFormVisible=t},close:e.clear}},[a("div",{staticStyle:{height:"50vh","overflow-y":"auto"}},[a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules}},[a("el-form-item",{attrs:{label:e.$t("user2"),"label-width":e.formLabelWidth,prop:"anchorId"}},[e._v(" "+e._s(e.userNames)+" "),e.isAdd?a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.openUser()}}},[e._v(e._s(e.$t("xuanze")))]):e._e()],1),a("el-form-item",{attrs:{label:e.$t("fangjianfengmian"),"label-width":e.formLabelWidth,prop:"roomCover"}},[a("img",{attrs:{src:e.form.roomCover,width:"100px"}}),a("div",[a("el-upload",{staticClass:"upload-demo",attrs:{action:"/sequoiaBack/file/fileUpload","on-remove":e.handleRemove,"on-success":e.handleChange,"file-list":e.fileList,headers:e.headers,"show-file-list":!1,"before-upload":e.beforeAvatarUpload,"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("fangjianming"),"label-width":e.formLabelWidth,prop:"roomName"}},[a("el-input",{staticStyle:{width:"300px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.form.roomName,callback:function(t){e.$set(e.form,"roomName",t)},expression:"form.roomName"}})],1),a("el-form-item",{attrs:{label:e.$t("liveUrl"),"label-width":e.formLabelWidth,prop:"liveUrl"}},[1===e.form.type?a("el-input",{attrs:{clearable:"",type:"textarea",rows:5,disabled:!0},model:{value:e.form.liveUrl,callback:function(t){e.$set(e.form,"liveUrl",t)},expression:"form.liveUrl"}}):e._e(),0===e.form.type?a("el-input",{attrs:{clearable:"",type:"textarea",rows:5},model:{value:e.form.liveUrl,callback:function(t){e.$set(e.form,"liveUrl",t)},expression:"form.liveUrl"}}):e._e()],1),a("el-form-item",{attrs:{label:e.$t("hotNum"),"label-width":e.formLabelWidth,prop:"hotNum"}},[a("el-input",{staticStyle:{width:"300px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.form.hotNum,callback:function(t){e.$set(e.form,"hotNum",e._n(t))},expression:"form.hotNum"}})],1),a("el-form-item",{attrs:{label:e.$t("zbnotice"),"label-width":e.formLabelWidth,prop:"announcement"}},[a("el-input",{staticStyle:{width:"300px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.form.announcement,callback:function(t){e.$set(e.form,"announcement",t)},expression:"form.announcement"}})],1),a("el-form-item",{attrs:{label:e.$t("glsaic"),"label-width":e.formLabelWidth,prop:"matchName"}},[e._v(" "+e._s(e.matchName)+" "),a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.openMatch()}}},[e._v(e._s(e.$t("xuanze")))])],1),a("el-form-item",{attrs:{label:e.$t("categoryName"),"label-width":e.formLabelWidth,prop:"categoryId"}},[a("el-radio",{attrs:{label:0},model:{value:e.form.categoryId,callback:function(t){e.$set(e.form,"categoryId",t)},expression:"form.categoryId"}},[e._v(e._s(e.$t("zuqiu")))]),a("el-radio",{attrs:{label:1},model:{value:e.form.categoryId,callback:function(t){e.$set(e.form,"categoryId",t)},expression:"form.categoryId"}},[e._v(e._s(e.$t("lanqiu")))]),a("el-radio",{attrs:{label:2},model:{value:e.form.categoryId,callback:function(t){e.$set(e.form,"categoryId",t)},expression:"form.categoryId"}},[e._v(e._s(e.$t("qita")))]),a("el-radio",{attrs:{label:3},model:{value:e.form.categoryId,callback:function(t){e.$set(e.form,"categoryId",t)},expression:"form.categoryId"}},[e._v(e._s(e.$t("dianjin")))]),a("el-radio",{attrs:{label:4},model:{value:e.form.categoryId,callback:function(t){e.$set(e.form,"categoryId",t)},expression:"form.categoryId"}},[e._v(e._s(e.$t("jcfenlei")))])],1),a("el-form-item",{attrs:{label:e.$t("shifoukqltjxx"),"label-width":e.formLabelWidth,prop:"enableFakeChat"}},[a("el-radio",{attrs:{label:0},model:{value:e.form.enableFakeChat,callback:function(t){e.$set(e.form,"enableFakeChat",t)},expression:"form.enableFakeChat"}},[e._v(e._s(e.$t("jinyong")))]),a("el-radio",{attrs:{label:1},model:{value:e.form.enableFakeChat,callback:function(t){e.$set(e.form,"enableFakeChat",t)},expression:"form.enableFakeChat"}},[e._v(e._s(e.$t("qiyong")))])],1),a("el-form-item",{attrs:{label:e.$t("xianshizhibojian"),"label-width":e.formLabelWidth,prop:"enableFakeChat"}},[a("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v(e._s(e.$t("quanx")))]),a("div",{staticStyle:{margin:"15px 0"}}),a("el-checkbox-group",{on:{change:e.handleCheckedCitiesChange},model:{value:e.checkedCities,callback:function(t){e.checkedCities=t},expression:"checkedCities"}},e._l(e.channelList,(function(t,i){return a("el-checkbox",{key:i,attrs:{label:t}},[e._v(" "+e._s(e.getItemLabel(t)))])})),1)],1)],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.updateSumbit}},[e._v(e._s(e.$t("queding")))])],1)]),a("el-dialog",{attrs:{title:e.$t("saichengliebiao"),visible:e.dialogFormVisible1,width:"80%"},on:{"update:visible":function(t){e.dialogFormVisible1=t}}},[a("div",{staticClass:"fx align-items fx-end"},[a("div",[e._v(e._s(e.$t("sctime"))+":")]),a("div",{staticClass:"ml-10"},[a("el-date-picker",{attrs:{type:"date",size:"small",placeholder:e.$t("qxzshijian"),clearable:""},model:{value:e.matchDate,callback:function(t){e.matchDate=t},expression:"matchDate"}})],1),a("div",{staticClass:"ml-10"},[e._v(e._s(e.$t("dwmc"))+":")]),a("div",[a("el-input",{attrs:{clearable:"",placeholder:e.$t("srdwmc"),size:"small"},model:{value:e.teamName,callback:function(t){e.teamName=t},expression:"teamName"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),a("div",{staticClass:"ml-10"},[e._v(e._s(e.$t("matchName"))+":")]),a("div",[a("el-input",{attrs:{clearable:"",placeholder:e.$t("srscbiaoti"),size:"small"},model:{value:e.matchListName,callback:function(t){e.matchListName=t},expression:"matchListName"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),a("div",{staticClass:"ml-10"},[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.getBackGetMatchList(!0)}}},[e._v(e._s(e.$t("chaxun")))])],1)]),a("el-table",{ref:"multipleTable",staticStyle:{width:"100%","margin-top":"20px"},attrs:{data:e.matchList,"tooltip-effect":"dark","header-cell-class-name":"table-header"}},[a("el-table-column",{attrs:{fixed:"",type:"index",label:e.$t("xuhao"),align:"center",width:"200"}}),a("el-table-column",{attrs:{prop:"matchName",width:"150",label:e.$t("saichengbiaoti")}}),a("el-table-column",{attrs:{prop:"matchShortName",width:"150",label:e.$t("matchName")}}),a("el-table-column",{attrs:{label:e.$t("sctime"),width:"150",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.matchDate)+" "+e._s(t.row.matchTime))])]}}])}),a("el-table-column",{attrs:{label:e.$t("homeTeam"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.homeTeam.teamName))])]}}])}),a("el-table-column",{attrs:{label:e.$t("teamIcon")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.homeTeam.teamIcon?a("div",[a("img",{attrs:{src:t.row.homeTeam.teamIcon,width:"100px",height:"55px"}})]):e._e()]}}])}),a("el-table-column",{attrs:{label:e.$t("score"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.homeTeam.score))])]}}])}),a("el-table-column",{attrs:{label:e.$t("awayTeam"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.awayTeam.teamName))])]}}])}),a("el-table-column",{attrs:{label:e.$t("ateamIcon")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.awayTeam.teamIcon?a("div",[a("img",{attrs:{src:t.row.awayTeam.teamIcon,width:"100px",height:"55px"}})]):e._e()]}}])}),a("el-table-column",{attrs:{label:e.$t("ascore"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.awayTeam.score))])]}}])}),a("el-table-column",{attrs:{label:e.$t("saishileixing"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[0===t.row.sportsType?a("span",[e._v("足球")]):e._e(),1===t.row.sportsType?a("span",[e._v("篮球")]):e._e()]}}])}),a("el-table-column",{attrs:{fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{on:{click:function(a){return e.checkMatch(t.row)}}},[a("el-button",{staticClass:"cursor",attrs:{type:"primary",size:"mini",plain:""}},[e._v(e._s(e.$t("check")))])],1)]}}])})],1),a("el-pagination",{staticClass:"pagination",attrs:{background:"","hide-on-single-page":!0,"current-page":e.currents1.currentPage,"page-sizes":[10,20,30],"page-size":10,layout:"total, prev, pager, next, jumper",total:e.currents1.currentTotal},on:{"current-change":e.handleCurrentChange1}})],1),a("el-dialog",{attrs:{title:e.$t("zhuboliebiao"),visible:e.dialogFormVisible4,width:"80%"},on:{"update:visible":function(t){e.dialogFormVisible4=t}}},[a("div",{staticClass:"fx align-items fx-end"},[a("div",[e._v(e._s(e.$t("zhubonc"))+":")]),a("div",{staticClass:"ml-10"},[a("el-input",{attrs:{size:"small",placeholder:e.$t("qsrzhubonc"),clearable:""},model:{value:e.userName,callback:function(t){e.userName=t},expression:"userName"}})],1),a("div",{staticClass:"ml-10"},[e._v(e._s(e.$t("roomNum"))+":")]),a("div",[a("el-input",{attrs:{clearable:"",placeholder:e.$t("shuruzhuboid"),size:"small"},model:{value:e.roomNums,callback:function(t){e.roomNums=t},expression:"roomNums"}})],1),a("div",{staticClass:"ml-10"},[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.getUserList(!0)}}},[e._v(e._s(e.$t("chaxun")))])],1)]),a("el-table",{staticStyle:{width:"100%","margin-top":"20px"},attrs:{data:e.userList,"tooltip-effect":"dark"}},[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+")",width:"60px"}})]):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:{fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{on:{click:function(a){return e.checkUser(t.row)}}},[a("el-button",{staticClass:"cursor",attrs:{type:"primary",size:"mini",plain:""}},[e._v(e._s(e.$t("check")))])],1)]}}])})],1),a("el-pagination",{staticClass:"pagination",attrs:{background:"","hide-on-single-page":!0,"current-page":e.currents4.currentPage,"page-sizes":[10,20,30],"page-size":10,layout:"total, prev, pager, next, jumper",total:e.currents4.currentTotal},on:{"current-change":e.handleCurrentChange4}})],1),a("el-dialog",{attrs:{title:e.$t("lishixiaoxi"),visible:e.dialogFormVisible2,width:"490px"},on:{"update:visible":function(t){e.dialogFormVisible2=t}}},[a("el-form",{ref:"form1",attrs:{rules:e.rules1,model:e.form1}},[a("el-form-item",{attrs:{label:e.$t("senderName"),"label-width":e.formLabelWidth,prop:"senderName"}},[a("el-input",{staticStyle:{width:"200px","margin-right":"10px"},attrs:{clearable:""},model:{value:e.form1.senderName,callback:function(t){e.$set(e.form1,"senderName",t)},expression:"form1.senderName"}})],1),a("el-form-item",{attrs:{label:e.$t("message"),"label-width":e.formLabelWidth,prop:"message"}},[a("el-input",{attrs:{clearable:"",type:"textarea",rows:10,placeholder:e.$t("qingshuruneirong")},model:{value:e.form1.message,callback:function(t){e.$set(e.form1,"message",t)},expression:"form1.message"}})],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.clear2}},[e._v(e._s(e.$t("quxiao")))]),a("el-button",{attrs:{type:"primary"},on:{click:e.editRoomHistoryMsg}},[e._v(e._s(e.$t("queding")))])],1)],1),a("el-dialog",{attrs:{title:e.$t("lishilist"),visible:e.dialogFormVisible3,width:"50%"},on:{"update:visible":function(t){e.dialogFormVisible3=t}}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.historyMsg,"header-cell-class-name":"bg-f5"}},[a("el-table-column",{attrs:{fixed:"",type:"index",label:e.$t("xuhao"),align:"center",width:"100"}}),a("el-table-column",{attrs:{prop:"senderName",label:e.$t("senderName")}}),a("el-table-column",{attrs:{prop:"message",label:e.$t("neirong")}}),a("el-table-column",{attrs:{width:"150",label:e.$t("gengxinshijian")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e.fromDate(t.row.updateTime)))])]}}])}),a("el-table-column",{attrs:{fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"fx cursor"},[a("div",{staticClass:"search-bg",on:{click:function(a){return e.updateRoomMsg(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",on:{click:function(a){return e.deleteMsg(t.row)}}},[a("div",[a("i",{staticClass:"el-icon-delete"})]),e._v(e._s(e.$t("shanchu"))+" ")])])]}}])})],1),a("el-pagination",{staticClass:"pagination",attrs:{background:"","hide-on-single-page":!0,"current-page":e.currents2.currentPage,"page-sizes":[6,20,30],"page-size":6,layout:"total, prev, pager, next, jumper",total:e.currents2.currentTotal},on:{"current-change":e.handleCurrentChange2}})],1)],1)},s=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("i",{staticClass:"el-icon-plus"})])}],o=a("5530"),l=(a("fb6a"),a("ac1f"),a("1276"),a("841c"),a("a15b"),a("4160"),a("d3b7"),a("159b"),a("0d03"),a("6ace")),r={name:"index",data:function(){return{tableHeight:0,isPicPath:"2",currents:{currentPage:1,currentTotal:0},ps:{pageNo:1,pageSize:10},currents1:{currentPage:1,currentTotal:0},ps1:{pageNo:1,pageSize:10},currents2:{currentPage:1,currentTotal:0},ps2:{pageNo:1,pageSize:6},currents4:{currentPage:1,currentTotal:0},ps4:{pageNo:1,pageSize:10},tagName:"",search:"",message:"",anchorName:"",roomId:"",roomNum:"",senderName:"",showHome:"",matchName:"",fileList:[],matchList:[],checkedCities:[],channelList:[],isIndeterminate:!0,checkAll:!0,userNames:"",form:{deleted:0,recommend:0,announcement:"",enableFakeChat:0,showHome:0,roomName:"",anchorName:"",anchorId:"",roomCover:"",showHot:0,type:0,matchId:"",qqGroupNum:"",categoryId:"",qqNum:"",wxNum:"",hotNum:0,id:0,liveUrl:""},form1:{senderName:"",message:""},rules:{roomCover:[{required:!0,message:this.$t("tishi1"),trigger:"change"}],anchorId:[{required:!0,message:this.$t("tishi2"),trigger:"change"}],roomName:[{required:!0,message:this.$t("tishi3"),trigger:"change"}],hotNum:[{required:!0,message:this.$t("tishi4"),trigger:"change"}],categoryId:[{required:!0,message:this.$t("tishi5"),trigger:"change"}]},rules1:{senderName:[{required:!0,message:this.$t("tishi6"),trigger:"blur"}],message:[{required:!0,message:this.$t("tishi7"),trigger:"blur"}]},showHot:"",matchListName:"",matchDate:"",teamName:"",liveUrl:"",type:"1",recommend:"",tableData:[],id:0,detele:0,imgUrl:"",formLabelWidth:"160px",dialogFormVisible:!1,dialogFormVisible1:!1,dialogFormVisible2:!1,dialogFormVisible3:!1,dialogFormVisible4:!1,historyMsg:[],loading:!1,disabled:!1,isAdd:!0,channelData:[],userList:[],userName:"",roomNums:"",headers:{token:l["a"].get("token")}}},mounted:function(){this.getInfo(1),this.getBackGetMatchList(),this.getUserList(),this.getChannelList(),"10"===sessionStorage.getItem("roleId")&&(this.disabled=!1),this.getChannelData(),this.calHeight()},methods:{beforeAvatarUpload:function(e){var t=this,a=e.size/1024/1024<2;return a||this.$message.error(t.$t("sctouxtup")),a},calHeight:function(){var e=this;this.$nextTick((function(){var t=e.$refs.container.getBoundingClientRect();e.tableHeight=t.height-250}))},handleCheckAllChange:function(e){this.checkedCities=e?this.channelList:[],this.isIndeterminate=!1},handleCheckedCitiesChange:function(e){var t=e.length;this.checkAll=t===this.channelList.length,this.isIndeterminate=t>0&&t<this.channelList.length},toPage:function(e){"admin.hszb.vip"===window.location.host&&window.open("http://hszhibo.live/#/room?rid="+e),"admin.qiujuzb.com"===window.location.host&&window.open("http://qiujuzb.com/#/room?rid="+e),"admin.qmtxzb.com"===window.location.host&&window.open("http://qmtxzb.com/#/room?rid="+e),"admin.duomizb.com"===window.location.host&&window.open("http://duomizb.com/#/room?rid="+e),"admin.sjb1.tv"===window.location.host&&window.open("http://sjb1.tv/#/room?rid="+e)},clear:function(){var e={deleted:0,recommend:0,showHome:0,categoryId:"",showHot:0,roomName:"",announcement:"",roomCover:"",enableFakeChat:0,matchId:"",qqGroupNum:"",qqNum:"",wxNum:"",hotNum:0,liveUrl:"",type:0,id:0,anchorId:""};this.fileList=[],this.userNames="",this.matchName="",this.form=Object.assign(this.form,e),this.dialogFormVisible=!1},clear2:function(){this.form1.message="",this.form1.senderName="",this.deleted=0,this.id=0,this.roomId="",this.dialogFormVisible2=!1},updateRoomHistoryMsg:function(e){this.roomId=e,this.getRoomHistoryMsgList(1),this.dialogFormVisible3=!0},updateRoomMsg:function(e){this.roomId=e.huanXinRoomId,this.form1.message=e.message,this.id=e.id,this.deleted=0,this.form1.senderName=e.senderName,this.dialogFormVisible2=!0},deleteMsg:function(e){var t=this,a=this;this.$confirm(a.$t("shanchuxiaoxi"),a.$t("tishi"),{confirmButtonText:a.$t("queding"),cancelButtonText:a.$t("quxiao"),type:"warning"}).then((function(){t.form1.message=e.message,t.form1.senderName=e.senderName,t.deleted=1,t.id=e.id,t.editRoomHistoryMsg()}))["catch"]((function(){t.$message({type:"info",message:a.$t("yiquxiaoshanchu")})}))},addRoomHistoryMsg:function(e){this.roomId=e,this.dialogFormVisible2=!0},openMatch:function(){this.dialogFormVisible1=!0},openUser:function(){this.dialogFormVisible4=!0},checkMatch:function(e){this.matchName=e.matchShortName,0===e.sportsType?this.$set(this.form,"categoryId",2):1===e.sportsType&&this.$set(this.form,"categoryId",3),this.$set(this.form,"matchId",e.id),this.dialogFormVisible1=!1},checkUser:function(e){this.userNames=e.userName,this.$set(this.form,"anchorId",e.id),this.dialogFormVisible4=!1},handleChange:function(e,t,a){this.fileList=a.slice(-1);var i=e.data,s=i.imageUrl,o=i.prefix;this.form.roomCover=o+s},handleRemove:function(e,t){},picPathBtn:function(e){"1"===e&&(this.fileList=[]),"2"===e&&this.$set(this.form,"tagImage","")},getBackGetMatchList:function(e){var t=this,a="";this.matchDate&&(a=this.fromDate(this.matchDate)),e&&(this.ps1=Object(o["a"])(Object(o["a"])({},this.ps1),{},{pageNo:1}));var i={pageNum:this.ps1.pageNo,pageSize:this.ps1.pageSize,endDate:"",matchDate:a,startDate:"",matchName:this.matchListName,teamName:this.teamName};this.$axios("post","/match/backGetMatchList",i).then((function(e){200===e.code&&(t.matchList=e.data.dataList,t.currents1={currentPage:e.data.pageNo,currentTotal:e.data.countSize})}))},getUserList:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t&&(this.ps4=Object(o["a"])(Object(o["a"])({},this.ps4),{},{pageNo:1}));var a={pageNum:this.ps4.pageNo,pageSize:this.ps4.pageSize,userName:this.userName,roomNum:this.roomNums,type:"1"};this.$axios("post","/backUser/backGetUserList",a).then((function(t){200===t.code&&(e.userList=t.data.dataList,e.currents4={currentPage:t.data.pageNo,currentTotal:t.data.countSize})}))},editRoomHistoryMsg:function(){var e=this,t={message:this.form1.message,roomId:this.roomId,deleted:this.deleted,id:this.id,senderName:this.form1.senderName};this.$refs.form1.validate((function(a){if(!a)return!1;e.$axios("post","/backRoom/editRoomHistoryMsg",t).then((function(t){200===t.code&&(e.dialogFormVisible2=!1,e.getRoomHistoryMsgList(1))}))}))},add:function(){this.isAdd=!0,this.dialogFormVisible=!0},update:function(e){this.form=Object.assign(this.form,e),null!==e.excludeChannels&&(this.checkedCities=e.excludeChannels.split(",")),this.matchName=e.matchName,this.userNames=e.anchorName,this.isAdd=!1,this.dialogFormVisible=!0},getRoomHistoryMsgList:function(e){var t=this;e&&(this.ps2.pageNo=1);var a={pageNum:this.ps2.pageNo,pageSize:this.ps2.pageSize,roomId:this.roomId};this.$axios("post","/backRoom/getRoomHistoryMsgList",a).then((function(e){200===e.code&&(t.historyMsg=e.data.dataList,t.currents2.currentTotal=e.data.countSize)}))},getInfo:function(e){var t=this;this.loading=!0,e&&(this.ps.pageNo=1);var a={recommend:this.recommend,showHome:this.showHome,showHot:this.showHot,roomNum:this.roomNum,anchorName:this.anchorName,type:this.type,pageNum:this.ps.pageNo,pageSize:this.ps.pageSize,roomName:this.search};this.$axios("post","/backRoom/getRoomList",a).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)}))},handleCurrentChange:function(e){this.ps.pageNo=e,this.getInfo()},handleCurrentChange1:function(e){this.ps1.pageNo=e,this.getBackGetMatchList()},handleCurrentChange2:function(e){this.ps2.pageNo=e,this.getRoomHistoryMsgList()},handleCurrentChange4:function(e){this.ps4.pageNo=e,this.getUserList()},addImg:function(){this.isAdd&&(this.$delete(this.form,"roomId"),this.$set(this.form,"showHome",0),this.$set(this.form,"showHot",0),this.$set(this.form,"recommend",0),this.$set(this.form,"type",0),this.$set(this.form,"enableFakeChat",0))},updateInfo:function(){var e=this;this.addImg();var t=this,a={deleted:this.form.deleted,recommend:this.form.recommend,showHome:this.form.showHome,showHot:this.form.showHot,type:this.form.type,hotNum:this.form.hotNum,roomId:this.form.huanXinRoomId,categoryId:this.form.categoryId,announcement:this.form.announcement,enableFakeChat:this.form.enableFakeChat,anchorId:this.form.anchorId,excludeChannels:this.checkedCities.join(","),matchId:this.form.matchId,roomName:this.form.roomName,linkAccount:this.form.linkAccount,linkType:this.form.linkType,roomCover:this.form.roomCover,qqGroupNum:this.form.qqGroupNum,qqNum:this.form.qqNum,wxNum:this.form.wxNum,liveUrl:this.form.liveUrl};this.$refs.form.validate((function(i){if(!i)return!1;e.$axios("post","/backRoom/editRoomById",a).then((function(a){200===a.code?(e.$message({type:"success",message:t.$t("caozuocg")+"!"}),e.getInfo(),e.clear()):e.$message({type:"warning",message:a.msg})}))}))},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},getChannelList:function(){var e=this;this.$axios("post","/channelBack/getChannelCode").then((function(t){200===t.code&&(e.channelList=t.data,e.checkedCities=t.data)}))},updateSumbit:function(){this.flag||this.updateInfo()},fromDate:function(e){var t=new Date(e),a=t.getMonth()+1,i=t.getDate();a<10&&(a="0"+(t.getMonth()+1)),i<10&&(i="0"+t.getDate());var s=t.getFullYear()+"-"+a+"-"+i;return s},getShortUrl:function(e){if(e){var t=e.split("//");if(t[1]){var a=t[1].split("/");return t[0]+"//"+a[0]+"/"+a[1]}return e}return e},changeStatus:function(e){var t=this,a=this,i=Object(o["a"])(Object(o["a"])({},e),{},{roomId:e.huanXinRoomId,deleted:0});this.$axios("post","/backRoom/editRoomById",i).then((function(e){200===e.code?t.$message({type:"success",message:a.$t("caozuocg")+"!"}):t.$message({type:"warning",message:e.msg}),t.getInfo()}))}}},n=r,c=(a("3a36"),a("2877")),m=Object(c["a"])(n,i,s,!1,null,null,null);t["default"]=m.exports},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,m=r("join",",");i({target:"Array",proto:!0,forced:c||!m},{join:function(e){return n(l(this),void 0===e?",":e)}})},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"),m=a("fc6a"),u=a("8418"),h=a("b622"),d=a("1dde"),f=a("f36a"),p=d("slice"),g=h("species"),b=s.Array,v=Math.max;i({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var a,i,s,h=m(this),d=c(h),p=n(e,d),w=n(void 0===t?d:t,d);if(o(h)&&(a=h.constructor,l(a)&&(a===b||o(a.prototype))?a=void 0:r(a)&&(a=a[g],null===a&&(a=void 0)),a===b||void 0===a))return f(h,p,w);for(i=new(void 0===a?b:a)(v(w-p,0)),s=0;p<w;p++,s++)p in h&&u(i,s,h[p]);return i.length=s,i}})}}]);
//# sourceMappingURL=chunk-1c58100a.26a9cb10.js.map
\ 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.
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.
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