Authored by yuanwei

qg

Showing 95 changed files with 89 additions and 0 deletions
No preview for this file type
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><meta name=renderer content=webkit><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><link rel=icon href=/favicon.ico><title>管理系统</title><link href=/static/css/app.61be220b.css rel=preload as=style><link href=/static/css/chunk-libs.3dfb7769.css rel=preload as=style><link href=/static/js/app.ec29a659.js rel=preload as=script><link href=/static/js/chunk-elementUI.dcdfcaa1.js rel=preload as=script><link href=/static/js/chunk-libs.fb9abe7d.js rel=preload as=script><link href=/static/css/chunk-libs.3dfb7769.css rel=stylesheet><link href=/static/css/app.61be220b.css rel=stylesheet></head><body><div id=app></div><script>(function(c){function e(e){for(var a,u,t=e[0],r=e[1],d=e[2],k=0,b=[];k<t.length;k++)u=t[k],Object.prototype.hasOwnProperty.call(f,u)&&f[u]&&b.push(f[u][0]),f[u]=0;for(a in r)Object.prototype.hasOwnProperty.call(r,a)&&(c[a]=r[a]);o&&o(e);while(b.length)b.shift()();return h.push.apply(h,d||[]),n()}function n(){for(var c,e=0;e<h.length;e++){for(var n=h[e],a=!0,u=1;u<n.length;u++){var t=n[u];0!==f[t]&&(a=!1)}a&&(h.splice(e--,1),c=r(r.s=n[0]))}return c}var a={},u={runtime:0},f={runtime:0},h=[];function t(c){return r.p+"static/js/"+({"chunk-commons":"chunk-commons"}[c]||c)+"."+{"chunk-0a7bb086":"ecfb2ad5","chunk-2d2105d3":"d4ca2bd4","chunk-2d230fe7":"042d38d1","chunk-726c64f8":"6d782ab7","chunk-2285fcb4":"5d19d527","chunk-937b8cd8":"07f264ea","chunk-a3530520":"ce55e0b0","chunk-acfe2b2e":"4546c6c2","chunk-ccccb78e":"01b2febc","chunk-commons":"3472c50d","chunk-027d13ab":"c6212181","chunk-04474937":"69539571","chunk-11f83f4a":"f7fa52de","chunk-198abeb0":"5f52a986","chunk-1b54c302":"ffe36fdb","chunk-1fc8c950":"f0a3deeb","chunk-20719ea2":"534b6ae0","chunk-2a636122":"e4896c2b","chunk-2b9c0322":"c5ad0878","chunk-2dd62484":"ee74dbaa","chunk-425b0f0c":"ad7ba620","chunk-47f71664":"06331fbd","chunk-4c08e2fb":"57f9d071","chunk-4da2c598":"8f0986a7","chunk-5df4fae9":"968202fe","chunk-09e7b21a":"b57f3b54","chunk-64662486":"b83f64ab","chunk-693fd402":"4070f9e5","chunk-6ff76bca":"391c1729","chunk-72fbf495":"4b52c5d3","chunk-74547b20":"c594f226","chunk-77fbd5ee":"b2175080","chunk-7aad7221":"c0e0e3c2","chunk-7b6d5a46":"94b6a963","chunk-7e5a136b":"fc7b3ff2","chunk-a4fc3cf6":"269f1914","chunk-b1995ef8":"76172be0","chunk-bcb19d76":"f5a1bd7f","chunk-c2d128da":"1ceae023","chunk-da137afc":"d03ab7cd","chunk-dfd6f9b0":"6d9855df","chunk-eba16876":"47ece906","chunk-e9803c72":"a4dd90c2","chunk-23d7438e":"0a329f6d","chunk-489b8c18":"1802c5e2","chunk-2125b98f":"2dec5356"}[c]+".js"}function r(e){if(a[e])return a[e].exports;var n=a[e]={i:e,l:!1,exports:{}};return c[e].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(c){var e=[],n={"chunk-0a7bb086":1,"chunk-a3530520":1,"chunk-acfe2b2e":1,"chunk-ccccb78e":1,"chunk-commons":1,"chunk-027d13ab":1,"chunk-04474937":1,"chunk-11f83f4a":1,"chunk-198abeb0":1,"chunk-1b54c302":1,"chunk-1fc8c950":1,"chunk-20719ea2":1,"chunk-2a636122":1,"chunk-2b9c0322":1,"chunk-2dd62484":1,"chunk-425b0f0c":1,"chunk-47f71664":1,"chunk-4c08e2fb":1,"chunk-4da2c598":1,"chunk-09e7b21a":1,"chunk-64662486":1,"chunk-693fd402":1,"chunk-6ff76bca":1,"chunk-72fbf495":1,"chunk-74547b20":1,"chunk-77fbd5ee":1,"chunk-7aad7221":1,"chunk-7b6d5a46":1,"chunk-7e5a136b":1,"chunk-a4fc3cf6":1,"chunk-b1995ef8":1,"chunk-bcb19d76":1,"chunk-c2d128da":1,"chunk-da137afc":1,"chunk-dfd6f9b0":1,"chunk-eba16876":1,"chunk-23d7438e":1};u[c]?e.push(u[c]):0!==u[c]&&n[c]&&e.push(u[c]=new Promise((function(e,n){for(var a="static/css/"+({"chunk-commons":"chunk-commons"}[c]||c)+"."+{"chunk-0a7bb086":"59f1b186","chunk-2d2105d3":"31d6cfe0","chunk-2d230fe7":"31d6cfe0","chunk-726c64f8":"31d6cfe0","chunk-2285fcb4":"31d6cfe0","chunk-937b8cd8":"31d6cfe0","chunk-a3530520":"57da5998","chunk-acfe2b2e":"bb0804b7","chunk-ccccb78e":"53ac87fa","chunk-commons":"4914ede7","chunk-027d13ab":"53ac87fa","chunk-04474937":"53ac87fa","chunk-11f83f4a":"53ac87fa","chunk-198abeb0":"53ac87fa","chunk-1b54c302":"53ac87fa","chunk-1fc8c950":"53ac87fa","chunk-20719ea2":"53ac87fa","chunk-2a636122":"53ac87fa","chunk-2b9c0322":"53ac87fa","chunk-2dd62484":"53ac87fa","chunk-425b0f0c":"53ac87fa","chunk-47f71664":"53ac87fa","chunk-4c08e2fb":"53ac87fa","chunk-4da2c598":"53ac87fa","chunk-5df4fae9":"31d6cfe0","chunk-09e7b21a":"53ac87fa","chunk-64662486":"53ac87fa","chunk-693fd402":"53ac87fa","chunk-6ff76bca":"53ac87fa","chunk-72fbf495":"53ac87fa","chunk-74547b20":"53ac87fa","chunk-77fbd5ee":"53ac87fa","chunk-7aad7221":"53ac87fa","chunk-7b6d5a46":"53ac87fa","chunk-7e5a136b":"53ac87fa","chunk-a4fc3cf6":"53ac87fa","chunk-b1995ef8":"53ac87fa","chunk-bcb19d76":"53ac87fa","chunk-c2d128da":"53ac87fa","chunk-da137afc":"53ac87fa","chunk-dfd6f9b0":"53ac87fa","chunk-eba16876":"53ac87fa","chunk-e9803c72":"31d6cfe0","chunk-23d7438e":"1b437ed3","chunk-489b8c18":"31d6cfe0","chunk-2125b98f":"31d6cfe0"}[c]+".css",f=r.p+a,h=document.getElementsByTagName("link"),t=0;t<h.length;t++){var d=h[t],k=d.getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(k===a||k===f))return e()}var b=document.getElementsByTagName("style");for(t=0;t<b.length;t++){d=b[t],k=d.getAttribute("data-href");if(k===a||k===f)return e()}var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.onload=e,o.onerror=function(e){var a=e&&e.target&&e.target.src||f,h=new Error("Loading CSS chunk "+c+" failed.\n("+a+")");h.code="CSS_CHUNK_LOAD_FAILED",h.request=a,delete u[c],o.parentNode.removeChild(o),n(h)},o.href=f;var i=document.getElementsByTagName("head")[0];i.appendChild(o)})).then((function(){u[c]=0})));var a=f[c];if(0!==a)if(a)e.push(a[2]);else{var h=new Promise((function(e,n){a=f[c]=[e,n]}));e.push(a[2]=h);var d,k=document.createElement("script");k.charset="utf-8",k.timeout=120,r.nc&&k.setAttribute("nonce",r.nc),k.src=t(c);var b=new Error;d=function(e){k.onerror=k.onload=null,clearTimeout(o);var n=f[c];if(0!==n){if(n){var a=e&&("load"===e.type?"missing":e.type),u=e&&e.target&&e.target.src;b.message="Loading chunk "+c+" failed.\n("+a+": "+u+")",b.name="ChunkLoadError",b.type=a,b.request=u,n[1](b)}f[c]=void 0}};var o=setTimeout((function(){d({type:"timeout",target:k})}),12e4);k.onerror=k.onload=d,document.head.appendChild(k)}return Promise.all(e)},r.m=c,r.c=a,r.d=function(c,e,n){r.o(c,e)||Object.defineProperty(c,e,{enumerable:!0,get:n})},r.r=function(c){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})},r.t=function(c,e){if(1&e&&(c=r(c)),8&e)return c;if(4&e&&"object"===typeof c&&c&&c.__esModule)return c;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:c}),2&e&&"string"!=typeof c)for(var a in c)r.d(n,a,function(e){return c[e]}.bind(null,a));return n},r.n=function(c){var e=c&&c.__esModule?function(){return c["default"]}:function(){return c};return r.d(e,"a",e),e},r.o=function(c,e){return Object.prototype.hasOwnProperty.call(c,e)},r.p="/",r.oe=function(c){throw console.error(c),c};var d=window["webpackJsonp"]=window["webpackJsonp"]||[],k=d.push.bind(d);d.push=e,d=d.slice();for(var b=0;b<d.length;b++)e(d[b]);var o=k;n()})([]);</script><script src=/static/js/chunk-elementUI.dcdfcaa1.js></script><script src=/static/js/chunk-libs.fb9abe7d.js></script><script src=/static/js/app.ec29a659.js></script></body></html>
\ No newline at end of file
... ...
This diff could not be displayed because it is too large.
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.wscn-http404-container[data-v-b188be08]{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);position:absolute;top:40%;left:50%}.wscn-http404[data-v-b188be08]{position:relative;width:1200px;padding:0 50px;overflow:hidden}.wscn-http404 .pic-404[data-v-b188be08]{position:relative;float:left;width:600px;overflow:hidden}.wscn-http404 .pic-404__parent[data-v-b188be08]{width:100%}.wscn-http404 .pic-404__child[data-v-b188be08]{position:absolute}.wscn-http404 .pic-404__child.left[data-v-b188be08]{width:80px;top:17px;left:220px;opacity:0;-webkit-animation-name:cloudLeft-data-v-b188be08;animation-name:cloudLeft-data-v-b188be08;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-delay:1s;animation-delay:1s}.wscn-http404 .pic-404__child.mid[data-v-b188be08]{width:46px;top:10px;left:420px;opacity:0;-webkit-animation-name:cloudMid-data-v-b188be08;animation-name:cloudMid-data-v-b188be08;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-delay:1.2s;animation-delay:1.2s}.wscn-http404 .pic-404__child.right[data-v-b188be08]{width:62px;top:100px;left:500px;opacity:0;-webkit-animation-name:cloudRight-data-v-b188be08;animation-name:cloudRight-data-v-b188be08;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-delay:1s;animation-delay:1s}@-webkit-keyframes cloudLeft-data-v-b188be08{0%{top:17px;left:220px;opacity:0}20%{top:33px;left:188px;opacity:1}80%{top:81px;left:92px;opacity:1}to{top:97px;left:60px;opacity:0}}@keyframes cloudLeft-data-v-b188be08{0%{top:17px;left:220px;opacity:0}20%{top:33px;left:188px;opacity:1}80%{top:81px;left:92px;opacity:1}to{top:97px;left:60px;opacity:0}}@-webkit-keyframes cloudMid-data-v-b188be08{0%{top:10px;left:420px;opacity:0}20%{top:40px;left:360px;opacity:1}70%{top:130px;left:180px;opacity:1}to{top:160px;left:120px;opacity:0}}@keyframes cloudMid-data-v-b188be08{0%{top:10px;left:420px;opacity:0}20%{top:40px;left:360px;opacity:1}70%{top:130px;left:180px;opacity:1}to{top:160px;left:120px;opacity:0}}@-webkit-keyframes cloudRight-data-v-b188be08{0%{top:100px;left:500px;opacity:0}20%{top:120px;left:460px;opacity:1}80%{top:180px;left:340px;opacity:1}to{top:200px;left:300px;opacity:0}}@keyframes cloudRight-data-v-b188be08{0%{top:100px;left:500px;opacity:0}20%{top:120px;left:460px;opacity:1}80%{top:180px;left:340px;opacity:1}to{top:200px;left:300px;opacity:0}}.wscn-http404 .bullshit[data-v-b188be08]{position:relative;float:left;width:300px;padding:30px 0;overflow:hidden}.wscn-http404 .bullshit__oops[data-v-b188be08]{font-size:32px;line-height:40px;color:#1482f0;margin-bottom:20px;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .bullshit__headline[data-v-b188be08],.wscn-http404 .bullshit__oops[data-v-b188be08]{font-weight:700;opacity:0;-webkit-animation-name:slideUp-data-v-b188be08;animation-name:slideUp-data-v-b188be08;-webkit-animation-duration:.5s;animation-duration:.5s}.wscn-http404 .bullshit__headline[data-v-b188be08]{font-size:20px;line-height:24px;color:#222;margin-bottom:10px;-webkit-animation-delay:.1s;animation-delay:.1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .bullshit__info[data-v-b188be08]{font-size:13px;line-height:21px;color:grey;margin-bottom:30px;-webkit-animation-delay:.2s;animation-delay:.2s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .bullshit__info[data-v-b188be08],.wscn-http404 .bullshit__return-home[data-v-b188be08]{opacity:0;-webkit-animation-name:slideUp-data-v-b188be08;animation-name:slideUp-data-v-b188be08;-webkit-animation-duration:.5s;animation-duration:.5s}.wscn-http404 .bullshit__return-home[data-v-b188be08]{display:block;float:left;width:110px;height:36px;background:#1482f0;border-radius:100px;text-align:center;color:#fff;font-size:14px;line-height:36px;cursor:pointer;-webkit-animation-delay:.3s;animation-delay:.3s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes slideUp-data-v-b188be08{0%{-webkit-transform:translateY(60px);transform:translateY(60px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes slideUp-data-v-b188be08{0%{-webkit-transform:translateY(60px);transform:translateY(60px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.box-center[data-v-12b81773]{margin:0 auto;display:table}.text-muted[data-v-12b81773]{color:#777}.user-profile .user-name[data-v-12b81773]{font-weight:700}.user-profile .box-center[data-v-12b81773]{padding-top:10px}.user-profile .user-role[data-v-12b81773]{padding-top:10px;font-weight:400;font-size:14px}.user-profile .box-social[data-v-12b81773]{padding-top:30px}.user-profile .box-social .el-table[data-v-12b81773]{border-top:1px solid #dfe6ec}.user-profile .user-follow[data-v-12b81773]{padding-top:20px}.user-bio[data-v-12b81773]{margin-top:20px;color:#606266}.user-bio span[data-v-12b81773]{padding-left:4px}.user-bio .user-bio-section[data-v-12b81773]{font-size:14px;padding:15px 0}.user-bio .user-bio-section .user-bio-section-header[data-v-12b81773]{border-bottom:1px solid #dfe6ec;padding-bottom:10px;margin-bottom:10px;font-weight:700}.panel-group[data-v-28bf3371]{margin-top:18px}.panel-group .card-panel-col[data-v-28bf3371]{margin-bottom:32px}.panel-group .card-panel[data-v-28bf3371]{height:108px;cursor:pointer;font-size:12px;position:relative;overflow:hidden;color:#666;background:#fff;-webkit-box-shadow:4px 4px 40px rgba(0,0,0,.05);box-shadow:4px 4px 40px rgba(0,0,0,.05);border-color:rgba(0,0,0,.05)}.panel-group .card-panel:hover .card-panel-icon-wrapper[data-v-28bf3371]{color:#fff}.panel-group .card-panel:hover .icon-people[data-v-28bf3371]{background:#40c9c6}.panel-group .card-panel:hover .icon-message[data-v-28bf3371]{background:#36a3f7}.panel-group .card-panel:hover .icon-money[data-v-28bf3371]{background:#f4516c}.panel-group .card-panel:hover .icon-shopping[data-v-28bf3371]{background:#34bfa3}.panel-group .card-panel .icon-people[data-v-28bf3371]{color:#40c9c6}.panel-group .card-panel .icon-message[data-v-28bf3371]{color:#36a3f7}.panel-group .card-panel .icon-money[data-v-28bf3371]{color:#f4516c}.panel-group .card-panel .icon-shopping[data-v-28bf3371]{color:#34bfa3}.panel-group .card-panel .card-panel-icon-wrapper[data-v-28bf3371]{float:left;margin:14px 0 0 14px;padding:16px;-webkit-transition:all .38s ease-out;transition:all .38s ease-out;border-radius:6px}.panel-group .card-panel .card-panel-icon[data-v-28bf3371]{float:left;font-size:48px}.panel-group .card-panel .card-panel-description[data-v-28bf3371]{float:right;font-weight:700;margin:26px;margin-left:0}.panel-group .card-panel .card-panel-description .card-panel-text[data-v-28bf3371]{line-height:18px;color:rgba(0,0,0,.45);font-size:16px;margin-bottom:12px}.panel-group .card-panel .card-panel-description .card-panel-num[data-v-28bf3371]{font-size:20px}@media(max-width:550px){.card-panel-description[data-v-28bf3371]{display:none}.card-panel-icon-wrapper[data-v-28bf3371]{float:none!important;width:100%;height:100%;margin:0!important}.card-panel-icon-wrapper .svg-icon[data-v-28bf3371]{display:block;margin:14px auto!important;float:none!important}}.dashboard-editor-container[data-v-12f9160e]{padding:32px;background-color:#f0f2f5;position:relative}.dashboard-editor-container .github-corner[data-v-12f9160e]{position:absolute;top:0;border:0;right:0}.dashboard-editor-container .chart-wrapper[data-v-12f9160e]{background:#fff;padding:16px 16px 0;margin-bottom:32px}@media(max-width:1024px){.chart-wrapper[data-v-12f9160e]{padding:8px}}.box-center[data-v-976d7bc8]{margin:0 auto;display:table}.text-muted[data-v-976d7bc8]{color:#777}.user-profile .user-name[data-v-976d7bc8]{font-weight:700}.user-profile .box-center[data-v-976d7bc8]{padding-top:10px}.user-profile .user-role[data-v-976d7bc8]{padding-top:10px;font-weight:400;font-size:14px}.user-profile .box-social[data-v-976d7bc8]{padding-top:30px}.user-profile .box-social .el-table[data-v-976d7bc8]{border-top:1px solid #dfe6ec}.user-profile .user-follow[data-v-976d7bc8]{padding-top:20px}.user-bio[data-v-976d7bc8]{margin-top:20px;color:#606266}.user-bio span[data-v-976d7bc8]{padding-left:4px}.user-bio .user-bio-section[data-v-976d7bc8]{font-size:14px;padding:15px 0}.user-bio .user-bio-section .user-bio-section-header[data-v-976d7bc8]{border-bottom:1px solid #dfe6ec;padding-bottom:10px;margin-bottom:10px;font-weight:700}.panel-group[data-v-36c59ed5]{margin-top:18px}.panel-group .card-panel-col[data-v-36c59ed5]{margin-bottom:32px}.panel-group .card-panel[data-v-36c59ed5]{height:108px;cursor:pointer;font-size:12px;position:relative;overflow:hidden;color:#666;background:#fff;-webkit-box-shadow:4px 4px 40px rgba(0,0,0,.05);box-shadow:4px 4px 40px rgba(0,0,0,.05);border-color:rgba(0,0,0,.05)}.panel-group .card-panel:hover .card-panel-icon-wrapper[data-v-36c59ed5]{color:#fff}.panel-group .card-panel:hover .icon-people[data-v-36c59ed5]{background:#40c9c6}.panel-group .card-panel:hover .icon-message[data-v-36c59ed5]{background:#36a3f7}.panel-group .card-panel:hover .icon-money[data-v-36c59ed5]{background:#f4516c}.panel-group .card-panel:hover .icon-shopping[data-v-36c59ed5]{background:#34bfa3}.panel-group .card-panel .icon-people[data-v-36c59ed5]{color:#40c9c6}.panel-group .card-panel .icon-message[data-v-36c59ed5]{color:#36a3f7}.panel-group .card-panel .icon-money[data-v-36c59ed5]{color:#f4516c}.panel-group .card-panel .icon-shopping[data-v-36c59ed5]{color:#34bfa3}.panel-group .card-panel .card-panel-icon-wrapper[data-v-36c59ed5]{float:left;margin:14px 0 0 14px;padding:16px;-webkit-transition:all .38s ease-out;transition:all .38s ease-out;border-radius:6px}.panel-group .card-panel .card-panel-icon[data-v-36c59ed5]{float:left;font-size:48px}.panel-group .card-panel .card-panel-description[data-v-36c59ed5]{float:right;font-weight:700;margin:26px;margin-left:0}.panel-group .card-panel .card-panel-description .card-panel-text[data-v-36c59ed5]{line-height:18px;color:rgba(0,0,0,.45);font-size:16px;margin-bottom:12px}.panel-group .card-panel .card-panel-description .card-panel-num[data-v-36c59ed5]{font-size:20px}@media(max-width:550px){.card-panel-description[data-v-36c59ed5]{display:none}.card-panel-icon-wrapper[data-v-36c59ed5]{float:none!important;width:100%;height:100%;margin:0!important}.card-panel-icon-wrapper .svg-icon[data-v-36c59ed5]{display:block;margin:14px auto!important;float:none!important}}.dashboard-editor-container[data-v-1f119a86]{padding:32px;background-color:#f0f2f5;position:relative}.dashboard-editor-container .github-corner[data-v-1f119a86]{position:absolute;top:0;border:0;right:0}.dashboard-editor-container .chart-wrapper[data-v-1f119a86]{background:#fff;padding:16px 16px 0;margin-bottom:32px}@media(max-width:1024px){.chart-wrapper[data-v-1f119a86]{padding:8px}}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
@supports(-webkit-mask:none) and (not (cater-color:#fff)){.login-container .el-input input{color:#fff}}.login-container .el-input{display:inline-block;height:47px;width:85%}.login-container .el-input input{background:transparent;border:0;-webkit-appearance:none;border-radius:0;padding:12px 5px 12px 15px;color:#fff;height:47px;caret-color:#fff}.login-container .el-input input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #283443 inset!important;box-shadow:inset 0 0 0 1000px #283443!important;-webkit-text-fill-color:#fff!important}.login-container .el-form-item{border:1px solid hsla(0,0%,100%,.1);background:rgba(0,0,0,.1);border-radius:5px;color:#454545}.login-container[data-v-7a05d883]{min-height:100%;width:100%;background-color:#2d3a4b;overflow:hidden}.login-container .login-form[data-v-7a05d883]{position:relative;width:520px;max-width:100%;padding:160px 35px 0;margin:0 auto;overflow:hidden}.login-container .svg-container[data-v-7a05d883]{padding:6px 5px 6px 15px;color:#889aa4;vertical-align:middle;width:30px;display:inline-block}.login-container .title-container[data-v-7a05d883]{position:relative}.login-container .title-container .title[data-v-7a05d883]{font-size:26px;color:#eee;margin:0 auto 40px auto;text-align:center;font-weight:700}.login-container .show-pwd[data-v-7a05d883]{position:absolute;right:10px;top:7px;font-size:16px;color:#889aa4;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.errPage-container[data-v-6de193e6]{width:800px;max-width:100%;margin:100px auto}.errPage-container .pan-back-btn[data-v-6de193e6]{background:#008489;color:#fff;border:none!important}.errPage-container .pan-gif[data-v-6de193e6]{margin:0 auto;display:block}.errPage-container .pan-img[data-v-6de193e6]{display:block;margin:0 auto;width:100%}.errPage-container .text-jumbo[data-v-6de193e6]{font-size:60px;font-weight:700;color:#484848}.errPage-container .list-unstyled[data-v-6de193e6]{font-size:14px}.errPage-container .list-unstyled li[data-v-6de193e6]{padding-bottom:5px}.errPage-container .list-unstyled a[data-v-6de193e6]{color:#008489;text-decoration:none}.errPage-container .list-unstyled a[data-v-6de193e6]:hover{text-decoration:underline}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.pagination-container[data-v-62d0b9ef]{background:#fff;padding:32px 16px}.pagination-container.hidden[data-v-62d0b9ef]{display:none}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}
\ No newline at end of file
... ...
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}[hidden],template{display:none}#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;-webkit-box-shadow:0 0 10px #29d,0 0 5px #29d;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;-webkit-transform:rotate(3deg) translateY(-4px);transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;-webkit-box-sizing:border-box;box-sizing:border-box;border:2px solid transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}
\ No newline at end of file
... ...
No preview for this file type
No preview for this file type
This diff could not be displayed because it is too large.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-027d13ab"],{"09f4":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),Math.easeInOutQuad=function(e,t,n,i){return e/=i/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function a(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function r(e,t,n){var r=o(),s=e-r,l=20,c=0;t="undefined"===typeof t?500:t;var u=function e(){c+=l;var o=Math.easeInOutQuad(c,r,s,t);a(o),c<t?i(e):n&&"function"===typeof n&&n()};u()}},"323c":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.listQuery}},[n("el-form-item",{attrs:{label:"日期"}},[n("el-date-picker",{staticClass:"filter-item",attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:e.listQuery.time_range,callback:function(t){e.$set(e.listQuery,"time_range",t)},expression:"listQuery.time_range"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v(" 搜索 ")])],1)],1)],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":e.sortChange}},[n("el-table-column",{attrs:{label:"支付渠道",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.name))])]}}])}),n("el-table-column",{attrs:{label:"总计",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.allmoney))])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}})],1)},a=[],o=(n("13d5"),n("cd05")),r=n("6724"),s=n("333d"),l=["下线","上线"],c=["普通","推荐"],u=["普通","首页"],d=[{key:"1",display_name:"电影"},{key:"2",display_name:"电视剧"},{key:"3",display_name:"短视频"}],f=d.reduce((function(e,t){return e[t.key]=t.display_name,e}),{}),p={name:"ReportKeepList",components:{Pagination:s["a"]},directives:{waves:r["a"]},filters:{typeFilter:function(e){return f[e]},isCheckFilter:function(e){return l[e]},betterShowFilter:function(e){return c[e]},homeShowFilter:function(e){return u[e]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,id:void 0,channel:void 0,time_range:void 0,check_sort:"inpour",sort:"id desc"},typesOptions:[],viewTypeOptions:d,showPlays:!1,showLikes:!1,showDislikes:!1,showTariffVip:!1,showTariffUsr:!1,showCreateTime:!1,showReleaseTime:!1,openSort:!1,newVideo:{},dialogFormVisible:!1,dialogStatus:"",textMap:{update:"编辑",create:"创建",coin:"金币充值"},rules:{name:[{required:!0,message:"请输入片名",trigger:"blur"}],coin_type:[{required:!0,message:"请选择类型",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(o["d"])(this.listQuery).then((function(t){e.total=t.data.total,e.list=t.data.list,e.listLoading=!1}))},takeViewType:function(e){return f[e]},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(e){var t=e.prop,n=e.order;this.listQuery.sort="ascending"===n?t:t+" desc",this.handleFilter()},handleUpdate:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="update",this.dialogFormVisible=!0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},handleCoin:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="coin",this.dialogFormVisible=!0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},getSortClass:function(){var e=this.listQuery.sort;return"id"===e?"ascending":"descending"}}},m=p,h=n("2877"),g=Object(h["a"])(m,i,a,!1,null,null,null);t["default"]=g.exports},6724:function(e,t,n){"use strict";n("8d41");var i="@@wavesContext";function a(e,t){function n(n){var i=Object.assign({},t.value),a=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),o=a.ele;if(o){o.style.position="relative",o.style.overflow="hidden";var r=o.getBoundingClientRect(),s=o.querySelector(".waves-ripple");switch(s?s.className="waves-ripple":(s=document.createElement("span"),s.className="waves-ripple",s.style.height=s.style.width=Math.max(r.width,r.height)+"px",o.appendChild(s)),a.type){case"center":s.style.top=r.height/2-s.offsetHeight/2+"px",s.style.left=r.width/2-s.offsetWidth/2+"px";break;default:s.style.top=(n.pageY-r.top-s.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",s.style.left=(n.pageX-r.left-s.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return s.style.backgroundColor=a.color,s.className="waves-ripple z-active",!1}}return e[i]?e[i].removeHandle=n:e[i]={removeHandle:n},n}var o={bind:function(e,t){e.addEventListener("click",a(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[i].removeHandle,!1),e.addEventListener("click",a(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[i].removeHandle,!1),e[i]=null,delete e[i]}},r=function(e){e.directive("waves",o)};window.Vue&&(window.waves=o,Vue.use(r)),o.install=r;t["a"]=o},"8d41":function(e,t,n){},cd05:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return o})),n.d(t,"f",(function(){return r})),n.d(t,"e",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"a",(function(){return c}));var i=n("b775");function a(e){return Object(i["a"])({url:"/api/admin/finance/channel_list",method:"get",params:e})}function o(e){return Object(i["a"])({url:"/api/admin/finance/channel_info",method:"get",params:e})}function r(e){return Object(i["a"])({url:"/api/admin/finance/update_channel",method:"post",data:e})}function s(e){return Object(i["a"])({url:"/api/admin/finance/remit",method:"post",data:e})}function l(e){return Object(i["a"])({url:"/api/admin/finance/pay_list",method:"get",params:e})}function c(e){return Object(i["a"])({url:"/api/admin/finance/all_remit",method:"post",data:e})}}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-04474937"],{"09f4":function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),Math.easeInOutQuad=function(e,t,n,i){return e/=i/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function a(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(e,t,n){var o=r(),l=e-o,s=20,c=0;t="undefined"===typeof t?500:t;var d=function e(){c+=s;var r=Math.easeInOutQuad(c,o,l,t);a(r),c<t?i(e):n&&"function"===typeof n&&n()};d()}},"261f":function(e,t,n){"use strict";n.d(t,"q",(function(){return a})),n.d(t,"d",(function(){return r})),n.d(t,"l",(function(){return o})),n.d(t,"h",(function(){return l})),n.d(t,"m",(function(){return s})),n.d(t,"a",(function(){return c})),n.d(t,"i",(function(){return d})),n.d(t,"e",(function(){return u})),n.d(t,"p",(function(){return p})),n.d(t,"c",(function(){return f})),n.d(t,"k",(function(){return m})),n.d(t,"g",(function(){return h})),n.d(t,"o",(function(){return v})),n.d(t,"b",(function(){return b})),n.d(t,"j",(function(){return g})),n.d(t,"f",(function(){return w})),n.d(t,"n",(function(){return y}));var i=n("b775");function a(e){return Object(i["a"])({url:"/api/admin/advert/start_list",method:"get",params:e})}function r(e){return Object(i["a"])({url:"/api/admin/advert/create_start",method:"post",data:e})}function o(e){return Object(i["a"])({url:"/api/admin/advert/update_start",method:"post",data:e})}function l(e){return Object(i["a"])({url:"/api/admin/advert/delete_start",method:"post",data:e})}function s(e){return Object(i["a"])({url:"/api/admin/advert/banner_list",method:"get",params:e})}function c(e){return Object(i["a"])({url:"/api/admin/advert/create_banner",method:"post",data:e})}function d(e){return Object(i["a"])({url:"/api/admin/advert/update_banner",method:"post",data:e})}function u(e){return Object(i["a"])({url:"/api/admin/advert/delete_banner",method:"post",data:e})}function p(e){return Object(i["a"])({url:"/api/admin/advert/playerdown_list",method:"get",params:e})}function f(e){return Object(i["a"])({url:"/api/admin/advert/create_playerdown",method:"post",data:e})}function m(e){return Object(i["a"])({url:"/api/admin/advert/update_playerdown",method:"post",data:e})}function h(e){return Object(i["a"])({url:"/api/admin/advert/delete_playerdown",method:"post",data:e})}function v(e){return Object(i["a"])({url:"/api/admin/advert/mycentre_list",method:"get",params:e})}function b(e){return Object(i["a"])({url:"/api/admin/advert/create_mycentre",method:"post",data:e})}function g(e){return Object(i["a"])({url:"/api/admin/advert/update_mycentre",method:"post",data:e})}function w(e){return Object(i["a"])({url:"/api/admin/advert/delete_mycentre",method:"post",data:e})}function y(e){return Object(i["a"])({url:"/api/admin/cache/clearAdvertCache",method:"get",params:e})}},6724:function(e,t,n){"use strict";n("8d41");var i="@@wavesContext";function a(e,t){function n(n){var i=Object.assign({},t.value),a=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),r=a.ele;if(r){r.style.position="relative",r.style.overflow="hidden";var o=r.getBoundingClientRect(),l=r.querySelector(".waves-ripple");switch(l?l.className="waves-ripple":(l=document.createElement("span"),l.className="waves-ripple",l.style.height=l.style.width=Math.max(o.width,o.height)+"px",r.appendChild(l)),a.type){case"center":l.style.top=o.height/2-l.offsetHeight/2+"px",l.style.left=o.width/2-l.offsetWidth/2+"px";break;default:l.style.top=(n.pageY-o.top-l.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",l.style.left=(n.pageX-o.left-l.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return l.style.backgroundColor=a.color,l.className="waves-ripple z-active",!1}}return e[i]?e[i].removeHandle=n:e[i]={removeHandle:n},n}var r={bind:function(e,t){e.addEventListener("click",a(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[i].removeHandle,!1),e.addEventListener("click",a(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[i].removeHandle,!1),e[i]=null,delete e[i]}},o=function(e){e.directive("waves",r)};window.Vue&&(window.waves=r,Vue.use(o)),r.install=o;t["a"]=r},"8d41":function(e,t,n){},e902:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:e.handleCreate}},[e._v(" 创建 ")])],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":e.sortChange}},[n("el-table-column",{attrs:{label:"ID",prop:"id",sortable:"custom",align:"center",width:"80","class-name":e.getSortClass()},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.id))])]}}])}),n("el-table-column",{attrs:{label:"标题","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.title))])]}}])}),n("el-table-column",{attrs:{label:"广告","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(e){var t=e.row;return[n("el-image",{staticStyle:{width:"100px",height:"100px"},attrs:{src:t.img,fit:"fill"}})]}}])}),n("el-table-column",{attrs:{label:"外链","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.url))])]}}])}),n("el-table-column",{attrs:{label:"展示时间",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.showtime))])]}}])}),n("el-table-column",{attrs:{label:"状态",align:"center",width:"80","class-name":"small-padding fixed-width",prop:"ischeck",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[1==i.ischeck?n("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(t){return e.handleCheckStatus(i,0)}}},[e._v(" "+e._s(e._f("isCheckFilter")(i.ischeck))+" ")]):e._e(),0==i.ischeck?n("el-button",{attrs:{size:"mini",type:"draft"},on:{click:function(t){return e.handleCheckStatus(i,1)}}},[e._v(" "+e._s(e._f("isCheckFilter")(i.ischeck))+" ")]):e._e()]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center",width:"200","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row,a=t.$index;return[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.handleUpdate(i)}}},[e._v(" 编辑 ")]),n("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(t){return e.handleDelete(i,a)}}},[e._v(" 删除 ")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}}),n("el-dialog",{attrs:{title:e.textMap[e.dialogStatus],visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[n("el-form",{ref:"dataForm",staticStyle:{width:"400px","margin-left":"50px"},attrs:{rules:e.rules,model:e.newVideo,"label-position":"right","label-width":"70px"}},[n("el-form-item",{attrs:{label:"标题",prop:"title"}},[n("el-input",{model:{value:e.newVideo.title,callback:function(t){e.$set(e.newVideo,"title",t)},expression:"newVideo.title"}})],1),n("el-form-item",{attrs:{label:"类型",prop:"type"}},[n("el-select",{staticClass:"filter-item",attrs:{placeholder:"选择一个类型"},model:{value:e.newVideo.type,callback:function(t){e.$set(e.newVideo,"type",t)},expression:"newVideo.type"}},[n("el-option",{key:"1",attrs:{label:"外链",value:"1"}}),n("el-option",{key:"2",attrs:{label:"影片",value:"2"}})],1)],1),n("el-form-item",{attrs:{label:"图片链接",prop:"img"}},[n("el-input",{model:{value:e.newVideo.img,callback:function(t){e.$set(e.newVideo,"img",t)},expression:"newVideo.img"}})],1),n("el-form-item",{attrs:{label:"外链",prop:"url"}},[n("el-input",{model:{value:e.newVideo.url,callback:function(t){e.$set(e.newVideo,"url",t)},expression:"newVideo.url"}})],1),n("el-form-item",{attrs:{label:"展示时间",prop:"showtime"}},[n("el-input",{model:{value:e.newVideo.showtime,callback:function(t){e.$set(e.newVideo,"showtime",t)},expression:"newVideo.showtime"}})],1),n("el-form-item",{attrs:{label:"开启",prop:"ischeck"}},[n("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:e.newVideo.ischeck,callback:function(t){e.$set(e.newVideo,"ischeck",t)},expression:"newVideo.ischeck"}})],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.dialogFormVisible=!1}}},[e._v(" 取消 ")]),n("el-button",{attrs:{type:"primary"},on:{click:function(t){"create"===e.dialogStatus?e.createData():e.updateData()}}},[e._v(" 提交 ")])],1)],1)],1)},a=[],r=(n("c740"),n("13d5"),n("a434"),n("261f")),o=n("6724"),l=n("333d"),s=["关闭","打开"],c=["普通","推荐"],d=["否","是"],u=[{key:"1",display_name:"外链"},{key:"2",display_name:"影片"}],p=u.reduce((function(e,t){return e[t.key]=t.display_name,e}),{}),f={name:"AdvertPlayerdown",components:{Pagination:l["a"]},directives:{waves:o["a"]},filters:{isCheckFilter:function(e){return s[e]},betterShowFilter:function(e){return c[e]},homeShowFilter:function(e){return d[e]},typeFilter:function(e){return p[e]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,view_type:void 0,video_type:void 0,name:void 0,sort:"id desc"},newVideo:{},dialogFormVisible:!1,dialogStatus:"",textMap:{update:"编辑",create:"创建"},openSort:!1,viewTypeOptions:u,rules:{content:[{required:!0,message:"请输入内容",trigger:"blur"}],type:[{required:!0,message:"请选择类型",trigger:"blur"}],pay_order:[{required:!0,message:"排序必须输入",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(r["p"])(this.listQuery).then((function(t){e.total=t.data.total,e.list=t.data.list,e.listLoading=!1}))},takeViewType:function(e){return p[e]},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(e){var t=e.prop,n=e.order;this.listQuery.sort="ascending"===n?t:t+" desc",this.handleFilter()},handleUpdate:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="update",this.dialogFormVisible=!0,this.newVideo.show_view_type=this.takeViewType(this.newVideo.pay_type),this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},updateData:function(){var e=this;this.$refs["dataForm"].validate((function(t){if(t){var n=Object.assign({},e.newVideo);Object(r["k"])(n).then((function(){var t=e.list.findIndex((function(t){return t.id===e.newVideo.id}));e.list.splice(t,1,e.newVideo),e.dialogFormVisible=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},handleDelete:function(e,t){var n=this;this.listLoading=!0,Object(r["g"])(e).then((function(){n.list.splice(t,1),n.listLoading=!1,n.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){n.listLoading=!1}))},handleCreate:function(e,t){var n=this;this.newVideo={},this.dialogStatus="create",this.dialogFormVisible=!0,this.$nextTick((function(){n.$refs["dataForm"].clearValidate()}))},createData:function(){var e=this;this.$refs["dataForm"].validate((function(t){t&&Object(r["c"])(e.newVideo).then((function(){e.dialogFormVisible=!1,e.getList(),e.$notify({title:"Success",message:"创建成功",type:"success",duration:2e3})}))}))},getSortClass:function(){var e=this.listQuery.sort;return"id"===e?"ascending":"descending"}}},m=f,h=n("2877"),v=Object(h["a"])(m,i,a,!1,null,null,null);t["default"]=v.exports}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-09e7b21a"],{"093a":function(e,t,i){"use strict";i.d(t,"h",(function(){return a})),i.d(t,"n",(function(){return l})),i.d(t,"x",(function(){return o})),i.d(t,"y",(function(){return s})),i.d(t,"b",(function(){return r})),i.d(t,"m",(function(){return c})),i.d(t,"p",(function(){return u})),i.d(t,"r",(function(){return d})),i.d(t,"v",(function(){return p})),i.d(t,"w",(function(){return f})),i.d(t,"g",(function(){return m})),i.d(t,"l",(function(){return h})),i.d(t,"a",(function(){return b})),i.d(t,"s",(function(){return _})),i.d(t,"i",(function(){return v})),i.d(t,"d",(function(){return y})),i.d(t,"q",(function(){return w})),i.d(t,"f",(function(){return g})),i.d(t,"k",(function(){return k})),i.d(t,"u",(function(){return V})),i.d(t,"c",(function(){return x})),i.d(t,"o",(function(){return S})),i.d(t,"e",(function(){return C})),i.d(t,"t",(function(){return O})),i.d(t,"j",(function(){return $}));var n=i("b775");function a(e){return Object(n["a"])({url:"/api/admin/video/create",method:"post",data:e})}function l(e){return Object(n["a"])({url:"/api/admin/video/video_list",method:"get",params:e})}function o(e){return Object(n["a"])({url:"/api/admin/video/update",method:"post",data:e})}function s(e){return Object(n["a"])({url:"/api/admin/video/update_all",method:"post",data:e})}function r(e){return Object(n["a"])({url:"/api/admin/video/check_video",method:"post",data:e})}function c(e){return Object(n["a"])({url:"/api/admin/video/delete",method:"post",data:e})}function u(e){return Object(n["a"])({url:"/api/admin/video/push",method:"post",data:e})}function d(e){return Object(n["a"])({url:"/api/admin/video/type_list",method:"get",params:e})}function p(e){return Object(n["a"])({url:"/api/admin/video/update_type",method:"post",data:e})}function f(e){return Object(n["a"])({url:"/api/admin/video/update_type_all",method:"post",data:e})}function m(e){return Object(n["a"])({url:"/api/admin/video/create_type",method:"post",data:e})}function h(e){return Object(n["a"])({url:"/api/admin/video/delete_type",method:"post",data:e})}function b(e){return Object(n["a"])({url:"/api/admin/video/actor_list",method:"post",data:e})}function _(e){return Object(n["a"])({url:"/api/admin/video/update_actor",method:"post",data:e})}function v(e){return Object(n["a"])({url:"/api/admin/video/delete_actor",method:"post",data:e})}function y(e){return Object(n["a"])({url:"/api/admin/video/create_actor",method:"post",data:e})}function w(e){return Object(n["a"])({url:"/api/admin/video/rank_list",method:"get",params:e})}function g(e){return Object(n["a"])({url:"/api/admin/video/create_rank",method:"post",data:e})}function k(e){return Object(n["a"])({url:"/api/admin/video/delete_rank",method:"post",data:e})}function V(e){return Object(n["a"])({url:"/api/admin/video/update_rank",method:"post",data:e})}function x(e){return Object(n["a"])({url:"/api/admin/cache/clearVideoCache",method:"get",params:e})}function S(e){return Object(n["a"])({url:"/api/admin/video/label_list",method:"get",params:e})}function C(e){return Object(n["a"])({url:"/api/admin/video/create_label",method:"post",data:e})}function O(e){return Object(n["a"])({url:"/api/admin/video/update_label",method:"post",data:e})}function $(e){return Object(n["a"])({url:"/api/admin/video/delete_label",method:"post",data:e})}},"09f4":function(e,t,i){"use strict";i.d(t,"a",(function(){return o})),Math.easeInOutQuad=function(e,t,i,n){return e/=n/2,e<1?i/2*e*e+t:(e--,-i/2*(e*(e-2)-1)+t)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function a(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function l(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(e,t,i){var o=l(),s=e-o,r=20,c=0;t="undefined"===typeof t?500:t;var u=function e(){c+=r;var l=Math.easeInOutQuad(c,o,s,t);a(l),c<t?n(e):i&&"function"===typeof i&&i()};u()}},6724:function(e,t,i){"use strict";i("8d41");var n="@@wavesContext";function a(e,t){function i(i){var n=Object.assign({},t.value),a=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},n),l=a.ele;if(l){l.style.position="relative",l.style.overflow="hidden";var o=l.getBoundingClientRect(),s=l.querySelector(".waves-ripple");switch(s?s.className="waves-ripple":(s=document.createElement("span"),s.className="waves-ripple",s.style.height=s.style.width=Math.max(o.width,o.height)+"px",l.appendChild(s)),a.type){case"center":s.style.top=o.height/2-s.offsetHeight/2+"px",s.style.left=o.width/2-s.offsetWidth/2+"px";break;default:s.style.top=(i.pageY-o.top-s.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",s.style.left=(i.pageX-o.left-s.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return s.style.backgroundColor=a.color,s.className="waves-ripple z-active",!1}}return e[n]?e[n].removeHandle=i:e[n]={removeHandle:i},i}var l={bind:function(e,t){e.addEventListener("click",a(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[n].removeHandle,!1),e.addEventListener("click",a(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[n].removeHandle,!1),e[n]=null,delete e[n]}},o=function(e){e.directive("waves",l)};window.Vue&&(window.waves=l,Vue.use(o)),l.install=o;t["a"]=l},"8d41":function(e,t,i){},ad5c:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"app-container"},[i("div",{staticClass:"filter-container"},[i("el-input",{staticClass:"filter-item",staticStyle:{width:"200px"},attrs:{placeholder:"ID"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleFilter(t)}},model:{value:e.listQuery.id,callback:function(t){e.$set(e.listQuery,"id",t)},expression:"listQuery.id"}}),i("el-input",{staticClass:"filter-item",staticStyle:{width:"200px"},attrs:{placeholder:"片名"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleFilter(t)}},model:{value:e.listQuery.name,callback:function(t){e.$set(e.listQuery,"name",t)},expression:"listQuery.name"}}),i("el-select",{staticClass:"filter-item",staticStyle:{width:"90px"},attrs:{placeholder:"类型",clearable:""},model:{value:e.listQuery.view_type,callback:function(t){e.$set(e.listQuery,"view_type",t)},expression:"listQuery.view_type"}},e._l(e.viewTypeOptions,(function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),1),i("el-select",{staticClass:"filter-item",staticStyle:{width:"130px"},attrs:{placeholder:"分类",clearable:""},model:{value:e.listQuery.video_type,callback:function(t){e.$set(e.listQuery,"video_type",t)},expression:"listQuery.video_type"}},e._l(e.typesOptions,(function(e){return i("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1),i("el-button",{staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v(" 搜索 ")]),0==e.listQuery.varieties?i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){return e.handleVarieties(1)}}},[e._v(" 视频 ")]):e._e(),1==e.listQuery.varieties?i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"warning",icon:"el-icon-edit"},on:{click:function(t){return e.handleVarieties(0)}}},[e._v(" 点播 ")]):e._e(),e.openSort?e._e():i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:e.handleSort}},[e._v(" 排序 ")]),e.openSort?i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"success",icon:"el-icon-edit"},on:{click:e.handleSortConfirm}},[e._v(" 确认 ")]):e._e(),e.openSort?i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"danger",icon:"el-icon-edit"},on:{click:e.handleSortCancel}},[e._v(" 取消 ")]):e._e(),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:e.handleCreate}},[e._v(" 创建 ")]),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"danger",icon:"el-icon-delete"},on:{click:e.handleClearCache}},[e._v(" 清除缓存 ")]),i("el-checkbox",{staticClass:"filter-item",staticStyle:{"margin-left":"15px"},on:{change:function(t){e.tableKey=e.tableKey+1}},model:{value:e.showPlays,callback:function(t){e.showPlays=t},expression:"showPlays"}},[e._v(" 播放 ")]),i("el-checkbox",{staticClass:"filter-item",staticStyle:{"margin-left":"15px"},on:{change:function(t){e.tableKey=e.tableKey+1}},model:{value:e.showLikes,callback:function(t){e.showLikes=t},expression:"showLikes"}},[e._v(" 点赞 ")]),i("el-checkbox",{staticClass:"filter-item",staticStyle:{"margin-left":"15px"},on:{change:function(t){e.tableKey=e.tableKey+1}},model:{value:e.showDislikes,callback:function(t){e.showDislikes=t},expression:"showDislikes"}},[e._v(" 差评 ")]),i("el-checkbox",{staticClass:"filter-item",staticStyle:{"margin-left":"15px"},on:{change:function(t){e.tableKey=e.tableKey+1}},model:{value:e.showTariffUsr,callback:function(t){e.showTariffUsr=t},expression:"showTariffUsr"}},[e._v(" 用户价格 ")]),i("el-checkbox",{staticClass:"filter-item",staticStyle:{"margin-left":"15px"},on:{change:function(t){e.tableKey=e.tableKey+1}},model:{value:e.showTariffVip,callback:function(t){e.showTariffVip=t},expression:"showTariffVip"}},[e._v(" VIP价格 ")]),i("el-checkbox",{staticClass:"filter-item",staticStyle:{"margin-left":"15px"},on:{change:function(t){e.tableKey=e.tableKey+1}},model:{value:e.showCreateTime,callback:function(t){e.showCreateTime=t},expression:"showCreateTime"}},[e._v(" 创建时间 ")]),i("el-checkbox",{staticClass:"filter-item",staticStyle:{"margin-left":"15px"},on:{change:function(t){e.tableKey=e.tableKey+1}},model:{value:e.showReleaseTime,callback:function(t){e.showReleaseTime=t},expression:"showReleaseTime"}},[e._v(" 上线时间 ")])],1),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":e.sortChange}},[i("el-table-column",{attrs:{label:"ID",prop:"id",sortable:"custom",align:"center",width:"80","class-name":e.getSortClass()},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.id))])]}}])}),i("el-table-column",{attrs:{width:"70px",label:"排序",align:"center",prop:"listorder",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[e.openSort?[i("el-input",{staticClass:"edit-input",attrs:{size:"small"},model:{value:n.listorder,callback:function(t){e.$set(n,"listorder",t)},expression:"row.listorder"}})]:i("span",[e._v(e._s(n.listorder))])]}}])}),i("el-table-column",{attrs:{label:"片名","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.name))])]}}])}),i("el-table-column",{attrs:{label:"图片",width:"80px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("el-tag",{attrs:{effect:"dark"},on:{click:function(t){return e.handleOpenImg3(n.img3,n.media_url)}}},[e._v("预览")])]}}])}),i("el-table-column",{attrs:{label:"类型",width:"80px"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("el-tag",[e._v(e._s(e._f("typeFilter")(n.view_type)))])]}}])}),i("el-table-column",{attrs:{label:"状态",align:"center",width:"80","class-name":"small-padding fixed-width",prop:"is_check",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[1==n.is_check?i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(t){return e.handleCheckStatus(n,0)}}},[e._v(" "+e._s(e._f("isCheckFilter")(n.is_check))+" ")]):e._e(),0==n.is_check?i("el-button",{attrs:{size:"mini",type:"draft"},on:{click:function(t){return e.handleCheckStatus(n,1)}}},[e._v(" "+e._s(e._f("isCheckFilter")(n.is_check))+" ")]):e._e()]}}])}),i("el-table-column",{attrs:{label:"推荐",align:"center",width:"80","class-name":"small-padding fixed-width",prop:"better_show",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[1==n.better_show?i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(t){e.openSort&&e.handleBetterStatus(n,0)}}},[e._v(" "+e._s(e._f("betterShowFilter")(n.better_show))+" ")]):e._e(),0==n.better_show?i("el-button",{attrs:{size:"mini",type:"draft"},on:{click:function(t){e.openSort&&e.handleBetterStatus(n,1)}}},[e._v(" "+e._s(e._f("betterShowFilter")(n.better_show))+" ")]):e._e()]}}])}),i("el-table-column",{attrs:{width:"70px",label:"推荐",align:"center",prop:"better_sort",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[e.openSort?[i("el-input",{staticClass:"edit-input",attrs:{size:"small"},model:{value:n.better_sort,callback:function(t){e.$set(n,"better_sort",t)},expression:"row.better_sort"}})]:i("span",[e._v(e._s(n.better_sort))])]}}])}),i("el-table-column",{attrs:{label:"首页",align:"center",width:"80","class-name":"small-padding fixed-width",prop:"home_show",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[1==n.home_show?i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(t){e.openSort&&e.handleHomeStatus(n,0)}}},[e._v(" "+e._s(e._f("homeShowFilter")(n.home_show))+" ")]):e._e(),0==n.home_show?i("el-button",{attrs:{size:"mini",type:"draft"},on:{click:function(t){e.openSort&&e.handleHomeStatus(n,1)}}},[e._v(" "+e._s(e._f("homeShowFilter")(n.home_show))+" ")]):e._e()]}}])}),i("el-table-column",{attrs:{width:"70px",label:"首页",align:"center",prop:"home_sort",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[e.openSort?[i("el-input",{staticClass:"edit-input",attrs:{size:"small"},model:{value:n.home_sort,callback:function(t){e.$set(n,"home_sort",t)},expression:"row.home_sort"}})]:i("span",[e._v(e._s(n.home_sort))])]}}])}),e.showReleaseTime?i("el-table-column",{attrs:{label:"发布时间",width:"150px",align:"center",prop:"release_time",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(e._f("parseTime")(n.release_time,"{y}-{m}-{d} {h}:{i}")))])]}}],null,!1,4105490431)}):e._e(),e.showCreateTime?i("el-table-column",{attrs:{label:"创建时间",width:"150px",align:"center",prop:"create_time",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(e._f("parseTime")(n.create_time,"{y}-{m}-{d} {h}:{i}")))])]}}],null,!1,122434386)}):e._e(),e.showPlays?i("el-table-column",{attrs:{label:"播放次数",width:"110px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.plays))])]}}],null,!1,1439868467)}):e._e(),e.showLikes?i("el-table-column",{attrs:{label:"点赞",width:"110px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.likes))])]}}],null,!1,1707849404)}):e._e(),e.showDislikes?i("el-table-column",{attrs:{label:"差评",width:"110px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.dislikes))])]}}],null,!1,188983394)}):e._e(),e.showTariffUsr?i("el-table-column",{attrs:{label:"用户价格",width:"110px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.tariff_usr))])]}}],null,!1,1703465697)}):e._e(),e.showTariffVip?i("el-table-column",{attrs:{label:"VIP价格",width:"110px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.tariff_vip))])]}}],null,!1,86508666)}):e._e(),i("el-table-column",{attrs:{label:"操作",align:"center",width:"300","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row,a=t.$index;return[i("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.handleUpdate(n)}}},[e._v(" 编辑 ")]),i("el-button",{attrs:{size:"mini"},on:{click:function(t){return e.handlePushVideo(n)}}},[e._v(" 推送 ")]),i("el-button",{attrs:{type:"warning",size:"mini"},on:{click:function(t){return e.handleRank(n)}}},[e._v(" 加入排行 ")]),0!=n.status?i("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(t){return e.handleDelete(n,a)}}},[e._v(" 删除 ")]):e._e()]}}])})],1),i("el-dialog",{attrs:{visible:e.dialogVisible,center:""},on:{"update:visible":function(t){e.dialogVisible=t},close:e.closeDialog}},[e.dialogVisible?i("videoPlayer",{ref:"videoPlayer",attrs:{url:e.dialogVideo,poster:e.dialogImg3}}):e._e()],1),i("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}}),i("el-dialog",{attrs:{title:e.textMap[e.dialogStatus],visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[i("el-form",{ref:"dataForm",attrs:{rules:e.rules,model:e.newVideo,"label-position":"top","label-width":"70px",inline:!0,size:"mini"}},[i("el-form-item",{attrs:{label:"片名",prop:"nam",size:"mini"}},[i("el-input",{model:{value:e.newVideo.name,callback:function(t){e.$set(e.newVideo,"name",t)},expression:"newVideo.name"}})],1),i("el-form-item",{attrs:{label:"是否点播",prop:"varieties"}},[i("el-select",{staticClass:"filter-item",attrs:{placeholder:"是否点播"},model:{value:e.newVideo.varieties,callback:function(t){e.$set(e.newVideo,"varieties",t)},expression:"newVideo.varieties"}},e._l(e.isVarieties,(function(e){return i("el-option",{key:e.key,attrs:{label:e.label,value:e.key}})})),1)],1),i("el-form-item",{attrs:{label:"类型",prop:"view_type"}},[i("el-select",{staticClass:"filter-item",attrs:{placeholder:"选择一个类型"},on:{change:function(t){return e.$forceUpdate()}},model:{value:e.newVideo.view_type,callback:function(t){e.$set(e.newVideo,"view_type",t)},expression:"newVideo.view_type"}},e._l(e.viewTypeOptions,(function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),1)],1),i("el-form-item",{attrs:{label:"分类",prop:"tid"}},[i("el-checkbox-group",{model:{value:e.newVideo.tid,callback:function(t){e.$set(e.newVideo,"tid",t)},expression:"newVideo.tid"}},e._l(e.typesOptions,(function(t){return i("el-checkbox",{key:t.id,attrs:{label:t.id,"true-label":""}},[e._v(e._s(t.name))])})),1)],1),i("el-form-item",{attrs:{label:"视频标签",prop:"video_labels"}},[i("el-input",{model:{value:e.newVideo.video_labels,callback:function(t){e.$set(e.newVideo,"video_labels",t)},expression:"newVideo.video_labels"}})],1),i("el-form-item",{attrs:{label:"演员",prop:"actors"}},[i("el-input",{model:{value:e.newVideo.actors,callback:function(t){e.$set(e.newVideo,"actors",t)},expression:"newVideo.actors"}})],1),i("el-form-item",{attrs:{label:"价格",prop:"tariff_usr"}},[i("el-input",{model:{value:e.newVideo.tariff_usr,callback:function(t){e.$set(e.newVideo,"tariff_usr",t)},expression:"newVideo.tariff_usr"}})],1),i("el-form-item",{attrs:{label:"VIP价格",prop:"tariff_vip"}},[i("el-input",{model:{value:e.newVideo.tariff_vip,callback:function(t){e.$set(e.newVideo,"tariff_vip",t)},expression:"newVideo.tariff_vip"}})],1),i("el-form-item",{attrs:{label:"时长",prop:"time_len"}},[i("el-input",{model:{value:e.newVideo.time_len,callback:function(t){e.$set(e.newVideo,"time_len",t)},expression:"newVideo.time_len"}})],1),i("el-form-item",{attrs:{label:"片源",prop:"media_url"}},[i("el-input",{model:{value:e.newVideo.media_url,callback:function(t){e.$set(e.newVideo,"media_url",t)},expression:"newVideo.media_url"}})],1),i("el-form-item",{attrs:{label:"试看片源",prop:"free_media_url"}},[i("el-input",{model:{value:e.newVideo.free_media_url,callback:function(t){e.$set(e.newVideo,"free_media_url",t)},expression:"newVideo.free_media_url"}})],1),i("el-form-item",{attrs:{label:"缩略图",prop:"img3"}},[i("el-input",{model:{value:e.newVideo.img3,callback:function(t){e.$set(e.newVideo,"img3",t)},expression:"newVideo.img3"}}),0!==e.percentage?i("el-progress",{attrs:{percentage:e.percentage}}):e._e(),i("el-upload",{attrs:{action:e.baseUpload+"/upload","list-type":"picture-card","show-file-list":!1,"on-progress":e.handleProgress,"on-success":e.handleSuccess}},[e.newVideo.img3?i("img",{attrs:{width:"150",height:"150",src:e.newVideo.img3,alt:""}}):i("i",{staticClass:"el-icon-plus"})])],1),i("el-form-item",{attrs:{label:"首页大图",prop:"img4"}},[i("el-input",{model:{value:e.newVideo.img4,callback:function(t){e.$set(e.newVideo,"img4",t)},expression:"newVideo.img4"}})],1),i("el-form-item",{attrs:{label:"竖图",prop:"img1"}},[i("el-input",{model:{value:e.newVideo.img1,callback:function(t){e.$set(e.newVideo,"img1",t)},expression:"newVideo.img1"}})],1),i("el-form-item",{attrs:{label:"简介"}},[i("el-input",{attrs:{autosize:{minRows:2,maxRows:4},type:"textarea",placeholder:"输入简介.."},model:{value:e.newVideo.desc,callback:function(t){e.$set(e.newVideo,"desc",t)},expression:"newVideo.desc"}})],1)],1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{type:"primary"},on:{click:function(t){"create"===e.dialogStatus?e.createData():e.updateData()}}},[e._v(" 提交 ")]),i("el-button",{on:{click:function(t){e.dialogFormVisible=!1}}},[e._v(" 取消 ")])],1)],1)],1)},a=[],l=(i("c740"),i("13d5"),i("a434"),i("093a")),o=i("6724"),s=i("333d"),r=function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},c=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"video-player"},[i("div",{attrs:{id:"mse"}})])}],u=(i("5392"),i("9000")),d=i.n(u),p={props:{url:{default:""},poster:{default:""}},data:function(){return{player:null}},mounted:function(){this.player=new d.a({id:"mse",url:this.url,poster:this.poster,playbackRate:[.5,.75,1,1.5,2,10],fluid:!0})},methods:{deleteVideo:function(){this.player.destroy(!0)}}},f=p,m=i("2877"),h=Object(m["a"])(f,r,c,!1,null,"3fe8659a",null),b=h.exports,_=["下线","上线"],v=["普通","推荐"],y=["普通","首页"],w=[{key:1,display_name:"电影"},{key:2,display_name:"电视剧"},{key:3,display_name:"短视频"},{key:4,display_name:"直播"}],g=w.reduce((function(e,t){return e[t.key]=t.display_name,e}),{}),k={name:"VideoList",components:{Pagination:s["a"],videoPlayer:b},directives:{waves:o["a"]},filters:{typeFilter:function(e){return g[e]},isCheckFilter:function(e){return _[e]},betterShowFilter:function(e){return v[e]},homeShowFilter:function(e){return y[e]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,view_type:void 0,video_type:void 0,name:void 0,varieties:0,sort:"id desc"},isVarieties:[{key:0,label:"否"},{key:1,label:"是"}],typesOptions:[],viewTypeOptions:w,showPlays:!1,showLikes:!1,showDislikes:!1,showTariffVip:!1,showTariffUsr:!1,showCreateTime:!1,showReleaseTime:!1,openSort:!1,newVideo:{},dialogFormVisible:!1,dialogStatus:"",textMap:{update:"编辑",create:"创建"},dialogVisible:!1,dialogImg3:"",dialogVideo:"",rules:{name:[{required:!0,message:"请输入片名",trigger:"blur"}],tid:[{required:!0,message:"请选择分类",trigger:"blur"}],img3:[{required:!0,message:"请输入缩略图",trigger:"blur"}],media_url:[{required:!0,message:"请输入试看片源",trigger:"blur"}],free_media_url:[{required:!0,message:"请输入试看片源",trigger:"blur"}],tariff_usr:[{required:!0,message:"请设置一个价格",trigger:"blur"}],tariff_vip:[{required:!0,message:"请设置一个VIP价格",trigger:"blur"}]},percentage:0,baseUpload:""}},created:function(){this.baseUpload=this.$store.state.user.base_upload,this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(l["n"])(this.listQuery).then((function(t){e.total=t.data.total,e.typesOptions=t.data.types,e.list=t.data.list,e.listLoading=!1}))},takeViewType:function(e){return g[e]},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(e){var t=e.prop,i=e.order;this.listQuery.sort="ascending"===i?t:t+" desc",this.handleFilter()},handleUpdate:function(e){var t=this;this.newVideo=Object.assign({},e),this.newVideo.release_time=new Date(this.newVideo.release_time),this.newVideo.view_type=parseInt(this.newVideo.view_type),this.dialogStatus="update",this.dialogFormVisible=!0,this.percentage=0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},handleRank:function(e){var t=this;this.listLoading=!0,Object(l["f"])(e).then((function(){t.listLoading=!1,t.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){t.listLoading=!1}))},updateData:function(){var e=this;this.$refs["dataForm"].validate((function(t){if(t){var i=Object.assign({},e.newVideo);i.release_time=+new Date(i.release_time),Object(l["x"])(i).then((function(){var t=e.list.findIndex((function(t){return t.id===e.newVideo.id}));e.list.splice(t,1,e.newVideo),e.dialogFormVisible=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},handleDelete:function(e,t){var i=this;this.$confirm("此操作将回收该视频, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){i.listLoading=!0,Object(l["m"])(e).then((function(){i.list.splice(t,1),i.listLoading=!1,i.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){i.listLoading=!1}))})).catch((function(){i.$message({type:"info",message:"已取消删除"})}))},getSortClass:function(){var e=this.listQuery.sort;return"id"===e?"ascending":"descending"},handleCheckStatus:function(e,t){var i=this;this.listLoading=!0,e.is_check=t,Object(l["b"])(e).then((function(){i.listLoading=!1,i.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){i.listLoading=!1}))},handleBetterStatus:function(e,t){e.better_show=t},handleHomeStatus:function(e,t){e.home_show=t},handleSort:function(){this.openSort=!0},handleSortCancel:function(){this.getList(),this.openSort=!1},handleSortConfirm:function(){var e=this;if(this.listLoading=!0,this.list){var t=Object.assign({},this.list);Object(l["y"])(t).then((function(t){e.openSort=!1,e.listLoading=!1,e.$notify({title:"成功",message:t.message,type:"success",duration:2e3})})).catch((function(){e.listLoading=!1}))}},handleVarieties:function(e){this.listQuery.varieties=e,this.getList()},handleCreate:function(e,t){var i=this;this.newVideo={tid:[],view_type:1},this.dialogStatus="create",this.dialogFormVisible=!0,this.percentage=0,this.$nextTick((function(){i.$refs["dataForm"].clearValidate()}))},createData:function(){var e=this;this.$refs["dataForm"].validate((function(t){t&&Object(l["h"])(e.newVideo).then((function(){e.dialogFormVisible=!1,e.getList(),e.$notify({title:"Success",message:"创建成功",type:"success",duration:2e3})}))}))},handleClearCache:function(){var e=this;Object(l["c"])().then((function(){e.$notify({title:"Success",message:"清除成功",type:"success",duration:2e3})}))},handleOpenImg3:function(e,t){this.dialogImg3="",this.dialogVisible=!0,this.dialogImg3=e,this.dialogVideo=t},closeDialog:function(){this.dialogVisible=!1,this.$refs.videoPlayer.deleteVideo()},handleSuccess:function(e){var t=this.baseUpload+e.url;this.$set(this.newVideo,"img3",t)},handleProgress:function(e){this.percentage=e.percent},handlePushVideo:function(e,t){var i=this;this.$confirm("此操作将推送视频, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){i.listLoading=!0,Object(l["p"])(e).then((function(){i.listLoading=!1,i.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){i.listLoading=!1}))})).catch((function(){i.$message({type:"info",message:"已取消删除"})}))}}},V=k,x=Object(m["a"])(V,n,a,!1,null,null,null);t["default"]=x.exports}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0a7bb086"],{"1db4":function(t,s,a){"use strict";a.r(s);var i=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"wscn-http404-container"},[a("div",{staticClass:"wscn-http404"},[t._m(0),a("div",{staticClass:"bullshit"},[a("div",{staticClass:"bullshit__oops"},[t._v("OOPS!")]),t._m(1),a("div",{staticClass:"bullshit__headline"},[t._v(t._s(t.message))]),a("div",{staticClass:"bullshit__info"},[t._v("页面不存在,请返回上一页")]),a("a",{staticClass:"bullshit__return-home",attrs:{href:""}},[t._v("Back to home")])])])])},c=[function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"pic-404"},[i("img",{staticClass:"pic-404__parent",attrs:{src:a("a36b"),alt:"404"}}),i("img",{staticClass:"pic-404__child left",attrs:{src:a("26fc"),alt:"404"}}),i("img",{staticClass:"pic-404__child mid",attrs:{src:a("26fc"),alt:"404"}}),i("img",{staticClass:"pic-404__child right",attrs:{src:a("26fc"),alt:"404"}})])},function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"bullshit__info"},[t._v("All rights reserved "),a("a",{staticStyle:{color:"#20a0ff"},attrs:{href:"https://wallstreetcn.com",target:"_blank"}},[t._v("Monster")])])}],e={name:"Page404",computed:{message:function(){return"The webmaster said that you can not enter this page..."}}},l=e,n=(a("6796"),a("2877")),r=Object(n["a"])(l,i,c,!1,null,"b188be08",null);s["default"]=r.exports},"26fc":function(t,s,a){t.exports=a.p+"static/img/404_cloud.0f4bc32b.png"},"297d":function(t,s,a){},6796:function(t,s,a){"use strict";var i=a("297d"),c=a.n(i);c.a},a36b:function(t,s,a){t.exports=a.p+"static/img/404.a57b6f31.png"}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-11f83f4a"],{"093a":function(e,t,i){"use strict";i.d(t,"h",(function(){return a})),i.d(t,"n",(function(){return o})),i.d(t,"x",(function(){return l})),i.d(t,"y",(function(){return s})),i.d(t,"b",(function(){return r})),i.d(t,"m",(function(){return c})),i.d(t,"p",(function(){return d})),i.d(t,"r",(function(){return u})),i.d(t,"v",(function(){return p})),i.d(t,"w",(function(){return f})),i.d(t,"g",(function(){return m})),i.d(t,"l",(function(){return h})),i.d(t,"a",(function(){return w})),i.d(t,"s",(function(){return b})),i.d(t,"i",(function(){return v})),i.d(t,"d",(function(){return _})),i.d(t,"q",(function(){return y})),i.d(t,"f",(function(){return g})),i.d(t,"k",(function(){return k})),i.d(t,"u",(function(){return V})),i.d(t,"c",(function(){return x})),i.d(t,"o",(function(){return S})),i.d(t,"e",(function(){return O})),i.d(t,"t",(function(){return j})),i.d(t,"j",(function(){return T}));var n=i("b775");function a(e){return Object(n["a"])({url:"/api/admin/video/create",method:"post",data:e})}function o(e){return Object(n["a"])({url:"/api/admin/video/video_list",method:"get",params:e})}function l(e){return Object(n["a"])({url:"/api/admin/video/update",method:"post",data:e})}function s(e){return Object(n["a"])({url:"/api/admin/video/update_all",method:"post",data:e})}function r(e){return Object(n["a"])({url:"/api/admin/video/check_video",method:"post",data:e})}function c(e){return Object(n["a"])({url:"/api/admin/video/delete",method:"post",data:e})}function d(e){return Object(n["a"])({url:"/api/admin/video/push",method:"post",data:e})}function u(e){return Object(n["a"])({url:"/api/admin/video/type_list",method:"get",params:e})}function p(e){return Object(n["a"])({url:"/api/admin/video/update_type",method:"post",data:e})}function f(e){return Object(n["a"])({url:"/api/admin/video/update_type_all",method:"post",data:e})}function m(e){return Object(n["a"])({url:"/api/admin/video/create_type",method:"post",data:e})}function h(e){return Object(n["a"])({url:"/api/admin/video/delete_type",method:"post",data:e})}function w(e){return Object(n["a"])({url:"/api/admin/video/actor_list",method:"post",data:e})}function b(e){return Object(n["a"])({url:"/api/admin/video/update_actor",method:"post",data:e})}function v(e){return Object(n["a"])({url:"/api/admin/video/delete_actor",method:"post",data:e})}function _(e){return Object(n["a"])({url:"/api/admin/video/create_actor",method:"post",data:e})}function y(e){return Object(n["a"])({url:"/api/admin/video/rank_list",method:"get",params:e})}function g(e){return Object(n["a"])({url:"/api/admin/video/create_rank",method:"post",data:e})}function k(e){return Object(n["a"])({url:"/api/admin/video/delete_rank",method:"post",data:e})}function V(e){return Object(n["a"])({url:"/api/admin/video/update_rank",method:"post",data:e})}function x(e){return Object(n["a"])({url:"/api/admin/cache/clearVideoCache",method:"get",params:e})}function S(e){return Object(n["a"])({url:"/api/admin/video/label_list",method:"get",params:e})}function O(e){return Object(n["a"])({url:"/api/admin/video/create_label",method:"post",data:e})}function j(e){return Object(n["a"])({url:"/api/admin/video/update_label",method:"post",data:e})}function T(e){return Object(n["a"])({url:"/api/admin/video/delete_label",method:"post",data:e})}},"09f4":function(e,t,i){"use strict";i.d(t,"a",(function(){return l})),Math.easeInOutQuad=function(e,t,i,n){return e/=n/2,e<1?i/2*e*e+t:(e--,-i/2*(e*(e-2)-1)+t)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function a(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function l(e,t,i){var l=o(),s=e-l,r=20,c=0;t="undefined"===typeof t?500:t;var d=function e(){c+=r;var o=Math.easeInOutQuad(c,l,s,t);a(o),c<t?n(e):i&&"function"===typeof i&&i()};d()}},6724:function(e,t,i){"use strict";i("8d41");var n="@@wavesContext";function a(e,t){function i(i){var n=Object.assign({},t.value),a=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},n),o=a.ele;if(o){o.style.position="relative",o.style.overflow="hidden";var l=o.getBoundingClientRect(),s=o.querySelector(".waves-ripple");switch(s?s.className="waves-ripple":(s=document.createElement("span"),s.className="waves-ripple",s.style.height=s.style.width=Math.max(l.width,l.height)+"px",o.appendChild(s)),a.type){case"center":s.style.top=l.height/2-s.offsetHeight/2+"px",s.style.left=l.width/2-s.offsetWidth/2+"px";break;default:s.style.top=(i.pageY-l.top-s.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",s.style.left=(i.pageX-l.left-s.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return s.style.backgroundColor=a.color,s.className="waves-ripple z-active",!1}}return e[n]?e[n].removeHandle=i:e[n]={removeHandle:i},i}var o={bind:function(e,t){e.addEventListener("click",a(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[n].removeHandle,!1),e.addEventListener("click",a(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[n].removeHandle,!1),e[n]=null,delete e[n]}},l=function(e){e.directive("waves",o)};window.Vue&&(window.waves=o,Vue.use(l)),o.install=l;t["a"]=o},"8d41":function(e,t,i){},fdb4:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"app-container"},[i("div",{staticClass:"filter-container"},[e.openSort?e._e():i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:e.handleSort}},[e._v(" 排序 ")]),e.openSort?i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"success",icon:"el-icon-edit"},on:{click:e.handleSortConfirm}},[e._v(" 确认 ")]):e._e(),e.openSort?i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"danger",icon:"el-icon-edit"},on:{click:e.handleSortCancel}},[e._v(" 取消 ")]):e._e(),i("el-checkbox",{staticClass:"filter-item",staticStyle:{"margin-left":"15px"},on:{change:function(t){e.tableKey=e.tableKey+1}},model:{value:e.showPlays,callback:function(t){e.showPlays=t},expression:"showPlays"}},[e._v(" 播放 ")]),i("el-checkbox",{staticClass:"filter-item",staticStyle:{"margin-left":"15px"},on:{change:function(t){e.tableKey=e.tableKey+1}},model:{value:e.showLikes,callback:function(t){e.showLikes=t},expression:"showLikes"}},[e._v(" 点赞 ")]),i("el-checkbox",{staticClass:"filter-item",staticStyle:{"margin-left":"15px"},on:{change:function(t){e.tableKey=e.tableKey+1}},model:{value:e.showDislikes,callback:function(t){e.showDislikes=t},expression:"showDislikes"}},[e._v(" 差评 ")]),i("el-checkbox",{staticClass:"filter-item",staticStyle:{"margin-left":"15px"},on:{change:function(t){e.tableKey=e.tableKey+1}},model:{value:e.showTariffUsr,callback:function(t){e.showTariffUsr=t},expression:"showTariffUsr"}},[e._v(" 用户价格 ")]),i("el-checkbox",{staticClass:"filter-item",staticStyle:{"margin-left":"15px"},on:{change:function(t){e.tableKey=e.tableKey+1}},model:{value:e.showTariffVip,callback:function(t){e.showTariffVip=t},expression:"showTariffVip"}},[e._v(" VIP价格 ")]),i("el-checkbox",{staticClass:"filter-item",staticStyle:{"margin-left":"15px"},on:{change:function(t){e.tableKey=e.tableKey+1}},model:{value:e.showCreateTime,callback:function(t){e.showCreateTime=t},expression:"showCreateTime"}},[e._v(" 创建时间 ")]),i("el-checkbox",{staticClass:"filter-item",staticStyle:{"margin-left":"15px"},on:{change:function(t){e.tableKey=e.tableKey+1}},model:{value:e.showReleaseTime,callback:function(t){e.showReleaseTime=t},expression:"showReleaseTime"}},[e._v(" 上线时间 ")])],1),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":e.sortChange}},[i("el-table-column",{attrs:{label:"ID",prop:"id",sortable:"custom",align:"center",width:"80","class-name":e.getSortClass()},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.id))])]}}])}),i("el-table-column",{attrs:{width:"70px",label:"排序",align:"center",prop:"listorder",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[e.openSort?[i("el-input",{staticClass:"edit-input",attrs:{size:"small"},model:{value:n.listorder,callback:function(t){e.$set(n,"listorder",t)},expression:"row.listorder"}})]:i("span",[e._v(e._s(n.listorder))])]}}])}),i("el-table-column",{attrs:{label:"片名","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.video_info.name))])]}}])}),i("el-table-column",{attrs:{width:"170px",label:"分类",align:"center",prop:"type",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[e.openSort?[i("el-select",{staticClass:"filter-item",attrs:{placeholder:"选择一个类型"},model:{value:n.type,callback:function(t){e.$set(n,"type",t)},expression:"row.type"}},e._l(e.viewTypeOptions,(function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),1)]:i("span",[e._v(e._s(e._f("typeFilter")(n.type)))])]}}])}),e.showReleaseTime?i("el-table-column",{attrs:{label:"发布时间",width:"150px",align:"center",prop:"release_time",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(e._f("parseTime")(n.video_info.release_time,"{y}-{m}-{d} {h}:{i}")))])]}}],null,!1,376413329)}):e._e(),e.showCreateTime?i("el-table-column",{attrs:{label:"创建时间",width:"150px",align:"center",prop:"create_time",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(e._f("parseTime")(n.video_info.create_time,"{y}-{m}-{d} {h}:{i}")))])]}}],null,!1,3993721244)}):e._e(),e.showPlays?i("el-table-column",{attrs:{label:"播放次数",width:"110px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.video_info.plays))])]}}],null,!1,1577716061)}):e._e(),e.showLikes?i("el-table-column",{attrs:{label:"点赞",width:"110px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.video_info.likes))])]}}],null,!1,1987848370)}):e._e(),e.showDislikes?i("el-table-column",{attrs:{label:"差评",width:"110px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.video_info.dislikes))])]}}],null,!1,3213688876)}):e._e(),e.showTariffUsr?i("el-table-column",{attrs:{label:"用户价格",width:"110px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.video_info.tariff_usr))])]}}],null,!1,1994459855)}):e._e(),e.showTariffVip?i("el-table-column",{attrs:{label:"VIP价格",width:"110px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.video_info.tariff_vip))])]}}],null,!1,2355798324)}):e._e(),i("el-table-column",{attrs:{label:"操作",align:"center",width:"200","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row,a=t.$index;return[0!=n.status?i("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(t){return e.handleDelete(n,a)}}},[e._v(" 删除 ")]):e._e()]}}])})],1),i("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}}),i("el-dialog",{attrs:{title:e.textMap[e.dialogStatus],visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[i("el-form",{ref:"dataForm",staticStyle:{width:"400px","margin-left":"50px"},attrs:{rules:e.rules,model:e.newVideo,"label-position":"left","label-width":"70px"}},[i("el-form-item",{attrs:{label:"片名",prop:"name"}},[i("el-input",{model:{value:e.newVideo.name,callback:function(t){e.$set(e.newVideo,"name",t)},expression:"newVideo.name"}})],1),i("el-form-item",{attrs:{label:"类型",prop:"view_type"}},[i("el-select",{staticClass:"filter-item",attrs:{placeholder:"选择一个类型"},model:{value:e.newVideo.show_view_type,callback:function(t){e.$set(e.newVideo,"show_view_type",t)},expression:"newVideo.show_view_type"}},e._l(e.viewTypeOptions,(function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),1)],1),i("el-form-item",{attrs:{label:"分类",prop:"tid"}},[i("el-checkbox-group",{model:{value:e.newVideo.tid,callback:function(t){e.$set(e.newVideo,"tid",t)},expression:"newVideo.tid"}},e._l(e.typesOptions,(function(t){return i("el-checkbox",{key:t.id,attrs:{label:t.id,"true-label":""}},[e._v(e._s(t.name))])})),1)],1),i("el-form-item",{attrs:{label:"发布时间",prop:"release_time"}},[i("el-date-picker",{attrs:{type:"datetime",placeholder:"请选择一个日期"},model:{value:e.newVideo.release_time,callback:function(t){e.$set(e.newVideo,"release_time",t)},expression:"newVideo.release_time"}})],1),i("el-form-item",{attrs:{label:"视频标签",prop:"video_labels"}},[i("el-input",{model:{value:e.newVideo.video_labels,callback:function(t){e.$set(e.newVideo,"video_labels",t)},expression:"newVideo.video_labels"}})],1),i("el-form-item",{attrs:{label:"演员",prop:"actors"}},[i("el-input",{model:{value:e.newVideo.actors,callback:function(t){e.$set(e.newVideo,"actors",t)},expression:"newVideo.actors"}})],1),i("el-form-item",{attrs:{label:"价格",prop:"tariff_usr"}},[i("el-input",{model:{value:e.newVideo.tariff_usr,callback:function(t){e.$set(e.newVideo,"tariff_usr",t)},expression:"newVideo.tariff_usr"}})],1),i("el-form-item",{attrs:{label:"VIP价格",prop:"tariff_vip"}},[i("el-input",{model:{value:e.newVideo.tariff_vip,callback:function(t){e.$set(e.newVideo,"tariff_vip",t)},expression:"newVideo.tariff_vip"}})],1),i("el-form-item",{attrs:{label:"播放次数",prop:"plays"}},[i("el-input",{model:{value:e.newVideo.plays,callback:function(t){e.$set(e.newVideo,"plays",t)},expression:"newVideo.plays"}})],1),i("el-form-item",{attrs:{label:"喜欢",prop:"likes"}},[i("el-input",{model:{value:e.newVideo.likes,callback:function(t){e.$set(e.newVideo,"likes",t)},expression:"newVideo.likes"}})],1),i("el-form-item",{attrs:{label:"踩",prop:"dislikes"}},[i("el-input",{model:{value:e.newVideo.dislikes,callback:function(t){e.$set(e.newVideo,"dislikes",t)},expression:"newVideo.dislikes"}})],1),i("el-form-item",{attrs:{label:"时长",prop:"time_len"}},[i("el-input",{model:{value:e.newVideo.time_len,callback:function(t){e.$set(e.newVideo,"time_len",t)},expression:"newVideo.time_len"}})],1),i("el-form-item",{attrs:{label:"片源",prop:"media_url"}},[i("el-input",{model:{value:e.newVideo.media_url,callback:function(t){e.$set(e.newVideo,"media_url",t)},expression:"newVideo.media_url"}})],1),i("el-form-item",{attrs:{label:"试看片源",prop:"free_media_url"}},[i("el-input",{model:{value:e.newVideo.free_media_url,callback:function(t){e.$set(e.newVideo,"free_media_url",t)},expression:"newVideo.free_media_url"}})],1),i("el-form-item",{attrs:{label:"横图",prop:"img2"}},[i("el-input",{model:{value:e.newVideo.img2,callback:function(t){e.$set(e.newVideo,"img2",t)},expression:"newVideo.img2"}})],1),i("el-form-item",{attrs:{label:"竖图",prop:"img1"}},[i("el-input",{model:{value:e.newVideo.img1,callback:function(t){e.$set(e.newVideo,"img1",t)},expression:"newVideo.img1"}})],1),i("el-form-item",{attrs:{label:"缩略图",prop:"img3"}},[i("el-input",{model:{value:e.newVideo.img3,callback:function(t){e.$set(e.newVideo,"img3",t)},expression:"newVideo.img3"}})],1),i("el-form-item",{attrs:{label:"试看大图",prop:"img4"}},[i("el-input",{model:{value:e.newVideo.img4,callback:function(t){e.$set(e.newVideo,"img4",t)},expression:"newVideo.img4"}})],1),i("el-form-item",{attrs:{label:"简介"}},[i("el-input",{attrs:{autosize:{minRows:2,maxRows:4},type:"textarea",placeholder:"输入简介.."},model:{value:e.newVideo.desc,callback:function(t){e.$set(e.newVideo,"desc",t)},expression:"newVideo.desc"}})],1)],1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.dialogFormVisible=!1}}},[e._v(" 取消 ")]),i("el-button",{attrs:{type:"primary"},on:{click:function(t){"create"===e.dialogStatus?e.createData():e.updateData()}}},[e._v(" 提交 ")])],1)],1)],1)},a=[],o=(i("c740"),i("13d5"),i("a434"),i("093a")),l=i("6724"),s=i("333d"),r=["下线","上线"],c=["普通","推荐"],d=["普通","首页"],u=[{key:0,display_name:"默认"},{key:1,display_name:"热播榜"},{key:2,display_name:"推荐榜"},{key:3,display_name:"付费榜"}],p=u.reduce((function(e,t){return e[t.key]=t.display_name,e}),{}),f={name:"RankList",components:{Pagination:s["a"]},directives:{waves:l["a"]},filters:{typeFilter:function(e){return p[e]},isCheckFilter:function(e){return r[e]},betterShowFilter:function(e){return c[e]},homeShowFilter:function(e){return d[e]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,view_type:void 0,video_type:void 0,name:void 0,varieties:0,sort:"id desc"},typesOptions:[],viewTypeOptions:u,showPlays:!1,showLikes:!1,showDislikes:!1,showTariffVip:!1,showTariffUsr:!1,showCreateTime:!1,showReleaseTime:!1,openSort:!1,newVideo:{},dialogFormVisible:!1,dialogStatus:"",textMap:{update:"编辑",create:"创建"},rules:{name:[{required:!0,message:"请输入片名",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(o["q"])(this.listQuery).then((function(t){e.total=t.data.total,e.list=t.data.list,e.listLoading=!1}))},takeViewType:function(e){return p[e]},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(e){var t=e.prop,i=e.order;this.listQuery.sort="ascending"===i?t:t+" desc",this.handleFilter()},handleUpdate:function(e){var t=this;this.newVideo=Object.assign({},e),this.newVideo.release_time=new Date(this.newVideo.release_time),this.newVideo.show_view_type=this.takeViewType(this.newVideo.view_type),this.dialogStatus="update",this.dialogFormVisible=!0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},updateData:function(){var e=this;this.$refs["dataForm"].validate((function(t){if(t){var i=Object.assign({},e.newVideo);i.release_time=+new Date(i.release_time),Object(o["x"])(i).then((function(){var t=e.list.findIndex((function(t){return t.id===e.newVideo.id}));e.list.splice(t,1,e.newVideo),e.dialogFormVisible=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},handleDelete:function(e,t){var i=this;this.listLoading=!0,Object(o["k"])(e).then((function(){i.list.splice(t,1),i.listLoading=!1,i.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){i.listLoading=!1}))},getSortClass:function(){var e=this.listQuery.sort;return"id"===e?"ascending":"descending"},handleCheckStatus:function(e,t){var i=this;this.listLoading=!0,e.is_check=t,Object(o["b"])(e).then((function(){i.listLoading=!1,i.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){i.listLoading=!1}))},handleBetterStatus:function(e,t){e.better_show=t},handleHomeStatus:function(e,t){e.home_show=t},handleSort:function(){this.openSort=!0},handleSortCancel:function(){this.getList(),this.openSort=!1},handleSortConfirm:function(){var e=this;if(this.listLoading=!0,this.list){var t=Object.assign({},this.list);Object(o["u"])(t).then((function(t){e.openSort=!1,e.listLoading=!1,e.$notify({title:"成功",message:t.message,type:"success",duration:2e3})})).catch((function(){e.listLoading=!1}))}},handleVarieties:function(e){this.listQuery.varieties=e,this.getList()}}},m=f,h=i("2877"),w=Object(h["a"])(m,n,a,!1,null,null,null);t["default"]=w.exports}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-198abeb0"],{"09f4":function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),Math.easeInOutQuad=function(e,t,n,a){return e/=a/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var a=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function r(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function i(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(e,t,n){var o=i(),l=e-o,s=20,u=0;t="undefined"===typeof t?500:t;var c=function e(){u+=s;var i=Math.easeInOutQuad(u,o,l,t);r(i),u<t?a(e):n&&"function"===typeof n&&n()};c()}},"1c31":function(e,t,n){"use strict";n.d(t,"e",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return s}));var a=n("b775");function r(e){return Object(a["a"])({url:"/api/admin/report/report_list",method:"get",params:e})}function i(e){return Object(a["a"])({url:"/api/admin/report/report_channel_list",method:"get",params:e})}function o(e){return Object(a["a"])({url:"/api/admin/report/report_keep_list",method:"get",params:e})}function l(e){return Object(a["a"])({url:"/api/admin/report/report_charts_data",method:"get",params:e})}function s(e){return Object(a["a"])({url:"/api/admin/report/report_inpour_charts_data",method:"get",params:e})}},6724:function(e,t,n){"use strict";n("8d41");var a="@@wavesContext";function r(e,t){function n(n){var a=Object.assign({},t.value),r=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},a),i=r.ele;if(i){i.style.position="relative",i.style.overflow="hidden";var o=i.getBoundingClientRect(),l=i.querySelector(".waves-ripple");switch(l?l.className="waves-ripple":(l=document.createElement("span"),l.className="waves-ripple",l.style.height=l.style.width=Math.max(o.width,o.height)+"px",i.appendChild(l)),r.type){case"center":l.style.top=o.height/2-l.offsetHeight/2+"px",l.style.left=o.width/2-l.offsetWidth/2+"px";break;default:l.style.top=(n.pageY-o.top-l.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",l.style.left=(n.pageX-o.left-l.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return l.style.backgroundColor=r.color,l.className="waves-ripple z-active",!1}}return e[a]?e[a].removeHandle=n:e[a]={removeHandle:n},n}var i={bind:function(e,t){e.addEventListener("click",r(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[a].removeHandle,!1),e.addEventListener("click",r(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[a].removeHandle,!1),e[a]=null,delete e[a]}},o=function(e){e.directive("waves",i)};window.Vue&&(window.waves=i,Vue.use(o)),i.install=o;t["a"]=i},8996:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.listQuery}},[n("el-form-item",{attrs:{label:"渠道ID"}},[n("el-input",{staticStyle:{width:"130px"},attrs:{placeholder:"渠道ID"},model:{value:e.listQuery.channel,callback:function(t){e.$set(e.listQuery,"channel",t)},expression:"listQuery.channel"}})],1),n("el-form-item",{attrs:{label:"时间"}},[n("el-date-picker",{staticClass:"filter-item",attrs:{type:"datetimerange","value-format":"yyyy-MM-dd HH:mm:ss","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",placeholder:"注册时间"},model:{value:e.listQuery.time_range,callback:function(t){e.$set(e.listQuery,"time_range",t)},expression:"listQuery.time_range"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v(" 搜索 ")])],1)],1)],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":e.sortChange}},[n("el-table-column",{attrs:{label:"日期",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.date))])]}}])}),n("el-table-column",{attrs:{label:"总安装",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.install))])]}}])}),n("el-table-column",{attrs:{label:"总收入",width:"100px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.inpour))])]}}])}),n("el-table-column",{attrs:{label:"总订单",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.inpour_order))])]}}])}),n("el-table-column",{attrs:{label:"总活跃",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.active))])]}}])}),n("el-table-column",{attrs:{label:"活跃ARPU",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.active_arpu))])]}}])}),n("el-table-column",{attrs:{label:"注册ARPU",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.arpu))])]}}])}),n("el-table-column",{attrs:{label:"老用户活跃",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.active_old))])]}}])}),n("el-table-column",{attrs:{label:"老用户续充",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.inpour_old))])]}}])}),n("el-table-column",{attrs:{label:"邀请推广安装",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.install_share))])]}}])}),n("el-table-column",{attrs:{label:"邀请推广收入",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.inpour_share))])]}}])}),n("el-table-column",{attrs:{label:"安卓安装",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.install_az))])]}}])}),n("el-table-column",{attrs:{label:"安卓总收入",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.inpour_az))])]}}])}),n("el-table-column",{attrs:{label:"苹果安装",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.install_ios))])]}}])}),n("el-table-column",{attrs:{label:"苹果总收入",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.inpour_ios))])]}}])}),n("el-table-column",{attrs:{label:"目前未到期会员",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.install_vip))])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}})],1)},r=[],i=(n("c740"),n("13d5"),n("a434"),n("ff87")),o=n("1c31"),l=n("6724"),s=n("333d"),u=["下线","上线"],c=["普通","推荐"],d=["普通","首页"],p=[{key:"1",display_name:"电影"},{key:"2",display_name:"电视剧"},{key:"3",display_name:"短视频"}],f=p.reduce((function(e,t){return e[t.key]=t.display_name,e}),{}),m={name:"ReportList",components:{Pagination:s["a"]},directives:{waves:l["a"]},filters:{typeFilter:function(e){return f[e]},isCheckFilter:function(e){return u[e]},betterShowFilter:function(e){return c[e]},homeShowFilter:function(e){return d[e]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,id:void 0,channel:void 0,time_range:void 0,sort:"id desc"},typesOptions:[],viewTypeOptions:p,showPlays:!1,showLikes:!1,showDislikes:!1,showTariffVip:!1,showTariffUsr:!1,showCreateTime:!1,showReleaseTime:!1,openSort:!1,newVideo:{},dialogFormVisible:!1,dialogStatus:"",textMap:{update:"编辑",create:"创建",coin:"金币充值"},rules:{name:[{required:!0,message:"请输入片名",trigger:"blur"}],coin_type:[{required:!0,message:"请选择类型",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(o["e"])(this.listQuery).then((function(t){e.total=t.data.total,e.list=t.data.list,e.listLoading=!1}))},takeViewType:function(e){return f[e]},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(e){var t=e.prop,n=e.order;this.listQuery.sort="ascending"===n?t:t+" desc",this.handleFilter()},handleUpdate:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="update",this.dialogFormVisible=!0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},handleCoin:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="coin",this.dialogFormVisible=!0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},updateData:function(){var e=this;this.$refs["dataForm"].validate((function(t){if(t){var n=Object.assign({},e.newVideo);Object(i["j"])(n).then((function(){var t=e.list.findIndex((function(t){return t.id===e.newVideo.id}));e.list.splice(t,1,e.newVideo),e.dialogFormVisible=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},updateCoinData:function(){var e=this;this.$refs["dataForm"].validate((function(t){if(t){var n=Object.assign({},e.newVideo);Object(i["k"])(n).then((function(){e.getList(),e.dialogFormVisible=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},getSortClass:function(){var e=this.listQuery.sort;return"id"===e?"ascending":"descending"}}},h=m,y=n("2877"),v=Object(y["a"])(h,a,r,!1,null,null,null);t["default"]=v.exports},"8d41":function(e,t,n){},ff87:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"j",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"k",(function(){return l})),n.d(t,"a",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"f",(function(){return c})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"d",(function(){return m}));var a=n("b775");function r(e){return Object(a["a"])({url:"/api/admin/player/player_list",method:"get",params:e})}function i(e){return Object(a["a"])({url:"/api/admin/player/update_player",method:"post",data:e})}function o(e){return Object(a["a"])({url:"/api/admin/player/express_player",method:"post",data:e})}function l(e){return Object(a["a"])({url:"/api/admin/player/update_player_coin",method:"post",data:e})}function s(e){return Object(a["a"])({url:"/api/admin/player/bindMobile",method:"post",data:e})}function u(e){return Object(a["a"])({url:"/api/admin/player/player_history_list",method:"get",params:e})}function c(e){return Object(a["a"])({url:"/api/admin/player/player_inpour_list",method:"get",params:e})}function d(e){return Object(a["a"])({url:"/api/admin/player/supple",method:"post",data:e})}function p(e){return Object(a["a"])({url:"/api/admin/player/player_pay_list",method:"get",params:e})}function f(e){return Object(a["a"])({url:"/api/admin/cache/clearPlayerCache",method:"get",params:e})}function m(e){return Object(a["a"])({url:"/api/admin/player/express_player_password",method:"post",data:e})}}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1b54c302"],{"09f4":function(e,t,i){"use strict";i.d(t,"a",(function(){return l})),Math.easeInOutQuad=function(e,t,i,n){return e/=n/2,e<1?i/2*e*e+t:(e--,-i/2*(e*(e-2)-1)+t)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function a(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function l(e,t,i){var l=o(),s=e-l,r=20,c=0;t="undefined"===typeof t?500:t;var u=function e(){c+=r;var o=Math.easeInOutQuad(c,l,s,t);a(o),c<t?n(e):i&&"function"===typeof i&&i()};u()}},6724:function(e,t,i){"use strict";i("8d41");var n="@@wavesContext";function a(e,t){function i(i){var n=Object.assign({},t.value),a=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},n),o=a.ele;if(o){o.style.position="relative",o.style.overflow="hidden";var l=o.getBoundingClientRect(),s=o.querySelector(".waves-ripple");switch(s?s.className="waves-ripple":(s=document.createElement("span"),s.className="waves-ripple",s.style.height=s.style.width=Math.max(l.width,l.height)+"px",o.appendChild(s)),a.type){case"center":s.style.top=l.height/2-s.offsetHeight/2+"px",s.style.left=l.width/2-s.offsetWidth/2+"px";break;default:s.style.top=(i.pageY-l.top-s.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",s.style.left=(i.pageX-l.left-s.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return s.style.backgroundColor=a.color,s.className="waves-ripple z-active",!1}}return e[n]?e[n].removeHandle=i:e[n]={removeHandle:i},i}var o={bind:function(e,t){e.addEventListener("click",a(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[n].removeHandle,!1),e.addEventListener("click",a(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[n].removeHandle,!1),e[n]=null,delete e[n]}},l=function(e){e.directive("waves",o)};window.Vue&&(window.waves=o,Vue.use(l)),o.install=l;t["a"]=o},"8d41":function(e,t,i){},fa39:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"app-container"},[i("div",{staticClass:"filter-container"},[i("el-input",{staticClass:"filter-item",staticStyle:{width:"200px"},attrs:{placeholder:"ID"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleFilter(t)}},model:{value:e.listQuery.id,callback:function(t){e.$set(e.listQuery,"id",t)},expression:"listQuery.id"}}),i("el-input",{staticClass:"filter-item",staticStyle:{width:"200px"},attrs:{placeholder:"名字"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleFilter(t)}},model:{value:e.listQuery.name,callback:function(t){e.$set(e.listQuery,"name",t)},expression:"listQuery.name"}}),i("el-button",{staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v(" 搜索 ")]),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:e.handleCreate}},[e._v(" 创建 ")])],1),i("el-table",{key:e.tableKey,staticStyle:{width:"100%"},attrs:{"v-loading":e.listLoading,data:e.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":e.sortChange}},[i("el-table-column",{attrs:{label:"ID",prop:"id",sortable:"custom",align:"center",width:"80","class-name":e.getSortClass()},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.id))])]}}])}),i("el-table-column",{attrs:{label:"名字","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.name))])]}}])}),i("el-table-column",{attrs:{label:"路由","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.path))])]}}])}),i("el-table-column",{attrs:{label:"操作",align:"center",width:"300","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row,a=t.$index;return[i("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.handleUpdate(n)}}},[e._v(" 编辑 ")]),1===n.status?i("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(t){return e.handleDelete(n,a)}}},[e._v(" 删除 ")]):e._e()]}}])})],1),i("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}}),i("el-dialog",{attrs:{title:e.textMap[e.dialogStatus],visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[i("el-form",{ref:"dataForm",staticStyle:{width:"400px","margin-left":"50px"},attrs:{rules:e.rules,model:e.newVideo,"label-position":"left","label-width":"70px"}},[i("el-form-item",{attrs:{label:"名字",prop:"name"}},[i("el-input",{model:{value:e.newVideo.name,callback:function(t){e.$set(e.newVideo,"name",t)},expression:"newVideo.name"}})],1),i("el-form-item",{attrs:{label:"上级ID",prop:"parentid"}},[i("el-input",{attrs:{type:"number"},model:{value:e.newVideo.parentid,callback:function(t){e.$set(e.newVideo,"parentid",t)},expression:"newVideo.parentid"}})],1),i("el-form-item",{attrs:{label:"路由",prop:"path"}},[i("el-input",{model:{value:e.newVideo.path,callback:function(t){e.$set(e.newVideo,"path",t)},expression:"newVideo.path"}})],1)],1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.dialogFormVisible=!1}}},[e._v(" 取消 ")]),i("el-button",{attrs:{type:"primary"},on:{click:function(t){"create"===e.dialogStatus?e.createData():e.updateData()}}},[e._v(" 提交 ")])],1)],1)],1)},a=[],o=(i("c740"),i("a434"),i("b775"));function l(e){return Object(o["a"])({url:"/api/admin/menu/getList",method:"get",params:e})}function s(e){return Object(o["a"])({url:"/api/admin/menu/create",method:"post",data:e})}function r(e){return Object(o["a"])({url:"/api/admin/menu/update",method:"post",data:e})}function c(e){return Object(o["a"])({url:"/api/admin/menu/delete",method:"post",data:e})}var u=i("6724"),d=i("333d"),p=["下线","上线"],m=["普通","推荐"],f={name:"MenuList",components:{Pagination:d["a"]},directives:{waves:u["a"]},filters:{isCheckFilter:function(e){return p[e]},betterShowFilter:function(e){return m[e]}},data:function(){return{tableKey:0,list:[],total:0,listLoading:!0,listQuery:{page:1,limit:20,name:void 0,sort:"id desc"},openSort:!1,newVideo:{},newChapter:{},dialogFormVisible:!1,dialogStatus:"",chapterDialogFormVisible:!1,chapterDialogStatus:"",typesOptions:[],textMap:{update:"编辑",create:"创建"},percentage:0,dialogVisible:!1,rules:{title:[{required:!0,message:"请输入漫画名字",trigger:"blur"}],img:[{required:!0,message:"请上传封面",trigger:"blur"}]},chapterRules:{chapter_title:[{required:!0,message:"请输入漫画名字",trigger:"blur"}],chapter_img:[{required:!0,message:"请上传封面",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,l(this.listQuery).then((function(t){e.total=t.data.total,e.list=t.data.list,e.typesOptions=t.data.types,e.listLoading=!1}))},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(e){var t=e.prop,i=e.order;this.listQuery.sort="ascending"===i?t:t+" desc",this.handleFilter()},handleUpdate:function(e){var t=this;this.newVideo=Object.assign({},e),this.newVideo.release_time=new Date(this.newVideo.release_time),this.dialogStatus="update",this.dialogFormVisible=!0,this.percentage=0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},updateData:function(){var e=this;this.$refs["dataForm"].validate((function(t){if(t){var i=Object.assign({},e.newVideo);i.release_time=+new Date(i.release_time),r(i).then((function(){var t=e.list.findIndex((function(t){return t.id===e.newVideo.id}));e.list.splice(t,1,e.newVideo),e.dialogFormVisible=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},handleDelete:function(e,t){var i=this;this.$confirm("此操作将回收, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){i.listLoading=!0,c(e).then((function(){i.list.splice(t,1),i.listLoading=!1,i.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){i.listLoading=!1}))})).catch((function(){i.$message({type:"info",message:"已取消删除"})}))},getSortClass:function(){var e=this.listQuery.sort;return"id"===e?"ascending":"descending"},handleSort:function(){this.openSort=!0},handleSortCancel:function(){this.getList(),this.openSort=!1},handleCreate:function(e,t){var i=this;this.newVideo={tid:[]},this.dialogStatus="create",this.dialogFormVisible=!0,this.percentage=0,this.$nextTick((function(){i.$refs["dataForm"].clearValidate()}))},createData:function(){var e=this;this.$refs["dataForm"].validate((function(t){t&&s(e.newVideo).then((function(){e.dialogFormVisible=!1,e.getList(),e.$notify({title:"Success",message:"创建成功",type:"success",duration:2e3})}))}))}}},h=f,g=i("2877"),y=Object(g["a"])(h,n,a,!1,null,null,null);t["default"]=y.exports}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1fc8c950"],{"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),Math.easeInOutQuad=function(t,e,n,i){return t/=i/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function a(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function r(t,e,n){var r=o(),s=t-r,l=20,u=0;e="undefined"===typeof e?500:e;var c=function t(){u+=l;var o=Math.easeInOutQuad(u,r,s,e);a(o),u<e?i(t):n&&"function"===typeof n&&n()};c()}},6724:function(t,e,n){"use strict";n("8d41");var i="@@wavesContext";function a(t,e){function n(n){var i=Object.assign({},e.value),a=Object.assign({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),o=a.ele;if(o){o.style.position="relative",o.style.overflow="hidden";var r=o.getBoundingClientRect(),s=o.querySelector(".waves-ripple");switch(s?s.className="waves-ripple":(s=document.createElement("span"),s.className="waves-ripple",s.style.height=s.style.width=Math.max(r.width,r.height)+"px",o.appendChild(s)),a.type){case"center":s.style.top=r.height/2-s.offsetHeight/2+"px",s.style.left=r.width/2-s.offsetWidth/2+"px";break;default:s.style.top=(n.pageY-r.top-s.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",s.style.left=(n.pageX-r.left-s.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return s.style.backgroundColor=a.color,s.className="waves-ripple z-active",!1}}return t[i]?t[i].removeHandle=n:t[i]={removeHandle:n},n}var o={bind:function(t,e){t.addEventListener("click",a(t,e),!1)},update:function(t,e){t.removeEventListener("click",t[i].removeHandle,!1),t.addEventListener("click",a(t,e),!1)},unbind:function(t){t.removeEventListener("click",t[i].removeHandle,!1),t[i]=null,delete t[i]}},r=function(t){t.directive("waves",o)};window.Vue&&(window.waves=o,Vue.use(r)),o.install=r;e["a"]=o},"7daa":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"danger",icon:"el-icon-delete"},on:{click:t.handleClearCache}},[t._v(" 清除缓存 ")])],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],key:t.tableKey,staticStyle:{width:"100%"},attrs:{data:t.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":t.sortChange}},[n("el-table-column",{attrs:{label:"ID",prop:"id",sortable:"custom",align:"center",width:"80","class-name":t.getSortClass()},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.id))])]}}])}),n("el-table-column",{attrs:{label:"参数key",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.setting_key))])]}}])}),n("el-table-column",{attrs:{label:"参数值",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.setting_value))])]}}])}),n("el-table-column",{attrs:{label:"说明","min-width":"150px",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.setting_desc))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center",width:"200","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.handleUpdate(i)}}},[t._v(" 编辑 ")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}}),n("el-dialog",{attrs:{title:t.textMap[t.dialogStatus],visible:t.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogFormVisible=e}}},[n("el-form",{ref:"dataForm",staticStyle:{width:"400px","margin-left":"50px"},attrs:{rules:t.rules,model:t.newVideo,"label-position":"right","label-width":"70px"}},[n("el-form-item",{attrs:{label:"参数值",prop:"setting_value"}},[n("el-input",{model:{value:t.newVideo.setting_value,callback:function(e){t.$set(t.newVideo,"setting_value",e)},expression:"newVideo.setting_value"}})],1),n("el-form-item",{attrs:{label:"说明",prop:"setting_desc"}},[n("el-input",{model:{value:t.newVideo.setting_desc,callback:function(e){t.$set(t.newVideo,"setting_desc",e)},expression:"newVideo.setting_desc"}})],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(e){t.dialogFormVisible=!1}}},[t._v(" 取消 ")]),n("el-button",{attrs:{type:"primary"},on:{click:function(e){"create"===t.dialogStatus?t.createData():t.updateData()}}},[t._v(" 提交 ")])],1)],1)],1)},a=[],o=(n("c740"),n("13d5"),n("a434"),n("90e7")),r=n("6724"),s=n("333d"),l=["否","是"],u=["普通","推荐"],c=["否","是"],d=[{key:"1",display_name:"支付宝"},{key:"2",display_name:"微信"}],p=d.reduce((function(t,e){return t[e.key]=e.display_name,t}),{}),f={name:"SettingSystem",components:{Pagination:s["a"]},directives:{waves:r["a"]},filters:{isCheckFilter:function(t){return l[t]},betterShowFilter:function(t){return u[t]},homeShowFilter:function(t){return c[t]},typeFilter:function(t){return p[t]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,view_type:void 0,video_type:void 0,name:void 0,sort:"id"},newVideo:{},dialogFormVisible:!1,dialogStatus:"",textMap:{update:"编辑",create:"创建"},openSort:!1,viewTypeOptions:d,rules:{name:[{required:!0,message:"请输入演员名字",trigger:"blur"}],pay_type:[{required:!0,message:"请选择类型",trigger:"blur"}],pay_order:[{required:!0,message:"排序必须输入",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(o["m"])(this.listQuery).then((function(e){t.total=e.data.total,t.list=e.data.list,t.listLoading=!1}))},takeViewType:function(t){return p[t]},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(t){var e=t.prop,n=t.order;this.listQuery.sort="ascending"===n?e:e+" desc",this.handleFilter()},handleUpdate:function(t){var e=this;this.newVideo=Object.assign({},t),this.dialogStatus="update",this.dialogFormVisible=!0,this.newVideo.show_view_type=this.takeViewType(this.newVideo.pay_type),this.$nextTick((function(){e.$refs["dataForm"].clearValidate()}))},updateData:function(){var t=this;this.$refs["dataForm"].validate((function(e){if(e){var n=Object.assign({},t.newVideo);Object(o["q"])(n).then((function(){var e=t.list.findIndex((function(e){return e.id===t.newVideo.id}));t.list.splice(e,1,t.newVideo),t.dialogFormVisible=!1,t.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},getSortClass:function(){var t=this.listQuery.sort;return"id"===t?"ascending":"descending"},handleClearCache:function(){var t=this;Object(o["c"])().then((function(){t.$notify({title:"Success",message:"清除成功",type:"success",duration:2e3})}))}}},m=f,g=n("2877"),h=Object(g["a"])(m,i,a,!1,null,null,null);e["default"]=h.exports},"8d41":function(t,e,n){},"90e7":function(t,e,n){"use strict";n.d(e,"k",(function(){return a})),n.d(e,"o",(function(){return o})),n.d(e,"h",(function(){return r})),n.d(e,"b",(function(){return s})),n.d(e,"e",(function(){return l})),n.d(e,"s",(function(){return u})),n.d(e,"r",(function(){return c})),n.d(e,"l",(function(){return d})),n.d(e,"f",(function(){return p})),n.d(e,"p",(function(){return f})),n.d(e,"i",(function(){return m})),n.d(e,"m",(function(){return g})),n.d(e,"q",(function(){return h})),n.d(e,"j",(function(){return b})),n.d(e,"d",(function(){return v})),n.d(e,"n",(function(){return y})),n.d(e,"g",(function(){return w})),n.d(e,"c",(function(){return _})),n.d(e,"a",(function(){return k}));var i=n("b775");function a(t){return Object(i["a"])({url:"/api/admin/setting/pay_list",method:"get",params:t})}function o(t){return Object(i["a"])({url:"/api/admin/setting/update_pay",method:"post",data:t})}function r(t){return Object(i["a"])({url:"/api/admin/setting/delete_pay",method:"post",params:t})}function s(t){return Object(i["a"])({url:"/api/admin/setting/auto_pay",method:"POST",data:t})}function l(t){return Object(i["a"])({url:"/api/admin/setting/create_pay",method:"post",params:t})}function u(t){return Object(i["a"])({url:"/api/admin/setting/vip_list",method:"get",params:t})}function c(t){return Object(i["a"])({url:"/api/admin/setting/update_vip",method:"post",data:t})}function d(t){return Object(i["a"])({url:"/api/admin/setting/publicity_list",method:"get",params:t})}function p(t){return Object(i["a"])({url:"/api/admin/setting/create_publicity",method:"post",data:t})}function f(t){return Object(i["a"])({url:"/api/admin/setting/update_publicity",method:"post",data:t})}function m(t){return Object(i["a"])({url:"/api/admin/setting/delete_publicity",method:"post",data:t})}function g(t){return Object(i["a"])({url:"/api/admin/setting/system_list",method:"get",params:t})}function h(t){return Object(i["a"])({url:"/api/admin/setting/update_system",method:"post",data:t})}function b(t){return Object(i["a"])({url:"/api/admin/setting/notice_list",method:"get",params:t})}function v(t){return Object(i["a"])({url:"/api/admin/setting/create_notice",method:"post",data:t})}function y(t){return Object(i["a"])({url:"/api/admin/setting/update_notice",method:"post",data:t})}function w(t){return Object(i["a"])({url:"/api/admin/setting/delete_notice",method:"post",data:t})}function _(t){return Object(i["a"])({url:"/api/admin/cache/clearSettingCache",method:"get",params:t})}function k(t){return Object(i["a"])({url:"/api/admin/setting/setting_link",method:"post",data:t})}}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-20719ea2"],{"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return l})),Math.easeInOutQuad=function(e,t,a,n){return e/=n/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function i(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function s(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function l(e,t,a){var l=s(),o=e-l,r=20,c=0;t="undefined"===typeof t?500:t;var u=function e(){c+=r;var s=Math.easeInOutQuad(c,l,o,t);i(s),c<t?n(e):a&&"function"===typeof a&&a()};u()}},"3a4a":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("div",{staticClass:"filter-container"},[a("el-input",{staticClass:"filter-item",staticStyle:{width:"200px"},attrs:{placeholder:"名字"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleFilter(t)}},model:{value:e.listQuery.name,callback:function(t){e.$set(e.listQuery,"name",t)},expression:"listQuery.name"}}),a("el-date-picker",{staticClass:"filter-item",attrs:{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:"开始时间"},on:{change:e.sDateFormat},model:{value:e.listQuery.start_time,callback:function(t){e.$set(e.listQuery,"start_time",t)},expression:"listQuery.start_time"}}),a("el-date-picker",{staticClass:"filter-item",attrs:{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:"结束时间"},on:{change:e.eDateFormat},model:{value:e.listQuery.end_time,callback:function(t){e.$set(e.listQuery,"end_time",t)},expression:"listQuery.end_time"}}),a("el-button",{staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v(" 搜索 ")]),e.self_info.is_show_create?a("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:e.handleCreate}},[e._v(" 创建 ")]):e._e()],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":e.sortChange}},[a("el-table-column",{attrs:{label:"代理商","min-width":"100px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[a("span",[e._v(e._s(n.name))]),n.id===e.self_info.id?a("span",{staticStyle:{color:"red"}},[e._v("(*自己)")]):e._e()]}}])}),a("el-table-column",{attrs:{label:"总注册","min-width":"50px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[a("span",[e._v(e._s(n.agent_info.person_install+n.agent_info.team_install))])]}}])}),e.self_info.is_show_create?a("el-table-column",{attrs:{label:"直推注册","min-width":"50px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[n.agent_info.person_install?a("span",{staticClass:"link-type",on:{click:function(t){return e.handleInstallPv(n.id)}}},[e._v(e._s(n.agent_info.person_install))]):a("span",[e._v("0")])]}}],null,!1,1406977107)}):e._e(),e.self_info.is_show_create?a("el-table-column",{attrs:{label:"团队注册","min-width":"50px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[a("span",[e._v(e._s(n.agent_info.team_install))])]}}],null,!1,3903631137)}):e._e(),a("el-table-column",{attrs:{label:"总充值","min-width":"50px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return n.agent_info.person_inpour||n.agent_info.team_inpour?[a("span",[e._v(e._s(n.agent_info.person_inpour+n.agent_info.team_inpour))])]:void 0}}],null,!0)}),e.self_info.is_show_create?a("el-table-column",{attrs:{label:"直推充值","min-width":"50px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[a("span",[e._v(e._s(n.agent_info.person_inpour))])]}}],null,!1,1670070327)}):e._e(),e.self_info.is_show_create?a("el-table-column",{attrs:{label:"团队充值","min-width":"50px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[a("span",[e._v(e._s(n.agent_info.team_inpour))])]}}],null,!1,4040330623)}):e._e(),a("el-table-column",{attrs:{label:"分成比例","min-width":"50px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[a("span",[e._v(e._s(n.agent_info.channel_info.gain_sharing))])]}}])}),e.self_info.is_show_create?a("el-table-column",{attrs:{label:"直推分成","min-width":"50px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[a("span",[e._v(e._s(n.agent_info.person_gain))])]}}],null,!1,4134178409)}):e._e(),e.self_info.is_show_create?a("el-table-column",{attrs:{label:"团队分成","min-width":"50px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[a("span",[e._v(e._s(n.agent_info.team_gain))])]}}],null,!1,3954385569)}):e._e(),a("el-table-column",{attrs:{label:"总分成","min-width":"50px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[a("span",[e._v(e._s(n.agent_info.person_gain+n.agent_info.team_gain))])]}}])}),1===e.self_info.level?a("el-table-column",{attrs:{label:"操作",align:"center",width:"200","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row,i=t.$index;return n.id!==e.self_info.id||1===e.self_info.id?[a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.handleUpdate(n)}}},[e._v(" 编辑 ")]),0!==n.status?a("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(t){return e.handleDelete(n,i)}}},[e._v(" 删除 ")]):e._e()]:void 0}}],null,!0)}):e._e()],1),a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}}),a("el-dialog",{attrs:{title:e.textMap[e.dialogStatus],visible:e.dialogFormVisible,width:"600px","close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[a("el-form",{ref:"dataForm",staticStyle:{width:"500px","margin-left":"30px"},attrs:{rules:e.rules,model:e.newData,"label-position":"right","label-width":"180px"}},[a("el-form-item",{attrs:{label:"代理名称",prop:"name"}},[a("el-input",{attrs:{disabled:"update"===e.dilogHighStatus},model:{value:e.newData.name,callback:function(t){e.$set(e.newData,"name",t)},expression:"newData.name"}})],1),a("el-form-item",{attrs:{label:"层级",prop:"level"}},[a("el-select",{attrs:{placeholder:"选择层级",disabled:"update"===e.dilogHighStatus},on:{change:function(t){return e.$forceUpdate()}},model:{value:e.newData.level,callback:function(t){e.$set(e.newData,"level",t)},expression:"newData.level"}},[e._l(e.levelValue,(function(t){return[t.key>=e.newData.level||1===e.self_info.level?a("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}}):e._e()]}))],2)],1),a("el-form-item",{attrs:{label:"分成比例",prop:"gain_sharing"}},[a("el-slider",{attrs:{step:1},model:{value:e.newData.gain_sharing,callback:function(t){e.$set(e.newData,"gain_sharing",t)},expression:"newData.gain_sharing"}}),a("el-input-number",{attrs:{min:0,max:100,label:"输入分成比例"},model:{value:e.newData.gain_sharing,callback:function(t){e.$set(e.newData,"gain_sharing",t)},expression:"newData.gain_sharing"}})],1),e.is_show_pay?a("el-form-item",{attrs:{label:"是否允许下级转支付订单",prop:"is_switch_pay"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:e.newData.is_switch_pay,callback:function(t){e.$set(e.newData,"is_switch_pay",t)},expression:"newData.is_switch_pay"}})],1):e._e(),e.is_show_pay?a("el-form-item",{attrs:{label:"是否显示支付配置",prop:"is_show_pay"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:e.newData.is_show_pay,callback:function(t){e.$set(e.newData,"is_show_pay",t)},expression:"newData.is_show_pay"}})],1):e._e(),e.is_switch_show?a("el-form-item",{attrs:{label:"是否允许下级注册扣量",prop:"reg_change_switch"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:e.newData.reg_change_switch,callback:function(t){e.$set(e.newData,"reg_change_switch",t)},expression:"newData.reg_change_switch"}})],1):e._e(),e.is_switch_show?a("el-form-item",{attrs:{label:"下级是否显示注册扣量",prop:"is_switch_show"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:e.newData.is_switch_show,callback:function(t){e.$set(e.newData,"is_switch_show",t)},expression:"newData.is_switch_show"}})],1):e._e(),1===e.self_info.id?a("el-form-item",{attrs:{label:"强制转单",prop:"is_must_switch"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:e.newData.is_must_switch,callback:function(t){e.$set(e.newData,"is_must_switch",t)},expression:"newData.is_must_switch"}})],1):e._e(),e.is_show_create?a("el-form-item",{attrs:{label:"开户权限",prop:"is_show_create"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:e.newData.is_show_create,callback:function(t){e.$set(e.newData,"is_show_create",t)},expression:"newData.is_show_create"}})],1):e._e(),e.is_switch_show?a("el-form-item",{attrs:{label:"注册扣量",prop:"reg_change"}},[a("el-input",{on:{input:function(t){return e.$forceUpdate()}},model:{value:e.newData.reg_change,callback:function(t){e.$set(e.newData,"reg_change",t)},expression:"newData.reg_change"}})],1):e._e(),e.is_switch_show?a("el-form-item",{attrs:{label:"扣量到渠道",prop:"tocid"}},[a("el-input",{attrs:{disabled:!0},model:{value:e.newData.tocid,callback:function(t){e.$set(e.newData,"tocid",t)},expression:"newData.tocid"}})],1):e._e(),a("el-form-item",{attrs:{label:"管理账号",prop:"user_login"}},[a("el-input",{attrs:{disabled:"update"===e.dialogStatus},model:{value:e.newData.user_login,callback:function(t){e.$set(e.newData,"user_login",t)},expression:"newData.user_login"}})],1),a("el-form-item",{attrs:{label:"管理密码",prop:"user_pass"}},[a("el-input",{model:{value:e.newData.user_pass,callback:function(t){e.$set(e.newData,"user_pass",t)},expression:"newData.user_pass"}})],1),e.is_show_pay?a("el-form-item",{attrs:{label:"配置档位",prop:"rechargeconf"}},e._l(e.newData.rechargeconf,(function(t,n){return a("el-input",{key:n,attrs:{placeholder:"输入数量"},on:{input:function(t){return e.$forceUpdate()}},model:{value:t.transfer,callback:function(a){e.$set(t,"transfer",a)},expression:"item.transfer"}},[a("template",{slot:"prepend"},[e._v("充值"+e._s(t.money)+"元")]),a("template",{slot:"prefix"},[e._v("每")]),a("template",{slot:"append"},[e._v("单转渠道")])],2)})),1):e._e()],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.dialogFormVisible=!1}}},[e._v(" 取消 ")]),a("el-button",{attrs:{type:"primary"},on:{click:function(t){"create"===e.dialogStatus?e.createData():e.updateData()}}},[e._v(" 提交 ")])],1)],1),a("el-dialog",{attrs:{visible:e.dialogPvVisible,title:"系统详情"},on:{"update:visible":function(t){e.dialogPvVisible=t}}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.pvData,border:"",fit:"","highlight-current-row":""}},[a("el-table-column",{attrs:{prop:"key",label:"系统"}}),a("el-table-column",{attrs:{prop:"pv",label:"数量"}})],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.dialogPvVisible=!1}}},[e._v("确定")])],1)],1)],1)},i=[],s=(a("13d5"),a("6dfa")),l=a("6724"),o=a("333d"),r=["未通过","已审核"],c=["普通","推荐"],u=["否","是"],d=[{key:"1",display_name:"1"},{key:"2",display_name:"2"},{key:"3",display_name:"3"}],_=d.reduce((function(e,t){return e[t.key]=t.display_name,e}),{}),p={name:"AgentList",components:{Pagination:o["a"]},directives:{waves:l["a"]},filters:{levelFilter:function(e){return _[e]},isCheckFilter:function(e){return r[e]},betterShowFilter:function(e){return c[e]},homeShowFilter:function(e){return u[e]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,dialogPvVisible:!1,pvData:[],listQuery:{page:1,limit:20,name:void 0,start_time:new Date(new Date((new Date).toLocaleDateString()).getTime()),end_time:new Date(new Date((new Date).toLocaleDateString()).getTime()+864e5-1),sort:"id"},levelValue:d,newData:{},dialogFormVisible:!1,dialogStatus:"",dilogHighStatus:"",textMap:{update:"编辑",create:"创建"},rules:{name:[{required:!0,message:"请输入代理名字",trigger:"blur"}],user_login:[{required:!0,message:"请输入管理账户",trigger:"blur"}],gain_sharing:[{required:!0,message:"请选择分成比例",trigger:"blur"}]},is_switch_pay:!1,is_show_pay:!1,reg_change_switch:!1,is_switch_show:!1,is_must_switch:!1,is_show_create:!1,self_info:{level:3,id:0,is_show_create:0}}},created:function(){this.listQuery.start_time=this.dateFormat(new Date(new Date((new Date).toLocaleDateString()).getTime())),this.listQuery.end_time=this.dateFormat(new Date(new Date((new Date).toLocaleDateString()).getTime()+864e5-1)),this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(s["b"])(this.listQuery).then((function(t){e.total=t.data.total,e.list=t.data.list,t.data.self_info&&(e.self_info=t.data.self_info),e.listLoading=!1}))},handleFilter:function(){this.listQuery.page=1,this.getList()},takeLevelVuew:function(e){return _[e]},sortChange:function(e){var t=e.prop,a=e.order;this.listQuery.sort="ascending"===a?t:t+" desc",this.handleFilter()},handleUpdate:function(e){var t=this;Object(s["j"])({id:e.id}).then((function(e){t.newData={},t.newData=e.data.update_channel,t.newData.show_level=t.takeLevelVuew(t.newData.level),t.newData.gain_sharing=parseFloat(t.newData.gain_sharing),t.newData.user_login=e.data.user_login,t.is_switch_pay=e.data.is_switch_pay,t.is_show_pay=e.data.is_show_pay,t.reg_change_switch=e.data.reg_change_switch,t.is_switch_show=e.data.is_switch_show,t.is_must_switch=e.data.is_must_switch,t.is_show_create=e.data.is_show_create,t.rechargeconf=e.data.rechargeconf,t.dialogStatus="update",1===t.self_info.level?t.dilogHighStatus="create":t.dilogHighStatus="update",t.dialogFormVisible=!0,t.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))}))},updateData:function(){var e=this;this.$refs["dataForm"].validate((function(t){if(t){var a=Object.assign({},e.newData);Object(s["m"])(a).then((function(){e.getList(),e.dialogFormVisible=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},handleDelete:function(e,t){var a=this;Object(s["e"])(e).then((function(){a.getList(),a.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){a.listLoading=!1}))},handleCreate:function(e,t){var a=this;Object(s["g"])(this.newData).then((function(e){a.newData={},a.newData.parent=e.data.uid,a.newData.tocid=e.data.tocid,a.newData.top_parent=e.data.top_parent,a.newData.level=e.data.level,a.newData.show_level=a.takeLevelVuew(a.newData.level),a.newData.rechargeconf=e.data.rechargeconf,a.newData.is_must_switch=0,a.newData.reg_change=0,a.is_switch_pay=e.data.is_switch_pay,a.is_show_pay=e.data.is_show_pay,a.reg_change_switch=e.data.reg_change_switch,a.is_switch_show=e.data.is_switch_show,a.is_must_switch=e.data.is_must_switch,a.is_show_create=e.data.is_show_create,a.dialogStatus="create",a.dilogHighStatus="create",a.dialogFormVisible=!0,a.$nextTick((function(){a.$refs["dataForm"].clearValidate()}))}))},createData:function(){var e=this;this.$refs["dataForm"].validate((function(t){t&&(e.newData.is_switch_pay=e.newData.is_switch_pay?1:0,e.newData.is_show_pay=e.newData.is_show_pay?1:0,e.newData.reg_change_switch=e.newData.reg_change_switch?1:0,e.newData.is_switch_show=e.newData.is_switch_show?1:0,e.newData.is_must_switch=e.newData.is_must_switch?1:0,e.newData.is_show_create=e.newData.is_show_create?1:0,Object(s["a"])(e.newData).then((function(){e.dialogFormVisible=!1,e.getList(),e.$notify({title:"Success",message:"创建成功",type:"success",duration:2e3})})))}))},handleInstallPv:function(e){var t=this;Object(s["h"])({channel_id:e,start_time:this.listQuery.start_time,end_time:this.listQuery.end_time}).then((function(e){t.pvData=e.data,t.dialogPvVisible=!0}))},handleTeamInstallPv:function(e){var t=this;Object(s["i"])({channel_id:e,start_time:this.listQuery.start_time,end_time:this.listQuery.end_time}).then((function(e){t.pvData=e.data,t.dialogPvVisible=!0}))},sDateFormat:function(e){this.listQuery.start_time=e},eDateFormat:function(e){this.listQuery.etart_time=e},dateFormat:function(e){var t=new Date(e),a=t.getFullYear(),n=t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1,i=t.getDate()<10?"0"+t.getDate():t.getDate(),s=t.getHours()<10?"0"+t.getHours():t.getHours(),l=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),o=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return a+"-"+n+"-"+i+" "+s+":"+l+":"+o}}},h=p,f=a("2877"),m=Object(f["a"])(h,n,i,!1,null,null,null);t["default"]=m.exports},6724:function(e,t,a){"use strict";a("8d41");var n="@@wavesContext";function i(e,t){function a(a){var n=Object.assign({},t.value),i=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},n),s=i.ele;if(s){s.style.position="relative",s.style.overflow="hidden";var l=s.getBoundingClientRect(),o=s.querySelector(".waves-ripple");switch(o?o.className="waves-ripple":(o=document.createElement("span"),o.className="waves-ripple",o.style.height=o.style.width=Math.max(l.width,l.height)+"px",s.appendChild(o)),i.type){case"center":o.style.top=l.height/2-o.offsetHeight/2+"px",o.style.left=l.width/2-o.offsetWidth/2+"px";break;default:o.style.top=(a.pageY-l.top-o.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",o.style.left=(a.pageX-l.left-o.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return o.style.backgroundColor=i.color,o.className="waves-ripple z-active",!1}}return e[n]?e[n].removeHandle=a:e[n]={removeHandle:a},a}var s={bind:function(e,t){e.addEventListener("click",i(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[n].removeHandle,!1),e.addEventListener("click",i(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[n].removeHandle,!1),e[n]=null,delete e[n]}},l=function(e){e.directive("waves",s)};window.Vue&&(window.waves=s,Vue.use(l)),s.install=l;t["a"]=s},"6dfa":function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"d",(function(){return s})),a.d(t,"h",(function(){return l})),a.d(t,"i",(function(){return o})),a.d(t,"g",(function(){return r})),a.d(t,"a",(function(){return c})),a.d(t,"j",(function(){return u})),a.d(t,"m",(function(){return d})),a.d(t,"e",(function(){return _})),a.d(t,"k",(function(){return p})),a.d(t,"f",(function(){return h})),a.d(t,"n",(function(){return f})),a.d(t,"c",(function(){return m})),a.d(t,"l",(function(){return w}));var n=a("b775");function i(e){return Object(n["a"])({url:"/api/admin/channel/agent_list",method:"get",params:e})}function s(e){return Object(n["a"])({url:"/api/admin/channel/channel_list",method:"get",params:e})}function l(e){return Object(n["a"])({url:"/api/admin/channel/get_person_system",method:"get",params:e})}function o(e){return Object(n["a"])({url:"/api/admin/channel/get_team_system",method:"get",params:e})}function r(e){return Object(n["a"])({url:"/api/admin/channel/get_create_channel",method:"post",params:e})}function c(e){return Object(n["a"])({url:"/api/admin/channel/create_channel",method:"post",data:e})}function u(e){return Object(n["a"])({url:"/api/admin/channel/get_update_channel",method:"post",params:e})}function d(e){return Object(n["a"])({url:"/api/admin/channel/update_channel",method:"post",data:e})}function _(e){return Object(n["a"])({url:"/api/admin/channel/delete_channel",method:"post",data:e})}function p(e){return Object(n["a"])({url:"/api/admin/channel/publicity",method:"get",params:e})}function h(e){return Object(n["a"])({url:"/api/admin/channel/edit_pwd",method:"post",data:e})}function f(e){return Object(n["a"])({url:"/api/admin/channel/update_real_name",method:"post",data:e})}function m(e){return Object(n["a"])({url:"/api/admin/channel/channel_income",method:"get",params:e})}function w(e){return Object(n["a"])({url:"/api/admin/channel/real_channel_income",method:"get",params:e})}},"8d41":function(e,t,a){}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2125b98f"],{1:function(e,t){},2:function(e,t){},3:function(e,t){},"4bf8":function(e,t,n){"use strict";n.r(t),n.d(t,"export_table_to_excel",(function(){return h})),n.d(t,"export_json_to_excel",(function(){return v}));n("99af"),n("4160"),n("d81d"),n("c19f"),n("ace4"),n("d3b7"),n("25f0"),n("5cc6"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("170b"),n("b39a"),n("72f7"),n("159b");var r=n("2909"),c=n("21a6"),a=n("1146"),o=n.n(a);function s(e){for(var t=[],n=e.querySelectorAll("tr"),r=[],c=0;c<n.length;++c){for(var a=[],o=n[c],s=o.querySelectorAll("td"),i=0;i<s.length;++i){var l=s[i],u=l.getAttribute("colspan"),f=l.getAttribute("rowspan"),h=l.innerText;if(""!==h&&h==+h&&(h=+h),r.forEach((function(e){if(c>=e.s.r&&c<=e.e.r&&a.length>=e.s.c&&a.length<=e.e.c)for(var t=0;t<=e.e.c-e.s.c;++t)a.push(null)})),(f||u)&&(f=f||1,u=u||1,r.push({s:{r:c,c:a.length},e:{r:c+f-1,c:a.length+u-1}})),a.push(""!==h?h:null),u)for(var v=0;v<u-1;++v)a.push(null)}t.push(a)}return[t,r]}function i(e,t){t&&(e+=1462);var n=Date.parse(e);return(n-new Date(Date.UTC(1899,11,30)))/864e5}function l(e,t){for(var n={},r={s:{c:1e7,r:1e7},e:{c:0,r:0}},c=0;c!=e.length;++c)for(var a=0;a!=e[c].length;++a){r.s.r>c&&(r.s.r=c),r.s.c>a&&(r.s.c=a),r.e.r<c&&(r.e.r=c),r.e.c<a&&(r.e.c=a);var s={v:e[c][a]};if(null!=s.v){var l=o.a.utils.encode_cell({c:a,r:c});"number"===typeof s.v?s.t="n":"boolean"===typeof s.v?s.t="b":s.v instanceof Date?(s.t="n",s.z=o.a.SSF._table[14],s.v=i(s.v)):s.t="s",n[l]=s}}return r.s.c<1e7&&(n["!ref"]=o.a.utils.encode_range(r)),n}function u(){if(!(this instanceof u))return new u;this.SheetNames=[],this.Sheets={}}function f(e){for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),r=0;r!=e.length;++r)n[r]=255&e.charCodeAt(r);return t}function h(e){var t=document.getElementById(e),n=s(t),r=n[1],a=n[0],i="SheetJS",h=new u,v=l(a);v["!merges"]=r,h.SheetNames.push(i),h.Sheets[i]=v;var p=o.a.write(h,{bookType:"xlsx",bookSST:!1,type:"binary"});Object(c["saveAs"])(new Blob([f(p)],{type:"application/octet-stream"}),"test.xlsx")}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.multiHeader,n=void 0===t?[]:t,a=e.header,s=e.data,i=e.filename,h=e.merges,v=void 0===h?[]:h,p=e.autoWidth,d=void 0===p||p,g=e.bookType,b=void 0===g?"xlsx":g;i=i||"excel-list",s=Object(r["a"])(s),s.unshift(a);for(var w=n.length-1;w>-1;w--)s.unshift(n[w]);var S="SheetJS",m=new u,y=l(s);if(v.length>0&&(y["!merges"]||(y["!merges"]=[]),v.forEach((function(e){y["!merges"].push(o.a.utils.decode_range(e))}))),d){for(var x=s.map((function(e){return e.map((function(e){return null==e?{wch:10}:e.toString().charCodeAt(0)>255?{wch:2*e.toString().length}:{wch:e.toString().length}}))})),A=x[0],_=1;_<x.length;_++)for(var k=0;k<x[_].length;k++)A[k]["wch"]<x[_][k]["wch"]&&(A[k]["wch"]=x[_][k]["wch"]);y["!cols"]=A}m.SheetNames.push(S),m.Sheets[S]=y;var T=o.a.write(m,{bookType:b,bookSST:!1,type:"binary"});Object(c["saveAs"])(new Blob([f(T)],{type:"application/octet-stream"}),"".concat(i,".").concat(b))}}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2285fcb4"],{"023d":function(t,a,e){"use strict";e.r(a);var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:t.listQuery}},[e("el-form-item",{attrs:{label:"日期"}},[e("el-date-picker",{staticClass:"filter-item",attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:t.listQuery.time_range,callback:function(a){t.$set(t.listQuery,"time_range",a)},expression:"listQuery.time_range"}})],1),e("el-form-item",[e("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.handleFilter}},[t._v(" 搜索 ")])],1)],1),e("div",{staticClass:"chart",staticStyle:{width:"100%",height:"350px"},attrs:{id:"chart"}})],1)},r=[],n=e("313e"),o=e.n(n),l=e("1c31");e("007d");var c={name:"ReportInpourCharts",data:function(){return{chart:null,chartData:{date:["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23"],todayData:[10,20],lastData:[5,15]},listQuery:{time_range:void 0},today:"",lastDate:""}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},methods:{initChart:function(){var t=this;this.chart=o.a.init(document.getElementById("chart")),Object(l["c"])(this.listQuery).then((function(a){t.setOptions(a.data,t.chartData.date,a.nowdate,a.lastdate)}))},handleFilter:function(){this.initChart()},setOptions:function(t,a,e){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.chart.setOption({xAxis:{data:a,boundaryGap:!1,axisTick:{show:!1}},grid:{left:10,right:10,bottom:20,top:30,containLabel:!0},tooltip:{trigger:"axis",axisPointer:{type:"cross"},padding:[5,10]},yAxis:{axisTick:{show:!1}},legend:{},series:[{name:e,smooth:!0,type:"line",itemStyle:{normal:{color:"#3888fa",lineStyle:{color:"#3888fa",width:2},areaStyle:{color:"#f3f8ff"}}},data:t[0],animationDuration:2800,animationEasing:"quadraticOut"},{name:i,smooth:!0,type:"line",itemStyle:{normal:{color:"#f76370",lineStyle:{color:"#f76370",width:2},areaStyle:{color:"#f3f8ff"}}},data:t[1],animationDuration:2800,animationEasing:"quadraticOut"}]})}}},s=c,u=e("2877"),d=Object(u["a"])(s,i,r,!1,null,null,null);a["default"]=d.exports},"1c31":function(t,a,e){"use strict";e.d(a,"e",(function(){return r})),e.d(a,"a",(function(){return n})),e.d(a,"d",(function(){return o})),e.d(a,"b",(function(){return l})),e.d(a,"c",(function(){return c}));var i=e("b775");function r(t){return Object(i["a"])({url:"/api/admin/report/report_list",method:"get",params:t})}function n(t){return Object(i["a"])({url:"/api/admin/report/report_channel_list",method:"get",params:t})}function o(t){return Object(i["a"])({url:"/api/admin/report/report_keep_list",method:"get",params:t})}function l(t){return Object(i["a"])({url:"/api/admin/report/report_charts_data",method:"get",params:t})}function c(t){return Object(i["a"])({url:"/api/admin/report/report_inpour_charts_data",method:"get",params:t})}}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-23d7438e"],{"15b3":function(t,a,e){},"3a03":function(t,a,e){},"46b5":function(t,a,e){"use strict";var n=e("e42c"),s=e.n(n);s.a},"523e":function(t,a,e){},"5e65":function(t,a,e){"use strict";var n=e("3a03"),s=e.n(n);s.a},6377:function(t,a,e){"use strict";var n=e("709e"),s=e.n(n);s.a},"6dfa":function(t,a,e){"use strict";e.d(a,"b",(function(){return s})),e.d(a,"d",(function(){return i})),e.d(a,"h",(function(){return c})),e.d(a,"i",(function(){return l})),e.d(a,"g",(function(){return r})),e.d(a,"a",(function(){return o})),e.d(a,"j",(function(){return d})),e.d(a,"m",(function(){return A})),e.d(a,"e",(function(){return u})),e.d(a,"k",(function(){return p})),e.d(a,"f",(function(){return m})),e.d(a,"n",(function(){return v})),e.d(a,"c",(function(){return h})),e.d(a,"l",(function(){return g}));var n=e("b775");function s(t){return Object(n["a"])({url:"/api/admin/channel/agent_list",method:"get",params:t})}function i(t){return Object(n["a"])({url:"/api/admin/channel/channel_list",method:"get",params:t})}function c(t){return Object(n["a"])({url:"/api/admin/channel/get_person_system",method:"get",params:t})}function l(t){return Object(n["a"])({url:"/api/admin/channel/get_team_system",method:"get",params:t})}function r(t){return Object(n["a"])({url:"/api/admin/channel/get_create_channel",method:"post",params:t})}function o(t){return Object(n["a"])({url:"/api/admin/channel/create_channel",method:"post",data:t})}function d(t){return Object(n["a"])({url:"/api/admin/channel/get_update_channel",method:"post",params:t})}function A(t){return Object(n["a"])({url:"/api/admin/channel/update_channel",method:"post",data:t})}function u(t){return Object(n["a"])({url:"/api/admin/channel/delete_channel",method:"post",data:t})}function p(t){return Object(n["a"])({url:"/api/admin/channel/publicity",method:"get",params:t})}function m(t){return Object(n["a"])({url:"/api/admin/channel/edit_pwd",method:"post",data:t})}function v(t){return Object(n["a"])({url:"/api/admin/channel/update_real_name",method:"post",data:t})}function h(t){return Object(n["a"])({url:"/api/admin/channel/channel_income",method:"get",params:t})}function g(t){return Object(n["a"])({url:"/api/admin/channel/real_channel_income",method:"get",params:t})}},"709e":function(t,a,e){},9406:function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"dashboard-container"},[e(t.currentRole,{tag:"component"})],1)},s=[],i=(e("caad"),e("2532"),e("5530")),c=e("2f62"),l=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"dashboard-editor-container"},[""!==t.note?e("el-alert",{attrs:{title:t.note,type:"warning","show-icon":!0,effect:"dark"}}):t._e(),t.totalData?e("panel-group",{attrs:{"table-data":t.tableData,"total-data":t.totalData}}):t._e()],1)},r=[],o=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("el-row",{staticClass:"panel-group",attrs:{gutter:40}},[e("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[e("div",{staticClass:"card-panel"},[e("div",{staticClass:"card-panel-icon-wrapper icon-people"},[e("svg-icon",{attrs:{"icon-class":"peoples","class-name":"card-panel-icon"}})],1),e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[t._v(" 今日安装 ")]),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.totalData.user,duration:2600}})],1)])]),e("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[e("div",{staticClass:"card-panel"},[e("div",{staticClass:"card-panel-icon-wrapper icon-money"},[e("svg-icon",{attrs:{"icon-class":"money","class-name":"card-panel-icon"}})],1),e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[t._v(" 今日充值 ")]),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.totalData.inpour,duration:3200}})],1)])]),e("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[e("div",{staticClass:"card-panel"},[e("div",{staticClass:"card-panel-icon-wrapper icon-shopping"},[e("svg-icon",{attrs:{"icon-class":"shopping","class-name":"card-panel-icon"}})],1),e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[t._v(" 今日返佣 ")]),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.totalData.getmoney,duration:3600}})],1)])]),e("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[e("div",{staticClass:"card-panel"},[e("div",{staticClass:"card-panel-icon-wrapper icon-message"},[e("svg-icon",{attrs:{"icon-class":"chart","class-name":"card-panel-icon"}})],1),e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[t._v(" 今日ARPU ")]),e("span",{staticClass:"card-panel-num"},[t._v(t._s(t.totalData.arpu))])])])]),e("el-col",{attrs:{xs:48,sm:48,lg:24}},[t.avatar?e("div",[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:6,xs:24}},[e("user-card",{attrs:{info:t.avatar}})],1),e("el-col",{attrs:{span:18,xs:24}},[e("el-card",[e("el-tabs",{model:{value:t.activeTab,callback:function(a){t.activeTab=a},expression:"activeTab"}},[e("el-tab-pane",{attrs:{label:"推广链接",name:"timeline"}},[e("timeline",{attrs:{timelines:t.timeline},on:{handlerRefresh:t.getUser}})],1),e("el-tab-pane",{attrs:{label:"账号管理",name:"account"}},[e("account")],1)],1)],1)],1)],1)],1):t._e()])],1)},d=[],A=e("ec1b"),u=e.n(A),p=e("6dfa"),m=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("el-card",{staticStyle:{"margin-bottom":"20px"}},[e("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[e("span",[t._v("我的APP二维码")])]),e("div",{staticClass:"user-profile"},[e("div",{staticClass:"box-center"},[e("el-image",{staticStyle:{width:"100px",height:"100px"},attrs:{src:t.info.avatar,fit:"fit"}})],1)]),e("div",{staticClass:"user-bio"},[e("div",{staticClass:"user-skills user-bio-section"},[e("div",{staticClass:"user-bio-section-header"},[e("span")]),e("div",{staticClass:"user-bio-section-body",attrs:{align:"center"}},[e("el-image",{staticStyle:{width:"100px",height:"100%"},attrs:{src:t.info.logo,fit:"fit"}})],1)])])]),e("el-card",{staticStyle:{"margin-bottom":"20px"}},[e("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[e("span",[t._v("专属客服")])]),e("div",{staticClass:"user-profile",on:{click:t.oepnService}},[e("div",{staticClass:"box-center"},[e("el-image",{staticStyle:{width:"100px",height:"100px"},attrs:{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAJYAAACWACbxr6zAAAAB3RJTUUH5QMUEikASWJyfAAADBtJREFUeNrtnftvXMUVxz9z1+v3I7YTHIiduJCEEEoDiEJATalUSh+CIlqpUoWqVqra/lCpUn9pqapKVVWpqPSX/tA/oFRCopWQgqhEAVGBBEmAJDwa8nBeTuz47fgRP9brvbc/nGtYe+/MPrx379p3PtLKln13dmbOd2bOOXPnLlgsFovFYokjqtQ3PtP6RNR1t2Tx9Mzhkt5XlAAMRldAPVBTbJmWovGAZWDR/z2HYsRQsLHWGN8BuoDbgV3AfuABoDnq3okJN4BjwCdAP3AWGAHclQsKFUFBAlhj/FuAnwOPIcZvi7o3Ys40IoKXgb8B11b+UYgI8gogy/gO8DXgN8DDUbfaEsibwJ+A1/Bng3wiSJj+mWX8TuDXwDPAHVG30qKlF/gm0Ah8DCw8UreP11NntW/QCiDL+Angd8Bv/YIt1U0jMkN7wH8BzySCQAGsWfMfA/4INETdMktR3AmcAs4B6ETg5CmkB1nz26NujaVo2hHb9ZguMgkgCfwSeDDqllhK5kHEhkndBTkCyJr+9wJPRt0Cy7p5ErFlYCLPNAPsBbqjrr1l3XTjCyAIkwB2Ialdy8amBrFlIDoBJIGDUdfcUjYOovEDdAJoBHZHXWtL2diNJoejE0ALNumzmWhEbJqDTgB2S3fzEWjTfIkgyybHCiDmWAHEHCuAmGMFEHOsAGKOFUDMsQKIOVYAMccKIOZYAcQcK4CYYwUQc6wAYo4VQMyxAog5VgAxxwog5lgBxBwrgJhjBRBzrABiTmhHv1QB0vI8NM+5MhUMKs9N60qBmyn9/Xh+3dZZD23xGXBdeX8h/RQmoQigtgEe+jG03qTvSKXg43/DxaPFdeSeQ7Dvq/r/KwXXB+HYc7A0z6q74T1P6vTAU9DYHlw35cCHh+HSMXA0z0/xPGjrgvufgsYtBYgl+70uTFyGsQvyc2YUMqnoBBGKADLL0LIN7vgWoBuJCUjNQf/7htG6BicBd34Dbn/UUG4NnHwBlpfIPQrhQW0j7PkytHaT9VC11fW6egIuHTVUJLucHZpyML/fTcP0EEwPw+DHMHwGJq/A1AC4y1TsaE4oAkgvwpUTsP9Rw0UKtu+DZAOkZgtosAd1zbDlFqTDNZ3uzsPQKRFA4Aj2ZLRpy1CFjWjPk9FsqosJpwbad0F7L/TeL0afGYHjL8CJF0UglRBBKBOOUjB0Gm6MGz7Bg6YOaN1eWIe7LnTskuu1He7A3HUZUaWuzxXFRWYyT8S6pRsO/Qzu/a4IpGj/qATCEYAjU9n0EHoVu9C8Fbr2FL6GtndDwxZzx4ydh9mxDSKAgD6pbYJDP4F7vlMZEYTmcizNw+V3zQ1QSWjv0Ttb2SSScPN+8k6LVz+Apbn811UEhfRw9quApa62WWaCu58EJ5nvQ9ZHaGGgm5FlID0v63ygEDzouVuihqUFc3nJevEZtB2oYHFa1v9qITUr/lA2TgIa2kDVoF/KPKhrgUM/Fcfw4pHCBkkphJoHGDkLM8PQeSvamaClS6b11Lx+2vZcaO2Cpk59OSi4MQZjF6mO0e/A8X/BmTeyjOdBohY6dko4u/uQYZp3oX4L7P6SREpeCY5mIYQnAAXzUzDa5wsgCN8RvGk3XB8AZYi7t94qMbx21Ci4chIWZ6pk/Vci/qFPILGmlwc+gL634KEfwRe/b4j9PfjcQXF8pwbDaVeoaYfMElx+D+NUl2yCjl5z45yERADKIFd3STp7eSnMFhWBByhwHDFw9supEaEe/YeEy1oruNC+A3rvIzRnMPS808g5Pxw0GLhrr6zxOmrqoOeAoQxHPuPaqSoZ/QWgHJiblGxoJmW4Lgl7HpbEUxiEKgDliBMzfQ1jPqBrryR5gsJBzxOnqbUL4yiYuAyzI9Hn1ovqHyVL5NykuX/au0UAxaScCyX07koviBOjNZ5v4Pbu4Gs8V3yEljwC6H8/fyRRbSgFcxOQuoFxhqyphfoWQlkGQheAm5GpeXlRc4EnUcD2OzSbM0pyBclGTQcoSM1ILj0sTzk0lISJGZPf4klyqHnbBp0BlCPT3NSA4dMcmQESAUmPmlo/AaT9AMmhj50Xh2uzEpZvE74AlKxx45cMF3lwy+ehfq0f4Kt/223mzxj4CBZmqI74vxg8cXATpmyfkqzq7PgGDANXyKT97VVDONi8NTfR4/kOUGM72vXPW4bBj+QzNhputn9jWL6WUxI2hiHwik2ao33i8AQ2QuMHeB5s2y3JokABODL9D5/ZOOFfdtuSdbD3K1DfhtHBW5wRZzqMJlZEAMqBiSsweVX/iYl66Ny1eh1PJKGzF/03GynJIE4PVWH4p8QpdTOrXyuOal0TPPADOPBtzN69B+ffzr27qVxU7HHw6XkY+BB67tFc4MpmT20zLN2QP9U2QvcBjCHk5WPiSVfdDOD7NUtzq1PciaS0c/vt0LUPEnWG9jkwOwTn3xLhhCHyignAdSUHnknJhkhQh3X2QmObHxcjPkFTh6ZAJbttw2f9zglpt6z0BsOBx+ELj+dUW2Y0xac3g2hRcOEITPSHN8NVbOJUjuzUmZaBumYRgefKq2uvL4AgB8mB6cEqD//8O4ezXyg+uxPIhAOpaTjzergObuUEoCRfP9mP1hGsbZZpEUQwHTvFNwjEk/sNNmT4lw9HlsEjf5cQN0z/pqJjx12W28C9Zc0FSoyerJebRG7ejz78y8hO2kYM/4w4MDMEr/0F3n0+T5awDFT0O4E8D0bPwcIUNAaFdp4YvaENUBIVaDtpUELLqnP+SmFlGCoYPw9v/FXOJaz8LUwqKgDHER9g/CLs3EruOuiJE9i8TbKCDbr42A//pgarMPxbU0+jAZU4xfOTsDANw6fhg8OV3dau7LeCKTkMMnQadt4X8H//Xrgdd0EiAXVtBDtLrtxokk5V9wywMO2HgWvqmEnL7DV6XkQ82gc3JiTWz6Qr26aKfy2c58rW7X3fCw4HVQ3ctMf37DWjf2kehj+p0vBvBQfeex7+94qI+dP2IzujqTnJ7nne6gih0oKuuACUkrh2ckDSvDkhnit3Ctc1oU3/Tl6RkLKqp39g/rrsgjoBvbxyDjDqCaziXagcmB2FiUtow8H2HYYNIA/G+sSRrObpXxqbmwdQEYxyE5GMIXdZ1nBPF8IZOshbhkvvygFUy/qJbBIdPl3CFqeSY19jF6prFG1kohGAf4Z/pK/IGjhy8+fUQPWv/xuFSLpR+Rs5o30Ud7Q6A1dPSvhnKQ+RjSPPk8Oj2ptFA0gvytHvDXfzZxUTmQBWwsEp05mBNTWduCwvO/2Xj+gE4IeDo0X4AWMX5AZT6wCWj0jHUiYtdwm5Bazpblo2SOz0X14iFYBSsqbnOxmDf4Jm7EKUtd2cRLuaKrmhc+Qsnz09I+iVEOOX64i00n3OStlF5iaMZVU5Fd8LyEYpSQaNnJObP02Pixv4yL81ep2S9ZBy0nPBy4mT8B/TVgDpxfKUEyWRCgBEBCdf9J8joMPzN3/WOaqU/xSRV5+VEzm6s4jjl8y7jEqJA/vqn/OUc7GKdyt9IhcASkLB6wN5LnPKMP0r2Z/vP77OzypXOVVA9ALA3yGr1EhRZXrgUrnKiRibUok5VgAxxwog5lgBxBwrgJhjBRBzrABijhVAzLECiDlWADHHCiDmWAHEHCuAmGMFEHOsAGKOFUDMsQKIOVYAMccKIOZYAcQcK4CYoxPAArDZnsEZZ9KITXPQCWAWGIy61payMYjYNAedAFLAO1HX2lI23kFsmoPJB7BncTcPWlvmE8Bo1DW3rJtRShTAKeDNqGtvWTdvIrYMJOd02+upszxStw/Ec7wIfB3YEnUrLCXRD/zC/8nTM4dzLsiXBzgOPAtUy5eyWwpnCbGd8QxzoADWKOU54KWoW2MpmpcQ2wHBox/038iXvRQsASeBXuA2bPaw2lkGXgZ+BQyD3vhgEACsEsEk8B9gHLgLaIm6lZZArgF/AH7v/240PuQRAKwSwSJwBDgKdAG7qJIHTFhIAa8gDt8/EVvlNT6UZsB3gB8CB4Ee4F7gANCBzAxV/lCUDY+HpHUngQ+BE8BVZGBOFltYUcZ6pvWJoD8ngAZkVugstkxL0XjABDCCbPDkPFutkJG/QknG0gjBEjHFGN5isVgsFku8+T/qk75ar6tM8QAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0wNy0xOVQwMzozOToxNSswMDowMFrQJhgAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTktMDEtMDhUMjA6MDg6NTArMDA6MDC75zCZAAAAIHRFWHRzb2Z0d2FyZQBodHRwczovL2ltYWdlbWFnaWNrLm9yZ7zPHZ0AAAAYdEVYdFRodW1iOjpEb2N1bWVudDo6UGFnZXMAMaf/uy8AAAAYdEVYdFRodW1iOjpJbWFnZTo6SGVpZ2h0ADI0OWBnaMkAAAAXdEVYdFRodW1iOjpJbWFnZTo6V2lkdGgAMjQ585Y4lAAAABl0RVh0VGh1bWI6Ok1pbWV0eXBlAGltYWdlL3BuZz+yVk4AAAAXdEVYdFRodW1iOjpNVGltZQAxNTQ2OTc4MTMwpmzkpQAAABF0RVh0VGh1bWI6OlNpemUANTQzNEKCDIYKAAAAWnRFWHRUaHVtYjo6VVJJAGZpbGU6Ly8vZGF0YS93d3dyb290L3d3dy5lYXN5aWNvbi5uZXQvY2RuLWltZy5lYXN5aWNvbi5jbi9maWxlcy8xMjEvMTIxMTE0My5wbmeUS0chAAAAAElFTkSuQmCC",fit:"fit"}})],1)])])],1)},v=[],h={props:{info:{}},methods:{oepnService:function(){window.open(this.info.service,"_blank").location}}},g=h,b=(e("dad2"),e("2877")),f=Object(b["a"])(g,m,v,!1,null,"12b81773",null),B=f.exports,w=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"block"},[e("el-timeline",[e("el-timeline-item",{attrs:{placement:"top"}},[e("el-button",{attrs:{type:"primary"},on:{click:t.handlerRefresh}},[t._v("重新生成")])],1),t._l(t.timelines,(function(a,n){return e("el-timeline-item",{key:n,attrs:{timestamp:a.timestamp,placement:"top"}},[e("el-card",[e("p",{staticStyle:{color:"red"}},[t._v(t._s(a.content))]),e("el-button",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:a.content,expression:"item.content",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:t.clipboardSuccess,expression:"clipboardSuccess",arg:"success"}],attrs:{type:"primary"}},[t._v("复制")])],1)],1)}))],2)],1)},C=[],D=e("b311");if(!D)throw new Error("you should npm install `clipboard` --save at first ");var y={bind:function(t,a){if("success"===a.arg)t._v_clipboard_success=a.value;else if("error"===a.arg)t._v_clipboard_error=a.value;else{var e=new D(t,{text:function(){return a.value},action:function(){return"cut"===a.arg?"cut":"copy"}});e.on("success",(function(a){var e=t._v_clipboard_success;e&&e(a)})),e.on("error",(function(a){var e=t._v_clipboard_error;e&&e(a)})),t._v_clipboard=e}},update:function(t,a){"success"===a.arg?t._v_clipboard_success=a.value:"error"===a.arg?t._v_clipboard_error=a.value:(t._v_clipboard.text=function(){return a.value},t._v_clipboard.action=function(){return"cut"===a.arg?"cut":"copy"})},unbind:function(t,a){"success"===a.arg?delete t._v_clipboard_success:"error"===a.arg?delete t._v_clipboard_error:(t._v_clipboard.destroy(),delete t._v_clipboard)}},E=function(t){t.directive("Clipboard",y)};window.Vue&&(window.clipboard=y,Vue.use(E)),y.install=E;var P=y,x={directives:{clipboard:P},props:["timelines"],methods:{clipboardSuccess:function(){this.$message({message:"复制成功",type:"success",duration:1500})},handlerRefresh:function(){this.$emit("handlerRefresh")}}},O=x,U=Object(b["a"])(O,w,C,!1,null,null,null),j=U.exports,T=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("el-form",[e("el-form-item",{attrs:{label:"原密码"}},[e("el-input",{attrs:{"show-password":""},model:{value:t.oldPwd,callback:function(a){t.oldPwd="string"===typeof a?a.trim():a},expression:"oldPwd"}})],1),e("el-form-item",{attrs:{label:"新密码"}},[e("el-input",{attrs:{"show-password":""},model:{value:t.newPwd,callback:function(a){t.newPwd="string"===typeof a?a.trim():a},expression:"newPwd"}})],1),e("el-form-item",[e("el-button",{attrs:{type:"primary"},on:{click:t.submit}},[t._v("修改")])],1)],1)},k=[],F={data:function(){return{oldPwd:"",newPwd:""}},methods:{submit:function(){var t=this;Object(p["f"])({old_pwd:this.oldPwd,new_pwd:this.newPwd}).then((function(a){t.$message({message:a.message,type:"success",duration:5e3})})).catch((function(){})),this.newPwd="",this.oldPwd=""}}},W=F,Q=Object(b["a"])(W,T,k,!1,null,null,null),M=Q.exports,H={components:{UserCard:B,Timeline:j,Account:M,CountTo:u.a},props:["totalData","tableData"],data:function(){return{avatar:"",activeTab:"timeline",timeline:[]}},created:function(){this.getUser()},methods:{getUser:function(){var t=this;Object(p["k"])().then((function(a){t.avatar=a.data.info,t.timeline=a.data.download}))}}},G=H,z=(e("46b5"),Object(b["a"])(G,o,d,!1,null,"28bf3371",null)),S=z.exports,V=e("b775");function Y(t){return Object(V["a"])({url:"/api/admin/index/board",method:"get",params:t})}var Z={name:"DashboardAdmin",components:{PanelGroup:S},data:function(){return{totalData:{},tableData:[],note:""}},created:function(){this.getData()},methods:{getData:function(){var t=this;this.listLoading=!0,Y(this.listQuery).then((function(a){t.totalData=a.data,t.listLoading=!1,a.note&&(t.note=a.note,t.$alert(a.note,"通知公告",{confirmButtonText:"确定"}))}))}}},R=Z,N=(e("6377"),Object(b["a"])(R,l,r,!1,null,"12f9160e",null)),I=N.exports,L=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"dashboard-editor-container"},[""!==t.note?e("el-alert",{attrs:{title:t.note,type:"warning","show-icon":!0,effect:"dark"}}):t._e(),t.totalData?e("panel-group",{attrs:{"table-data":t.tableData,"total-data":t.totalData}}):t._e()],1)},X=[],J=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("el-row",{staticClass:"panel-group",attrs:{gutter:40}},[e("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[e("div",{staticClass:"card-panel"},[e("div",{staticClass:"card-panel-icon-wrapper icon-people"},[e("svg-icon",{attrs:{"icon-class":"peoples","class-name":"card-panel-icon"}})],1),e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[t._v(" 今日安装 ")]),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.totalData.user,duration:2600}})],1)])]),e("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[e("div",{staticClass:"card-panel"},[e("div",{staticClass:"card-panel-icon-wrapper icon-money"},[e("svg-icon",{attrs:{"icon-class":"money","class-name":"card-panel-icon"}})],1),e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[t._v(" 今日充值 ")]),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.totalData.inpour,duration:3200}})],1)])]),e("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[e("div",{staticClass:"card-panel"},[e("div",{staticClass:"card-panel-icon-wrapper icon-shopping"},[e("svg-icon",{attrs:{"icon-class":"shopping","class-name":"card-panel-icon"}})],1),e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[t._v(" 今日返佣 ")]),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.totalData.getmoney,duration:3600}})],1)])]),e("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[e("div",{staticClass:"card-panel"},[e("div",{staticClass:"card-panel-icon-wrapper icon-message"},[e("svg-icon",{attrs:{"icon-class":"chart","class-name":"card-panel-icon"}})],1),e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[t._v(" 今日ARPU ")]),e("span",{staticClass:"card-panel-num"},[t._v(t._s(t.totalData.arpu))])])])]),e("el-col",{attrs:{xs:48,sm:48,lg:24}},[t.avatar?e("div",[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:6,xs:24}},[e("user-card",{attrs:{info:t.avatar}})],1),e("el-col",{attrs:{span:18,xs:24}},[e("el-card",[e("el-tabs",{model:{value:t.activeTab,callback:function(a){t.activeTab=a},expression:"activeTab"}},[e("el-tab-pane",{attrs:{label:"推广链接",name:"timeline"}},[e("timeline",{attrs:{timelines:t.timeline},on:{handlerRefresh:t.getUser}})],1),e("el-tab-pane",{attrs:{label:"账号管理",name:"account"}},[e("account")],1)],1)],1)],1)],1)],1):t._e()])],1)},q=[],_=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("el-card",{staticStyle:{"margin-bottom":"20px"}},[e("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[e("span",[t._v("我的APP二维码")])]),e("div",{staticClass:"user-profile"},[e("div",{staticClass:"box-center"},[e("el-image",{staticStyle:{width:"100px",height:"100px"},attrs:{src:t.info.avatar,fit:"fit"}})],1)]),e("div",{staticClass:"user-bio"},[e("div",{staticClass:"user-skills user-bio-section"},[e("div",{staticClass:"user-bio-section-header"},[e("span")]),e("div",{staticClass:"user-bio-section-body",attrs:{align:"center"}},[e("el-image",{staticStyle:{width:"100px",height:"100%"},attrs:{src:t.info.logo,fit:"fit"}})],1)])])]),e("el-card",{staticStyle:{"margin-bottom":"20px"}},[e("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[e("span",[t._v("专属客服")])]),e("div",{staticClass:"user-profile",on:{click:t.oepnService}},[e("div",{staticClass:"box-center"},[e("el-image",{staticStyle:{width:"100px",height:"100px"},attrs:{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAJYAAACWACbxr6zAAAAB3RJTUUH5QMUEikASWJyfAAADBtJREFUeNrtnftvXMUVxz9z1+v3I7YTHIiduJCEEEoDiEJATalUSh+CIlqpUoWqVqra/lCpUn9pqapKVVWpqPSX/tA/oFRCopWQgqhEAVGBBEmAJDwa8nBeTuz47fgRP9brvbc/nGtYe+/MPrx379p3PtLKln13dmbOd2bOOXPnLlgsFovFYokjqtQ3PtP6RNR1t2Tx9Mzhkt5XlAAMRldAPVBTbJmWovGAZWDR/z2HYsRQsLHWGN8BuoDbgV3AfuABoDnq3okJN4BjwCdAP3AWGAHclQsKFUFBAlhj/FuAnwOPIcZvi7o3Ys40IoKXgb8B11b+UYgI8gogy/gO8DXgN8DDUbfaEsibwJ+A1/Bng3wiSJj+mWX8TuDXwDPAHVG30qKlF/gm0Ah8DCw8UreP11NntW/QCiDL+Angd8Bv/YIt1U0jMkN7wH8BzySCQAGsWfMfA/4INETdMktR3AmcAs4B6ETg5CmkB1nz26NujaVo2hHb9ZguMgkgCfwSeDDqllhK5kHEhkndBTkCyJr+9wJPRt0Cy7p5ErFlYCLPNAPsBbqjrr1l3XTjCyAIkwB2Ialdy8amBrFlIDoBJIGDUdfcUjYOovEDdAJoBHZHXWtL2diNJoejE0ALNumzmWhEbJqDTgB2S3fzEWjTfIkgyybHCiDmWAHEHCuAmGMFEHOsAGKOFUDMsQKIOVYAMccKIOZYAcQcK4CYYwUQc6wAYo4VQMyxAog5VgAxxwog5lgBxBwrgJhjBRBzrABiTmhHv1QB0vI8NM+5MhUMKs9N60qBmyn9/Xh+3dZZD23xGXBdeX8h/RQmoQigtgEe+jG03qTvSKXg43/DxaPFdeSeQ7Dvq/r/KwXXB+HYc7A0z6q74T1P6vTAU9DYHlw35cCHh+HSMXA0z0/xPGjrgvufgsYtBYgl+70uTFyGsQvyc2YUMqnoBBGKADLL0LIN7vgWoBuJCUjNQf/7htG6BicBd34Dbn/UUG4NnHwBlpfIPQrhQW0j7PkytHaT9VC11fW6egIuHTVUJLucHZpyML/fTcP0EEwPw+DHMHwGJq/A1AC4y1TsaE4oAkgvwpUTsP9Rw0UKtu+DZAOkZgtosAd1zbDlFqTDNZ3uzsPQKRFA4Aj2ZLRpy1CFjWjPk9FsqosJpwbad0F7L/TeL0afGYHjL8CJF0UglRBBKBOOUjB0Gm6MGz7Bg6YOaN1eWIe7LnTskuu1He7A3HUZUaWuzxXFRWYyT8S6pRsO/Qzu/a4IpGj/qATCEYAjU9n0EHoVu9C8Fbr2FL6GtndDwxZzx4ydh9mxDSKAgD6pbYJDP4F7vlMZEYTmcizNw+V3zQ1QSWjv0Ttb2SSScPN+8k6LVz+Apbn811UEhfRw9quApa62WWaCu58EJ5nvQ9ZHaGGgm5FlID0v63ygEDzouVuihqUFc3nJevEZtB2oYHFa1v9qITUr/lA2TgIa2kDVoF/KPKhrgUM/Fcfw4pHCBkkphJoHGDkLM8PQeSvamaClS6b11Lx+2vZcaO2Cpk59OSi4MQZjF6mO0e/A8X/BmTeyjOdBohY6dko4u/uQYZp3oX4L7P6SREpeCY5mIYQnAAXzUzDa5wsgCN8RvGk3XB8AZYi7t94qMbx21Ci4chIWZ6pk/Vci/qFPILGmlwc+gL634KEfwRe/b4j9PfjcQXF8pwbDaVeoaYfMElx+D+NUl2yCjl5z45yERADKIFd3STp7eSnMFhWBByhwHDFw9supEaEe/YeEy1oruNC+A3rvIzRnMPS808g5Pxw0GLhrr6zxOmrqoOeAoQxHPuPaqSoZ/QWgHJiblGxoJmW4Lgl7HpbEUxiEKgDliBMzfQ1jPqBrryR5gsJBzxOnqbUL4yiYuAyzI9Hn1ovqHyVL5NykuX/au0UAxaScCyX07koviBOjNZ5v4Pbu4Gs8V3yEljwC6H8/fyRRbSgFcxOQuoFxhqyphfoWQlkGQheAm5GpeXlRc4EnUcD2OzSbM0pyBclGTQcoSM1ILj0sTzk0lISJGZPf4klyqHnbBp0BlCPT3NSA4dMcmQESAUmPmlo/AaT9AMmhj50Xh2uzEpZvE74AlKxx45cMF3lwy+ehfq0f4Kt/223mzxj4CBZmqI74vxg8cXATpmyfkqzq7PgGDANXyKT97VVDONi8NTfR4/kOUGM72vXPW4bBj+QzNhputn9jWL6WUxI2hiHwik2ao33i8AQ2QuMHeB5s2y3JokABODL9D5/ZOOFfdtuSdbD3K1DfhtHBW5wRZzqMJlZEAMqBiSsweVX/iYl66Ny1eh1PJKGzF/03GynJIE4PVWH4p8QpdTOrXyuOal0TPPADOPBtzN69B+ffzr27qVxU7HHw6XkY+BB67tFc4MpmT20zLN2QP9U2QvcBjCHk5WPiSVfdDOD7NUtzq1PciaS0c/vt0LUPEnWG9jkwOwTn3xLhhCHyignAdSUHnknJhkhQh3X2QmObHxcjPkFTh6ZAJbttw2f9zglpt6z0BsOBx+ELj+dUW2Y0xac3g2hRcOEITPSHN8NVbOJUjuzUmZaBumYRgefKq2uvL4AgB8mB6cEqD//8O4ezXyg+uxPIhAOpaTjzergObuUEoCRfP9mP1hGsbZZpEUQwHTvFNwjEk/sNNmT4lw9HlsEjf5cQN0z/pqJjx12W28C9Zc0FSoyerJebRG7ejz78y8hO2kYM/4w4MDMEr/0F3n0+T5awDFT0O4E8D0bPwcIUNAaFdp4YvaENUBIVaDtpUELLqnP+SmFlGCoYPw9v/FXOJaz8LUwqKgDHER9g/CLs3EruOuiJE9i8TbKCDbr42A//pgarMPxbU0+jAZU4xfOTsDANw6fhg8OV3dau7LeCKTkMMnQadt4X8H//Xrgdd0EiAXVtBDtLrtxokk5V9wywMO2HgWvqmEnL7DV6XkQ82gc3JiTWz6Qr26aKfy2c58rW7X3fCw4HVQ3ctMf37DWjf2kehj+p0vBvBQfeex7+94qI+dP2IzujqTnJ7nne6gih0oKuuACUkrh2ckDSvDkhnit3Ctc1oU3/Tl6RkLKqp39g/rrsgjoBvbxyDjDqCaziXagcmB2FiUtow8H2HYYNIA/G+sSRrObpXxqbmwdQEYxyE5GMIXdZ1nBPF8IZOshbhkvvygFUy/qJbBIdPl3CFqeSY19jF6prFG1kohGAf4Z/pK/IGjhy8+fUQPWv/xuFSLpR+Rs5o30Ud7Q6A1dPSvhnKQ+RjSPPk8Oj2ptFA0gvytHvDXfzZxUTmQBWwsEp05mBNTWduCwvO/2Xj+gE4IeDo0X4AWMX5AZT6wCWj0jHUiYtdwm5Bazpblo2SOz0X14iFYBSsqbnOxmDf4Jm7EKUtd2cRLuaKrmhc+Qsnz09I+iVEOOX64i00n3OStlF5iaMZVU5Fd8LyEYpSQaNnJObP02Pixv4yL81ep2S9ZBy0nPBy4mT8B/TVgDpxfKUEyWRCgBEBCdf9J8joMPzN3/WOaqU/xSRV5+VEzm6s4jjl8y7jEqJA/vqn/OUc7GKdyt9IhcASkLB6wN5LnPKMP0r2Z/vP77OzypXOVVA9ALA3yGr1EhRZXrgUrnKiRibUok5VgAxxwog5lgBxBwrgJhjBRBzrABijhVAzLECiDlWADHHCiDmWAHEHCuAmGMFEHOsAGKOFUDMsQKIOVYAMccKIOZYAcQcK4CYoxPAArDZnsEZZ9KITXPQCWAWGIy61payMYjYNAedAFLAO1HX2lI23kFsmoPJB7BncTcPWlvmE8Bo1DW3rJtRShTAKeDNqGtvWTdvIrYMJOd02+upszxStw/Ec7wIfB3YEnUrLCXRD/zC/8nTM4dzLsiXBzgOPAtUy5eyWwpnCbGd8QxzoADWKOU54KWoW2MpmpcQ2wHBox/038iXvRQsASeBXuA2bPaw2lkGXgZ+BQyD3vhgEACsEsEk8B9gHLgLaIm6lZZArgF/AH7v/240PuQRAKwSwSJwBDgKdAG7qJIHTFhIAa8gDt8/EVvlNT6UZsB3gB8CB4Ee4F7gANCBzAxV/lCUDY+HpHUngQ+BE8BVZGBOFltYUcZ6pvWJoD8ngAZkVugstkxL0XjABDCCbPDkPFutkJG/QknG0gjBEjHFGN5isVgsFku8+T/qk75ar6tM8QAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0wNy0xOVQwMzozOToxNSswMDowMFrQJhgAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTktMDEtMDhUMjA6MDg6NTArMDA6MDC75zCZAAAAIHRFWHRzb2Z0d2FyZQBodHRwczovL2ltYWdlbWFnaWNrLm9yZ7zPHZ0AAAAYdEVYdFRodW1iOjpEb2N1bWVudDo6UGFnZXMAMaf/uy8AAAAYdEVYdFRodW1iOjpJbWFnZTo6SGVpZ2h0ADI0OWBnaMkAAAAXdEVYdFRodW1iOjpJbWFnZTo6V2lkdGgAMjQ585Y4lAAAABl0RVh0VGh1bWI6Ok1pbWV0eXBlAGltYWdlL3BuZz+yVk4AAAAXdEVYdFRodW1iOjpNVGltZQAxNTQ2OTc4MTMwpmzkpQAAABF0RVh0VGh1bWI6OlNpemUANTQzNEKCDIYKAAAAWnRFWHRUaHVtYjo6VVJJAGZpbGU6Ly8vZGF0YS93d3dyb290L3d3dy5lYXN5aWNvbi5uZXQvY2RuLWltZy5lYXN5aWNvbi5jbi9maWxlcy8xMjEvMTIxMTE0My5wbmeUS0chAAAAAElFTkSuQmCC",fit:"fit"}})],1)])])],1)},K=[],$={props:{info:{}},methods:{oepnService:function(){window.open(this.info.service,"_blank").location}}},tt=$,at=(e("dae1"),Object(b["a"])(tt,_,K,!1,null,"976d7bc8",null)),et=at.exports,nt=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"block"},[e("el-timeline",[e("el-timeline-item",{attrs:{placement:"top"}},[e("el-button",{attrs:{type:"primary"},on:{click:t.handlerRefresh}},[t._v("重新生成")])],1),t._l(t.timeline,(function(a,n){return e("el-timeline-item",{key:n,attrs:{timestamp:a.timestamp,placement:"top"}},[e("el-card",[e("p",{staticStyle:{color:"red"}},[t._v(t._s(a.content))]),e("el-button",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:a.content,expression:"item.content",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:t.clipboardSuccess,expression:"clipboardSuccess",arg:"success"}],attrs:{type:"primary"}},[t._v("复制")])],1)],1)}))],2)],1)},st=[],it={directives:{clipboard:P},props:["timelines"],data:function(){return{timeline:[]}},created:function(){this.timeline=this.timelines},methods:{clipboardSuccess:function(){this.$message({message:"复制成功",type:"success",duration:1500})},handlerRefresh:function(){this.$emit("handlerRefresh")}}},ct=it,lt=Object(b["a"])(ct,nt,st,!1,null,null,null),rt=lt.exports,ot=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("el-form",[e("el-form-item",{attrs:{label:"原密码"}},[e("el-input",{attrs:{"show-password":""},model:{value:t.oldPwd,callback:function(a){t.oldPwd="string"===typeof a?a.trim():a},expression:"oldPwd"}})],1),e("el-form-item",{attrs:{label:"新密码"}},[e("el-input",{attrs:{"show-password":""},model:{value:t.newPwd,callback:function(a){t.newPwd="string"===typeof a?a.trim():a},expression:"newPwd"}})],1),e("el-form-item",[e("el-button",{attrs:{type:"primary"},on:{click:t.submit}},[t._v("修改")])],1)],1)},dt=[],At={data:function(){return{oldPwd:"",newPwd:""}},methods:{submit:function(){var t=this;Object(p["f"])({old_pwd:this.oldPwd,new_pwd:this.newPwd}).then((function(a){t.$message({message:a.message,type:"success",duration:5e3})})).catch((function(){})),this.newPwd="",this.oldPwd=""}}},ut=At,pt=Object(b["a"])(ut,ot,dt,!1,null,null,null),mt=pt.exports,vt={components:{UserCard:et,Timeline:rt,Account:mt,CountTo:u.a},props:["totalData","tableData"],data:function(){return{avatar:"",activeTab:"timeline",timeline:[]}},created:function(){this.getUser()},methods:{getUser:function(){var t=this;Object(p["k"])().then((function(a){t.avatar=a.data.info,t.timeline=a.data.download}))}}},ht=vt,gt=(e("5e65"),Object(b["a"])(ht,J,q,!1,null,"36c59ed5",null)),bt=gt.exports,ft={name:"DashboardAdmin",components:{PanelGroup:bt},data:function(){return{totalData:{},tableData:[],note:""}},created:function(){this.getData()},methods:{getData:function(){var t=this;this.listLoading=!0,Y(this.listQuery).then((function(a){t.totalData=a.data,t.listLoading=!1,a.note&&(t.note=a.note,t.$alert(a.note,"通知公告",{confirmButtonText:"确定"}))}))}}},Bt=ft,wt=(e("ab35"),Object(b["a"])(Bt,L,X,!1,null,"1f119a86",null)),Ct=wt.exports,Dt={name:"Dashboard",components:{adminDashboard:I,editorDashboard:Ct},data:function(){return{currentRole:"adminDashboard"}},computed:Object(i["a"])({},Object(c["b"])(["roles"])),created:function(){this.roles.includes("admin")||(this.currentRole="editorDashboard")}},yt=Dt,Et=Object(b["a"])(yt,n,s,!1,null,null,null);a["default"]=Et.exports},ab35:function(t,a,e){"use strict";var n=e("b56b"),s=e.n(n);s.a},b56b:function(t,a,e){},dad2:function(t,a,e){"use strict";var n=e("15b3"),s=e.n(n);s.a},dae1:function(t,a,e){"use strict";var n=e("523e"),s=e.n(n);s.a},e42c:function(t,a,e){}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2a636122"],{"093a":function(t,e,n){"use strict";n.d(e,"h",(function(){return a})),n.d(e,"n",(function(){return o})),n.d(e,"x",(function(){return r})),n.d(e,"y",(function(){return l})),n.d(e,"b",(function(){return u})),n.d(e,"m",(function(){return d})),n.d(e,"p",(function(){return s})),n.d(e,"r",(function(){return c})),n.d(e,"v",(function(){return p})),n.d(e,"w",(function(){return m})),n.d(e,"g",(function(){return f})),n.d(e,"l",(function(){return h})),n.d(e,"a",(function(){return v})),n.d(e,"s",(function(){return b})),n.d(e,"i",(function(){return g})),n.d(e,"d",(function(){return w})),n.d(e,"q",(function(){return y})),n.d(e,"f",(function(){return _})),n.d(e,"k",(function(){return k})),n.d(e,"u",(function(){return O})),n.d(e,"c",(function(){return V})),n.d(e,"o",(function(){return j})),n.d(e,"e",(function(){return x})),n.d(e,"t",(function(){return F})),n.d(e,"j",(function(){return S}));var i=n("b775");function a(t){return Object(i["a"])({url:"/api/admin/video/create",method:"post",data:t})}function o(t){return Object(i["a"])({url:"/api/admin/video/video_list",method:"get",params:t})}function r(t){return Object(i["a"])({url:"/api/admin/video/update",method:"post",data:t})}function l(t){return Object(i["a"])({url:"/api/admin/video/update_all",method:"post",data:t})}function u(t){return Object(i["a"])({url:"/api/admin/video/check_video",method:"post",data:t})}function d(t){return Object(i["a"])({url:"/api/admin/video/delete",method:"post",data:t})}function s(t){return Object(i["a"])({url:"/api/admin/video/push",method:"post",data:t})}function c(t){return Object(i["a"])({url:"/api/admin/video/type_list",method:"get",params:t})}function p(t){return Object(i["a"])({url:"/api/admin/video/update_type",method:"post",data:t})}function m(t){return Object(i["a"])({url:"/api/admin/video/update_type_all",method:"post",data:t})}function f(t){return Object(i["a"])({url:"/api/admin/video/create_type",method:"post",data:t})}function h(t){return Object(i["a"])({url:"/api/admin/video/delete_type",method:"post",data:t})}function v(t){return Object(i["a"])({url:"/api/admin/video/actor_list",method:"post",data:t})}function b(t){return Object(i["a"])({url:"/api/admin/video/update_actor",method:"post",data:t})}function g(t){return Object(i["a"])({url:"/api/admin/video/delete_actor",method:"post",data:t})}function w(t){return Object(i["a"])({url:"/api/admin/video/create_actor",method:"post",data:t})}function y(t){return Object(i["a"])({url:"/api/admin/video/rank_list",method:"get",params:t})}function _(t){return Object(i["a"])({url:"/api/admin/video/create_rank",method:"post",data:t})}function k(t){return Object(i["a"])({url:"/api/admin/video/delete_rank",method:"post",data:t})}function O(t){return Object(i["a"])({url:"/api/admin/video/update_rank",method:"post",data:t})}function V(t){return Object(i["a"])({url:"/api/admin/cache/clearVideoCache",method:"get",params:t})}function j(t){return Object(i["a"])({url:"/api/admin/video/label_list",method:"get",params:t})}function x(t){return Object(i["a"])({url:"/api/admin/video/create_label",method:"post",data:t})}function F(t){return Object(i["a"])({url:"/api/admin/video/update_label",method:"post",data:t})}function S(t){return Object(i["a"])({url:"/api/admin/video/delete_label",method:"post",data:t})}},"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),Math.easeInOutQuad=function(t,e,n,i){return t/=i/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function a(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function r(t,e,n){var r=o(),l=t-r,u=20,d=0;e="undefined"===typeof e?500:e;var s=function t(){d+=u;var o=Math.easeInOutQuad(d,r,l,e);a(o),d<e?i(t):n&&"function"===typeof n&&n()};s()}},"5c72":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-input",{staticClass:"filter-item",staticStyle:{width:"200px"},attrs:{placeholder:"名字"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleFilter(e)}},model:{value:t.listQuery.name,callback:function(e){t.$set(t.listQuery,"name",e)},expression:"listQuery.name"}}),n("el-button",{staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.handleFilter}},[t._v(" 搜索 ")]),n("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:t.handleCreate}},[t._v(" 创建 ")])],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],key:t.tableKey,staticStyle:{width:"100%"},attrs:{data:t.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":t.sortChange}},[n("el-table-column",{attrs:{label:"ID",prop:"id",sortable:"custom",align:"center",width:"80","class-name":t.getSortClass()},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.id))])]}}])}),n("el-table-column",{attrs:{label:"演员名称","min-width":"150px",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.name))])]}}])}),n("el-table-column",{attrs:{label:"演员生日","min-width":"150px",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.birthday))])]}}])}),n("el-table-column",{attrs:{label:"胸围","min-width":"150px",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.cup))])]}}])}),n("el-table-column",{attrs:{label:"身高","min-width":"150px",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.height))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center",width:"200","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row,a=e.$index;return[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.handleUpdate(i)}}},[t._v(" 编辑 ")]),0!=i.status?n("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(e){return t.handleDelete(i,a)}}},[t._v(" 删除 ")]):t._e()]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}}),n("el-dialog",{attrs:{title:t.textMap[t.dialogStatus],visible:t.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogFormVisible=e}}},[n("el-form",{ref:"dataForm",staticStyle:{width:"400px","margin-left":"50px"},attrs:{rules:t.rules,model:t.newVideo,"label-position":"left","label-width":"70px"}},[n("el-form-item",{attrs:{label:"演员名称",prop:"name"}},[n("el-input",{model:{value:t.newVideo.name,callback:function(e){t.$set(t.newVideo,"name",e)},expression:"newVideo.name"}})],1),n("el-form-item",{attrs:{label:"生日",prop:"birthday"}},[n("el-input",{model:{value:t.newVideo.birthday,callback:function(e){t.$set(t.newVideo,"birthday",e)},expression:"newVideo.birthday"}})],1),n("el-form-item",{attrs:{label:"胸围",prop:"cup"}},[n("el-input",{model:{value:t.newVideo.cup,callback:function(e){t.$set(t.newVideo,"cup",e)},expression:"newVideo.cup"}})],1),n("el-form-item",{attrs:{label:"身高",prop:"height"}},[n("el-input",{model:{value:t.newVideo.height,callback:function(e){t.$set(t.newVideo,"height",e)},expression:"newVideo.height"}})],1),n("el-form-item",{attrs:{label:"演员头像",prop:"img"}},[n("el-input",{model:{value:t.newVideo.img,callback:function(e){t.$set(t.newVideo,"img",e)},expression:"newVideo.img"}})],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(e){t.dialogFormVisible=!1}}},[t._v(" 取消 ")]),n("el-button",{attrs:{type:"primary"},on:{click:function(e){"create"===t.dialogStatus?t.createData():t.updateData()}}},[t._v(" 提交 ")])],1)],1)],1)},a=[],o=(n("c740"),n("a434"),n("093a")),r=n("6724"),l=n("333d"),u=["未通过","已审核"],d=["普通","推荐"],s=["否","是"],c={name:"ActorList",components:{Pagination:l["a"]},directives:{waves:r["a"]},filters:{isCheckFilter:function(t){return u[t]},betterShowFilter:function(t){return d[t]},homeShowFilter:function(t){return s[t]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,view_type:void 0,video_type:void 0,name:void 0,sort:"id desc"},newVideo:{},dialogFormVisible:!1,dialogStatus:"",textMap:{update:"编辑",create:"创建"},rules:{name:[{required:!0,message:"请输入演员名字",trigger:"blur"}],birthday:[{required:!0,message:"请输入生日",trigger:"blur"}],cup:[{required:!0,message:"请输入胸围",trigger:"blur"}],height:[{required:!0,message:"请输入身高",trigger:"blur"}],img:[{required:!0,message:"请输入演员图片",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(o["a"])(this.listQuery).then((function(e){t.total=e.data.total,t.list=e.data.list,t.listLoading=!1}))},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(t){var e=t.prop,n=t.order;this.listQuery.sort="ascending"===n?e:e+" desc",this.handleFilter()},handleUpdate:function(t){var e=this;this.newVideo=Object.assign({},t),this.dialogStatus="update",this.dialogFormVisible=!0,this.$nextTick((function(){e.$refs["dataForm"].clearValidate()}))},updateData:function(){var t=this;this.$refs["dataForm"].validate((function(e){if(e){var n=Object.assign({},t.newVideo);Object(o["s"])(n).then((function(){var e=t.list.findIndex((function(e){return e.id===t.newVideo.id}));t.list.splice(e,1,t.newVideo),t.dialogFormVisible=!1,t.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},handleDelete:function(t,e){var n=this;this.listLoading=!0,Object(o["i"])(t).then((function(){n.list.splice(e,1),n.listLoading=!1,n.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){n.listLoading=!1}))},handleCreate:function(t,e){var n=this;this.newVideo={},this.dialogStatus="create",this.dialogFormVisible=!0,this.$nextTick((function(){n.$refs["dataForm"].clearValidate()}))},createData:function(){var t=this;this.$refs["dataForm"].validate((function(e){e&&Object(o["d"])(t.newVideo).then((function(){t.dialogFormVisible=!1,t.getList(),t.$notify({title:"Success",message:"创建成功",type:"success",duration:2e3})}))}))},getSortClass:function(){var t=this.listQuery.sort;return"id"===t?"ascending":"descending"}}},p=c,m=n("2877"),f=Object(m["a"])(p,i,a,!1,null,null,null);e["default"]=f.exports},6724:function(t,e,n){"use strict";n("8d41");var i="@@wavesContext";function a(t,e){function n(n){var i=Object.assign({},e.value),a=Object.assign({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),o=a.ele;if(o){o.style.position="relative",o.style.overflow="hidden";var r=o.getBoundingClientRect(),l=o.querySelector(".waves-ripple");switch(l?l.className="waves-ripple":(l=document.createElement("span"),l.className="waves-ripple",l.style.height=l.style.width=Math.max(r.width,r.height)+"px",o.appendChild(l)),a.type){case"center":l.style.top=r.height/2-l.offsetHeight/2+"px",l.style.left=r.width/2-l.offsetWidth/2+"px";break;default:l.style.top=(n.pageY-r.top-l.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",l.style.left=(n.pageX-r.left-l.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return l.style.backgroundColor=a.color,l.className="waves-ripple z-active",!1}}return t[i]?t[i].removeHandle=n:t[i]={removeHandle:n},n}var o={bind:function(t,e){t.addEventListener("click",a(t,e),!1)},update:function(t,e){t.removeEventListener("click",t[i].removeHandle,!1),t.addEventListener("click",a(t,e),!1)},unbind:function(t){t.removeEventListener("click",t[i].removeHandle,!1),t[i]=null,delete t[i]}},r=function(t){t.directive("waves",o)};window.Vue&&(window.waves=o,Vue.use(r)),o.install=r;e["a"]=o},"8d41":function(t,e,n){}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2b9c0322"],{"09f4":function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),Math.easeInOutQuad=function(e,t,n,r){return e/=r/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var r=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function i(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function a(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(e,t,n){var o=a(),l=e-o,s=20,u=0;t="undefined"===typeof t?500:t;var c=function e(){u+=s;var a=Math.easeInOutQuad(u,o,l,t);i(a),u<t?r(e):n&&"function"===typeof n&&n()};c()}},"0a10":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.listQuery}},[n("el-form-item",{attrs:{label:"日期"}},[n("el-date-picker",{staticClass:"filter-item",attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",placeholder:"选择日期"},model:{value:e.listQuery.time_range,callback:function(t){e.$set(e.listQuery,"time_range",t)},expression:"listQuery.time_range"}})],1),n("el-form-item",[n("el-radio",{attrs:{label:"inpour"},model:{value:e.listQuery.check_sort,callback:function(t){e.$set(e.listQuery,"check_sort",t)},expression:"listQuery.check_sort"}},[e._v("充值排行")]),n("el-radio",{attrs:{label:"install"},model:{value:e.listQuery.check_sort,callback:function(t){e.$set(e.listQuery,"check_sort",t)},expression:"listQuery.check_sort"}},[e._v("安装排行")])],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v(" 搜索 ")])],1)],1)],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":"","summary-method":e.getSummaries,"show-summary":""},on:{"sort-change":e.sortChange}},[n("el-table-column",{attrs:{label:"渠道ID",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[n("span",[e._v(e._s(r.cid))])]}}])}),n("el-table-column",{attrs:{label:"渠道名",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[n("span",[e._v(e._s(r.channel_name))])]}}])}),n("el-table-column",{attrs:{label:"总收入",align:"center",prop:"allmoney"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[n("span",[e._v(e._s(r.allmoney))])]}}])}),n("el-table-column",{attrs:{label:"总安装",align:"center",prop:"install"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[n("span",[e._v(e._s(r.install))])]}}])}),n("el-table-column",{attrs:{label:"ARPU",align:"center",prop:"arpu"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[n("span",[e._v(e._s(parseFloat(r.allmoney/r.install).toFixed(2)))])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}})],1)},i=[],a=(n("a623"),n("4160"),n("d81d"),n("13d5"),n("a9e3"),n("b680"),n("159b"),n("1c31")),o=n("6724"),l=n("333d"),s=["下线","上线"],u=["普通","推荐"],c=["普通","首页"],d=[{key:"1",display_name:"电影"},{key:"2",display_name:"电视剧"},{key:"3",display_name:"短视频"}],p=d.reduce((function(e,t){return e[t.key]=t.display_name,e}),{}),m={name:"ReportChannelList",components:{Pagination:l["a"]},directives:{waves:o["a"]},filters:{typeFilter:function(e){return p[e]},isCheckFilter:function(e){return s[e]},betterShowFilter:function(e){return u[e]},homeShowFilter:function(e){return c[e]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,id:void 0,channel:void 0,time_range:void 0,check_sort:"inpour",sort:"id desc"},typesOptions:[],viewTypeOptions:d,showPlays:!1,showLikes:!1,showDislikes:!1,showTariffVip:!1,showTariffUsr:!1,showCreateTime:!1,showReleaseTime:!1,openSort:!1,newVideo:{},dialogFormVisible:!1,dialogStatus:"",textMap:{update:"编辑",create:"创建",coin:"金币充值"},toalAllMoney:0,toallInstall:0,rules:{name:[{required:!0,message:"请输入片名",trigger:"blur"}],coin_type:[{required:!0,message:"请选择类型",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(a["a"])(this.listQuery).then((function(t){e.total=t.data.total,e.list=t.data.list,e.listLoading=!1}))},takeViewType:function(e){return p[e]},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(e){var t=e.prop,n=e.order;this.listQuery.sort="ascending"===n?t:t+" desc",this.handleFilter()},handleUpdate:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="update",this.dialogFormVisible=!0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},handleCoin:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="coin",this.dialogFormVisible=!0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},getSortClass:function(){var e=this.listQuery.sort;return"id"===e?"ascending":"descending"},getSummaries:function(e){var t=e.columns,n=e.data,r=[];return t.forEach((function(e,t){if(0===t)return r[t]="总计",!1;var i=(n||[]).map((function(t){return Number(t[e.property])}));i.every((function(e){return isNaN(e)}))?r[t]="N/A":r[t]=i.reduce((function(e,t){var n=Number(t);return isNaN(n)?e:e+t}),0)})),r[4]=parseFloat(r[2]/r[3]).toFixed(2),r}}},f=m,h=n("2877"),y=Object(h["a"])(f,r,i,!1,null,null,null);t["default"]=y.exports},"1c31":function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return s}));var r=n("b775");function i(e){return Object(r["a"])({url:"/api/admin/report/report_list",method:"get",params:e})}function a(e){return Object(r["a"])({url:"/api/admin/report/report_channel_list",method:"get",params:e})}function o(e){return Object(r["a"])({url:"/api/admin/report/report_keep_list",method:"get",params:e})}function l(e){return Object(r["a"])({url:"/api/admin/report/report_charts_data",method:"get",params:e})}function s(e){return Object(r["a"])({url:"/api/admin/report/report_inpour_charts_data",method:"get",params:e})}},6724:function(e,t,n){"use strict";n("8d41");var r="@@wavesContext";function i(e,t){function n(n){var r=Object.assign({},t.value),i=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},r),a=i.ele;if(a){a.style.position="relative",a.style.overflow="hidden";var o=a.getBoundingClientRect(),l=a.querySelector(".waves-ripple");switch(l?l.className="waves-ripple":(l=document.createElement("span"),l.className="waves-ripple",l.style.height=l.style.width=Math.max(o.width,o.height)+"px",a.appendChild(l)),i.type){case"center":l.style.top=o.height/2-l.offsetHeight/2+"px",l.style.left=o.width/2-l.offsetWidth/2+"px";break;default:l.style.top=(n.pageY-o.top-l.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",l.style.left=(n.pageX-o.left-l.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return l.style.backgroundColor=i.color,l.className="waves-ripple z-active",!1}}return e[r]?e[r].removeHandle=n:e[r]={removeHandle:n},n}var a={bind:function(e,t){e.addEventListener("click",i(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[r].removeHandle,!1),e.addEventListener("click",i(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[r].removeHandle,!1),e[r]=null,delete e[r]}},o=function(e){e.directive("waves",a)};window.Vue&&(window.waves=a,Vue.use(o)),a.install=o;t["a"]=a},"8d41":function(e,t,n){},a623:function(e,t,n){"use strict";var r=n("23e7"),i=n("b727").every,a=n("a640"),o=n("ae40"),l=a("every"),s=o("every");r({target:"Array",proto:!0,forced:!l||!s},{every:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d2105d3"],{b829:function(n,e,o){"use strict";o.r(e);o("fb6a"),o("ac1f"),o("841c");var c,a,t={name:"AuthRedirect",created:function(){var n=window.location.search.slice(1);window.localStorage&&(window.localStorage.setItem("x-admin-oauth-code",n),window.close())},render:function(n){return n()}},d=t,i=o("2877"),l=Object(i["a"])(d,c,a,!1,null,null,null);e["default"]=l.exports}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d230fe7"],{ef3c:function(e,r,n){"use strict";n.r(r);n("ac1f"),n("5319");var t,u,a={created:function(){var e=this.$route,r=e.params,n=e.query,t=r.path;this.$router.replace({path:"/"+t,query:n})},render:function(e){return e()}},c=a,o=n("2877"),p=Object(o["a"])(c,t,u,!1,null,null,null);r["default"]=p.exports}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2dd62484"],{"09f4":function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),Math.easeInOutQuad=function(e,t,n,a){return e/=a/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var a=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function r(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function i(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(e,t,n){var o=i(),l=e-o,s=20,u=0;t="undefined"===typeof t?500:t;var c=function e(){u+=s;var i=Math.easeInOutQuad(u,o,l,t);r(i),u<t?a(e):n&&"function"===typeof n&&n()};c()}},6724:function(e,t,n){"use strict";n("8d41");var a="@@wavesContext";function r(e,t){function n(n){var a=Object.assign({},t.value),r=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},a),i=r.ele;if(i){i.style.position="relative",i.style.overflow="hidden";var o=i.getBoundingClientRect(),l=i.querySelector(".waves-ripple");switch(l?l.className="waves-ripple":(l=document.createElement("span"),l.className="waves-ripple",l.style.height=l.style.width=Math.max(o.width,o.height)+"px",i.appendChild(l)),r.type){case"center":l.style.top=o.height/2-l.offsetHeight/2+"px",l.style.left=o.width/2-l.offsetWidth/2+"px";break;default:l.style.top=(n.pageY-o.top-l.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",l.style.left=(n.pageX-o.left-l.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return l.style.backgroundColor=r.color,l.className="waves-ripple z-active",!1}}return e[a]?e[a].removeHandle=n:e[a]={removeHandle:n},n}var i={bind:function(e,t){e.addEventListener("click",r(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[a].removeHandle,!1),e.addEventListener("click",r(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[a].removeHandle,!1),e[a]=null,delete e[a]}},o=function(e){e.directive("waves",i)};window.Vue&&(window.waves=i,Vue.use(o)),i.install=o;t["a"]=i},"6dfa":function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"d",(function(){return i})),n.d(t,"h",(function(){return o})),n.d(t,"i",(function(){return l})),n.d(t,"g",(function(){return s})),n.d(t,"a",(function(){return u})),n.d(t,"j",(function(){return c})),n.d(t,"m",(function(){return d})),n.d(t,"e",(function(){return p})),n.d(t,"k",(function(){return m})),n.d(t,"f",(function(){return f})),n.d(t,"n",(function(){return _})),n.d(t,"c",(function(){return h})),n.d(t,"l",(function(){return v}));var a=n("b775");function r(e){return Object(a["a"])({url:"/api/admin/channel/agent_list",method:"get",params:e})}function i(e){return Object(a["a"])({url:"/api/admin/channel/channel_list",method:"get",params:e})}function o(e){return Object(a["a"])({url:"/api/admin/channel/get_person_system",method:"get",params:e})}function l(e){return Object(a["a"])({url:"/api/admin/channel/get_team_system",method:"get",params:e})}function s(e){return Object(a["a"])({url:"/api/admin/channel/get_create_channel",method:"post",params:e})}function u(e){return Object(a["a"])({url:"/api/admin/channel/create_channel",method:"post",data:e})}function c(e){return Object(a["a"])({url:"/api/admin/channel/get_update_channel",method:"post",params:e})}function d(e){return Object(a["a"])({url:"/api/admin/channel/update_channel",method:"post",data:e})}function p(e){return Object(a["a"])({url:"/api/admin/channel/delete_channel",method:"post",data:e})}function m(e){return Object(a["a"])({url:"/api/admin/channel/publicity",method:"get",params:e})}function f(e){return Object(a["a"])({url:"/api/admin/channel/edit_pwd",method:"post",data:e})}function _(e){return Object(a["a"])({url:"/api/admin/channel/update_real_name",method:"post",data:e})}function h(e){return Object(a["a"])({url:"/api/admin/channel/channel_income",method:"get",params:e})}function v(e){return Object(a["a"])({url:"/api/admin/channel/real_channel_income",method:"get",params:e})}},"8d41":function(e,t,n){},"9b4c":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.listQuery}},[n("el-form-item",{attrs:{label:"渠道ID"}},[n("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"渠道ID"},model:{value:e.listQuery.cid,callback:function(t){e.$set(e.listQuery,"cid",t)},expression:"listQuery.cid"}})],1),n("el-form-item",{attrs:{label:"时间"}},[n("el-date-picker",{staticClass:"filter-item",attrs:{type:"datetimerange","value-format":"yyyy-MM-dd HH:mm:ss","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",placeholder:"选择时间"},model:{value:e.listQuery.time_range,callback:function(t){e.$set(e.listQuery,"time_range",t)},expression:"listQuery.time_range"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v(" 搜索 ")])],1)],1)],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":"","summary-method":e.getSummaries,"show-summary":""},on:{"sort-change":e.sortChange}},[n("el-table-column",{attrs:{label:"日期","min-width":"80px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.date))])]}}])}),n("el-table-column",{attrs:{label:"总安装","min-width":"50px",align:"center",prop:"install"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.install))])]}}])}),n("el-table-column",{attrs:{label:"总收入(元)","min-width":"50px",align:"center",prop:"allmoney"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.allmoney))])]}}])}),n("el-table-column",{attrs:{label:"返佣","min-width":"50px",align:"center",prop:"real_money"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.real_money))])]}}])}),n("el-table-column",{attrs:{label:"注册ARPU","min-width":"50px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[a.install>0?n("span",[e._v(e._s(parseFloat(a.allmoney/a.install).toFixed(2)))]):n("span",[e._v("0.00")])]}}])}),n("el-table-column",{attrs:{label:"总拉起","min-width":"50px",align:"center",prop:"inpour_count"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.inpour_count))])]}}])}),n("el-table-column",{attrs:{label:"成功订单","min-width":"50px",align:"center",prop:"success_inpour_count"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.success_inpour_count))])]}}])}),n("el-table-column",{attrs:{label:"安卓拉起","min-width":"50px",align:"center",prop:"android_inpour_count"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.android_inpour_count))])]}}])}),n("el-table-column",{attrs:{label:"安卓成功","min-width":"50px",align:"center",prop:"android_success_inpour_count"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.android_success_inpour_count))])]}}])}),n("el-table-column",{attrs:{label:"IOS拉起","min-width":"50px",align:"center",prop:"ios_inpour_count"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.ios_inpour_count))])]}}])}),n("el-table-column",{attrs:{label:"IOS成功","min-width":"50px",align:"center",prop:"ios_success_inpour_count"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.ios_success_inpour_count))])]}}])}),n("el-table-column",{attrs:{label:"邀请安装","min-width":"50px",align:"center",prop:"share_install"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.share_install))])]}}])}),n("el-table-column",{attrs:{label:"邀请收入","min-width":"50px",align:"center",prop:"share_money"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.share_money))])]}}])}),n("el-table-column",{attrs:{label:"安卓安装","min-width":"50px",align:"center",prop:"android_install"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.android_install))])]}}])}),n("el-table-column",{attrs:{label:"安卓收入","min-width":"50px",align:"center",prop:"android_money"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.android_money))])]}}])}),n("el-table-column",{attrs:{label:"安卓APRU","min-width":"50px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[a.android_install>0?n("span",[e._v(e._s(parseFloat(a.android_money/a.android_install).toFixed(2)))]):n("span",[e._v("0.00")])]}}])}),n("el-table-column",{attrs:{label:"IOS/H5 安装","min-width":"50px",align:"center",prop:"ios_install"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.ios_install))])]}}])}),n("el-table-column",{attrs:{label:"IOS/H5 收入","min-width":"50px",align:"center",prop:"ios_money"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.ios_money))])]}}])}),n("el-table-column",{attrs:{label:"IOS/H5 ARPU","min-width":"50px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[a.ios_install>0?n("span",[e._v(e._s(parseFloat(a.ios_money/a.ios_install).toFixed(2)))]):n("span",[e._v("0.00")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}})],1)},r=[],i=(n("a623"),n("4160"),n("d81d"),n("13d5"),n("a9e3"),n("b680"),n("159b"),n("6dfa")),o=n("6724"),l=n("333d"),s=["未通过","已审核"],u=["普通","推荐"],c=["否","是"],d=[{key:"1",display_name:"1"},{key:"2",display_name:"2"},{key:"3",display_name:"3"}],p=d.reduce((function(e,t){return e[t.key]=t.display_name,e}),{}),m={name:"ChannelNotice",components:{Pagination:l["a"]},directives:{waves:o["a"]},filters:{levelFilter:function(e){return p[e]},isCheckFilter:function(e){return s[e]},betterShowFilter:function(e){return u[e]},homeShowFilter:function(e){return c[e]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,dialogPvVisible:!1,pvData:[],listQuery:{page:1,limit:20,name:void 0,time_range:void 0,sort:"id"},levelValue:d,newData:{},dialogFormVisible:!1,dialogStatus:"",dilogHighStatus:"",textMap:{update:"编辑",create:"创建"},rules:{name:[{required:!0,message:"请输入代理名字",trigger:"blur"}],user_login:[{required:!0,message:"请输入管理账户",trigger:"blur"}],gain_sharing:[{required:!0,message:"请选择分成比例",trigger:"blur"}]},is_switch_pay:!1,is_show_pay:!1,reg_change_switch:!1,is_switch_show:!1,is_must_switch:!1,is_show_create:!1,self_info:{level:3,id:0,is_show_create:0}}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(i["l"])(this.listQuery).then((function(t){e.total=t.data.total,e.list=t.data.list,t.data.self_info&&(e.self_info=t.data.self_info),e.listLoading=!1}))},handleFilter:function(){this.listQuery.page=1,this.getList()},takeLevelVuew:function(e){return p[e]},sortChange:function(e){var t=e.prop,n=e.order;this.listQuery.sort="ascending"===n?t:t+" desc",this.handleFilter()},getSummaries:function(e){var t=e.columns,n=e.data,a=[];return t.forEach((function(e,t){if(0!==t){var r=(n||[]).map((function(t){return Number(t[e.property])}));r.every((function(e){return isNaN(e)}))?a[t]="N/A":a[t]=r.reduce((function(e,t){var n=Number(t);return isNaN(n)?e:e+t}),0)}else a[t]="合计"})),a[4]=parseFloat(a[2]/a[1]).toFixed(2),a[15]=parseFloat(a[14]/a[13]).toFixed(2),a[18]=parseFloat(a[17]/a[16]).toFixed(2),a}}},f=m,_=n("2877"),h=Object(_["a"])(f,a,r,!1,null,null,null);t["default"]=h.exports},a623:function(e,t,n){"use strict";var a=n("23e7"),r=n("b727").every,i=n("a640"),o=n("ae40"),l=i("every"),s=o("every");a({target:"Array",proto:!0,forced:!l||!s},{every:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-425b0f0c"],{"093a":function(e,t,i){"use strict";i.d(t,"h",(function(){return a})),i.d(t,"n",(function(){return o})),i.d(t,"x",(function(){return r})),i.d(t,"y",(function(){return s})),i.d(t,"b",(function(){return l})),i.d(t,"m",(function(){return c})),i.d(t,"p",(function(){return d})),i.d(t,"r",(function(){return u})),i.d(t,"v",(function(){return m})),i.d(t,"w",(function(){return p})),i.d(t,"g",(function(){return f})),i.d(t,"l",(function(){return h})),i.d(t,"a",(function(){return b})),i.d(t,"s",(function(){return _})),i.d(t,"i",(function(){return v})),i.d(t,"d",(function(){return g})),i.d(t,"q",(function(){return y})),i.d(t,"f",(function(){return w})),i.d(t,"k",(function(){return k})),i.d(t,"u",(function(){return S})),i.d(t,"c",(function(){return x})),i.d(t,"o",(function(){return V})),i.d(t,"e",(function(){return C})),i.d(t,"t",(function(){return O})),i.d(t,"j",(function(){return j}));var n=i("b775");function a(e){return Object(n["a"])({url:"/api/admin/video/create",method:"post",data:e})}function o(e){return Object(n["a"])({url:"/api/admin/video/video_list",method:"get",params:e})}function r(e){return Object(n["a"])({url:"/api/admin/video/update",method:"post",data:e})}function s(e){return Object(n["a"])({url:"/api/admin/video/update_all",method:"post",data:e})}function l(e){return Object(n["a"])({url:"/api/admin/video/check_video",method:"post",data:e})}function c(e){return Object(n["a"])({url:"/api/admin/video/delete",method:"post",data:e})}function d(e){return Object(n["a"])({url:"/api/admin/video/push",method:"post",data:e})}function u(e){return Object(n["a"])({url:"/api/admin/video/type_list",method:"get",params:e})}function m(e){return Object(n["a"])({url:"/api/admin/video/update_type",method:"post",data:e})}function p(e){return Object(n["a"])({url:"/api/admin/video/update_type_all",method:"post",data:e})}function f(e){return Object(n["a"])({url:"/api/admin/video/create_type",method:"post",data:e})}function h(e){return Object(n["a"])({url:"/api/admin/video/delete_type",method:"post",data:e})}function b(e){return Object(n["a"])({url:"/api/admin/video/actor_list",method:"post",data:e})}function _(e){return Object(n["a"])({url:"/api/admin/video/update_actor",method:"post",data:e})}function v(e){return Object(n["a"])({url:"/api/admin/video/delete_actor",method:"post",data:e})}function g(e){return Object(n["a"])({url:"/api/admin/video/create_actor",method:"post",data:e})}function y(e){return Object(n["a"])({url:"/api/admin/video/rank_list",method:"get",params:e})}function w(e){return Object(n["a"])({url:"/api/admin/video/create_rank",method:"post",data:e})}function k(e){return Object(n["a"])({url:"/api/admin/video/delete_rank",method:"post",data:e})}function S(e){return Object(n["a"])({url:"/api/admin/video/update_rank",method:"post",data:e})}function x(e){return Object(n["a"])({url:"/api/admin/cache/clearVideoCache",method:"get",params:e})}function V(e){return Object(n["a"])({url:"/api/admin/video/label_list",method:"get",params:e})}function C(e){return Object(n["a"])({url:"/api/admin/video/create_label",method:"post",data:e})}function O(e){return Object(n["a"])({url:"/api/admin/video/update_label",method:"post",data:e})}function j(e){return Object(n["a"])({url:"/api/admin/video/delete_label",method:"post",data:e})}},"09f4":function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),Math.easeInOutQuad=function(e,t,i,n){return e/=n/2,e<1?i/2*e*e+t:(e--,-i/2*(e*(e-2)-1)+t)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function a(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function r(e,t,i){var r=o(),s=e-r,l=20,c=0;t="undefined"===typeof t?500:t;var d=function e(){c+=l;var o=Math.easeInOutQuad(c,r,s,t);a(o),c<t?n(e):i&&"function"===typeof i&&i()};d()}},6724:function(e,t,i){"use strict";i("8d41");var n="@@wavesContext";function a(e,t){function i(i){var n=Object.assign({},t.value),a=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},n),o=a.ele;if(o){o.style.position="relative",o.style.overflow="hidden";var r=o.getBoundingClientRect(),s=o.querySelector(".waves-ripple");switch(s?s.className="waves-ripple":(s=document.createElement("span"),s.className="waves-ripple",s.style.height=s.style.width=Math.max(r.width,r.height)+"px",o.appendChild(s)),a.type){case"center":s.style.top=r.height/2-s.offsetHeight/2+"px",s.style.left=r.width/2-s.offsetWidth/2+"px";break;default:s.style.top=(i.pageY-r.top-s.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",s.style.left=(i.pageX-r.left-s.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return s.style.backgroundColor=a.color,s.className="waves-ripple z-active",!1}}return e[n]?e[n].removeHandle=i:e[n]={removeHandle:i},i}var o={bind:function(e,t){e.addEventListener("click",a(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[n].removeHandle,!1),e.addEventListener("click",a(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[n].removeHandle,!1),e[n]=null,delete e[n]}},r=function(e){e.directive("waves",o)};window.Vue&&(window.waves=o,Vue.use(r)),o.install=r;t["a"]=o},7314:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"app-container"},[i("div",{staticClass:"filter-container"},[i("el-input",{staticClass:"filter-item",staticStyle:{width:"200px"},attrs:{placeholder:"名字"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleFilter(t)}},model:{value:e.listQuery.name,callback:function(t){e.$set(e.listQuery,"name",t)},expression:"listQuery.name"}}),i("el-button",{staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v(" 搜索 ")]),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:e.handleCreate}},[e._v(" 创建 ")]),e.openSort?e._e():i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:e.handleSort}},[e._v(" 排序 ")]),e.openSort?i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"success",icon:"el-icon-edit"},on:{click:e.handleSortConfirm}},[e._v(" 确认 ")]):e._e(),e.openSort?i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"danger",icon:"el-icon-edit"},on:{click:e.handleSortCancel}},[e._v(" 取消 ")]):e._e(),i("el-checkbox",{staticClass:"filter-item",staticStyle:{"margin-left":"15px"},on:{change:function(t){e.tableKey=e.tableKey+1}},model:{value:e.showCreateTime,callback:function(t){e.showCreateTime=t},expression:"showCreateTime"}},[e._v(" 创建时间 ")])],1),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":e.sortChange}},[i("el-table-column",{attrs:{label:"ID",prop:"id",sortable:"custom",align:"center",width:"80","class-name":e.getSortClass()},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.id))])]}}])}),i("el-table-column",{attrs:{width:"70px",label:"排序",align:"center",prop:"listorder",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[e.openSort?[i("el-input",{staticClass:"edit-input",attrs:{size:"small"},model:{value:n.listorder,callback:function(t){e.$set(n,"listorder",t)},expression:"row.listorder"}})]:i("span",[e._v(e._s(n.listorder))])]}}])}),i("el-table-column",{attrs:{label:"视频分类","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.name))])]}}])}),i("el-table-column",{attrs:{label:"状态",align:"center",width:"80","class-name":"small-padding fixed-width",prop:"is_check",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[1==n.is_check?i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(t){e.openSort&&e.handleModifyStatus(n,"is_check",0)}}},[e._v(" "+e._s(e._f("isCheckFilter")(n.is_check))+" ")]):e._e(),0==n.is_check?i("el-button",{attrs:{size:"mini",type:"draft"},on:{click:function(t){e.openSort&&e.handleModifyStatus(n,"is_check",1)}}},[e._v(" "+e._s(e._f("isCheckFilter")(n.is_check))+" ")]):e._e()]}}])}),i("el-table-column",{attrs:{label:"首页",align:"center",width:"80","class-name":"small-padding fixed-width",prop:"home_show",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[1==n.home_show?i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(t){e.openSort&&e.handleModifyStatus(n,"home_show",0)}}},[e._v(" "+e._s(e._f("homeShowFilter")(n.home_show))+" ")]):e._e(),0==n.home_show?i("el-button",{attrs:{size:"mini",type:"draft"},on:{click:function(t){e.openSort&&e.handleModifyStatus(n,"home_show",1)}}},[e._v(" "+e._s(e._f("homeShowFilter")(n.home_show))+" ")]):e._e()]}}])}),i("el-table-column",{attrs:{width:"70px",label:"推荐",align:"center",prop:"index_order",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[e.openSort?[i("el-input",{staticClass:"edit-input",attrs:{size:"small"},model:{value:n.index_order,callback:function(t){e.$set(n,"index_order",t)},expression:"row.index_order"}})]:i("span",[e._v(e._s(n.index_order))])]}}])}),i("el-table-column",{attrs:{label:"推荐",align:"center",width:"80","class-name":"small-padding fixed-width",prop:"is_recommend",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[1==n.is_recommend?i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(t){e.openSort&&e.handleModifyStatus(n,"is_recommend",0)}}},[e._v(" "+e._s(e._f("betterShowFilter")(n.is_recommend))+" ")]):e._e(),0==n.is_recommend?i("el-button",{attrs:{size:"mini",type:"draft"},on:{click:function(t){e.openSort&&e.handleModifyStatus(n,"is_recommend",1)}}},[e._v(" "+e._s(e._f("betterShowFilter")(n.is_recommend))+" ")]):e._e()]}}])}),i("el-table-column",{attrs:{label:"搜索",align:"center",width:"80","class-name":"small-padding fixed-width",prop:"is_search",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[1==n.is_search?i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(t){e.openSort&&e.handleModifyStatus(n,"is_search",0)}}},[e._v(" "+e._s(e._f("homeShowFilter")(n.is_search))+" ")]):e._e(),0==n.is_search?i("el-button",{attrs:{size:"mini",type:"draft"},on:{click:function(t){e.openSort&&e.handleModifyStatus(n,"is_search",1)}}},[e._v(" "+e._s(e._f("homeShowFilter")(n.is_search))+" ")]):e._e()]}}])}),i("el-table-column",{attrs:{width:"70px",label:"搜索",align:"center",prop:"search_order",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[e.openSort?[i("el-input",{staticClass:"edit-input",attrs:{size:"small"},model:{value:n.search_order,callback:function(t){e.$set(n,"search_order",t)},expression:"row.search_order"}})]:i("span",[e._v(e._s(n.search_order))])]}}])}),e.showCreateTime?i("el-table-column",{attrs:{label:"创建时间",width:"150px",align:"center",prop:"create_time",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(e._f("parseTime")(n.create_time,"{y}-{m}-{d} {h}:{i}")))])]}}],null,!1,122434386)}):e._e(),i("el-table-column",{attrs:{label:"操作",align:"center",width:"200","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row,a=t.$index;return[i("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.handleUpdate(n)}}},[e._v(" 编辑 ")]),0!=n.status?i("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(t){return e.handleDelete(n,a)}}},[e._v(" 删除 ")]):e._e()]}}])})],1),i("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}}),i("el-dialog",{attrs:{title:e.textMap[e.dialogStatus],visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[i("el-form",{ref:"dataForm",staticStyle:{width:"400px","margin-left":"50px"},attrs:{rules:e.rules,model:e.newVideo,"label-position":"left","label-width":"70px"}},[i("el-form-item",{attrs:{label:"视频分类",prop:"name"}},[i("el-input",{model:{value:e.newVideo.name,callback:function(t){e.$set(e.newVideo,"name",t)},expression:"newVideo.name"}})],1),i("el-form-item",{attrs:{label:"分类图标",prop:"img"}},[i("el-input",{model:{value:e.newVideo.img,callback:function(t){e.$set(e.newVideo,"img",t)},expression:"newVideo.img"}})],1),i("el-form-item",{attrs:{label:"分类大图",prop:"type_img"}},[i("el-input",{model:{value:e.newVideo.type_img,callback:function(t){e.$set(e.newVideo,"type_img",t)},expression:"newVideo.type_img"}})],1),i("el-form-item",{attrs:{label:"是否开启",prop:"is_check"}},[i("el-select",{staticClass:"filter-item",attrs:{placeholder:"是否开启"},model:{value:e.newVideo.is_check,callback:function(t){e.$set(e.newVideo,"is_check",t)},expression:"newVideo.is_check"}},e._l(e.isVarieties,(function(e){return i("el-option",{key:e.key,attrs:{label:e.label,value:e.key}})})),1)],1),i("el-form-item",{attrs:{label:"是否首页",prop:"home_show"}},[i("el-select",{staticClass:"filter-item",attrs:{placeholder:"是否首页"},model:{value:e.newVideo.home_show,callback:function(t){e.$set(e.newVideo,"home_show",t)},expression:"newVideo.home_show"}},e._l(e.isVarieties,(function(e){return i("el-option",{key:e.key,attrs:{label:e.label,value:e.key}})})),1)],1),i("el-form-item",{attrs:{label:"是否推荐",prop:"is_recommend"}},[i("el-select",{staticClass:"filter-item",attrs:{placeholder:"是否推荐"},model:{value:e.newVideo.is_recommend,callback:function(t){e.$set(e.newVideo,"is_recommend",t)},expression:"newVideo.is_recommend"}},e._l(e.isVarieties,(function(e){return i("el-option",{key:e.key,attrs:{label:e.label,value:e.key}})})),1)],1),i("el-form-item",{attrs:{label:"是否搜索",prop:"is_search"}},[i("el-select",{staticClass:"filter-item",attrs:{placeholder:"是否搜索"},model:{value:e.newVideo.is_search,callback:function(t){e.$set(e.newVideo,"is_search",t)},expression:"newVideo.is_search"}},e._l(e.isVarieties,(function(e){return i("el-option",{key:e.key,attrs:{label:e.label,value:e.key}})})),1)],1),i("el-form-item",{attrs:{label:"特色分类",prop:"varieties"}},[i("el-select",{staticClass:"filter-item",attrs:{placeholder:"特色分类"},model:{value:e.newVideo.varieties,callback:function(t){e.$set(e.newVideo,"varieties",t)},expression:"newVideo.varieties"}},e._l(e.isVarieties,(function(e){return i("el-option",{key:e.key,attrs:{label:e.label,value:e.key}})})),1)],1)],1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.dialogFormVisible=!1}}},[e._v(" 取消 ")]),i("el-button",{attrs:{type:"primary"},on:{click:function(t){"create"===e.dialogStatus?e.createData():e.updateData()}}},[e._v(" 提交 ")])],1)],1)],1)},a=[],o=(i("c740"),i("a434"),i("093a")),r=i("6724"),s=i("333d"),l=["未通过","已审核"],c=["普通","推荐"],d=["否","是"],u={name:"VideoType",components:{Pagination:s["a"]},directives:{waves:r["a"]},filters:{isCheckFilter:function(e){return l[e]},betterShowFilter:function(e){return c[e]},homeShowFilter:function(e){return d[e]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,view_type:void 0,video_type:void 0,name:void 0,sort:"id desc"},showCreateTime:!1,openSort:!1,newVideo:{},dialogFormVisible:!1,dialogStatus:"",textMap:{update:"编辑",create:"创建"},isVarieties:[{key:0,label:"否"},{key:1,label:"是"}],rules:{name:[{required:!0,message:"请输入分类名称",trigger:"blur"}],img:[{required:!0,message:"请输入分类图片",trigger:"blur"}],varieties:[{required:!0,message:"请选择是否原创",trigger:"blur"}],home_show:[{required:!0,message:"请选择是否上首页",trigger:"blur"}],is_check:[{required:!0,message:"请选择是否上线",trigger:"blur"}],is_recommend:[{required:!0,message:"请选择是否推荐",trigger:"blur"}],is_search:[{required:!0,message:"请选择是否搜索",trigger:"blur"}],type_img:[{required:!0,message:"请输入分类大图",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(o["r"])(this.listQuery).then((function(t){e.total=t.data.total,e.list=t.data.list,e.listLoading=!1}))},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(e){var t=e.prop,i=e.order;this.listQuery.sort="ascending"===i?t:t+" desc",this.handleFilter()},handleUpdate:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="update",this.dialogFormVisible=!0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},updateData:function(){var e=this;this.$refs["dataForm"].validate((function(t){if(t){var i=Object.assign({},e.newVideo);Object(o["v"])(i).then((function(){var t=e.list.findIndex((function(t){return t.id===e.newVideo.id}));e.list.splice(t,1,e.newVideo),e.dialogFormVisible=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},handleDelete:function(e,t){var i=this;this.$confirm("此操作将回收该分类, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){i.listLoading=!0,Object(o["l"])(e).then((function(){i.list.splice(t,1),i.listLoading=!1,i.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){i.listLoading=!1}))})).catch((function(){i.$message({type:"info",message:"已取消删除"})}))},handleCreate:function(e,t){var i=this;this.newVideo={},this.dialogStatus="create",this.dialogFormVisible=!0,this.$nextTick((function(){i.$refs["dataForm"].clearValidate()}))},createData:function(){var e=this;this.$refs["dataForm"].validate((function(t){t&&Object(o["g"])(e.newVideo).then((function(){e.dialogFormVisible=!1,e.getList(),e.$notify({title:"Success",message:"创建成功",type:"success",duration:2e3})}))}))},getSortClass:function(){var e=this.listQuery.sort;return"id"===e?"ascending":"descending"},handleModifyStatus:function(e,t,i){this.$set(e,t,i)},handleSort:function(){this.openSort=!0},handleSortCancel:function(){this.getList(),this.openSort=!1},handleSortConfirm:function(){var e=this;if(this.listLoading=!0,this.list){var t=Object.assign({},this.list);Object(o["w"])(t).then((function(t){e.openSort=!1,e.listLoading=!1,e.$notify({title:"成功",message:t.message,type:"success",duration:2e3})})).catch((function(){e.listLoading=!1}))}}}},m=u,p=i("2877"),f=Object(p["a"])(m,n,a,!1,null,null,null);t["default"]=f.exports},"8d41":function(e,t,i){}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-47f71664"],{"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),Math.easeInOutQuad=function(t,e,n,i){return t/=i/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function a(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function r(t,e,n){var r=o(),s=t-r,l=20,u=0;e="undefined"===typeof e?500:e;var c=function t(){u+=l;var o=Math.easeInOutQuad(u,r,s,e);a(o),u<e?i(t):n&&"function"===typeof n&&n()};c()}},6724:function(t,e,n){"use strict";n("8d41");var i="@@wavesContext";function a(t,e){function n(n){var i=Object.assign({},e.value),a=Object.assign({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),o=a.ele;if(o){o.style.position="relative",o.style.overflow="hidden";var r=o.getBoundingClientRect(),s=o.querySelector(".waves-ripple");switch(s?s.className="waves-ripple":(s=document.createElement("span"),s.className="waves-ripple",s.style.height=s.style.width=Math.max(r.width,r.height)+"px",o.appendChild(s)),a.type){case"center":s.style.top=r.height/2-s.offsetHeight/2+"px",s.style.left=r.width/2-s.offsetWidth/2+"px";break;default:s.style.top=(n.pageY-r.top-s.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",s.style.left=(n.pageX-r.left-s.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return s.style.backgroundColor=a.color,s.className="waves-ripple z-active",!1}}return t[i]?t[i].removeHandle=n:t[i]={removeHandle:n},n}var o={bind:function(t,e){t.addEventListener("click",a(t,e),!1)},update:function(t,e){t.removeEventListener("click",t[i].removeHandle,!1),t.addEventListener("click",a(t,e),!1)},unbind:function(t){t.removeEventListener("click",t[i].removeHandle,!1),t[i]=null,delete t[i]}},r=function(t){t.directive("waves",o)};window.Vue&&(window.waves=o,Vue.use(r)),o.install=r;e["a"]=o},"8d41":function(t,e,n){},"90e7":function(t,e,n){"use strict";n.d(e,"k",(function(){return a})),n.d(e,"o",(function(){return o})),n.d(e,"h",(function(){return r})),n.d(e,"b",(function(){return s})),n.d(e,"e",(function(){return l})),n.d(e,"s",(function(){return u})),n.d(e,"r",(function(){return c})),n.d(e,"l",(function(){return d})),n.d(e,"f",(function(){return p})),n.d(e,"p",(function(){return f})),n.d(e,"i",(function(){return m})),n.d(e,"m",(function(){return g})),n.d(e,"q",(function(){return h})),n.d(e,"j",(function(){return b})),n.d(e,"d",(function(){return y})),n.d(e,"n",(function(){return v})),n.d(e,"g",(function(){return w})),n.d(e,"c",(function(){return _})),n.d(e,"a",(function(){return k}));var i=n("b775");function a(t){return Object(i["a"])({url:"/api/admin/setting/pay_list",method:"get",params:t})}function o(t){return Object(i["a"])({url:"/api/admin/setting/update_pay",method:"post",data:t})}function r(t){return Object(i["a"])({url:"/api/admin/setting/delete_pay",method:"post",params:t})}function s(t){return Object(i["a"])({url:"/api/admin/setting/auto_pay",method:"POST",data:t})}function l(t){return Object(i["a"])({url:"/api/admin/setting/create_pay",method:"post",params:t})}function u(t){return Object(i["a"])({url:"/api/admin/setting/vip_list",method:"get",params:t})}function c(t){return Object(i["a"])({url:"/api/admin/setting/update_vip",method:"post",data:t})}function d(t){return Object(i["a"])({url:"/api/admin/setting/publicity_list",method:"get",params:t})}function p(t){return Object(i["a"])({url:"/api/admin/setting/create_publicity",method:"post",data:t})}function f(t){return Object(i["a"])({url:"/api/admin/setting/update_publicity",method:"post",data:t})}function m(t){return Object(i["a"])({url:"/api/admin/setting/delete_publicity",method:"post",data:t})}function g(t){return Object(i["a"])({url:"/api/admin/setting/system_list",method:"get",params:t})}function h(t){return Object(i["a"])({url:"/api/admin/setting/update_system",method:"post",data:t})}function b(t){return Object(i["a"])({url:"/api/admin/setting/notice_list",method:"get",params:t})}function y(t){return Object(i["a"])({url:"/api/admin/setting/create_notice",method:"post",data:t})}function v(t){return Object(i["a"])({url:"/api/admin/setting/update_notice",method:"post",data:t})}function w(t){return Object(i["a"])({url:"/api/admin/setting/delete_notice",method:"post",data:t})}function _(t){return Object(i["a"])({url:"/api/admin/cache/clearSettingCache",method:"get",params:t})}function k(t){return Object(i["a"])({url:"/api/admin/setting/setting_link",method:"post",data:t})}},a561:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:t.handleCreate}},[t._v(" 创建 ")])],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],key:t.tableKey,staticStyle:{width:"100%"},attrs:{data:t.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":t.sortChange}},[n("el-table-column",{attrs:{label:"ID",prop:"id",sortable:"custom",align:"center",width:"80","class-name":t.getSortClass()},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.id))])]}}])}),n("el-table-column",{attrs:{label:"公告类型",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[0===i.type?n("span",[t._v("用户公告")]):t._e(),1===i.type?n("span",[t._v("代理商公告")]):t._e(),2===i.type?n("span",[t._v("滚动公告")]):t._e()]}}])}),n("el-table-column",{attrs:{label:"标题",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.title))])]}}])}),n("el-table-column",{attrs:{label:"内容","min-width":"150px",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.content))])]}}])}),n("el-table-column",{attrs:{label:"创建时间",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(t._f("parseTime")(i.create_time,"{y}-{m}-{d} {h}:{i}")))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center",width:"200","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row,a=e.$index;return[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.handleUpdate(i)}}},[t._v(" 编辑 ")]),n("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(e){return t.handleDelete(i,a)}}},[t._v(" 删除 ")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}}),n("el-dialog",{attrs:{title:t.textMap[t.dialogStatus],visible:t.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogFormVisible=e}}},[n("el-form",{ref:"dataForm",staticStyle:{width:"400px","margin-left":"50px"},attrs:{rules:t.rules,model:t.newVideo,"label-position":"right","label-width":"70px"}},[n("el-form-item",{attrs:{label:"标题",prop:"timestamp"}},[n("el-input",{model:{value:t.newVideo.title,callback:function(e){t.$set(t.newVideo,"title",e)},expression:"newVideo.title"}})],1),n("el-form-item",{attrs:{label:"类型",prop:"type"}},[n("el-select",{staticClass:"filter-item",attrs:{placeholder:"选择一个类型"},model:{value:t.newVideo.type,callback:function(e){t.$set(t.newVideo,"type",e)},expression:"newVideo.type"}},[n("el-option",{key:"0",attrs:{label:"用户公告",value:"0"}}),n("el-option",{key:"1",attrs:{label:"代理商公告",value:"1"}}),n("el-option",{key:"2",attrs:{label:"滚动公告",value:"2"}})],1)],1),n("el-form-item",{attrs:{label:"内容",prop:"content"}},[n("el-input",{attrs:{type:"textarea",autosize:""},model:{value:t.newVideo.content,callback:function(e){t.$set(t.newVideo,"content",e)},expression:"newVideo.content"}})],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(e){t.dialogFormVisible=!1}}},[t._v(" 取消 ")]),n("el-button",{attrs:{type:"primary"},on:{click:function(e){"create"===t.dialogStatus?t.createData():t.updateData()}}},[t._v(" 提交 ")])],1)],1)],1)},a=[],o=(n("c740"),n("13d5"),n("a434"),n("90e7")),r=n("6724"),s=n("333d"),l=["否","是"],u=["普通","推荐"],c=["否","是"],d=[{key:"1",display_name:"支付宝"},{key:"2",display_name:"微信"}],p=d.reduce((function(t,e){return t[e.key]=e.display_name,t}),{}),f={name:"SettingNotice",components:{Pagination:s["a"]},directives:{waves:r["a"]},filters:{isCheckFilter:function(t){return l[t]},betterShowFilter:function(t){return u[t]},homeShowFilter:function(t){return c[t]},typeFilter:function(t){return p[t]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,view_type:void 0,video_type:void 0,name:void 0,sort:"id desc"},newVideo:{},dialogFormVisible:!1,dialogStatus:"",textMap:{update:"编辑",create:"创建"},openSort:!1,viewTypeOptions:d,rules:{content:[{required:!0,message:"请输入内容",trigger:"blur"}],type:[{required:!0,message:"请选择类型",trigger:"blur"}],pay_order:[{required:!0,message:"排序必须输入",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(o["j"])(this.listQuery).then((function(e){t.total=e.data.total,t.list=e.data.list,t.listLoading=!1}))},takeViewType:function(t){return p[t]},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(t){var e=t.prop,n=t.order;this.listQuery.sort="ascending"===n?e:e+" desc",this.handleFilter()},handleUpdate:function(t){var e=this;this.newVideo=Object.assign({},t),this.dialogStatus="update",this.dialogFormVisible=!0,this.newVideo.show_view_type=this.takeViewType(this.newVideo.pay_type),this.$nextTick((function(){e.$refs["dataForm"].clearValidate()}))},updateData:function(){var t=this;this.$refs["dataForm"].validate((function(e){if(e){var n=Object.assign({},t.newVideo);Object(o["n"])(n).then((function(){var e=t.list.findIndex((function(e){return e.id===t.newVideo.id}));t.list.splice(e,1,t.newVideo),t.dialogFormVisible=!1,t.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},handleDelete:function(t,e){var n=this;this.listLoading=!0,Object(o["g"])(t).then((function(){n.list.splice(e,1),n.listLoading=!1,n.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){n.listLoading=!1}))},handleCreate:function(t,e){var n=this;this.newVideo={},this.dialogStatus="create",this.dialogFormVisible=!0,this.$nextTick((function(){n.$refs["dataForm"].clearValidate()}))},createData:function(){var t=this;this.$refs["dataForm"].validate((function(e){e&&Object(o["d"])(t.newVideo).then((function(){t.dialogFormVisible=!1,t.getList(),t.$notify({title:"Success",message:"创建成功",type:"success",duration:2e3})}))}))},getSortClass:function(){var t=this.listQuery.sort;return"id"===t?"ascending":"descending"}}},m=f,g=n("2877"),h=Object(g["a"])(m,i,a,!1,null,null,null);e["default"]=h.exports}}]);
\ No newline at end of file
... ...
This diff could not be displayed because it is too large.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4c08e2fb"],{"093a":function(t,e,n){"use strict";n.d(e,"h",(function(){return a})),n.d(e,"n",(function(){return o})),n.d(e,"x",(function(){return r})),n.d(e,"y",(function(){return l})),n.d(e,"b",(function(){return d})),n.d(e,"m",(function(){return u})),n.d(e,"p",(function(){return s})),n.d(e,"r",(function(){return c})),n.d(e,"v",(function(){return p})),n.d(e,"w",(function(){return f})),n.d(e,"g",(function(){return m})),n.d(e,"l",(function(){return h})),n.d(e,"a",(function(){return v})),n.d(e,"s",(function(){return b})),n.d(e,"i",(function(){return g})),n.d(e,"d",(function(){return y})),n.d(e,"q",(function(){return w})),n.d(e,"f",(function(){return _})),n.d(e,"k",(function(){return O})),n.d(e,"u",(function(){return k})),n.d(e,"c",(function(){return j})),n.d(e,"o",(function(){return x})),n.d(e,"e",(function(){return V})),n.d(e,"t",(function(){return F})),n.d(e,"j",(function(){return L}));var i=n("b775");function a(t){return Object(i["a"])({url:"/api/admin/video/create",method:"post",data:t})}function o(t){return Object(i["a"])({url:"/api/admin/video/video_list",method:"get",params:t})}function r(t){return Object(i["a"])({url:"/api/admin/video/update",method:"post",data:t})}function l(t){return Object(i["a"])({url:"/api/admin/video/update_all",method:"post",data:t})}function d(t){return Object(i["a"])({url:"/api/admin/video/check_video",method:"post",data:t})}function u(t){return Object(i["a"])({url:"/api/admin/video/delete",method:"post",data:t})}function s(t){return Object(i["a"])({url:"/api/admin/video/push",method:"post",data:t})}function c(t){return Object(i["a"])({url:"/api/admin/video/type_list",method:"get",params:t})}function p(t){return Object(i["a"])({url:"/api/admin/video/update_type",method:"post",data:t})}function f(t){return Object(i["a"])({url:"/api/admin/video/update_type_all",method:"post",data:t})}function m(t){return Object(i["a"])({url:"/api/admin/video/create_type",method:"post",data:t})}function h(t){return Object(i["a"])({url:"/api/admin/video/delete_type",method:"post",data:t})}function v(t){return Object(i["a"])({url:"/api/admin/video/actor_list",method:"post",data:t})}function b(t){return Object(i["a"])({url:"/api/admin/video/update_actor",method:"post",data:t})}function g(t){return Object(i["a"])({url:"/api/admin/video/delete_actor",method:"post",data:t})}function y(t){return Object(i["a"])({url:"/api/admin/video/create_actor",method:"post",data:t})}function w(t){return Object(i["a"])({url:"/api/admin/video/rank_list",method:"get",params:t})}function _(t){return Object(i["a"])({url:"/api/admin/video/create_rank",method:"post",data:t})}function O(t){return Object(i["a"])({url:"/api/admin/video/delete_rank",method:"post",data:t})}function k(t){return Object(i["a"])({url:"/api/admin/video/update_rank",method:"post",data:t})}function j(t){return Object(i["a"])({url:"/api/admin/cache/clearVideoCache",method:"get",params:t})}function x(t){return Object(i["a"])({url:"/api/admin/video/label_list",method:"get",params:t})}function V(t){return Object(i["a"])({url:"/api/admin/video/create_label",method:"post",data:t})}function F(t){return Object(i["a"])({url:"/api/admin/video/update_label",method:"post",data:t})}function L(t){return Object(i["a"])({url:"/api/admin/video/delete_label",method:"post",data:t})}},"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),Math.easeInOutQuad=function(t,e,n,i){return t/=i/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function a(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function r(t,e,n){var r=o(),l=t-r,d=20,u=0;e="undefined"===typeof e?500:e;var s=function t(){u+=d;var o=Math.easeInOutQuad(u,r,l,e);a(o),u<e?i(t):n&&"function"===typeof n&&n()};s()}},6724:function(t,e,n){"use strict";n("8d41");var i="@@wavesContext";function a(t,e){function n(n){var i=Object.assign({},e.value),a=Object.assign({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),o=a.ele;if(o){o.style.position="relative",o.style.overflow="hidden";var r=o.getBoundingClientRect(),l=o.querySelector(".waves-ripple");switch(l?l.className="waves-ripple":(l=document.createElement("span"),l.className="waves-ripple",l.style.height=l.style.width=Math.max(r.width,r.height)+"px",o.appendChild(l)),a.type){case"center":l.style.top=r.height/2-l.offsetHeight/2+"px",l.style.left=r.width/2-l.offsetWidth/2+"px";break;default:l.style.top=(n.pageY-r.top-l.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",l.style.left=(n.pageX-r.left-l.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return l.style.backgroundColor=a.color,l.className="waves-ripple z-active",!1}}return t[i]?t[i].removeHandle=n:t[i]={removeHandle:n},n}var o={bind:function(t,e){t.addEventListener("click",a(t,e),!1)},update:function(t,e){t.removeEventListener("click",t[i].removeHandle,!1),t.addEventListener("click",a(t,e),!1)},unbind:function(t){t.removeEventListener("click",t[i].removeHandle,!1),t[i]=null,delete t[i]}},r=function(t){t.directive("waves",o)};window.Vue&&(window.waves=o,Vue.use(r)),o.install=r;e["a"]=o},"7c59":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-input",{staticClass:"filter-item",staticStyle:{width:"200px"},attrs:{placeholder:"名字"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleFilter(e)}},model:{value:t.listQuery.name,callback:function(e){t.$set(t.listQuery,"name",e)},expression:"listQuery.name"}}),n("el-button",{staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.handleFilter}},[t._v(" 搜索 ")]),n("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:t.handleCreate}},[t._v(" 创建 ")])],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],key:t.tableKey,staticStyle:{width:"100%"},attrs:{data:t.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":t.sortChange}},[n("el-table-column",{attrs:{label:"ID",prop:"id",sortable:"custom",align:"center",width:"80","class-name":t.getSortClass()},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.id))])]}}])}),n("el-table-column",{attrs:{label:"标签名称","min-width":"150px",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.name))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center",width:"200","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row,a=e.$index;return[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.handleUpdate(i)}}},[t._v(" 编辑 ")]),0!=i.status?n("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(e){return t.handleDelete(i,a)}}},[t._v(" 删除 ")]):t._e()]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}}),n("el-dialog",{attrs:{title:t.textMap[t.dialogStatus],visible:t.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogFormVisible=e}}},[n("el-form",{ref:"dataForm",staticStyle:{width:"400px","margin-left":"50px"},attrs:{rules:t.rules,model:t.newVideo,"label-position":"left","label-width":"70px"}},[n("el-form-item",{attrs:{label:"标签",prop:"name"}},[n("el-input",{model:{value:t.newVideo.name,callback:function(e){t.$set(t.newVideo,"name",e)},expression:"newVideo.name"}})],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(e){t.dialogFormVisible=!1}}},[t._v(" 取消 ")]),n("el-button",{attrs:{type:"primary"},on:{click:function(e){"create"===t.dialogStatus?t.createData():t.updateData()}}},[t._v(" 提交 ")])],1)],1)],1)},a=[],o=(n("c740"),n("a434"),n("093a")),r=n("6724"),l=n("333d"),d=["未通过","已审核"],u=["普通","推荐"],s=["否","是"],c={name:"LabelList",components:{Pagination:l["a"]},directives:{waves:r["a"]},filters:{isCheckFilter:function(t){return d[t]},betterShowFilter:function(t){return u[t]},homeShowFilter:function(t){return s[t]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,view_type:void 0,video_type:void 0,name:void 0,sort:"id desc"},newVideo:{},dialogFormVisible:!1,dialogStatus:"",textMap:{update:"编辑",create:"创建"},rules:{name:[{required:!0,message:"请输入标签名字",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(o["o"])(this.listQuery).then((function(e){t.total=e.data.total,t.list=e.data.list,t.listLoading=!1}))},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(t){var e=t.prop,n=t.order;this.listQuery.sort="ascending"===n?e:e+" desc",this.handleFilter()},handleUpdate:function(t){var e=this;this.newVideo=Object.assign({},t),this.dialogStatus="update",this.dialogFormVisible=!0,this.$nextTick((function(){e.$refs["dataForm"].clearValidate()}))},updateData:function(){var t=this;this.$refs["dataForm"].validate((function(e){if(e){var n=Object.assign({},t.newVideo);Object(o["t"])(n).then((function(){var e=t.list.findIndex((function(e){return e.id===t.newVideo.id}));t.list.splice(e,1,t.newVideo),t.dialogFormVisible=!1,t.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},handleDelete:function(t,e){var n=this;this.$confirm("此操作将删除标签, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){n.listLoading=!0,Object(o["j"])(t).then((function(){n.list.splice(e,1),n.listLoading=!1,n.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){n.listLoading=!1}))})).catch((function(){n.$message({type:"info",message:"已取消删除"})}))},handleCreate:function(t,e){var n=this;this.newVideo={},this.dialogStatus="create",this.dialogFormVisible=!0,this.$nextTick((function(){n.$refs["dataForm"].clearValidate()}))},createData:function(){var t=this;this.$refs["dataForm"].validate((function(e){e&&Object(o["e"])(t.newVideo).then((function(){t.dialogFormVisible=!1,t.getList(),t.$notify({title:"Success",message:"创建成功",type:"success",duration:2e3})}))}))},getSortClass:function(){var t=this.listQuery.sort;return"id"===t?"ascending":"descending"}}},p=c,f=n("2877"),m=Object(f["a"])(p,i,a,!1,null,null,null);e["default"]=m.exports},"8d41":function(t,e,n){}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4da2c598"],{"09f4":function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),Math.easeInOutQuad=function(e,t,n,i){return e/=i/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function a(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(e,t,n){var o=r(),l=e-o,s=20,c=0;t="undefined"===typeof t?500:t;var d=function e(){c+=s;var r=Math.easeInOutQuad(c,o,l,t);a(r),c<t?i(e):n&&"function"===typeof n&&n()};d()}},"261f":function(e,t,n){"use strict";n.d(t,"q",(function(){return a})),n.d(t,"d",(function(){return r})),n.d(t,"l",(function(){return o})),n.d(t,"h",(function(){return l})),n.d(t,"m",(function(){return s})),n.d(t,"a",(function(){return c})),n.d(t,"i",(function(){return d})),n.d(t,"e",(function(){return u})),n.d(t,"p",(function(){return p})),n.d(t,"c",(function(){return f})),n.d(t,"k",(function(){return m})),n.d(t,"g",(function(){return h})),n.d(t,"o",(function(){return v})),n.d(t,"b",(function(){return b})),n.d(t,"j",(function(){return g})),n.d(t,"f",(function(){return w})),n.d(t,"n",(function(){return y}));var i=n("b775");function a(e){return Object(i["a"])({url:"/api/admin/advert/start_list",method:"get",params:e})}function r(e){return Object(i["a"])({url:"/api/admin/advert/create_start",method:"post",data:e})}function o(e){return Object(i["a"])({url:"/api/admin/advert/update_start",method:"post",data:e})}function l(e){return Object(i["a"])({url:"/api/admin/advert/delete_start",method:"post",data:e})}function s(e){return Object(i["a"])({url:"/api/admin/advert/banner_list",method:"get",params:e})}function c(e){return Object(i["a"])({url:"/api/admin/advert/create_banner",method:"post",data:e})}function d(e){return Object(i["a"])({url:"/api/admin/advert/update_banner",method:"post",data:e})}function u(e){return Object(i["a"])({url:"/api/admin/advert/delete_banner",method:"post",data:e})}function p(e){return Object(i["a"])({url:"/api/admin/advert/playerdown_list",method:"get",params:e})}function f(e){return Object(i["a"])({url:"/api/admin/advert/create_playerdown",method:"post",data:e})}function m(e){return Object(i["a"])({url:"/api/admin/advert/update_playerdown",method:"post",data:e})}function h(e){return Object(i["a"])({url:"/api/admin/advert/delete_playerdown",method:"post",data:e})}function v(e){return Object(i["a"])({url:"/api/admin/advert/mycentre_list",method:"get",params:e})}function b(e){return Object(i["a"])({url:"/api/admin/advert/create_mycentre",method:"post",data:e})}function g(e){return Object(i["a"])({url:"/api/admin/advert/update_mycentre",method:"post",data:e})}function w(e){return Object(i["a"])({url:"/api/admin/advert/delete_mycentre",method:"post",data:e})}function y(e){return Object(i["a"])({url:"/api/admin/cache/clearAdvertCache",method:"get",params:e})}},"4fbe":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:e.handleCreate}},[e._v(" 创建 ")])],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":e.sortChange}},[n("el-table-column",{attrs:{label:"ID",prop:"id",sortable:"custom",align:"center",width:"80","class-name":e.getSortClass()},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.id))])]}}])}),n("el-table-column",{attrs:{label:"标题","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.title))])]}}])}),n("el-table-column",{attrs:{label:"广告","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(e){var t=e.row;return[n("el-image",{staticStyle:{width:"100px",height:"100px"},attrs:{src:t.img,fit:"fill"}})]}}])}),n("el-table-column",{attrs:{label:"外链","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.url))])]}}])}),n("el-table-column",{attrs:{label:"展示时间",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.showtime))])]}}])}),n("el-table-column",{attrs:{label:"状态",align:"center",width:"80","class-name":"small-padding fixed-width",prop:"ischeck",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[1==i.ischeck?n("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(t){return e.handleCheckStatus(i,0)}}},[e._v(" "+e._s(e._f("isCheckFilter")(i.ischeck))+" ")]):e._e(),0==i.ischeck?n("el-button",{attrs:{size:"mini",type:"draft"},on:{click:function(t){return e.handleCheckStatus(i,1)}}},[e._v(" "+e._s(e._f("isCheckFilter")(i.ischeck))+" ")]):e._e()]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center",width:"200","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row,a=t.$index;return[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.handleUpdate(i)}}},[e._v(" 编辑 ")]),n("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(t){return e.handleDelete(i,a)}}},[e._v(" 删除 ")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}}),n("el-dialog",{attrs:{title:e.textMap[e.dialogStatus],visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[n("el-form",{ref:"dataForm",staticStyle:{width:"400px","margin-left":"50px"},attrs:{rules:e.rules,model:e.newVideo,"label-position":"right","label-width":"70px"}},[n("el-form-item",{attrs:{label:"标题",prop:"title"}},[n("el-input",{model:{value:e.newVideo.title,callback:function(t){e.$set(e.newVideo,"title",t)},expression:"newVideo.title"}})],1),n("el-form-item",{attrs:{label:"类型",prop:"type"}},[n("el-select",{staticClass:"filter-item",attrs:{placeholder:"选择一个类型"},model:{value:e.newVideo.type,callback:function(t){e.$set(e.newVideo,"type",t)},expression:"newVideo.type"}},[n("el-option",{key:"1",attrs:{label:"外链",value:"1"}}),n("el-option",{key:"2",attrs:{label:"影片",value:"2"}})],1)],1),n("el-form-item",{attrs:{label:"图片链接",prop:"img"}},[n("el-input",{model:{value:e.newVideo.img,callback:function(t){e.$set(e.newVideo,"img",t)},expression:"newVideo.img"}})],1),n("el-form-item",{attrs:{label:"外链",prop:"url"}},[n("el-input",{model:{value:e.newVideo.url,callback:function(t){e.$set(e.newVideo,"url",t)},expression:"newVideo.url"}})],1),n("el-form-item",{attrs:{label:"展示时间",prop:"showtime"}},[n("el-input",{model:{value:e.newVideo.showtime,callback:function(t){e.$set(e.newVideo,"showtime",t)},expression:"newVideo.showtime"}})],1),n("el-form-item",{attrs:{label:"开启",prop:"ischeck"}},[n("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:e.newVideo.ischeck,callback:function(t){e.$set(e.newVideo,"ischeck",t)},expression:"newVideo.ischeck"}})],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.dialogFormVisible=!1}}},[e._v(" 取消 ")]),n("el-button",{attrs:{type:"primary"},on:{click:function(t){"create"===e.dialogStatus?e.createData():e.updateData()}}},[e._v(" 提交 ")])],1)],1)],1)},a=[],r=(n("c740"),n("13d5"),n("a434"),n("261f")),o=n("6724"),l=n("333d"),s=["关闭","打开"],c=["普通","推荐"],d=["否","是"],u=[{key:"1",display_name:"外链"},{key:"2",display_name:"影片"}],p=u.reduce((function(e,t){return e[t.key]=t.display_name,e}),{}),f={name:"AdvertMycentre",components:{Pagination:l["a"]},directives:{waves:o["a"]},filters:{isCheckFilter:function(e){return s[e]},betterShowFilter:function(e){return c[e]},homeShowFilter:function(e){return d[e]},typeFilter:function(e){return p[e]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,view_type:void 0,video_type:void 0,name:void 0,sort:"id desc"},newVideo:{},dialogFormVisible:!1,dialogStatus:"",textMap:{update:"编辑",create:"创建"},openSort:!1,viewTypeOptions:u,rules:{content:[{required:!0,message:"请输入内容",trigger:"blur"}],type:[{required:!0,message:"请选择类型",trigger:"blur"}],pay_order:[{required:!0,message:"排序必须输入",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(r["o"])(this.listQuery).then((function(t){e.total=t.data.total,e.list=t.data.list,e.listLoading=!1}))},takeViewType:function(e){return p[e]},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(e){var t=e.prop,n=e.order;this.listQuery.sort="ascending"===n?t:t+" desc",this.handleFilter()},handleUpdate:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="update",this.dialogFormVisible=!0,this.newVideo.show_view_type=this.takeViewType(this.newVideo.pay_type),this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},updateData:function(){var e=this;this.$refs["dataForm"].validate((function(t){if(t){var n=Object.assign({},e.newVideo);Object(r["j"])(n).then((function(){var t=e.list.findIndex((function(t){return t.id===e.newVideo.id}));e.list.splice(t,1,e.newVideo),e.dialogFormVisible=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},handleDelete:function(e,t){var n=this;this.listLoading=!0,Object(r["f"])(e).then((function(){n.list.splice(t,1),n.listLoading=!1,n.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){n.listLoading=!1}))},handleCreate:function(e,t){var n=this;this.newVideo={},this.dialogStatus="create",this.dialogFormVisible=!0,this.$nextTick((function(){n.$refs["dataForm"].clearValidate()}))},createData:function(){var e=this;this.$refs["dataForm"].validate((function(t){t&&Object(r["b"])(e.newVideo).then((function(){e.dialogFormVisible=!1,e.getList(),e.$notify({title:"Success",message:"创建成功",type:"success",duration:2e3})}))}))},getSortClass:function(){var e=this.listQuery.sort;return"id"===e?"ascending":"descending"}}},m=f,h=n("2877"),v=Object(h["a"])(m,i,a,!1,null,null,null);t["default"]=v.exports},6724:function(e,t,n){"use strict";n("8d41");var i="@@wavesContext";function a(e,t){function n(n){var i=Object.assign({},t.value),a=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),r=a.ele;if(r){r.style.position="relative",r.style.overflow="hidden";var o=r.getBoundingClientRect(),l=r.querySelector(".waves-ripple");switch(l?l.className="waves-ripple":(l=document.createElement("span"),l.className="waves-ripple",l.style.height=l.style.width=Math.max(o.width,o.height)+"px",r.appendChild(l)),a.type){case"center":l.style.top=o.height/2-l.offsetHeight/2+"px",l.style.left=o.width/2-l.offsetWidth/2+"px";break;default:l.style.top=(n.pageY-o.top-l.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",l.style.left=(n.pageX-o.left-l.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return l.style.backgroundColor=a.color,l.className="waves-ripple z-active",!1}}return e[i]?e[i].removeHandle=n:e[i]={removeHandle:n},n}var r={bind:function(e,t){e.addEventListener("click",a(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[i].removeHandle,!1),e.addEventListener("click",a(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[i].removeHandle,!1),e[i]=null,delete e[i]}},o=function(e){e.directive("waves",r)};window.Vue&&(window.waves=r,Vue.use(o)),r.install=o;t["a"]=r},"8d41":function(e,t,n){}}]);
\ No newline at end of file
... ...
This diff could not be displayed because it is too large.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-64662486"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return o})),Math.easeInOutQuad=function(t,e,a,n){return t/=n/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function r(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function i(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(t,e,a){var o=i(),s=t-o,c=20,l=0;e="undefined"===typeof e?500:e;var u=function t(){l+=c;var i=Math.easeInOutQuad(l,o,s,e);r(i),l<e?n(t):a&&"function"===typeof a&&a()};u()}},"3bb8":function(t,e,a){"use strict";a.d(e,"e",(function(){return r})),a.d(e,"a",(function(){return i})),a.d(e,"b",(function(){return o})),a.d(e,"p",(function(){return s})),a.d(e,"f",(function(){return c})),a.d(e,"m",(function(){return l})),a.d(e,"l",(function(){return u})),a.d(e,"c",(function(){return p})),a.d(e,"h",(function(){return d})),a.d(e,"i",(function(){return h})),a.d(e,"k",(function(){return m})),a.d(e,"n",(function(){return f})),a.d(e,"o",(function(){return g})),a.d(e,"g",(function(){return b})),a.d(e,"j",(function(){return v})),a.d(e,"d",(function(){return w}));var n=a("b775");function r(t){return Object(n["a"])({url:"/api/admin/cartoon/create",method:"post",data:t})}function i(t){return Object(n["a"])({url:"/api/admin/cartoon/cartoon_list",method:"get",params:t})}function o(t){return Object(n["a"])({url:"/api/admin/cartoon/chapter_list",method:"get",params:t})}function s(t){return Object(n["a"])({url:"/api/admin/cartoon/update",method:"post",data:t})}function c(t){return Object(n["a"])({url:"/api/admin/cartoon/createChapter",method:"post",data:t})}function l(t){return Object(n["a"])({url:"/api/admin/cartoon/updateChapter",method:"post",data:t})}function u(t){return Object(n["a"])({url:"/api/admin/cartoon/update_all",method:"post",data:t})}function p(t){return Object(n["a"])({url:"/api/admin/cartoon/check_cartoon",method:"post",data:t})}function d(t){return Object(n["a"])({url:"/api/admin/cartoon/delete",method:"post",data:t})}function h(t){return Object(n["a"])({url:"/api/admin/cartoon/deleteChapter",method:"post",data:t})}function m(t){return Object(n["a"])({url:"/api/admin/cartoon/type_list",method:"get",params:t})}function f(t){return Object(n["a"])({url:"/api/admin/cartoon/update_type",method:"post",data:t})}function g(t){return Object(n["a"])({url:"/api/admin/cartoon/update_type_all",method:"post",data:t})}function b(t){return Object(n["a"])({url:"/api/admin/cartoon/create_type",method:"post",data:t})}function v(t){return Object(n["a"])({url:"/api/admin/cartoon/delete_type",method:"post",data:t})}function w(t){return Object(n["a"])({url:"/api/admin/cache/clearCartoonCache",method:"get",params:t})}},"4a17":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-container"},[a("div",{staticClass:"filter-container"},[a("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"danger",icon:"el-icon-back",circle:""},on:{click:t.handleOpenCartoon}})],1),a("el-table",{key:t.tableKey,staticStyle:{width:"100%"},attrs:{"v-loading":t.listLoading,data:t.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":t.sortChange}},[a("el-table-column",{attrs:{label:"ID",prop:"id",sortable:"custom",align:"center",width:"80","class-name":t.getSortClass()},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[a("span",[t._v(t._s(n.id))])]}}])}),a("el-table-column",{attrs:{width:"70px",label:"章节",align:"center",prop:"chapter_sort",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[t.openSort?[a("el-input",{staticClass:"edit-input",attrs:{size:"small"},model:{value:n.listorder,callback:function(e){t.$set(n,"listorder",e)},expression:"row.listorder"}})]:a("span",[t._v(t._s(n.chapter_sort))])]}}])}),a("el-table-column",{attrs:{label:"章节名字","min-width":"150px",align:"center",to:"/404"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[a("span",[t._v(t._s(n.chapter_title))])]}}])}),a("el-table-column",{attrs:{label:"上架时间",width:"150px",align:"center",prop:"chapter_time",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[a("span",[t._v(t._s(t._f("parseTime")(n.chapter_time,"{y}-{m}-{d} {h}:{i}")))])]}}])}),a("el-table-column",{attrs:{label:"操作",align:"center",width:"300","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row,r=e.$index;return[a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.handleUpdateChapter(n)}}},[t._v(" 编辑 ")]),0===n.delete?a("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(e){return t.handleDelete(n,r)}}},[t._v(" 删除 ")]):t._e()]}}])})],1),a("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}}),a("el-dialog",{attrs:{title:"章节",visible:t.chapterDialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(e){t.chapterDialogFormVisible=e}}},[a("el-form",{ref:"chapterForm",staticStyle:{width:"400px","margin-left":"50px"},attrs:{rules:t.chapterRules,model:t.newChapter,"label-position":"left","label-width":"70px"}},[a("el-form-item",{attrs:{label:"章节名字",prop:"chapter_title"}},[a("el-input",{model:{value:t.newChapter.chapter_title,callback:function(e){t.$set(t.newChapter,"chapter_title",e)},expression:"newChapter.chapter_title"}})],1),a("el-form-item",{attrs:{label:"章节顺序",prop:"chapter_sort"}},[a("el-input",{model:{value:t.newChapter.chapter_sort,callback:function(e){t.$set(t.newChapter,"chapter_sort",e)},expression:"newChapter.chapter_sort"}})],1),a("el-form-item",{attrs:{label:"封面",prop:"chapter_img"}},[a("el-input",{model:{value:t.newChapter.chapter_img,callback:function(e){t.$set(t.newChapter,"chapter_img",e)},expression:"newChapter.chapter_img"}}),0!==t.percentage?a("el-progress",{attrs:{percentage:t.percentage}}):t._e(),a("el-upload",{attrs:{action:"http://up.haoxiao189.com/index/index/api","list-type":"picture-card","show-file-list":!1,"on-progress":t.handleProgress,"on-success":t.handleChapterSuccess}},[t.newChapter.chapter_img?a("img",{attrs:{width:"150",height:"150",src:t.newChapter.chapter_img,alt:""}}):a("i",{staticClass:"el-icon-plus"})])],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.chapterDialogFormVisible=!1}}},[t._v(" 取消 ")]),a("el-button",{attrs:{type:"primary"},on:{click:function(e){"create"===t.chapterDialogStatus?t.CreateChapter():t.updateChapter()}}},[t._v(" 提交 ")])],1)],1)],1)},r=[],i=(a("c740"),a("a434"),a("3bb8")),o=a("6724"),s=a("333d"),c={name:"CartoonChapter",components:{Pagination:s["a"]},directives:{waves:o["a"]},data:function(){return{tableKey:0,list:[],total:0,listLoading:!0,listQuery:{page:1,limit:20,name:void 0,sort:"id desc"},openSort:!1,newVideo:{},newChapter:{},dialogFormVisible:!1,dialogStatus:"",chapterDialogFormVisible:!1,chapterDialogStatus:"",textMap:{update:"编辑",create:"创建"},percentage:0,dialogVisible:!1,rules:{title:[{required:!0,message:"请输入漫画名字",trigger:"blur"}],img:[{required:!0,message:"请上传封面",trigger:"blur"}]},chapterRules:{chapter_title:[{required:!0,message:"请输入漫画名字",trigger:"blur"}],chapter_img:[{required:!0,message:"请上传封面",trigger:"blur"}]}}},activated:function(){this.listQuery.cartoon_id=this.$route.query.cartoon_id,this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(i["b"])(this.listQuery).then((function(e){t.total=e.data.total,t.list=e.data.list,t.listLoading=!1}))},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(t){var e=t.prop,a=t.order;this.listQuery.sort="ascending"===a?e:e+" desc",this.handleFilter()},handleDelete:function(t,e){var a=this;this.listLoading=!0,Object(i["i"])(t).then((function(){a.list.splice(e,1),a.listLoading=!1,a.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){a.listLoading=!1}))},getSortClass:function(){var t=this.listQuery.sort;return"id"===t?"ascending":"descending"},handleCreateChapter:function(t){var e=this;this.newChapter={cartoon_id:t.id},this.chapterDialogStatus="create",this.chapterDialogFormVisible=!0,this.percentage=0,this.$nextTick((function(){e.$refs["chapterForm"].clearValidate()}))},CreateChapter:function(){var t=this;this.$refs["chapterForm"].validate((function(e){e&&Object(i["f"])(t.newChapter).then((function(){t.chapterDialogFormVisible=!1,t.getList(),t.$notify({title:"Success",message:"创建成功",type:"success",duration:2e3})}))}))},handleUpdateChapter:function(t){var e=this;this.newChapter=Object.assign({},t),this.chapterDialogStatus="update",this.chapterDialogFormVisible=!0,this.percentage=0,this.$nextTick((function(){e.$refs["chapterForm"].clearValidate()}))},updateChapter:function(){var t=this;this.$refs["chapterForm"].validate((function(e){if(e){var a=Object.assign({},t.newChapter);Object(i["m"])(a).then((function(){var e=t.list.findIndex((function(e){return e.id===t.newChapter.id}));t.list.splice(e,1,t.newChapter),t.chapterDialogFormVisible=!1,t.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},handleSuccess:function(t){var e=t.filepath;this.$set(this.newVideo,"img",e)},handleChapterSuccess:function(t){var e=t.filepath;this.$set(this.newChapter,"chapter_img",e)},handleProgress:function(t){this.percentage=t.percent},handleOpenCartoon:function(t,e,a){this.$router.push({path:"cartoon-list"})}}},l=c,u=a("2877"),p=Object(u["a"])(l,n,r,!1,null,null,null);e["default"]=p.exports},6724:function(t,e,a){"use strict";a("8d41");var n="@@wavesContext";function r(t,e){function a(a){var n=Object.assign({},e.value),r=Object.assign({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},n),i=r.ele;if(i){i.style.position="relative",i.style.overflow="hidden";var o=i.getBoundingClientRect(),s=i.querySelector(".waves-ripple");switch(s?s.className="waves-ripple":(s=document.createElement("span"),s.className="waves-ripple",s.style.height=s.style.width=Math.max(o.width,o.height)+"px",i.appendChild(s)),r.type){case"center":s.style.top=o.height/2-s.offsetHeight/2+"px",s.style.left=o.width/2-s.offsetWidth/2+"px";break;default:s.style.top=(a.pageY-o.top-s.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",s.style.left=(a.pageX-o.left-s.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return s.style.backgroundColor=r.color,s.className="waves-ripple z-active",!1}}return t[n]?t[n].removeHandle=a:t[n]={removeHandle:a},a}var i={bind:function(t,e){t.addEventListener("click",r(t,e),!1)},update:function(t,e){t.removeEventListener("click",t[n].removeHandle,!1),t.addEventListener("click",r(t,e),!1)},unbind:function(t){t.removeEventListener("click",t[n].removeHandle,!1),t[n]=null,delete t[n]}},o=function(t){t.directive("waves",i)};window.Vue&&(window.waves=i,Vue.use(o)),i.install=o;e["a"]=i},"8d41":function(t,e,a){}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-693fd402"],{"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return r})),Math.easeInOutQuad=function(e,t,a,l){return e/=l/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var l=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function n(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function i(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function r(e,t,a){var r=i(),s=e-r,o=20,u=0;t="undefined"===typeof t?500:t;var c=function e(){u+=o;var i=Math.easeInOutQuad(u,r,s,t);n(i),u<t?l(e):a&&"function"===typeof a&&a()};c()}},6724:function(e,t,a){"use strict";a("8d41");var l="@@wavesContext";function n(e,t){function a(a){var l=Object.assign({},t.value),n=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},l),i=n.ele;if(i){i.style.position="relative",i.style.overflow="hidden";var r=i.getBoundingClientRect(),s=i.querySelector(".waves-ripple");switch(s?s.className="waves-ripple":(s=document.createElement("span"),s.className="waves-ripple",s.style.height=s.style.width=Math.max(r.width,r.height)+"px",i.appendChild(s)),n.type){case"center":s.style.top=r.height/2-s.offsetHeight/2+"px",s.style.left=r.width/2-s.offsetWidth/2+"px";break;default:s.style.top=(a.pageY-r.top-s.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",s.style.left=(a.pageX-r.left-s.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return s.style.backgroundColor=n.color,s.className="waves-ripple z-active",!1}}return e[l]?e[l].removeHandle=a:e[l]={removeHandle:a},a}var i={bind:function(e,t){e.addEventListener("click",n(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[l].removeHandle,!1),e.addEventListener("click",n(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[l].removeHandle,!1),e[l]=null,delete e[l]}},r=function(e){e.directive("waves",i)};window.Vue&&(window.waves=i,Vue.use(r)),i.install=r;t["a"]=i},"6d25":function(e,t,a){"use strict";a.r(t);var l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("div",{staticClass:"filter-container"},[a("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.listQuery}},[a("el-form-item",{attrs:{label:"用户ID"}},[a("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"用户ID"},model:{value:e.listQuery.uid,callback:function(t){e.$set(e.listQuery,"uid",t)},expression:"listQuery.uid"}})],1),a("el-form-item",{attrs:{label:"渠道ID"}},[a("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"渠道ID"},model:{value:e.listQuery.cid,callback:function(t){e.$set(e.listQuery,"cid",t)},expression:"listQuery.cid"}})],1),a("el-form-item",{attrs:{label:"支付状态"}},[a("el-select",{staticStyle:{width:"100px"},attrs:{clearable:"",placeholder:"全部"},model:{value:e.listQuery.status,callback:function(t){e.$set(e.listQuery,"status",t)},expression:"listQuery.status"}},[a("el-option",{attrs:{label:"已支付",value:"1"}}),a("el-option",{attrs:{label:"未支付",value:"2"}})],1)],1),a("el-form-item",{attrs:{label:"系统选择"}},[a("el-select",{staticStyle:{width:"100px"},attrs:{clearable:"",placeholder:"全部"},model:{value:e.listQuery.system,callback:function(t){e.$set(e.listQuery,"system",t)},expression:"listQuery.system"}},[a("el-option",{attrs:{label:"安卓",value:"1"}}),a("el-option",{attrs:{label:"IOS",value:"2"}})],1)],1),a("el-form-item",{attrs:{label:"订单号"}},[a("el-input",{staticStyle:{width:"150px"},attrs:{placeholder:"订单号"},model:{value:e.listQuery.orderID,callback:function(t){e.$set(e.listQuery,"orderID",t)},expression:"listQuery.orderID"}})],1),a("el-form-item",{attrs:{label:"三方订单号"}},[a("el-input",{staticStyle:{width:"150px"},attrs:{placeholder:"三方订单"},model:{value:e.listQuery.third_order,callback:function(t){e.$set(e.listQuery,"third_order",t)},expression:"listQuery.third_order"}})],1),a("el-form-item",{attrs:{label:"支付渠道"}},[a("el-select",{staticStyle:{width:"100px"},attrs:{clearable:"",placeholder:"全部"},model:{value:e.listQuery.pay_type,callback:function(t){e.$set(e.listQuery,"pay_type",t)},expression:"listQuery.pay_type"}},e._l(e.payList,(function(e){return a("el-option",{key:e.id,attrs:{label:e.pay_name,value:e.id}})})),1)],1),a("el-form-item",{attrs:{label:"购买类型"}},[a("el-select",{staticStyle:{width:"100px"},attrs:{clearable:"",placeholder:"全部"},model:{value:e.listQuery.extend,callback:function(t){e.$set(e.listQuery,"extend",t)},expression:"listQuery.extend"}},e._l(e.vipList,(function(e){return a("el-option",{key:e.id,attrs:{label:e.content,value:e.id}})})),1)],1),a("el-form-item",{attrs:{label:"时间"}},[a("el-date-picker",{staticClass:"filter-item",attrs:{type:"datetimerange","value-format":"yyyy-MM-dd HH:mm:ss","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",placeholder:"注册时间"},model:{value:e.listQuery.time_range,callback:function(t){e.$set(e.listQuery,"time_range",t)},expression:"listQuery.time_range"}})],1),a("el-form-item",[a("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v(" 搜索 ")])],1)],1)],1),a("span",[e._v("ios订单: "+e._s(e.iosPull)+" 安卓订单: "+e._s(e.anPull))]),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":e.sortChange}},[a("el-table-column",{attrs:{label:"合计:"+e.sumMoney+" ios金额:"+e.iosMoney+" 安卓金额:"+e.anMoney,align:"center"}},[a("el-table-column",{attrs:{label:"订单号",prop:"orderID",sortable:"custom",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var l=t.row;return[a("span",[e._v(e._s(l.orderID))])]}}])}),a("el-table-column",{attrs:{label:"三方订单",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var l=t.row;return[a("span",[e._v(e._s(l.third_order))])]}}])}),a("el-table-column",{attrs:{label:"支付渠道",width:"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var l=t.row;return[a("span",[e._v(e._s(l.t_pay_type))])]}}])}),a("el-table-column",{attrs:{label:"渠道ID",prop:"cid",sortable:"custom",width:"100px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var l=t.row;return[a("span",[e._v(e._s(l.cid))])]}}])}),a("el-table-column",{attrs:{label:"用户ID",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var l=t.row;return[a("span",[e._v(e._s(l.uid))])]}}])}),a("el-table-column",{attrs:{label:"系统",width:"60px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var l=t.row;return[1===l.system?a("span",{staticStyle:{color:"green"}},[e._v("安卓")]):a("span",{staticStyle:{color:"dodgerblue"}},[e._v("IOS")])]}}])}),a("el-table-column",{attrs:{label:"收入",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var l=t.row;return[a("span",[e._v(e._s(l.money))])]}}])}),a("el-table-column",{attrs:{label:"状态",align:"center"},scopedSlots:e._u([{key:"default",fn:function(e){var t=e.row;return[a("span",[1==t.status?a("el-button",{attrs:{type:"success",size:"mini",icon:"el-icon-check",circle:""}}):a("el-button",{attrs:{size:"mini",type:"danger",icon:"el-icon-close",circle:""}})],1)]}}])}),a("el-table-column",{attrs:{label:"创建时间",prop:"create_time",sortable:"custom",align:"center",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){var l=t.row;return[a("span",[e._v(e._s(l.create_time))])]}}])}),a("el-table-column",{attrs:{label:"成功时间",prop:"create_time",sortable:"custom",align:"center",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){var l=t.row;return[a("span",[e._v(e._s(l.success_time))])]}}])})],1),a("el-table-column",{attrs:{label:"操作",align:"center",width:"120","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){var l=t.row;return[a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.handleSupple(l)}}},[e._v(" 补单 ")])]}}])})],1),a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,"page-sizes":[30,50,100,200,500,e.total],page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}})],1)},n=[],i=a("ff87"),r=a("6724"),s=a("333d"),o={name:"PlayerInpourList",components:{Pagination:s["a"]},directives:{waves:r["a"]},filters:{},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,id:void 0,time_range:void 0,sort:"id desc"},typesOptions:[],newVideo:{},dialogFormVisible:!1,dialogStatus:"",sumMoney:0,iosPull:0,iosMoney:0,anMoney:0,anPull:0,payList:[],vipList:[]}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(i["f"])(this.listQuery).then((function(t){e.total=t.data.total,e.list=t.data.list,e.sumMoney=t.data.sum,e.iosPull=t.data.ios_pull,e.anPull=t.data.an_pull,e.iosMoney=t.data.ios_money,e.anMoney=t.data.an_money,e.listLoading=!1})),Object(i["h"])().then((function(t){e.payList=t.data.pay_list,e.vipList=t.data.vip_list}))},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(e){var t=e.prop,a=e.order;this.listQuery.sort="ascending"===a?t:t+" desc",this.handleFilter()},handleUpdate:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="update",this.dialogFormVisible=!0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},handleCoin:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="coin",this.dialogFormVisible=!0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},handleSupple:function(e){var t=this;this.listLoading=!0,Object(i["i"])(e).then((function(e){t.listLoading=!1,t.$notify({title:"成功",message:e.message,type:"success",duration:2e3}),t.getList()})).catch((function(){t.listLoading=!1}))},getSortClass:function(){var e=this.listQuery.sort;return"id"===e?"ascending":"descending"}}},u=o,c=a("2877"),d=Object(c["a"])(u,l,n,!1,null,null,null);t["default"]=d.exports},"8d41":function(e,t,a){},ff87:function(e,t,a){"use strict";a.d(t,"g",(function(){return n})),a.d(t,"j",(function(){return i})),a.d(t,"c",(function(){return r})),a.d(t,"k",(function(){return s})),a.d(t,"a",(function(){return o})),a.d(t,"e",(function(){return u})),a.d(t,"f",(function(){return c})),a.d(t,"i",(function(){return d})),a.d(t,"h",(function(){return p})),a.d(t,"b",(function(){return m})),a.d(t,"d",(function(){return f}));var l=a("b775");function n(e){return Object(l["a"])({url:"/api/admin/player/player_list",method:"get",params:e})}function i(e){return Object(l["a"])({url:"/api/admin/player/update_player",method:"post",data:e})}function r(e){return Object(l["a"])({url:"/api/admin/player/express_player",method:"post",data:e})}function s(e){return Object(l["a"])({url:"/api/admin/player/update_player_coin",method:"post",data:e})}function o(e){return Object(l["a"])({url:"/api/admin/player/bindMobile",method:"post",data:e})}function u(e){return Object(l["a"])({url:"/api/admin/player/player_history_list",method:"get",params:e})}function c(e){return Object(l["a"])({url:"/api/admin/player/player_inpour_list",method:"get",params:e})}function d(e){return Object(l["a"])({url:"/api/admin/player/supple",method:"post",data:e})}function p(e){return Object(l["a"])({url:"/api/admin/player/player_pay_list",method:"get",params:e})}function m(e){return Object(l["a"])({url:"/api/admin/cache/clearPlayerCache",method:"get",params:e})}function f(e){return Object(l["a"])({url:"/api/admin/player/express_player_password",method:"post",data:e})}}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6ff76bca"],{"09f4":function(t,e,i){"use strict";i.d(e,"a",(function(){return o})),Math.easeInOutQuad=function(t,e,i,a){return t/=a/2,t<1?i/2*t*t+e:(t--,-i/2*(t*(t-2)-1)+e)};var a=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function n(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(t,e,i){var o=r(),s=t-o,l=20,c=0;e="undefined"===typeof e?500:e;var u=function t(){c+=l;var r=Math.easeInOutQuad(c,o,s,e);n(r),c<e?a(t):i&&"function"===typeof i&&i()};u()}},"3bb8":function(t,e,i){"use strict";i.d(e,"e",(function(){return n})),i.d(e,"a",(function(){return r})),i.d(e,"b",(function(){return o})),i.d(e,"p",(function(){return s})),i.d(e,"f",(function(){return l})),i.d(e,"m",(function(){return c})),i.d(e,"l",(function(){return u})),i.d(e,"c",(function(){return d})),i.d(e,"h",(function(){return p})),i.d(e,"i",(function(){return h})),i.d(e,"k",(function(){return f})),i.d(e,"n",(function(){return m})),i.d(e,"o",(function(){return g})),i.d(e,"g",(function(){return b})),i.d(e,"j",(function(){return w})),i.d(e,"d",(function(){return v}));var a=i("b775");function n(t){return Object(a["a"])({url:"/api/admin/cartoon/create",method:"post",data:t})}function r(t){return Object(a["a"])({url:"/api/admin/cartoon/cartoon_list",method:"get",params:t})}function o(t){return Object(a["a"])({url:"/api/admin/cartoon/chapter_list",method:"get",params:t})}function s(t){return Object(a["a"])({url:"/api/admin/cartoon/update",method:"post",data:t})}function l(t){return Object(a["a"])({url:"/api/admin/cartoon/createChapter",method:"post",data:t})}function c(t){return Object(a["a"])({url:"/api/admin/cartoon/updateChapter",method:"post",data:t})}function u(t){return Object(a["a"])({url:"/api/admin/cartoon/update_all",method:"post",data:t})}function d(t){return Object(a["a"])({url:"/api/admin/cartoon/check_cartoon",method:"post",data:t})}function p(t){return Object(a["a"])({url:"/api/admin/cartoon/delete",method:"post",data:t})}function h(t){return Object(a["a"])({url:"/api/admin/cartoon/deleteChapter",method:"post",data:t})}function f(t){return Object(a["a"])({url:"/api/admin/cartoon/type_list",method:"get",params:t})}function m(t){return Object(a["a"])({url:"/api/admin/cartoon/update_type",method:"post",data:t})}function g(t){return Object(a["a"])({url:"/api/admin/cartoon/update_type_all",method:"post",data:t})}function b(t){return Object(a["a"])({url:"/api/admin/cartoon/create_type",method:"post",data:t})}function w(t){return Object(a["a"])({url:"/api/admin/cartoon/delete_type",method:"post",data:t})}function v(t){return Object(a["a"])({url:"/api/admin/cache/clearCartoonCache",method:"get",params:t})}},6724:function(t,e,i){"use strict";i("8d41");var a="@@wavesContext";function n(t,e){function i(i){var a=Object.assign({},e.value),n=Object.assign({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},a),r=n.ele;if(r){r.style.position="relative",r.style.overflow="hidden";var o=r.getBoundingClientRect(),s=r.querySelector(".waves-ripple");switch(s?s.className="waves-ripple":(s=document.createElement("span"),s.className="waves-ripple",s.style.height=s.style.width=Math.max(o.width,o.height)+"px",r.appendChild(s)),n.type){case"center":s.style.top=o.height/2-s.offsetHeight/2+"px",s.style.left=o.width/2-s.offsetWidth/2+"px";break;default:s.style.top=(i.pageY-o.top-s.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",s.style.left=(i.pageX-o.left-s.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return s.style.backgroundColor=n.color,s.className="waves-ripple z-active",!1}}return t[a]?t[a].removeHandle=i:t[a]={removeHandle:i},i}var r={bind:function(t,e){t.addEventListener("click",n(t,e),!1)},update:function(t,e){t.removeEventListener("click",t[a].removeHandle,!1),t.addEventListener("click",n(t,e),!1)},unbind:function(t){t.removeEventListener("click",t[a].removeHandle,!1),t[a]=null,delete t[a]}},o=function(t){t.directive("waves",r)};window.Vue&&(window.waves=r,Vue.use(o)),r.install=o;e["a"]=r},"8d41":function(t,e,i){},deeb:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"app-container"},[i("div",{staticClass:"filter-container"},[i("el-input",{staticClass:"filter-item",staticStyle:{width:"200px"},attrs:{placeholder:"ID"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleFilter(e)}},model:{value:t.listQuery.id,callback:function(e){t.$set(t.listQuery,"id",e)},expression:"listQuery.id"}}),i("el-input",{staticClass:"filter-item",staticStyle:{width:"200px"},attrs:{placeholder:"漫画名字"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleFilter(e)}},model:{value:t.listQuery.name,callback:function(e){t.$set(t.listQuery,"name",e)},expression:"listQuery.name"}}),i("el-button",{staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.handleFilter}},[t._v(" 搜索 ")]),i("el-select",{staticClass:"filter-item",staticStyle:{width:"130px"},attrs:{placeholder:"分类",clearable:""},model:{value:t.listQuery.video_type,callback:function(e){t.$set(t.listQuery,"video_type",e)},expression:"listQuery.video_type"}},t._l(t.typesOptions,(function(t){return i("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1),t.openSort?t._e():i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:t.handleSort}},[t._v(" 排序 ")]),t.openSort?i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"success",icon:"el-icon-edit"},on:{click:t.handleSortConfirm}},[t._v(" 确认 ")]):t._e(),t.openSort?i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"danger",icon:"el-icon-edit"},on:{click:t.handleSortCancel}},[t._v(" 取消 ")]):t._e(),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:t.handleCreate}},[t._v(" 创建 ")]),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"danger",icon:"el-icon-delete"},on:{click:t.handleClearCache}},[t._v(" 清除缓存 ")])],1),i("el-table",{key:t.tableKey,staticStyle:{width:"100%"},attrs:{"v-loading":t.listLoading,data:t.list,border:"",fit:"","highlight-current-row":""},on:{"row-dblclick":t.handleOpenChapter,"sort-change":t.sortChange}},[i("el-table-column",{attrs:{label:"ID",prop:"id",sortable:"custom",align:"center",width:"80","class-name":t.getSortClass()},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[i("span",[t._v(t._s(a.id))])]}}])}),i("el-table-column",{attrs:{width:"70px",label:"排序",align:"center",prop:"list_sort",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t.openSort?[i("el-input",{staticClass:"edit-input",attrs:{size:"small"},model:{value:a.list_sort,callback:function(e){t.$set(a,"list_sort",e)},expression:"row.list_sort"}})]:i("span",[t._v(t._s(a.list_sort))])]}}])}),i("el-table-column",{attrs:{label:"漫画名字","min-width":"150px",align:"center",to:"/404"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[i("span",[t._v(t._s(a.title))])]}}])}),i("el-table-column",{attrs:{label:"状态",align:"center",width:"80","class-name":"small-padding fixed-width",prop:"is_check",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[1==a.is_check?i("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.handleCheckStatus(a,0)}}},[t._v(" "+t._s(t._f("isCheckFilter")(a.is_check))+" ")]):t._e(),0==a.is_check?i("el-button",{attrs:{size:"mini",type:"draft"},on:{click:function(e){return t.handleCheckStatus(a,1)}}},[t._v(" "+t._s(t._f("isCheckFilter")(a.is_check))+" ")]):t._e()]}}])}),i("el-table-column",{attrs:{label:"发布时间",width:"150px",align:"center",prop:"release_time",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[i("span",[t._v(t._s(t._f("parseTime")(a.release_time,"{y}-{m}-{d} {h}:{i}")))])]}}])}),i("el-table-column",{attrs:{label:"操作",align:"center",width:"300","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row,n=e.$index;return[i("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.handleUpdate(a)}}},[t._v(" 编辑 ")]),i("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.handleCreateChapter(a)}}},[t._v(" 添加章节 ")]),0===a.delete?i("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(e){return t.handleDelete(a,n)}}},[t._v(" 删除 ")]):t._e()]}}])})],1),i("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}}),i("el-dialog",{attrs:{title:t.textMap[t.dialogStatus],visible:t.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogFormVisible=e}}},[i("el-form",{ref:"dataForm",staticStyle:{width:"400px","margin-left":"50px"},attrs:{rules:t.rules,model:t.newVideo,"label-position":"left","label-width":"70px"}},[i("el-form-item",{attrs:{label:"漫画名字",prop:"title"}},[i("el-input",{model:{value:t.newVideo.title,callback:function(e){t.$set(t.newVideo,"title",e)},expression:"newVideo.title"}})],1),i("el-form-item",{attrs:{label:"分类",prop:"tid"}},[i("el-checkbox-group",{model:{value:t.newVideo.tid,callback:function(e){t.$set(t.newVideo,"tid",e)},expression:"newVideo.tid"}},t._l(t.typesOptions,(function(e){return i("el-checkbox",{key:e.id,attrs:{label:e.id,"true-label":""}},[t._v(t._s(e.name))])})),1)],1),i("el-form-item",{attrs:{label:"作者",prop:"actors"}},[i("el-input",{model:{value:t.newVideo.actor,callback:function(e){t.$set(t.newVideo,"actor",e)},expression:"newVideo.actor"}})],1),i("el-form-item",{attrs:{label:"浏览次数",prop:"views"}},[i("el-input",{model:{value:t.newVideo.views,callback:function(e){t.$set(t.newVideo,"views",e)},expression:"newVideo.views"}})],1),i("el-form-item",{attrs:{label:"封面",prop:"img"}},[i("el-input",{model:{value:t.newVideo.img,callback:function(e){t.$set(t.newVideo,"img",e)},expression:"newVideo.img"}}),0!==t.percentage?i("el-progress",{attrs:{percentage:t.percentage}}):t._e(),i("el-upload",{attrs:{action:"http://up.haoxiao189.com/index/index/api","list-type":"picture-card","show-file-list":!1,"on-progress":t.handleProgress,"on-success":t.handleSuccess}},[t.newVideo.img?i("img",{attrs:{width:"150",height:"150",src:t.newVideo.img,alt:""}}):i("i",{staticClass:"el-icon-plus"})]),i("el-dialog",{attrs:{visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[i("img",{attrs:{width:"100%",src:t.newVideo.img,alt:""}})])],1),i("el-form-item",{attrs:{label:"简介"}},[i("el-input",{attrs:{autosize:{minRows:2,maxRows:4},type:"textarea",placeholder:"输入简介.."},model:{value:t.newVideo.describe,callback:function(e){t.$set(t.newVideo,"describe",e)},expression:"newVideo.describe"}})],1)],1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){t.dialogFormVisible=!1}}},[t._v(" 取消 ")]),i("el-button",{attrs:{type:"primary"},on:{click:function(e){"create"===t.dialogStatus?t.createData():t.updateData()}}},[t._v(" 提交 ")])],1)],1),i("el-dialog",{attrs:{title:"章节",visible:t.chapterDialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(e){t.chapterDialogFormVisible=e}}},[i("el-form",{ref:"chapterForm",staticStyle:{width:"400px","margin-left":"50px"},attrs:{rules:t.chapterRules,model:t.newChapter,"label-position":"left","label-width":"70px"}},[i("el-form-item",{attrs:{label:"章节名字",prop:"chapter_title"}},[i("el-input",{model:{value:t.newChapter.chapter_title,callback:function(e){t.$set(t.newChapter,"chapter_title",e)},expression:"newChapter.chapter_title"}})],1),i("el-form-item",{attrs:{label:"章节顺序",prop:"chapter_sort"}},[i("el-input",{model:{value:t.newChapter.chapter_sort,callback:function(e){t.$set(t.newChapter,"chapter_sort",e)},expression:"newChapter.chapter_sort"}})],1),i("el-form-item",{attrs:{label:"封面",prop:"chapter_img"}},[i("el-input",{model:{value:t.newChapter.chapter_img,callback:function(e){t.$set(t.newChapter,"chapter_img",e)},expression:"newChapter.chapter_img"}}),0!==t.percentage?i("el-progress",{attrs:{percentage:t.percentage}}):t._e(),i("el-upload",{attrs:{action:"http://up.haoxiao189.com/index/index/api","list-type":"picture-card","show-file-list":!1,"on-progress":t.handleProgress,"on-success":t.handleChapterSuccess}},[t.newChapter.chapter_img?i("img",{attrs:{width:"150",height:"150",src:t.newChapter.chapter_img,alt:""}}):i("i",{staticClass:"el-icon-plus"})])],1)],1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){t.chapterDialogFormVisible=!1}}},[t._v(" 取消 ")]),i("el-button",{attrs:{type:"primary"},on:{click:function(e){"create"===t.chapterDialogStatus?t.CreateChapter():t.updateChapter()}}},[t._v(" 提交 ")])],1)],1)],1)},n=[],r=(i("c740"),i("a434"),i("3bb8")),o=i("6724"),s=i("333d"),l=["下线","上线"],c=["普通","推荐"],u={name:"CartoonList",components:{Pagination:s["a"]},directives:{waves:o["a"]},filters:{isCheckFilter:function(t){return l[t]},betterShowFilter:function(t){return c[t]}},data:function(){return{tableKey:0,list:[],total:0,listLoading:!0,listQuery:{page:1,limit:20,name:void 0,sort:"id desc"},openSort:!1,newVideo:{},newChapter:{},dialogFormVisible:!1,dialogStatus:"",chapterDialogFormVisible:!1,chapterDialogStatus:"",typesOptions:[],textMap:{update:"编辑",create:"创建"},percentage:0,dialogVisible:!1,rules:{title:[{required:!0,message:"请输入漫画名字",trigger:"blur"}],img:[{required:!0,message:"请上传封面",trigger:"blur"}]},chapterRules:{chapter_title:[{required:!0,message:"请输入漫画名字",trigger:"blur"}],chapter_img:[{required:!0,message:"请上传封面",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(r["a"])(this.listQuery).then((function(e){t.total=e.data.total,t.list=e.data.list,t.typesOptions=e.data.types,t.listLoading=!1}))},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(t){var e=t.prop,i=t.order;this.listQuery.sort="ascending"===i?e:e+" desc",this.handleFilter()},handleUpdate:function(t){var e=this;this.newVideo=Object.assign({},t),this.newVideo.release_time=new Date(this.newVideo.release_time),this.dialogStatus="update",this.dialogFormVisible=!0,this.percentage=0,this.$nextTick((function(){e.$refs["dataForm"].clearValidate()}))},updateData:function(){var t=this;this.$refs["dataForm"].validate((function(e){if(e){var i=Object.assign({},t.newVideo);i.release_time=+new Date(i.release_time),Object(r["p"])(i).then((function(){var e=t.list.findIndex((function(e){return e.id===t.newVideo.id}));t.list.splice(e,1,t.newVideo),t.dialogFormVisible=!1,t.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},handleDelete:function(t,e){var i=this;this.listLoading=!0,Object(r["h"])(t).then((function(){i.list.splice(e,1),i.listLoading=!1,i.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){i.listLoading=!1}))},getSortClass:function(){var t=this.listQuery.sort;return"id"===t?"ascending":"descending"},handleCheckStatus:function(t,e){var i=this;this.listLoading=!0,t.is_check=e,Object(r["c"])(t).then((function(){i.listLoading=!1,i.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){i.listLoading=!1}))},handleSort:function(){this.openSort=!0},handleSortCancel:function(){this.getList(),this.openSort=!1},handleSortConfirm:function(){var t=this;if(this.listLoading=!0,this.list){var e=Object.assign({},this.list);Object(r["l"])(e).then((function(e){t.openSort=!1,t.listLoading=!1,t.$notify({title:"成功",message:e.message,type:"success",duration:2e3})})).catch((function(){t.listLoading=!1}))}},handleCreate:function(t,e){var i=this;this.newVideo={tid:[]},this.dialogStatus="create",this.dialogFormVisible=!0,this.percentage=0,this.$nextTick((function(){i.$refs["dataForm"].clearValidate()}))},createData:function(){var t=this;this.$refs["dataForm"].validate((function(e){e&&Object(r["e"])(t.newVideo).then((function(){t.dialogFormVisible=!1,t.getList(),t.$notify({title:"Success",message:"创建成功",type:"success",duration:2e3})}))}))},handleClearCache:function(){var t=this;Object(r["d"])().then((function(){t.$notify({title:"Success",message:"清除成功",type:"success",duration:2e3})}))},handleCreateChapter:function(t){var e=this;this.newChapter={cartoon_id:t.id},this.chapterDialogStatus="create",this.chapterDialogFormVisible=!0,this.percentage=0,this.$nextTick((function(){e.$refs["chapterForm"].clearValidate()}))},CreateChapter:function(){var t=this;this.$refs["chapterForm"].validate((function(e){e&&Object(r["f"])(t.newChapter).then((function(){t.chapterDialogFormVisible=!1,t.getList(),t.$notify({title:"Success",message:"创建成功",type:"success",duration:2e3})}))}))},handleUpdateChapter:function(t){var e=this;this.newChapter=Object.assign({},t),this.chapterDialogStatus="update",this.chapterDialogFormVisible=!0,this.percentage=0,this.$nextTick((function(){e.$refs["chapterForm"].clearValidate()}))},updateChapter:function(){var t=this;this.$refs["chapterForm"].validate((function(e){if(e){var i=Object.assign({},t.newChapter);Object(r["m"])(i).then((function(){var e=t.list.findIndex((function(e){return e.id===t.newChapter.id}));t.list.splice(e,1,t.newChapter),t.chapterDialogFormVisible=!1,t.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},handleSuccess:function(t){var e="https://t.ztgfgroup.com/"+t.filepath;this.$set(this.newVideo,"img",e)},handleChapterSuccess:function(t){var e=t.filepath;this.$set(this.newChapter,"chapter_img",e)},handleProgress:function(t){this.percentage=t.percent},handleOpenChapter:function(t,e,i){this.$router.push({path:"cartoon-chapter",query:{cartoon_id:t.id}})}}},d=u,p=i("2877"),h=Object(p["a"])(d,a,n,!1,null,null,null);e["default"]=h.exports}}]);
\ No newline at end of file
... ...
This diff could not be displayed because it is too large.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-72fbf495"],{"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),Math.easeInOutQuad=function(t,e,n,a){return t/=a/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var a=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function i(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function l(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(t,e,n){var o=l(),r=t-o,s=20,c=0;e="undefined"===typeof e?500:e;var u=function t(){c+=s;var l=Math.easeInOutQuad(c,o,r,e);i(l),c<e?a(t):n&&"function"===typeof n&&n()};u()}},"13cf":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:t.listQuery}},[n("el-form-item",{attrs:{label:"日期"}},[n("el-date-picker",{staticClass:"filter-item",attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:t.listQuery.time_range,callback:function(e){t.$set(t.listQuery,"time_range",e)},expression:"listQuery.time_range"}})],1),n("el-form-item",{attrs:{label:"渠道ID"}},[n("el-input",{attrs:{placeholder:"渠道ID"},model:{value:t.listQuery.channel_id,callback:function(e){t.$set(t.listQuery,"channel_id",e)},expression:"listQuery.channel_id"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.handleFilter}},[t._v("搜索")])],1),n("el-form-item",[n("el-button",{staticStyle:{margin:"0 0 20px 20px"},attrs:{loading:t.downloadLoading,type:"primary",icon:"el-icon-document"},on:{click:t.handleDownload}},[t._v(" 导出表格 ")])],1)],1)],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],key:t.tableKey,staticStyle:{width:"100%"},attrs:{data:t.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":t.sortChange}},[n("el-table-column",{attrs:{label:"日期",width:"100px",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.date))])]}}])}),n("el-table-column",{attrs:{label:"ID",width:"60px",align:"center",prop:"channel",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.channel))])]}}])}),n("el-table-column",{attrs:{label:"推广账号",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.name))])]}}])}),n("el-table-column",{attrs:{label:"结算金额",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.gain_money))])]}}])}),n("el-table-column",{attrs:{label:"H5新增",align:"center",prop:"h5_install",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.h5_install))])]}}])}),n("el-table-column",{attrs:{label:"安卓新增",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.an_install))])]}}])}),n("el-table-column",{attrs:{label:"充值",align:"center",prop:"money",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.money))])]}}])}),n("el-table-column",{attrs:{label:"ARPU",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.arpu))])]}}])}),n("el-table-column",{attrs:{label:"首充金额",align:"center",prop:"frist_inpour",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.frist_inpour))])]}}])}),n("el-table-column",{attrs:{label:"续充金额",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.money-a.frist_inpour))])]}}])}),n("el-table-column",{attrs:{label:"首充人数",align:"center",prop:"frist_count",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.frist_count))])]}}])}),n("el-table-column",{attrs:{label:"续充人数",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.inpour_count-a.frist_count))])]}}])}),n("el-table-column",{attrs:{label:"总注册",align:"center",prop:"install",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.install))])]}}])}),n("el-table-column",{attrs:{label:"次日留存",align:"center",prop:"last_save",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.last_save))])]}}])}),n("el-table-column",{attrs:{label:"次日留存率",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.last_save_i))])]}}])}),n("el-table-column",{attrs:{label:"新增播放次数",align:"center",prop:"plays",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.plays))])]}}])}),n("el-table-column",{attrs:{label:"新增播放率",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.plays_i))])]}}])}),n("el-table-column",{attrs:{label:"总播放次数",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.all_plays))])]}}])}),n("el-table-column",{attrs:{label:"总播放率",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.all_plays_i))])]}}])}),n("el-table-column",{attrs:{label:"H5注册占比",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.h5_install_i))])]}}])}),n("el-table-column",{attrs:{label:"安卓注册占比",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.an_install_i))])]}}])}),n("el-table-column",{attrs:{label:"H5新增播放率",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.h5_plays_count_i))])]}}])}),n("el-table-column",{attrs:{label:"安卓新增播放率",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.an_plays_count_i))])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit,"page-sizes":[10,20,30,40,50,100]},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}})],1)},i=[],l=(n("d81d"),n("13d5"),n("a434"),n("d3b7"),n("cd05")),o=n("6724"),r=n("333d"),s=["下线","上线"],c=["普通","推荐"],u=["普通","首页"],d=[{key:"1",display_name:"电影"},{key:"2",display_name:"电视剧"},{key:"3",display_name:"短视频"}],f=d.reduce((function(t,e){return t[e.key]=e.display_name,t}),{}),p={name:"FinanceChannelInfo",components:{Pagination:r["a"]},directives:{waves:o["a"]},filters:{typeFilter:function(t){return f[t]},isCheckFilter:function(t){return s[t]},betterShowFilter:function(t){return c[t]},homeShowFilter:function(t){return u[t]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,id:void 0,channel:void 0,time_range:void 0,check_sort:"inpour",sort:"install desc"},typesOptions:[],viewTypeOptions:d,showPlays:!1,showLikes:!1,showDislikes:!1,showTariffVip:!1,showTariffUsr:!1,showCreateTime:!1,showReleaseTime:!1,openSort:!1,newVideo:{},dialogFormVisible:!1,dialogStatus:"",downloadLoading:!1,textMap:{update:"编辑",create:"创建",coin:"金币充值"},rules:{name:[{required:!0,message:"请输入片名",trigger:"blur"}],coin_type:[{required:!0,message:"请选择类型",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(l["b"])(this.listQuery).then((function(e){t.total=e.data.total,t.list=e.data.list,t.list=t.list.map((function(e){return t.$set(e,"edit",!1),e.originalRemit=e.remit,e.originalRemitInfo=e.remit_info,e.originalRemitFlag=e.remit_flag,e.originalContent=e.content,e})),t.listLoading=!1}))},takeViewType:function(t){return f[t]},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(t){var e=t.prop,n=t.order;this.listQuery.sort="ascending"===n?e:e+" desc",this.handleFilter()},handleUpdate:function(t){var e=this;this.newVideo=Object.assign({},t),this.dialogStatus="update",this.dialogFormVisible=!0,this.$nextTick((function(){e.$refs["dataForm"].clearValidate()}))},getSortClass:function(){var t=this.listQuery.sort;return"id"===t?"ascending":"descending"},handleEdit:function(t,e){t.edit=!0,this.list.splice(e,1,this.list[e])},cancelEdit:function(t,e){t.edit=!1,t.remit=t.originalRemit,t.remit_info=t.originalRemitInfo,t.remit_flag=t.originalRemitFlag,t.content=t.originalContent,this.list.splice(e,1,this.list[e])},handleBetterStatus:function(t,e){var n=this;this.listLoading=!0,t.remit_flag=e,Object(l["e"])(t).then((function(){n.listLoading=!1,n.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3}),n.getList()})).catch((function(){n.listLoading=!1}))},handleSortConfirm:function(t,e){var n=this;this.listLoading=!0,Object(l["f"])(t).then((function(){t.edit=!1,t.originalRemit=t.remit,t.originalRemitInfo=t.remit_info,t.originalContent=t.content,n.list.splice(e,1,n.list[e]),n.listLoading=!1,n.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){n.listLoading=!1}))},handleDownload:function(){var t=this;this.downloadLoading=!0,Promise.all([n.e("chunk-489b8c18"),n.e("chunk-2125b98f")]).then(n.bind(null,"4bf8")).then((function(e){var n=["渠道ID","渠道名","打款方式","打款信息","总安装","总充值","分成比例","实际分成","是否打款","未打款金额","备注"],a=["channel_id","channel_name","remit","remit_info","install","allmoney","gain_sharing","real_money","remit_flag_text","lost_money","content"],i=t.list,l=t.formatJson(a,i);console.log(t.list),e.export_json_to_excel({header:n,data:l,filename:"报表",autoWidth:!0,bookType:"xlsx"}),t.downloadLoading=!1}))},formatJson:function(t,e){return e.map((function(e){return t.map((function(t){return"remit_flag_text"===t&&(e["remit_flag"]?e["remit_flag_text"]="已打款":e["remit_flag_text"]="未打款"),e[t]}))}))},handleSelectionChange:function(t){this.multipleSelection=t},handleAllRemit:function(t){var e=this;this.listLoading=!0,Object(l["a"])(this.multipleSelection).then((function(){e.listLoading=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3}),e.getList()})).catch((function(){e.listLoading=!1}))}}},m=p,_=n("2877"),g=Object(_["a"])(m,a,i,!1,null,null,null);e["default"]=g.exports},6724:function(t,e,n){"use strict";n("8d41");var a="@@wavesContext";function i(t,e){function n(n){var a=Object.assign({},e.value),i=Object.assign({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},a),l=i.ele;if(l){l.style.position="relative",l.style.overflow="hidden";var o=l.getBoundingClientRect(),r=l.querySelector(".waves-ripple");switch(r?r.className="waves-ripple":(r=document.createElement("span"),r.className="waves-ripple",r.style.height=r.style.width=Math.max(o.width,o.height)+"px",l.appendChild(r)),i.type){case"center":r.style.top=o.height/2-r.offsetHeight/2+"px",r.style.left=o.width/2-r.offsetWidth/2+"px";break;default:r.style.top=(n.pageY-o.top-r.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",r.style.left=(n.pageX-o.left-r.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return r.style.backgroundColor=i.color,r.className="waves-ripple z-active",!1}}return t[a]?t[a].removeHandle=n:t[a]={removeHandle:n},n}var l={bind:function(t,e){t.addEventListener("click",i(t,e),!1)},update:function(t,e){t.removeEventListener("click",t[a].removeHandle,!1),t.addEventListener("click",i(t,e),!1)},unbind:function(t){t.removeEventListener("click",t[a].removeHandle,!1),t[a]=null,delete t[a]}},o=function(t){t.directive("waves",l)};window.Vue&&(window.waves=l,Vue.use(o)),l.install=o;e["a"]=l},"8d41":function(t,e,n){},cd05:function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return l})),n.d(e,"f",(function(){return o})),n.d(e,"e",(function(){return r})),n.d(e,"d",(function(){return s})),n.d(e,"a",(function(){return c}));var a=n("b775");function i(t){return Object(a["a"])({url:"/api/admin/finance/channel_list",method:"get",params:t})}function l(t){return Object(a["a"])({url:"/api/admin/finance/channel_info",method:"get",params:t})}function o(t){return Object(a["a"])({url:"/api/admin/finance/update_channel",method:"post",data:t})}function r(t){return Object(a["a"])({url:"/api/admin/finance/remit",method:"post",data:t})}function s(t){return Object(a["a"])({url:"/api/admin/finance/pay_list",method:"get",params:t})}function c(t){return Object(a["a"])({url:"/api/admin/finance/all_remit",method:"post",data:t})}}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-74547b20"],{"09f4":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),Math.easeInOutQuad=function(e,t,n,i){return e/=i/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function a(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function r(e,t,n){var r=o(),l=e-r,s=20,u=0;t="undefined"===typeof t?500:t;var c=function e(){u+=s;var o=Math.easeInOutQuad(u,r,l,t);a(o),u<t?i(e):n&&"function"===typeof n&&n()};c()}},"61ac":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-container"},[n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":e.sortChange}},[n("el-table-column",{attrs:{label:"ID",prop:"id",sortable:"custom",align:"center",width:"80","class-name":e.getSortClass()},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.id))])]}}])}),n("el-table-column",{attrs:{label:"类型","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return["vip"===i.recharge_type?n("span",[e._v("会员充值")]):e._e(),"coin"===i.recharge_type?n("span",[e._v("金币充值")]):e._e()]}}])}),n("el-table-column",{attrs:{label:"显示金额",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.show_money))])]}}])}),n("el-table-column",{attrs:{label:"实际金额",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.money))])]}}])}),n("el-table-column",{attrs:{label:"首冲赠送",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.first))])]}}])}),n("el-table-column",{attrs:{label:"介绍","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.content))])]}}])}),n("el-table-column",{attrs:{width:"70px",label:"排序",align:"center",prop:"vip_order",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.vip_order))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center",width:"200","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.handleUpdate(i)}}},[e._v(" 编辑 ")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}}),n("el-dialog",{attrs:{title:e.textMap[e.dialogStatus],visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[n("el-form",{ref:"dataForm",staticStyle:{width:"400px","margin-left":"50px"},attrs:{rules:e.rules,model:e.newVideo,"label-position":"right","label-width":"70px"}},[n("el-form-item",{attrs:{label:"类型",prop:"recharge_type"}},[n("el-select",{staticClass:"filter-item",attrs:{placeholder:"选择一个类型"},model:{value:e.newVideo.recharge_type,callback:function(t){e.$set(e.newVideo,"recharge_type",t)},expression:"newVideo.recharge_type"}},[n("el-option",{key:"1",attrs:{label:"会员充值",value:"vip"}}),n("el-option",{key:"2",attrs:{label:"金币充值",value:"coin"}})],1)],1),n("el-form-item",{attrs:{label:"支付",prop:"tid"}},[n("el-checkbox-group",{model:{value:e.newVideo.tid,callback:function(t){e.$set(e.newVideo,"tid",t)},expression:"newVideo.tid"}},e._l(e.typesOptions,(function(t){return n("el-checkbox",{key:t.id,attrs:{label:t.id,"true-label":""}},[e._v(e._s(t.name))])})),1)],1),n("el-form-item",{attrs:{label:"开启",prop:"delete"}},[n("el-switch",{attrs:{"active-value":0,"inactive-value":1,"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:e.newVideo.delete,callback:function(t){e.$set(e.newVideo,"delete",t)},expression:"newVideo.delete"}})],1),n("el-form-item",{attrs:{label:"显示金额",prop:"show_money"}},[n("el-input",{model:{value:e.newVideo.show_money,callback:function(t){e.$set(e.newVideo,"show_money",t)},expression:"newVideo.show_money"}})],1),n("el-form-item",{attrs:{label:"实际金额",prop:"money"}},[n("el-input",{model:{value:e.newVideo.money,callback:function(t){e.$set(e.newVideo,"money",t)},expression:"newVideo.money"}})],1),n("el-form-item",{attrs:{label:"时长",prop:"time"}},[n("el-input",{model:{value:e.newVideo.time,callback:function(t){e.$set(e.newVideo,"time",t)},expression:"newVideo.time"}})],1),n("el-form-item",{attrs:{label:"期限",prop:"vip_type"}},[n("el-select",{staticClass:"filter-item",attrs:{placeholder:"选择一个类型"},model:{value:e.newVideo.vip_type,callback:function(t){e.$set(e.newVideo,"vip_type",t)},expression:"newVideo.vip_type"}},[n("el-option",{key:"1",attrs:{label:"月",value:1}}),n("el-option",{key:"2",attrs:{label:"天",value:2}}),n("el-option",{key:"3",attrs:{label:"永久",value:99}})],1)],1),n("el-form-item",{attrs:{label:"获得金币",prop:"coin"}},[n("el-input",{model:{value:e.newVideo.coin,callback:function(t){e.$set(e.newVideo,"coin",t)},expression:"newVideo.coin"}})],1),n("el-form-item",{attrs:{label:"首冲赠送",prop:"first"}},[n("el-input",{model:{value:e.newVideo.first,callback:function(t){e.$set(e.newVideo,"first",t)},expression:"newVideo.first"}})],1),n("el-form-item",{attrs:{label:"转单",prop:"transfer"}},[n("el-input",{model:{value:e.newVideo.transfer,callback:function(t){e.$set(e.newVideo,"transfer",t)},expression:"newVideo.transfer"}})],1),n("el-form-item",{attrs:{label:"排序",prop:"vip_order"}},[n("el-input",{model:{value:e.newVideo.vip_order,callback:function(t){e.$set(e.newVideo,"vip_order",t)},expression:"newVideo.vip_order"}})],1),n("el-form-item",{attrs:{label:"介绍",prop:"content"}},[n("el-input",{model:{value:e.newVideo.content,callback:function(t){e.$set(e.newVideo,"content",t)},expression:"newVideo.content"}})],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.dialogFormVisible=!1}}},[e._v(" 取消 ")]),n("el-button",{attrs:{type:"primary"},on:{click:function(t){"create"===e.dialogStatus?e.createData():e.updateData()}}},[e._v(" 提交 ")])],1)],1)],1)},a=[],o=(n("c740"),n("13d5"),n("a434"),n("90e7")),r=n("6724"),l=n("333d"),s=["否","是"],u=["普通","推荐"],c=["否","是"],d=[{key:"1",display_name:"支付宝"},{key:"2",display_name:"微信"}],p=d.reduce((function(e,t){return e[t.key]=t.display_name,e}),{}),m={name:"SettingVip",components:{Pagination:l["a"]},directives:{waves:r["a"]},filters:{isCheckFilter:function(e){return s[e]},betterShowFilter:function(e){return u[e]},homeShowFilter:function(e){return c[e]},typeFilter:function(e){return p[e]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,view_type:void 0,video_type:void 0,name:void 0,sort:"id"},newVideo:{},typesOptions:[],dialogFormVisible:!1,dialogStatus:"",textMap:{update:"编辑",create:"创建"},openSort:!1,viewTypeOptions:d,rules:{name:[{required:!0,message:"请输入演员名字",trigger:"blur"}],pay_type:[{required:!0,message:"请选择类型",trigger:"blur"}],pay_order:[{required:!0,message:"排序必须输入",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(o["s"])(this.listQuery).then((function(t){e.total=t.data.total,e.list=t.data.list,e.typesOptions=t.data.types,e.listLoading=!1}))},takeViewType:function(e){return p[e]},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(e){var t=e.prop,n=e.order;this.listQuery.sort="ascending"===n?t:t+" desc",this.handleFilter()},handleUpdate:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="update",this.dialogFormVisible=!0,this.newVideo.show_view_type=this.takeViewType(this.newVideo.pay_type),this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},updateData:function(){var e=this;this.$refs["dataForm"].validate((function(t){if(t){var n=Object.assign({},e.newVideo);Object(o["r"])(n).then((function(){var t=e.list.findIndex((function(t){return t.id===e.newVideo.id}));e.list.splice(t,1,e.newVideo),e.dialogFormVisible=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},getSortClass:function(){var e=this.listQuery.sort;return"id"===e?"ascending":"descending"}}},f=m,b=n("2877"),v=Object(b["a"])(f,i,a,!1,null,null,null);t["default"]=v.exports},6724:function(e,t,n){"use strict";n("8d41");var i="@@wavesContext";function a(e,t){function n(n){var i=Object.assign({},t.value),a=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),o=a.ele;if(o){o.style.position="relative",o.style.overflow="hidden";var r=o.getBoundingClientRect(),l=o.querySelector(".waves-ripple");switch(l?l.className="waves-ripple":(l=document.createElement("span"),l.className="waves-ripple",l.style.height=l.style.width=Math.max(r.width,r.height)+"px",o.appendChild(l)),a.type){case"center":l.style.top=r.height/2-l.offsetHeight/2+"px",l.style.left=r.width/2-l.offsetWidth/2+"px";break;default:l.style.top=(n.pageY-r.top-l.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",l.style.left=(n.pageX-r.left-l.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return l.style.backgroundColor=a.color,l.className="waves-ripple z-active",!1}}return e[i]?e[i].removeHandle=n:e[i]={removeHandle:n},n}var o={bind:function(e,t){e.addEventListener("click",a(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[i].removeHandle,!1),e.addEventListener("click",a(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[i].removeHandle,!1),e[i]=null,delete e[i]}},r=function(e){e.directive("waves",o)};window.Vue&&(window.waves=o,Vue.use(r)),o.install=r;t["a"]=o},"8d41":function(e,t,n){},"90e7":function(e,t,n){"use strict";n.d(t,"k",(function(){return a})),n.d(t,"o",(function(){return o})),n.d(t,"h",(function(){return r})),n.d(t,"b",(function(){return l})),n.d(t,"e",(function(){return s})),n.d(t,"s",(function(){return u})),n.d(t,"r",(function(){return c})),n.d(t,"l",(function(){return d})),n.d(t,"f",(function(){return p})),n.d(t,"p",(function(){return m})),n.d(t,"i",(function(){return f})),n.d(t,"m",(function(){return b})),n.d(t,"q",(function(){return v})),n.d(t,"j",(function(){return g})),n.d(t,"d",(function(){return w})),n.d(t,"n",(function(){return h})),n.d(t,"g",(function(){return y})),n.d(t,"c",(function(){return _})),n.d(t,"a",(function(){return V}));var i=n("b775");function a(e){return Object(i["a"])({url:"/api/admin/setting/pay_list",method:"get",params:e})}function o(e){return Object(i["a"])({url:"/api/admin/setting/update_pay",method:"post",data:e})}function r(e){return Object(i["a"])({url:"/api/admin/setting/delete_pay",method:"post",params:e})}function l(e){return Object(i["a"])({url:"/api/admin/setting/auto_pay",method:"POST",data:e})}function s(e){return Object(i["a"])({url:"/api/admin/setting/create_pay",method:"post",params:e})}function u(e){return Object(i["a"])({url:"/api/admin/setting/vip_list",method:"get",params:e})}function c(e){return Object(i["a"])({url:"/api/admin/setting/update_vip",method:"post",data:e})}function d(e){return Object(i["a"])({url:"/api/admin/setting/publicity_list",method:"get",params:e})}function p(e){return Object(i["a"])({url:"/api/admin/setting/create_publicity",method:"post",data:e})}function m(e){return Object(i["a"])({url:"/api/admin/setting/update_publicity",method:"post",data:e})}function f(e){return Object(i["a"])({url:"/api/admin/setting/delete_publicity",method:"post",data:e})}function b(e){return Object(i["a"])({url:"/api/admin/setting/system_list",method:"get",params:e})}function v(e){return Object(i["a"])({url:"/api/admin/setting/update_system",method:"post",data:e})}function g(e){return Object(i["a"])({url:"/api/admin/setting/notice_list",method:"get",params:e})}function w(e){return Object(i["a"])({url:"/api/admin/setting/create_notice",method:"post",data:e})}function h(e){return Object(i["a"])({url:"/api/admin/setting/update_notice",method:"post",data:e})}function y(e){return Object(i["a"])({url:"/api/admin/setting/delete_notice",method:"post",data:e})}function _(e){return Object(i["a"])({url:"/api/admin/cache/clearSettingCache",method:"get",params:e})}function V(e){return Object(i["a"])({url:"/api/admin/setting/setting_link",method:"post",data:e})}}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-77fbd5ee"],{"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),Math.easeInOutQuad=function(t,e,n,i){return t/=i/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function a(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function r(t,e,n){var r=o(),s=t-r,l=20,u=0;e="undefined"===typeof e?500:e;var c=function t(){u+=l;var o=Math.easeInOutQuad(u,r,s,e);a(o),u<e?i(t):n&&"function"===typeof n&&n()};c()}},"148d":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:t.handleCreate}},[t._v(" 创建 ")])],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],key:t.tableKey,staticStyle:{width:"100%"},attrs:{data:t.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":t.sortChange}},[n("el-table-column",{attrs:{label:"ID",prop:"id",sortable:"custom",align:"center",width:"80","class-name":t.getSortClass()},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.id))])]}}])}),n("el-table-column",{attrs:{label:"说明","min-width":"150px",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.timestamp))])]}}])}),n("el-table-column",{attrs:{label:"内容","min-width":"150px",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.content))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center",width:"200","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row,a=e.$index;return[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.handleUpdate(i)}}},[t._v(" 编辑 ")]),0!=i.status?n("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(e){return t.handleDelete(i,a)}}},[t._v(" 删除 ")]):t._e()]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}}),n("el-dialog",{attrs:{title:t.textMap[t.dialogStatus],visible:t.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogFormVisible=e}}},[n("el-form",{ref:"dataForm",staticStyle:{width:"400px","margin-left":"50px"},attrs:{rules:t.rules,model:t.newVideo,"label-position":"right","label-width":"70px"}},[n("el-form-item",{attrs:{label:"说明",prop:"timestamp"}},[n("el-input",{model:{value:t.newVideo.timestamp,callback:function(e){t.$set(t.newVideo,"timestamp",e)},expression:"newVideo.timestamp"}})],1),n("el-form-item",{attrs:{label:"内容",prop:"content"}},[n("el-input",{model:{value:t.newVideo.content,callback:function(e){t.$set(t.newVideo,"content",e)},expression:"newVideo.content"}})],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(e){t.dialogFormVisible=!1}}},[t._v(" 取消 ")]),n("el-button",{attrs:{type:"primary"},on:{click:function(e){"create"===t.dialogStatus?t.createData():t.updateData()}}},[t._v(" 提交 ")])],1)],1)],1)},a=[],o=(n("c740"),n("13d5"),n("a434"),n("90e7")),r=n("6724"),s=n("333d"),l=["否","是"],u=["普通","推荐"],c=["否","是"],d=[{key:"1",display_name:"支付宝"},{key:"2",display_name:"微信"}],p=d.reduce((function(t,e){return t[e.key]=e.display_name,t}),{}),m={name:"SettingPublicity",components:{Pagination:s["a"]},directives:{waves:r["a"]},filters:{isCheckFilter:function(t){return l[t]},betterShowFilter:function(t){return u[t]},homeShowFilter:function(t){return c[t]},typeFilter:function(t){return p[t]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,view_type:void 0,video_type:void 0,name:void 0,sort:"id desc"},newVideo:{},dialogFormVisible:!1,dialogStatus:"",textMap:{update:"编辑",create:"创建"},openSort:!1,viewTypeOptions:d,rules:{content:[{required:!0,message:"请输入内容",trigger:"blur"}],pay_type:[{required:!0,message:"请选择类型",trigger:"blur"}],pay_order:[{required:!0,message:"排序必须输入",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(o["l"])(this.listQuery).then((function(e){t.total=e.data.total,t.list=e.data.list,t.listLoading=!1}))},takeViewType:function(t){return p[t]},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(t){var e=t.prop,n=t.order;this.listQuery.sort="ascending"===n?e:e+" desc",this.handleFilter()},handleUpdate:function(t){var e=this;this.newVideo=Object.assign({},t),this.dialogStatus="update",this.dialogFormVisible=!0,this.newVideo.show_view_type=this.takeViewType(this.newVideo.pay_type),this.$nextTick((function(){e.$refs["dataForm"].clearValidate()}))},updateData:function(){var t=this;this.$refs["dataForm"].validate((function(e){if(e){var n=Object.assign({},t.newVideo);Object(o["p"])(n).then((function(){var e=t.list.findIndex((function(e){return e.id===t.newVideo.id}));t.list.splice(e,1,t.newVideo),t.dialogFormVisible=!1,t.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},handleDelete:function(t,e){var n=this;this.listLoading=!0,Object(o["i"])(t).then((function(){n.list.splice(e,1),n.listLoading=!1,n.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){n.listLoading=!1}))},handleCreate:function(t,e){var n=this;this.newVideo={},this.dialogStatus="create",this.dialogFormVisible=!0,this.$nextTick((function(){n.$refs["dataForm"].clearValidate()}))},createData:function(){var t=this;this.$refs["dataForm"].validate((function(e){e&&Object(o["f"])(t.newVideo).then((function(){t.dialogFormVisible=!1,t.getList(),t.$notify({title:"Success",message:"创建成功",type:"success",duration:2e3})}))}))},getSortClass:function(){var t=this.listQuery.sort;return"id"===t?"ascending":"descending"}}},f=m,g=n("2877"),h=Object(g["a"])(f,i,a,!1,null,null,null);e["default"]=h.exports},6724:function(t,e,n){"use strict";n("8d41");var i="@@wavesContext";function a(t,e){function n(n){var i=Object.assign({},e.value),a=Object.assign({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),o=a.ele;if(o){o.style.position="relative",o.style.overflow="hidden";var r=o.getBoundingClientRect(),s=o.querySelector(".waves-ripple");switch(s?s.className="waves-ripple":(s=document.createElement("span"),s.className="waves-ripple",s.style.height=s.style.width=Math.max(r.width,r.height)+"px",o.appendChild(s)),a.type){case"center":s.style.top=r.height/2-s.offsetHeight/2+"px",s.style.left=r.width/2-s.offsetWidth/2+"px";break;default:s.style.top=(n.pageY-r.top-s.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",s.style.left=(n.pageX-r.left-s.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return s.style.backgroundColor=a.color,s.className="waves-ripple z-active",!1}}return t[i]?t[i].removeHandle=n:t[i]={removeHandle:n},n}var o={bind:function(t,e){t.addEventListener("click",a(t,e),!1)},update:function(t,e){t.removeEventListener("click",t[i].removeHandle,!1),t.addEventListener("click",a(t,e),!1)},unbind:function(t){t.removeEventListener("click",t[i].removeHandle,!1),t[i]=null,delete t[i]}},r=function(t){t.directive("waves",o)};window.Vue&&(window.waves=o,Vue.use(r)),o.install=r;e["a"]=o},"8d41":function(t,e,n){},"90e7":function(t,e,n){"use strict";n.d(e,"k",(function(){return a})),n.d(e,"o",(function(){return o})),n.d(e,"h",(function(){return r})),n.d(e,"b",(function(){return s})),n.d(e,"e",(function(){return l})),n.d(e,"s",(function(){return u})),n.d(e,"r",(function(){return c})),n.d(e,"l",(function(){return d})),n.d(e,"f",(function(){return p})),n.d(e,"p",(function(){return m})),n.d(e,"i",(function(){return f})),n.d(e,"m",(function(){return g})),n.d(e,"q",(function(){return h})),n.d(e,"j",(function(){return b})),n.d(e,"d",(function(){return y})),n.d(e,"n",(function(){return v})),n.d(e,"g",(function(){return w})),n.d(e,"c",(function(){return _})),n.d(e,"a",(function(){return k}));var i=n("b775");function a(t){return Object(i["a"])({url:"/api/admin/setting/pay_list",method:"get",params:t})}function o(t){return Object(i["a"])({url:"/api/admin/setting/update_pay",method:"post",data:t})}function r(t){return Object(i["a"])({url:"/api/admin/setting/delete_pay",method:"post",params:t})}function s(t){return Object(i["a"])({url:"/api/admin/setting/auto_pay",method:"POST",data:t})}function l(t){return Object(i["a"])({url:"/api/admin/setting/create_pay",method:"post",params:t})}function u(t){return Object(i["a"])({url:"/api/admin/setting/vip_list",method:"get",params:t})}function c(t){return Object(i["a"])({url:"/api/admin/setting/update_vip",method:"post",data:t})}function d(t){return Object(i["a"])({url:"/api/admin/setting/publicity_list",method:"get",params:t})}function p(t){return Object(i["a"])({url:"/api/admin/setting/create_publicity",method:"post",data:t})}function m(t){return Object(i["a"])({url:"/api/admin/setting/update_publicity",method:"post",data:t})}function f(t){return Object(i["a"])({url:"/api/admin/setting/delete_publicity",method:"post",data:t})}function g(t){return Object(i["a"])({url:"/api/admin/setting/system_list",method:"get",params:t})}function h(t){return Object(i["a"])({url:"/api/admin/setting/update_system",method:"post",data:t})}function b(t){return Object(i["a"])({url:"/api/admin/setting/notice_list",method:"get",params:t})}function y(t){return Object(i["a"])({url:"/api/admin/setting/create_notice",method:"post",data:t})}function v(t){return Object(i["a"])({url:"/api/admin/setting/update_notice",method:"post",data:t})}function w(t){return Object(i["a"])({url:"/api/admin/setting/delete_notice",method:"post",data:t})}function _(t){return Object(i["a"])({url:"/api/admin/cache/clearSettingCache",method:"get",params:t})}function k(t){return Object(i["a"])({url:"/api/admin/setting/setting_link",method:"post",data:t})}}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7aad7221"],{"09f4":function(e,t,i){"use strict";i.d(t,"a",(function(){return l})),Math.easeInOutQuad=function(e,t,i,n){return e/=n/2,e<1?i/2*e*e+t:(e--,-i/2*(e*(e-2)-1)+t)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function a(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function l(e,t,i){var l=o(),s=e-l,r=20,d=0;t="undefined"===typeof t?500:t;var c=function e(){d+=r;var o=Math.easeInOutQuad(d,l,s,t);a(o),d<t?n(e):i&&"function"===typeof i&&i()};c()}},6724:function(e,t,i){"use strict";i("8d41");var n="@@wavesContext";function a(e,t){function i(i){var n=Object.assign({},t.value),a=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},n),o=a.ele;if(o){o.style.position="relative",o.style.overflow="hidden";var l=o.getBoundingClientRect(),s=o.querySelector(".waves-ripple");switch(s?s.className="waves-ripple":(s=document.createElement("span"),s.className="waves-ripple",s.style.height=s.style.width=Math.max(l.width,l.height)+"px",o.appendChild(s)),a.type){case"center":s.style.top=l.height/2-s.offsetHeight/2+"px",s.style.left=l.width/2-s.offsetWidth/2+"px";break;default:s.style.top=(i.pageY-l.top-s.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",s.style.left=(i.pageX-l.left-s.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return s.style.backgroundColor=a.color,s.className="waves-ripple z-active",!1}}return e[n]?e[n].removeHandle=i:e[n]={removeHandle:i},i}var o={bind:function(e,t){e.addEventListener("click",a(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[n].removeHandle,!1),e.addEventListener("click",a(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[n].removeHandle,!1),e[n]=null,delete e[n]}},l=function(e){e.directive("waves",o)};window.Vue&&(window.waves=o,Vue.use(l)),o.install=l;t["a"]=o},"8d41":function(e,t,i){},"8e27":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"app-container"},[i("div",{staticClass:"filter-container"},[i("el-form",{ref:"searchForm",staticClass:"demo-form-inline",attrs:{inline:!0,model:e.listQuery}},[i("el-form-item",{attrs:{label:"用户ID"}},[i("el-input",{attrs:{placeholder:"用户ID"},model:{value:e.listQuery.id,callback:function(t){e.$set(e.listQuery,"id",t)},expression:"listQuery.id"}})],1),i("el-form-item",{attrs:{label:"手机号"}},[i("el-input",{attrs:{placeholder:"手机号"},model:{value:e.listQuery.mobile,callback:function(t){e.$set(e.listQuery,"mobile",t)},expression:"listQuery.mobile"}})],1),i("el-form-item",{attrs:{label:"渠道ID"}},[i("el-input",{attrs:{placeholder:"渠道ID"},model:{value:e.listQuery.channel,callback:function(t){e.$set(e.listQuery,"channel",t)},expression:"listQuery.channel"}})],1),i("el-form-item",{attrs:{label:"系统选择"}},[i("el-select",{staticStyle:{width:"100px"},attrs:{clearable:"",placeholder:"全部"},model:{value:e.listQuery.system,callback:function(t){e.$set(e.listQuery,"system",t)},expression:"listQuery.system"}},[i("el-option",{attrs:{label:"安卓",value:"1"}}),i("el-option",{attrs:{label:"IOS",value:"2"}})],1)],1),i("el-form-item",{attrs:{label:"机器码"}},[i("el-input",{attrs:{placeholder:"机器码"},model:{value:e.listQuery.machine_code,callback:function(t){e.$set(e.listQuery,"machine_code",t)},expression:"listQuery.machine_code"}})],1),i("el-form-item",{attrs:{label:"注册IP"}},[i("el-input",{attrs:{placeholder:"注册IP"},model:{value:e.listQuery.regip,callback:function(t){e.$set(e.listQuery,"regip",t)},expression:"listQuery.regip"}})],1),i("el-form-item",{attrs:{label:"注册时间"}},[i("el-date-picker",{staticClass:"filter-item",attrs:{type:"datetimerange","value-format":"yyyy-MM-dd HH:mm:ss","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",placeholder:"注册时间"},model:{value:e.listQuery.time_range,callback:function(t){e.$set(e.listQuery,"time_range",t)},expression:"listQuery.time_range"}})],1),i("el-form-item",[i("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v(" 搜索 ")])],1),i("el-form-item",[i("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:function(t){return e.resetForm()}}},[e._v(" 重置 ")])],1),i("el-form-item",[i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"danger",icon:"el-icon-delete"},on:{click:e.handleClearCache}},[e._v(" 清除缓存 ")])],1)],1)],1),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":e.sortChange}},[i("el-table-column",{attrs:{label:"ID",prop:"id",sortable:"custom",align:"center",width:"80","class-name":e.getSortClass()},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.id))])]}}])}),i("el-table-column",{attrs:{label:"用户名称",width:"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.nick_name))])]}}])}),i("el-table-column",{attrs:{label:"渠道ID",prop:"channel",sortable:"custom",width:"100px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.channel))])]}}])}),i("el-table-column",{attrs:{label:"注册IP",width:"130px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.regip))])]}}])}),i("el-table-column",{attrs:{label:"设备号",width:"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.machine_code))])]}}])}),i("el-table-column",{attrs:{label:"手机号",width:"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.mobile))]),i("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.handleBindMobile(n)}}},[e._v(" 修改 ")])]}}])}),i("el-table-column",{attrs:{label:"系统",width:"60px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[1===n.system?i("span",{staticStyle:{color:"green"}},[e._v("安卓")]):i("span",{staticStyle:{color:"dodgerblue"}},[e._v("IOS")])]}}])}),i("el-table-column",{attrs:{label:"金币",prop:"coin",sortable:"custom",width:"100px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.coin))])]}}])}),i("el-table-column",{attrs:{label:"VIP到期时间",prop:"vip_end",sortable:"custom",width:"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.vip_end))])]}}])}),i("el-table-column",{attrs:{label:"最后登录",prop:"last_login_time",sortable:"custom",width:"180px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.last_login_time))])]}}])}),i("el-table-column",{attrs:{label:"注册时间",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.create_time))])]}}])}),i("el-table-column",{attrs:{label:"操作",align:"center",width:"300","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("el-button",{attrs:{type:"success",size:"mini"},on:{click:function(t){return e.handleExpress(n)}}},[e._v(" 快充 ")]),i("el-button",{attrs:{type:"success",size:"mini"},on:{click:function(t){return e.handleExpressPassword(n)}}},[e._v(" 重置密码 ")]),i("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.handleUpdate(n)}}},[e._v(" 编辑 ")]),i("el-button",{attrs:{size:"mini",type:"warning"},on:{click:function(t){return e.handleCoin(n)}}},[e._v(" 充值 ")])]}}])})],1),i("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit,"page-sizes":[10,20,30,40,50,100,200]},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}}),i("el-dialog",{attrs:{title:e.textMap[e.dialogStatus],visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[i("el-form",{ref:"dataForm",staticStyle:{width:"400px","margin-left":"50px"},attrs:{rules:e.rules,model:e.newVideo,"label-position":"left","label-width":"70px"}},[i("el-form-item",{attrs:{label:"用户",prop:"nick_name"}},[i("el-input",{attrs:{disabled:!0},model:{value:e.newVideo.nick_name,callback:function(t){e.$set(e.newVideo,"nick_name",t)},expression:"newVideo.nick_name"}})],1),"update"===e.dialogStatus?i("el-form-item",{attrs:{label:"会员到期",prop:"vip_end"}},[i("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd",type:"date",placeholder:"请选择一个日期"},model:{value:e.newVideo.vip_end,callback:function(t){e.$set(e.newVideo,"vip_end",t)},expression:"newVideo.vip_end"}})],1):e._e(),"update"===e.dialogStatus?i("el-form-item",{attrs:{label:"重设密码",prop:"password"}},[i("el-input",{attrs:{placeholder:"留空为不修改"},model:{value:e.newVideo.password,callback:function(t){e.$set(e.newVideo,"password",t)},expression:"newVideo.password"}})],1):e._e(),"coin"===e.dialogStatus?i("el-form-item",{attrs:{label:"充值类型",prop:"coin_type"}},[i("el-select",{staticClass:"filter-item",attrs:{placeholder:"选择一个类型"},model:{value:e.newVideo.coin_type,callback:function(t){e.$set(e.newVideo,"coin_type",t)},expression:"newVideo.coin_type"}},[i("el-option",{attrs:{label:"充值",value:"1"}}),i("el-option",{attrs:{label:"补单",value:"2"}})],1)],1):e._e(),"coin"===e.dialogStatus?i("el-form-item",{attrs:{label:"充值金币",prop:"add_coin"}},[i("el-input",{model:{value:e.newVideo.add_coin,callback:function(t){e.$set(e.newVideo,"add_coin",t)},expression:"newVideo.add_coin"}})],1):e._e(),"express"===e.dialogStatus?i("el-form-item",{attrs:{label:"快捷充值",prop:"express"}},[i("el-select",{staticClass:"filter-item",attrs:{placeholder:"选择一个VIP"},on:{change:function(t){return e.$forceUpdate()}},model:{value:e.newVideo.express,callback:function(t){e.$set(e.newVideo,"express",t)},expression:"newVideo.express"}},e._l(e.vipList,(function(e){return i("el-option",{key:e.id,attrs:{label:e.content,value:e.id}})})),1)],1):e._e(),"bindMobile"===e.dialogStatus?i("el-form-item",{attrs:{label:"绑定手机",prop:"mobile"}},[i("el-input",{model:{value:e.newVideo.mobile,callback:function(t){e.$set(e.newVideo,"mobile",t)},expression:"newVideo.mobile"}})],1):e._e()],1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{loading:e.handleLoading},on:{click:function(t){e.dialogFormVisible=!1}}},[e._v(" 取消 ")]),"coin"===e.dialogStatus?i("el-button",{attrs:{type:"primary",loading:e.handleLoading},on:{click:function(t){return e.updateCoinData()}}},[e._v(" 提交 ")]):e._e(),"update"===e.dialogStatus?i("el-button",{attrs:{type:"primary",loading:e.handleLoading},on:{click:function(t){return e.updateData()}}},[e._v(" 提交 ")]):e._e(),"express"===e.dialogStatus?i("el-button",{attrs:{type:"primary",loading:e.handleLoading},on:{click:function(t){return e.expressData()}}},[e._v(" 提交 ")]):e._e(),"bindMobile"===e.dialogStatus?i("el-button",{attrs:{type:"primary",loading:e.handleLoading},on:{click:function(t){return e.bindMobileData()}}},[e._v(" 提交 ")]):e._e()],1)],1)],1)},a=[],o=(i("c740"),i("13d5"),i("a434"),i("ff87")),l=i("6724"),s=i("333d"),r=["下线","上线"],d=["普通","推荐"],c=["普通","首页"],u=[{key:"1",display_name:"电影"},{key:"2",display_name:"电视剧"},{key:"3",display_name:"短视频"}],p=u.reduce((function(e,t){return e[t.key]=t.display_name,e}),{}),f={name:"PlayerList",components:{Pagination:s["a"]},directives:{waves:l["a"]},filters:{typeFilter:function(e){return p[e]},isCheckFilter:function(e){return r[e]},betterShowFilter:function(e){return d[e]},homeShowFilter:function(e){return c[e]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,id:void 0,channel:void 0,time_range:void 0,sort:"id desc"},typesOptions:[],viewTypeOptions:u,showPlays:!1,showLikes:!1,showDislikes:!1,showTariffVip:!1,showTariffUsr:!1,showCreateTime:!1,showReleaseTime:!1,openSort:!1,newVideo:{},dialogFormVisible:!1,dialogStatus:"",vipList:[],textMap:{update:"编辑",create:"创建",coin:"金币充值"},handleLoading:!1,rules:{name:[{required:!0,message:"请输入片名",trigger:"blur"}],coin_type:[{required:!0,message:"请选择类型",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(o["g"])(this.listQuery).then((function(t){e.total=t.data.total,e.list=t.data.list,e.listLoading=!1})),Object(o["h"])().then((function(t){e.payList=t.data.pay_list,e.vipList=t.data.vip_list}))},takeViewType:function(e){return p[e]},handleFilter:function(){this.listQuery.page=1,this.getList()},resetForm:function(){this.listQuery={page:1,limit:20,id:void 0,channel:void 0,time_range:void 0,sort:"id desc"}},sortChange:function(e){var t=e.prop,i=e.order;this.listQuery.sort="ascending"===i?t:t+" desc",this.handleFilter()},handleExpress:function(e){var t=this;this.newVideo=Object.assign({},e),this.newVideo.vip_end||(this.newVideo.vip_end=new Date),this.newVideo.password="",this.newVideo.express="",this.dialogStatus="express",this.dialogFormVisible=!0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},handleExpressPassword:function(e){var t=this;this.newVideo=Object.assign({},e),this.handleLoading=!0,Object(o["d"])({id:this.newVideo.id}).then((function(){t.handleLoading=!1;var e=t.list.findIndex((function(e){return e.id===t.newVideo.id}));t.list.splice(e,1,t.newVideo),t.dialogFormVisible=!1,t.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){t.handleLoading=!1}))},handleUpdate:function(e){var t=this;this.newVideo=Object.assign({},e),this.newVideo.vip_end||(this.newVideo.vip_end=new Date),this.newVideo.password="",this.dialogStatus="update",this.dialogFormVisible=!0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},handleCoin:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="coin",this.dialogFormVisible=!0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},updateData:function(){var e=this;this.handleLoading=!0,this.$refs["dataForm"].validate((function(t){if(t){var i=Object.assign({},e.newVideo);Object(o["j"])(i).then((function(){e.handleLoading=!1;var t=e.list.findIndex((function(t){return t.id===e.newVideo.id}));e.list.splice(t,1,e.newVideo),e.dialogFormVisible=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){e.handleLoading=!1}))}}))},expressData:function(){var e=this;this.handleLoading=!0,this.$refs["dataForm"].validate((function(t){if(t){var i=Object.assign({},e.newVideo);Object(o["c"])(i).then((function(){e.handleLoading=!1;var t=e.list.findIndex((function(t){return t.id===e.newVideo.id}));e.list.splice(t,1,e.newVideo),e.dialogFormVisible=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3}).catch((function(){e.handleLoading=!1}))}))}}))},updateCoinData:function(){var e=this;this.handleLoading=!0,this.$refs["dataForm"].validate((function(t){if(t){var i=Object.assign({},e.newVideo);Object(o["k"])(i).then((function(){e.handleLoading=!1,e.getList(),e.dialogFormVisible=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){e.handleLoading=!1}))}}))},getSortClass:function(){var e=this.listQuery.sort;return"id"===e?"ascending":"descending"},handleClearCache:function(){var e=this;Object(o["b"])().then((function(){e.$notify({title:"Success",message:"清除成功",type:"success",duration:2e3})}))},handleBindMobile:function(e){var t=this;this.newVideo=Object.assign({},e),this.newVideo.vip_end||(this.newVideo.vip_end=new Date),this.newVideo.password="",this.newVideo.express="",this.dialogStatus="bindMobile",this.dialogFormVisible=!0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},bindMobileData:function(){var e=this;this.handleLoading=!0,this.$refs["dataForm"].validate((function(t){if(t){var i=Object.assign({},e.newVideo);Object(o["a"])(i).then((function(t){e.handleLoading=!1;var i=e.list.findIndex((function(t){return t.id===e.newVideo.id}));e.list.splice(i,1,e.newVideo),e.dialogFormVisible=!1,e.$notify({title:"Success",message:t.message,type:"success",duration:2e3})})).catch((function(){e.handleLoading=!1}))}}))}}},m=f,h=i("2877"),b=Object(h["a"])(m,n,a,!1,null,null,null);t["default"]=b.exports},ff87:function(e,t,i){"use strict";i.d(t,"g",(function(){return a})),i.d(t,"j",(function(){return o})),i.d(t,"c",(function(){return l})),i.d(t,"k",(function(){return s})),i.d(t,"a",(function(){return r})),i.d(t,"e",(function(){return d})),i.d(t,"f",(function(){return c})),i.d(t,"i",(function(){return u})),i.d(t,"h",(function(){return p})),i.d(t,"b",(function(){return f})),i.d(t,"d",(function(){return m}));var n=i("b775");function a(e){return Object(n["a"])({url:"/api/admin/player/player_list",method:"get",params:e})}function o(e){return Object(n["a"])({url:"/api/admin/player/update_player",method:"post",data:e})}function l(e){return Object(n["a"])({url:"/api/admin/player/express_player",method:"post",data:e})}function s(e){return Object(n["a"])({url:"/api/admin/player/update_player_coin",method:"post",data:e})}function r(e){return Object(n["a"])({url:"/api/admin/player/bindMobile",method:"post",data:e})}function d(e){return Object(n["a"])({url:"/api/admin/player/player_history_list",method:"get",params:e})}function c(e){return Object(n["a"])({url:"/api/admin/player/player_inpour_list",method:"get",params:e})}function u(e){return Object(n["a"])({url:"/api/admin/player/supple",method:"post",data:e})}function p(e){return Object(n["a"])({url:"/api/admin/player/player_pay_list",method:"get",params:e})}function f(e){return Object(n["a"])({url:"/api/admin/cache/clearPlayerCache",method:"get",params:e})}function m(e){return Object(n["a"])({url:"/api/admin/player/express_player_password",method:"post",data:e})}}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7b6d5a46"],{"09f4":function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),Math.easeInOutQuad=function(e,t,n,a){return e/=a/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var a=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function r(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function i(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function l(e,t,n){var l=i(),o=e-l,s=20,u=0;t="undefined"===typeof t?500:t;var c=function e(){u+=s;var i=Math.easeInOutQuad(u,l,o,t);r(i),u<t?a(e):n&&"function"===typeof n&&n()};c()}},4490:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.listQuery}},[n("el-form-item",{attrs:{label:"时间"}},[n("el-date-picker",{staticClass:"filter-item",attrs:{type:"datetimerange","value-format":"yyyy-MM-dd HH:mm:ss","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",placeholder:"选择时间"},model:{value:e.listQuery.time_range,callback:function(t){e.$set(e.listQuery,"time_range",t)},expression:"listQuery.time_range"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v(" 搜索 ")])],1)],1)],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":"","summary-method":e.getSummaries,"show-summary":""},on:{"sort-change":e.sortChange}},[n("el-table-column",{attrs:{label:"日期","min-width":"80px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.date))])]}}])}),n("el-table-column",{attrs:{label:"总安装","min-width":"50px",align:"center",prop:"install"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.install))])]}}])}),n("el-table-column",{attrs:{label:"总收入(元)","min-width":"50px",align:"center",prop:"allmoney"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.allmoney))])]}}])}),n("el-table-column",{attrs:{label:"返佣","min-width":"50px",align:"center",prop:"real_money"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.real_money))])]}}])}),n("el-table-column",{attrs:{label:"注册ARPU","min-width":"50px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[a.install>0?n("span",[e._v(e._s(parseFloat(a.allmoney/a.install).toFixed(2)))]):n("span",[e._v("0.00")])]}}])}),n("el-table-column",{attrs:{label:"邀请安装","min-width":"50px",align:"center",prop:"share_install"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.share_install))])]}}])}),n("el-table-column",{attrs:{label:"邀请收入","min-width":"50px",align:"center",prop:"share_money"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.share_money))])]}}])}),n("el-table-column",{attrs:{label:"安卓安装","min-width":"50px",align:"center",prop:"android_install"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.android_install))])]}}])}),n("el-table-column",{attrs:{label:"安卓收入","min-width":"50px",align:"center",prop:"android_money"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.android_money))])]}}])}),n("el-table-column",{attrs:{label:"IOS/H5 安装","min-width":"50px",align:"center",prop:"ios_install"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.ios_install))])]}}])}),n("el-table-column",{attrs:{label:"IOS/H5 收入","min-width":"50px",align:"center",prop:"ios_money"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.ios_money))])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}})],1)},r=[],i=(n("a623"),n("4160"),n("d81d"),n("13d5"),n("a9e3"),n("b680"),n("159b"),n("6dfa")),l=n("6724"),o=n("333d"),s=["未通过","已审核"],u=["普通","推荐"],c=["否","是"],d=[{key:"1",display_name:"1"},{key:"2",display_name:"2"},{key:"3",display_name:"3"}],m=d.reduce((function(e,t){return e[t.key]=t.display_name,e}),{}),p={name:"Publicity",components:{Pagination:o["a"]},directives:{waves:l["a"]},filters:{levelFilter:function(e){return m[e]},isCheckFilter:function(e){return s[e]},betterShowFilter:function(e){return u[e]},homeShowFilter:function(e){return c[e]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,dialogPvVisible:!1,pvData:[],listQuery:{page:1,limit:20,name:void 0,time_range:void 0,sort:"id"},levelValue:d,newData:{},dialogFormVisible:!1,dialogStatus:"",dilogHighStatus:"",textMap:{update:"编辑",create:"创建"},rules:{name:[{required:!0,message:"请输入代理名字",trigger:"blur"}],user_login:[{required:!0,message:"请输入管理账户",trigger:"blur"}],gain_sharing:[{required:!0,message:"请选择分成比例",trigger:"blur"}]},is_switch_pay:!1,is_show_pay:!1,reg_change_switch:!1,is_switch_show:!1,is_must_switch:!1,is_show_create:!1,self_info:{level:3,id:0,is_show_create:0}}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(i["c"])(this.listQuery).then((function(t){e.total=t.data.total,e.list=t.data.list,t.data.self_info&&(e.self_info=t.data.self_info),e.listLoading=!1}))},handleFilter:function(){this.listQuery.page=1,this.getList()},takeLevelVuew:function(e){return m[e]},sortChange:function(e){var t=e.prop,n=e.order;this.listQuery.sort="ascending"===n?t:t+" desc",this.handleFilter()},getSummaries:function(e){var t=e.columns,n=e.data,a=[];return t.forEach((function(e,t){if(0!==t){var r=(n||[]).map((function(t){return Number(t[e.property])}));r.every((function(e){return isNaN(e)}))?a[t]="N/A":a[t]=r.reduce((function(e,t){var n=Number(t);return isNaN(n)?e:e+t}),0)}else a[t]="合计"})),a[4]=parseFloat(a[2]/a[1]).toFixed(2),a}}},f=p,h=n("2877"),_=Object(h["a"])(f,a,r,!1,null,null,null);t["default"]=_.exports},6724:function(e,t,n){"use strict";n("8d41");var a="@@wavesContext";function r(e,t){function n(n){var a=Object.assign({},t.value),r=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},a),i=r.ele;if(i){i.style.position="relative",i.style.overflow="hidden";var l=i.getBoundingClientRect(),o=i.querySelector(".waves-ripple");switch(o?o.className="waves-ripple":(o=document.createElement("span"),o.className="waves-ripple",o.style.height=o.style.width=Math.max(l.width,l.height)+"px",i.appendChild(o)),r.type){case"center":o.style.top=l.height/2-o.offsetHeight/2+"px",o.style.left=l.width/2-o.offsetWidth/2+"px";break;default:o.style.top=(n.pageY-l.top-o.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",o.style.left=(n.pageX-l.left-o.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return o.style.backgroundColor=r.color,o.className="waves-ripple z-active",!1}}return e[a]?e[a].removeHandle=n:e[a]={removeHandle:n},n}var i={bind:function(e,t){e.addEventListener("click",r(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[a].removeHandle,!1),e.addEventListener("click",r(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[a].removeHandle,!1),e[a]=null,delete e[a]}},l=function(e){e.directive("waves",i)};window.Vue&&(window.waves=i,Vue.use(l)),i.install=l;t["a"]=i},"6dfa":function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"d",(function(){return i})),n.d(t,"h",(function(){return l})),n.d(t,"i",(function(){return o})),n.d(t,"g",(function(){return s})),n.d(t,"a",(function(){return u})),n.d(t,"j",(function(){return c})),n.d(t,"m",(function(){return d})),n.d(t,"e",(function(){return m})),n.d(t,"k",(function(){return p})),n.d(t,"f",(function(){return f})),n.d(t,"n",(function(){return h})),n.d(t,"c",(function(){return _})),n.d(t,"l",(function(){return g}));var a=n("b775");function r(e){return Object(a["a"])({url:"/api/admin/channel/agent_list",method:"get",params:e})}function i(e){return Object(a["a"])({url:"/api/admin/channel/channel_list",method:"get",params:e})}function l(e){return Object(a["a"])({url:"/api/admin/channel/get_person_system",method:"get",params:e})}function o(e){return Object(a["a"])({url:"/api/admin/channel/get_team_system",method:"get",params:e})}function s(e){return Object(a["a"])({url:"/api/admin/channel/get_create_channel",method:"post",params:e})}function u(e){return Object(a["a"])({url:"/api/admin/channel/create_channel",method:"post",data:e})}function c(e){return Object(a["a"])({url:"/api/admin/channel/get_update_channel",method:"post",params:e})}function d(e){return Object(a["a"])({url:"/api/admin/channel/update_channel",method:"post",data:e})}function m(e){return Object(a["a"])({url:"/api/admin/channel/delete_channel",method:"post",data:e})}function p(e){return Object(a["a"])({url:"/api/admin/channel/publicity",method:"get",params:e})}function f(e){return Object(a["a"])({url:"/api/admin/channel/edit_pwd",method:"post",data:e})}function h(e){return Object(a["a"])({url:"/api/admin/channel/update_real_name",method:"post",data:e})}function _(e){return Object(a["a"])({url:"/api/admin/channel/channel_income",method:"get",params:e})}function g(e){return Object(a["a"])({url:"/api/admin/channel/real_channel_income",method:"get",params:e})}},"8d41":function(e,t,n){},a623:function(e,t,n){"use strict";var a=n("23e7"),r=n("b727").every,i=n("a640"),l=n("ae40"),o=i("every"),s=l("every");a({target:"Array",proto:!0,forced:!o||!s},{every:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7e5a136b"],{"04d2":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("div",{staticClass:"filter-container"},[a("el-input",{staticClass:"filter-item",staticStyle:{width:"200px"},attrs:{placeholder:"id"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleFilter(t)}},model:{value:e.listQuery.id,callback:function(t){e.$set(e.listQuery,"id",t)},expression:"listQuery.id"}}),a("el-button",{staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v(" 搜索 ")]),e.self_info.is_show_create?a("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:e.handleCreate}},[e._v(" 创建 ")]):e._e()],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":e.sortChange,"cell-dblclick":e.dblclick}},[a("el-table-column",{attrs:{label:"ID","min-width":"100px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[a("span",[e._v(e._s(n.id))])]}}])}),a("el-table-column",{attrs:{label:"代理商",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[a("span",[e._v(e._s(n.name))]),n.id===e.self_info.id?a("span",{staticStyle:{color:"red"}},[e._v("(*自己)")]):e._e()]}}])}),a("el-table-column",{attrs:{label:"上级",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[a("span",[e._v(e._s(n.parent))])]}}])}),a("el-table-column",{attrs:{label:"上级名称",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[a("span",[e._v(e._s(n.parent_name))])]}}])}),a("el-table-column",{attrs:{label:"备注",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row,i=t.$index;return[n.edit?a("el-input",{staticClass:"edit-input",attrs:{size:"small"},model:{value:n.real_name,callback:function(t){e.$set(n,"real_name",t)},expression:"row.real_name"}}):a("span",[e._v(e._s(n.real_name))]),n.edit?a("el-button",{staticStyle:{"margin-left":"10px"},attrs:{size:"mini",type:"success",icon:"el-icon-edit"},on:{click:function(t){return e.handleSortConfirm(n,i)}}},[e._v(" 确认 ")]):e._e(),n.edit?a("el-button",{staticStyle:{"margin-left":"10px"},attrs:{size:"mini",type:"danger",icon:"el-icon-edit"},on:{click:function(t){return e.cancelEdit(n,i)}}},[e._v(" 取消 ")]):e._e()]}}])}),1===e.self_info.level?a("el-table-column",{attrs:{label:"操作",align:"center",width:"300","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row,i=t.$index;return n.id!==e.self_info.id||1===e.self_info.id?[n.edit?e._e():a("el-button",{attrs:{type:"success",size:"mini"},on:{click:function(t){return e.handleEdit(n,i)}}},[e._v(" 备注 ")]),a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.handleUpdate(n)}}},[e._v(" 编辑 ")]),0!==n.status?a("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(t){return e.handleDelete(n,i)}}},[e._v(" 删除 ")]):e._e()]:void 0}}],null,!0)}):e._e()],1),a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}}),a("el-dialog",{attrs:{title:e.textMap[e.dialogStatus],visible:e.dialogFormVisible,width:"600px","close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[a("el-form",{ref:"dataForm",staticStyle:{width:"500px","margin-left":"30px"},attrs:{rules:e.rules,model:e.newData,"label-position":"right","label-width":"180px"}},[a("el-form-item",{attrs:{label:"代理名称",prop:"name"}},[a("el-input",{attrs:{disabled:"update"===e.dilogHighStatus},model:{value:e.newData.name,callback:function(t){e.$set(e.newData,"name",t)},expression:"newData.name"}})],1),a("el-form-item",{attrs:{label:"层级",prop:"level"}},[a("el-select",{attrs:{placeholder:"选择层级",disabled:"update"===e.dilogHighStatus},on:{change:function(t){return e.$forceUpdate()}},model:{value:e.newData.level,callback:function(t){e.$set(e.newData,"level",t)},expression:"newData.level"}},[e._l(e.levelValue,(function(t){return[t.key>=e.newData.level||1===e.self_info.level?a("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}}):e._e()]}))],2)],1),a("el-form-item",{attrs:{label:"分成比例",prop:"gain_sharing"}},[a("el-slider",{attrs:{step:1},model:{value:e.newData.gain_sharing,callback:function(t){e.$set(e.newData,"gain_sharing",t)},expression:"newData.gain_sharing"}}),a("el-input-number",{attrs:{min:0,max:100,label:"输入分成比例"},model:{value:e.newData.gain_sharing,callback:function(t){e.$set(e.newData,"gain_sharing",t)},expression:"newData.gain_sharing"}})],1),e.is_show_pay?a("el-form-item",{attrs:{label:"是否允许下级转支付订单",prop:"is_switch_pay"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:e.newData.is_switch_pay,callback:function(t){e.$set(e.newData,"is_switch_pay",t)},expression:"newData.is_switch_pay"}})],1):e._e(),e.is_show_pay?a("el-form-item",{attrs:{label:"是否显示支付配置",prop:"is_show_pay"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:e.newData.is_show_pay,callback:function(t){e.$set(e.newData,"is_show_pay",t)},expression:"newData.is_show_pay"}})],1):e._e(),e.is_switch_show?a("el-form-item",{attrs:{label:"是否允许下级注册扣量",prop:"reg_change_switch"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:e.newData.reg_change_switch,callback:function(t){e.$set(e.newData,"reg_change_switch",t)},expression:"newData.reg_change_switch"}})],1):e._e(),e.is_switch_show?a("el-form-item",{attrs:{label:"下级是否显示注册扣量",prop:"is_switch_show"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:e.newData.is_switch_show,callback:function(t){e.$set(e.newData,"is_switch_show",t)},expression:"newData.is_switch_show"}})],1):e._e(),1===e.self_info.id?a("el-form-item",{attrs:{label:"强制转单",prop:"is_must_switch"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:e.newData.is_must_switch,callback:function(t){e.$set(e.newData,"is_must_switch",t)},expression:"newData.is_must_switch"}})],1):e._e(),e.is_show_create?a("el-form-item",{attrs:{label:"开户权限",prop:"is_show_create"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:e.newData.is_show_create,callback:function(t){e.$set(e.newData,"is_show_create",t)},expression:"newData.is_show_create"}})],1):e._e(),e.is_switch_show?a("el-form-item",{attrs:{label:"注册扣量",prop:"reg_change"}},[a("el-input",{on:{input:function(t){return e.$forceUpdate()}},model:{value:e.newData.reg_change,callback:function(t){e.$set(e.newData,"reg_change",t)},expression:"newData.reg_change"}})],1):e._e(),e.is_switch_show?a("el-form-item",{attrs:{label:"扣量到渠道",prop:"tocid"}},[a("el-input",{model:{value:e.newData.tocid,callback:function(t){e.$set(e.newData,"tocid",t)},expression:"newData.tocid"}})],1):e._e(),a("el-form-item",{attrs:{label:"管理账号",prop:"user_login"}},[a("el-input",{attrs:{disabled:"update"===e.dialogStatus},model:{value:e.newData.user_login,callback:function(t){e.$set(e.newData,"user_login",t)},expression:"newData.user_login"}})],1),a("el-form-item",{attrs:{label:"管理密码",prop:"user_pass"}},[a("el-input",{model:{value:e.newData.user_pass,callback:function(t){e.$set(e.newData,"user_pass",t)},expression:"newData.user_pass"}})],1),e.is_show_pay?a("el-form-item",{attrs:{label:"配置档位",prop:"rechargeconf"}},e._l(e.newData.rechargeconf,(function(t,n){return a("el-input",{key:n,attrs:{placeholder:"输入数量"},on:{input:function(t){return e.$forceUpdate()}},model:{value:t.transfer,callback:function(a){e.$set(t,"transfer",a)},expression:"item.transfer"}},[a("template",{slot:"prepend"},[e._v("充值"+e._s(t.money)+"元")]),a("template",{slot:"prefix"},[e._v("每")]),a("template",{slot:"append"},[e._v("单转渠道")])],2)})),1):e._e()],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.dialogFormVisible=!1}}},[e._v(" 取消 ")]),a("el-button",{attrs:{type:"primary"},on:{click:function(t){"create"===e.dialogStatus?e.createData():e.updateData()}}},[e._v(" 提交 ")])],1)],1),a("el-dialog",{attrs:{visible:e.dialogPvVisible,title:"系统详情"},on:{"update:visible":function(t){e.dialogPvVisible=t}}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.pvData,border:"",fit:"","highlight-current-row":""}},[a("el-table-column",{attrs:{prop:"key",label:"系统"}}),a("el-table-column",{attrs:{prop:"pv",label:"数量"}})],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.dialogPvVisible=!1}}},[e._v("确定")])],1)],1)],1)},i=[],s=(a("13d5"),a("a434"),a("6dfa")),l=a("6724"),o=a("333d"),r=["未通过","已审核"],c=["普通","推荐"],u=["否","是"],d=[{key:"1",display_name:"1"},{key:"2",display_name:"2"},{key:"3",display_name:"3"}],h=d.reduce((function(e,t){return e[t.key]=t.display_name,e}),{}),_={name:"ChannelList",components:{Pagination:o["a"]},directives:{waves:l["a"]},filters:{levelFilter:function(e){return h[e]},isCheckFilter:function(e){return r[e]},betterShowFilter:function(e){return c[e]},homeShowFilter:function(e){return u[e]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,dialogPvVisible:!1,pvData:[],listQuery:{page:1,limit:20,name:void 0,start_time:new Date(new Date((new Date).toLocaleDateString()).getTime()),end_time:new Date(new Date((new Date).toLocaleDateString()).getTime()+864e5-1),sort:"id"},levelValue:d,newData:{},dialogFormVisible:!1,dialogStatus:"",dilogHighStatus:"",textMap:{update:"编辑",create:"创建"},isEdit:!1,rules:{name:[{required:!0,message:"请输入代理名字",trigger:"blur"}],user_login:[{required:!0,message:"请输入管理账户",trigger:"blur"}],gain_sharing:[{required:!0,message:"请选择分成比例",trigger:"blur"}]},is_switch_pay:!1,is_show_pay:!1,reg_change_switch:!1,is_switch_show:!1,is_must_switch:!1,is_show_create:!1,originalRealName:"",self_info:{level:3,id:0,is_show_create:0}}},created:function(){this.listQuery.start_time=this.dateFormat(new Date(new Date((new Date).toLocaleDateString()).getTime())),this.listQuery.end_time=this.dateFormat(new Date(new Date((new Date).toLocaleDateString()).getTime()+864e5-1)),this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(s["d"])(this.listQuery).then((function(t){e.total=t.data.total,e.list=t.data.list,t.data.self_info&&(e.self_info=t.data.self_info),e.listLoading=!1}))},handleFilter:function(){this.listQuery.page=1,this.getList()},takeLevelVuew:function(e){return h[e]},sortChange:function(e){var t=e.prop,a=e.order;this.listQuery.sort="ascending"===a?t:t+" desc",this.handleFilter()},handleUpdate:function(e){var t=this;Object(s["j"])({id:e.id}).then((function(e){t.newData={},t.newData=e.data.update_channel,t.newData.show_level=t.takeLevelVuew(t.newData.level),t.newData.gain_sharing=parseFloat(t.newData.gain_sharing),t.newData.user_login=e.data.user_login,t.is_switch_pay=e.data.is_switch_pay,t.is_show_pay=e.data.is_show_pay,t.reg_change_switch=e.data.reg_change_switch,t.is_switch_show=e.data.is_switch_show,t.is_must_switch=e.data.is_must_switch,t.is_show_create=e.data.is_show_create,t.rechargeconf=e.data.rechargeconf,t.dialogStatus="update",1===t.self_info.level?t.dilogHighStatus="create":t.dilogHighStatus="update",t.dialogFormVisible=!0,t.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))}))},updateData:function(){var e=this;this.$refs["dataForm"].validate((function(t){if(t){var a=Object.assign({},e.newData);Object(s["m"])(a).then((function(){e.getList(),e.dialogFormVisible=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},handleDelete:function(e,t){var a=this;this.$confirm("此操作将回收, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){a.listLoading=!0,Object(s["e"])(e).then((function(){a.getList(),a.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){a.listLoading=!1}))})).catch((function(){a.$message({type:"info",message:"已取消删除"})}))},handleCreate:function(e,t){var a=this;Object(s["g"])(this.newData).then((function(e){a.newData={},a.newData.parent=e.data.uid,a.newData.tocid=e.data.tocid,a.newData.top_parent=e.data.top_parent,a.newData.level=e.data.level,a.newData.show_level=a.takeLevelVuew(a.newData.level),a.newData.rechargeconf=e.data.rechargeconf,a.newData.is_must_switch=0,a.newData.reg_change=0,a.is_switch_pay=e.data.is_switch_pay,a.is_show_pay=e.data.is_show_pay,a.reg_change_switch=e.data.reg_change_switch,a.is_switch_show=e.data.is_switch_show,a.is_must_switch=e.data.is_must_switch,a.is_show_create=e.data.is_show_create,a.dialogStatus="create",a.dilogHighStatus="create",a.dialogFormVisible=!0,a.$nextTick((function(){a.$refs["dataForm"].clearValidate()}))}))},createData:function(){var e=this;this.$refs["dataForm"].validate((function(t){t&&(e.newData.is_switch_pay=e.newData.is_switch_pay?1:0,e.newData.is_show_pay=e.newData.is_show_pay?1:0,e.newData.reg_change_switch=e.newData.reg_change_switch?1:0,e.newData.is_switch_show=e.newData.is_switch_show?1:0,e.newData.is_must_switch=e.newData.is_must_switch?1:0,e.newData.is_show_create=e.newData.is_show_create?1:0,Object(s["a"])(e.newData).then((function(){e.dialogFormVisible=!1,e.getList(),e.$notify({title:"Success",message:"创建成功",type:"success",duration:2e3})})))}))},handleInstallPv:function(e){var t=this;Object(s["h"])({channel_id:e,start_time:this.listQuery.start_time,end_time:this.listQuery.end_time}).then((function(e){t.pvData=e.data,t.dialogPvVisible=!0}))},handleTeamInstallPv:function(e){var t=this;Object(s["i"])({channel_id:e,start_time:this.listQuery.start_time,end_time:this.listQuery.end_time}).then((function(e){t.pvData=e.data,t.dialogPvVisible=!0}))},sDateFormat:function(e){this.listQuery.start_time=e},eDateFormat:function(e){this.listQuery.etart_time=e},dateFormat:function(e){var t=new Date(e),a=t.getFullYear(),n=t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1,i=t.getDate()<10?"0"+t.getDate():t.getDate(),s=t.getHours()<10?"0"+t.getHours():t.getHours(),l=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),o=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return a+"-"+n+"-"+i+" "+s+":"+l+":"+o},dblclick:function(e,t,a,n){console.log(e),console.log(t),console.log(a),console.log(n)},handleEdit:function(e,t){e.edit=!0,this.list.splice(t,1,this.list[t])},handleSortConfirm:function(e,t){var a=this;this.listLoading=!0,Object(s["n"])(e).then((function(){e.edit=!1,e.originalRealName=e.real_name,a.list.splice(t,1,a.list[t]),a.listLoading=!1,a.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){a.listLoading=!1}))},cancelEdit:function(e,t){e.edit=!1,e.real_name=e.originalRealName,this.list.splice(t,1,this.list[t])}}},p=_,f=a("2877"),m=Object(f["a"])(p,n,i,!1,null,null,null);t["default"]=m.exports},"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return l})),Math.easeInOutQuad=function(e,t,a,n){return e/=n/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function i(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function s(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function l(e,t,a){var l=s(),o=e-l,r=20,c=0;t="undefined"===typeof t?500:t;var u=function e(){c+=r;var s=Math.easeInOutQuad(c,l,o,t);i(s),c<t?n(e):a&&"function"===typeof a&&a()};u()}},6724:function(e,t,a){"use strict";a("8d41");var n="@@wavesContext";function i(e,t){function a(a){var n=Object.assign({},t.value),i=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},n),s=i.ele;if(s){s.style.position="relative",s.style.overflow="hidden";var l=s.getBoundingClientRect(),o=s.querySelector(".waves-ripple");switch(o?o.className="waves-ripple":(o=document.createElement("span"),o.className="waves-ripple",o.style.height=o.style.width=Math.max(l.width,l.height)+"px",s.appendChild(o)),i.type){case"center":o.style.top=l.height/2-o.offsetHeight/2+"px",o.style.left=l.width/2-o.offsetWidth/2+"px";break;default:o.style.top=(a.pageY-l.top-o.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",o.style.left=(a.pageX-l.left-o.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return o.style.backgroundColor=i.color,o.className="waves-ripple z-active",!1}}return e[n]?e[n].removeHandle=a:e[n]={removeHandle:a},a}var s={bind:function(e,t){e.addEventListener("click",i(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[n].removeHandle,!1),e.addEventListener("click",i(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[n].removeHandle,!1),e[n]=null,delete e[n]}},l=function(e){e.directive("waves",s)};window.Vue&&(window.waves=s,Vue.use(l)),s.install=l;t["a"]=s},"6dfa":function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"d",(function(){return s})),a.d(t,"h",(function(){return l})),a.d(t,"i",(function(){return o})),a.d(t,"g",(function(){return r})),a.d(t,"a",(function(){return c})),a.d(t,"j",(function(){return u})),a.d(t,"m",(function(){return d})),a.d(t,"e",(function(){return h})),a.d(t,"k",(function(){return _})),a.d(t,"f",(function(){return p})),a.d(t,"n",(function(){return f})),a.d(t,"c",(function(){return m})),a.d(t,"l",(function(){return w}));var n=a("b775");function i(e){return Object(n["a"])({url:"/api/admin/channel/agent_list",method:"get",params:e})}function s(e){return Object(n["a"])({url:"/api/admin/channel/channel_list",method:"get",params:e})}function l(e){return Object(n["a"])({url:"/api/admin/channel/get_person_system",method:"get",params:e})}function o(e){return Object(n["a"])({url:"/api/admin/channel/get_team_system",method:"get",params:e})}function r(e){return Object(n["a"])({url:"/api/admin/channel/get_create_channel",method:"post",params:e})}function c(e){return Object(n["a"])({url:"/api/admin/channel/create_channel",method:"post",data:e})}function u(e){return Object(n["a"])({url:"/api/admin/channel/get_update_channel",method:"post",params:e})}function d(e){return Object(n["a"])({url:"/api/admin/channel/update_channel",method:"post",data:e})}function h(e){return Object(n["a"])({url:"/api/admin/channel/delete_channel",method:"post",data:e})}function _(e){return Object(n["a"])({url:"/api/admin/channel/publicity",method:"get",params:e})}function p(e){return Object(n["a"])({url:"/api/admin/channel/edit_pwd",method:"post",data:e})}function f(e){return Object(n["a"])({url:"/api/admin/channel/update_real_name",method:"post",data:e})}function m(e){return Object(n["a"])({url:"/api/admin/channel/channel_income",method:"get",params:e})}function w(e){return Object(n["a"])({url:"/api/admin/channel/real_channel_income",method:"get",params:e})}},"8d41":function(e,t,a){}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-937b8cd8"],{"1c31":function(t,a,e){"use strict";e.d(a,"e",(function(){return r})),e.d(a,"a",(function(){return n})),e.d(a,"d",(function(){return o})),e.d(a,"b",(function(){return l})),e.d(a,"c",(function(){return c}));var i=e("b775");function r(t){return Object(i["a"])({url:"/api/admin/report/report_list",method:"get",params:t})}function n(t){return Object(i["a"])({url:"/api/admin/report/report_channel_list",method:"get",params:t})}function o(t){return Object(i["a"])({url:"/api/admin/report/report_keep_list",method:"get",params:t})}function l(t){return Object(i["a"])({url:"/api/admin/report/report_charts_data",method:"get",params:t})}function c(t){return Object(i["a"])({url:"/api/admin/report/report_inpour_charts_data",method:"get",params:t})}},aebc:function(t,a,e){"use strict";e.r(a);var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:t.listQuery}},[e("el-form-item",{attrs:{label:"日期"}},[e("el-date-picker",{staticClass:"filter-item",attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:t.listQuery.time_range,callback:function(a){t.$set(t.listQuery,"time_range",a)},expression:"listQuery.time_range"}})],1),e("el-form-item",[e("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.handleFilter}},[t._v(" 搜索 ")])],1)],1),e("div",{staticClass:"chart",staticStyle:{width:"100%",height:"350px"},attrs:{id:"chart"}})],1)},r=[],n=e("313e"),o=e.n(n),l=e("1c31");e("007d");var c={name:"ReportCharts",data:function(){return{chart:null,chartData:{date:["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23"],todayData:[10,20],lastData:[5,15]},listQuery:{time_range:void 0},today:"",lastDate:""}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},methods:{initChart:function(){var t=this;this.chart=o.a.init(document.getElementById("chart")),Object(l["b"])(this.listQuery).then((function(a){t.setOptions(a.data,t.chartData.date,a.nowdate,a.lastdate)}))},handleFilter:function(){this.initChart()},setOptions:function(t,a,e){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.chart.setOption({xAxis:{data:a,boundaryGap:!1,axisTick:{show:!1}},grid:{left:10,right:10,bottom:20,top:30,containLabel:!0},tooltip:{trigger:"axis",axisPointer:{type:"cross"},padding:[5,10]},yAxis:{axisTick:{show:!1}},legend:{},series:[{name:e,smooth:!0,type:"line",itemStyle:{normal:{color:"#3888fa",lineStyle:{color:"#3888fa",width:2},areaStyle:{color:"#f3f8ff"}}},data:t[0],animationDuration:2800,animationEasing:"quadraticOut"},{name:i,smooth:!0,type:"line",itemStyle:{normal:{color:"#f76370",lineStyle:{color:"#f76370",width:2},areaStyle:{color:"#f3f8ff"}}},data:t[1],animationDuration:2800,animationEasing:"quadraticOut"}]})}}},s=c,u=e("2877"),d=Object(u["a"])(s,i,r,!1,null,null,null);a["default"]=d.exports}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a3530520"],{2017:function(e,t,o){"use strict";var n=o("cafe"),s=o.n(n);s.a},"9ed6":function(e,t,o){"use strict";o.r(t);var n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"login-container"},[o("el-form",{ref:"loginForm",staticClass:"login-form",attrs:{model:e.loginForm,rules:e.loginRules,autocomplete:"on","label-position":"left"}},[o("div",{staticClass:"title-container"},[o("h3",{staticClass:"title"},[e._v("管理后台")])]),o("el-form-item",{attrs:{prop:"username"}},[o("span",{staticClass:"svg-container"},[o("svg-icon",{attrs:{"icon-class":"user"}})],1),o("el-input",{ref:"username",attrs:{placeholder:"用户名",name:"username",type:"text",tabindex:"1",autocomplete:"on"},model:{value:e.loginForm.username,callback:function(t){e.$set(e.loginForm,"username",t)},expression:"loginForm.username"}})],1),o("el-tooltip",{attrs:{content:"Caps lock is On",placement:"right",manual:""},model:{value:e.capsTooltip,callback:function(t){e.capsTooltip=t},expression:"capsTooltip"}},[o("el-form-item",{attrs:{prop:"password"}},[o("span",{staticClass:"svg-container"},[o("svg-icon",{attrs:{"icon-class":"password"}})],1),o("el-input",{key:e.passwordType,ref:"password",attrs:{type:e.passwordType,placeholder:"密码",name:"password",tabindex:"2",autocomplete:"on"},on:{blur:function(t){e.capsTooltip=!1}},nativeOn:{keyup:[function(t){return e.checkCapslock(t)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleLogin(t)}]},model:{value:e.loginForm.password,callback:function(t){e.$set(e.loginForm,"password",t)},expression:"loginForm.password"}}),o("span",{staticClass:"show-pwd",on:{click:e.showPwd}},[o("svg-icon",{attrs:{"icon-class":"password"===e.passwordType?"eye":"eye-open"}})],1)],1)],1),o("el-button",{staticStyle:{width:"100%","margin-bottom":"30px"},attrs:{loading:e.loading,type:"primary"},nativeOn:{click:function(t){return t.preventDefault(),e.handleLogin(t)}}},[e._v("登录")])],1)],1)},s=[],r=(o("13d5"),o("b64b"),o("61f7")),a={name:"Login",components:{},data:function(){var e=function(e,t,o){Object(r["d"])(t)?o():o(new Error("请输入用户名"))},t=function(e,t,o){t.length<3?o(new Error("密码最小3位数")):o()};return{loginForm:{username:"",password:""},loginRules:{username:[{required:!0,trigger:"blur",validator:e}],password:[{required:!0,trigger:"blur",validator:t}]},passwordType:"password",capsTooltip:!1,loading:!1,showDialog:!1,redirect:void 0,otherQuery:{}}},watch:{$route:{handler:function(e){var t=e.query;t&&(this.redirect=t.redirect,this.otherQuery=this.getOtherQuery(t))},immediate:!0}},created:function(){},mounted:function(){""===this.loginForm.username?this.$refs.username.focus():""===this.loginForm.password&&this.$refs.password.focus()},destroyed:function(){},methods:{checkCapslock:function(e){var t=e.key;this.capsTooltip=t&&1===t.length&&t>="A"&&t<="Z"},showPwd:function(){var e=this;"password"===this.passwordType?this.passwordType="":this.passwordType="password",this.$nextTick((function(){e.$refs.password.focus()}))},handleLogin:function(){var e=this;this.$refs.loginForm.validate((function(t){if(!t)return!1;e.loading=!0,e.$store.dispatch("user/login",e.loginForm).then((function(){e.$router.push({path:e.redirect||"/",query:e.otherQuery}),e.loading=!1})).catch((function(){e.loading=!1}))}))},getOtherQuery:function(e){return Object.keys(e).reduce((function(t,o){return"redirect"!==o&&(t[o]=e[o]),t}),{})}}},i=a,c=(o("2017"),o("dabb"),o("2877")),l=Object(c["a"])(i,n,s,!1,null,"7a05d883",null);t["default"]=l.exports},c14f:function(e,t,o){},cafe:function(e,t,o){},dabb:function(e,t,o){"use strict";var n=o("c14f"),s=o.n(n);s.a}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a4fc3cf6"],{"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),Math.easeInOutQuad=function(t,e,n,i){return t/=i/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function a(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function r(t,e,n){var r=o(),s=t-r,l=20,c=0;e="undefined"===typeof e?500:e;var u=function t(){c+=l;var o=Math.easeInOutQuad(c,r,s,e);a(o),c<e?i(t):n&&"function"===typeof n&&n()};u()}},"3bb8":function(t,e,n){"use strict";n.d(e,"e",(function(){return a})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return r})),n.d(e,"p",(function(){return s})),n.d(e,"f",(function(){return l})),n.d(e,"m",(function(){return c})),n.d(e,"l",(function(){return u})),n.d(e,"c",(function(){return d})),n.d(e,"h",(function(){return p})),n.d(e,"i",(function(){return m})),n.d(e,"k",(function(){return f})),n.d(e,"n",(function(){return h})),n.d(e,"o",(function(){return b})),n.d(e,"g",(function(){return g})),n.d(e,"j",(function(){return _})),n.d(e,"d",(function(){return y}));var i=n("b775");function a(t){return Object(i["a"])({url:"/api/admin/cartoon/create",method:"post",data:t})}function o(t){return Object(i["a"])({url:"/api/admin/cartoon/cartoon_list",method:"get",params:t})}function r(t){return Object(i["a"])({url:"/api/admin/cartoon/chapter_list",method:"get",params:t})}function s(t){return Object(i["a"])({url:"/api/admin/cartoon/update",method:"post",data:t})}function l(t){return Object(i["a"])({url:"/api/admin/cartoon/createChapter",method:"post",data:t})}function c(t){return Object(i["a"])({url:"/api/admin/cartoon/updateChapter",method:"post",data:t})}function u(t){return Object(i["a"])({url:"/api/admin/cartoon/update_all",method:"post",data:t})}function d(t){return Object(i["a"])({url:"/api/admin/cartoon/check_cartoon",method:"post",data:t})}function p(t){return Object(i["a"])({url:"/api/admin/cartoon/delete",method:"post",data:t})}function m(t){return Object(i["a"])({url:"/api/admin/cartoon/deleteChapter",method:"post",data:t})}function f(t){return Object(i["a"])({url:"/api/admin/cartoon/type_list",method:"get",params:t})}function h(t){return Object(i["a"])({url:"/api/admin/cartoon/update_type",method:"post",data:t})}function b(t){return Object(i["a"])({url:"/api/admin/cartoon/update_type_all",method:"post",data:t})}function g(t){return Object(i["a"])({url:"/api/admin/cartoon/create_type",method:"post",data:t})}function _(t){return Object(i["a"])({url:"/api/admin/cartoon/delete_type",method:"post",data:t})}function y(t){return Object(i["a"])({url:"/api/admin/cache/clearCartoonCache",method:"get",params:t})}},6724:function(t,e,n){"use strict";n("8d41");var i="@@wavesContext";function a(t,e){function n(n){var i=Object.assign({},e.value),a=Object.assign({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),o=a.ele;if(o){o.style.position="relative",o.style.overflow="hidden";var r=o.getBoundingClientRect(),s=o.querySelector(".waves-ripple");switch(s?s.className="waves-ripple":(s=document.createElement("span"),s.className="waves-ripple",s.style.height=s.style.width=Math.max(r.width,r.height)+"px",o.appendChild(s)),a.type){case"center":s.style.top=r.height/2-s.offsetHeight/2+"px",s.style.left=r.width/2-s.offsetWidth/2+"px";break;default:s.style.top=(n.pageY-r.top-s.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",s.style.left=(n.pageX-r.left-s.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return s.style.backgroundColor=a.color,s.className="waves-ripple z-active",!1}}return t[i]?t[i].removeHandle=n:t[i]={removeHandle:n},n}var o={bind:function(t,e){t.addEventListener("click",a(t,e),!1)},update:function(t,e){t.removeEventListener("click",t[i].removeHandle,!1),t.addEventListener("click",a(t,e),!1)},unbind:function(t){t.removeEventListener("click",t[i].removeHandle,!1),t[i]=null,delete t[i]}},r=function(t){t.directive("waves",o)};window.Vue&&(window.waves=o,Vue.use(r)),o.install=r;e["a"]=o},"89e8":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-input",{staticClass:"filter-item",staticStyle:{width:"200px"},attrs:{placeholder:"名字"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleFilter(e)}},model:{value:t.listQuery.name,callback:function(e){t.$set(t.listQuery,"name",e)},expression:"listQuery.name"}}),n("el-button",{staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.handleFilter}},[t._v(" 搜索 ")]),n("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:t.handleCreate}},[t._v(" 创建 ")]),t.openSort?t._e():n("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:t.handleSort}},[t._v(" 排序 ")]),t.openSort?n("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"success",icon:"el-icon-edit"},on:{click:t.handleSortConfirm}},[t._v(" 确认 ")]):t._e(),t.openSort?n("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"danger",icon:"el-icon-edit"},on:{click:t.handleSortCancel}},[t._v(" 取消 ")]):t._e(),n("el-checkbox",{staticClass:"filter-item",staticStyle:{"margin-left":"15px"},on:{change:function(e){t.tableKey=t.tableKey+1}},model:{value:t.showCreateTime,callback:function(e){t.showCreateTime=e},expression:"showCreateTime"}},[t._v(" 创建时间 ")])],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],key:t.tableKey,staticStyle:{width:"100%"},attrs:{data:t.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":t.sortChange}},[n("el-table-column",{attrs:{label:"ID",prop:"id",sortable:"custom",align:"center",width:"80","class-name":t.getSortClass()},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.id))])]}}])}),n("el-table-column",{attrs:{width:"70px",label:"排序",align:"center",prop:"listorder",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[t.openSort?[n("el-input",{staticClass:"edit-input",attrs:{size:"small"},model:{value:i.listorder,callback:function(e){t.$set(i,"listorder",e)},expression:"row.listorder"}})]:n("span",[t._v(t._s(i.listorder))])]}}])}),n("el-table-column",{attrs:{label:"漫画分类","min-width":"150px",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.name))])]}}])}),n("el-table-column",{attrs:{label:"状态",align:"center",width:"80","class-name":"small-padding fixed-width",prop:"is_check",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[1==i.is_check?n("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.openSort&&t.handleModifyStatus(i,"is_check",0)}}},[t._v(" "+t._s(t._f("isCheckFilter")(i.is_check))+" ")]):t._e(),0==i.is_check?n("el-button",{attrs:{size:"mini",type:"draft"},on:{click:function(e){t.openSort&&t.handleModifyStatus(i,"is_check",1)}}},[t._v(" "+t._s(t._f("isCheckFilter")(i.is_check))+" ")]):t._e()]}}])}),n("el-table-column",{attrs:{label:"首页",align:"center",width:"80","class-name":"small-padding fixed-width",prop:"is_recommend",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[1==i.is_recommend?n("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.openSort&&t.handleModifyStatus(i,"is_recommend",0)}}},[t._v(" "+t._s(t._f("betterShowFilter")(i.is_recommend))+" ")]):t._e(),0==i.is_recommend?n("el-button",{attrs:{size:"mini",type:"draft"},on:{click:function(e){t.openSort&&t.handleModifyStatus(i,"is_recommend",1)}}},[t._v(" "+t._s(t._f("betterShowFilter")(i.is_recommend))+" ")]):t._e()]}}])}),n("el-table-column",{attrs:{width:"70px",label:"首页",align:"center",prop:"index_order",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[t.openSort?[n("el-input",{staticClass:"edit-input",attrs:{size:"small"},model:{value:i.index_order,callback:function(e){t.$set(i,"index_order",e)},expression:"row.index_order"}})]:n("span",[t._v(t._s(i.index_order))])]}}])}),n("el-table-column",{attrs:{label:"热门",align:"center",width:"80","class-name":"small-padding fixed-width",prop:"is_search",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[1==i.is_search?n("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){t.openSort&&t.handleModifyStatus(i,"is_search",0)}}},[t._v(" "+t._s(t._f("homeShowFilter")(i.is_search))+" ")]):t._e(),0==i.is_search?n("el-button",{attrs:{size:"mini",type:"draft"},on:{click:function(e){t.openSort&&t.handleModifyStatus(i,"is_search",1)}}},[t._v(" "+t._s(t._f("homeShowFilter")(i.is_search))+" ")]):t._e()]}}])}),n("el-table-column",{attrs:{width:"70px",label:"热门",align:"center",prop:"search_order",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[t.openSort?[n("el-input",{staticClass:"edit-input",attrs:{size:"small"},model:{value:i.search_order,callback:function(e){t.$set(i,"search_order",e)},expression:"row.search_order"}})]:n("span",[t._v(t._s(i.search_order))])]}}])}),t.showCreateTime?n("el-table-column",{attrs:{label:"创建时间",width:"150px",align:"center",prop:"create_time",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(t._f("parseTime")(i.create_time,"{y}-{m}-{d} {h}:{i}")))])]}}],null,!1,122434386)}):t._e(),n("el-table-column",{attrs:{label:"操作",align:"center",width:"200","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row,a=e.$index;return[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.handleUpdate(i)}}},[t._v(" 编辑 ")]),0!=i.status?n("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(e){return t.handleDelete(i,a)}}},[t._v(" 删除 ")]):t._e()]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}}),n("el-dialog",{attrs:{title:t.textMap[t.dialogStatus],visible:t.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogFormVisible=e}}},[n("el-form",{ref:"dataForm",staticStyle:{width:"400px","margin-left":"50px"},attrs:{rules:t.rules,model:t.newVideo,"label-position":"left","label-width":"70px"}},[n("el-form-item",{attrs:{label:"漫画分类",prop:"name"}},[n("el-input",{model:{value:t.newVideo.name,callback:function(e){t.$set(t.newVideo,"name",e)},expression:"newVideo.name"}})],1),n("el-form-item",{attrs:{label:"分类图标",prop:"img"}},[n("el-input",{model:{value:t.newVideo.img,callback:function(e){t.$set(t.newVideo,"img",e)},expression:"newVideo.img"}})],1),n("el-form-item",{attrs:{label:"分类大图",prop:"type_img"}},[n("el-input",{model:{value:t.newVideo.type_img,callback:function(e){t.$set(t.newVideo,"type_img",e)},expression:"newVideo.type_img"}})],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(e){t.dialogFormVisible=!1}}},[t._v(" 取消 ")]),n("el-button",{attrs:{type:"primary"},on:{click:function(e){"create"===t.dialogStatus?t.createData():t.updateData()}}},[t._v(" 提交 ")])],1)],1)],1)},a=[],o=(n("c740"),n("a434"),n("3bb8")),r=n("6724"),s=n("333d"),l=["未通过","已审核"],c=["普通","推荐"],u=["否","是"],d={name:"CartoonType",components:{Pagination:s["a"]},directives:{waves:r["a"]},filters:{isCheckFilter:function(t){return l[t]},betterShowFilter:function(t){return c[t]},homeShowFilter:function(t){return u[t]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,view_type:void 0,video_type:void 0,name:void 0,sort:"id desc"},showCreateTime:!1,openSort:!1,newVideo:{},dialogFormVisible:!1,dialogStatus:"",textMap:{update:"编辑",create:"创建"},rules:{name:[{required:!0,message:"请输入分类名称",trigger:"blur"}],img:[{required:!0,message:"请输入分类图片",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(o["k"])(this.listQuery).then((function(e){t.total=e.data.total,t.list=e.data.list,t.listLoading=!1}))},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(t){var e=t.prop,n=t.order;this.listQuery.sort="ascending"===n?e:e+" desc",this.handleFilter()},handleUpdate:function(t){var e=this;this.newVideo=Object.assign({},t),this.dialogStatus="update",this.dialogFormVisible=!0,this.$nextTick((function(){e.$refs["dataForm"].clearValidate()}))},updateData:function(){var t=this;this.$refs["dataForm"].validate((function(e){if(e){var n=Object.assign({},t.newVideo);Object(o["n"])(n).then((function(){var e=t.list.findIndex((function(e){return e.id===t.newVideo.id}));t.list.splice(e,1,t.newVideo),t.dialogFormVisible=!1,t.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},handleDelete:function(t,e){var n=this;this.listLoading=!0,Object(o["j"])(t).then((function(){n.list.splice(e,1),n.listLoading=!1,n.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){n.listLoading=!1}))},handleCreate:function(t,e){var n=this;this.newVideo={},this.dialogStatus="create",this.dialogFormVisible=!0,this.$nextTick((function(){n.$refs["dataForm"].clearValidate()}))},createData:function(){var t=this;this.$refs["dataForm"].validate((function(e){e&&Object(o["g"])(t.newVideo).then((function(){t.dialogFormVisible=!1,t.getList(),t.$notify({title:"Success",message:"创建成功",type:"success",duration:2e3})}))}))},getSortClass:function(){var t=this.listQuery.sort;return"id"===t?"ascending":"descending"},handleModifyStatus:function(t,e,n){this.$set(t,e,n)},handleSort:function(){this.openSort=!0},handleSortCancel:function(){this.getList(),this.openSort=!1},handleSortConfirm:function(){var t=this;if(this.listLoading=!0,this.list){var e=Object.assign({},this.list);Object(o["o"])(e).then((function(e){t.openSort=!1,t.listLoading=!1,t.$notify({title:"成功",message:e.message,type:"success",duration:2e3})})).catch((function(){t.listLoading=!1}))}}}},p=d,m=n("2877"),f=Object(m["a"])(p,i,a,!1,null,null,null);e["default"]=f.exports},"8d41":function(t,e,n){}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-acfe2b2e"],{"24e2":function(t,a,i){"use strict";i.r(a);var e=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"errPage-container"},[i("el-button",{staticClass:"pan-back-btn",attrs:{icon:"el-icon-arrow-left"},on:{click:t.back}},[t._v(" 返回 ")]),i("el-row",[i("el-col",{attrs:{span:12}},[i("h1",{staticClass:"text-jumbo text-ginormous"},[t._v(" Oops! ")]),t._v(" gif来源"),i("a",{attrs:{href:"https://zh.airbnb.com/",target:"_blank"}},[t._v("airbnb")]),t._v(" 页面 "),i("h2",[t._v("你没有权限去该页面")]),i("h6",[t._v("如有不满请联系你领导")]),i("ul",{staticClass:"list-unstyled"},[i("li",[t._v("或者你可以去:")]),i("li",{staticClass:"link-type"},[i("router-link",{attrs:{to:"/dashboard"}},[t._v(" 回首页 ")])],1),i("li",{staticClass:"link-type"},[i("a",{attrs:{href:"https://www.taobao.com/"}},[t._v("随便看看")])]),i("li",[i("a",{attrs:{href:"#"},on:{click:function(a){a.preventDefault(),t.dialogVisible=!0}}},[t._v("点我看图")])])])]),i("el-col",{attrs:{span:12}},[i("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1),i("el-dialog",{attrs:{visible:t.dialogVisible,title:"随便看"},on:{"update:visible":function(a){t.dialogVisible=a}}},[i("img",{staticClass:"pan-img",attrs:{src:t.ewizardClap}})])],1)},s=[],r=i("cc6c"),n=i.n(r),l={name:"Page401",data:function(){return{errGif:n.a+"?"+ +new Date,ewizardClap:"https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646",dialogVisible:!1}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/dashboard"}):this.$router.go(-1)}}},c=l,o=(i("d835"),i("2877")),u=Object(o["a"])(c,e,s,!1,null,"6de193e6",null);a["default"]=u.exports},be4d:function(t,a,i){},cc6c:function(t,a,i){t.exports=i.p+"static/img/401.089007e7.gif"},d835:function(t,a,i){"use strict";var e=i("be4d"),s=i.n(e);s.a}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b1995ef8"],{"09f4":function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),Math.easeInOutQuad=function(e,t,i,n){return e/=n/2,e<1?i/2*e*e+t:(e--,-i/2*(e*(e-2)-1)+t)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function a(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function r(e,t,i){var r=o(),s=e-r,l=20,c=0;t="undefined"===typeof t?500:t;var u=function e(){c+=l;var o=Math.easeInOutQuad(c,r,s,t);a(o),c<t?n(e):i&&"function"===typeof i&&i()};u()}},6724:function(e,t,i){"use strict";i("8d41");var n="@@wavesContext";function a(e,t){function i(i){var n=Object.assign({},t.value),a=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},n),o=a.ele;if(o){o.style.position="relative",o.style.overflow="hidden";var r=o.getBoundingClientRect(),s=o.querySelector(".waves-ripple");switch(s?s.className="waves-ripple":(s=document.createElement("span"),s.className="waves-ripple",s.style.height=s.style.width=Math.max(r.width,r.height)+"px",o.appendChild(s)),a.type){case"center":s.style.top=r.height/2-s.offsetHeight/2+"px",s.style.left=r.width/2-s.offsetWidth/2+"px";break;default:s.style.top=(i.pageY-r.top-s.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",s.style.left=(i.pageX-r.left-s.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return s.style.backgroundColor=a.color,s.className="waves-ripple z-active",!1}}return e[n]?e[n].removeHandle=i:e[n]={removeHandle:i},i}var o={bind:function(e,t){e.addEventListener("click",a(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[n].removeHandle,!1),e.addEventListener("click",a(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[n].removeHandle,!1),e[n]=null,delete e[n]}},r=function(e){e.directive("waves",o)};window.Vue&&(window.waves=o,Vue.use(r)),o.install=r;t["a"]=o},"8d41":function(e,t,i){},"90e7":function(e,t,i){"use strict";i.d(t,"k",(function(){return a})),i.d(t,"o",(function(){return o})),i.d(t,"h",(function(){return r})),i.d(t,"b",(function(){return s})),i.d(t,"e",(function(){return l})),i.d(t,"s",(function(){return c})),i.d(t,"r",(function(){return u})),i.d(t,"l",(function(){return d})),i.d(t,"f",(function(){return p})),i.d(t,"p",(function(){return m})),i.d(t,"i",(function(){return f})),i.d(t,"m",(function(){return h})),i.d(t,"q",(function(){return v})),i.d(t,"j",(function(){return y})),i.d(t,"d",(function(){return g})),i.d(t,"n",(function(){return b})),i.d(t,"g",(function(){return w})),i.d(t,"c",(function(){return _})),i.d(t,"a",(function(){return k}));var n=i("b775");function a(e){return Object(n["a"])({url:"/api/admin/setting/pay_list",method:"get",params:e})}function o(e){return Object(n["a"])({url:"/api/admin/setting/update_pay",method:"post",data:e})}function r(e){return Object(n["a"])({url:"/api/admin/setting/delete_pay",method:"post",params:e})}function s(e){return Object(n["a"])({url:"/api/admin/setting/auto_pay",method:"POST",data:e})}function l(e){return Object(n["a"])({url:"/api/admin/setting/create_pay",method:"post",params:e})}function c(e){return Object(n["a"])({url:"/api/admin/setting/vip_list",method:"get",params:e})}function u(e){return Object(n["a"])({url:"/api/admin/setting/update_vip",method:"post",data:e})}function d(e){return Object(n["a"])({url:"/api/admin/setting/publicity_list",method:"get",params:e})}function p(e){return Object(n["a"])({url:"/api/admin/setting/create_publicity",method:"post",data:e})}function m(e){return Object(n["a"])({url:"/api/admin/setting/update_publicity",method:"post",data:e})}function f(e){return Object(n["a"])({url:"/api/admin/setting/delete_publicity",method:"post",data:e})}function h(e){return Object(n["a"])({url:"/api/admin/setting/system_list",method:"get",params:e})}function v(e){return Object(n["a"])({url:"/api/admin/setting/update_system",method:"post",data:e})}function y(e){return Object(n["a"])({url:"/api/admin/setting/notice_list",method:"get",params:e})}function g(e){return Object(n["a"])({url:"/api/admin/setting/create_notice",method:"post",data:e})}function b(e){return Object(n["a"])({url:"/api/admin/setting/update_notice",method:"post",data:e})}function w(e){return Object(n["a"])({url:"/api/admin/setting/delete_notice",method:"post",data:e})}function _(e){return Object(n["a"])({url:"/api/admin/cache/clearSettingCache",method:"get",params:e})}function k(e){return Object(n["a"])({url:"/api/admin/setting/setting_link",method:"post",data:e})}},ec94:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"app-container"},[i("div",{staticClass:"filter-container"},[i("el-input",{staticClass:"filter-item",staticStyle:{width:"200px"},attrs:{placeholder:"名字"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleFilter(t)}},model:{value:e.listQuery.name,callback:function(t){e.$set(e.listQuery,"name",t)},expression:"listQuery.name"}}),i("el-button",{staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v(" 搜索 ")]),i("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#ff4949","active-text":"自动","inactive-text":"手动"},on:{change:e.autoPaySwitch},model:{value:e.isAuto,callback:function(t){e.isAuto=t},expression:"isAuto"}})],1),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":e.sortChange}},[i("el-table-column",{attrs:{label:"ID",prop:"id",sortable:"custom",align:"center",width:"80","class-name":e.getSortClass()},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.id))])]}}])}),i("el-table-column",{attrs:{label:"支付名称","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.name))])]}}])}),i("el-table-column",{attrs:{label:"支付类型","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(e._f("typeFilter")(n.pay_type)))])]}}])}),i("el-table-column",{attrs:{label:"上线",align:"center",width:"80","class-name":"small-padding fixed-width",prop:"is_check",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[1==n.is_check?i("el-button",{attrs:{size:"mini",type:"success"}},[e._v(" "+e._s(e._f("isCheckFilter")(n.is_check))+" ")]):e._e(),0==n.is_check?i("el-button",{attrs:{size:"mini",type:"draft"}},[e._v(" "+e._s(e._f("isCheckFilter")(n.is_check))+" ")]):e._e()]}}])}),i("el-table-column",{attrs:{label:"自动切换",align:"center",width:"120","class-name":"small-padding fixed-width",prop:"auto",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[1==n.auto?i("el-button",{attrs:{size:"mini",type:"success"}},[e._v(" "+e._s(e._f("isCheckFilter")(n.auto))+" ")]):e._e(),0==n.auto?i("el-button",{attrs:{size:"mini",type:"draft"}},[e._v(" "+e._s(e._f("isCheckFilter")(n.auto))+" ")]):e._e()]}}])}),i("el-table-column",{attrs:{width:"70px",label:"排序",align:"center",prop:"pay_order",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[e.openSort?[i("el-input",{staticClass:"edit-input",attrs:{size:"small"},model:{value:n.listorder,callback:function(t){e.$set(n,"listorder",t)},expression:"row.listorder"}})]:i("span",[e._v(e._s(n.pay_order))])]}}])}),i("el-table-column",{attrs:{label:"备注","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.pay_name))])]}}])}),i("el-table-column",{attrs:{label:"操作",align:"center",width:"200","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row,a=t.$index;return[i("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.handleUpdate(n)}}},[e._v(" 编辑 ")]),0!=n.status?i("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(t){return e.handleDelete(n,a)}}},[e._v(" 删除 ")]):e._e()]}}])})],1),i("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}}),i("el-dialog",{attrs:{title:e.textMap[e.dialogStatus],visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[i("el-form",{ref:"dataForm",staticStyle:{width:"400px","margin-left":"50px"},attrs:{rules:e.rules,model:e.newVideo,"label-position":"right","label-width":"70px"}},[i("el-form-item",{attrs:{label:"名称",prop:"name"}},[i("el-input",{model:{value:e.newVideo.name,callback:function(t){e.$set(e.newVideo,"name",t)},expression:"newVideo.name"}})],1),i("el-form-item",{attrs:{label:"类型",prop:"view_type"}},[i("el-select",{staticClass:"filter-item",attrs:{placeholder:"选择一个类型"},model:{value:e.newVideo.show_view_type,callback:function(t){e.$set(e.newVideo,"show_view_type",t)},expression:"newVideo.show_view_type"}},e._l(e.viewTypeOptions,(function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),1)],1),i("el-form-item",{attrs:{label:"开启",prop:"is_check"}},[i("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:e.newVideo.is_check,callback:function(t){e.$set(e.newVideo,"is_check",t)},expression:"newVideo.is_check"}})],1),i("el-form-item",{attrs:{label:"自动切换",prop:"auto"}},[i("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:e.newVideo.auto,callback:function(t){e.$set(e.newVideo,"auto",t)},expression:"newVideo.auto"}})],1),i("el-form-item",{attrs:{label:"排序",prop:"pay_order"}},[i("el-input",{model:{value:e.newVideo.pay_order,callback:function(t){e.$set(e.newVideo,"pay_order",t)},expression:"newVideo.pay_order"}})],1),i("el-form-item",{attrs:{label:"备注",prop:"pay_name"}},[i("el-input",{model:{value:e.newVideo.pay_name,callback:function(t){e.$set(e.newVideo,"pay_name",t)},expression:"newVideo.pay_name"}})],1)],1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.dialogFormVisible=!1}}},[e._v(" 取消 ")]),i("el-button",{attrs:{type:"primary"},on:{click:function(t){"create"===e.dialogStatus?e.createData():e.updateData()}}},[e._v(" 提交 ")])],1)],1)],1)},a=[],o=(i("c740"),i("13d5"),i("a434"),i("90e7")),r=i("6724"),s=i("333d"),l=["否","是"],c=["普通","推荐"],u=["否","是"],d=[{key:"1",display_name:"支付宝"},{key:"2",display_name:"微信"}],p=d.reduce((function(e,t){return e[t.key]=t.display_name,e}),{}),m={name:"SettingPay",components:{Pagination:s["a"]},directives:{waves:r["a"]},filters:{isCheckFilter:function(e){return l[e]},betterShowFilter:function(e){return c[e]},homeShowFilter:function(e){return u[e]},typeFilter:function(e){return p[e]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,isAuto:0,listQuery:{page:1,limit:20,view_type:void 0,video_type:void 0,name:void 0,sort:"id desc"},typesOptions:[],newVideo:{},dialogFormVisible:!1,dialogStatus:"",textMap:{update:"编辑",create:"创建"},openSort:!1,viewTypeOptions:d,rules:{name:[{required:!0,message:"请输入演员名字",trigger:"blur"}],pay_type:[{required:!0,message:"请选择类型",trigger:"blur"}],pay_order:[{required:!0,message:"排序必须输入",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(o["k"])(this.listQuery).then((function(t){e.isAuto=t.data.auto,e.total=t.data.total,e.list=t.data.list,e.listLoading=!1}))},takeViewType:function(e){return p[e]},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(e){var t=e.prop,i=e.order;this.listQuery.sort="ascending"===i?t:t+" desc",this.handleFilter()},handleUpdate:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="update",this.dialogFormVisible=!0,this.newVideo.show_view_type=this.takeViewType(this.newVideo.pay_type),this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},updateData:function(){var e=this;this.$refs["dataForm"].validate((function(t){if(t){var i=Object.assign({},e.newVideo);Object(o["o"])(i).then((function(){var t=e.list.findIndex((function(t){return t.id===e.newVideo.id}));e.list.splice(t,1,e.newVideo),e.dialogFormVisible=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},handleDelete:function(e,t){var i=this;this.listLoading=!0,Object(o["h"])(e).then((function(){i.list.splice(t,1),i.listLoading=!1,i.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){i.listLoading=!1}))},handleCreate:function(e,t){var i=this;this.newVideo={},this.dialogStatus="create",this.dialogFormVisible=!0,this.$nextTick((function(){i.$refs["dataForm"].clearValidate()}))},createData:function(){var e=this;this.$refs["dataForm"].validate((function(t){t&&Object(o["e"])(e.newVideo).then((function(){e.dialogFormVisible=!1,e.getList(),e.$notify({title:"Success",message:"创建成功",type:"success",duration:2e3})}))}))},getSortClass:function(){var e=this.listQuery.sort;return"id"===e?"ascending":"descending"},autoPaySwitch:function(){var e=this;Object(o["b"])({id:this.isAuto}).then((function(){e.$notify({title:"Success",message:"修改成功",type:"success",duration:2e3})}))}}},f=m,h=i("2877"),v=Object(h["a"])(f,n,a,!1,null,null,null);t["default"]=v.exports}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-bcb19d76"],{"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),Math.easeInOutQuad=function(t,e,n,i){return t/=i/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function a(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function l(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(t,e,n){var o=l(),r=t-o,s=20,c=0;e="undefined"===typeof e?500:e;var u=function t(){c+=s;var l=Math.easeInOutQuad(c,o,r,e);a(l),c<e?i(t):n&&"function"===typeof n&&n()};u()}},6094:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:t.listQuery}},[n("el-form-item",{attrs:{label:"日期"}},[n("el-date-picker",{staticClass:"filter-item",attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:t.listQuery.time_range,callback:function(e){t.$set(t.listQuery,"time_range",e)},expression:"listQuery.time_range"}})],1),n("el-form-item",{attrs:{label:"渠道ID"}},[n("el-input",{attrs:{placeholder:"渠道ID"},model:{value:t.listQuery.channel_id,callback:function(e){t.$set(t.listQuery,"channel_id",e)},expression:"listQuery.channel_id"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.handleFilter}},[t._v("搜索")])],1),n("el-form-item",[n("el-button",{attrs:{type:"danger",icon:"el-icon-search"},on:{click:t.handleAllRemit}},[t._v("批量打款")])],1),n("el-form-item",[n("el-button",{staticStyle:{margin:"0 0 20px 20px"},attrs:{loading:t.downloadLoading,type:"primary",icon:"el-icon-document"},on:{click:t.handleDownload}},[t._v(" 导出表格 ")])],1)],1)],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],key:t.tableKey,staticStyle:{width:"100%"},attrs:{data:t.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":t.sortChange,"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"55"}}),n("el-table-column",{attrs:{label:"日期",width:"150px",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.date))])]}}])}),n("el-table-column",{attrs:{label:"渠道ID",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.channel_id))])]}}])}),n("el-table-column",{attrs:{label:"渠道名",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.channel_name))])]}}])}),n("el-table-column",{attrs:{label:"打款方式",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.edit?n("el-input",{staticClass:"edit-input",attrs:{size:"small"},model:{value:i.remit,callback:function(e){t.$set(i,"remit",e)},expression:"row.remit"}}):n("span",[t._v(t._s(i.remit))])]}}])}),n("el-table-column",{attrs:{label:"打款信息",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.edit?n("el-input",{staticClass:"edit-input",attrs:{size:"small"},model:{value:i.remit_info,callback:function(e){t.$set(i,"remit_info",e)},expression:"row.remit_info"}}):n("span",[t._v(t._s(i.remit_info))])]}}])}),n("el-table-column",{attrs:{label:"总安装",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.install))])]}}])}),n("el-table-column",{attrs:{label:"总充值",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.allmoney))])]}}])}),n("el-table-column",{attrs:{label:"分成比例",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.gain_sharing)+"%")])]}}])}),n("el-table-column",{attrs:{label:"实际分成",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.real_money))])]}}])}),n("el-table-column",{attrs:{label:"是否打款",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.remit_flag?n("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(e){return t.handleBetterStatus(i,0)}}},[t._v(" 已打款 ")]):t._e(),i.remit_flag?t._e():n("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(e){return t.handleBetterStatus(i,1)}}},[t._v(" 未打款 ")])]}}])}),n("el-table-column",{attrs:{label:"未打款金额",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[n("span",[t._v(t._s(i.lost_money))])]}}])}),n("el-table-column",{attrs:{label:"备注",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.edit?n("el-input",{staticClass:"edit-input",attrs:{size:"small"},model:{value:i.content,callback:function(e){t.$set(i,"content",e)},expression:"row.content"}}):n("span",[t._v(t._s(i.content))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center","min-width":"150","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row,a=e.$index;return[i.edit?t._e():n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.handleEdit(i,a)}}},[t._v(" 编辑 ")]),i.edit?n("el-button",{staticStyle:{"margin-left":"10px"},attrs:{size:"mini",type:"success",icon:"el-icon-edit"},on:{click:function(e){return t.handleSortConfirm(i,a)}}},[t._v(" 确认 ")]):t._e(),i.edit?n("el-button",{staticStyle:{"margin-left":"10px"},attrs:{size:"mini",type:"danger",icon:"el-icon-edit"},on:{click:function(e){return t.cancelEdit(i,a)}}},[t._v(" 取消 ")]):t._e()]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit,"page-sizes":[10,20,30,40,50,100,300,500]},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}})],1)},a=[],l=(n("d81d"),n("13d5"),n("a434"),n("d3b7"),n("cd05")),o=n("6724"),r=n("333d"),s=["下线","上线"],c=["普通","推荐"],u=["普通","首页"],d=[{key:"1",display_name:"电影"},{key:"2",display_name:"电视剧"},{key:"3",display_name:"短视频"}],f=d.reduce((function(t,e){return t[e.key]=e.display_name,t}),{}),m={name:"FinanceChannelList",components:{Pagination:r["a"]},directives:{waves:o["a"]},filters:{typeFilter:function(t){return f[t]},isCheckFilter:function(t){return s[t]},betterShowFilter:function(t){return c[t]},homeShowFilter:function(t){return u[t]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,id:void 0,channel:void 0,time_range:void 0,check_sort:"inpour",sort:"id desc"},typesOptions:[],viewTypeOptions:d,showPlays:!1,showLikes:!1,showDislikes:!1,showTariffVip:!1,showTariffUsr:!1,showCreateTime:!1,showReleaseTime:!1,openSort:!1,newVideo:{},dialogFormVisible:!1,dialogStatus:"",downloadLoading:!1,textMap:{update:"编辑",create:"创建",coin:"金币充值"},rules:{name:[{required:!0,message:"请输入片名",trigger:"blur"}],coin_type:[{required:!0,message:"请选择类型",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(l["c"])(this.listQuery).then((function(e){t.total=e.data.total,t.list=e.data.list,t.list=t.list.map((function(e){return t.$set(e,"edit",!1),e.originalRemit=e.remit,e.originalRemitInfo=e.remit_info,e.originalRemitFlag=e.remit_flag,e.originalContent=e.content,e})),t.listLoading=!1}))},takeViewType:function(t){return f[t]},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(t){var e=t.prop,n=t.order;this.listQuery.sort="ascending"===n?e:e+" desc",this.handleFilter()},handleUpdate:function(t){var e=this;this.newVideo=Object.assign({},t),this.dialogStatus="update",this.dialogFormVisible=!0,this.$nextTick((function(){e.$refs["dataForm"].clearValidate()}))},getSortClass:function(){var t=this.listQuery.sort;return"id"===t?"ascending":"descending"},handleEdit:function(t,e){t.edit=!0,this.list.splice(e,1,this.list[e])},cancelEdit:function(t,e){t.edit=!1,t.remit=t.originalRemit,t.remit_info=t.originalRemitInfo,t.remit_flag=t.originalRemitFlag,t.content=t.originalContent,this.list.splice(e,1,this.list[e])},handleBetterStatus:function(t,e){var n=this;this.listLoading=!0,t.remit_flag=e,Object(l["e"])(t).then((function(){n.listLoading=!1,n.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3}),n.getList()})).catch((function(){n.listLoading=!1}))},handleSortConfirm:function(t,e){var n=this;this.listLoading=!0,Object(l["f"])(t).then((function(){t.edit=!1,t.originalRemit=t.remit,t.originalRemitInfo=t.remit_info,t.originalContent=t.content,n.list.splice(e,1,n.list[e]),n.listLoading=!1,n.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){n.listLoading=!1}))},handleDownload:function(){var t=this;this.downloadLoading=!0,Promise.all([n.e("chunk-489b8c18"),n.e("chunk-2125b98f")]).then(n.bind(null,"4bf8")).then((function(e){var n=["渠道ID","渠道名","打款方式","打款信息","总安装","总充值","分成比例","实际分成","是否打款","未打款金额","备注"],i=["channel_id","channel_name","remit","remit_info","install","allmoney","gain_sharing","real_money","remit_flag_text","lost_money","content"],a=t.list,l=t.formatJson(i,a);console.log(t.list),e.export_json_to_excel({header:n,data:l,filename:"报表",autoWidth:!0,bookType:"xlsx"}),t.downloadLoading=!1}))},formatJson:function(t,e){return e.map((function(e){return t.map((function(t){return"remit_flag_text"===t&&(e["remit_flag"]?e["remit_flag_text"]="已打款":e["remit_flag_text"]="未打款"),e[t]}))}))},handleSelectionChange:function(t){this.multipleSelection=t},handleAllRemit:function(t){var e=this;this.listLoading=!0,Object(l["a"])(this.multipleSelection).then((function(){e.listLoading=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3}),e.getList()})).catch((function(){e.listLoading=!1}))}}},p=m,h=n("2877"),g=Object(h["a"])(p,i,a,!1,null,null,null);e["default"]=g.exports},6724:function(t,e,n){"use strict";n("8d41");var i="@@wavesContext";function a(t,e){function n(n){var i=Object.assign({},e.value),a=Object.assign({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),l=a.ele;if(l){l.style.position="relative",l.style.overflow="hidden";var o=l.getBoundingClientRect(),r=l.querySelector(".waves-ripple");switch(r?r.className="waves-ripple":(r=document.createElement("span"),r.className="waves-ripple",r.style.height=r.style.width=Math.max(o.width,o.height)+"px",l.appendChild(r)),a.type){case"center":r.style.top=o.height/2-r.offsetHeight/2+"px",r.style.left=o.width/2-r.offsetWidth/2+"px";break;default:r.style.top=(n.pageY-o.top-r.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",r.style.left=(n.pageX-o.left-r.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return r.style.backgroundColor=a.color,r.className="waves-ripple z-active",!1}}return t[i]?t[i].removeHandle=n:t[i]={removeHandle:n},n}var l={bind:function(t,e){t.addEventListener("click",a(t,e),!1)},update:function(t,e){t.removeEventListener("click",t[i].removeHandle,!1),t.addEventListener("click",a(t,e),!1)},unbind:function(t){t.removeEventListener("click",t[i].removeHandle,!1),t[i]=null,delete t[i]}},o=function(t){t.directive("waves",l)};window.Vue&&(window.waves=l,Vue.use(o)),l.install=o;e["a"]=l},"8d41":function(t,e,n){},cd05:function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return l})),n.d(e,"f",(function(){return o})),n.d(e,"e",(function(){return r})),n.d(e,"d",(function(){return s})),n.d(e,"a",(function(){return c}));var i=n("b775");function a(t){return Object(i["a"])({url:"/api/admin/finance/channel_list",method:"get",params:t})}function l(t){return Object(i["a"])({url:"/api/admin/finance/channel_info",method:"get",params:t})}function o(t){return Object(i["a"])({url:"/api/admin/finance/update_channel",method:"post",data:t})}function r(t){return Object(i["a"])({url:"/api/admin/finance/remit",method:"post",data:t})}function s(t){return Object(i["a"])({url:"/api/admin/finance/pay_list",method:"get",params:t})}function c(t){return Object(i["a"])({url:"/api/admin/finance/all_remit",method:"post",data:t})}}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c2d128da"],{"09f4":function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),Math.easeInOutQuad=function(e,t,n,i){return e/=i/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function a(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(e,t,n){var o=r(),l=e-o,s=20,c=0;t="undefined"===typeof t?500:t;var u=function e(){c+=s;var r=Math.easeInOutQuad(c,o,l,t);a(r),c<t?i(e):n&&"function"===typeof n&&n()};u()}},"1c31":function(e,t,n){"use strict";n.d(t,"e",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return s}));var i=n("b775");function a(e){return Object(i["a"])({url:"/api/admin/report/report_list",method:"get",params:e})}function r(e){return Object(i["a"])({url:"/api/admin/report/report_channel_list",method:"get",params:e})}function o(e){return Object(i["a"])({url:"/api/admin/report/report_keep_list",method:"get",params:e})}function l(e){return Object(i["a"])({url:"/api/admin/report/report_charts_data",method:"get",params:e})}function s(e){return Object(i["a"])({url:"/api/admin/report/report_inpour_charts_data",method:"get",params:e})}},6724:function(e,t,n){"use strict";n("8d41");var i="@@wavesContext";function a(e,t){function n(n){var i=Object.assign({},t.value),a=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),r=a.ele;if(r){r.style.position="relative",r.style.overflow="hidden";var o=r.getBoundingClientRect(),l=r.querySelector(".waves-ripple");switch(l?l.className="waves-ripple":(l=document.createElement("span"),l.className="waves-ripple",l.style.height=l.style.width=Math.max(o.width,o.height)+"px",r.appendChild(l)),a.type){case"center":l.style.top=o.height/2-l.offsetHeight/2+"px",l.style.left=o.width/2-l.offsetWidth/2+"px";break;default:l.style.top=(n.pageY-o.top-l.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",l.style.left=(n.pageX-o.left-l.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return l.style.backgroundColor=a.color,l.className="waves-ripple z-active",!1}}return e[i]?e[i].removeHandle=n:e[i]={removeHandle:n},n}var r={bind:function(e,t){e.addEventListener("click",a(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[i].removeHandle,!1),e.addEventListener("click",a(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[i].removeHandle,!1),e[i]=null,delete e[i]}},o=function(e){e.directive("waves",r)};window.Vue&&(window.waves=r,Vue.use(o)),r.install=o;t["a"]=r},"8d41":function(e,t,n){},b3ff:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.listQuery}},[n("el-form-item",{attrs:{label:"渠道ID"}},[n("el-input",{staticStyle:{width:"130px"},attrs:{placeholder:"渠道ID"},model:{value:e.listQuery.channel,callback:function(t){e.$set(e.listQuery,"channel",t)},expression:"listQuery.channel"}})],1),n("el-form-item",{attrs:{label:"日期"}},[n("el-date-picker",{staticClass:"filter-item",attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",placeholder:"选择日期"},model:{value:e.listQuery.time_range,callback:function(t){e.$set(e.listQuery,"time_range",t)},expression:"listQuery.time_range"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v(" 搜索 ")])],1)],1)],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":e.sortChange}},[n("el-table-column",{attrs:{label:"日期",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.date))])]}}])}),n("el-table-column",{attrs:{label:"总活跃",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.playerLoginLogs))])]}}])}),n("el-table-column",{attrs:{label:"新用户活跃",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.playerNotActive))])]}}])}),n("el-table-column",{attrs:{label:"老用户活跃",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.playerActive))])]}}])}),n("el-table-column",{attrs:{label:"留存",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(parseFloat(i.playerActive/i.playerLoginLogs).toFixed(2)))])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}})],1)},a=[],r=(n("13d5"),n("1c31")),o=n("6724"),l=n("333d"),s=["下线","上线"],c=["普通","推荐"],u=["普通","首页"],d=[{key:"1",display_name:"电影"},{key:"2",display_name:"电视剧"},{key:"3",display_name:"短视频"}],p=d.reduce((function(e,t){return e[t.key]=t.display_name,e}),{}),f={name:"ReportKeepList",components:{Pagination:l["a"]},directives:{waves:o["a"]},filters:{typeFilter:function(e){return p[e]},isCheckFilter:function(e){return s[e]},betterShowFilter:function(e){return c[e]},homeShowFilter:function(e){return u[e]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,id:void 0,channel:void 0,time_range:void 0,check_sort:"inpour",sort:"id desc"},typesOptions:[],viewTypeOptions:d,showPlays:!1,showLikes:!1,showDislikes:!1,showTariffVip:!1,showTariffUsr:!1,showCreateTime:!1,showReleaseTime:!1,openSort:!1,newVideo:{},dialogFormVisible:!1,dialogStatus:"",textMap:{update:"编辑",create:"创建",coin:"金币充值"},rules:{name:[{required:!0,message:"请输入片名",trigger:"blur"}],coin_type:[{required:!0,message:"请选择类型",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(r["d"])(this.listQuery).then((function(t){e.total=t.data.total,e.list=t.data.list,e.listLoading=!1}))},takeViewType:function(e){return p[e]},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(e){var t=e.prop,n=e.order;this.listQuery.sort="ascending"===n?t:t+" desc",this.handleFilter()},handleUpdate:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="update",this.dialogFormVisible=!0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},handleCoin:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="coin",this.dialogFormVisible=!0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},getSortClass:function(){var e=this.listQuery.sort;return"id"===e?"ascending":"descending"}}},m=f,h=n("2877"),g=Object(h["a"])(m,i,a,!1,null,null,null);t["default"]=g.exports}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ccccb78e"],{6724:function(t,e,n){"use strict";n("8d41");var i="@@wavesContext";function r(t,e){function n(n){var i=Object.assign({},e.value),r=Object.assign({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),a=r.ele;if(a){a.style.position="relative",a.style.overflow="hidden";var o=a.getBoundingClientRect(),u=a.querySelector(".waves-ripple");switch(u?u.className="waves-ripple":(u=document.createElement("span"),u.className="waves-ripple",u.style.height=u.style.width=Math.max(o.width,o.height)+"px",a.appendChild(u)),r.type){case"center":u.style.top=o.height/2-u.offsetHeight/2+"px",u.style.left=o.width/2-u.offsetWidth/2+"px";break;default:u.style.top=(n.pageY-o.top-u.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",u.style.left=(n.pageX-o.left-u.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return u.style.backgroundColor=r.color,u.className="waves-ripple z-active",!1}}return t[i]?t[i].removeHandle=n:t[i]={removeHandle:n},n}var a={bind:function(t,e){t.addEventListener("click",r(t,e),!1)},update:function(t,e){t.removeEventListener("click",t[i].removeHandle,!1),t.addEventListener("click",r(t,e),!1)},unbind:function(t){t.removeEventListener("click",t[i].removeHandle,!1),t[i]=null,delete t[i]}},o=function(t){t.directive("waves",a)};window.Vue&&(window.waves=a,Vue.use(o)),a.install=o;e["a"]=a},"890a":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-form",{ref:"form",attrs:{model:t.form,"label-width":"80px",rules:t.rules}},[n("el-form-item",{attrs:{label:"老链接",prop:"old"}},[n("el-input",{model:{value:t.form.old,callback:function(e){t.$set(t.form,"old",e)},expression:"form.old"}})],1),n("el-form-item",{attrs:{label:"新链接",prop:"new"}},[n("el-input",{model:{value:t.form.new,callback:function(e){t.$set(t.form,"new",e)},expression:"form.new"}})],1),n("el-form-item",{attrs:{label:"更换类型",prop:"type"}},[n("el-select",{attrs:{placeholder:"选择更换类型"},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}},[n("el-option",{attrs:{label:"视频",value:"video"}}),n("el-option",{attrs:{label:"加密图片",value:"jmtp"}})],1)],1),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("立即更换")])],1)],1)],1)},r=[],a=n("90e7"),o=n("6724"),u={name:"SettingLink",components:{},directives:{waves:o["a"]},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,sort:"id desc"},form:{},badWord:{},dialogFormVisible:!1,dialogStatus:"",openSort:!1,rules:{old:[{required:!0,message:"不能为空",trigger:"blur"}],new:[{required:!0,message:"不能为空",trigger:"blur"}],type:[{required:!0,message:"不能为空",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){this.listLoading=!0},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(t){var e=t.prop,n=t.order;this.listQuery.sort="ascending"===n?e:e+" desc",this.handleFilter()},onSubmit:function(){var t=this;this.$refs["form"].validate((function(e){if(e){var n=Object.assign({},t.form);Object(a["a"])(n).then((function(){t.$notify({title:"Success",message:"更换成功",type:"success",duration:2e3})}))}}))}}},s=u,l=n("2877"),c=Object(l["a"])(s,i,r,!1,null,null,null);e["default"]=c.exports},"8d41":function(t,e,n){},"90e7":function(t,e,n){"use strict";n.d(e,"k",(function(){return r})),n.d(e,"o",(function(){return a})),n.d(e,"h",(function(){return o})),n.d(e,"b",(function(){return u})),n.d(e,"e",(function(){return s})),n.d(e,"s",(function(){return l})),n.d(e,"r",(function(){return c})),n.d(e,"l",(function(){return d})),n.d(e,"f",(function(){return p})),n.d(e,"p",(function(){return m})),n.d(e,"i",(function(){return f})),n.d(e,"m",(function(){return g})),n.d(e,"q",(function(){return b})),n.d(e,"j",(function(){return h})),n.d(e,"d",(function(){return v})),n.d(e,"n",(function(){return y})),n.d(e,"g",(function(){return w})),n.d(e,"c",(function(){return j})),n.d(e,"a",(function(){return O}));var i=n("b775");function r(t){return Object(i["a"])({url:"/api/admin/setting/pay_list",method:"get",params:t})}function a(t){return Object(i["a"])({url:"/api/admin/setting/update_pay",method:"post",data:t})}function o(t){return Object(i["a"])({url:"/api/admin/setting/delete_pay",method:"post",params:t})}function u(t){return Object(i["a"])({url:"/api/admin/setting/auto_pay",method:"POST",data:t})}function s(t){return Object(i["a"])({url:"/api/admin/setting/create_pay",method:"post",params:t})}function l(t){return Object(i["a"])({url:"/api/admin/setting/vip_list",method:"get",params:t})}function c(t){return Object(i["a"])({url:"/api/admin/setting/update_vip",method:"post",data:t})}function d(t){return Object(i["a"])({url:"/api/admin/setting/publicity_list",method:"get",params:t})}function p(t){return Object(i["a"])({url:"/api/admin/setting/create_publicity",method:"post",data:t})}function m(t){return Object(i["a"])({url:"/api/admin/setting/update_publicity",method:"post",data:t})}function f(t){return Object(i["a"])({url:"/api/admin/setting/delete_publicity",method:"post",data:t})}function g(t){return Object(i["a"])({url:"/api/admin/setting/system_list",method:"get",params:t})}function b(t){return Object(i["a"])({url:"/api/admin/setting/update_system",method:"post",data:t})}function h(t){return Object(i["a"])({url:"/api/admin/setting/notice_list",method:"get",params:t})}function v(t){return Object(i["a"])({url:"/api/admin/setting/create_notice",method:"post",data:t})}function y(t){return Object(i["a"])({url:"/api/admin/setting/update_notice",method:"post",data:t})}function w(t){return Object(i["a"])({url:"/api/admin/setting/delete_notice",method:"post",data:t})}function j(t){return Object(i["a"])({url:"/api/admin/cache/clearSettingCache",method:"get",params:t})}function O(t){return Object(i["a"])({url:"/api/admin/setting/setting_link",method:"post",data:t})}}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-commons"],{1180:function(e,t,a){"use strict";var n=a("42ec"),i=a.n(n);i.a},"333d":function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"pagination-container",class:{hidden:e.hidden}},[a("el-pagination",e._b({attrs:{background:e.background,"current-page":e.currentPage,"page-size":e.pageSize,layout:e.layout,"page-sizes":e.pageSizes,total:e.total},on:{"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t},"update:pageSize":function(t){e.pageSize=t},"update:page-size":function(t){e.pageSize=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}},"el-pagination",e.$attrs,!1))],1)},i=[],u=(a("a9e3"),a("09f4")),r={name:"Pagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:20},pageSizes:{type:Array,default:function(){return[10,20,30,50,1e3]}},layout:{type:String,default:"total, sizes, prev, pager, next, jumper"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get:function(){return this.page},set:function(e){this.$emit("update:page",e)}},pageSize:{get:function(){return this.limit},set:function(e){this.$emit("update:limit",e)}}},methods:{handleSizeChange:function(e){this.$emit("pagination",{page:this.currentPage,limit:e}),this.autoScroll&&Object(u["a"])(0,800)},handleCurrentChange:function(e){this.$emit("pagination",{page:e,limit:this.pageSize}),this.autoScroll&&Object(u["a"])(0,800)}}},o=r,c=(a("1180"),a("2877")),p=Object(c["a"])(o,n,i,!1,null,"62d0b9ef",null);t["a"]=p.exports},"42ec":function(e,t,a){}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-da137afc"],{"09f4":function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),Math.easeInOutQuad=function(e,t,n,i){return e/=i/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function a(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(e,t,n){var o=r(),l=e-o,s=20,c=0;t="undefined"===typeof t?500:t;var d=function e(){c+=s;var r=Math.easeInOutQuad(c,o,l,t);a(r),c<t?i(e):n&&"function"===typeof n&&n()};d()}},"261f":function(e,t,n){"use strict";n.d(t,"q",(function(){return a})),n.d(t,"d",(function(){return r})),n.d(t,"l",(function(){return o})),n.d(t,"h",(function(){return l})),n.d(t,"m",(function(){return s})),n.d(t,"a",(function(){return c})),n.d(t,"i",(function(){return d})),n.d(t,"e",(function(){return u})),n.d(t,"p",(function(){return p})),n.d(t,"c",(function(){return f})),n.d(t,"k",(function(){return m})),n.d(t,"g",(function(){return h})),n.d(t,"o",(function(){return v})),n.d(t,"b",(function(){return b})),n.d(t,"j",(function(){return g})),n.d(t,"f",(function(){return w})),n.d(t,"n",(function(){return y}));var i=n("b775");function a(e){return Object(i["a"])({url:"/api/admin/advert/start_list",method:"get",params:e})}function r(e){return Object(i["a"])({url:"/api/admin/advert/create_start",method:"post",data:e})}function o(e){return Object(i["a"])({url:"/api/admin/advert/update_start",method:"post",data:e})}function l(e){return Object(i["a"])({url:"/api/admin/advert/delete_start",method:"post",data:e})}function s(e){return Object(i["a"])({url:"/api/admin/advert/banner_list",method:"get",params:e})}function c(e){return Object(i["a"])({url:"/api/admin/advert/create_banner",method:"post",data:e})}function d(e){return Object(i["a"])({url:"/api/admin/advert/update_banner",method:"post",data:e})}function u(e){return Object(i["a"])({url:"/api/admin/advert/delete_banner",method:"post",data:e})}function p(e){return Object(i["a"])({url:"/api/admin/advert/playerdown_list",method:"get",params:e})}function f(e){return Object(i["a"])({url:"/api/admin/advert/create_playerdown",method:"post",data:e})}function m(e){return Object(i["a"])({url:"/api/admin/advert/update_playerdown",method:"post",data:e})}function h(e){return Object(i["a"])({url:"/api/admin/advert/delete_playerdown",method:"post",data:e})}function v(e){return Object(i["a"])({url:"/api/admin/advert/mycentre_list",method:"get",params:e})}function b(e){return Object(i["a"])({url:"/api/admin/advert/create_mycentre",method:"post",data:e})}function g(e){return Object(i["a"])({url:"/api/admin/advert/update_mycentre",method:"post",data:e})}function w(e){return Object(i["a"])({url:"/api/admin/advert/delete_mycentre",method:"post",data:e})}function y(e){return Object(i["a"])({url:"/api/admin/cache/clearAdvertCache",method:"get",params:e})}},6724:function(e,t,n){"use strict";n("8d41");var i="@@wavesContext";function a(e,t){function n(n){var i=Object.assign({},t.value),a=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),r=a.ele;if(r){r.style.position="relative",r.style.overflow="hidden";var o=r.getBoundingClientRect(),l=r.querySelector(".waves-ripple");switch(l?l.className="waves-ripple":(l=document.createElement("span"),l.className="waves-ripple",l.style.height=l.style.width=Math.max(o.width,o.height)+"px",r.appendChild(l)),a.type){case"center":l.style.top=o.height/2-l.offsetHeight/2+"px",l.style.left=o.width/2-l.offsetWidth/2+"px";break;default:l.style.top=(n.pageY-o.top-l.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",l.style.left=(n.pageX-o.left-l.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return l.style.backgroundColor=a.color,l.className="waves-ripple z-active",!1}}return e[i]?e[i].removeHandle=n:e[i]={removeHandle:n},n}var r={bind:function(e,t){e.addEventListener("click",a(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[i].removeHandle,!1),e.addEventListener("click",a(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[i].removeHandle,!1),e[i]=null,delete e[i]}},o=function(e){e.directive("waves",r)};window.Vue&&(window.waves=r,Vue.use(o)),r.install=o;t["a"]=r},"813e":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:e.handleCreate}},[e._v(" 创建 ")])],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":e.sortChange}},[n("el-table-column",{attrs:{label:"ID",prop:"id",sortable:"custom",align:"center",width:"80","class-name":e.getSortClass()},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.id))])]}}])}),n("el-table-column",{attrs:{label:"标题","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.title))])]}}])}),n("el-table-column",{attrs:{label:"广告","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(e){var t=e.row;return[n("el-image",{staticStyle:{width:"100px",height:"100px"},attrs:{src:t.img,fit:"fill"}})]}}])}),n("el-table-column",{attrs:{label:"外链","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.url))])]}}])}),n("el-table-column",{attrs:{label:"展示时间",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.showtime))])]}}])}),n("el-table-column",{attrs:{label:"状态",align:"center",width:"80","class-name":"small-padding fixed-width",prop:"ischeck",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[1==i.ischeck?n("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(t){return e.handleCheckStatus(i,0)}}},[e._v(" "+e._s(e._f("isCheckFilter")(i.ischeck))+" ")]):e._e(),0==i.ischeck?n("el-button",{attrs:{size:"mini",type:"draft"},on:{click:function(t){return e.handleCheckStatus(i,1)}}},[e._v(" "+e._s(e._f("isCheckFilter")(i.ischeck))+" ")]):e._e()]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center",width:"200","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row,a=t.$index;return[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.handleUpdate(i)}}},[e._v(" 编辑 ")]),n("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(t){return e.handleDelete(i,a)}}},[e._v(" 删除 ")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}}),n("el-dialog",{attrs:{title:e.textMap[e.dialogStatus],visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[n("el-form",{ref:"dataForm",staticStyle:{width:"400px","margin-left":"50px"},attrs:{rules:e.rules,model:e.newVideo,"label-position":"right","label-width":"70px"}},[n("el-form-item",{attrs:{label:"标题",prop:"title"}},[n("el-input",{model:{value:e.newVideo.title,callback:function(t){e.$set(e.newVideo,"title",t)},expression:"newVideo.title"}})],1),n("el-form-item",{attrs:{label:"类型",prop:"type"}},[n("el-select",{staticClass:"filter-item",attrs:{placeholder:"选择一个类型"},model:{value:e.newVideo.type,callback:function(t){e.$set(e.newVideo,"type",t)},expression:"newVideo.type"}},[n("el-option",{key:"1",attrs:{label:"外链",value:"1"}}),n("el-option",{key:"2",attrs:{label:"影片",value:"2"}})],1)],1),n("el-form-item",{attrs:{label:"图片链接",prop:"img"}},[n("el-input",{model:{value:e.newVideo.img,callback:function(t){e.$set(e.newVideo,"img",t)},expression:"newVideo.img"}})],1),n("el-form-item",{attrs:{label:"外链",prop:"url"}},[n("el-input",{model:{value:e.newVideo.url,callback:function(t){e.$set(e.newVideo,"url",t)},expression:"newVideo.url"}})],1),n("el-form-item",{attrs:{label:"展示时间",prop:"showtime"}},[n("el-input",{model:{value:e.newVideo.showtime,callback:function(t){e.$set(e.newVideo,"showtime",t)},expression:"newVideo.showtime"}})],1),n("el-form-item",{attrs:{label:"开启",prop:"ischeck"}},[n("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:e.newVideo.ischeck,callback:function(t){e.$set(e.newVideo,"ischeck",t)},expression:"newVideo.ischeck"}})],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.dialogFormVisible=!1}}},[e._v(" 取消 ")]),n("el-button",{attrs:{type:"primary"},on:{click:function(t){"create"===e.dialogStatus?e.createData():e.updateData()}}},[e._v(" 提交 ")])],1)],1)],1)},a=[],r=(n("c740"),n("13d5"),n("a434"),n("261f")),o=n("6724"),l=n("333d"),s=["关闭","打开"],c=["普通","推荐"],d=["否","是"],u=[{key:"1",display_name:"外链"},{key:"2",display_name:"影片"}],p=u.reduce((function(e,t){return e[t.key]=t.display_name,e}),{}),f={name:"AdvertBanner",components:{Pagination:l["a"]},directives:{waves:o["a"]},filters:{isCheckFilter:function(e){return s[e]},betterShowFilter:function(e){return c[e]},homeShowFilter:function(e){return d[e]},typeFilter:function(e){return p[e]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,view_type:void 0,video_type:void 0,name:void 0,sort:"id desc"},newVideo:{},dialogFormVisible:!1,dialogStatus:"",textMap:{update:"编辑",create:"创建"},openSort:!1,viewTypeOptions:u,rules:{content:[{required:!0,message:"请输入内容",trigger:"blur"}],type:[{required:!0,message:"请选择类型",trigger:"blur"}],pay_order:[{required:!0,message:"排序必须输入",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(r["m"])(this.listQuery).then((function(t){e.total=t.data.total,e.list=t.data.list,e.listLoading=!1}))},takeViewType:function(e){return p[e]},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(e){var t=e.prop,n=e.order;this.listQuery.sort="ascending"===n?t:t+" desc",this.handleFilter()},handleUpdate:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="update",this.dialogFormVisible=!0,this.newVideo.show_view_type=this.takeViewType(this.newVideo.pay_type),this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},updateData:function(){var e=this;this.$refs["dataForm"].validate((function(t){if(t){var n=Object.assign({},e.newVideo);Object(r["i"])(n).then((function(){var t=e.list.findIndex((function(t){return t.id===e.newVideo.id}));e.list.splice(t,1,e.newVideo),e.dialogFormVisible=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},handleDelete:function(e,t){var n=this;this.listLoading=!0,Object(r["e"])(e).then((function(){n.list.splice(t,1),n.listLoading=!1,n.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){n.listLoading=!1}))},handleCreate:function(e,t){var n=this;this.newVideo={},this.dialogStatus="create",this.dialogFormVisible=!0,this.$nextTick((function(){n.$refs["dataForm"].clearValidate()}))},createData:function(){var e=this;this.$refs["dataForm"].validate((function(t){t&&Object(r["a"])(e.newVideo).then((function(){e.dialogFormVisible=!1,e.getList(),e.$notify({title:"Success",message:"创建成功",type:"success",duration:2e3})}))}))},getSortClass:function(){var e=this.listQuery.sort;return"id"===e?"ascending":"descending"}}},m=f,h=n("2877"),v=Object(h["a"])(m,i,a,!1,null,null,null);t["default"]=v.exports},"8d41":function(e,t,n){}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-dfd6f9b0"],{"09f4":function(e,t,i){"use strict";i.d(t,"a",(function(){return l})),Math.easeInOutQuad=function(e,t,i,n){return e/=n/2,e<1?i/2*e*e+t:(e--,-i/2*(e*(e-2)-1)+t)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function a(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function l(e,t,i){var l=r(),o=e-l,s=20,u=0;t="undefined"===typeof t?500:t;var c=function e(){u+=s;var r=Math.easeInOutQuad(u,l,o,t);a(r),u<t?n(e):i&&"function"===typeof i&&i()};c()}},6724:function(e,t,i){"use strict";i("8d41");var n="@@wavesContext";function a(e,t){function i(i){var n=Object.assign({},t.value),a=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},n),r=a.ele;if(r){r.style.position="relative",r.style.overflow="hidden";var l=r.getBoundingClientRect(),o=r.querySelector(".waves-ripple");switch(o?o.className="waves-ripple":(o=document.createElement("span"),o.className="waves-ripple",o.style.height=o.style.width=Math.max(l.width,l.height)+"px",r.appendChild(o)),a.type){case"center":o.style.top=l.height/2-o.offsetHeight/2+"px",o.style.left=l.width/2-o.offsetWidth/2+"px";break;default:o.style.top=(i.pageY-l.top-o.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",o.style.left=(i.pageX-l.left-o.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return o.style.backgroundColor=a.color,o.className="waves-ripple z-active",!1}}return e[n]?e[n].removeHandle=i:e[n]={removeHandle:i},i}var r={bind:function(e,t){e.addEventListener("click",a(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[n].removeHandle,!1),e.addEventListener("click",a(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[n].removeHandle,!1),e[n]=null,delete e[n]}},l=function(e){e.directive("waves",r)};window.Vue&&(window.waves=r,Vue.use(l)),r.install=l;t["a"]=r},"8d41":function(e,t,i){},"9f64":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"app-container"},[i("div",{staticClass:"filter-container"},[i("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.listQuery}},[i("el-form-item",{attrs:{label:"用户ID"}},[i("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"用户ID"},model:{value:e.listQuery.uid,callback:function(t){e.$set(e.listQuery,"uid",t)},expression:"listQuery.uid"}})],1),i("el-form-item",{attrs:{label:"渠道ID"}},[i("el-input",{staticStyle:{width:"120px"},attrs:{placeholder:"渠道ID"},model:{value:e.listQuery.channel,callback:function(t){e.$set(e.listQuery,"channel",t)},expression:"listQuery.channel"}})],1),i("el-form-item",{attrs:{label:"分类"}},[i("el-select",{staticStyle:{width:"130px"},attrs:{placeholder:"影片分类"},model:{value:e.listQuery.varieties,callback:function(t){e.$set(e.listQuery,"varieties",t)},expression:"listQuery.varieties"}},[i("el-option",{attrs:{label:"普通",value:"0"}}),i("el-option",{attrs:{label:"点播",value:"1"}})],1)],1),i("el-form-item",{attrs:{label:"片名"}},[i("el-input",{attrs:{placeholder:"影片名称"},model:{value:e.listQuery.name,callback:function(t){e.$set(e.listQuery,"name",t)},expression:"listQuery.name"}})],1),i("el-form-item",{attrs:{label:"时间"}},[i("el-date-picker",{staticClass:"filter-item",attrs:{type:"datetimerange","value-format":"yyyy-MM-dd HH:mm:ss","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",placeholder:"注册时间"},model:{value:e.listQuery.time_range,callback:function(t){e.$set(e.listQuery,"time_range",t)},expression:"listQuery.time_range"}})],1),i("el-form-item",[i("el-checkbox",{model:{value:e.listQuery.group_uid,callback:function(t){e.$set(e.listQuery,"group_uid",t)},expression:"listQuery.group_uid"}},[e._v("去重用户")])],1),i("el-form-item",[i("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v(" 搜索 ")])],1)],1)],1),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":e.sortChange}},[i("el-table-column",{attrs:{label:"ID",prop:"id",sortable:"custom",align:"center",width:"80","class-name":e.getSortClass()},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.id))])]}}])}),i("el-table-column",{attrs:{label:"用户名称",width:"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.nick_name))])]}}])}),i("el-table-column",{attrs:{label:"渠道ID",prop:"channel",sortable:"custom",width:"100px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.channel))])]}}])}),i("el-table-column",{attrs:{label:"类型",width:"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.d_varieties))])]}}])}),i("el-table-column",{attrs:{label:"影片名称","min-width":"130px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.name))])]}}])}),i("el-table-column",{attrs:{label:"观看时间",prop:"time",sortable:"custom",width:"180px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[i("span",[e._v(e._s(n.time))])]}}])})],1),i("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}})],1)},a=[],r=(i("c740"),i("13d5"),i("a434"),i("ff87")),l=i("6724"),o=i("333d"),s=["下线","上线"],u=["普通","推荐"],c=["普通","首页"],d=[{key:"1",display_name:"电影"},{key:"2",display_name:"电视剧"},{key:"3",display_name:"短视频"}],p=d.reduce((function(e,t){return e[t.key]=t.display_name,e}),{}),m={name:"PlayerHistoryList",components:{Pagination:o["a"]},directives:{waves:l["a"]},filters:{typeFilter:function(e){return p[e]},isCheckFilter:function(e){return s[e]},betterShowFilter:function(e){return u[e]},homeShowFilter:function(e){return c[e]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,id:void 0,channel:void 0,time_range:void 0,group_uid:!1,sort:"id desc"},typesOptions:[],viewTypeOptions:d,showPlays:!1,showLikes:!1,showDislikes:!1,showTariffVip:!1,showTariffUsr:!1,showCreateTime:!1,showReleaseTime:!1,openSort:!1,newVideo:{},dialogFormVisible:!1,dialogStatus:"",textMap:{update:"编辑",create:"创建",coin:"金币充值"},rules:{name:[{required:!0,message:"请输入片名",trigger:"blur"}],coin_type:[{required:!0,message:"请选择类型",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(r["e"])(this.listQuery).then((function(t){e.total=t.data.total,e.list=t.data.list,e.listLoading=!1}))},takeViewType:function(e){return p[e]},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(e){var t=e.prop,i=e.order;this.listQuery.sort="ascending"===i?t:t+" desc",this.handleFilter()},handleUpdate:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="update",this.dialogFormVisible=!0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},handleCoin:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="coin",this.dialogFormVisible=!0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},updateData:function(){var e=this;this.$refs["dataForm"].validate((function(t){if(t){var i=Object.assign({},e.newVideo);Object(r["j"])(i).then((function(){var t=e.list.findIndex((function(t){return t.id===e.newVideo.id}));e.list.splice(t,1,e.newVideo),e.dialogFormVisible=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},updateCoinData:function(){var e=this;this.$refs["dataForm"].validate((function(t){if(t){var i=Object.assign({},e.newVideo);Object(r["k"])(i).then((function(){e.getList(),e.dialogFormVisible=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},getSortClass:function(){var e=this.listQuery.sort;return"id"===e?"ascending":"descending"}}},f=m,h=i("2877"),y=Object(h["a"])(f,n,a,!1,null,null,null);t["default"]=y.exports},ff87:function(e,t,i){"use strict";i.d(t,"g",(function(){return a})),i.d(t,"j",(function(){return r})),i.d(t,"c",(function(){return l})),i.d(t,"k",(function(){return o})),i.d(t,"a",(function(){return s})),i.d(t,"e",(function(){return u})),i.d(t,"f",(function(){return c})),i.d(t,"i",(function(){return d})),i.d(t,"h",(function(){return p})),i.d(t,"b",(function(){return m})),i.d(t,"d",(function(){return f}));var n=i("b775");function a(e){return Object(n["a"])({url:"/api/admin/player/player_list",method:"get",params:e})}function r(e){return Object(n["a"])({url:"/api/admin/player/update_player",method:"post",data:e})}function l(e){return Object(n["a"])({url:"/api/admin/player/express_player",method:"post",data:e})}function o(e){return Object(n["a"])({url:"/api/admin/player/update_player_coin",method:"post",data:e})}function s(e){return Object(n["a"])({url:"/api/admin/player/bindMobile",method:"post",data:e})}function u(e){return Object(n["a"])({url:"/api/admin/player/player_history_list",method:"get",params:e})}function c(e){return Object(n["a"])({url:"/api/admin/player/player_inpour_list",method:"get",params:e})}function d(e){return Object(n["a"])({url:"/api/admin/player/supple",method:"post",data:e})}function p(e){return Object(n["a"])({url:"/api/admin/player/player_pay_list",method:"get",params:e})}function m(e){return Object(n["a"])({url:"/api/admin/cache/clearPlayerCache",method:"get",params:e})}function f(e){return Object(n["a"])({url:"/api/admin/player/express_player_password",method:"post",data:e})}}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e9803c72"],{b311:function(t,e,n){
/*!
* clipboard.js v2.0.4
* https://zenorocha.github.io/clipboard.js
*
* Licensed MIT © Zeno Rocha
*/
(function(e,n){t.exports=n()})(0,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(1),a=f(o),u=n(3),s=f(u),l=n(4),c=f(l);function f(t){return t&&t.__esModule?t:{default:t}}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function p(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var m=function(t){function e(t,n){d(this,e);var i=h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return i.resolveOptions(n),i.listenClick(t),i}return p(e,t),r(e,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"===typeof t.action?t.action:this.defaultAction,this.target="function"===typeof t.target?t.target:this.defaultTarget,this.text="function"===typeof t.text?t.text:this.defaultText,this.container="object"===i(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=(0,c.default)(t,"click",(function(t){return e.onClick(t)}))}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new a.default({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return y("action",t)}},{key:"defaultTarget",value:function(t){var e=y("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return y("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"===typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach((function(t){n=n&&!!document.queryCommandSupported(t)})),n}}]),e}(s.default);function y(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}t.exports=m},function(t,e,n){"use strict";var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=n(2),a=u(o);function u(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var l=function(){function t(e){s(this,t),this.resolveOptions(e),this.initSelection()}return r(t,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,e="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,a.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,a.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==("undefined"===typeof t?"undefined":i(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}();t.exports=l},function(t,e){function n(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var i=window.getSelection(),r=document.createRange();r.selectNodeContents(t),i.removeAllRanges(),i.addRange(r),e=i.toString()}return e}t.exports=n},function(t,e){function n(){}n.prototype={on:function(t,e,n){var i=this.e||(this.e={});return(i[t]||(i[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var i=this;function r(){i.off(t,r),e.apply(n,arguments)}return r._=e,this.on(t,r,n)},emit:function(t){var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),i=0,r=n.length;for(i;i<r;i++)n[i].fn.apply(n[i].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),i=n[t],r=[];if(i&&e)for(var o=0,a=i.length;o<a;o++)i[o].fn!==e&&i[o].fn._!==e&&r.push(i[o]);return r.length?n[t]=r:delete n[t],this}},t.exports=n},function(t,e,n){var i=n(5),r=n(6);function o(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!i.string(e))throw new TypeError("Second argument must be a String");if(!i.fn(n))throw new TypeError("Third argument must be a Function");if(i.node(t))return a(t,e,n);if(i.nodeList(t))return u(t,e,n);if(i.string(t))return s(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function a(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}function u(t,e,n){return Array.prototype.forEach.call(t,(function(t){t.addEventListener(e,n)})),{destroy:function(){Array.prototype.forEach.call(t,(function(t){t.removeEventListener(e,n)}))}}}function s(t,e,n){return r(document.body,t,e,n)}t.exports=o},function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"===typeof t||t instanceof String},e.fn=function(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e}},function(t,e,n){var i=n(7);function r(t,e,n,i,r){var o=a.apply(this,arguments);return t.addEventListener(n,o,r),{destroy:function(){t.removeEventListener(n,o,r)}}}function o(t,e,n,i,o){return"function"===typeof t.addEventListener?r.apply(null,arguments):"function"===typeof n?r.bind(null,document).apply(null,arguments):("string"===typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,(function(t){return r(t,e,n,i,o)})))}function a(t,e,n,r){return function(n){n.delegateTarget=i(n.target,e),n.delegateTarget&&r.call(t,n)}}t.exports=o},function(t,e){var n=9;if("undefined"!==typeof Element&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}function r(t,e){while(t&&t.nodeType!==n){if("function"===typeof t.matches&&t.matches(e))return t;t=t.parentNode}}t.exports=r}])}))},ec1b:function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=2)}([function(t,e,n){var i=n(4)(n(1),n(5),null,null);t.exports=i.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:2017},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator:function(t){return t>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default:function(t,e,n,i){return n*(1-Math.pow(2,-10*t/i))*1024/1023+e}}},data:function(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown:function(){return this.startVal>this.endVal}},watch:{startVal:function(){this.autoplay&&this.start()},endVal:function(){this.autoplay&&this.start()}},mounted:function(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start:function(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=(0,i.requestAnimationFrame)(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){(0,i.cancelAnimationFrame)(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,(0,i.requestAnimationFrame)(this.count)},reset:function(){this.startTime=null,(0,i.cancelAnimationFrame)(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count:function(t){this.startTime||(this.startTime=t),this.timestamp=t;var e=t-this.startTime;this.remaining=this.localDuration-e,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(e,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(e,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(e/this.localDuration):this.printVal=this.localStartVal+(this.localStartVal-this.startVal)*(e/this.localDuration),this.countDown?this.printVal=this.printVal<this.endVal?this.endVal:this.printVal:this.printVal=this.printVal>this.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),e<this.localDuration?this.rAF=(0,i.requestAnimationFrame)(this.count):this.$emit("callback")},isNumber:function(t){return!isNaN(parseFloat(t))},formatNumber:function(t){t=t.toFixed(this.decimals),t+="";var e=t.split("."),n=e[0],i=e.length>1?this.decimal+e[1]:"",r=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;r.test(n);)n=n.replace(r,"$1"+this.separator+"$2");return this.prefix+n+i+this.suffix}},destroyed:function(){(0,i.cancelAnimationFrame)(this.rAF)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=r.default,"undefined"!=typeof window&&window.Vue&&window.Vue.component("count-to",r.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=0,r="webkit moz ms o".split(" "),o=void 0,a=void 0;if("undefined"==typeof window)e.requestAnimationFrame=o=function(){},e.cancelAnimationFrame=a=function(){};else{e.requestAnimationFrame=o=window.requestAnimationFrame,e.cancelAnimationFrame=a=window.cancelAnimationFrame;for(var u=void 0,s=0;s<r.length&&(!o||!a);s++)u=r[s],e.requestAnimationFrame=o=o||window[u+"RequestAnimationFrame"],e.cancelAnimationFrame=a=a||window[u+"CancelAnimationFrame"]||window[u+"CancelRequestAnimationFrame"];o&&a||(e.requestAnimationFrame=o=function(t){var e=(new Date).getTime(),n=Math.max(0,16-(e-i)),r=window.setTimeout((function(){t(e+n)}),n);return i=e+n,r},e.cancelAnimationFrame=a=function(t){window.clearTimeout(t)})}e.requestAnimationFrame=o,e.cancelAnimationFrame=a},function(t,e){t.exports=function(t,e,n,i){var r,o=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(r=t,o=t.default);var u="function"==typeof o?o.options:o;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns),n&&(u._scopeId=n),i){var s=Object.create(u.computed||null);Object.keys(i).forEach((function(t){var e=i[t];s[t]=function(){return e}})),u.computed=s}return{esModule:r,exports:o,options:u}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("span",[t._v("\n "+t._s(t.displayValue)+"\n")])},staticRenderFns:[]}}])}))}}]);
\ No newline at end of file
... ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-eba16876"],{"09f4":function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),Math.easeInOutQuad=function(e,t,n,i){return e/=i/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function a(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(e,t,n){var o=r(),l=e-o,s=20,c=0;t="undefined"===typeof t?500:t;var d=function e(){c+=s;var r=Math.easeInOutQuad(c,o,l,t);a(r),c<t?i(e):n&&"function"===typeof n&&n()};d()}},"261f":function(e,t,n){"use strict";n.d(t,"q",(function(){return a})),n.d(t,"d",(function(){return r})),n.d(t,"l",(function(){return o})),n.d(t,"h",(function(){return l})),n.d(t,"m",(function(){return s})),n.d(t,"a",(function(){return c})),n.d(t,"i",(function(){return d})),n.d(t,"e",(function(){return u})),n.d(t,"p",(function(){return p})),n.d(t,"c",(function(){return f})),n.d(t,"k",(function(){return m})),n.d(t,"g",(function(){return h})),n.d(t,"o",(function(){return v})),n.d(t,"b",(function(){return b})),n.d(t,"j",(function(){return g})),n.d(t,"f",(function(){return w})),n.d(t,"n",(function(){return y}));var i=n("b775");function a(e){return Object(i["a"])({url:"/api/admin/advert/start_list",method:"get",params:e})}function r(e){return Object(i["a"])({url:"/api/admin/advert/create_start",method:"post",data:e})}function o(e){return Object(i["a"])({url:"/api/admin/advert/update_start",method:"post",data:e})}function l(e){return Object(i["a"])({url:"/api/admin/advert/delete_start",method:"post",data:e})}function s(e){return Object(i["a"])({url:"/api/admin/advert/banner_list",method:"get",params:e})}function c(e){return Object(i["a"])({url:"/api/admin/advert/create_banner",method:"post",data:e})}function d(e){return Object(i["a"])({url:"/api/admin/advert/update_banner",method:"post",data:e})}function u(e){return Object(i["a"])({url:"/api/admin/advert/delete_banner",method:"post",data:e})}function p(e){return Object(i["a"])({url:"/api/admin/advert/playerdown_list",method:"get",params:e})}function f(e){return Object(i["a"])({url:"/api/admin/advert/create_playerdown",method:"post",data:e})}function m(e){return Object(i["a"])({url:"/api/admin/advert/update_playerdown",method:"post",data:e})}function h(e){return Object(i["a"])({url:"/api/admin/advert/delete_playerdown",method:"post",data:e})}function v(e){return Object(i["a"])({url:"/api/admin/advert/mycentre_list",method:"get",params:e})}function b(e){return Object(i["a"])({url:"/api/admin/advert/create_mycentre",method:"post",data:e})}function g(e){return Object(i["a"])({url:"/api/admin/advert/update_mycentre",method:"post",data:e})}function w(e){return Object(i["a"])({url:"/api/admin/advert/delete_mycentre",method:"post",data:e})}function y(e){return Object(i["a"])({url:"/api/admin/cache/clearAdvertCache",method:"get",params:e})}},6724:function(e,t,n){"use strict";n("8d41");var i="@@wavesContext";function a(e,t){function n(n){var i=Object.assign({},t.value),a=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),r=a.ele;if(r){r.style.position="relative",r.style.overflow="hidden";var o=r.getBoundingClientRect(),l=r.querySelector(".waves-ripple");switch(l?l.className="waves-ripple":(l=document.createElement("span"),l.className="waves-ripple",l.style.height=l.style.width=Math.max(o.width,o.height)+"px",r.appendChild(l)),a.type){case"center":l.style.top=o.height/2-l.offsetHeight/2+"px",l.style.left=o.width/2-l.offsetWidth/2+"px";break;default:l.style.top=(n.pageY-o.top-l.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",l.style.left=(n.pageX-o.left-l.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return l.style.backgroundColor=a.color,l.className="waves-ripple z-active",!1}}return e[i]?e[i].removeHandle=n:e[i]={removeHandle:n},n}var r={bind:function(e,t){e.addEventListener("click",a(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[i].removeHandle,!1),e.addEventListener("click",a(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[i].removeHandle,!1),e[i]=null,delete e[i]}},o=function(e){e.directive("waves",r)};window.Vue&&(window.waves=r,Vue.use(o)),r.install=o;t["a"]=r},"7f70":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:e.handleCreate}},[e._v(" 创建 ")]),n("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"danger",icon:"el-icon-delete"},on:{click:e.handleClearCache}},[e._v(" 清除缓存 ")])],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":e.sortChange}},[n("el-table-column",{attrs:{label:"ID",prop:"id",sortable:"custom",align:"center",width:"80","class-name":e.getSortClass()},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.id))])]}}])}),n("el-table-column",{attrs:{label:"标题","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.title))])]}}])}),n("el-table-column",{attrs:{label:"广告","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(e){var t=e.row;return[n("el-image",{staticStyle:{width:"100px",height:"100px"},attrs:{src:t.img,fit:"fill"}})]}}])}),n("el-table-column",{attrs:{label:"外链","min-width":"150px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.url))])]}}])}),n("el-table-column",{attrs:{label:"展示时间",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[n("span",[e._v(e._s(i.showtime))])]}}])}),n("el-table-column",{attrs:{label:"状态",align:"center",width:"80","class-name":"small-padding fixed-width",prop:"ischeck",sortable:"custom"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[1==i.ischeck?n("el-button",{attrs:{size:"mini",type:"success"},on:{click:function(t){return e.handleCheckStatus(i,0)}}},[e._v(" "+e._s(e._f("isCheckFilter")(i.ischeck))+" ")]):e._e(),0==i.ischeck?n("el-button",{attrs:{size:"mini",type:"draft"},on:{click:function(t){return e.handleCheckStatus(i,1)}}},[e._v(" "+e._s(e._f("isCheckFilter")(i.ischeck))+" ")]):e._e()]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center",width:"200","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row,a=t.$index;return[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.handleUpdate(i)}}},[e._v(" 编辑 ")]),n("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(t){return e.handleDelete(i,a)}}},[e._v(" 删除 ")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}}),n("el-dialog",{attrs:{title:e.textMap[e.dialogStatus],visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[n("el-form",{ref:"dataForm",staticStyle:{width:"400px","margin-left":"50px"},attrs:{rules:e.rules,model:e.newVideo,"label-position":"right","label-width":"70px"}},[n("el-form-item",{attrs:{label:"标题",prop:"title"}},[n("el-input",{model:{value:e.newVideo.title,callback:function(t){e.$set(e.newVideo,"title",t)},expression:"newVideo.title"}})],1),n("el-form-item",{attrs:{label:"类型",prop:"type"}},[n("el-select",{staticClass:"filter-item",attrs:{placeholder:"选择一个类型"},model:{value:e.newVideo.type,callback:function(t){e.$set(e.newVideo,"type",t)},expression:"newVideo.type"}},[n("el-option",{key:"1",attrs:{label:"外链",value:"1"}}),n("el-option",{key:"2",attrs:{label:"影片",value:"2"}})],1)],1),n("el-form-item",{attrs:{label:"图片链接",prop:"img"}},[n("el-input",{model:{value:e.newVideo.img,callback:function(t){e.$set(e.newVideo,"img",t)},expression:"newVideo.img"}})],1),n("el-form-item",{attrs:{label:"外链",prop:"url"}},[n("el-input",{model:{value:e.newVideo.url,callback:function(t){e.$set(e.newVideo,"url",t)},expression:"newVideo.url"}})],1),n("el-form-item",{attrs:{label:"展示时间",prop:"showtime"}},[n("el-input",{model:{value:e.newVideo.showtime,callback:function(t){e.$set(e.newVideo,"showtime",t)},expression:"newVideo.showtime"}})],1),n("el-form-item",{attrs:{label:"开启",prop:"ischeck"}},[n("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:e.newVideo.ischeck,callback:function(t){e.$set(e.newVideo,"ischeck",t)},expression:"newVideo.ischeck"}})],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.dialogFormVisible=!1}}},[e._v(" 取消 ")]),n("el-button",{attrs:{type:"primary"},on:{click:function(t){"create"===e.dialogStatus?e.createData():e.updateData()}}},[e._v(" 提交 ")])],1)],1)],1)},a=[],r=(n("c740"),n("13d5"),n("a434"),n("261f")),o=n("6724"),l=n("333d"),s=["关闭","打开"],c=["普通","推荐"],d=["否","是"],u=[{key:"1",display_name:"外链"},{key:"2",display_name:"影片"}],p=u.reduce((function(e,t){return e[t.key]=t.display_name,e}),{}),f={name:"AdvertStart",components:{Pagination:l["a"]},directives:{waves:o["a"]},filters:{isCheckFilter:function(e){return s[e]},betterShowFilter:function(e){return c[e]},homeShowFilter:function(e){return d[e]},typeFilter:function(e){return p[e]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,view_type:void 0,video_type:void 0,name:void 0,sort:"id desc"},newVideo:{},dialogFormVisible:!1,dialogStatus:"",textMap:{update:"编辑",create:"创建"},openSort:!1,viewTypeOptions:u,rules:{content:[{required:!0,message:"请输入内容",trigger:"blur"}],type:[{required:!0,message:"请选择类型",trigger:"blur"}],pay_order:[{required:!0,message:"排序必须输入",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(r["q"])(this.listQuery).then((function(t){e.total=t.data.total,e.list=t.data.list,e.listLoading=!1}))},takeViewType:function(e){return p[e]},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(e){var t=e.prop,n=e.order;this.listQuery.sort="ascending"===n?t:t+" desc",this.handleFilter()},handleUpdate:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="update",this.dialogFormVisible=!0,this.newVideo.show_view_type=this.takeViewType(this.newVideo.pay_type),this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},updateData:function(){var e=this;this.$refs["dataForm"].validate((function(t){if(t){var n=Object.assign({},e.newVideo);Object(r["l"])(n).then((function(){var t=e.list.findIndex((function(t){return t.id===e.newVideo.id}));e.list.splice(t,1,e.newVideo),e.dialogFormVisible=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},handleDelete:function(e,t){var n=this;this.listLoading=!0,Object(r["h"])(e).then((function(){n.list.splice(t,1),n.listLoading=!1,n.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})})).catch((function(){n.listLoading=!1}))},handleCreate:function(e,t){var n=this;this.newVideo={},this.dialogStatus="create",this.dialogFormVisible=!0,this.$nextTick((function(){n.$refs["dataForm"].clearValidate()}))},createData:function(){var e=this;this.$refs["dataForm"].validate((function(t){t&&Object(r["d"])(e.newVideo).then((function(){e.dialogFormVisible=!1,e.getList(),e.$notify({title:"Success",message:"创建成功",type:"success",duration:2e3})}))}))},getSortClass:function(){var e=this.listQuery.sort;return"id"===e?"ascending":"descending"},handleClearCache:function(){var e=this;Object(r["n"])().then((function(){e.$notify({title:"Success",message:"清除成功",type:"success",duration:2e3})}))}}},m=f,h=n("2877"),v=Object(h["a"])(m,i,a,!1,null,null,null);t["default"]=v.exports},"8d41":function(e,t,n){}}]);
\ No newline at end of file
... ...
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.