Commit cbc198bf authored by Davve's avatar Davve

run build

parent 4c67e4bf
<!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 c(c){for(var u,t,f=c[0],r=c[1],d=c[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(c);b.length;)b.shift()();return h.push.apply(h,d||[]),e()}function e(){for(var n,c=0;c<h.length;c++){for(var e=h[c],u=!0,t=1;t<e.length;t++){var r=e[t];0!==a[r]&&(u=!1)}u&&(h.splice(c--,1),n=f(f.s=e[0]))}return n}var u={},t={runtime:0},a={runtime:0},h=[];function f(c){if(u[c])return u[c].exports;var e=u[c]={i:c,l:!1,exports:{}};return n[c].call(e.exports,e,e.exports,f),e.l=!0,e.exports}f.e=function(n){var c=[];t[n]?c.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-438a":1,"chunk-496d":1,"chunk-4f37":1,"chunk-4f86":1,"chunk-515c":1,"chunk-5675":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]&&c.push(t[n]=new Promise(function(c,e){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-438a":"ff7f6ac8","chunk-496d":"90a1b745","chunk-4f37":"8b68c420","chunk-4f86":"94e51369","chunk-515c":"4c4f48e2","chunk-5675":"d2cc064a","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 c()}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 c()}var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.onload=c,o.onerror=function(c){var u=c&&c.target&&c.target.src||t,a=new Error("Loading CSS chunk "+n+" failed.\n("+u+")");a.request=u,e(a)},o.href=t,document.getElementsByTagName("head")[0].appendChild(o)}).then(function(){t[n]=0}));var e=a[n];if(0!==e)if(e)c.push(e[2]);else{var u=new Promise(function(c,u){e=a[n]=[c,u]});c.push(e[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-438a":"0ccabd41","chunk-496d":"4e79015d","chunk-4f37":"896bff3d","chunk-4f86":"99076aae","chunk-515c":"8eeb0ed3","chunk-5675":"415d1f8d","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(c){d.onerror=d.onload=null,clearTimeout(k);var e=a[n];if(0!==e){if(e){var u=c&&("load"===c.type?"missing":c.type),t=c&&c.target&&c.target.src,h=new Error("Loading chunk "+n+" failed.\n("+u+": "+t+")");h.type=u,h.request=t,e[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(c)},f.m=n,f.c=u,f.d=function(n,c,e){f.o(n,c)||Object.defineProperty(n,c,{enumerable:!0,get:e})},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,c){if(1&c&&(n=f(n)),8&c)return n;if(4&c&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(f.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&c&&"string"!=typeof n)for(var u in n)f.d(e,u,function(c){return n[c]}.bind(null,u));return e},f.n=function(n){var c=n&&n.__esModule?function(){return n.default}:function(){return n};return f.d(c,"a",c),c},f.o=function(n,c){return Object.prototype.hasOwnProperty.call(n,c)},f.p="/",f.oe=function(n){throw console.error(n),n};var r=window.webpackJsonp=window.webpackJsonp||[],d=r.push.bind(r);r.push=c,r=r.slice();for(var k=0;k<r.length;k++)c(r[k]);var o=d;e()}([]);</script><script src=/static/js/chunk-elementUI.0b8d1800.js></script><script src=/static/js/chunk-libs.028865ab.js></script><script src=/static/js/app.b84b139f.js></script></body></html>
\ No newline at end of file
<!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 c(c){for(var u,t,f=c[0],r=c[1],d=c[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(c);b.length;)b.shift()();return h.push.apply(h,d||[]),e()}function e(){for(var n,c=0;c<h.length;c++){for(var e=h[c],u=!0,t=1;t<e.length;t++){var r=e[t];0!==a[r]&&(u=!1)}u&&(h.splice(c--,1),n=f(f.s=e[0]))}return n}var u={},t={runtime:0},a={runtime:0},h=[];function f(c){if(u[c])return u[c].exports;var e=u[c]={i:c,l:!1,exports:{}};return n[c].call(e.exports,e,e.exports,f),e.l=!0,e.exports}f.e=function(n){var c=[];t[n]?c.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-438a":1,"chunk-496d":1,"chunk-4f37":1,"chunk-4f86":1,"chunk-515c":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]&&c.push(t[n]=new Promise(function(c,e){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-438a":"ff7f6ac8","chunk-496d":"90a1b745","chunk-4f37":"8b68c420","chunk-4f86":"94e51369","chunk-515c":"4c4f48e2","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 c()}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 c()}var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.onload=c,o.onerror=function(c){var u=c&&c.target&&c.target.src||t,a=new Error("Loading CSS chunk "+n+" failed.\n("+u+")");a.request=u,e(a)},o.href=t,document.getElementsByTagName("head")[0].appendChild(o)}).then(function(){t[n]=0}));var e=a[n];if(0!==e)if(e)c.push(e[2]);else{var u=new Promise(function(c,u){e=a[n]=[c,u]});c.push(e[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-438a":"0ccabd41","chunk-496d":"4e79015d","chunk-4f37":"896bff3d","chunk-4f86":"99076aae","chunk-515c":"8eeb0ed3","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(c){d.onerror=d.onload=null,clearTimeout(k);var e=a[n];if(0!==e){if(e){var u=c&&("load"===c.type?"missing":c.type),t=c&&c.target&&c.target.src,h=new Error("Loading chunk "+n+" failed.\n("+u+": "+t+")");h.type=u,h.request=t,e[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(c)},f.m=n,f.c=u,f.d=function(n,c,e){f.o(n,c)||Object.defineProperty(n,c,{enumerable:!0,get:e})},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,c){if(1&c&&(n=f(n)),8&c)return n;if(4&c&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(f.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&c&&"string"!=typeof n)for(var u in n)f.d(e,u,function(c){return n[c]}.bind(null,u));return e},f.n=function(n){var c=n&&n.__esModule?function(){return n.default}:function(){return n};return f.d(c,"a",c),c},f.o=function(n,c){return Object.prototype.hasOwnProperty.call(n,c)},f.p="/",f.oe=function(n){throw console.error(n),n};var r=window.webpackJsonp=window.webpackJsonp||[],d=r.push.bind(r);r.push=c,r=r.slice();for(var k=0;k<r.length;k++)c(r[k]);var o=d;e()}([]);</script><script src=/static/js/chunk-elementUI.0b8d1800.js></script><script src=/static/js/chunk-libs.028865ab.js></script><script src=/static/js/app.1d751c0f.js></script></body></html>
\ 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-3b081dd4]{padding-right:100px}.cancel-btn[data-v-3b081dd4]{position:absolute;right:15px;top:10px}
\ 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-71130a0e]{padding-right:100px}.cancel-btn[data-v-71130a0e]{position:absolute;right:15px;top:10px}
\ 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-4010"],{"51J7":function(e,t,i){},LLqK:function(e,t,i){"use strict";var n=i("51J7");i.n(n).a},OQMk:function(e,t,i){"use strict";i.r(t);var n=i("gDS+"),l=i.n(n),a=i("QbLZ"),s=i.n(a),r=i("wk8/"),o=i("Mz3J"),u=i("ZySA"),c=i("L2JU"),d={name:"UserList",components:{Pagination:o.a},filters:{isOnlineFilter:function(e){return{true:"success",false:"info"}[e]},genderFilter:function(e){return{"男":"success","女":"info","全部":"danger"}[e]}},directives:{waves:u.a},data:function(){return{adminRole:!0,list:null,total:0,listLoading:!0,multipleSelection:[],del_list:[],listQuery:{page:1,limit:10,filter:{value:"",key:"",is_online:"",is_recommend:""}},ReBooleanTypeOptions:[{key:"1",display_name:"是"},{key:"0",display_name:"否"}],IdentifyTypeOptions:[{key:1,display_name:"组长"},{key:2,display_name:"管理员"},{key:3,display_name:"长老"},{key:4,display_name:"普通群员"}],UserTypeOptions:[{key:"0",display_name:"普通用户"},{key:"1",display_name:"马甲用户"}],SearchTypeOptions:[{key:"id",display_name:"ID"},{key:"user_id",display_name:"用户ID"},{key:"nick_name",display_name:"用户名"},{key:"phone_num",display_name:"联系电话"}]}},created:function(){this.getList()},computed:s()({},Object(c.b)(["roles"])),methods:{getList:function(){var e=this;this.listLoading=!0,this.listQuery.group_id=this.$route.query.group_id,Object(r.c)(this.listQuery).then(function(t){e.list=t.data.data.data,e.total=t.data.data.total,e.listLoading=!1})},handleSelectionChange:function(e){this.multipleSelection=e},handleSizeChange:function(e){this.listQuery.limit=e,this.getList()},handleCurrentChange:function(e){this.listQuery.page=e,this.getList()},handleOfflineOrOnline:function(e){var t=this,i=this.multipleSelection.length,n=[],a={};this.del_list=this.del_list.concat(this.multipleSelection);for(var s=0;s<i;s++)"offline"===e?(this.multipleSelection[s].is_online=0,a.is_online=0):"recommend"===e?(this.multipleSelection[s].is_recommend=0,a.is_recommend=0):(this.multipleSelection[s].is_online=1,a.is_online=1),n.push(this.multipleSelection[s].user_id);Object(r.a)({updates:l()(a),ids:l()(n)}).then(function(e){t.multipleSelection=[],t.$message.success(e.data.data.message),setTimeout(function(){t.$router.go(0)},1500)})},handleFilter:function(){this.listQuery.page=1,this.getList()},handleCreate:function(){this.$router.push("/user/create")}}},p=(i("LLqK"),i("KHd+")),f=Object(p.a)(d,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:"180px"},attrs:{placeholder:"搜素"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.handleFilter(t):null}},model:{value:e.listQuery.filter.value,callback:function(t){e.$set(e.listQuery.filter,"value",t)},expression:"listQuery.filter.value"}}),e._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"搜索字段",clearable:""},model:{value:e.listQuery.filter.key,callback:function(t){e.$set(e.listQuery.filter,"key",t)},expression:"listQuery.filter.key"}},e._l(e.SearchTypeOptions,function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"用户身份",clearable:""},model:{value:e.listQuery.filter.user_type,callback:function(t){e.$set(e.listQuery.filter,"user_type",t)},expression:"listQuery.filter.user_type"}},e._l(e.UserTypeOptions,function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"100px"},attrs:{placeholder:"推荐",clearable:""},model:{value:e.listQuery.filter.is_recommend,callback:function(t){e.$set(e.listQuery.filter,"is_recommend",t)},expression:"listQuery.filter.is_recommend"}},e._l(e.ReBooleanTypeOptions,function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),i("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v("搜索")]),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("创建\n ")]),e._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.handleOfflineOrOnline("recommend")}}},[e._v("推荐\n ")]),e._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.handleOfflineOrOnline("offline")}}},[e._v("下线\n ")]),e._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.handleOfflineOrOnline("online")}}},[e._v("上线\n ")])],1),e._v(" "),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"selection-change":e.handleSelectionChange}},[i("el-table-column",{attrs:{type:"selection",align:"center"}}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"ID"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.id))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"用户ID ",width:"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("router-link",{staticClass:"link-type",attrs:{to:"/user/edit/"+t.row.user_id}},[i("span",[e._v(e._s(t.row.user_id))])])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"用户名"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.nick_name))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"是否在线"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-tag",{attrs:{type:e._f("isOnlineFilter")(t.row.is_online)}},[e._v(e._s(1==t.row.is_online?"是":"否"))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"邮箱"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.email))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"关注小组"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("router-link",{staticClass:"link-type",attrs:{to:{path:"/group/list/",query:{user_id:t.row.user_id}}}},[i("span",[e._v(e._s(t.row.group_nums))])])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"帖子数"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("router-link",{staticClass:"link-type",attrs:{to:{path:"/topic/list/",query:{user_id:t.row.user_id}}}},[i("span",[e._v(e._s(t.row.topic_nums))])])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"用户身份"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.user_identify))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"是否推荐"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-tag",{attrs:{type:e._f("isOnlineFilter")(t.row.is_recommend)}},[e._v(e._s(1==t.row.is_recommend?"是":"否")+"\n ")])]}}])}),e._v("\n is_recommend\n\n ")],1),e._v(" "),i("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],staticStyle:{"margin-left":"250px"},attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){e.$set(e.listQuery,"page",t)},"update:limit":function(t){e.$set(e.listQuery,"limit",t)},pagination:e.getList}})],1)},[],!1,null,"71130a0e",null);f.options.__file="list.vue";t.default=f.exports},Y5bG:function(e,t,i){"use strict";i.d(t,"a",function(){return l}),Math.easeInOutQuad=function(e,t,i,n){return(e/=n/2)<1?i/2*e*e+t:-i/2*(--e*(e-2)-1)+t};var n=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};function l(e,t,i){var l=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,a=e-l,s=0;t=void 0===t?500:t;!function e(){s+=20,function(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}(Math.easeInOutQuad(s,l,a,t)),s<t?n(e):i&&"function"==typeof i&&i()}()}},ZySA:function(e,t,i){"use strict";var n=i("P2sY"),l=i.n(n),a=(i("jUE0"),{bind:function(e,t){e.addEventListener("click",function(i){var n=l()({},t.value),a=l()({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},n),s=a.ele;if(s){s.style.position="relative",s.style.overflow="hidden";var r=s.getBoundingClientRect(),o=s.querySelector(".waves-ripple");switch(o?o.className="waves-ripple":((o=document.createElement("span")).className="waves-ripple",o.style.height=o.style.width=Math.max(r.width,r.height)+"px",s.appendChild(o)),a.type){case"center":o.style.top=r.height/2-o.offsetHeight/2+"px",o.style.left=r.width/2-o.offsetWidth/2+"px";break;default:o.style.top=(i.pageY-r.top-o.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",o.style.left=(i.pageX-r.left-o.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return o.style.backgroundColor=a.color,o.className="waves-ripple z-active",!1}},!1)}}),s=function(e){e.directive("waves",a)};window.Vue&&(window.waves=a,Vue.use(s)),a.install=s;t.a=a},"gDS+":function(e,t,i){e.exports={default:i("oh+g"),__esModule:!0}},jUE0:function(e,t,i){},"oh+g":function(e,t,i){var n=i("WEpk"),l=n.JSON||(n.JSON={stringify:JSON.stringify});e.exports=function(e){return l.stringify.apply(l,arguments)}},"wk8/":function(e,t,i){"use strict";i.d(t,"c",function(){return l}),i.d(t,"a",function(){return a}),i.d(t,"b",function(){return s}),i.d(t,"d",function(){return r});var n=i("t3Un");function l(e){return Object(n.a)({url:"/api/user/list",method:"get",params:e})}function a(e){return Object(n.a)({url:"/api/user/list/update",method:"post",data:e})}function s(e){return Object(n.a)({url:"/api/user/get",method:"get",params:{id:e}})}function r(e){return Object(n.a)({url:"/api/user/create",method:"post",data:e})}}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-5675"],{"04wF":function(e,t,i){},OQMk:function(e,t,i){"use strict";i.r(t);var n=i("gDS+"),l=i.n(n),a=i("QbLZ"),s=i.n(a),r=i("wk8/"),o=i("Mz3J"),c=i("ZySA"),u=i("L2JU"),d={name:"UserList",components:{Pagination:o.a},filters:{isOnlineFilter:function(e){return{true:"success",false:"info"}[e]},genderFilter:function(e){return{"男":"success","女":"info","全部":"danger"}[e]}},directives:{waves:c.a},data:function(){return{adminRole:!0,list:null,total:0,listLoading:!0,multipleSelection:[],del_list:[],listQuery:{page:1,limit:10,filter:{value:"",key:"",is_online:"",is_recommend:""}},ReBooleanTypeOptions:[{key:"1",display_name:"是"},{key:"0",display_name:"否"}],IdentifyTypeOptions:[{key:1,display_name:"组长"},{key:2,display_name:"管理员"},{key:3,display_name:"长老"},{key:4,display_name:"普通群员"}],UserTypeOptions:[{key:"0",display_name:"普通用户"},{key:"1",display_name:"马甲用户"}],SearchTypeOptions:[{key:"id",display_name:"ID"},{key:"user_id",display_name:"用户ID"},{key:"nick_name",display_name:"用户名"},{key:"phone_num",display_name:"联系电话"}]}},created:function(){this.getList()},computed:s()({},Object(u.b)(["roles"])),methods:{getList:function(){var e=this;this.listLoading=!0,this.listQuery.group_id=this.$route.query.group_id,Object(r.c)(this.listQuery).then(function(t){e.list=t.data.data.data,e.total=t.data.data.total,e.listLoading=!1})},handleSelectionChange:function(e){this.multipleSelection=e},handleSizeChange:function(e){this.listQuery.limit=e,this.getList()},handleCurrentChange:function(e){this.listQuery.page=e,this.getList()},handleOfflineOrOnline:function(e){var t=this,i=this.multipleSelection.length,n=[],a={};this.del_list=this.del_list.concat(this.multipleSelection);for(var s=0;s<i;s++)"offline"===e?(this.multipleSelection[s].is_online=0,a.is_online=0):"recommend"===e?(this.multipleSelection[s].is_recommend=0,a.is_recommend=0):(this.multipleSelection[s].is_online=1,a.is_online=1),n.push(this.multipleSelection[s].user_id);Object(r.a)({updates:l()(a),ids:l()(n)}).then(function(e){t.multipleSelection=[],t.$message.success(e.data.data.message),setTimeout(function(){t.$router.go(0)},1500)})},handleFilter:function(){this.listQuery.page=1,this.getList()},handleCreate:function(){this.$router.push("/user/create")}}},p=(i("a6Nq"),i("KHd+")),f=Object(p.a)(d,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:"180px"},attrs:{placeholder:"搜素"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.handleFilter(t):null}},model:{value:e.listQuery.filter.value,callback:function(t){e.$set(e.listQuery.filter,"value",t)},expression:"listQuery.filter.value"}}),e._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"搜索字段",clearable:""},model:{value:e.listQuery.filter.key,callback:function(t){e.$set(e.listQuery.filter,"key",t)},expression:"listQuery.filter.key"}},e._l(e.SearchTypeOptions,function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"用户身份",clearable:""},model:{value:e.listQuery.filter.user_type,callback:function(t){e.$set(e.listQuery.filter,"user_type",t)},expression:"listQuery.filter.user_type"}},e._l(e.UserTypeOptions,function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"100px"},attrs:{placeholder:"推荐",clearable:""},model:{value:e.listQuery.filter.is_recommend,callback:function(t){e.$set(e.listQuery.filter,"is_recommend",t)},expression:"listQuery.filter.is_recommend"}},e._l(e.ReBooleanTypeOptions,function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),i("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v("搜索")]),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("创建\n ")]),e._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.handleOfflineOrOnline("recommend")}}},[e._v("推荐\n ")]),e._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.handleOfflineOrOnline("offline")}}},[e._v("下线\n ")]),e._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.handleOfflineOrOnline("online")}}},[e._v("上线\n ")]),e._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.handleOfflineOrOnline("online")}}},[e._v("上线\n ")])],1),e._v(" "),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"selection-change":e.handleSelectionChange}},[i("el-table-column",{attrs:{type:"selection",align:"center"}}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"ID"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.id))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"用户ID ",width:"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("router-link",{staticClass:"link-type",attrs:{to:"/user/edit/"+t.row.user_id}},[i("span",[e._v(e._s(t.row.user_id))])])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"用户名"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.nick_name))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"是否在线"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-tag",{attrs:{type:e._f("isOnlineFilter")(t.row.is_online)}},[e._v(e._s(1==t.row.is_online?"是":"否"))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"邮箱"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.email))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"关注小组"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("router-link",{staticClass:"link-type",attrs:{to:{path:"/group/list/",query:{user_id:t.row.user_id}}}},[i("span",[e._v(e._s(t.row.group_nums))])])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"帖子数"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("router-link",{staticClass:"link-type",attrs:{to:{path:"/topic/list/",query:{user_id:t.row.user_id}}}},[i("span",[e._v(e._s(t.row.topic_nums))])])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"用户身份"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.user_identify))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"是否推荐"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-tag",{attrs:{type:e._f("isOnlineFilter")(t.row.is_recommend)}},[e._v(e._s(1==t.row.is_recommend?"是":"否")+"\n ")])]}}])}),e._v("\n is_recommend\n\n ")],1),e._v(" "),i("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],staticStyle:{"margin-left":"250px"},attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){e.$set(e.listQuery,"page",t)},"update:limit":function(t){e.$set(e.listQuery,"limit",t)},pagination:e.getList}})],1)},[],!1,null,"3b081dd4",null);f.options.__file="list.vue";t.default=f.exports},Y5bG:function(e,t,i){"use strict";i.d(t,"a",function(){return l}),Math.easeInOutQuad=function(e,t,i,n){return(e/=n/2)<1?i/2*e*e+t:-i/2*(--e*(e-2)-1)+t};var n=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};function l(e,t,i){var l=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,a=e-l,s=0;t=void 0===t?500:t;!function e(){s+=20,function(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}(Math.easeInOutQuad(s,l,a,t)),s<t?n(e):i&&"function"==typeof i&&i()}()}},ZySA:function(e,t,i){"use strict";var n=i("P2sY"),l=i.n(n),a=(i("jUE0"),{bind:function(e,t){e.addEventListener("click",function(i){var n=l()({},t.value),a=l()({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},n),s=a.ele;if(s){s.style.position="relative",s.style.overflow="hidden";var r=s.getBoundingClientRect(),o=s.querySelector(".waves-ripple");switch(o?o.className="waves-ripple":((o=document.createElement("span")).className="waves-ripple",o.style.height=o.style.width=Math.max(r.width,r.height)+"px",s.appendChild(o)),a.type){case"center":o.style.top=r.height/2-o.offsetHeight/2+"px",o.style.left=r.width/2-o.offsetWidth/2+"px";break;default:o.style.top=(i.pageY-r.top-o.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",o.style.left=(i.pageX-r.left-o.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return o.style.backgroundColor=a.color,o.className="waves-ripple z-active",!1}},!1)}}),s=function(e){e.directive("waves",a)};window.Vue&&(window.waves=a,Vue.use(s)),a.install=s;t.a=a},a6Nq:function(e,t,i){"use strict";var n=i("04wF");i.n(n).a},"gDS+":function(e,t,i){e.exports={default:i("oh+g"),__esModule:!0}},jUE0:function(e,t,i){},"oh+g":function(e,t,i){var n=i("WEpk"),l=n.JSON||(n.JSON={stringify:JSON.stringify});e.exports=function(e){return l.stringify.apply(l,arguments)}},"wk8/":function(e,t,i){"use strict";i.d(t,"c",function(){return l}),i.d(t,"a",function(){return a}),i.d(t,"b",function(){return s}),i.d(t,"d",function(){return r});var n=i("t3Un");function l(e){return Object(n.a)({url:"/api/user/list",method:"get",params:e})}function a(e){return Object(n.a)({url:"/api/user/list/update",method:"post",data:e})}function s(e){return Object(n.a)({url:"/api/user/get",method:"get",params:{id:e}})}function r(e){return Object(n.a)({url:"/api/user/create",method:"post",data:e})}}}]);
\ 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