Commit b269fb75 authored by zhanglu's avatar zhanglu

Merge branch 'dev' into 'master'

Dev

See merge request alpha/sun!4
parents 1dc5d143 de3505df
......@@ -131,8 +131,9 @@ class PickUserListView(APIView):
celebrity_id = request.POST.get('celebrity_id', '')
fake_pick_nums = request.POST.get('fake_pick_nums', 0)
topic_id = request.POST.get('topic_id', '')
pick_id = request.POST.get('pick_id', '')
try:
self.rpc['venus/sun/pick/add_fake_pick_nums'](celebrity_id=celebrity_id, topic_id=topic_id, pick_nums=fake_pick_nums).unwrap()
self.rpc['venus/sun/pick/add_fake_pick_nums'](celebrity_id=celebrity_id, topic_id=topic_id, pick_nums=fake_pick_nums, pick_id=pick_id).unwrap()
except Exception as e:
error_logger.error(u'增加fake_pick_num失败%s' ,e)
raise
......
<!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.1aeb4577.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(e){function n(n){for(var u,t,o=n[0],h=n[1],f=n[2],d=0,b=[];d<o.length;d++)t=o[d],r[t]&&b.push(r[t][0]),r[t]=0;for(u in h)Object.prototype.hasOwnProperty.call(h,u)&&(e[u]=h[u]);for(k&&k(n);b.length;)b.shift()();return a.push.apply(a,f||[]),c()}function c(){for(var e,n=0;n<a.length;n++){for(var c=a[n],u=!0,t=1;t<c.length;t++){var h=c[t];0!==r[h]&&(u=!1)}u&&(a.splice(n--,1),e=o(o.s=c[0]))}return e}var u={},t={runtime:0},r={runtime:0},a=[];function o(n){if(u[n])return u[n].exports;var c=u[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,o),c.l=!0,c.exports}o.e=function(e){var n=[];t[e]?n.push(t[e]):0!==t[e]&&{"chunk-11a3":1,"chunk-5ee7":1,"chunk-93d2":1,"chunk-b3a9":1,"chunk-commons":1,"chunk-08bc":1,"chunk-1f33":1,"chunk-2301":1,"chunk-2407":1,"chunk-28ba":1,"chunk-296d":1,"chunk-2b93":1,"chunk-2b9c":1,"chunk-35eb":1,"chunk-42c8":1,"chunk-1fa9":1,"chunk-4daa":1,"chunk-5ae3":1,"chunk-6e60":1,"chunk-70ee":1,"chunk-7121":1,"chunk-9e04":1,"chunk-a437":1,"chunk-bc2a":1,"chunk-bc2b":1,"chunk-d3e2":1}[e]&&n.push(t[e]=new Promise(function(n,c){for(var u="static/css/"+({"chunk-commons":"chunk-commons"}[e]||e)+"."+{"7zzA":"31d6cfe0",JEtC:"31d6cfe0","chunk-11a3":"985b1424","chunk-5ee7":"0d13629a","chunk-93d2":"12515bbe","chunk-b3a9":"66fca14e","chunk-commons":"f5305ad7","chunk-08bc":"f8811db7","chunk-1f33":"c77fe721","chunk-2301":"15c8db86","00Qp":"31d6cfe0",x10K:"31d6cfe0","chunk-2407":"0d8f2d67","chunk-28ba":"a6ffd0c5","chunk-296d":"8c117e3c","chunk-2b93":"4f2debcc","chunk-2b9c":"4f2debcc","chunk-35eb":"c95fdf1d","chunk-42c8":"961bb2d2","chunk-1fa9":"0fa94f55",SoCV:"31d6cfe0",VwWe:"31d6cfe0","chunk-4daa":"f7255857","chunk-5ae3":"4b6e2bd4","chunk-6e60":"f2f81116","chunk-70ee":"685373e8",Q2Zf:"31d6cfe0",ZMmy:"31d6cfe0","chunk-7121":"748763fd","chunk-9e04":"5f2d5129","/P8B":"31d6cfe0",Gbeq:"31d6cfe0","chunk-a437":"f2f81116","chunk-bc2a":"32735a21","chunk-bc2b":"32735a21","chunk-d3e2":"0d8f2d67"}[e]+".css",t=o.p+u,r=document.getElementsByTagName("link"),a=0;a<r.length;a++){var h=(d=r[a]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(h===u||h===t))return n()}var f=document.getElementsByTagName("style");for(a=0;a<f.length;a++){var d;if((h=(d=f[a]).getAttribute("data-href"))===u||h===t)return n()}var k=document.createElement("link");k.rel="stylesheet",k.type="text/css",k.onload=n,k.onerror=function(n){var u=n&&n.target&&n.target.src||t,r=new Error("Loading CSS chunk "+e+" failed.\n("+u+")");r.request=u,c(r)},k.href=t,document.getElementsByTagName("head")[0].appendChild(k)}).then(function(){t[e]=0}));var c=r[e];if(0!==c)if(c)n.push(c[2]);else{var u=new Promise(function(n,u){c=r[e]=[n,u]});n.push(c[2]=u);var a,h=document.getElementsByTagName("head")[0],f=document.createElement("script");f.charset="utf-8",f.timeout=120,o.nc&&f.setAttribute("nonce",o.nc),f.src=function(e){return o.p+"static/js/"+({"chunk-commons":"chunk-commons"}[e]||e)+"."+{"7zzA":"acd9b7e4",JEtC:"d582661d","chunk-11a3":"0550dd47","chunk-5ee7":"f07e3c68","chunk-93d2":"093c634c","chunk-b3a9":"4da6a2b6","chunk-commons":"5cca9b47","chunk-08bc":"75d5e9a2","chunk-1f33":"487348bb","chunk-2301":"716ff23b","00Qp":"805ee71d",x10K:"cf7e5bba","chunk-2407":"7d753408","chunk-28ba":"54dbf286","chunk-296d":"976ba779","chunk-2b93":"6ccfa9b8","chunk-2b9c":"7de75cb3","chunk-35eb":"bcd66a61","chunk-42c8":"d921bceb","chunk-1fa9":"5d1e7f27",SoCV:"49bd7f8a",VwWe:"37520311","chunk-4daa":"db907712","chunk-5ae3":"8aab3341","chunk-6e60":"7790d972","chunk-70ee":"e2041fce",Q2Zf:"159a6cad",ZMmy:"fbf2ec27","chunk-7121":"ff31279d","chunk-9e04":"65c83460","/P8B":"7f6807b2",Gbeq:"42306eb5","chunk-a437":"ae104760","chunk-bc2a":"250e391a","chunk-bc2b":"0134d652","chunk-d3e2":"e408c971"}[e]+".js"}(e),a=function(n){f.onerror=f.onload=null,clearTimeout(d);var c=r[e];if(0!==c){if(c){var u=n&&("load"===n.type?"missing":n.type),t=n&&n.target&&n.target.src,a=new Error("Loading chunk "+e+" failed.\n("+u+": "+t+")");a.type=u,a.request=t,c[1](a)}r[e]=void 0}};var d=setTimeout(function(){a({type:"timeout",target:f})},12e4);f.onerror=f.onload=a,h.appendChild(f)}return Promise.all(n)},o.m=e,o.c=u,o.d=function(e,n,c){o.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:c})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,n){if(1&n&&(e=o(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(o.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var u in e)o.d(c,u,function(n){return e[n]}.bind(null,u));return c},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="/",o.oe=function(e){throw console.error(e),e};var h=window.webpackJsonp=window.webpackJsonp||[],f=h.push.bind(h);h.push=n,h=h.slice();for(var d=0;d<h.length;d++)n(h[d]);var k=f;c()}([]);</script><script src=/static/js/chunk-elementUI.9e82bb46.js></script><script src=/static/js/chunk-libs.726e3331.js></script><script src=/static/js/app.a0faa1e7.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.1aeb4577.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(e){function n(n){for(var u,t,o=n[0],h=n[1],f=n[2],d=0,b=[];d<o.length;d++)t=o[d],r[t]&&b.push(r[t][0]),r[t]=0;for(u in h)Object.prototype.hasOwnProperty.call(h,u)&&(e[u]=h[u]);for(k&&k(n);b.length;)b.shift()();return a.push.apply(a,f||[]),c()}function c(){for(var e,n=0;n<a.length;n++){for(var c=a[n],u=!0,t=1;t<c.length;t++){var h=c[t];0!==r[h]&&(u=!1)}u&&(a.splice(n--,1),e=o(o.s=c[0]))}return e}var u={},t={runtime:0},r={runtime:0},a=[];function o(n){if(u[n])return u[n].exports;var c=u[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,o),c.l=!0,c.exports}o.e=function(e){var n=[];t[e]?n.push(t[e]):0!==t[e]&&{"chunk-11a3":1,"chunk-5ee7":1,"chunk-93d2":1,"chunk-b3a9":1,"chunk-commons":1,"chunk-08bc":1,"chunk-1f33":1,"chunk-2301":1,"chunk-2407":1,"chunk-28ba":1,"chunk-296d":1,"chunk-2b93":1,"chunk-2b9c":1,"chunk-35eb":1,"chunk-42c8":1,"chunk-1fa9":1,"chunk-4daa":1,"chunk-570c":1,"chunk-5ae3":1,"chunk-6e60":1,"chunk-7121":1,"chunk-9e04":1,"chunk-a437":1,"chunk-bc2a":1,"chunk-bc2b":1,"chunk-d3e2":1}[e]&&n.push(t[e]=new Promise(function(n,c){for(var u="static/css/"+({"chunk-commons":"chunk-commons"}[e]||e)+"."+{"7zzA":"31d6cfe0",JEtC:"31d6cfe0","chunk-11a3":"985b1424","chunk-5ee7":"0d13629a","chunk-93d2":"12515bbe","chunk-b3a9":"66fca14e","chunk-commons":"f5305ad7","chunk-08bc":"f8811db7","chunk-1f33":"c77fe721","chunk-2301":"15c8db86","00Qp":"31d6cfe0",x10K:"31d6cfe0","chunk-2407":"0d8f2d67","chunk-28ba":"a6ffd0c5","chunk-296d":"8c117e3c","chunk-2b93":"4f2debcc","chunk-2b9c":"4f2debcc","chunk-35eb":"c95fdf1d","chunk-42c8":"961bb2d2","chunk-1fa9":"0fa94f55",SoCV:"31d6cfe0",VwWe:"31d6cfe0","chunk-4daa":"f7255857","chunk-570c":"07aff359",Q2Zf:"31d6cfe0",ZMmy:"31d6cfe0","chunk-5ae3":"4b6e2bd4","chunk-6e60":"f2f81116","chunk-7121":"748763fd","chunk-9e04":"5f2d5129","/P8B":"31d6cfe0",Gbeq:"31d6cfe0","chunk-a437":"f2f81116","chunk-bc2a":"32735a21","chunk-bc2b":"32735a21","chunk-d3e2":"0d8f2d67"}[e]+".css",t=o.p+u,r=document.getElementsByTagName("link"),a=0;a<r.length;a++){var h=(d=r[a]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(h===u||h===t))return n()}var f=document.getElementsByTagName("style");for(a=0;a<f.length;a++){var d;if((h=(d=f[a]).getAttribute("data-href"))===u||h===t)return n()}var k=document.createElement("link");k.rel="stylesheet",k.type="text/css",k.onload=n,k.onerror=function(n){var u=n&&n.target&&n.target.src||t,r=new Error("Loading CSS chunk "+e+" failed.\n("+u+")");r.request=u,c(r)},k.href=t,document.getElementsByTagName("head")[0].appendChild(k)}).then(function(){t[e]=0}));var c=r[e];if(0!==c)if(c)n.push(c[2]);else{var u=new Promise(function(n,u){c=r[e]=[n,u]});n.push(c[2]=u);var a,h=document.getElementsByTagName("head")[0],f=document.createElement("script");f.charset="utf-8",f.timeout=120,o.nc&&f.setAttribute("nonce",o.nc),f.src=function(e){return o.p+"static/js/"+({"chunk-commons":"chunk-commons"}[e]||e)+"."+{"7zzA":"acd9b7e4",JEtC:"d582661d","chunk-11a3":"0550dd47","chunk-5ee7":"f07e3c68","chunk-93d2":"093c634c","chunk-b3a9":"4da6a2b6","chunk-commons":"5cca9b47","chunk-08bc":"75d5e9a2","chunk-1f33":"487348bb","chunk-2301":"716ff23b","00Qp":"805ee71d",x10K:"cf7e5bba","chunk-2407":"7d753408","chunk-28ba":"54dbf286","chunk-296d":"976ba779","chunk-2b93":"6ccfa9b8","chunk-2b9c":"7de75cb3","chunk-35eb":"bcd66a61","chunk-42c8":"d921bceb","chunk-1fa9":"5d1e7f27",SoCV:"49bd7f8a",VwWe:"37520311","chunk-4daa":"db907712","chunk-570c":"8d79a4c8",Q2Zf:"159a6cad",ZMmy:"fbf2ec27","chunk-5ae3":"8aab3341","chunk-6e60":"7790d972","chunk-7121":"ff31279d","chunk-9e04":"65c83460","/P8B":"7f6807b2",Gbeq:"42306eb5","chunk-a437":"ae104760","chunk-bc2a":"250e391a","chunk-bc2b":"0134d652","chunk-d3e2":"e408c971"}[e]+".js"}(e),a=function(n){f.onerror=f.onload=null,clearTimeout(d);var c=r[e];if(0!==c){if(c){var u=n&&("load"===n.type?"missing":n.type),t=n&&n.target&&n.target.src,a=new Error("Loading chunk "+e+" failed.\n("+u+": "+t+")");a.type=u,a.request=t,c[1](a)}r[e]=void 0}};var d=setTimeout(function(){a({type:"timeout",target:f})},12e4);f.onerror=f.onload=a,h.appendChild(f)}return Promise.all(n)},o.m=e,o.c=u,o.d=function(e,n,c){o.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:c})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,n){if(1&n&&(e=o(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(o.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var u in e)o.d(c,u,function(n){return e[n]}.bind(null,u));return c},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="/",o.oe=function(e){throw console.error(e),e};var h=window.webpackJsonp=window.webpackJsonp||[],f=h.push.bind(h);h.push=n,h=h.slice();for(var d=0;d<h.length;d++)n(h[d]);var k=f;c()}([]);</script><script src=/static/js/chunk-elementUI.9e82bb46.js></script><script src=/static/js/chunk-libs.726e3331.js></script><script src=/static/js/app.18e2ff36.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}.createPost-container[data-v-40a811a0]{position:relative}.createPost-container .createPost-main-container[data-v-40a811a0]{padding:40px 45px 20px 50px}.createPost-container .createPost-main-container .postInfo-container[data-v-40a811a0]{position:relative;margin-bottom:10px}.createPost-container .createPost-main-container .postInfo-container[data-v-40a811a0]:after{content:"";display:table;clear:both}.createPost-container .createPost-main-container .postInfo-container .postInfo-container-item[data-v-40a811a0]{float:left}.createPost-container .createPost-main-container .editor-container[data-v-40a811a0]{min-height:500px;margin:0 0 30px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container[data-v-40a811a0]{text-align:right;margin-right:10px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container .editor-upload-btn[data-v-40a811a0]{display:inline-block}.createPost-container .word-counter[data-v-40a811a0]{width:40px;position:absolute;right:-10px;top:0}.edit-input[data-v-40a811a0]{padding-right:100px}.cancel-btn[data-v-40a811a0]{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}.createPost-container[data-v-263b1825]{position:relative}.createPost-container .createPost-main-container[data-v-263b1825]{padding:40px 45px 20px 50px}.createPost-container .createPost-main-container .postInfo-container[data-v-263b1825]{position:relative;margin-bottom:10px}.createPost-container .createPost-main-container .postInfo-container[data-v-263b1825]:after{content:"";display:table;clear:both}.createPost-container .createPost-main-container .postInfo-container .postInfo-container-item[data-v-263b1825]{float:left}.createPost-container .createPost-main-container .editor-container[data-v-263b1825]{min-height:500px;margin:0 0 30px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container[data-v-263b1825]{text-align:right;margin-right:10px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container .editor-upload-btn[data-v-263b1825]{display:inline-block}.createPost-container .word-counter[data-v-263b1825]{width:40px;position:absolute;right:-10px;top:0}.edit-input[data-v-263b1825]{padding-right:100px}.cancel-btn[data-v-263b1825]{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-570c"],{"5myA":function(t,e,i){"use strict";var a=i("sppW");i.n(a).a},ESsw:function(t,e,i){"use strict";i.d(e,"h",function(){return o}),i.d(e,"c",function(){return n}),i.d(e,"b",function(){return s}),i.d(e,"j",function(){return r}),i.d(e,"k",function(){return l}),i.d(e,"i",function(){return c}),i.d(e,"a",function(){return p}),i.d(e,"e",function(){return u}),i.d(e,"d",function(){return d}),i.d(e,"f",function(){return m}),i.d(e,"g",function(){return f});var a=i("t3Un");function o(t){return Object(a.a)({url:"/api/pick/list",method:"get",params:t})}function n(t){return console.log(t),Object(a.a)({url:"/api/pick/list/update",method:"post",data:t})}function s(t){return Object(a.a)({url:"/api/pick/create",method:"post",data:t})}function r(t){return Object(a.a)({url:"/api/pick/detail",method:"get",params:{id:t}})}function l(t){return Object(a.a)({url:"/api/pick/topic/list",method:"get",params:t})}function c(t){return Object(a.a)({url:"/api/pick/celebrity/list",method:"get",params:t})}function p(t){return Object(a.a)({url:"/api/pick/add_fake_pick_nums",method:"post",data:t})}function u(t){return Object(a.a)({url:"/api/pick/topic",method:"post",data:t})}function d(t){return Object(a.a)({url:"/api/pick/celebrity",method:"post",data:t})}function m(t){return Object(a.a)({url:"/api/pick/del_celebrity",method:"post",data:t})}function f(t){return Object(a.a)({url:"/api/pick/del_topic",method:"post",data:t})}},Y5bG:function(t,e,i){"use strict";i.d(e,"a",function(){return o}),Math.easeInOutQuad=function(t,e,i,a){return(t/=a/2)<1?i/2*t*t+e:-i/2*(--t*(t-2)-1)+e};var a=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)};function o(t,e,i){var o=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,n=t-o,s=0;e=void 0===e?500:e;!function t(){s+=20,function(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}(Math.easeInOutQuad(s,o,n,e)),s<e?a(t):i&&"function"==typeof i&&i()}()}},ZySA:function(t,e,i){"use strict";var a=i("P2sY"),o=i.n(a),n=(i("jUE0"),{bind:function(t,e){t.addEventListener("click",function(i){var a=o()({},e.value),n=o()({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},a),s=n.ele;if(s){s.style.position="relative",s.style.overflow="hidden";var r=s.getBoundingClientRect(),l=s.querySelector(".waves-ripple");switch(l?l.className="waves-ripple":((l=document.createElement("span")).className="waves-ripple",l.style.height=l.style.width=Math.max(r.width,r.height)+"px",s.appendChild(l)),n.type){case"center":l.style.top=r.height/2-l.offsetHeight/2+"px",l.style.left=r.width/2-l.offsetWidth/2+"px";break;default:l.style.top=(i.pageY-r.top-l.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",l.style.left=(i.pageX-r.left-l.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return l.style.backgroundColor=n.color,l.className="waves-ripple z-active",!1}},!1)}}),s=function(t){t.directive("waves",n)};window.Vue&&(window.waves=n,Vue.use(s)),n.install=s;e.a=n},"gDS+":function(t,e,i){t.exports={default:i("oh+g"),__esModule:!0}},gg54:function(t,e,i){"use strict";i.d(e,"g",function(){return o}),i.d(e,"c",function(){return n}),i.d(e,"e",function(){return s}),i.d(e,"d",function(){return r}),i.d(e,"b",function(){return l}),i.d(e,"a",function(){return c}),i.d(e,"f",function(){return p});var a=i("t3Un");function o(t){return Object(a.a)({url:"/api/search/user",method:"get",params:{name:t}})}function n(t){return Object(a.a)({url:"/api/search/group",method:"get",params:{name:t}})}function s(t){return Object(a.a)({url:"/api/search/tag",method:"get",params:{name:t}})}function r(t){return Object(a.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function l(t){return Object(a.a)({url:"/api/search/city",method:"get",params:{name:t}})}function c(t){return Object(a.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function p(t){return Object(a.a)({url:"/api/search/topic",method:"get",params:{name:t}})}},jUE0:function(t,e,i){},"oh+g":function(t,e,i){var a=i("WEpk"),o=a.JSON||(a.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},sppW:function(t,e,i){},tThj:function(t,e,i){"use strict";var a=i("m1cH"),o=i.n(a),n=i("gDS+"),s=i.n(n),r=i("P2sY"),l=i.n(r),c=i("Grqa"),p=i("uARZ"),u=i("Mz3J"),d=i("ZySA"),m=i("ESsw"),f=i("gg54"),_=(i("7Qib"),{status:"draft",name:"",desc:"",gender:"",city:[],pick_group:[],pick_type:"",position:"",is_online:0}),h={name:"PickDetail",components:{MDinput:c.a,Sticky:p.a,Pagination:u.a},directives:{waves:d.a},props:{isEdit:{type:Boolean,default:!1}},data:function(){var t=this,e=function(e,i,a){""===i?(t.$message({message:e.field+"为必传项",type:"error"}),a(new Error(e.field+"为必传项"))):a()};return{postForm:l()({},_),loading:!1,city:[],pick_group:[],pick_type_origin:"",celebrity_id:"",topic_id:"",del_list:[],regionListOptions:[],groupListOptions:[],celebrityListOptions:[],topicListOptions:[],GenderTypeOptions:[{key:2,display_name:"全部"},{key:0,display_name:"男"},{key:1,display_name:"女"}],PickTypeOptions:[{key:1,display_name:"明星打榜"},{key:0,display_name:"PICK帖子"}],rules:{name:[{validator:e,trigger:"blur"}],desc:[{validator:e,trigger:"blur"}],gender:[{validator:e,trigger:"blur"}],city:[{validator:e,trigger:"blur"}],pick_type:[{validator:e,trigger:"blur"}],position:[{validator:e,trigger:"blur"}]},tempRoute:{},listQuery:{id:"",pick_type:"",page:1,limit:10,filter:{}},list:null,total:0,listLoading:!0,origin_len:0,topic_ids:[],celebrity_ids:[],new_ids:[],del_ids:[]}},computed:{contentShortLength:function(){return this.postForm.desc.length},data:function(){var t=this;return this.list.filter(function(e){for(var i=!1,a=0;a<t.del_list.length;a++)if(e.topic_id==t.del_list[a].topic_id){i=!0;break}if(!i)return e})}},created:function(){if(this.isEdit){var t=this.$route.params&&this.$route.params.id;this.fetchData(t),this.getList()}else this.postForm=l()({},_);this.tempRoute=l()({},this.$route)},methods:{fetchData:function(t){var e=this;Object(m.j)(t).then(function(t){for(var i=t.data.data.data,a=0;a<i.pick_group.length;a++)e.pick_group.push(i.pick_group[a].id+":"+i.pick_group[a].name);for(var o=0;o<i.region.length;o++)e.city.push(i.region[o].id+":"+i.region[o].name);e.postForm=i,e.listQuery.pick_type=i.pick_type_origin}).catch(function(t){console.log(t)})},submitForm:function(){var t=this;this.$refs.postForm.validate(function(e){if(!e)return console.log("error submit!!"),!1;t.loading=!0,t.postForm.city=s()(t.city),t.postForm.pick_group=s()(t.pick_group),Object(m.b)(t.postForm).then(function(e){t.$notify({title:"成功",message:e.data.data.message,type:"success",duration:2e3}),setTimeout(function(){t.$router.push("/pick/list")},1e3)}).catch(function(e){t.$notify({title:"失败",message:"操作失败",type:"danger",duration:2e3})}),t.postForm.status="published",t.loading=!1})},getRemoteCityList:function(t){var e=this;Object(f.b)(t).then(function(t){t.data.data.data&&(e.regionListOptions=t.data.data.data)})},getRemoteGroupList:function(t){var e=this;Object(f.c)(t).then(function(t){t.data.data.data&&(e.groupListOptions=t.data.data.data)})},getRemoteTopicList:function(t){var e=this;Object(f.f)(t).then(function(t){t.data.data.data&&(e.topicListOptions=t.data.data.data)})},getRemoteCelebrityList:function(t){var e=this;Object(f.a)(t).then(function(t){t.data.data.data&&(e.celebrityListOptions=t.data.data.data)})},handleSelectionChange:function(t){this.multipleSelection=t},getList:function(){var t=this;this.listLoading=!0,this.listQuery.id=this.$route.params&&this.$route.params.id,"1"===this.$route.query.pick_type?Object(m.i)(this.listQuery).then(function(e){var i=e.data.data.data;t.list=i.map(function(e){return t.$set(e,"edit",!1),e.original_fake_pick_nums=e.fake_pick_nums,e}),t.total=e.data.data.total,t.origin_len=e.data.data.total,t.listLoading=!1}):Object(m.k)(this.listQuery).then(function(e){var i=e.data.data.data;t.list=i.map(function(e){return t.$set(e,"edit",!1),e.original_fake_pick_nums=e.fake_pick_nums,e}),t.total=e.data.data.total,t.origin_len=e.data.data.total,t.listLoading=!1})},cancelEdit:function(t){t.fake_pick_nums=t.original_fake_pick_nums,t.edit=!1,this.$message({message:"取消成功",type:"warning"})},confirmEdit:function(t){var e=this.$route.params&&this.$route.params.id;t.edit=!1,t.original_fake_pick_nums=t.fake_pick_nums,t.pick_id=e,this.$message({message:"添加成功",type:"success"}),Object(m.a)(t).then(function(t){}).catch(function(t){})},append:function(){var t=this;if(0==this.postForm.pick_type_origin){if(""==this.topic_id)return this.$message.error("请输入搜索内容~~"),this.topic_id="",!1;var e={topic_id:this.topic_id,pick_id:this.postForm.id};Object(m.e)(e).then(function(e){t.$message.success(e.data.data.message)}),this.topic_id="",setTimeout(function(){t.$router.go(0)},1300)}else if(1==this.postForm.pick_type_origin){if(""==this.celebrity_id)return this.$message.error("请输入搜索内容~~"),this.celebrity_id="",!1;var i={celebrity_id:this.celebrity_id,pick_id:this.postForm.id};Object(m.d)(i).then(function(e){t.$message.success(e.data.data.message)}),this.celebrity_id="",setTimeout(function(){t.$router.go(0)},1300)}},del:function(){var t,e=this;this.total=this.origin_len-this.del_list.length;var i=[];if((t=this.del_list).push.apply(t,o()(this.multipleSelection)),0==this.postForm.pick_type_origin){for(var a=0;a<this.multipleSelection.length;a++)i.push(this.multipleSelection[a].topic_id);var n={del_ids:s()(i),pick_id:this.postForm.id};Object(m.g)(n).then(function(t){e.$message.success("操作成功"),setTimeout(function(){e.$router.go(0)},1300)})}else{for(var r=0;r<this.multipleSelection.length;r++)i.push(this.multipleSelection[r].celebrity_id);var l={del_ids:s()(i),pick_id:this.postForm.id};Object(m.f)(l).then(function(t){e.$message.success("操作成功"),setTimeout(function(){e.$router.go(0)},1300)})}}}},g=(i("5myA"),i("KHd+")),y=Object(g.a)(h,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"createPost-container"},[i("el-form",{ref:"postForm",staticClass:"form-container",attrs:{model:t.postForm,rules:t.rules}},[i("sticky",{attrs:{"class-name":"sub-navbar"}},[i("el-button",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{"margin-left":"10px"},attrs:{type:"success"},on:{click:t.submitForm}},[t._v("保存\n ")])],1),t._v(" "),i("div",{staticClass:"createPost-main-container"},[i("el-row",{attrs:{gutter:20}},[i("el-card",{staticClass:"box-card"},[i("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[i("span",[t._v("pick相关")])]),t._v(" "),i("el-row",[i("el-col",{attrs:{span:24}},[i("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{prop:"name"}},[i("MDinput",{attrs:{maxlength:100,name:"name",required:""},model:{value:t.postForm.name,callback:function(e){t.$set(t.postForm,"name",e)},expression:"postForm.name"}},[t._v("\n pick名称\n ")])],1),t._v(" "),i("div",{staticClass:"postInfo-container"},[i("el-row",[i("el-col",{attrs:{span:8}},[i("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"45px",label:"性别:",prop:"gender"}},[i("el-select",{staticClass:"postInfo-container-item",staticStyle:{width:"120px"},attrs:{placeholder:"性别:",clearable:""},model:{value:t.postForm.gender,callback:function(e){t.$set(t.postForm,"gender",e)},expression:"postForm.gender"}},t._l(t.GenderTypeOptions,function(t){return i("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})}))],1)],1),t._v(" "),i("el-col",{attrs:{span:8}},[i("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"60px",label:"属性:",prop:"pick_type"}},[t.isEdit?i("el-select",{staticClass:"postInfo-container-item",staticStyle:{width:"120px"},attrs:{placeholder:"属性:",clearable:"",disabled:""},model:{value:t.postForm.pick_type,callback:function(e){t.$set(t.postForm,"pick_type",e)},expression:"postForm.pick_type"}},t._l(t.PickTypeOptions,function(t){return i("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})})):i("el-select",{staticClass:"postInfo-container-item",staticStyle:{width:"120px"},attrs:{placeholder:"属性:",clearable:""},model:{value:t.postForm.pick_type,callback:function(e){t.$set(t.postForm,"pick_type",e)},expression:"postForm.pick_type"}},t._l(t.PickTypeOptions,function(t){return i("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})}))],1)],1),t._v(" "),i("el-col",{attrs:{span:8}},[i("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"45px",label:"位置:",prop:"position"}},[i("el-input",{staticClass:"article-textarea",staticStyle:{width:"120px"},attrs:{rows:1,type:"number",placeholder:"请输入内容"},model:{value:t.postForm.position,callback:function(e){t.$set(t.postForm,"position",e)},expression:"postForm.position"}})],1)],1)],1)],1)],1)],1),t._v(" "),i("el-row",[i("el-col",{attrs:{span:24}},[i("div",{staticClass:"postInfo-container"},[i("el-row",[i("el-col",{attrs:{span:8}},[t.isEdit?i("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"45px",label:"pickid:",prop:"id"}},[i("el-input",{staticClass:"article-textarea",staticStyle:{width:"120px"},attrs:{rows:1,type:"number",disabled:""},model:{value:t.postForm.id,callback:function(e){t.$set(t.postForm,"id",e)},expression:"postForm.id"}})],1):t._e()],1),t._v(" "),i("el-col",{attrs:{span:8}},[t.isEdit?i("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"75px",label:"pick用户:",prop:"user_nums"}},[i("el-input",{staticClass:"article-textarea",staticStyle:{width:"120px"},attrs:{rows:1,type:"number",disabled:""},model:{value:t.postForm.user_nums,callback:function(e){t.$set(t.postForm,"user_nums",e)},expression:"postForm.user_nums"}})],1):t._e()],1),t._v(" "),i("el-col",{attrs:{span:8}},[t.isEdit?i("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"85px",label:"创建时间:",prop:"create_time"}},[i("el-input",{staticClass:"article-textarea",staticStyle:{width:"170px"},attrs:{rows:1,type:"text",disabled:""},model:{value:t.postForm.create_time,callback:function(e){t.$set(t.postForm,"create_time",e)},expression:"postForm.create_time"}})],1):t._e()],1)],1)],1)])],1),t._v(" "),i("el-row",[i("el-col",{attrs:{span:12}},[i("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"45px",label:"城市:",prop:"city"}},[i("el-select",{staticStyle:{width:"100%"},attrs:{"remote-method":t.getRemoteCityList,filterable:"",remote:"",multiple:"","value-key":"id",placeholder:"搜索地区"},model:{value:t.city,callback:function(e){t.city=e},expression:"city"}},t._l(t.regionListOptions,function(t,e){return i("el-option",{key:t+e,attrs:{label:t,value:t}})}))],1)],1),t._v(" "),i("el-col",{attrs:{span:12}},[i("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"45px",label:"小组:",prop:"pick_group"}},[i("el-select",{staticStyle:{width:"100%"},attrs:{"remote-method":t.getRemoteGroupList,multiple:"",filterable:"",remote:"","reserve-keyword":"",clearable:"",placeholder:"搜索小组",loading:t.loading,"value-key":"id"},model:{value:t.pick_group,callback:function(e){t.pick_group=e},expression:"pick_group"}},t._l(t.groupListOptions,function(t,e){return i("el-option",{key:t+e,attrs:{label:t,value:t}})}))],1)],1)],1),t._v(" "),i("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"45px",label:"简介:",prop:"desc"}},[i("el-input",{staticClass:"article-textarea",attrs:{rows:1,type:"textarea",autosize:"",placeholder:"请输入内容"},model:{value:t.postForm.desc,callback:function(e){t.$set(t.postForm,"desc",e)},expression:"postForm.desc"}}),t._v(" "),i("span",{directives:[{name:"show",rawName:"v-show",value:t.contentShortLength,expression:"contentShortLength"}],staticClass:"word-counter"},[t._v(t._s(t.contentShortLength)+"字")])],1),t._v(" "),i("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"75px",label:"是否在线:"}},[i("el-radio-group",{model:{value:t.postForm.is_online,callback:function(e){t.$set(t.postForm,"is_online",e)},expression:"postForm.is_online"}},[i("el-radio",{attrs:{label:1}},[t._v("是")]),t._v(" "),i("el-radio",{attrs:{label:0}},[t._v("否")])],1)],1)],1)],1),t._v(" "),1==this.postForm.pick_type_origin&&this.isEdit?i("el-row",{staticStyle:{"margin-top":"50px"},attrs:{gutter:20}},[i("el-card",{staticClass:"box-card"},[i("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[i("span",[t._v("pick明星相关")])]),t._v(" "),i("div",{staticStyle:{"margin-bottom":"50px"}},[i("div",{staticClass:"filter-container"}),t._v(" "),i("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.data,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:"明星ID"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("router-link",{staticClass:"link-type",attrs:{to:"/star/edit/"+e.row.celebrity_id}},[i("span",[t._v(t._s(e.row.celebrity_id))])])]}}])}),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.celebrity_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.pick_nums))])]}}])}),t._v(" "),i("el-table-column",{attrs:{align:"center","min-width":"100",label:"添加pick值"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.edit?[i("el-input",{staticClass:"edit-input",attrs:{type:"number",size:"small"},model:{value:e.row.fake_pick_nums,callback:function(i){t.$set(e.row,"fake_pick_nums",i)},expression:"scope.row.fake_pick_nums"}}),t._v(" "),i("el-button",{staticClass:"cancel-btn",attrs:{size:"small",icon:"el-icon-refresh",type:"warning"},on:{click:function(i){t.cancelEdit(e.row)}}},[t._v("取消\n ")])]:i("span",[t._v(t._s(e.row.fake_pick_nums))])]}}])}),t._v(" "),i("el-table-column",{attrs:{align:"center",label:"操作",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.edit?i("el-button",{attrs:{type:"success",size:"small",icon:"el-icon-circle-check-outline"},on:{click:function(i){t.confirmEdit(e.row)}}},[t._v("确认\n ")]):i("el-button",{attrs:{type:"primary",size:"small",icon:"el-icon-edit"},on:{click:function(t){e.row.edit=!e.row.edit}}},[t._v("添加\n ")])]}}])})],1),t._v(" "),i("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],staticStyle:{"margin-left":"150px"},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):t._e(),t._v(" "),0==this.postForm.pick_type_origin&&this.isEdit?i("el-row",{staticStyle:{"margin-top":"50px"},attrs:{gutter:20}},[i("el-card",{staticClass:"box-card"},[i("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[i("span",[t._v("pick帖子相关")])]),t._v(" "),i("div",{staticStyle:{"margin-bottom":"50px"}},[i("div",{staticClass:"filter-container"}),t._v(" "),i("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.data,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:"帖子ID"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("router-link",{staticClass:"link-type",attrs:{to:"/topic/edit/"+e.row.topic_id}},[i("span",[t._v(t._s(e.row.topic_id))])])]}}])}),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.topic_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.pick_nums))])]}}])}),t._v(" "),i("el-table-column",{attrs:{align:"center","min-width":"100",label:"添加pick值"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.edit?[i("el-input",{staticClass:"edit-input",attrs:{type:"number",size:"small"},model:{value:e.row.fake_pick_nums,callback:function(i){t.$set(e.row,"fake_pick_nums",i)},expression:"scope.row.fake_pick_nums"}}),t._v(" "),i("el-button",{staticClass:"cancel-btn",attrs:{size:"small",icon:"el-icon-refresh",type:"warning"},on:{click:function(i){t.cancelEdit(e.row)}}},[t._v("取消\n ")])]:i("span",[t._v(t._s(e.row.fake_pick_nums))])]}}])}),t._v(" "),i("el-table-column",{attrs:{align:"center",label:"操作",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.edit?i("el-button",{attrs:{type:"success",size:"small",icon:"el-icon-circle-check-outline"},on:{click:function(i){t.confirmEdit(e.row)}}},[t._v("确认\n ")]):i("el-button",{attrs:{type:"primary",size:"small",icon:"el-icon-edit"},on:{click:function(t){e.row.edit=!e.row.edit}}},[t._v("添加\n ")])]}}])})],1),t._v(" "),i("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],staticStyle:{"margin-left":"150px"},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):t._e()],1)],1)],1)},[],!1,null,"263b1825",null);y.options.__file="PickDetail.vue";e.a=y.exports}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-70ee"],{ESsw:function(t,e,i){"use strict";i.d(e,"h",function(){return n}),i.d(e,"c",function(){return o}),i.d(e,"b",function(){return s}),i.d(e,"j",function(){return r}),i.d(e,"k",function(){return l}),i.d(e,"i",function(){return c}),i.d(e,"a",function(){return p}),i.d(e,"e",function(){return u}),i.d(e,"d",function(){return d}),i.d(e,"f",function(){return m}),i.d(e,"g",function(){return f});var a=i("t3Un");function n(t){return Object(a.a)({url:"/api/pick/list",method:"get",params:t})}function o(t){return console.log(t),Object(a.a)({url:"/api/pick/list/update",method:"post",data:t})}function s(t){return Object(a.a)({url:"/api/pick/create",method:"post",data:t})}function r(t){return Object(a.a)({url:"/api/pick/detail",method:"get",params:{id:t}})}function l(t){return Object(a.a)({url:"/api/pick/topic/list",method:"get",params:t})}function c(t){return Object(a.a)({url:"/api/pick/celebrity/list",method:"get",params:t})}function p(t){return Object(a.a)({url:"/api/pick/add_fake_pick_nums",method:"post",data:t})}function u(t){return Object(a.a)({url:"/api/pick/topic",method:"post",data:t})}function d(t){return Object(a.a)({url:"/api/pick/celebrity",method:"post",data:t})}function m(t){return Object(a.a)({url:"/api/pick/del_celebrity",method:"post",data:t})}function f(t){return Object(a.a)({url:"/api/pick/del_topic",method:"post",data:t})}},HgnI:function(t,e,i){"use strict";var a=i("Pba2");i.n(a).a},Pba2:function(t,e,i){},Y5bG:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),Math.easeInOutQuad=function(t,e,i,a){return(t/=a/2)<1?i/2*t*t+e:-i/2*(--t*(t-2)-1)+e};var a=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)};function n(t,e,i){var n=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,o=t-n,s=0;e=void 0===e?500:e;!function t(){s+=20,function(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}(Math.easeInOutQuad(s,n,o,e)),s<e?a(t):i&&"function"==typeof i&&i()}()}},ZySA:function(t,e,i){"use strict";var a=i("P2sY"),n=i.n(a),o=(i("jUE0"),{bind:function(t,e){t.addEventListener("click",function(i){var a=n()({},e.value),o=n()({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},a),s=o.ele;if(s){s.style.position="relative",s.style.overflow="hidden";var r=s.getBoundingClientRect(),l=s.querySelector(".waves-ripple");switch(l?l.className="waves-ripple":((l=document.createElement("span")).className="waves-ripple",l.style.height=l.style.width=Math.max(r.width,r.height)+"px",s.appendChild(l)),o.type){case"center":l.style.top=r.height/2-l.offsetHeight/2+"px",l.style.left=r.width/2-l.offsetWidth/2+"px";break;default:l.style.top=(i.pageY-r.top-l.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",l.style.left=(i.pageX-r.left-l.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return l.style.backgroundColor=o.color,l.className="waves-ripple z-active",!1}},!1)}}),s=function(t){t.directive("waves",o)};window.Vue&&(window.waves=o,Vue.use(s)),o.install=s;e.a=o},"gDS+":function(t,e,i){t.exports={default:i("oh+g"),__esModule:!0}},gg54:function(t,e,i){"use strict";i.d(e,"g",function(){return n}),i.d(e,"c",function(){return o}),i.d(e,"e",function(){return s}),i.d(e,"d",function(){return r}),i.d(e,"b",function(){return l}),i.d(e,"a",function(){return c}),i.d(e,"f",function(){return p});var a=i("t3Un");function n(t){return Object(a.a)({url:"/api/search/user",method:"get",params:{name:t}})}function o(t){return Object(a.a)({url:"/api/search/group",method:"get",params:{name:t}})}function s(t){return Object(a.a)({url:"/api/search/tag",method:"get",params:{name:t}})}function r(t){return Object(a.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function l(t){return Object(a.a)({url:"/api/search/city",method:"get",params:{name:t}})}function c(t){return Object(a.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function p(t){return Object(a.a)({url:"/api/search/topic",method:"get",params:{name:t}})}},jUE0:function(t,e,i){},"oh+g":function(t,e,i){var a=i("WEpk"),n=a.JSON||(a.JSON={stringify:JSON.stringify});t.exports=function(t){return n.stringify.apply(n,arguments)}},tThj:function(t,e,i){"use strict";var a=i("m1cH"),n=i.n(a),o=i("gDS+"),s=i.n(o),r=i("P2sY"),l=i.n(r),c=i("Grqa"),p=i("uARZ"),u=i("Mz3J"),d=i("ZySA"),m=i("ESsw"),f=i("gg54"),_=(i("7Qib"),{status:"draft",name:"",desc:"",gender:"",city:[],pick_group:[],pick_type:"",position:"",is_online:0}),h={name:"PickDetail",components:{MDinput:c.a,Sticky:p.a,Pagination:u.a},directives:{waves:d.a},props:{isEdit:{type:Boolean,default:!1}},data:function(){var t=this,e=function(e,i,a){""===i?(t.$message({message:e.field+"为必传项",type:"error"}),a(new Error(e.field+"为必传项"))):a()};return{postForm:l()({},_),loading:!1,city:[],pick_group:[],pick_type_origin:"",celebrity_id:"",topic_id:"",del_list:[],regionListOptions:[],groupListOptions:[],celebrityListOptions:[],topicListOptions:[],GenderTypeOptions:[{key:2,display_name:"全部"},{key:0,display_name:"男"},{key:1,display_name:"女"}],PickTypeOptions:[{key:1,display_name:"明星打榜"},{key:0,display_name:"PICK帖子"}],rules:{name:[{validator:e,trigger:"blur"}],desc:[{validator:e,trigger:"blur"}],gender:[{validator:e,trigger:"blur"}],city:[{validator:e,trigger:"blur"}],pick_type:[{validator:e,trigger:"blur"}],position:[{validator:e,trigger:"blur"}]},tempRoute:{},listQuery:{id:"",pick_type:"",page:1,limit:10,filter:{}},list:null,total:0,listLoading:!0,origin_len:0,topic_ids:[],celebrity_ids:[],new_ids:[],del_ids:[]}},computed:{contentShortLength:function(){return this.postForm.desc.length},data:function(){var t=this;return this.list.filter(function(e){for(var i=!1,a=0;a<t.del_list.length;a++)if(e.topic_id==t.del_list[a].topic_id){i=!0;break}if(!i)return e})}},created:function(){if(this.isEdit){var t=this.$route.params&&this.$route.params.id;this.fetchData(t),this.getList()}else this.postForm=l()({},_);this.tempRoute=l()({},this.$route)},methods:{fetchData:function(t){var e=this;Object(m.j)(t).then(function(t){for(var i=t.data.data.data,a=0;a<i.pick_group.length;a++)e.pick_group.push(i.pick_group[a].id+":"+i.pick_group[a].name);for(var n=0;n<i.region.length;n++)e.city.push(i.region[n].id+":"+i.region[n].name);e.postForm=i,e.listQuery.pick_type=i.pick_type_origin}).catch(function(t){console.log(t)})},submitForm:function(){var t=this;this.$refs.postForm.validate(function(e){if(!e)return console.log("error submit!!"),!1;t.loading=!0,t.postForm.city=s()(t.city),t.postForm.pick_group=s()(t.pick_group),Object(m.b)(t.postForm).then(function(e){t.$notify({title:"成功",message:e.data.data.message,type:"success",duration:2e3}),setTimeout(function(){t.$router.push("/pick/list")},1e3)}).catch(function(e){t.$notify({title:"失败",message:"操作失败",type:"danger",duration:2e3})}),t.postForm.status="published",t.loading=!1})},getRemoteCityList:function(t){var e=this;Object(f.b)(t).then(function(t){t.data.data.data&&(e.regionListOptions=t.data.data.data)})},getRemoteGroupList:function(t){var e=this;Object(f.c)(t).then(function(t){t.data.data.data&&(e.groupListOptions=t.data.data.data)})},getRemoteTopicList:function(t){var e=this;Object(f.f)(t).then(function(t){t.data.data.data&&(e.topicListOptions=t.data.data.data)})},getRemoteCelebrityList:function(t){var e=this;Object(f.a)(t).then(function(t){t.data.data.data&&(e.celebrityListOptions=t.data.data.data)})},handleSelectionChange:function(t){this.multipleSelection=t},getList:function(){var t=this;this.listLoading=!0,this.listQuery.id=this.$route.params&&this.$route.params.id,"1"===this.$route.query.pick_type?Object(m.i)(this.listQuery).then(function(e){var i=e.data.data.data;t.list=i.map(function(e){return t.$set(e,"edit",!1),e.original_fake_pick_nums=e.fake_pick_nums,e}),t.total=e.data.data.total,t.origin_len=e.data.data.total,t.listLoading=!1}):Object(m.k)(this.listQuery).then(function(e){var i=e.data.data.data;t.list=i.map(function(e){return t.$set(e,"edit",!1),e.original_fake_pick_nums=e.fake_pick_nums,e}),t.total=e.data.data.total,t.origin_len=e.data.data.total,t.listLoading=!1})},cancelEdit:function(t){t.fake_pick_nums=t.original_fake_pick_nums,t.edit=!1,this.$message({message:"取消成功",type:"warning"})},confirmEdit:function(t){t.edit=!1,t.original_fake_pick_nums=t.fake_pick_nums,this.$message({message:"添加成功",type:"success"}),Object(m.a)(t).then(function(t){}).catch(function(t){})},append:function(){var t=this;if(0==this.postForm.pick_type_origin){if(""==this.topic_id)return this.$message.error("请输入搜索内容~~"),this.topic_id="",!1;var e={topic_id:this.topic_id,pick_id:this.postForm.id};Object(m.e)(e).then(function(e){t.$message.success(e.data.data.message)}),this.topic_id="",setTimeout(function(){t.$router.go(0)},1300)}else if(1==this.postForm.pick_type_origin){if(""==this.celebrity_id)return this.$message.error("请输入搜索内容~~"),this.celebrity_id="",!1;var i={celebrity_id:this.celebrity_id,pick_id:this.postForm.id};Object(m.d)(i).then(function(e){t.$message.success(e.data.data.message)}),this.celebrity_id="",setTimeout(function(){t.$router.go(0)},1300)}},del:function(){var t,e=this;this.total=this.origin_len-this.del_list.length;var i=[];if((t=this.del_list).push.apply(t,n()(this.multipleSelection)),0==this.postForm.pick_type_origin){for(var a=0;a<this.multipleSelection.length;a++)i.push(this.multipleSelection[a].topic_id);var o={del_ids:s()(i),pick_id:this.postForm.id};Object(m.g)(o).then(function(t){e.$message.success("操作成功"),setTimeout(function(){e.$router.go(0)},1300)})}else{for(var r=0;r<this.multipleSelection.length;r++)i.push(this.multipleSelection[r].celebrity_id);var l={del_ids:s()(i),pick_id:this.postForm.id};Object(m.f)(l).then(function(t){e.$message.success("操作成功"),setTimeout(function(){e.$router.go(0)},1300)})}}}},g=(i("HgnI"),i("KHd+")),b=Object(g.a)(h,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"createPost-container"},[i("el-form",{ref:"postForm",staticClass:"form-container",attrs:{model:t.postForm,rules:t.rules}},[i("sticky",{attrs:{"class-name":"sub-navbar"}},[i("el-button",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{"margin-left":"10px"},attrs:{type:"success"},on:{click:t.submitForm}},[t._v("保存\n ")])],1),t._v(" "),i("div",{staticClass:"createPost-main-container"},[i("el-row",{attrs:{gutter:20}},[i("el-card",{staticClass:"box-card"},[i("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[i("span",[t._v("pick相关")])]),t._v(" "),i("el-row",[i("el-col",{attrs:{span:24}},[i("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{prop:"name"}},[i("MDinput",{attrs:{maxlength:100,name:"name",required:""},model:{value:t.postForm.name,callback:function(e){t.$set(t.postForm,"name",e)},expression:"postForm.name"}},[t._v("\n pick名称\n ")])],1),t._v(" "),i("div",{staticClass:"postInfo-container"},[i("el-row",[i("el-col",{attrs:{span:8}},[i("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"45px",label:"性别:",prop:"gender"}},[i("el-select",{staticClass:"postInfo-container-item",staticStyle:{width:"120px"},attrs:{placeholder:"性别:",clearable:""},model:{value:t.postForm.gender,callback:function(e){t.$set(t.postForm,"gender",e)},expression:"postForm.gender"}},t._l(t.GenderTypeOptions,function(t){return i("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})}))],1)],1),t._v(" "),i("el-col",{attrs:{span:8}},[i("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"60px",label:"属性:",prop:"pick_type"}},[t.isEdit?i("el-select",{staticClass:"postInfo-container-item",staticStyle:{width:"120px"},attrs:{placeholder:"属性:",clearable:"",disabled:""},model:{value:t.postForm.pick_type,callback:function(e){t.$set(t.postForm,"pick_type",e)},expression:"postForm.pick_type"}},t._l(t.PickTypeOptions,function(t){return i("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})})):i("el-select",{staticClass:"postInfo-container-item",staticStyle:{width:"120px"},attrs:{placeholder:"属性:",clearable:""},model:{value:t.postForm.pick_type,callback:function(e){t.$set(t.postForm,"pick_type",e)},expression:"postForm.pick_type"}},t._l(t.PickTypeOptions,function(t){return i("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})}))],1)],1),t._v(" "),i("el-col",{attrs:{span:8}},[i("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"45px",label:"位置:",prop:"position"}},[i("el-input",{staticClass:"article-textarea",staticStyle:{width:"120px"},attrs:{rows:1,type:"number",placeholder:"请输入内容"},model:{value:t.postForm.position,callback:function(e){t.$set(t.postForm,"position",e)},expression:"postForm.position"}})],1)],1)],1)],1)],1)],1),t._v(" "),i("el-row",[i("el-col",{attrs:{span:24}},[i("div",{staticClass:"postInfo-container"},[i("el-row",[i("el-col",{attrs:{span:8}},[t.isEdit?i("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"45px",label:"pickid:",prop:"id"}},[i("el-input",{staticClass:"article-textarea",staticStyle:{width:"120px"},attrs:{rows:1,type:"number",disabled:""},model:{value:t.postForm.id,callback:function(e){t.$set(t.postForm,"id",e)},expression:"postForm.id"}})],1):t._e()],1),t._v(" "),i("el-col",{attrs:{span:8}},[t.isEdit?i("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"75px",label:"pick用户:",prop:"user_nums"}},[i("el-input",{staticClass:"article-textarea",staticStyle:{width:"120px"},attrs:{rows:1,type:"number",disabled:""},model:{value:t.postForm.user_nums,callback:function(e){t.$set(t.postForm,"user_nums",e)},expression:"postForm.user_nums"}})],1):t._e()],1),t._v(" "),i("el-col",{attrs:{span:8}},[t.isEdit?i("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"85px",label:"创建时间:",prop:"create_time"}},[i("el-input",{staticClass:"article-textarea",staticStyle:{width:"170px"},attrs:{rows:1,type:"text",disabled:""},model:{value:t.postForm.create_time,callback:function(e){t.$set(t.postForm,"create_time",e)},expression:"postForm.create_time"}})],1):t._e()],1)],1)],1)])],1),t._v(" "),i("el-row",[i("el-col",{attrs:{span:12}},[i("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"45px",label:"城市:",prop:"city"}},[i("el-select",{staticStyle:{width:"100%"},attrs:{"remote-method":t.getRemoteCityList,filterable:"",remote:"",multiple:"","value-key":"id",placeholder:"搜索地区"},model:{value:t.city,callback:function(e){t.city=e},expression:"city"}},t._l(t.regionListOptions,function(t,e){return i("el-option",{key:t+e,attrs:{label:t,value:t}})}))],1)],1),t._v(" "),i("el-col",{attrs:{span:12}},[i("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"45px",label:"小组:",prop:"pick_group"}},[i("el-select",{staticStyle:{width:"100%"},attrs:{"remote-method":t.getRemoteGroupList,multiple:"",filterable:"",remote:"","reserve-keyword":"",clearable:"",placeholder:"搜索小组",loading:t.loading,"value-key":"id"},model:{value:t.pick_group,callback:function(e){t.pick_group=e},expression:"pick_group"}},t._l(t.groupListOptions,function(t,e){return i("el-option",{key:t+e,attrs:{label:t,value:t}})}))],1)],1)],1),t._v(" "),i("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"45px",label:"简介:",prop:"desc"}},[i("el-input",{staticClass:"article-textarea",attrs:{rows:1,type:"textarea",autosize:"",placeholder:"请输入内容"},model:{value:t.postForm.desc,callback:function(e){t.$set(t.postForm,"desc",e)},expression:"postForm.desc"}}),t._v(" "),i("span",{directives:[{name:"show",rawName:"v-show",value:t.contentShortLength,expression:"contentShortLength"}],staticClass:"word-counter"},[t._v(t._s(t.contentShortLength)+"字")])],1),t._v(" "),i("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"75px",label:"是否在线:"}},[i("el-radio-group",{model:{value:t.postForm.is_online,callback:function(e){t.$set(t.postForm,"is_online",e)},expression:"postForm.is_online"}},[i("el-radio",{attrs:{label:1}},[t._v("是")]),t._v(" "),i("el-radio",{attrs:{label:0}},[t._v("否")])],1)],1)],1)],1),t._v(" "),1==this.postForm.pick_type_origin&&this.isEdit?i("el-row",{staticStyle:{"margin-top":"50px"},attrs:{gutter:20}},[i("el-card",{staticClass:"box-card"},[i("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[i("span",[t._v("pick明星相关")])]),t._v(" "),i("div",{staticStyle:{"margin-bottom":"50px"}},[i("div",{staticClass:"filter-container"}),t._v(" "),i("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.data,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:"明星ID"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("router-link",{staticClass:"link-type",attrs:{to:"/star/edit/"+e.row.celebrity_id}},[i("span",[t._v(t._s(e.row.celebrity_id))])])]}}])}),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.celebrity_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.pick_nums))])]}}])}),t._v(" "),i("el-table-column",{attrs:{align:"center","min-width":"100",label:"添加pick值"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.edit?[i("el-input",{staticClass:"edit-input",attrs:{type:"number",size:"small"},model:{value:e.row.fake_pick_nums,callback:function(i){t.$set(e.row,"fake_pick_nums",i)},expression:"scope.row.fake_pick_nums"}}),t._v(" "),i("el-button",{staticClass:"cancel-btn",attrs:{size:"small",icon:"el-icon-refresh",type:"warning"},on:{click:function(i){t.cancelEdit(e.row)}}},[t._v("取消\n ")])]:i("span",[t._v(t._s(e.row.fake_pick_nums))])]}}])}),t._v(" "),i("el-table-column",{attrs:{align:"center",label:"操作",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.edit?i("el-button",{attrs:{type:"success",size:"small",icon:"el-icon-circle-check-outline"},on:{click:function(i){t.confirmEdit(e.row)}}},[t._v("确认\n ")]):i("el-button",{attrs:{type:"primary",size:"small",icon:"el-icon-edit"},on:{click:function(t){e.row.edit=!e.row.edit}}},[t._v("添加\n ")])]}}])})],1),t._v(" "),i("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],staticStyle:{"margin-left":"150px"},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):t._e(),t._v(" "),0==this.postForm.pick_type_origin&&this.isEdit?i("el-row",{staticStyle:{"margin-top":"50px"},attrs:{gutter:20}},[i("el-card",{staticClass:"box-card"},[i("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[i("span",[t._v("pick帖子相关")])]),t._v(" "),i("div",{staticStyle:{"margin-bottom":"50px"}},[i("div",{staticClass:"filter-container"}),t._v(" "),i("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.data,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:"帖子ID"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("router-link",{staticClass:"link-type",attrs:{to:"/topic/edit/"+e.row.topic_id}},[i("span",[t._v(t._s(e.row.topic_id))])])]}}])}),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.topic_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.pick_nums))])]}}])}),t._v(" "),i("el-table-column",{attrs:{align:"center","min-width":"100",label:"添加pick值"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.edit?[i("el-input",{staticClass:"edit-input",attrs:{type:"number",size:"small"},model:{value:e.row.fake_pick_nums,callback:function(i){t.$set(e.row,"fake_pick_nums",i)},expression:"scope.row.fake_pick_nums"}}),t._v(" "),i("el-button",{staticClass:"cancel-btn",attrs:{size:"small",icon:"el-icon-refresh",type:"warning"},on:{click:function(i){t.cancelEdit(e.row)}}},[t._v("取消\n ")])]:i("span",[t._v(t._s(e.row.fake_pick_nums))])]}}])}),t._v(" "),i("el-table-column",{attrs:{align:"center",label:"操作",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.edit?i("el-button",{attrs:{type:"success",size:"small",icon:"el-icon-circle-check-outline"},on:{click:function(i){t.confirmEdit(e.row)}}},[t._v("确认\n ")]):i("el-button",{attrs:{type:"primary",size:"small",icon:"el-icon-edit"},on:{click:function(t){e.row.edit=!e.row.edit}}},[t._v("添加\n ")])]}}])})],1),t._v(" "),i("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],staticStyle:{"margin-left":"150px"},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):t._e()],1)],1)],1)},[],!1,null,"40a811a0",null);b.options.__file="PickDetail.vue";e.a=b.exports}}]);
\ No newline at end of file
......@@ -549,8 +549,10 @@
})
},
confirmEdit(row) {
const id = this.$route.params && this.$route.params.id
row.edit = false
row.original_fake_pick_nums = row.fake_pick_nums
row.pick_id = id
this.$message({
message: '添加成功',
type: 'success'
......
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