Commit 4efe8237 authored by Davve's avatar Davve

run build

parent 908a608a
<!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"><title>更美社区后台</title><link rel="shortcut icon" href=/favicon.ico><link href=/static/css/chunk-elementUI.e8091cad.css rel=stylesheet><link href=/static/css/chunk-libs.825f9043.css rel=stylesheet><link href=/static/css/app.a0140e91.css rel=stylesheet></head><body><script src=/static/tinymce4.7.5/tinymce.min.js></script><script src=/static/jquery.min.js></script><script src=/static/webuploader.min.js></script><div id=app></div><script>!function(n){function e(e){for(var u,t,f=e[0],r=e[1],d=e[2],k=0,b=[];k<f.length;k++)t=f[k],a[t]&&b.push(a[t][0]),a[t]=0;for(u in r)Object.prototype.hasOwnProperty.call(r,u)&&(n[u]=r[u]);for(o&&o(e);b.length;)b.shift()();return h.push.apply(h,d||[]),c()}function c(){for(var n,e=0;e<h.length;e++){for(var c=h[e],u=!0,t=1;t<c.length;t++){var r=c[t];0!==a[r]&&(u=!1)}u&&(h.splice(e--,1),n=f(f.s=c[0]))}return n}var u={},t={runtime:0},a={runtime:0},h=[];function f(e){if(u[e])return u[e].exports;var c=u[e]={i:e,l:!1,exports:{}};return n[e].call(c.exports,c,c.exports,f),c.l=!0,c.exports}f.e=function(n){var e=[];t[n]?e.push(t[n]):0!==t[n]&&{"chunk-4d21":1,"chunk-99f0":1,"chunk-afdb":1,"chunk-b58b":1,"chunk-commons":1,"chunk-059d":1,"chunk-0814":1,"chunk-0b5f":1,"chunk-0e47":1,"chunk-12c1":1,"chunk-13cb":1,"chunk-169f":1,"chunk-1fb4":1,"chunk-2ada":1,"chunk-366e":1,"chunk-4010":1,"chunk-496d":1,"chunk-4f37":1,"chunk-4f86":1,"chunk-515c":1,"chunk-5b54":1,"chunk-5e3b":1,"chunk-6006":1,"chunk-61ee":1,"chunk-659d":1,"chunk-5c0f":1,"chunk-6a71":1,"chunk-70b8":1,"chunk-b1c8":1,"chunk-6f28":1,"chunk-75fb":1,"chunk-7c23":1,"chunk-7f1d":1,"chunk-a2a7":1,"chunk-a570":1,"chunk-d3a7":1,"chunk-ddcf":1}[n]&&e.push(t[n]=new Promise(function(e,c){for(var u="static/css/"+({"chunk-commons":"chunk-commons"}[n]||n)+"."+{"7zzA":"31d6cfe0",JEtC:"31d6cfe0","chunk-4d21":"edc879c0","chunk-99f0":"2cb13940","chunk-afdb":"069c376d","chunk-b58b":"79629c97","chunk-commons":"a93bab1c","chunk-059d":"6690256b","chunk-0814":"877d5d6d","chunk-0b5f":"6fa34439","chunk-0e47":"b42b6636","chunk-12c1":"3d07938a","chunk-13cb":"893a6b67","chunk-169f":"b42b6636","chunk-1fb4":"90a1b745","chunk-2ada":"f97e31da","chunk-366e":"f3b30e27","chunk-4010":"1e47e40a","chunk-496d":"90a1b745","chunk-4f37":"8b68c420","chunk-4f86":"94e51369","chunk-515c":"4c4f48e2","chunk-5b54":"d6eeea7d","chunk-5e3b":"7431cc5f","chunk-6006":"6fa34439","chunk-61ee":"d56e7a3d","chunk-659d":"a613de32","chunk-5c0f":"a8b15ea3","chunk-6a71":"baf75f62",SoCV:"31d6cfe0",VwWe:"31d6cfe0","chunk-70b8":"aff3634a","chunk-b1c8":"aff3634a","chunk-6f28":"76f2387e","chunk-75fb":"f97e31da","chunk-7c23":"4c4f48e2","chunk-7f1d":"107d05b5","/P8B":"31d6cfe0",Gbeq:"31d6cfe0","chunk-a2a7":"76f2387e","chunk-a570":"877d5d6d","chunk-d3a7":"57a7c2d4",Q2Zf:"31d6cfe0",ZMmy:"31d6cfe0","chunk-ddcf":"cfa3a855"}[n]+".css",t=f.p+u,a=document.getElementsByTagName("link"),h=0;h<a.length;h++){var r=(k=a[h]).getAttribute("data-href")||k.getAttribute("href");if("stylesheet"===k.rel&&(r===u||r===t))return e()}var d=document.getElementsByTagName("style");for(h=0;h<d.length;h++){var k;if((r=(k=d[h]).getAttribute("data-href"))===u||r===t)return e()}var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.onload=e,o.onerror=function(e){var u=e&&e.target&&e.target.src||t,a=new Error("Loading CSS chunk "+n+" failed.\n("+u+")");a.request=u,c(a)},o.href=t,document.getElementsByTagName("head")[0].appendChild(o)}).then(function(){t[n]=0}));var c=a[n];if(0!==c)if(c)e.push(c[2]);else{var u=new Promise(function(e,u){c=a[n]=[e,u]});e.push(c[2]=u);var h,r=document.getElementsByTagName("head")[0],d=document.createElement("script");d.charset="utf-8",d.timeout=120,f.nc&&d.setAttribute("nonce",f.nc),d.src=function(n){return f.p+"static/js/"+({"chunk-commons":"chunk-commons"}[n]||n)+"."+{"7zzA":"acd9b7e4",JEtC:"d582661d","chunk-4d21":"046675d7","chunk-99f0":"340f2985","chunk-afdb":"f15e873d","chunk-b58b":"a9b37905","chunk-commons":"ba181541","chunk-059d":"5a68493c","chunk-0814":"bdbc6d7d","chunk-0b5f":"0c650a17","chunk-0e47":"51665ab1","chunk-12c1":"4162084d","chunk-13cb":"8570b7a7","chunk-169f":"be1e0fa9","chunk-1fb4":"14139e95","chunk-2ada":"4b433059","chunk-366e":"c500e438","chunk-4010":"c581901d","chunk-496d":"4e79015d","chunk-4f37":"896bff3d","chunk-4f86":"99076aae","chunk-515c":"8eeb0ed3","chunk-5b54":"3cacaddf","chunk-5e3b":"1510696f","chunk-6006":"3f97a34a","chunk-61ee":"165c6019","chunk-659d":"758af730","chunk-5c0f":"ca8382de","chunk-6a71":"bd7fa17b",SoCV:"49bd7f8a",VwWe:"37520311","chunk-70b8":"f4169e87","chunk-b1c8":"999e3ed0","chunk-6f28":"631c51da","chunk-75fb":"4f33f854","chunk-7c23":"d77f983c","chunk-7f1d":"5f80b54a","/P8B":"7f6807b2",Gbeq:"42306eb5","chunk-a2a7":"8c69f1d1","chunk-a570":"bc8d3f3c","chunk-d3a7":"04dfa9ed",Q2Zf:"159a6cad",ZMmy:"fbf2ec27","chunk-ddcf":"4e39e698"}[n]+".js"}(n),h=function(e){d.onerror=d.onload=null,clearTimeout(k);var c=a[n];if(0!==c){if(c){var u=e&&("load"===e.type?"missing":e.type),t=e&&e.target&&e.target.src,h=new Error("Loading chunk "+n+" failed.\n("+u+": "+t+")");h.type=u,h.request=t,c[1](h)}a[n]=void 0}};var k=setTimeout(function(){h({type:"timeout",target:d})},12e4);d.onerror=d.onload=h,r.appendChild(d)}return Promise.all(e)},f.m=n,f.c=u,f.d=function(n,e,c){f.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:c})},f.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},f.t=function(n,e){if(1&e&&(n=f(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var c=Object.create(null);if(f.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var u in n)f.d(c,u,function(e){return n[e]}.bind(null,u));return c},f.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return f.d(e,"a",e),e},f.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},f.p="/",f.oe=function(n){throw console.error(n),n};var r=window.webpackJsonp=window.webpackJsonp||[],d=r.push.bind(r);r.push=e,r=r.slice();for(var k=0;k<r.length;k++)e(r[k]);var o=d;c()}([]);</script><script src=/static/js/chunk-elementUI.0b8d1800.js></script><script src=/static/js/chunk-libs.028865ab.js></script><script src=/static/js/app.dc352e54.js></script></body></html> <!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"><title>更美社区后台</title><link rel="shortcut icon" href=/favicon.ico><link href=/static/css/chunk-elementUI.e8091cad.css rel=stylesheet><link href=/static/css/chunk-libs.825f9043.css rel=stylesheet><link href=/static/css/app.a0140e91.css rel=stylesheet></head><body><script src=/static/tinymce4.7.5/tinymce.min.js></script><script src=/static/jquery.min.js></script><script src=/static/webuploader.min.js></script><div id=app></div><script>!function(n){function e(e){for(var u,t,r=e[0],f=e[1],d=e[2],k=0,b=[];k<r.length;k++)t=r[k],a[t]&&b.push(a[t][0]),a[t]=0;for(u in f)Object.prototype.hasOwnProperty.call(f,u)&&(n[u]=f[u]);for(o&&o(e);b.length;)b.shift()();return h.push.apply(h,d||[]),c()}function c(){for(var n,e=0;e<h.length;e++){for(var c=h[e],u=!0,t=1;t<c.length;t++){var f=c[t];0!==a[f]&&(u=!1)}u&&(h.splice(e--,1),n=r(r.s=c[0]))}return n}var u={},t={runtime:0},a={runtime:0},h=[];function r(e){if(u[e])return u[e].exports;var c=u[e]={i:e,l:!1,exports:{}};return n[e].call(c.exports,c,c.exports,r),c.l=!0,c.exports}r.e=function(n){var e=[];t[n]?e.push(t[n]):0!==t[n]&&{"chunk-4d21":1,"chunk-99f0":1,"chunk-afdb":1,"chunk-b58b":1,"chunk-commons":1,"chunk-059d":1,"chunk-0814":1,"chunk-0b5f":1,"chunk-0e47":1,"chunk-12c1":1,"chunk-13cb":1,"chunk-169f":1,"chunk-1fb4":1,"chunk-2ada":1,"chunk-2dde":1,"chunk-366e":1,"chunk-4010":1,"chunk-496d":1,"chunk-4f37":1,"chunk-515c":1,"chunk-5b54":1,"chunk-5e3b":1,"chunk-6006":1,"chunk-61ee":1,"chunk-659d":1,"chunk-5c0f":1,"chunk-6a71":1,"chunk-70b8":1,"chunk-b1c8":1,"chunk-6f28":1,"chunk-75fb":1,"chunk-7c23":1,"chunk-7f1d":1,"chunk-a2a7":1,"chunk-a570":1,"chunk-d3a7":1,"chunk-ddcf":1}[n]&&e.push(t[n]=new Promise(function(e,c){for(var u="static/css/"+({"chunk-commons":"chunk-commons"}[n]||n)+"."+{"7zzA":"31d6cfe0",JEtC:"31d6cfe0","chunk-4d21":"edc879c0","chunk-99f0":"2cb13940","chunk-afdb":"069c376d","chunk-b58b":"79629c97","chunk-commons":"a93bab1c","chunk-059d":"6690256b","chunk-0814":"877d5d6d","chunk-0b5f":"6fa34439","chunk-0e47":"b42b6636","chunk-12c1":"3d07938a","chunk-13cb":"893a6b67","chunk-169f":"b42b6636","chunk-1fb4":"90a1b745","chunk-2ada":"f97e31da","chunk-2dde":"db982c42","chunk-366e":"f3b30e27","chunk-4010":"1e47e40a","chunk-496d":"90a1b745","chunk-4f37":"8b68c420","chunk-515c":"4c4f48e2","chunk-5b54":"d6eeea7d","chunk-5e3b":"7431cc5f","chunk-6006":"6fa34439","chunk-61ee":"d56e7a3d","chunk-659d":"a613de32","chunk-5c0f":"a8b15ea3","chunk-6a71":"baf75f62",SoCV:"31d6cfe0",VwWe:"31d6cfe0","chunk-70b8":"aff3634a","chunk-b1c8":"aff3634a","chunk-6f28":"76f2387e","chunk-75fb":"f97e31da","chunk-7c23":"4c4f48e2","chunk-7f1d":"107d05b5","/P8B":"31d6cfe0",Gbeq:"31d6cfe0","chunk-a2a7":"76f2387e","chunk-a570":"877d5d6d","chunk-d3a7":"57a7c2d4",Q2Zf:"31d6cfe0",ZMmy:"31d6cfe0","chunk-ddcf":"cfa3a855"}[n]+".css",t=r.p+u,a=document.getElementsByTagName("link"),h=0;h<a.length;h++){var f=(k=a[h]).getAttribute("data-href")||k.getAttribute("href");if("stylesheet"===k.rel&&(f===u||f===t))return e()}var d=document.getElementsByTagName("style");for(h=0;h<d.length;h++){var k;if((f=(k=d[h]).getAttribute("data-href"))===u||f===t)return e()}var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.onload=e,o.onerror=function(e){var u=e&&e.target&&e.target.src||t,a=new Error("Loading CSS chunk "+n+" failed.\n("+u+")");a.request=u,c(a)},o.href=t,document.getElementsByTagName("head")[0].appendChild(o)}).then(function(){t[n]=0}));var c=a[n];if(0!==c)if(c)e.push(c[2]);else{var u=new Promise(function(e,u){c=a[n]=[e,u]});e.push(c[2]=u);var h,f=document.getElementsByTagName("head")[0],d=document.createElement("script");d.charset="utf-8",d.timeout=120,r.nc&&d.setAttribute("nonce",r.nc),d.src=function(n){return r.p+"static/js/"+({"chunk-commons":"chunk-commons"}[n]||n)+"."+{"7zzA":"acd9b7e4",JEtC:"d582661d","chunk-4d21":"046675d7","chunk-99f0":"340f2985","chunk-afdb":"f15e873d","chunk-b58b":"a9b37905","chunk-commons":"ba181541","chunk-059d":"5a68493c","chunk-0814":"bdbc6d7d","chunk-0b5f":"0c650a17","chunk-0e47":"51665ab1","chunk-12c1":"4162084d","chunk-13cb":"8570b7a7","chunk-169f":"be1e0fa9","chunk-1fb4":"14139e95","chunk-2ada":"4b433059","chunk-2dde":"85d19649","chunk-366e":"c500e438","chunk-4010":"c581901d","chunk-496d":"4e79015d","chunk-4f37":"896bff3d","chunk-515c":"8eeb0ed3","chunk-5b54":"3cacaddf","chunk-5e3b":"1510696f","chunk-6006":"3f97a34a","chunk-61ee":"165c6019","chunk-659d":"758af730","chunk-5c0f":"ca8382de","chunk-6a71":"bd7fa17b",SoCV:"49bd7f8a",VwWe:"37520311","chunk-70b8":"f4169e87","chunk-b1c8":"999e3ed0","chunk-6f28":"631c51da","chunk-75fb":"4f33f854","chunk-7c23":"d77f983c","chunk-7f1d":"5f80b54a","/P8B":"7f6807b2",Gbeq:"42306eb5","chunk-a2a7":"8c69f1d1","chunk-a570":"bc8d3f3c","chunk-d3a7":"04dfa9ed",Q2Zf:"159a6cad",ZMmy:"fbf2ec27","chunk-ddcf":"4e39e698"}[n]+".js"}(n),h=function(e){d.onerror=d.onload=null,clearTimeout(k);var c=a[n];if(0!==c){if(c){var u=e&&("load"===e.type?"missing":e.type),t=e&&e.target&&e.target.src,h=new Error("Loading chunk "+n+" failed.\n("+u+": "+t+")");h.type=u,h.request=t,c[1](h)}a[n]=void 0}};var k=setTimeout(function(){h({type:"timeout",target:d})},12e4);d.onerror=d.onload=h,f.appendChild(d)}return Promise.all(e)},r.m=n,r.c=u,r.d=function(n,e,c){r.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:c})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,e){if(1&e&&(n=r(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var c=Object.create(null);if(r.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var u in n)r.d(c,u,function(e){return n[e]}.bind(null,u));return c},r.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(e,"a",e),e},r.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},r.p="/",r.oe=function(n){throw console.error(n),n};var f=window.webpackJsonp=window.webpackJsonp||[],d=f.push.bind(f);f.push=e,f=f.slice();for(var k=0;k<f.length;k++)e(f[k]);var o=d;c()}([]);</script><script src=/static/js/chunk-elementUI.0b8d1800.js></script><script src=/static/js/chunk-libs.028865ab.js></script><script src=/static/js/app.b5cf0dcd.js></script></body></html>
\ No newline at end of file \ 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}.edit-input[data-v-38b2a7f7]{padding-right:100px}.cancel-btn[data-v-38b2a7f7]{position:absolute;right:15px;top:10px} .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}.edit-input[data-v-387a0cc9]{padding-right:100px}.cancel-btn[data-v-387a0cc9]{position:absolute;right:15px;top:10px}
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2dde"],{"+AeS":function(t,e,i){"use strict";var n=i("4XRr");i.n(n).a},"4XRr":function(t,e,i){},"5xsC":function(t,e,i){"use strict";i.r(e);var n=i("gDS+"),l=i.n(n),a=i("ESsw"),o=i("Mz3J"),r=i("ZySA"),s={name:"PickList",components:{Pagination:o.a},filters:{isOnlineFilter:function(t){return{1:"success",0:"info"}[t]},genderFilter:function(t){return{"男":"success","女":"info","全部":"danger"}[t]}},directives:{waves:r.a},data:function(){return{list:null,total:0,listLoading:!0,multipleSelection:[],del_list:[],listQuery:{page:1,limit:10,filter:{value:"",key:"",is_online:""}},BooleanTypeOptions:[{key:1,display_name:"是"},{key:0,display_name:"否"}],SearchTypeOptions:[{key:"id",display_name:"ID"},{key:"name",display_name:"pick名称"}]}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(a.h)(this.listQuery).then(function(e){t.list=e.data.data.data,t.total=e.data.data.total,t.listLoading=!1})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.listQuery.limit=t,this.getList()},handleCurrentChange:function(t){this.listQuery.page=t,this.getList()},handleOfflineOrOnline:function(t){var e=this,i=this.multipleSelection.length,n=[],o={};this.del_list=this.del_list.concat(this.multipleSelection);for(var r=0;r<i;r++)"offline"===t?(this.multipleSelection[r].is_online=0,o.is_online=0):(this.multipleSelection[r].is_online=1,o.is_online=1),n.push(this.multipleSelection[r].id);Object(a.c)({updates:l()(o),ids:l()(n)}).then(function(t){e.multipleSelection=[],e.$message.success(t.data.data.message)})},handleFilter:function(){this.listQuery.page=1,this.getList()},handleCreate:function(){this.$router.push("/pick/create")}}},c=(i("+AeS"),i("KHd+")),u=Object(c.a)(s,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:"搜素"},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.handleFilter(e):null}},model:{value:t.listQuery.filter.value,callback:function(e){t.$set(t.listQuery.filter,"value",e)},expression:"listQuery.filter.value"}}),t._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"搜索字段",clearable:""},model:{value:t.listQuery.filter.key,callback:function(e){t.$set(t.listQuery.filter,"key",e)},expression:"listQuery.filter.key"}},t._l(t.SearchTypeOptions,function(t){return i("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})})),t._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"100px"},attrs:{placeholder:"上线",clearable:""},model:{value:t.listQuery.filter.is_online,callback:function(e){t.$set(t.listQuery.filter,"is_online",e)},expression:"listQuery.filter.is_online"}},t._l(t.BooleanTypeOptions,function(t){return i("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})})),t._v(" "),i("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.handleFilter}},[t._v("搜索")]),t._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:t.handleCreate}},[t._v("创建")]),t._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(e){t.handleOfflineOrOnline("offline")}}},[t._v("下线")]),t._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(e){t.handleOfflineOrOnline("online")}}},[t._v("上线")])],1),t._v(" "),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.list,border:"",fit:"","highlight-current-row":""},on:{"selection-change":t.handleSelectionChange}},[i("el-table-column",{attrs:{type:"selection",align:"center"}}),t._v(" "),i("el-table-column",{attrs:{align:"center",label:"pickID",width:"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("router-link",{staticClass:"link-type",attrs:{to:{path:"/pick/edit/"+e.row.id,query:{pick_type:e.row.pick_type_origin}}}},[i("span",[t._v(t._s(e.row.id))])])]}}])}),t._v(" "),i("el-table-column",{attrs:{align:"center",label:"pick名称"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("span",[t._v(t._s(e.row.name))])]}}])}),t._v(" "),i("el-table-column",{attrs:{align:"center",label:"pick简介"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("span",[t._v(t._s(e.row.desc))])]}}])}),t._v(" "),i("el-table-column",{attrs:{align:"center",label:"pick用户"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("span",[t._v(t._s(e.row.user_nums))])]}}])}),t._v(" "),i("el-table-column",{attrs:{align:"center",label:"pick属性"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("span",[t._v(t._s(e.row.pick_type))])]}}])}),t._v(" "),i("el-table-column",{attrs:{align:"center",label:"性别"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-tag",{attrs:{type:t._f("genderFilter")(e.row.gender)}},[t._v(t._s(e.row.gender))])]}}])}),t._v(" "),i("el-table-column",{attrs:{align:"center",label:"地区"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("span",[t._v(t._s(e.row.country))])]}}])}),t._v(" "),i("el-table-column",{attrs:{align:"center",label:"是否在线"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-tag",{attrs:{type:t._f("isOnlineFilter")(e.row.is_online)}},[t._v(t._s(1==e.row.is_online?"是":"否"))])]}}])})],1),t._v(" "),i("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],staticStyle:{"margin-left":"250px"},attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){t.$set(t.listQuery,"page",e)},"update:limit":function(e){t.$set(t.listQuery,"limit",e)},pagination:t.getList}})],1)},[],!1,null,"387a0cc9",null);u.options.__file="list.vue";e.default=u.exports},ESsw:function(t,e,i){"use strict";i.d(e,"h",function(){return l}),i.d(e,"c",function(){return a}),i.d(e,"b",function(){return o}),i.d(e,"j",function(){return r}),i.d(e,"k",function(){return s}),i.d(e,"i",function(){return c}),i.d(e,"a",function(){return u}),i.d(e,"e",function(){return d}),i.d(e,"d",function(){return p}),i.d(e,"f",function(){return f}),i.d(e,"g",function(){return m});var n=i("t3Un");function l(t){return Object(n.a)({url:"/api/pick/list",method:"get",params:t})}function a(t){return console.log(t),Object(n.a)({url:"/api/pick/list/update",method:"post",data:t})}function o(t){return Object(n.a)({url:"/api/pick/create",method:"post",data:t})}function r(t){return Object(n.a)({url:"/api/pick/detail",method:"get",params:{id:t}})}function s(t){return Object(n.a)({url:"/api/pick/topic/list",method:"get",params:t})}function c(t){return Object(n.a)({url:"/api/pick/celebrity/list",method:"get",params:t})}function u(t){return Object(n.a)({url:"/api/pick/add_fake_pick_nums",method:"post",data:t})}function d(t){return Object(n.a)({url:"/api/pick/topic",method:"post",data:t})}function p(t){return Object(n.a)({url:"/api/pick/celebrity",method:"post",data:t})}function f(t){return Object(n.a)({url:"/api/pick/del_celebrity",method:"post",data:t})}function m(t){return Object(n.a)({url:"/api/pick/del_topic",method:"post",data:t})}},Y5bG:function(t,e,i){"use strict";i.d(e,"a",function(){return l}),Math.easeInOutQuad=function(t,e,i,n){return(t/=n/2)<1?i/2*t*t+e:-i/2*(--t*(t-2)-1)+e};var n=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)};function l(t,e,i){var l=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,a=t-l,o=0;e=void 0===e?500:e;!function t(){o+=20,function(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}(Math.easeInOutQuad(o,l,a,e)),o<e?n(t):i&&"function"==typeof i&&i()}()}},ZySA:function(t,e,i){"use strict";var n=i("P2sY"),l=i.n(n),a=(i("jUE0"),{bind:function(t,e){t.addEventListener("click",function(i){var n=l()({},e.value),a=l()({ele:t,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")).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}},!1)}}),o=function(t){t.directive("waves",a)};window.Vue&&(window.waves=a,Vue.use(o)),a.install=o;e.a=a},"gDS+":function(t,e,i){t.exports={default:i("oh+g"),__esModule:!0}},jUE0:function(t,e,i){},"oh+g":function(t,e,i){var n=i("WEpk"),l=n.JSON||(n.JSON={stringify:JSON.stringify});t.exports=function(t){return l.stringify.apply(l,arguments)}}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-4f86"],{"5nKQ":function(t,e,n){"use strict";var i=n("EMnK");n.n(i).a},"5xsC":function(t,e,n){"use strict";n.r(e);var i=n("gDS+"),l=n.n(i),a=n("ESsw"),o=n("Mz3J"),r=n("ZySA"),s={name:"PickList",components:{Pagination:o.a},filters:{isOnlineFilter:function(t){return{1:"success",0:"info"}[t]},genderFilter:function(t){return{"男":"success","女":"info","全部":"danger"}[t]}},directives:{waves:r.a},data:function(){return{list:null,total:0,listLoading:!0,multipleSelection:[],del_list:[],listQuery:{page:1,limit:10,filter:{value:"",key:"",is_online:""}},BooleanTypeOptions:[{key:1,display_name:"是"},{key:0,display_name:"否"}],SearchTypeOptions:[{key:"id",display_name:"ID"},{key:"name",display_name:"pick名称"}]}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(a.h)(this.listQuery).then(function(e){t.list=e.data.data.data,t.total=e.data.data.total,t.listLoading=!1})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.listQuery.limit=t,this.getList()},handleCurrentChange:function(t){this.listQuery.page=t,this.getList()},handleOfflineOrOnline:function(t){var e=this,n=this.multipleSelection.length,i={};this.del_list=this.del_list.concat(this.multipleSelection);for(var o=0;o<n;o++)"offline"===t?(this.multipleSelection[o].is_online=0,i.is_online=0):(this.multipleSelection[o].is_online=1,i.is_online=1),str+=this.multipleSelection[o].id+" ";Object(a.c)({updates:l()(i),ids:l()([])}).then(function(t){e.multipleSelection=[],e.$message.success(t.data.data.message)})},handleFilter:function(){this.listQuery.page=1,this.getList()},handleCreate:function(){this.$router.push("/pick/create")}}},c=(n("5nKQ"),n("KHd+")),u=Object(c.a)(s,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"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.handleFilter(e):null}},model:{value:t.listQuery.filter.value,callback:function(e){t.$set(t.listQuery.filter,"value",e)},expression:"listQuery.filter.value"}}),t._v(" "),n("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"搜索字段",clearable:""},model:{value:t.listQuery.filter.key,callback:function(e){t.$set(t.listQuery.filter,"key",e)},expression:"listQuery.filter.key"}},t._l(t.SearchTypeOptions,function(t){return n("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})})),t._v(" "),n("el-select",{staticClass:"filter-item",staticStyle:{width:"100px"},attrs:{placeholder:"上线",clearable:""},model:{value:t.listQuery.filter.is_online,callback:function(e){t.$set(t.listQuery.filter,"is_online",e)},expression:"listQuery.filter.is_online"}},t._l(t.BooleanTypeOptions,function(t){return n("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})})),t._v(" "),n("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.handleFilter}},[t._v("搜索")]),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._v(" "),n("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(e){t.handleOfflineOrOnline("offline")}}},[t._v("下线")]),t._v(" "),n("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(e){t.handleOfflineOrOnline("online")}}},[t._v("上线")])],1),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.list,border:"",fit:"","highlight-current-row":""},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",align:"center"}}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"pickID",width:"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("router-link",{staticClass:"link-type",attrs:{to:{path:"/pick/edit/"+e.row.id,query:{pick_type:e.row.pick_type_origin}}}},[n("span",[t._v(t._s(e.row.id))])])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"pick名称"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.name))])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"pick简介"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.desc))])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"pick用户"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.user_nums))])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"pick属性"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.pick_type))])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"性别"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-tag",{attrs:{type:t._f("genderFilter")(e.row.gender)}},[t._v(t._s(e.row.gender))])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"地区"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.country))])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"是否在线"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-tag",{attrs:{type:t._f("isOnlineFilter")(e.row.is_online)}},[t._v(t._s(1==e.row.is_online?"是":"否"))])]}}])})],1),t._v(" "),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],staticStyle:{"margin-left":"250px"},attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){t.$set(t.listQuery,"page",e)},"update:limit":function(e){t.$set(t.listQuery,"limit",e)},pagination:t.getList}})],1)},[],!1,null,"38b2a7f7",null);u.options.__file="list.vue";e.default=u.exports},EMnK:function(t,e,n){},ESsw:function(t,e,n){"use strict";n.d(e,"h",function(){return l}),n.d(e,"c",function(){return a}),n.d(e,"b",function(){return o}),n.d(e,"j",function(){return r}),n.d(e,"k",function(){return s}),n.d(e,"i",function(){return c}),n.d(e,"a",function(){return u}),n.d(e,"e",function(){return d}),n.d(e,"d",function(){return p}),n.d(e,"f",function(){return f}),n.d(e,"g",function(){return m});var i=n("t3Un");function l(t){return Object(i.a)({url:"/api/pick/list",method:"get",params:t})}function a(t){return console.log(t),Object(i.a)({url:"/api/pick/list/update",method:"post",data:t})}function o(t){return Object(i.a)({url:"/api/pick/create",method:"post",data:t})}function r(t){return Object(i.a)({url:"/api/pick/detail",method:"get",params:{id:t}})}function s(t){return Object(i.a)({url:"/api/pick/topic/list",method:"get",params:t})}function c(t){return Object(i.a)({url:"/api/pick/celebrity/list",method:"get",params:t})}function u(t){return Object(i.a)({url:"/api/pick/add_fake_pick_nums",method:"post",data:t})}function d(t){return Object(i.a)({url:"/api/pick/topic",method:"post",data:t})}function p(t){return Object(i.a)({url:"/api/pick/celebrity",method:"post",data:t})}function f(t){return Object(i.a)({url:"/api/pick/del_celebrity",method:"post",data:t})}function m(t){return Object(i.a)({url:"/api/pick/del_topic",method:"post",data:t})}},Y5bG:function(t,e,n){"use strict";n.d(e,"a",function(){return l}),Math.easeInOutQuad=function(t,e,n,i){return(t/=i/2)<1?n/2*t*t+e:-n/2*(--t*(t-2)-1)+e};var i=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)};function l(t,e,n){var l=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,a=t-l,o=0;e=void 0===e?500:e;!function t(){o+=20,function(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}(Math.easeInOutQuad(o,l,a,e)),o<e?i(t):n&&"function"==typeof n&&n()}()}},ZySA:function(t,e,n){"use strict";var i=n("P2sY"),l=n.n(i),a=(n("jUE0"),{bind:function(t,e){t.addEventListener("click",function(n){var i=l()({},e.value),a=l()({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")).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}},!1)}}),o=function(t){t.directive("waves",a)};window.Vue&&(window.waves=a,Vue.use(o)),a.install=o;e.a=a},"gDS+":function(t,e,n){t.exports={default:n("oh+g"),__esModule:!0}},jUE0:function(t,e,n){},"oh+g":function(t,e,n){var i=n("WEpk"),l=i.JSON||(i.JSON={stringify:JSON.stringify});t.exports=function(t){return l.stringify.apply(l,arguments)}}}]);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment