Commit 97a69a7f authored by 陈伟's avatar 陈伟

Merge branch 'feature/1.3_backend' into 'dev'

Feature/1.3 backend

See merge request alpha/sun!43
parents edd41e67 49e330fe
<!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
<!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>
\ 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-0185cc6d]{padding-right:100px}.cancel-btn[data-v-0185cc6d]{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-0aaea6c6]{padding-right:100px}.cancel-btn[data-v-0aaea6c6]{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-438a"],{"6ClW":function(e,t,i){"use strict";i.r(t);var l=i("gDS+"),n=i.n(l),s=i("D6yg"),a=i("Mz3J"),o=i("ZySA"),r={name:"TopicList",components:{Pagination:a.a},filters:{isOnlineFilter:function(e){return{1:"success",0:"info"}[e]},genderFilter:function(e){return{"男":"success","女":"info","全部":"danger"}[e]}},directives:{waves:o.a},data:function(){return{list:null,total:0,pageSize:[10,30,50,100,250],listLoading:!0,multipleSelection:[],del_list:[],listQuery:{page:0,limit:10,filter:{value:"",key:"",is_online:"",complaints__isnull:"",user__is_puppet:"",content_level:""},sort:["-id"]},BooleanTypeOptions:[{key:1,display_name:"是"},{key:0,display_name:"否"}],ReBooleanTypeOptions:[{key:"0",display_name:"是"},{key:"1",display_name:"否"}],SearchTypeOptions:[{key:"id",display_name:"帖子ID"},{key:"content",display_name:"帖子内容"},{key:"group__name",display_name:"小组"}],ContentLevelTypeOptions:[{key:0,display_name:"未审核"},{key:1,display_name:"星级一"},{key:2,display_name:"星级二"},{key:3,display_name:"星级三"},{key:4,display_name:"星级四"},{key:5,display_name:"星级五"}],dialogFormVisible:!1,is_click:!1,dialogStatus:"",select_start_time:"",select_end_time:""}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,this.listQuery.user_id=this.$route.query.user_id||"",this.listQuery.group_id=this.$route.query.group_id||"",Object(s.e)(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,l=[],a={};this.del_list=this.del_list.concat(this.multipleSelection);for(var o=0;o<i;o++)"offline"===e?(this.multipleSelection[o].is_online=0,a.is_online=0):(this.multipleSelection[o].is_online=1,a.is_online=1),l.push(this.multipleSelection[o].id);Object(s.b)({updates:n()(a),ids:n()(l)}).then(function(e){t.multipleSelection=[],t.$message.success(e.data.data.message),t.$router.go(0)})},handleFilter:function(){this.listQuery.page=1,this.getList()},handleCreate:function(){this.$router.push("/topic/create")},sortChange:function(e){var t=e.prop,i=e.order;"id"===t&&this.sortByID(i)},sortByID:function(e){var t,i;"ascending"===e?(this.listQuery.sort.shift(),(t=this.listQuery.sort).push.apply(t,["id"])):(this.listQuery.sort.shift(),(i=this.listQuery.sort).push.apply(i,["-id"]));this.handleFilter()},batchUpdate:function(){this.dialogFormVisible=!0,this.reset()},updateData:function(){var e=this,t=this.multipleSelection.length,i=[],l={},a={};this.del_list=this.del_list.concat(this.multipleSelection);for(var o=0;o<t;o++)this.multipleSelection[o].is_online=1,l.is_online=1,i.push(this.multipleSelection[o].id);t||this.$message.error("请先勾选帖子ID,再进行后续操作....."),this.select_start_time&&this.select_end_time||this.$message.error("起始时间或者结束时间不能为空....."),this.select_start_time>this.select_end_time&&this.$message.error("起始时间不能小于结束时间....."),a.start_time=this.select_start_time,a.end_time=this.select_end_time,Object(s.b)({updates:n()(l),ids:n()(i),extra:n()(a)}).then(function(t){e.multipleSelection=[],e.$message.success(t.data.data.message),e.$router.go(0),e.dialogFormVisible=!1})},reset:function(){this.select_start_time="",this.select_end_time=""}}},c=(i("H24S"),i("KHd+")),u=Object(c.a)(r,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:"160px"},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:"100px"},attrs:{placeholder:"上线",clearable:""},model:{value:e.listQuery.filter.is_online,callback:function(t){e.$set(e.listQuery.filter,"is_online",t)},expression:"listQuery.filter.is_online"}},e._l(e.BooleanTypeOptions,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.complaints__isnull,callback:function(t){e.$set(e.listQuery.filter,"complaints__isnull",t)},expression:"listQuery.filter.complaints__isnull"}},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-select",{staticClass:"filter-item",staticStyle:{width:"100px"},attrs:{placeholder:"马甲",clearable:""},model:{value:e.listQuery.filter.is_puppet,callback:function(t){e.$set(e.listQuery.filter,"is_puppet",t)},expression:"listQuery.filter.is_puppet"}},e._l(e.BooleanTypeOptions,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.content_level,callback:function(t){e.$set(e.listQuery.filter,"content_level",t)},expression:"listQuery.filter.content_level"}},e._l(e.ContentLevelTypeOptions,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("创建")]),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("下线")]),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("上线")]),e._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:e.batchUpdate}},[e._v("批量上线")])],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,"sort-change":e.sortChange}},[i("el-table-column",{attrs:{type:"selection",align:"center"}}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"帖子ID ",sortable:"custom","min-width":"85px",prop:"id"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("router-link",{staticClass:"link-type",attrs:{to:"/topic/edit/"+t.row.id}},[i("span",[e._v(e._s(t.row.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.user.name))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"帖子详情","min-width":"300px;"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.content))])]}}])}),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.newly_reply))])]}}])}),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.group.name))])]}}])}),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.update_time))])]}}])}),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.reported_time?t.row.reported_time:"无"))])]}}])}),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.content_level))])]}}])}),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?"是":"否"))])]}}])})],1),e._v(" "),i("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],staticStyle:{"margin-left":"150px"},attrs:{total:e.total,page:e.listQuery.page,pageSizes:e.pageSize,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}}),e._v(" "),i("el-dialog",{attrs:{visible:e.dialogFormVisible},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[i("label",[e._v("发帖时间:  ")]),e._v(" "),i("el-date-picker",{staticStyle:{width:"230px"},attrs:{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:"起始时间"},model:{value:e.select_start_time,callback:function(t){e.select_start_time=t},expression:"select_start_time "}}),e._v("  ----  \n "),i("el-date-picker",{staticStyle:{width:"230px"},attrs:{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:"结束时间"},model:{value:e.select_end_time,callback:function(t){e.select_end_time=t},expression:"select_end_time "}}),e._v(" "),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.dialogFormVisible=!1}}},[e._v("取消")]),e._v(" "),i("el-button",{attrs:{type:"primary",disabled:this.is_click},on:{click:function(t){e.updateData()}}},[e._v("确认")])],1)],1)],1)},[],!1,null,"0185cc6d",null);u.options.__file="list.vue";t.default=u.exports},"8+HU":function(e,t,i){},D6yg:function(e,t,i){"use strict";i.d(t,"e",function(){return n}),i.d(t,"b",function(){return s}),i.d(t,"c",function(){return a}),i.d(t,"g",function(){return o}),i.d(t,"d",function(){return r}),i.d(t,"f",function(){return c}),i.d(t,"a",function(){return u});var l=i("t3Un");function n(e){return Object(l.a)({url:"/api/topic/list",method:"get",params:e})}function s(e){return Object(l.a)({url:"/api/topic/batch_update",method:"post",data:e})}function a(e){return Object(l.a)({url:"/api/topic/reply/create",method:"post",data:e})}function o(e){return Object(l.a)({url:"/api/topic/detail",method:"get",params:{id:e}})}function r(e){return Object(l.a)({url:"/api/topic/create",method:"post",data:e})}function c(e){return Object(l.a)({url:"/api/topic/reply/list",method:"get",params:e})}function u(e){return Object(l.a)({url:"/api/topic/reply/batch_delete",method:"post",data:e})}},H24S:function(e,t,i){"use strict";var l=i("8+HU");i.n(l).a},Y5bG:function(e,t,i){"use strict";i.d(t,"a",function(){return n}),Math.easeInOutQuad=function(e,t,i,l){return(e/=l/2)<1?i/2*e*e+t:-i/2*(--e*(e-2)-1)+t};var l=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};function n(e,t,i){var n=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,s=e-n,a=0;t=void 0===t?500:t;!function e(){a+=20,function(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}(Math.easeInOutQuad(a,n,s,t)),a<t?l(e):i&&"function"==typeof i&&i()}()}},ZySA:function(e,t,i){"use strict";var l=i("P2sY"),n=i.n(l),s=(i("jUE0"),{bind:function(e,t){e.addEventListener("click",function(i){var l=n()({},t.value),s=n()({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},l),a=s.ele;if(a){a.style.position="relative",a.style.overflow="hidden";var o=a.getBoundingClientRect(),r=a.querySelector(".waves-ripple");switch(r?r.className="waves-ripple":((r=document.createElement("span")).className="waves-ripple",r.style.height=r.style.width=Math.max(o.width,o.height)+"px",a.appendChild(r)),s.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=(i.pageY-o.top-r.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",r.style.left=(i.pageX-o.left-r.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return r.style.backgroundColor=s.color,r.className="waves-ripple z-active",!1}},!1)}}),a=function(e){e.directive("waves",s)};window.Vue&&(window.waves=s,Vue.use(a)),s.install=a;t.a=s},"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 l=i("WEpk"),n=l.JSON||(l.JSON={stringify:JSON.stringify});e.exports=function(e){return n.stringify.apply(n,arguments)}}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-5b54"],{"6ClW":function(e,t,i){"use strict";i.r(t);var l=i("gDS+"),n=i.n(l),s=i("D6yg"),a=i("Mz3J"),o=i("ZySA"),r={name:"TopicList",components:{Pagination:a.a},filters:{isOnlineFilter:function(e){return{1:"success",0:"info"}[e]},genderFilter:function(e){return{"男":"success","女":"info","全部":"danger"}[e]}},directives:{waves:o.a},data:function(){return{list:null,total:0,pageSize:[10,30,50,100,250],listLoading:!0,multipleSelection:[],del_list:[],listQuery:{page:0,limit:10,filter:{value:"",key:"",is_online:"",complaints__isnull:"",user__is_puppet:"",content_level:""},sort:["-id"]},BooleanTypeOptions:[{key:1,display_name:"是"},{key:0,display_name:"否"}],ReBooleanTypeOptions:[{key:"0",display_name:"是"},{key:"1",display_name:"否"}],SearchTypeOptions:[{key:"id",display_name:"帖子ID"},{key:"content",display_name:"帖子内容"},{key:"group__name",display_name:"小组"}],ContentLevelTypeOptions:[{key:0,display_name:"未审核"},{key:1,display_name:"星级一"},{key:2,display_name:"星级二"},{key:3,display_name:"星级三"},{key:4,display_name:"星级四"},{key:5,display_name:"星级五"}],dialogFormVisible:!1,is_click:!1,dialogStatus:"",select_start_time:"",select_end_time:""}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,this.listQuery.user_id=this.$route.query.user_id||"",this.listQuery.group_id=this.$route.query.group_id||"",Object(s.e)(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,l=[],a={};this.del_list=this.del_list.concat(this.multipleSelection);for(var o=0;o<i;o++)"offline"===e?(this.multipleSelection[o].is_online=0,a.is_online=0):(this.multipleSelection[o].is_online=1,a.is_online=1),l.push(this.multipleSelection[o].id);Object(s.b)({updates:n()(a),ids:n()(l)}).then(function(e){t.multipleSelection=[],t.$message.success(e.data.data.message),t.$router.go(0)})},handleFilter:function(){this.listQuery.page=1,this.getList()},handleCreate:function(){this.$router.push("/topic/create")},sortChange:function(e){var t=e.prop,i=e.order;"id"===t&&this.sortByID(i)},sortByID:function(e){var t,i;"ascending"===e?(this.listQuery.sort.shift(),(t=this.listQuery.sort).push.apply(t,["id"])):(this.listQuery.sort.shift(),(i=this.listQuery.sort).push.apply(i,["-id"]));this.handleFilter()},batchUpdate:function(){this.dialogFormVisible=!0,this.reset()},updateData:function(){var e=this,t=this.multipleSelection.length,i=[],l={},a={};this.del_list=this.del_list.concat(this.multipleSelection);for(var o=0;o<t;o++)this.multipleSelection[o].is_online=1,l.is_online=1,i.push(this.multipleSelection[o].id);return t?this.select_start_time&&this.select_end_time?this.select_start_time>this.select_end_time?(this.$message.error("起始时间不能小于结束时间....."),!1):(a.start_time=this.select_start_time,a.end_time=this.select_end_time,void Object(s.b)({updates:n()(l),ids:n()(i),extra:n()(a)}).then(function(t){e.multipleSelection=[],e.$message.success(t.data.data.message),e.$router.go(0),e.dialogFormVisible=!1})):(this.$message.error("起始时间或者结束时间不能为空....."),!1):(this.$message.error("请先勾选帖子ID,再进行后续操作....."),!1)},reset:function(){this.select_start_time="",this.select_end_time=""}}},c=(i("Xvlk"),i("KHd+")),u=Object(c.a)(r,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:"160px"},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:"100px"},attrs:{placeholder:"上线",clearable:""},model:{value:e.listQuery.filter.is_online,callback:function(t){e.$set(e.listQuery.filter,"is_online",t)},expression:"listQuery.filter.is_online"}},e._l(e.BooleanTypeOptions,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.complaints__isnull,callback:function(t){e.$set(e.listQuery.filter,"complaints__isnull",t)},expression:"listQuery.filter.complaints__isnull"}},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-select",{staticClass:"filter-item",staticStyle:{width:"100px"},attrs:{placeholder:"马甲",clearable:""},model:{value:e.listQuery.filter.is_puppet,callback:function(t){e.$set(e.listQuery.filter,"is_puppet",t)},expression:"listQuery.filter.is_puppet"}},e._l(e.BooleanTypeOptions,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.content_level,callback:function(t){e.$set(e.listQuery.filter,"content_level",t)},expression:"listQuery.filter.content_level"}},e._l(e.ContentLevelTypeOptions,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("创建")]),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("下线")]),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("上线")]),e._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:e.batchUpdate}},[e._v("批量上线")])],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,"sort-change":e.sortChange}},[i("el-table-column",{attrs:{type:"selection",align:"center"}}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"帖子ID ",sortable:"custom","min-width":"85px",prop:"id"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("router-link",{staticClass:"link-type",attrs:{to:"/topic/edit/"+t.row.id}},[i("span",[e._v(e._s(t.row.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.user.name))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"帖子详情","min-width":"300px;"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.content))])]}}])}),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.newly_reply))])]}}])}),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.group.name))])]}}])}),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.update_time))])]}}])}),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.reported_time?t.row.reported_time:"无"))])]}}])}),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.content_level))])]}}])}),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?"是":"否"))])]}}])})],1),e._v(" "),i("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],staticStyle:{"margin-left":"150px"},attrs:{total:e.total,page:e.listQuery.page,pageSizes:e.pageSize,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}}),e._v(" "),i("el-dialog",{attrs:{visible:e.dialogFormVisible},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[i("label",[e._v("发帖时间:  ")]),e._v(" "),i("el-date-picker",{staticStyle:{width:"230px"},attrs:{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:"起始时间"},model:{value:e.select_start_time,callback:function(t){e.select_start_time=t},expression:"select_start_time "}}),e._v("  ----  \n "),i("el-date-picker",{staticStyle:{width:"230px"},attrs:{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:"结束时间"},model:{value:e.select_end_time,callback:function(t){e.select_end_time=t},expression:"select_end_time "}}),e._v(" "),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.dialogFormVisible=!1}}},[e._v("取消")]),e._v(" "),i("el-button",{attrs:{type:"primary",disabled:this.is_click},on:{click:function(t){e.updateData()}}},[e._v("确认")])],1)],1)],1)},[],!1,null,"0aaea6c6",null);u.options.__file="list.vue";t.default=u.exports},D6yg:function(e,t,i){"use strict";i.d(t,"e",function(){return n}),i.d(t,"b",function(){return s}),i.d(t,"c",function(){return a}),i.d(t,"g",function(){return o}),i.d(t,"d",function(){return r}),i.d(t,"f",function(){return c}),i.d(t,"a",function(){return u});var l=i("t3Un");function n(e){return Object(l.a)({url:"/api/topic/list",method:"get",params:e})}function s(e){return Object(l.a)({url:"/api/topic/batch_update",method:"post",data:e})}function a(e){return Object(l.a)({url:"/api/topic/reply/create",method:"post",data:e})}function o(e){return Object(l.a)({url:"/api/topic/detail",method:"get",params:{id:e}})}function r(e){return Object(l.a)({url:"/api/topic/create",method:"post",data:e})}function c(e){return Object(l.a)({url:"/api/topic/reply/list",method:"get",params:e})}function u(e){return Object(l.a)({url:"/api/topic/reply/batch_delete",method:"post",data:e})}},PKUU:function(e,t,i){},Xvlk:function(e,t,i){"use strict";var l=i("PKUU");i.n(l).a},Y5bG:function(e,t,i){"use strict";i.d(t,"a",function(){return n}),Math.easeInOutQuad=function(e,t,i,l){return(e/=l/2)<1?i/2*e*e+t:-i/2*(--e*(e-2)-1)+t};var l=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};function n(e,t,i){var n=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,s=e-n,a=0;t=void 0===t?500:t;!function e(){a+=20,function(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}(Math.easeInOutQuad(a,n,s,t)),a<t?l(e):i&&"function"==typeof i&&i()}()}},ZySA:function(e,t,i){"use strict";var l=i("P2sY"),n=i.n(l),s=(i("jUE0"),{bind:function(e,t){e.addEventListener("click",function(i){var l=n()({},t.value),s=n()({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},l),a=s.ele;if(a){a.style.position="relative",a.style.overflow="hidden";var o=a.getBoundingClientRect(),r=a.querySelector(".waves-ripple");switch(r?r.className="waves-ripple":((r=document.createElement("span")).className="waves-ripple",r.style.height=r.style.width=Math.max(o.width,o.height)+"px",a.appendChild(r)),s.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=(i.pageY-o.top-r.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",r.style.left=(i.pageX-o.left-r.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return r.style.backgroundColor=s.color,r.className="waves-ripple z-active",!1}},!1)}}),a=function(e){e.directive("waves",s)};window.Vue&&(window.waves=s,Vue.use(a)),s.install=a;t.a=s},"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 l=i("WEpk"),n=l.JSON||(l.JSON={stringify:JSON.stringify});e.exports=function(e){return n.stringify.apply(n,arguments)}}}]);
\ No newline at end of file
......@@ -273,13 +273,16 @@ export default {
}
if (!length){
this.$message.error('请先勾选帖子ID,再进行后续操作.....')
return false
}
if (!this.select_start_time || !this.select_end_time){
this.$message.error('起始时间或者结束时间不能为空.....')
return false
}
if (this.select_start_time > this.select_end_time){
this.$message.error('起始时间不能小于结束时间.....')
return false
}
extra_info['start_time'] = this.select_start_time
extra_info['end_time'] = this.select_end_time
......
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