Commit b56f6bf5 by 黑潮

update: build

parent 572db25b
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>分享有礼</title><link href=./static/css/app.0256b862627e145c43db5bc316fb1cf0.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.45.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-new.2.0.29.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-card.2.0.24.js></script><script src=//web-1251519181.file.myqcloud.com/components/people.2.0.38.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/card.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/selector.1.1.91.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.10.js></script><script src=//web-1251519181.file.myqcloud.com/components/track.1.0.4.js></script><script type=text/javascript src=./static/js/manifest.5b39bdce927804201e7c.js></script><script type=text/javascript src=./static/js/vendor.b02712d05f24edc20c20.js></script><script type=text/javascript src=./static/js/app.fd13ff6fa6f5bc76d47d.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>分享有礼</title><link href=./static/css/app.03b2c5f3765fcb9d6e41265d28f1146d.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.45.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-new.2.0.29.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-card.2.0.24.js></script><script src=//web-1251519181.file.myqcloud.com/components/people.2.0.38.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/card.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/selector.1.1.91.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.10.js></script><script src=//web-1251519181.file.myqcloud.com/components/track.1.0.4.js></script><script type=text/javascript src=./static/js/manifest.ced7cdce975679cea378.js></script><script type=text/javascript src=./static/js/vendor.90af56d1f884e114b079.js></script><script type=text/javascript src=./static/js/app.fd13ff6fa6f5bc76d47d.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([0],{"3E4D":function(t,e,r){"use strict";var n=r("zL8q");r.n(n);e.a={showmsg:function(t,e){Object(n.Message)({duration:1e3,message:t,type:e})}}},"3Xzz":function(t,e,r){"use strict";var n=r("P9l9"),o=r("Ch4/"),i={name:"navpath",data:function(){return{projectName:"member"}},props:{navpath:{type:Array,default:function(){return[]}},navtip:{type:Boolean,default:!1}},methods:{changeRoute:function(t,e){e?window.location.href=t:this.$router.push(t)},getNavPath:function(){var t=this,e={project:t.projectName,path:t.$route.path.split("/")[1]};Object(n.c)("/api-auth/get-current-memu-data",e).then(function(e){var r=e.data;if(0==r.errorCode){if(!r.result)return;return t.navpath=[],void(r.result.list&&r.result.list.length&&r.result.list.forEach(function(e,n){e.name=e.menuName,e.path="",n==r.result.list.length-1&&(e.path="/"+e.menuUrl),n>0&&t.navpath.push(e)}))}o.a.errorMsg(r)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){}},a={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"navwrap boxbttom"},[r("el-breadcrumb",{attrs:{separator:"/"}},[t._l(t.navpath,function(e,n){return[e.path?[r("el-breadcrumb-item",{key:e.name+n,attrs:{to:{path:e.path}},on:{click:function(r){return t.changeRoute(e.path,e.relocation)}}},[r("span",{staticClass:"el-breadcrumb__inner is-link",on:{click:function(r){return t.changeRoute(e.path,e.relocation)}}},[t._v(t._s(e.name))])])]:[r("el-breadcrumb-item",{key:e.name+n},[t._v(t._s(e.name))])]]})],2),t._v(" "),r("h1",{staticClass:"navtitle"},[t._v(t._s(t.navpath[t.navpath.length-1].name))]),t._v(" "),1==t.navtip?r("div",{staticClass:"navtip navmTop"},[r("i",{staticClass:"el-icon-info navtipcolor"}),t._v("变更导航个数,移动顺序,更换页面链接均需提交小程序审核后重新发布生效,其他变更立即生效。小程序审核请联系品牌项目经理。\n ")]):t._e()],1)},staticRenderFns:[]};var c=r("VU/8")(i,a,!1,function(t){r("L+IK")},"data-v-5f032a98",null);e.a=c.exports},"Ch4/":function(t,e,r){"use strict";var n=r("zL8q");r.n(n);e.a={errorMsg:function(t){var e=window.location.origin;if(e.indexOf("localhost")&&(e="http://gicdev.demogic.com"),1!=t.errorCode){if(4==t.errorCode)return n.Message.error({duration:3e3,message:t.message}),setTimeout(function(){window.location.href=e+"/gic-web/#/login"},1e3),!1;n.Message.error({duration:3e3,message:t.message})}}}},CwSZ:function(t,e,r){"use strict";var n=r("p8xL"),o=r("XgCd"),i={brackets:function(t){return t+"[]"},indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},a=Date.prototype.toISOString,c={delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,serializeDate:function(t){return a.call(t)},skipNulls:!1,strictNullHandling:!1},s=function t(e,r,o,i,a,s,u,l,f,p,d,h){var y=e;if("function"==typeof u)y=u(r,y);else if(y instanceof Date)y=p(y);else if(null===y){if(i)return s&&!h?s(r,c.encoder):r;y=""}if("string"==typeof y||"number"==typeof y||"boolean"==typeof y||n.isBuffer(y))return s?[d(h?r:s(r,c.encoder))+"="+d(s(y,c.encoder))]:[d(r)+"="+d(String(y))];var v,m=[];if(void 0===y)return m;if(Array.isArray(u))v=u;else{var g=Object.keys(y);v=l?g.sort(l):g}for(var w=0;w<v.length;++w){var b=v[w];a&&null===y[b]||(m=Array.isArray(y)?m.concat(t(y[b],o(r,b),o,i,a,s,u,l,f,p,d,h)):m.concat(t(y[b],r+(f?"."+b:"["+b+"]"),o,i,a,s,u,l,f,p,d,h)))}return m};t.exports=function(t,e){var r=t,a=e?n.assign({},e):{};if(null!==a.encoder&&void 0!==a.encoder&&"function"!=typeof a.encoder)throw new TypeError("Encoder has to be a function.");var u=void 0===a.delimiter?c.delimiter:a.delimiter,l="boolean"==typeof a.strictNullHandling?a.strictNullHandling:c.strictNullHandling,f="boolean"==typeof a.skipNulls?a.skipNulls:c.skipNulls,p="boolean"==typeof a.encode?a.encode:c.encode,d="function"==typeof a.encoder?a.encoder:c.encoder,h="function"==typeof a.sort?a.sort:null,y=void 0!==a.allowDots&&a.allowDots,v="function"==typeof a.serializeDate?a.serializeDate:c.serializeDate,m="boolean"==typeof a.encodeValuesOnly?a.encodeValuesOnly:c.encodeValuesOnly;if(void 0===a.format)a.format=o.default;else if(!Object.prototype.hasOwnProperty.call(o.formatters,a.format))throw new TypeError("Unknown format option provided.");var g,w,b=o.formatters[a.format];"function"==typeof a.filter?r=(w=a.filter)("",r):Array.isArray(a.filter)&&(g=w=a.filter);var j,x=[];if("object"!=typeof r||null===r)return"";j=a.arrayFormat in i?a.arrayFormat:"indices"in a?a.indices?"indices":"repeat":"indices";var O=i[j];g||(g=Object.keys(r)),h&&g.sort(h);for(var L=0;L<g.length;++L){var _=g[L];f&&null===r[_]||(x=x.concat(s(r[_],_,O,l,f,p?d:null,w,h,y,v,b,m)))}var E=x.join(u),P=!0===a.addQueryPrefix?"?":"";return E.length>0?P+E:""}},DDCP:function(t,e,r){"use strict";var n=r("p8xL"),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:n.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},a=function(t,e,r){if(t){var n=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(n),c=a?n.slice(0,a.index):n,s=[];if(c){if(!r.plainObjects&&o.call(Object.prototype,c)&&!r.allowPrototypes)return;s.push(c)}for(var u=0;null!==(a=i.exec(n))&&u<r.depth;){if(u+=1,!r.plainObjects&&o.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;s.push(a[1])}return a&&s.push("["+n.slice(a.index)+"]"),function(t,e,r){for(var n=e,o=t.length-1;o>=0;--o){var i,a=t[o];if("[]"===a)i=(i=[]).concat(n);else{i=r.plainObjects?Object.create(null):{};var c="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,s=parseInt(c,10);!isNaN(s)&&a!==c&&String(s)===c&&s>=0&&r.parseArrays&&s<=r.arrayLimit?(i=[])[s]=n:i[c]=n}n=i}return n}(s,e,r)}};t.exports=function(t,e){var r=e?n.assign({},e):{};if(null!==r.decoder&&void 0!==r.decoder&&"function"!=typeof r.decoder)throw new TypeError("Decoder has to be a function.");if(r.ignoreQueryPrefix=!0===r.ignoreQueryPrefix,r.delimiter="string"==typeof r.delimiter||n.isRegExp(r.delimiter)?r.delimiter:i.delimiter,r.depth="number"==typeof r.depth?r.depth:i.depth,r.arrayLimit="number"==typeof r.arrayLimit?r.arrayLimit:i.arrayLimit,r.parseArrays=!1!==r.parseArrays,r.decoder="function"==typeof r.decoder?r.decoder:i.decoder,r.allowDots="boolean"==typeof r.allowDots?r.allowDots:i.allowDots,r.plainObjects="boolean"==typeof r.plainObjects?r.plainObjects:i.plainObjects,r.allowPrototypes="boolean"==typeof r.allowPrototypes?r.allowPrototypes:i.allowPrototypes,r.parameterLimit="number"==typeof r.parameterLimit?r.parameterLimit:i.parameterLimit,r.strictNullHandling="boolean"==typeof r.strictNullHandling?r.strictNullHandling:i.strictNullHandling,""===t||null===t||void 0===t)return r.plainObjects?Object.create(null):{};for(var c="string"==typeof t?function(t,e){for(var r={},n=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,a=e.parameterLimit===1/0?void 0:e.parameterLimit,c=n.split(e.delimiter,a),s=0;s<c.length;++s){var u,l,f=c[s],p=f.indexOf("]="),d=-1===p?f.indexOf("="):p+1;-1===d?(u=e.decoder(f,i.decoder),l=e.strictNullHandling?null:""):(u=e.decoder(f.slice(0,d),i.decoder),l=e.decoder(f.slice(d+1),i.decoder)),o.call(r,u)?r[u]=[].concat(r[u]).concat(l):r[u]=l}return r}(t,r):t,s=r.plainObjects?Object.create(null):{},u=Object.keys(c),l=0;l<u.length;++l){var f=u[l],p=a(f,c[f],r);s=n.merge(s,p,r)}return n.compact(s)}},"L+IK":function(t,e){},P9l9:function(t,e,r){"use strict";r.d(e,"a",function(){return f}),r.d(e,"c",function(){return p}),r.d(e,"b",function(){return d});var n=r("//Fk"),o=r.n(n),i=r("lRwf"),a=r.n(i),c=r("mw3O"),s=r.n(c),u=r("zL8q");r.n(u);a.a.axios.defaults.timeout=25e3;var l=window.location.origin;-1!=l.indexOf("localhost")&&(l="http://gicdev.demogic.com"),a.a.axios.interceptors.request.use(function(t){return t},function(t){return u.Message.error({message:"请求超时!"}),o.a.resolve(t)}),a.a.axios.interceptors.response.use(function(t){return t.status&&200==t.status&&"401"==t.data.errorCode?(u.Message.error({message:t.data.message}),void(window.location.href=l+"/gic-web/#/")):t},function(t){return 504==t.response.status||404==t.response.status?u.Message.error({message:"服务异常⊙﹏⊙∥"}):(t.response.status,window.location.href=l+"/gic-web/#/"),o.a.resolve(t)});var f=function(t,e){return e.requestProject="share-config",a.a.axios({method:"get",url:""+l+t,data:{},params:e,headers:{"content-type":"application/x-www-form-urlencoded"}})},p=function(t,e){return e.requestProject="share-config",a.a.axios({method:"post",url:""+l+t,data:s.a.stringify(e),headers:{"content-type":"application/x-www-form-urlencoded"}})},d=function(t,e){return a.a.axios({method:"post",url:""+l+t,data:e,params:{requestProject:"share-config"},headers:{"Content-Type":"application/json;charset=UTF-8"}})}},PI0u:function(t,e,r){"use strict";e.a=function(t,e){var r,e=e||200;return function(){var n=this,o=arguments;r&&clearTimeout(r),r=setTimeout(function(){r=null,t.apply(n,o)},e)}}},SldL:function(t,e){!function(e){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag",u="object"==typeof t,l=e.regeneratorRuntime;if(l)u&&(t.exports=l);else{(l=e.regeneratorRuntime=u?t.exports:{}).wrap=b;var f="suspendedStart",p="suspendedYield",d="executing",h="completed",y={},v={};v[a]=function(){return this};var m=Object.getPrototypeOf,g=m&&m(m(k([])));g&&g!==n&&o.call(g,a)&&(v=g);var w=L.prototype=x.prototype=Object.create(v);O.prototype=w.constructor=L,L.constructor=O,L[s]=O.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===O||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,L):(t.__proto__=L,s in t||(t[s]="GeneratorFunction")),t.prototype=Object.create(w),t},l.awrap=function(t){return{__await:t}},_(E.prototype),E.prototype[c]=function(){return this},l.AsyncIterator=E,l.async=function(t,e,r,n){var o=new E(b(t,e,r,n));return l.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},_(w),w[s]="Generator",w[a]=function(){return this},w.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},l.values=k,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(A),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return c.type="throw",c.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:k(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),y}}}function b(t,e,r,n){var o=e&&e.prototype instanceof x?e:x,i=Object.create(o.prototype),a=new N(n||[]);return i._invoke=function(t,e,r){var n=f;return function(o,i){if(n===d)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw i;return R()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=P(a,r);if(c){if(c===y)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var s=j(t,e,r);if("normal"===s.type){if(n=r.done?h:p,s.arg===y)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=h,r.method="throw",r.arg=s.arg)}}}(t,r,a),i}function j(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function x(){}function O(){}function L(){}function _(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function E(t){var e;this._invoke=function(r,n){function i(){return new Promise(function(e,i){!function e(r,n,i,a){var c=j(t[r],t,n);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==typeof u&&o.call(u,"__await")?Promise.resolve(u.__await).then(function(t){e("next",t,i,a)},function(t){e("throw",t,i,a)}):Promise.resolve(u).then(function(t){s.value=t,i(s)},a)}a(c.arg)}(r,n,e,i)})}return e=e?e.then(i,i):i()}}function P(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,P(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=j(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,y;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,y):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function k(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(o.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=r,e.done=!0,e};return i.next=i}}return{next:R}}function R(){return{value:r,done:!0}}}(function(){return this}()||Function("return this")())},XgCd:function(t,e,r){"use strict";var n=String.prototype.replace,o=/%20/g;t.exports={default:"RFC3986",formatters:{RFC1738:function(t){return n.call(t,o,"+")},RFC3986:function(t){return t}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},Xxa5:function(t,e,r){t.exports=r("jyFz")},exGp:function(t,e,r){"use strict";e.__esModule=!0;var n,o=r("//Fk"),i=(n=o)&&n.__esModule?n:{default:n};e.default=function(t){return function(){var e=t.apply(this,arguments);return new i.default(function(t,r){return function n(o,a){try{var c=e[o](a),s=c.value}catch(t){return void r(t)}if(!c.done)return i.default.resolve(s).then(function(t){n("next",t)},function(t){n("throw",t)});t(s)}("next")})}}},jyFz:function(t,e,r){var n=function(){return this}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=r("SldL"),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},mw3O:function(t,e,r){"use strict";var n=r("CwSZ"),o=r("DDCP"),i=r("XgCd");t.exports={formats:i,parse:o,stringify:n}},p8xL:function(t,e,r){"use strict";var n=Object.prototype.hasOwnProperty,o=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}();e.arrayToObject=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r},e.merge=function(t,r,o){if(!r)return t;if("object"!=typeof r){if(Array.isArray(t))t.push(r);else{if("object"!=typeof t)return[t,r];(o.plainObjects||o.allowPrototypes||!n.call(Object.prototype,r))&&(t[r]=!0)}return t}if("object"!=typeof t)return[t].concat(r);var i=t;return Array.isArray(t)&&!Array.isArray(r)&&(i=e.arrayToObject(t,o)),Array.isArray(t)&&Array.isArray(r)?(r.forEach(function(r,i){n.call(t,i)?t[i]&&"object"==typeof t[i]?t[i]=e.merge(t[i],r,o):t.push(r):t[i]=r}),t):Object.keys(r).reduce(function(t,i){var a=r[i];return n.call(t,i)?t[i]=e.merge(t[i],a,o):t[i]=a,t},i)},e.assign=function(t,e){return Object.keys(e).reduce(function(t,r){return t[r]=e[r],t},t)},e.decode=function(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(e){return t}},e.encode=function(t){if(0===t.length)return t;for(var e="string"==typeof t?t:String(t),r="",n=0;n<e.length;++n){var i=e.charCodeAt(n);45===i||46===i||95===i||126===i||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?r+=e.charAt(n):i<128?r+=o[i]:i<2048?r+=o[192|i>>6]+o[128|63&i]:i<55296||i>=57344?r+=o[224|i>>12]+o[128|i>>6&63]+o[128|63&i]:(n+=1,i=65536+((1023&i)<<10|1023&e.charCodeAt(n)),r+=o[240|i>>18]+o[128|i>>12&63]+o[128|i>>6&63]+o[128|63&i])}return r},e.compact=function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[n],i=o.obj[o.prop],a=Object.keys(i),c=0;c<a.length;++c){var s=a[c],u=i[s];"object"==typeof u&&null!==u&&-1===r.indexOf(u)&&(e.push({obj:i,prop:s}),r.push(u))}return function(t){for(var e;t.length;){var r=t.pop();if(e=r.obj[r.prop],Array.isArray(e)){for(var n=[],o=0;o<e.length;++o)void 0!==e[o]&&n.push(e[o]);r.obj[r.prop]=n}}return e}(e)},e.isRegExp=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},e.isBuffer=function(t){return null!==t&&void 0!==t&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))}}});
\ No newline at end of file
webpackJsonp([0],{"3E4D":function(e,t,r){"use strict";var n=r("zL8q");r.n(n);t.a={showmsg:function(e,t){Object(n.Message)({duration:1e3,message:e,type:t})}}},"3Xzz":function(e,t,r){"use strict";var n=r("P9l9"),o=r("Ch4/"),i={name:"navpath",data:function(){return{projectName:"member"}},props:{navpath:{type:Array,default:function(){return[]}},navtip:{type:Boolean,default:!1}},methods:{changeRoute:function(e,t){t?window.location.href=e:this.$router.push(e)},getNavPath:function(){var e=this,t={project:e.projectName,path:e.$route.path.split("/")[1]};Object(n.c)("/api-auth/get-current-memu-data",t).then(function(t){var r=t.data;if(0==r.errorCode){if(!r.result)return;return e.navpath=[],void(r.result.list&&r.result.list.length&&r.result.list.forEach(function(t,n){t.name=t.menuName,t.path="",n==r.result.list.length-1&&(t.path="/"+t.menuUrl),n>0&&e.navpath.push(t)}))}o.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){}},a={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"navwrap boxbttom"},[r("el-breadcrumb",{attrs:{separator:"/"}},[e._l(e.navpath,function(t,n){return[t.path?[r("el-breadcrumb-item",{key:t.name+n,attrs:{to:{path:t.path}},on:{click:function(r){return e.changeRoute(t.path,t.relocation)}}},[r("span",{staticClass:"el-breadcrumb__inner is-link",on:{click:function(r){return e.changeRoute(t.path,t.relocation)}}},[e._v(e._s(t.name))])])]:[r("el-breadcrumb-item",{key:t.name+n},[e._v(e._s(t.name))])]]})],2),e._v(" "),r("h1",{staticClass:"navtitle"},[e._v(e._s(e.navpath[e.navpath.length-1].name))]),e._v(" "),1==e.navtip?r("div",{staticClass:"navtip navmTop"},[r("i",{staticClass:"el-icon-info navtipcolor"}),e._v("变更导航个数,移动顺序,更换页面链接均需提交小程序审核后重新发布生效,其他变更立即生效。小程序审核请联系品牌项目经理。\n ")]):e._e()],1)},staticRenderFns:[]};var c=r("VU/8")(i,a,!1,function(e){r("L+IK")},"data-v-5f032a98",null);t.a=c.exports},"Ch4/":function(e,t,r){"use strict";var n=r("zL8q");r.n(n);t.a={errorMsg:function(e){var t=window.location.origin;if(t.indexOf("localhost")&&(t="http://gicdev.demogic.com"),1!=e.errorCode){if(4==e.errorCode)return n.Message.error({duration:3e3,message:e.message}),setTimeout(function(){window.location.href=t+"/gic-web/#/login"},1e3),!1;n.Message.error({duration:3e3,message:e.message})}}}},CwSZ:function(e,t,r){"use strict";var n=r("p8xL"),o=r("XgCd"),i=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,s=Array.prototype.push,u=function(e,t){s.apply(e,c(t)?t:[t])},l=Date.prototype.toISOString,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,formatter:o.formatters[o.default],indices:!1,serializeDate:function(e){return l.call(e)},skipNulls:!1,strictNullHandling:!1},p=function e(t,r,o,i,a,s,l,p,h,d,y,m,v){var g=t;if("function"==typeof l?g=l(r,g):g instanceof Date?g=d(g):"comma"===o&&c(g)&&(g=g.join(",")),null===g){if(i)return s&&!m?s(r,f.encoder,v):r;g=""}if("string"==typeof g||"number"==typeof g||"boolean"==typeof g||n.isBuffer(g))return s?[y(m?r:s(r,f.encoder,v))+"="+y(s(g,f.encoder,v))]:[y(r)+"="+y(String(g))];var w,b=[];if(void 0===g)return b;if(c(l))w=l;else{var x=Object.keys(g);w=p?x.sort(p):x}for(var j=0;j<w.length;++j){var O=w[j];a&&null===g[O]||(c(g)?u(b,e(g[O],"function"==typeof o?o(r,O):r,o,i,a,s,l,p,h,d,y,m,v)):u(b,e(g[O],r+(h?"."+O:"["+O+"]"),o,i,a,s,l,p,h,d,y,m,v)))}return b};e.exports=function(e,t){var r,n=e,s=function(e){if(!e)return f;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||f.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=o.default;if(void 0!==e.format){if(!i.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n=o.formatters[r],a=f.filter;return("function"==typeof e.filter||c(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:void 0===e.allowDots?f.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:a,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}}(t);"function"==typeof s.filter?n=(0,s.filter)("",n):c(s.filter)&&(r=s.filter);var l,h=[];if("object"!=typeof n||null===n)return"";l=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var d=a[l];r||(r=Object.keys(n)),s.sort&&r.sort(s.sort);for(var y=0;y<r.length;++y){var m=r[y];s.skipNulls&&null===n[m]||u(h,p(n[m],m,d,s.strictNullHandling,s.skipNulls,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.formatter,s.encodeValuesOnly,s.charset))}var v=h.join(s.delimiter),g=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?g+="utf8=%26%2310003%3B&":g+="utf8=%E2%9C%93&"),v.length>0?g+v:""}},DDCP:function(e,t,r){"use strict";var n=r("p8xL"),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},c=function(e,t,r){if(e){var n=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(n),c=a?n.slice(0,a.index):n,s=[];if(c){if(!r.plainObjects&&o.call(Object.prototype,c)&&!r.allowPrototypes)return;s.push(c)}for(var u=0;null!==(a=i.exec(n))&&u<r.depth;){if(u+=1,!r.plainObjects&&o.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;s.push(a[1])}return a&&s.push("["+n.slice(a.index)+"]"),function(e,t,r){for(var n=t,o=e.length-1;o>=0;--o){var i,a=e[o];if("[]"===a&&r.parseArrays)i=[].concat(n);else{i=r.plainObjects?Object.create(null):{};var c="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,s=parseInt(c,10);r.parseArrays||""!==c?!isNaN(s)&&a!==c&&String(s)===c&&s>=0&&r.parseArrays&&s<=r.arrayLimit?(i=[])[s]=n:i[c]=n:i={0:n}}n=i}return n}(s,t,r)}};e.exports=function(e,t){var r=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth?e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null===e||void 0===e)return r.plainObjects?Object.create(null):{};for(var s="string"==typeof e?function(e,t){var r,c={},s=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,u=t.parameterLimit===1/0?void 0:t.parameterLimit,l=s.split(t.delimiter,u),f=-1,p=t.charset;if(t.charsetSentinel)for(r=0;r<l.length;++r)0===l[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===l[r]?p="utf-8":"utf8=%26%2310003%3B"===l[r]&&(p="iso-8859-1"),f=r,r=l.length);for(r=0;r<l.length;++r)if(r!==f){var h,d,y=l[r],m=y.indexOf("]="),v=-1===m?y.indexOf("="):m+1;-1===v?(h=t.decoder(y,i.decoder,p),d=t.strictNullHandling?null:""):(h=t.decoder(y.slice(0,v),i.decoder,p),d=t.decoder(y.slice(v+1),i.decoder,p)),d&&t.interpretNumericEntities&&"iso-8859-1"===p&&(d=a(d)),d&&t.comma&&d.indexOf(",")>-1&&(d=d.split(",")),o.call(c,h)?c[h]=n.combine(c[h],d):c[h]=d}return c}(e,r):e,u=r.plainObjects?Object.create(null):{},l=Object.keys(s),f=0;f<l.length;++f){var p=l[f],h=c(p,s[p],r);u=n.merge(u,h,r)}return n.compact(u)}},"L+IK":function(e,t){},P9l9:function(e,t,r){"use strict";r.d(t,"a",function(){return f}),r.d(t,"c",function(){return p}),r.d(t,"b",function(){return h});var n=r("//Fk"),o=r.n(n),i=r("lRwf"),a=r.n(i),c=r("mw3O"),s=r.n(c),u=r("zL8q");r.n(u);a.a.axios.defaults.timeout=25e3;var l=window.location.origin;-1!=l.indexOf("localhost")&&(l="http://gicdev.demogic.com"),a.a.axios.interceptors.request.use(function(e){return e},function(e){return u.Message.error({message:"请求超时!"}),o.a.resolve(e)}),a.a.axios.interceptors.response.use(function(e){return e.status&&200==e.status&&"401"==e.data.errorCode?(u.Message.error({message:e.data.message}),void(window.location.href=l+"/gic-web/#/")):e},function(e){return 504==e.response.status||404==e.response.status?u.Message.error({message:"服务异常⊙﹏⊙∥"}):(e.response.status,window.location.href=l+"/gic-web/#/"),o.a.resolve(e)});var f=function(e,t){return t.requestProject="share-config",a.a.axios({method:"get",url:""+l+e,data:{},params:t,headers:{"content-type":"application/x-www-form-urlencoded"}})},p=function(e,t){return t.requestProject="share-config",a.a.axios({method:"post",url:""+l+e,data:s.a.stringify(t),headers:{"content-type":"application/x-www-form-urlencoded"}})},h=function(e,t){return a.a.axios({method:"post",url:""+l+e,data:t,params:{requestProject:"share-config"},headers:{"Content-Type":"application/json;charset=UTF-8"}})}},PI0u:function(e,t,r){"use strict";t.a=function(e,t){var r,t=t||200;return function(){var n=this,o=arguments;r&&clearTimeout(r),r=setTimeout(function(){r=null,e.apply(n,o)},t)}}},SldL:function(e,t){!function(t){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag",u="object"==typeof e,l=t.regeneratorRuntime;if(l)u&&(e.exports=l);else{(l=t.regeneratorRuntime=u?e.exports:{}).wrap=b;var f="suspendedStart",p="suspendedYield",h="executing",d="completed",y={},m={};m[a]=function(){return this};var v=Object.getPrototypeOf,g=v&&v(v(S([])));g&&g!==n&&o.call(g,a)&&(m=g);var w=L.prototype=j.prototype=Object.create(m);O.prototype=w.constructor=L,L.constructor=O,L[s]=O.displayName="GeneratorFunction",l.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===O||"GeneratorFunction"===(t.displayName||t.name))},l.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,L):(e.__proto__=L,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(w),e},l.awrap=function(e){return{__await:e}},E(N.prototype),N.prototype[c]=function(){return this},l.AsyncIterator=N,l.async=function(e,t,r,n){var o=new N(b(e,t,r,n));return l.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},E(w),w[s]="Generator",w[a]=function(){return this},w.toString=function(){return"[object Generator]"},l.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},l.values=S,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(_),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=r)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,o){return c.type="throw",c.arg=e,t.next=n,o&&(t.method="next",t.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),_(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),y}}}function b(e,t,r,n){var o=t&&t.prototype instanceof j?t:j,i=Object.create(o.prototype),a=new k(n||[]);return i._invoke=function(e,t,r){var n=f;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return D()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=P(a,r);if(c){if(c===y)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var s=x(e,t,r);if("normal"===s.type){if(n=r.done?d:p,s.arg===y)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=d,r.method="throw",r.arg=s.arg)}}}(e,r,a),i}function x(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}function j(){}function O(){}function L(){}function E(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function N(e){var t;this._invoke=function(r,n){function i(){return new Promise(function(t,i){!function t(r,n,i,a){var c=x(e[r],e,n);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==typeof u&&o.call(u,"__await")?Promise.resolve(u.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(u).then(function(e){s.value=e,i(s)},a)}a(c.arg)}(r,n,t,i)})}return t=t?t.then(i,i):i()}}function P(e,t){var n=e.iterator[t.method];if(n===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=r,P(e,t),"throw"===t.method))return y;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=x(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,y;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,y):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,y)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function S(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=r,t.done=!0,t};return i.next=i}}return{next:D}}function D(){return{value:r,done:!0}}}(function(){return this}()||Function("return this")())},XgCd:function(e,t,r){"use strict";var n=String.prototype.replace,o=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return n.call(e,o,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},Xxa5:function(e,t,r){e.exports=r("jyFz")},exGp:function(e,t,r){"use strict";t.__esModule=!0;var n,o=r("//Fk"),i=(n=o)&&n.__esModule?n:{default:n};t.default=function(e){return function(){var t=e.apply(this,arguments);return new i.default(function(e,r){return function n(o,a){try{var c=t[o](a),s=c.value}catch(e){return void r(e)}if(!c.done)return i.default.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)});e(s)}("next")})}}},jyFz:function(e,t,r){var n=function(){return this}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,e.exports=r("SldL"),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(e){n.regeneratorRuntime=void 0}},mw3O:function(e,t,r){"use strict";var n=r("CwSZ"),o=r("DDCP"),i=r("XgCd");e.exports={formats:i,parse:o,stringify:n}},p8xL:function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var i=t[n],a=i.obj[i.prop],c=Object.keys(a),s=0;s<c.length;++s){var u=c[s],l=a[u];"object"==typeof l&&null!==l&&-1===r.indexOf(l)&&(t.push({obj:a,prop:u}),r.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(o(r)){for(var n=[],i=0;i<r.length;++i)void 0!==r[i]&&n.push(r[i]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r){if(0===e.length)return e;var n="string"==typeof e?e:String(e);if("iso-8859-1"===r)return escape(n).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var o="",a=0;a<n.length;++a){var c=n.charCodeAt(a);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?o+=n.charAt(a):c<128?o+=i[c]:c<2048?o+=i[192|c>>6]+i[128|63&c]:c<55296||c>=57344?o+=i[224|c>>12]+i[128|c>>6&63]+i[128|63&c]:(a+=1,c=65536+((1023&c)<<10|1023&n.charCodeAt(a)),o+=i[240|c>>18]+i[128|c>>12&63]+i[128|c>>6&63]+i[128|63&c])}return o},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,r,i){if(!r)return t;if("object"!=typeof r){if(o(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(i&&(i.plainObjects||i.allowPrototypes)||!n.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var c=t;return o(t)&&!o(r)&&(c=a(t,i)),o(t)&&o(r)?(r.forEach(function(r,o){if(n.call(t,o)){var a=t[o];a&&"object"==typeof a&&r&&"object"==typeof r?t[o]=e(a,r,i):t.push(r)}else t[o]=r}),t):Object.keys(r).reduce(function(t,o){var a=r[o];return n.call(t,o)?t[o]=e(t[o],a,i):t[o]=a,t},c)}}}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([3],{"31Qx":function(t,e){},"9U3U":function(t,e){},PRBB:function(t,e){},TQvf:function(t,e,a){
/*!
* clipboard.js v2.0.8
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/
var i;i=function(){return function(){var t={134:function(t,e,a){"use strict";a.d(e,{default:function(){return y}});var i=a(279),n=a.n(i),r=a(370),s=a.n(r),c=a(817),o=a.n(c);function l(t){"@babel/helpers - typeof";return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var a=0;a<e.length;a++){var i=e[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var d=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.resolveOptions(e),this.initSelection()}var e,a,i;return e=t,(a=[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"createFakeElement",value:function(){var t="rtl"===document.documentElement.getAttribute("dir");this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var e=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(e,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var t=this,e=this.createFakeElement();this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(e),this.selectedText=o()(e),this.copyText(),this.removeFake()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=o()(this.target),this.copyText()}},{key:"copyText",value:function(){var t;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==l(t)||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}])&&u(e.prototype,a),i&&u(e,i),t}();function f(t){"@babel/helpers - typeof";return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){for(var a=0;a<e.length;a++){var i=e[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function v(t,e){return(v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function g(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var a,i=m(t);if(e){var n=m(this).constructor;a=Reflect.construct(i,arguments,n)}else a=i.apply(this,arguments);return function(t,e){if(e&&("object"===f(e)||"function"==typeof e))return e;return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,a)}}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t,e){var a="data-clipboard-".concat(t);if(e.hasAttribute(a))return e.getAttribute(a)}var y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v(t,e)}(c,n());var e,a,i,r=g(c);function c(t,e){var a;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),(a=r.call(this)).resolveOptions(e),a.listenClick(t),a}return e=c,i=[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,a=!!document.queryCommandSupported;return e.forEach(function(t){a=a&&!!document.queryCommandSupported(t)}),a}}],(a=[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===f(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=s()(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new d({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return p("action",t)}},{key:"defaultTarget",value:function(t){var e=p("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return p("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}])&&h(e.prototype,a),i&&h(e,i),c}()},828:function(t){var e=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var a=Element.prototype;a.matches=a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}t.exports=function(t,a){for(;t&&t.nodeType!==e;){if("function"==typeof t.matches&&t.matches(a))return t;t=t.parentNode}}},438:function(t,e,a){var i=a(828);function n(t,e,a,n,r){var s=function(t,e,a,n){return function(a){a.delegateTarget=i(a.target,e),a.delegateTarget&&n.call(t,a)}}.apply(this,arguments);return t.addEventListener(a,s,r),{destroy:function(){t.removeEventListener(a,s,r)}}}t.exports=function(t,e,a,i,r){return"function"==typeof t.addEventListener?n.apply(null,arguments):"function"==typeof a?n.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return n(t,e,a,i,r)}))}},879:function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var a=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===a||"[object HTMLCollection]"===a)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},370:function(t,e,a){var i=a(879),n=a(438);t.exports=function(t,e,a){if(!t&&!e&&!a)throw new Error("Missing required arguments");if(!i.string(e))throw new TypeError("Second argument must be a String");if(!i.fn(a))throw new TypeError("Third argument must be a Function");if(i.node(t))return function(t,e,a){return t.addEventListener(e,a),{destroy:function(){t.removeEventListener(e,a)}}}(t,e,a);if(i.nodeList(t))return function(t,e,a){return Array.prototype.forEach.call(t,function(t){t.addEventListener(e,a)}),{destroy:function(){Array.prototype.forEach.call(t,function(t){t.removeEventListener(e,a)})}}}(t,e,a);if(i.string(t))return function(t,e,a){return n(document.body,t,e,a)}(t,e,a);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(t){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var a=t.hasAttribute("readonly");a||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),a||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var i=window.getSelection(),n=document.createRange();n.selectNodeContents(t),i.removeAllRanges(),i.addRange(n),e=i.toString()}return e}},279:function(t){function e(){}e.prototype={on:function(t,e,a){var i=this.e||(this.e={});return(i[t]||(i[t]=[])).push({fn:e,ctx:a}),this},once:function(t,e,a){var i=this;function n(){i.off(t,n),e.apply(a,arguments)}return n._=e,this.on(t,n,a)},emit:function(t){for(var e=[].slice.call(arguments,1),a=((this.e||(this.e={}))[t]||[]).slice(),i=0,n=a.length;i<n;i++)a[i].fn.apply(a[i].ctx,e);return this},off:function(t,e){var a=this.e||(this.e={}),i=a[t],n=[];if(i&&e)for(var r=0,s=i.length;r<s;r++)i[r].fn!==e&&i[r].fn._!==e&&n.push(i[r]);return n.length?a[t]=n:delete a[t],this}},t.exports=e,t.exports.TinyEmitter=e}},e={};function a(i){if(e[i])return e[i].exports;var n=e[i]={exports:{}};return t[i](n,n.exports,a),n.exports}return a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,{a:e}),e},a.d=function(t,e){for(var i in e)a.o(e,i)&&!a.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a(134)}().default},t.exports=i()},Vo6M:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAA/VJREFUSA2VVt9rHFUU/s7Mzm5X22wbbNxsE2ljwWpoaSsqCAVFxT9A44OgLz70R9qkefBRGkFpn9okJYVW33yL+iqCVkUQBGmhSP2BMTVmk01qmiJtQpOdmeN3Np24zUw2kwu79557vnO/c849c2YEDUbniGbnpnEMii4FOkWRhWCcJl94Hob/PiZjDcwTVZK4y83281ryQ1xWxZ4kjAjucb+30iuXkvRr7SUS7h7S3LziKsmeWssw2nddvDR5Qr6J5PVmJwkwD7ydhsxsgxCnk85Yay+RECHvLe1QPFsc0GfSwmOEpYv6kAr2pj3AcLzPQ2nxMUJUWSQKN+0BhmP6UzsYI2Tpb90ImWEZYSGtTYwwUDyR1ngFx0fnhW81syI3WMQIGeGbDfCJKjaFJ0d/xsFE5arNGCHvb3YVJpUYuqikAcYJBR+wfc2kMY4wvMMPp7plIpIbzYmdpnVA+5ims40MIx3JxtnedkbyenM8QlpIHp/Qk1SpJWEqxyJHEiM0ZWlID2iIrxlpcwSOzYLLlR68IiLa36/OR80oaRXbeWguVFT5m2trQvnKYalGtmsSGqA4qKdYRP0RODY76Jrukc86zmhhIYv9dK5pNcZ1cC+o4trMu3LTdIkpjYyYrtFoHZsFP1ZO4POOi1qY93AoIjMCz8VvPLgWFZv7Jvat5+x1Z2c0JGR0L8aIbEPAdovj73O1sIADlFcyxTZXLvfKH07mwcfED7DXXnuJ3aHtY20O7uIUjd9JJAR+YmVeuQR9jJgt9RhmJaz55C/PkS4Mkb3r4PEVwrYRzYfTeJlRvUayN5iifARePTOcr2zPCsRyxO4UMJVTvgM/WMJt07mC2aoD9QJI6KBoqZUQj2RUVXYM4XhQwXv0druBU4x/DMNocjWsh78me+SXervxPrHOU+s+vL9bJHyajuYypfPoJdG5evB6axJtMoxmsWSl4fhoK55VcTwE/MyanToss7sG9NFFF9vUh1QVLYa3RyXDTL9uwkYGHew0vOdjbhFoDeg5xQ6WP9yAl8KmUQ3Rwqh2cg34tX9kBHMOtTuWxfT/JHy1a0TdLf+izDc1OeuGe79inf8r17RWTAUPY/ZYLN9DnU2KZcsPFRy53i9LOQfX6vGBj1JpWNtZlcX6/Yzi9+vdwkJlNdUr0q5Z+2dKg/r8jZMy4+VxNXrQmdCHg0Xsv5/mWmReDr9O9OFPO9si/JSk1G9wKDazCL5sHdS3ykdlMrcN37EKx5i6O47DYhLM884mCk34vtwto9ZvjYEYfsMP6+bbPvZR2sOGvYtG7bynImWrrmYitxKe55yhbolR2Ff3Hepvcj3BQy5MnZTas2nnNRr/AYSgULGfxss8AAAAAElFTkSuQmCC"},X1Ja:function(t,e){},aP79:function(t,e){},bIhT:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("mvHQ"),n=a.n(i),r=a("P9l9"),s=a("Ch4/"),c={name:"game-select",props:{value:{type:[String,Array,Object],default:function(){return[]}}},data:function(){return{caseValue:[],options:[{gameType:1,id:1,gameTypeName:"大转盘",label:"大转盘",children:[]},{gameType:2,id:2,gameTypeName:"刮刮卡",label:"刮刮卡",children:[]},{gameType:3,id:3,gameTypeName:"拼图游戏",label:"拼图游戏",children:[]},{gameType:4,id:4,gameTypeName:"找你马",label:"找你马",children:[]},{gameType:5,id:5,gameTypeName:"口令福利",label:"口令福利",children:[]}],props:{label:"label",children:"children",value:"id"}}},methods:{handleChange:function(t){var e=this;e.$emit("input",t),e.options.forEach(function(a){2==t.length&&t[0]==a.id&&a.children.forEach(function(a){t[1]==a.gameId&&e.$emit("changeGame",a.gameName,a.gameUrl)})})},expandChange:function(t){this.getContent(t[0])},getContent:function(t){var e=this,a={gameType:t};Object(r.a)("/sharing-core-web/list-game",a).then(function(a){var i=a.data;if(1==i.errorCode)return i.result&&i.result.length&&i.result.forEach(function(t){t.id=t.gameId,t.label=t.gameName}),e.options.forEach(function(e){e.id==t&&(e.children=i.result)}),void e.$forceUpdate();s.a.errorMsg(i)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{value:function(t,e){var a=this;a.caseValue=t,setTimeout(function(){t.length&&a.getContent(t[0])},500)}},mounted:function(){var t=this;t.caseValue=t.value,setTimeout(function(){t.value.length&&t.getContent(t.value[0])},500)}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-cascader",{attrs:{options:t.options,props:t.props},on:{change:t.handleChange,"expand-change":t.expandChange},model:{value:t.caseValue,callback:function(e){t.caseValue=e},expression:"caseValue"}})],1)},staticRenderFns:[]};var l=a("VU/8")(c,o,!1,function(t){a("aP79")},null,null).exports,u=a("3E4D"),d={name:"active-select",components:{gameSelect:l},data:function(){return{firstGoal:{},firstData:[],secondGoal:{},secondData:[],thirdData:[],fourData:[],markingList:[],markingValue:"",activityMarketPageName:"",gameList:[],gameValue:[],gamePlanName:"",gamePlanUrl:"",cardList:[],cardValue:"",cardCoupName:"",pathNames:[],pathIds:[],disableCreate:!0}},methods:{selectFirst:function(t){this.firstGoal=t;var e=JSON.parse(n()(t.children));t.children&&t.children.length&&e.forEach(function(t){t.description=JSON.parse(t.description)}),this.secondData=JSON.parse(n()(e)),this.secondGoal={},this.thirdData=[],this.pathNames=[],this.pathIds=[],this.markingValue="",this.activityMarketPageName="",this.gameValue=[],this.gamePlanName="",this.cardValue="",this.cardCoupName=""},selectSecond:function(t){this.secondGoal=t,this.getThirdData(t.goalId),this.markingValue="",this.activityMarketPageName="",this.gameValue=[],this.gamePlanName="",this.cardValue="",this.cardCoupName=""},getThirdData:function(t){var e=this,a={goalId:t};e.pathNames=[],e.pathIds=[],Object(r.a)("/sharing-core-web/list-activity-dict-trans",a).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.length&&a.result.forEach(function(t){t.check=!1,t.mustFlag&&(t.check=!0,e.pathNames.push(t.transName),e.pathIds.push(t.transId),e.getText(t.transId))}),e.thirdData=a.result||[],e.$nextTick(function(){e.checkDisable()}),!1;s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},selectThird:function(t){var e=this;if(t.mustFlag)return!1;t.check=!t.check,console.log(t,t.check),e.pathIds=[],e.thirdData.forEach(function(t){t.check&&t.display&&e.pathIds.push(t.transId)}),e.thirdData.forEach(function(a){t.check&&a.mustCondition&&a.mustCondition.includes(t.transId)&&(a.mustFlag=1,a.check=!0,a.display=1),t.check||!a.mustCondition||!a.mustCondition.includes(t.transId)||e.thirdData[0].check||e.thirdData[1].check||(a.mustFlag=0,a.check=!1,a.display=0),t.check&&a.showCondition&&a.showCondition.includes(t.transId)&&(a.display=1),!t.check&&a.showCondition&&a.showCondition.includes(t.transId)&&!a.selectedConditions&&(a.display=0),!t.check&&a.canceCondition&&a.canceCondition.includes(t.transId)&&(a.check=!1),t.check&&(a.showCondition&&e.thirdData[0].check||a.showCondition&&e.thirdData[1].check)&&a.selectedConditions&&a.selectedConditions.includes(t.transId)&&(a.display=1,a.check=!0),t.check&&a.showCondition&&!e.thirdData[0].check&&!e.thirdData[1].check&&a.selectedConditions&&a.selectedConditions.includes(t.transId)&&(a.display=0,a.check=!0),!t.check&&a.showCondition&&!e.thirdData[0].check&&!e.thirdData[1].check&&a.selectedConditions&&a.selectedConditions.includes(t.transId)&&(a.display=1,a.check=!1),t.check||4!=a.transId||e.thirdData[0].check||e.thirdData[1].check||!e.thirdData[3].check||(a.display=0,a.check=!0)}),e.getPathNameText()},getPathNameText:function(){var t=this,e=[],a=[];t.pathIds=[],t.thirdData.forEach(function(i){i.check&&i.display&&(a.push(i.transId),e.push(i.transName),t.pathIds.push(i.transId))}),t.pathNames=e,t.getText(a.join(",")),t.$nextTick(function(){t.checkDisable()})},checkDisable:function(){if(this.pathNames.includes("访问活动营销页")&&!this.markingValue||this.pathNames.includes("游戏参与")&&!this.gameValue.length||this.pathNames.includes("卡券领取")&&!this.cardValue)return this.disableCreate=!0,!1;var t=[];return this.thirdData.forEach(function(e){e.check&&e.display&&t.push({transId:e.transId,transName:e.transName})}),5==this.secondGoal.goalId&&1==t.length?(this.disableCreate=!0,!1):8==this.secondGoal.goalId&&(1==t.length||2==t.length&&t.map(function(t){return t.transId}).includes(4))?(this.disableCreate=!0,!1):10!=this.secondGoal.goalId&&11!=this.secondGoal.goalId||!(1==t.length||2==t.length&&(t.map(function(t){return t.transId}).includes(4)||t.map(function(t){return t.transId}).includes(16))||3==t.length&&t.map(function(t){return t.transId}).includes(4)&&t.map(function(t){return t.transId}).includes(16))?9==this.secondGoal.goalId&&(1==t.length||2==t.length&&(t.map(function(t){return t.transId}).includes(4)||t.map(function(t){return t.transId}).includes(16)))?(this.disableCreate=!0,!1):void(this.disableCreate=!1):(this.disableCreate=!0,!1)},changeMarking:function(){var t=this;t.$nextTick(function(){t.checkDisable()})},changeCard:function(){var t=this;t.$nextTick(function(){t.checkDisable()})},changeGame:function(t,e){var a=this;a.gamePlanName=t,a.gamePlanUrl=e,a.$nextTick(function(){a.checkDisable()})},toRedirectPage:function(t){if(window.location.origin.includes("gicdev"))return window.open(t.url),!1;"marking"==t.id&&window.open("/gic-web/#/custom"),"game"==t.id&&window.open("/marketing/#/game/dzp"),"card"==t.id&&window.open("/marketing/#/card/list")},toCreate:function(){var t=this;if(t.$store.dispatch("clearActiveData"),!t.firstGoal.hasOwnProperty("goalId"))return u.a.showmsg("请先选择活动目的","warning"),!1;if(!t.secondGoal.hasOwnProperty("goalId"))return u.a.showmsg("请先完善活动目的","warning"),!1;if(t.pathNames.includes("访问活动营销页")&&!t.markingValue||t.pathNames.includes("游戏参与")&&!t.gameValue.length||t.pathNames.includes("卡券领取")&&!t.cardValue)return u.a.showmsg("请先完善活动创建前准备工作","warning"),!1;t.pathNames.includes("访问活动营销页")&&t.markingValue&&t.markingList.forEach(function(e){t.markingValue==e.pageId&&(t.activityMarketPageName=e.name)}),t.pathNames.includes("卡券领取")&&t.cardValue&&t.cardList.forEach(function(e){t.cardValue==e.coupCardId&&(t.cardCoupName=e.cardName)});var e=[];if(t.thirdData.forEach(function(t){t.check&&t.display&&e.push({transId:t.transId,transName:t.transName})}),e.sort(function(t,e){return t.transId-e.transId}),5==t.secondGoal.goalId&&1==e.length)return u.a.showmsg("请在可选项中至少选择一项","warning"),!1;if(8==t.secondGoal.goalId&&(1==e.length||2==e.length&&e.map(function(t){return t.transId}).includes(4)))return u.a.showmsg("请在可选项中至少选择一项","warning"),!1;if((10==t.secondGoal.goalId||11==t.secondGoal.goalId)&&(1==e.length||2==e.length&&(e.map(function(t){return t.transId}).includes(4)||e.map(function(t){return t.transId}).includes(16))||3==e.length&&e.map(function(t){return t.transId}).includes(4)&&e.map(function(t){return t.transId}).includes(16)))return u.a.showmsg("请在可选项中至少选择一项","warning"),!1;if(9==t.secondGoal.goalId&&(1==e.length||2==e.length&&(e.map(function(t){return t.transId}).includes(4)||e.map(function(t){return t.transId}).includes(16))))return u.a.showmsg("请在可选项中至少选择一项","warning"),!1;var a={firstGoal:t.firstGoal,secondGoal:t.secondGoal,pathArr:e,markingValue:t.markingValue,activityMarketPageName:t.activityMarketPageName,gameValue:t.gameValue,gamePlanName:t.gamePlanName,gamePlanUrl:t.gamePlanUrl,cardValue:t.cardValue,cardCoupName:t.cardCoupName};t.judgeCreate(a)},getTwoList:function(){var t=this;Object(r.a)("/sharing-core-web/list-activity-dict",{}).then(function(e){var a=e.data;if(1==a.errorCode)return t.firstData=JSON.parse(n()(a.result))||[],t.getMarkingList(),t.getCardList(),!1;s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getText:function(t){var e=this,a={transIds:t};Object(r.a)("/sharing-core-web/list-activity-dict-text",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.fourData=a.result||[],!1;s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getMarkingList:function(){var t=this;Object(r.a)("/sharing-core-web/list-marking-page",{}).then(function(e){var a=e.data;if(1==a.errorCode)return t.markingList=a.result||[],!1;s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getGameList:function(){var t=this;Object(r.a)("/sharing-core-web/list-game",{}).then(function(e){var a=e.data;if(1==a.errorCode)return t.gameList=a.result||[],!1;s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getCardList:function(){var t=this;Object(r.a)("/sharing-core-web/list-card",{}).then(function(e){var a=e.data;if(1==a.errorCode)return t.cardList=a.result||[],!1;s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},judgeCreate:function(t){var e=this;Object(r.a)("/sharing-core-web/can-create",{}).then(function(a){var i=a.data;if(1==i.errorCode)return console.log("indexObj:",t),e.$store.dispatch("saveIndexInfo",t),e.$router.push("/createActive"),!1;s.a.errorMsg(i)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getTwoList()}},f={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"active-select border-box"},[a("div",{staticClass:"active-select-title font-22 color-303133 font-w-600"},[t._v("请选择您的活动目的")]),t._v(" "),a("ul",{staticClass:"flex flex-pack-center"},[t._l(t.firstData,function(e,i){return[a("li",{key:i+"first",class:["li-cell flex-1 ",t.firstGoal.goalId==e.goalId?"li-cell-active":""],on:{click:function(a){return t.selectFirst(e)}}},[a("div",{staticClass:"li-cell-inner flex "},[a("div",{staticClass:"li-cell-left flex flex-align-center flex-pack-center"},[a("img",{attrs:{src:t.firstGoal.goalId==e.goalId?e.selectedIconUrl:e.iconUrl,alt:""}})]),t._v(" "),a("div",{staticClass:"li-cell-right border-box flex flex-column "},[a("div",{staticClass:"li-cell-active_name flex flex-align-center font-18 color-303133"},[t._v(t._s(e.goalName))]),t._v(" "),a("div",{staticClass:"li-cell-active_description flex flex-align-center font-14 color-606266"},[t._v(t._s(e.description))])])]),t._v(" "),t._m(0,!0)])]})],2),t._v(" "),t.firstGoal.goalId?a("div",[a("div",{staticClass:"active-select-next"}),t._v(" "),a("div",{staticClass:"active-select-title font-22 color-303133 font-w-600"},[t._v("请进一步明确活动目的")]),t._v(" "),a("ul",{staticClass:"flex flex-pack-center m-t-48"},[t._l(t.secondData,function(e,i){return[a("li",{key:i+"second",class:["li-cell li-second-cell flex-1 ",t.secondGoal.goalId==e.goalId?"li-second-active":""],on:{click:function(a){return t.selectSecond(e)}}},[a("div",{staticClass:"li-cell-inner"},[a("div",{staticClass:"li-cell-top border-box flex flex-align-center flex-pack-center"},[a("img",{attrs:{src:t.secondGoal.goalId==e.goalId?e.selectedIconUrl:e.iconUrl,alt:""}}),a("span",{staticClass:"p-l-15 font-18 color-303133 font-w-700"},[t._v(t._s(e.goalName))])]),t._v(" "),a("div",{staticClass:"li-cell-bottom border-box"},[a("div",{staticClass:"li-cell-scene"},[a("div",{staticClass:"li-cell-scene_title font-14 color-303133"},[t._v("适用场景")]),t._v(" "),a("div",{staticClass:"li-cell-scene_text font-14 color-606266"},[t._v(t._s(e.description["适用场景"]))])]),t._v(" "),a("div",{staticClass:"li-cell-quality"},[a("div",{staticClass:"li-cell-quality_title font-14 color-303133"},[t._v("优劣分析")]),t._v(" "),a("div",{staticClass:"li-cell-quality_text font-14 color-606266"},[t._v(t._s(e.description["优劣分析"]))])])])]),t._v(" "),t._m(1,!0)])]})],2)]):t._e(),t._v(" "),t.secondGoal.goalId?a("div",[a("div",{staticClass:"active-select-next"}),t._v(" "),a("div",{staticClass:"active-select-title font-22 color-303133 font-w-600 m-b-0"},[t._v("请配置受邀人的转化路径")]),t._v(" "),a("div",{staticClass:"active-select-subtitle font-14 color-606266"},[t._v("基于您的活动设计期望,配置受邀人的转化路径(即受邀人需要经历的交互步骤)。系统会根据您所选择的转化路径,自动配置服务号关注后回复、认证后卡券投放等营销脚本。您只需要根据自身需求选择路径,并选择相关的营销活动页、游戏计划或卡券。")]),t._v(" "),a("ul",{staticClass:"flex flex-pack-center m-t-50"},[t._l(t.thirdData,function(e,i){return[1==e.display?a("li",{key:i+"third",class:["li-cell li-third-cell flex-1 ",e.check?"li-third-active":"",e.mustFlag?"li-third-active-disable":""],on:{click:function(a){return t.selectThird(e)}}},[a("div",{staticClass:"li-cell-inner border-box"},[a("div",{staticClass:"li-cell-path_img flex flex-pack-center flex-pack--center"},[a("img",{attrs:{src:e.iconUrl,alt:""}})]),t._v(" "),a("div",{staticClass:"li-cell-path_title font-16 color-303133 text-center"},[t._v(t._s(e.transName))]),t._v(" "),a("div",{staticClass:"li-cell-path_text font-14 color-606266"},[t._v(t._s(e.description))])]),t._v(" "),t._m(2,!0)]):t._e()]})],2)]):t._e(),t._v(" "),t.pathNames.includes("访问活动营销页")||t.pathNames.includes("游戏参与")||t.pathNames.includes("卡券领取")?a("div",[a("div",{staticClass:"active-select-next"}),t._v(" "),a("div",{staticClass:"active-select-title font-22 color-303133 font-w-600 m-b-0"},[t._v("活动创建前准备工作")]),t._v(" "),a("div",{staticClass:"active-select-subtitle font-14 color-606266"},[t._v("根据您配置的转化路径,请确保完成以下工作,否则活动无法被正常执行。")]),t._v(" "),a("ul",{staticClass:"flex flex-pack-center m-t-50"},[t._l(t.fourData,function(e,i){return["marking"==e.id&&t.pathNames.includes("访问活动营销页")||"game"==e.id&&t.pathNames.includes("游戏参与")||"card"==e.id&&t.pathNames.includes("卡券领取")?a("li",{key:i+"four",staticClass:"li-four-cell flex-1 "},[a("div",{staticClass:"li-cell-inner border-box"},[a("div",{staticClass:"li-cell-title font-18 color-303133 font-w-600"},[t._v(t._s(e.title))]),t._v(" "),a("div",{staticClass:"li-cell-subtitle font-14 color-606266"},[t._v(t._s(e.text))]),t._v(" "),"marking"==e.id?a("div",{staticClass:"li-cell-tip font-14 color-303133"},[t._v("如果您还没有创建活动营销页,请立即前往创建。")]):t._e(),t._v(" "),"game"==e.id?a("div",{staticClass:"li-cell-tip font-14 color-303133"},[t._v("如果您还没有创建游戏计划,请立即前往创建。")]):t._e(),t._v(" "),"card"==e.id?a("div",{staticClass:"li-cell-tip font-14 color-303133"},[t._v("如果您还没有创建卡券,请立即前往创建。")]):t._e(),t._v(" "),"marking"==e.id?a("div",{staticClass:"li-cell-select"},[a("el-select",{attrs:{size:"large",placeholder:"请选择活动着陆页"},on:{change:t.changeMarking},model:{value:t.markingValue,callback:function(e){t.markingValue=e},expression:"markingValue"}},t._l(t.markingList,function(t){return a("el-option",{key:t.pageId,attrs:{label:t.name,value:t.pageId}})}),1)],1):t._e(),t._v(" "),"game"==e.id?a("div",{staticClass:"li-cell-select"},[a("game-select",{on:{changeGame:t.changeGame},model:{value:t.gameValue,callback:function(e){t.gameValue=e},expression:"gameValue"}})],1):t._e(),t._v(" "),"card"==e.id?a("div",{staticClass:"li-cell-select"},[a("el-select",{attrs:{size:"large",placeholder:"请选择卡券"},on:{change:t.changeCard},model:{value:t.cardValue,callback:function(e){t.cardValue=e},expression:"cardValue"}},t._l(t.cardList,function(t){return a("el-option",{key:t.coupCardId,attrs:{label:t.cardName,value:t.coupCardId}})}),1)],1):t._e(),t._v(" "),a("div",{staticClass:"li-cell-seperator"},[t._v("OR")]),t._v(" "),a("div",{staticClass:"li-cell-btn"},[a("el-button",{attrs:{type:"primary",plain:""},on:{click:function(a){return t.toRedirectPage(e)}}},[t._v("立即前往创建")])],1)])]):t._e()]})],2)]):t._e(),t._v(" "),a("div",{staticClass:"to-active-config"},[a("div",{staticClass:"to-active-tip font-14 color-606266"},[t._v("确认完成了所有前期准备工作,即可前往活动配置。")]),t._v(" "),a("div",{staticClass:"to-active-btn"},[a("el-button",{attrs:{type:"primary",disabled:t.disableCreate},on:{click:t.toCreate}},[t._v("前往活动配置"),a("i",{staticClass:"el-icon-right"})])],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"common-cell-check"},[e("div",{staticClass:"common-cell-triangle"},[e("div",{staticClass:"common-cell-outer"},[e("i",{staticClass:"el-icon-upload-success el-icon-check"})])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"common-cell-check"},[e("div",{staticClass:"common-cell-triangle"},[e("div",{staticClass:"common-cell-outer"},[e("i",{staticClass:"el-icon-upload-success el-icon-check"})])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"common-cell-check"},[e("div",{staticClass:"common-cell-triangle"},[e("div",{staticClass:"common-cell-outer"},[e("i",{staticClass:"el-icon-upload-success el-icon-check"})])])])}]};var h=a("VU/8")(d,f,!1,function(t){a("9U3U")},"data-v-37e7133d",null).exports,v=a("fZjL"),g=a.n(v),m={name:"bar-chart",props:{barChartData:{type:[Array,Object],default:function(){return{}}},charHeight:{type:String,default:function(){return"300px"}}},components:{},data:function(){return this.chartSettings={},this.chartExtend={yAxis:{axisLabel:{formatter:function(t){return~String(t).indexOf(".")?"":t}}}},this.colors=["#5B8FF9","#5AD8A6","#FF6383"],this.tooltip={trigger:"axis",formatter:function(t){var e=[t[0].axisValue+"日"];return t.forEach(function(t){e.push(t.marker+" "+t.seriesName+":"+t.data)}),e.join("<br>")},axisPointer:{type:"shadow"},textStyle:{color:"#fff"}},this.yAxis={type:"value",axisTick:{show:!1},axisLabel:{show:!0,textStyle:{color:"#404040",fontSize:12}},splitLine:{show:!0,lineStyle:{color:["#d9d9d9"],width:1,type:"dashed"}}},this.legend={x:"left",itemWidth:8,itemHeight:8},this.grid={bottom:"34px"},{}}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bar-chart"},[a("ve-histogram",{attrs:{data:t.barChartData,settings:t.chartSettings,colors:t.colors,height:t.charHeight,tooltip:t.tooltip,yAxis:t.yAxis,legend:t.legend,grid:t.grid,extend:t.chartExtend}}),t._v(" "),a("div",{staticClass:"chart-title font-12 color-000 text-center"},[t._v("- 近15天趋势图 -")])],1)},staticRenderFns:[]};var y=a("VU/8")(m,p,!1,function(t){a("ta5X")},"data-v-10ec42c2",null).exports,b={name:"data-statistics",props:{activeData:{type:[Object,Array],default:function(){return{exposure:0,attend:0,invited:0,attendRate:0,spread:0}}},activityId:{type:String,default:function(){return""}},barChartData:{type:[Array,Object],default:function(){return{}}}},components:{barChart:y},data:function(){return{charHeight:"220px"}},methods:{diagram:function(t){for(var e=document.getElementsByClassName("blue"+this.activityId),a=0;a<e.length;a++)a+1<=t?e[a].style.width="17px":a+1==Math.ceil(t)?e[a].style.width=parseInt(10*t-10*parseInt(t))/10*17+"px":e[a].style.width="0px";this.$forceUpdate()}},watch:{activeData:function(t,e){var a=this;t&&a.$nextTick(function(){a.diagram(t.spread)})}},mounted:function(){var t=this;t.$nextTick(function(){t.activeData.hasOwnProperty("spread")&&t.diagram(t.activeData.spread)})}},x={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"data-statistics"},[a("div",{staticClass:"data-statistics-body flex"},[a("div",{staticClass:"data-statistics-left"},[a("ul",{staticClass:"flex flex-column flex-pack-center flex-align-center"},[a("li",{staticClass:"flex-1 flex flex-pack-center flex-align-center"},[t._m(0),t._v(" "),a("div",{staticClass:"data-statistics-txt flex flex-column"},[a("div",{staticClass:"font-14 color-606266 font-w-400"},[t._v("活动曝光量")]),t._v(" "),a("div",{staticClass:"font-22 color-303133 font-w-600 p-t-10"},[t._v(t._s(t._f("formatThousand")(t.activeData.exposure)))])])]),t._v(" "),a("li",{staticClass:"flex-1 flex flex-pack-center flex-align-center"},[t._m(1),t._v(" "),a("div",{staticClass:"data-statistics-txt flex flex-column"},[a("div",{staticClass:"font-14 color-606266 font-w-400"},[t._v("参与人数")]),t._v(" "),a("div",{staticClass:"font-22 color-303133 font-w-600 p-t-10"},[t._v(t._s(t._f("formatThousand")(t.activeData.attend)))])])]),t._v(" "),a("li",{staticClass:"flex-1 flex flex-pack-center flex-align-center"},[t._m(2),t._v(" "),a("div",{staticClass:"data-statistics-txt flex flex-column"},[a("div",{staticClass:"font-14 color-606266 font-w-400"},[t._v("受邀人数")]),t._v(" "),a("div",{staticClass:"font-22 color-303133 font-w-600 p-t-10"},[t._v(t._s(t._f("formatThousand")(t.activeData.invited)))])])])])]),t._v(" "),a("div",{staticClass:"data-right-wrap"},[a("div",{staticClass:"data-right-top flex"},[a("div",{staticClass:"data-statistics-middle flex-1 border-box m-l-20"},[a("div",{staticClass:"font-14 color-606266"},[t._v("参与率")]),t._v(" "),a("div",{class:["font-22 color-303133 p-t-5 ",t.activeData.attendRate]},[t._v(t._s(t.activeData.attendRate?Number(100*Number(t.activeData.attendRate)).toFixed(2):0)+" %")]),t._v(" "),a("div",{staticClass:"data-percentage"},[a("div",{staticClass:"data-percentage-inner",style:{width:Number(100*Number(t.activeData.attendRate)).toFixed(2)+"%"}})])]),t._v(" "),a("div",{staticClass:"data-statistics-right flex-1 border-box m-l-20"},[a("div",{staticClass:"font-14 color-606266"},[t._v("传播系数")]),t._v(" "),a("div",{staticClass:"font-22 color-303133 p-t-5"},[t._v(t._s(t.activeData.spread))]),t._v(" "),a("ul",{staticClass:"spread-ul"},[a("li",[a("div",{staticClass:"gray"}),t._v(" "),a("div",{class:["blue","blue"+t.activityId],staticStyle:{width:"0px"}})]),t._v(" "),a("li",[a("div",{staticClass:"gray"}),t._v(" "),a("div",{class:["blue","blue"+t.activityId],staticStyle:{width:"0px"}})]),t._v(" "),a("li",[a("div",{staticClass:"gray"}),t._v(" "),a("div",{class:["blue","blue"+t.activityId],staticStyle:{width:"0px"}})]),t._v(" "),a("li",[a("div",{staticClass:"gray"}),t._v(" "),a("div",{class:["blue","blue"+t.activityId],staticStyle:{width:"0px"}})]),t._v(" "),a("li",[a("div",{staticClass:"gray"}),t._v(" "),a("div",{class:["blue","blue"+t.activityId],staticStyle:{width:"0px"}})]),t._v(" "),a("li",[a("div",{staticClass:"gray"}),t._v(" "),a("div",{class:["blue","blue"+t.activityId],staticStyle:{width:"0px"}})]),t._v(" "),a("li",[a("div",{staticClass:"gray"}),t._v(" "),a("div",{class:["blue","blue"+t.activityId],staticStyle:{width:"0px"}})]),t._v(" "),a("li",[a("div",{staticClass:"gray"}),t._v(" "),a("div",{class:["blue","blue"+t.activityId],staticStyle:{width:"0px"}})]),t._v(" "),a("li",[a("div",{staticClass:"gray"}),t._v(" "),a("div",{class:["blue","blue"+t.activityId],staticStyle:{width:"0px"}})]),t._v(" "),a("li",[a("div",{staticClass:"gray"}),t._v(" "),a("div",{class:["blue","blue"+t.activityId],staticStyle:{width:"0px"}})])])])]),t._v(" "),a("div",{staticClass:"data-right-bottom"},[a("bar-chart",{attrs:{barChartData:t.barChartData,charHeight:t.charHeight}})],1)])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"data-statistics-icon"},[e("img",{attrs:{src:a("gjBT"),alt:""}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"data-statistics-icon"},[e("img",{attrs:{src:a("oj03"),alt:""}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"data-statistics-icon"},[e("img",{attrs:{src:a("Vo6M"),alt:""}})])}]};var C=a("VU/8")(b,x,!1,function(t){a("kwxT")},"data-v-c5660a1e",null).exports,_={name:"funnel-chart",props:{funnelData:{type:[Object,Array],default:function(){return{}}}},data:function(){return{router:[{transId:4,transName:"会员认证"},{transId:2,transName:"访问活动营销页"},{transId:1,transName:"服务号关注"}]}}},k={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"funnel-chart"},[a("div",{staticClass:"funnel-chart-body flex"},[a("div",{staticClass:"chart-left"},[a("div",{staticClass:"trapezoid-bg flex flex-column"},[t._l(t.funnelData.router,function(e,i){return[a("div",{key:i,staticClass:"flex-1 flex flex-column"},[a("div",{staticClass:"flex-1 flex flex-pack-center font-12 color-606066 flex-align-center space-line r-60"}),t._v(" "),i!=t.funnelData.router.length-1?a("div",{staticClass:"flex-1 flex flex-pack-center font-12 color-606066 flex-align-center inner-bg bg-f5f7fa"},[t._v(t._s(e.rate?Number(100*Number(e.rate)).toFixed(2):0)+"%")]):t._e()])]})],2)]),t._v(" "),a("div",{staticClass:"chart-right"},[a("div",{staticClass:"chart-text flex flex-column"},[t._l(t.funnelData.router,function(e,i){return[a("div",{key:i,staticClass:"flex-1 flex flex-column"},[a("div",{staticClass:"flex-1 flex flex-align-center space-line p-l-98 font-12 color-606066"},[t._v(t._s(e.transName)+" "+t._s(e.countNumber)+" 人 "),32==e.transId?a("span",[t._v(", "+t._s(t._f("formatThousand")(e.countAmount))+" 元")]):t._e()]),t._v(" "),i!=t.funnelData.router.length-1?a("div",{staticClass:"flex-1 flex flex-align-center bg-f5f7fa"}):t._e()])]})],2)])]),t._v(" "),a("div",{staticClass:"funnel-chart-title font-12 color-000"},[t._v("- 响应转化漏斗 -")])])},staticRenderFns:[]};var w=a("VU/8")(_,k,!1,function(t){a("rYNx")},"data-v-12da0cc8",null).exports,I={name:"card-table",props:{barChartData:{type:[Array,Object],default:function(){return{}}},funnelData:{type:[Array,Object],default:function(){return{}}},activityId:{type:String,default:function(){return""}}},components:{funnelChart:w,dataStatisticsChild:C},data:function(){return{activeData:{exposure:0,attend:0,invited:0,attendRate:0,spread:0},itemId:this.activityId}},methods:{},watch:{funnelData:function(t,e){g()(t).length&&(this.activeData=JSON.parse(n()(t)))},activityId:function(t,e){t&&(this.itemId=t)}},mounted:function(){g()(this.funnelData).length&&(this.activeData=JSON.parse(n()(this.funnelData))),this.itemId=this.activityId}},D={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"out-date-active flex flex-space-between"},[e("data-statistics-child",{attrs:{activeData:this.activeData,barChartData:this.barChartData,activityId:this.itemId}}),this._v(" "),e("funnel-chart",{attrs:{funnelData:this.funnelData}})],1)},staticRenderFns:[]};var A=a("VU/8")(I,D,!1,function(t){a("ruOa")},"data-v-b5eb40e4",null).exports,E=a("TQvf"),S=a.n(E),N=a("PI0u"),T={name:"in-progress-active",components:{outDateActive:A},data:function(){return{funnelData:{},barChartData:{columns:["日期","新增参与人数","新增受邀人数"],rows:[]},index:"",selectItem:"",inProgressData:[]}},methods:{selectLi:Object(N.a)(function(t){this.selectItem=t.activityId,this.getActivityData(t.activityId)},100),getActivityData:function(t){var e=this,a={activityId:t};Object(r.a)("/sharing-core-web/get-activity-data-summary",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.funnelData=a.result||{},a.result.trend&&a.result.trend.length&&a.result.trend.forEach(function(t){t["日期"]=t.date.split("-")[2],t["新增参与人数"]=t.inviteCount,t["新增受邀人数"]=t.invitedCount}),e.barChartData={columns:["日期","新增参与人数","新增受邀人数"],rows:a.result.trend||[]},!1;s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/createActive?activityId="+e.activityId)},toDataList:function(t,e){this.$router.push("/dataDetail?activityId="+e.activityId)},handleCopy:function(t,e){var a=new S.a(".copy-tag",{text:function(){return e.activityUrl||"您复制的数据是空的!"}});a.on("success",function(t){u.a.showmsg("复制成功!","success"),a.destroy()}),a.on("error",function(t){u.a.showmsg("该浏览器不支持自动复制!","warning"),a.destroy()})},toDelList:function(t,e){var a=this;this.$confirm("是否要删除该活动?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delData(e.activityId)}).catch(function(){})},delData:function(t){var e=this,a={activityId:t};Object(r.a)("/sharing-core-web/delete-activity",a).then(function(t){var a=t.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),e.currentPage=1,window.location.reload(),!1;s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getTableList:function(){var t=this;Object(r.a)("/sharing-core-web/page-activity",{type:4}).then(function(e){var a=e.data;if(1==a.errorCode)return t.inProgressData=a.result.result||[],a.result.result.length&&t.getActivityData(a.result.result[0].activityId),!1;s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.getTableList()}},O={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.inProgressData.length?a("div",[a("div",{staticClass:"separator-space"},[t._v("- 当前有计划中的活动,无法创建新的活动 -")]),t._v(" "),a("div",{staticClass:"in-progress-active border-box"},[a("ul",[t._l(t.inProgressData,function(e,i){return[a("li",{key:i+"data",class:["border-box",t.selectItem==e.activityId&&0!=i?"li-border":""]},[a("div",{staticClass:"in-progress-active-title flex flex-space-between border-box"},[a("div",{staticClass:"active-title-left",on:{click:function(a){return t.selectLi(e)}}},[a("div",{staticClass:"active-title-name font-18 color-303133 font-w-700"},[t._v(t._s(e.activityName)+" "),2==e.status?a("el-tag",{attrs:{type:"danger"}},[t._v("待完善")]):t._e(),t._v(" "),1==e.status&&e.startDate>(new Date).getTime()?a("el-tag",{attrs:{type:"danger"}},[t._v("未开始")]):t._e(),t._v(" "),1==e.status&&e.startDate<=(new Date).getTime()?a("el-tag",{attrs:{type:"success"}},[t._v("已开始")]):t._e()],1),t._v(" "),a("div",{staticClass:"active-title-date font-14 color-909399 m-t-7"},[t._v(t._s(t._f("formatTimeYmdHms")(e.startDate))+" - "+t._s(t._f("formatTimeYmdHms")(e.endDate)))])]),t._v(" "),a("div",{staticClass:"active-title-right"},[a("el-button",{attrs:{type:"primary",plain:""},on:{click:function(a){return a.stopPropagation(),t.toEdit(i,e)}}},[t._v("活动配置")]),t._v(" "),a("el-button",{staticClass:"copy-tag",attrs:{"data-clipboard-action":"copy","data-clipboard-text":e.activityUrl,type:"primary",plain:""},on:{click:function(a){return t.handleCopy(i,e)}}},[t._v("复制路径")]),t._v(" "),a("el-button",{attrs:{type:"primary",plain:""},on:{click:function(a){return a.stopPropagation(),t.toDataList(i,e)}}},[t._v("数据明细")]),t._v(" "),2==e.status?a("el-button",{attrs:{type:"danger",plain:""},on:{click:function(a){return a.stopPropagation(),t.toDelList(i,e)}}},[t._v("删除")]):t._e()],1)]),t._v(" "),e.startDate<=(new Date).getTime()?a("div",{staticClass:"in-progress-active-body"},[a("out-date-active",{attrs:{barChartData:t.barChartData,funnelData:t.funnelData,activityId:e.activityId}})],1):t._e()])]})],2)])]):t._e()},staticRenderFns:[]};var P={name:"finished-active",components:{outDateActive:A},data:function(){return{funnelData:[],barChartData:{columns:["日期","访问用户","下单用户"],rows:[{"日期":"1/1","访问用户":1393,"下单用户":1093},{"日期":"1/2","访问用户":3530,"下单用户":3230},{"日期":"1/3","访问用户":2923,"下单用户":2623},{"日期":"1/4","访问用户":1723,"下单用户":1423},{"日期":"1/5","访问用户":3192,"下单用户":3192},{"日期":"1/6","访问用户":3593,"下单用户":3293}]},selectItem:"",finishedData:[],pageSize:20,currentPage:1,total:1}},methods:{selectLi:function(t){this.selectItem=t.activityId,this.getActivityData(t.activityId)},getActivityData:function(t){var e=this,a={activityId:t};Object(r.a)("/sharing-core-web/get-activity-data-summary",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.funnelData=a.result,a.result.trend&&a.result.trend.length&&a.result.trend.forEach(function(t){t["日期"]=t.date.split("-")[2],t["新增参与人数"]=t.inviteCount,t["新增受邀人数"]=t.invitedCount}),e.barChartData={columns:["日期","新增参与人数","新增受邀人数"],rows:a.result.trend||[]},!1;s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/createActive?activityId="+e.activityId+"&editFlag=show")},toDataList:function(t,e){this.$router.push("/dataDetail?activityId="+e.activityId)},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(){var t=this,e={pageNum:t.currentPage,pageSize:t.pageSize,type:3};Object(r.a)("/sharing-core-web/page-activity",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.finishedData=a.result.result||[],t.total=a.result.totalCount,!1;s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.getTableList()}},j={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.finishedData.length?a("div",{staticClass:"separator-space"},[t._v("- 以下为已结束活动 -")]):t._e(),t._v(" "),a("div",{staticClass:"finished-active border-box"},[a("ul",[t._l(t.finishedData,function(e,i){return[a("li",{key:i+"data",class:["border-box",t.selectItem==e.activityId&&0!=i?"li-border":""]},[a("div",{staticClass:"finished-active-title flex flex-space-between border-box",on:{click:function(a){return a.stopPropagation(),t.selectLi(e)}}},[a("div",{staticClass:"active-title-left"},[a("div",{staticClass:"active-title-name font-18 color-303133 font-w-700"},[t._v(t._s(e.activityName))]),t._v(" "),a("div",{staticClass:"active-title-date font-14 color-909399 m-t-7"},[t._v(t._s(t._f("formatTimeYmdHms")(e.startDate))+" - "+t._s(t._f("formatTimeYmdHms")(e.endDate)))])]),t._v(" "),a("div",{staticClass:"active-title-right"},[a("el-button",{attrs:{type:"primary",plain:""},on:{click:function(a){return a.stopPropagation(),t.toEdit(i,e)}}},[t._v("活动配置")]),t._v(" "),a("el-button",{attrs:{type:"primary",plain:""},on:{click:function(a){return a.stopPropagation(),t.toDataList(i,e)}}},[t._v("数据明细")])],1)]),t._v(" "),t.selectItem==e.activityId?a("div",{staticClass:"finished-active-body"},[a("out-date-active",{attrs:{barChartData:t.barChartData,funnelData:t.funnelData,activityId:e.activityId}})],1):t._e()])]})],2),t._v(" "),t.finishedData.length?a("div",{staticClass:"pagination text-right m-t-14"},[a("dm-pagination",{attrs:{small:"","page-size":t.pageSize,"current-page":t.currentPage,layout:"prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()])])},staticRenderFns:[]};var V={name:"share-index",components:{activeSelect:h,inProgressActive:a("VU/8")(T,O,!1,function(t){a("PRBB")},"data-v-52a1610d",null).exports,finishedActive:a("VU/8")(P,j,!1,function(t){a("X1Ja")},"data-v-40222e8a",null).exports},data:function(){return{canCreate:!0}},methods:{judgeCreate:function(){var t=this;Object(r.a)("/sharing-core-web/can-create",{}).then(function(e){var a=e.data;if(1==a.errorCode)return t.canCreate=a.result,!1;s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},judgePay:function(){var t=this;Object(r.a)("/sharing-core-web/get-open-enterprise",{}).then(function(e){var a=e.data;if(1==a.errorCode)return!a.result&&(t.$router.push("/leaflets"),!1);s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},beforeMount:function(){this.judgePay()},mounted:function(){this.judgeCreate()}},M={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"share-index common-wrap"},[e("div",{staticClass:"right-content border-box"},[this.canCreate?e("div",[e("div",{staticClass:"separator-space no-active"},[this._v("\n - 当前无进行中的活动,请创建活动,别让业绩白白流失!-\n ")]),this._v(" "),e("active-select")],1):this._e(),this._v(" "),e("div",[e("in-progress-active"),this._v(" "),e("finished-active")],1)]),this._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var L=a("VU/8")(V,M,!1,function(t){a("31Qx")},"data-v-4f88e5f9",null);e.default=L.exports},gjBT:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAABKJJREFUSA2VVl1oHFUU/s7sbNImltJoNbtN6l8wFiHG30JiamvFB61gaEK1INYHKRg3kSoI1Yeg9K3VxG0qEZT2SVBbXyoK9ScJSkogKdZCqhGlJrvZJk3qT2iT7O69fnfobCazsxt7YZjz8517zj3nnjMj+B+r6l1docK4GQoVfMqUhRK+xdJII4QrKovLsDE1GcMlEdHFtpRiyuq4jqYzuEtrrCmGc3UhC/NKY2zyVVwo5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OWZmP/+bJcZgM7X4sgzDKZIMUAt7rOjC7n0DDJV2TEBrYyrIuG9y/WublTa4tBfe7X+XliLtg2miZi8rNXl0upV1jVo2uyaRxlbzV65YYWG4/ypKNM6SQfU9P8JfiWfwV7Eu2S95FedkLXcqJNfmORm/hj+yIjXfZxZr+2pNplmtgBF+++Gf0IHe1KdcjjQc4MjhkMXtc+OUfZp8cicWzhRNrBv+pGbrrF6d04PqNlLfkx1rSfA//LiXYZCt5tSfofVt6aUjcV2t0AAAAASUVORK5CYII="},kwxT:function(t,e){},mvHQ:function(t,e,a){t.exports={default:a("qkKv"),__esModule:!0}},oj03:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAdCAYAAAC5UQwxAAAAAXNSR0IArs4c6QAABCxJREFUSA2tVl1oXEUU/mbu3d3au5uEVsyum6AkVWmLohSqqK2IL/7jg+2T+CI0VEmCpRSLfciLIIhFt5aY1/gg6Js+2BdFxL+gtrSk2J9IQ5LdVK3d/iT7k9x7j2eGvcvduXdTu/XCMnO++eZ883PmnBW4xW/XZ2T9UkTGJcjua1g6PSZW1nIp1hpca6z3PXKkhc0+kGvyJEi6WHSSmJ4ZEfUmHurcUPCuCcq5NWxRc6TE7/PDoqT6mwrUVfGw3SPcpuzwx7yVFGFq9k1xJYyrflvBvnHKuyv4mDnPgRo8ARKEYyKBodIbYp5FUxUfOz0f6yKOLSztyOG7z3cLLzwmw0bQzxVoh1fHNAs93xRTgyxMwDO+i+n8h/SkPjYXJ4J54ZY8pH9axEAYU/2I4NajlCYfk+y4xyQ3bUIX393kwAR1l/aLS7bApeZYqON5yIZM3Y0IXvZwkEfuNommTYS+Wg2HFM7bnjPHNY6Y+zWJ7OgFE2tnB1xnFdfiOJ6Aa+KRHXIU9ZmkdjYfu+bmqqjGcSwfZROPCDJh1iStYWvuTBcSJkcI+JkezJh4nOBxk9TOZqea6/twTI4tce7sa+K6iUcEpcARJkXO3pzIL9PjGC8onB96M9twAHmWhZMLo+J8ZI7immBxRJzke3zXxGPs9xeHxa/bJijhS2QtoM7PY16m8W1pVMzF8DXUNtNkC7SXV3uYI7Eli/Ax1vl3oDQi9O6yh2k7B09vIMBjLueWv1IW/rip1KYc9BdokPPSXhZ9VWccgU94J+PBcW0do+TlHjzCd9gdCIZbi7DwWD9OhdNb7A7zBVJORnjlL7KDloDgHVR4AV9ypThSGhY/qPL0YxH3c3nqD4sFfb7fq47EVFA9WgQfmCTn7zLGWeiVlhwazDZanvxpVwZDKhr5CraQi0GDok0Oon/2lPHz2Jjwm4KD43RHZQXHePUPxU1qiwmcSq3D07N7cDH/AR7lcrUhjpuwcEZdhRZUkVaq4RsWezyO/B+wqbTEEzUX0pPYydeRNOeoYNqYx9f6WRTrOHgLYsr3w8s+Di3sE1Xewawppmz2b5cXkRX5j2ij5+ICY5k44k1gy04KA/Uqrq9KPAU/WtyFxEXJ23/5fxBT63Kqdexu7PLP2IUSHMnF9tnYwQ5AEvx3hD+y4guyJCQ5deKeDnzHTuHnpH2t91CJI/g2rkg+6dvjBjvEtK9kPSrIiWI1aeO85OiJ1KwOxVSUaF/pHtQCH+o52DbmNtj4fu51UbaFjbe40HzFwusDUictO65xGjug5mbuBSXO4HjyKpa2DWBJ5dJiw6l++LmjtJkr4Nss+hLjLbmzwWvb6NwKfMEl/535UTHdltgY0IIBSWWcYhUPMngfO7qT86nDFdPhhehFMLbMWIXPbpmxkiVwtjeFE78NidXAx43afwGGeG0DzVSPiwAAAABJRU5ErkJggg=="},qkKv:function(t,e,a){var i=a("FeBl"),n=i.JSON||(i.JSON={stringify:JSON.stringify});t.exports=function(t){return n.stringify.apply(n,arguments)}},rYNx:function(t,e){},ruOa:function(t,e){},ta5X:function(t,e){}});
\ No newline at end of file
webpackJsonp([3],{"31Qx":function(t,e){},"9U3U":function(t,e){},PRBB:function(t,e){},TQvf:function(t,e,a){
/*!
* clipboard.js v2.0.4
* https://zenorocha.github.io/clipboard.js
*
* Licensed MIT © Zeno Rocha
*/
var i;i=function(){return function(t){var e={};function a(i){if(e[i])return e[i].exports;var n=e[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,a),n.l=!0,n.exports}return a.m=t,a.c=e,a.d=function(t,e,i){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)a.d(i,n,function(e){return t[e]}.bind(null,n));return i},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s=0)}([function(t,e,a){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n=function(){function t(t,e){for(var a=0;a<e.length;a++){var i=e[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,a,i){return a&&t(e.prototype,a),i&&t(e,i),e}}(),r=o(a(1)),s=o(a(3)),c=o(a(4));function o(t){return t&&t.__esModule?t:{default:t}}var l=function(t){function e(t,a){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var i=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return i.resolveOptions(a),i.listenClick(t),i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,s.default),n(e,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===i(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=(0,c.default)(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new r.default({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return d("action",t)}},{key:"defaultTarget",value:function(t){var e=d("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return d("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,a=!!document.queryCommandSupported;return e.forEach(function(t){a=a&&!!document.queryCommandSupported(t)}),a}}]),e}();function d(t,e){var a="data-clipboard-"+t;if(e.hasAttribute(a))return e.getAttribute(a)}t.exports=l},function(t,e,a){"use strict";var i,n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){for(var a=0;a<e.length;a++){var i=e[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,a,i){return a&&t(e.prototype,a),i&&t(e,i),e}}(),s=a(2),c=(i=s)&&i.__esModule?i:{default:i};var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.resolveOptions(e),this.initSelection()}return r(t,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,e="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var a=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=a+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,c.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,c.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==(void 0===t?"undefined":n(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}();t.exports=o},function(t,e){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var a=t.hasAttribute("readonly");a||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),a||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var i=window.getSelection(),n=document.createRange();n.selectNodeContents(t),i.removeAllRanges(),i.addRange(n),e=i.toString()}return e}},function(t,e){function a(){}a.prototype={on:function(t,e,a){var i=this.e||(this.e={});return(i[t]||(i[t]=[])).push({fn:e,ctx:a}),this},once:function(t,e,a){var i=this;function n(){i.off(t,n),e.apply(a,arguments)}return n._=e,this.on(t,n,a)},emit:function(t){for(var e=[].slice.call(arguments,1),a=((this.e||(this.e={}))[t]||[]).slice(),i=0,n=a.length;i<n;i++)a[i].fn.apply(a[i].ctx,e);return this},off:function(t,e){var a=this.e||(this.e={}),i=a[t],n=[];if(i&&e)for(var r=0,s=i.length;r<s;r++)i[r].fn!==e&&i[r].fn._!==e&&n.push(i[r]);return n.length?a[t]=n:delete a[t],this}},t.exports=a},function(t,e,a){var i=a(5),n=a(6);t.exports=function(t,e,a){if(!t&&!e&&!a)throw new Error("Missing required arguments");if(!i.string(e))throw new TypeError("Second argument must be a String");if(!i.fn(a))throw new TypeError("Third argument must be a Function");if(i.node(t))return function(t,e,a){return t.addEventListener(e,a),{destroy:function(){t.removeEventListener(e,a)}}}(t,e,a);if(i.nodeList(t))return function(t,e,a){return Array.prototype.forEach.call(t,function(t){t.addEventListener(e,a)}),{destroy:function(){Array.prototype.forEach.call(t,function(t){t.removeEventListener(e,a)})}}}(t,e,a);if(i.string(t))return function(t,e,a){return n(document.body,t,e,a)}(t,e,a);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var a=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===a||"[object HTMLCollection]"===a)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},function(t,e,a){var i=a(7);function n(t,e,a,n,r){var s=function(t,e,a,n){return function(a){a.delegateTarget=i(a.target,e),a.delegateTarget&&n.call(t,a)}}.apply(this,arguments);return t.addEventListener(a,s,r),{destroy:function(){t.removeEventListener(a,s,r)}}}t.exports=function(t,e,a,i,r){return"function"==typeof t.addEventListener?n.apply(null,arguments):"function"==typeof a?n.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return n(t,e,a,i,r)}))}},function(t,e){var a=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}t.exports=function(t,e){for(;t&&t.nodeType!==a;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}}])},t.exports=i()},Vo6M:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAA/VJREFUSA2VVt9rHFUU/s7Mzm5X22wbbNxsE2ljwWpoaSsqCAVFxT9A44OgLz70R9qkefBR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kJlNdUr0q5Z+2dKg/r8jZMy4+VxNXrQmdCHg0Xsv5/mWmReDr9O9OFPO9si/JSk1G9wKDazCL5sHdS3ykdlMrcN37EKx5i6O47DYhLM884mCk34vtwto9ZvjYEYfsMP6+bbPvZR2sOGvYtG7bynImWrrmYitxKe55yhbolR2Ff3Hepvcj3BQy5MnZTas2nnNRr/AYSgULGfxss8AAAAAElFTkSuQmCC"},X1Ja:function(t,e){},aP79:function(t,e){},bIhT:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("mvHQ"),n=a.n(i),r=a("P9l9"),s=a("Ch4/"),c={name:"game-select",props:{value:{type:[String,Array,Object],default:function(){return[]}}},data:function(){return{caseValue:[],options:[{gameType:1,id:1,gameTypeName:"大转盘",label:"大转盘",children:[]},{gameType:2,id:2,gameTypeName:"刮刮卡",label:"刮刮卡",children:[]},{gameType:3,id:3,gameTypeName:"拼图游戏",label:"拼图游戏",children:[]},{gameType:4,id:4,gameTypeName:"找你马",label:"找你马",children:[]},{gameType:5,id:5,gameTypeName:"口令福利",label:"口令福利",children:[]}],props:{label:"label",children:"children",value:"id"}}},methods:{handleChange:function(t){var e=this;e.$emit("input",t),e.options.forEach(function(a){2==t.length&&t[0]==a.id&&a.children.forEach(function(a){t[1]==a.gameId&&e.$emit("changeGame",a.gameName,a.gameUrl)})})},expandChange:function(t){this.getContent(t[0])},getContent:function(t){var e=this,a={gameType:t};Object(r.a)("/sharing-core-web/list-game",a).then(function(a){var i=a.data;if(1==i.errorCode)return i.result&&i.result.length&&i.result.forEach(function(t){t.id=t.gameId,t.label=t.gameName}),e.options.forEach(function(e){e.id==t&&(e.children=i.result)}),void e.$forceUpdate();s.a.errorMsg(i)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{value:function(t,e){var a=this;a.caseValue=t,setTimeout(function(){t.length&&a.getContent(t[0])},500)}},mounted:function(){var t=this;t.caseValue=t.value,setTimeout(function(){t.value.length&&t.getContent(t.value[0])},500)}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-cascader",{attrs:{options:t.options,props:t.props},on:{change:t.handleChange,"expand-change":t.expandChange},model:{value:t.caseValue,callback:function(e){t.caseValue=e},expression:"caseValue"}})],1)},staticRenderFns:[]};var l=a("VU/8")(c,o,!1,function(t){a("aP79")},null,null).exports,d=a("3E4D"),u={name:"active-select",components:{gameSelect:l},data:function(){return{firstGoal:{},firstData:[],secondGoal:{},secondData:[],thirdData:[],fourData:[],markingList:[],markingValue:"",activityMarketPageName:"",gameList:[],gameValue:[],gamePlanName:"",gamePlanUrl:"",cardList:[],cardValue:"",cardCoupName:"",pathNames:[],pathIds:[],disableCreate:!0}},methods:{selectFirst:function(t){this.firstGoal=t;var e=JSON.parse(n()(t.children));t.children&&t.children.length&&e.forEach(function(t){t.description=JSON.parse(t.description)}),this.secondData=JSON.parse(n()(e)),this.secondGoal={},this.thirdData=[],this.pathNames=[],this.pathIds=[],this.markingValue="",this.activityMarketPageName="",this.gameValue=[],this.gamePlanName="",this.cardValue="",this.cardCoupName=""},selectSecond:function(t){this.secondGoal=t,this.getThirdData(t.goalId),this.markingValue="",this.activityMarketPageName="",this.gameValue=[],this.gamePlanName="",this.cardValue="",this.cardCoupName=""},getThirdData:function(t){var e=this,a={goalId:t};e.pathNames=[],e.pathIds=[],Object(r.a)("/sharing-core-web/list-activity-dict-trans",a).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.length&&a.result.forEach(function(t){t.check=!1,t.mustFlag&&(t.check=!0,e.pathNames.push(t.transName),e.pathIds.push(t.transId),e.getText(t.transId))}),e.thirdData=a.result||[],e.$nextTick(function(){e.checkDisable()}),!1;s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},selectThird:function(t){var e=this;if(t.mustFlag)return!1;t.check=!t.check,console.log(t,t.check),e.pathIds=[],e.thirdData.forEach(function(t){t.check&&t.display&&e.pathIds.push(t.transId)}),e.thirdData.forEach(function(a){t.check&&a.mustCondition&&a.mustCondition.includes(t.transId)&&(a.mustFlag=1,a.check=!0,a.display=1),t.check||!a.mustCondition||!a.mustCondition.includes(t.transId)||e.thirdData[0].check||e.thirdData[1].check||(a.mustFlag=0,a.check=!1,a.display=0),t.check&&a.showCondition&&a.showCondition.includes(t.transId)&&(a.display=1),!t.check&&a.showCondition&&a.showCondition.includes(t.transId)&&!a.selectedConditions&&(a.display=0),!t.check&&a.canceCondition&&a.canceCondition.includes(t.transId)&&(a.check=!1),t.check&&(a.showCondition&&e.thirdData[0].check||a.showCondition&&e.thirdData[1].check)&&a.selectedConditions&&a.selectedConditions.includes(t.transId)&&(a.display=1,a.check=!0),t.check&&a.showCondition&&!e.thirdData[0].check&&!e.thirdData[1].check&&a.selectedConditions&&a.selectedConditions.includes(t.transId)&&(a.display=0,a.check=!0),!t.check&&a.showCondition&&!e.thirdData[0].check&&!e.thirdData[1].check&&a.selectedConditions&&a.selectedConditions.includes(t.transId)&&(a.display=1,a.check=!1),t.check||4!=a.transId||e.thirdData[0].check||e.thirdData[1].check||!e.thirdData[3].check||(a.display=0,a.check=!0)}),e.getPathNameText()},getPathNameText:function(){var t=this,e=[],a=[];t.pathIds=[],t.thirdData.forEach(function(i){i.check&&i.display&&(a.push(i.transId),e.push(i.transName),t.pathIds.push(i.transId))}),t.pathNames=e,t.getText(a.join(",")),t.$nextTick(function(){t.checkDisable()})},checkDisable:function(){if(this.pathNames.includes("访问活动营销页")&&!this.markingValue||this.pathNames.includes("游戏参与")&&!this.gameValue.length||this.pathNames.includes("卡券领取")&&!this.cardValue)return this.disableCreate=!0,!1;var t=[];return this.thirdData.forEach(function(e){e.check&&e.display&&t.push({transId:e.transId,transName:e.transName})}),5==this.secondGoal.goalId&&1==t.length?(this.disableCreate=!0,!1):8==this.secondGoal.goalId&&(1==t.length||2==t.length&&t.map(function(t){return t.transId}).includes(4))?(this.disableCreate=!0,!1):10!=this.secondGoal.goalId&&11!=this.secondGoal.goalId||!(1==t.length||2==t.length&&(t.map(function(t){return t.transId}).includes(4)||t.map(function(t){return t.transId}).includes(16))||3==t.length&&t.map(function(t){return t.transId}).includes(4)&&t.map(function(t){return t.transId}).includes(16))?9==this.secondGoal.goalId&&(1==t.length||2==t.length&&(t.map(function(t){return t.transId}).includes(4)||t.map(function(t){return t.transId}).includes(16)))?(this.disableCreate=!0,!1):void(this.disableCreate=!1):(this.disableCreate=!0,!1)},changeMarking:function(){var t=this;t.$nextTick(function(){t.checkDisable()})},changeCard:function(){var t=this;t.$nextTick(function(){t.checkDisable()})},changeGame:function(t,e){var a=this;a.gamePlanName=t,a.gamePlanUrl=e,a.$nextTick(function(){a.checkDisable()})},toRedirectPage:function(t){if(window.location.origin.includes("gicdev"))return window.open(t.url),!1;"marking"==t.id&&window.open("/gic-web/#/custom"),"game"==t.id&&window.open("/marketing/#/game/dzp"),"card"==t.id&&window.open("/marketing/#/card/list")},toCreate:function(){var t=this;if(t.$store.dispatch("clearActiveData"),!t.firstGoal.hasOwnProperty("goalId"))return d.a.showmsg("请先选择活动目的","warning"),!1;if(!t.secondGoal.hasOwnProperty("goalId"))return d.a.showmsg("请先完善活动目的","warning"),!1;if(t.pathNames.includes("访问活动营销页")&&!t.markingValue||t.pathNames.includes("游戏参与")&&!t.gameValue.length||t.pathNames.includes("卡券领取")&&!t.cardValue)return d.a.showmsg("请先完善活动创建前准备工作","warning"),!1;t.pathNames.includes("访问活动营销页")&&t.markingValue&&t.markingList.forEach(function(e){t.markingValue==e.pageId&&(t.activityMarketPageName=e.name)}),t.pathNames.includes("卡券领取")&&t.cardValue&&t.cardList.forEach(function(e){t.cardValue==e.coupCardId&&(t.cardCoupName=e.cardName)});var e=[];if(t.thirdData.forEach(function(t){t.check&&t.display&&e.push({transId:t.transId,transName:t.transName})}),e.sort(function(t,e){return t.transId-e.transId}),5==t.secondGoal.goalId&&1==e.length)return d.a.showmsg("请在可选项中至少选择一项","warning"),!1;if(8==t.secondGoal.goalId&&(1==e.length||2==e.length&&e.map(function(t){return t.transId}).includes(4)))return d.a.showmsg("请在可选项中至少选择一项","warning"),!1;if((10==t.secondGoal.goalId||11==t.secondGoal.goalId)&&(1==e.length||2==e.length&&(e.map(function(t){return t.transId}).includes(4)||e.map(function(t){return t.transId}).includes(16))||3==e.length&&e.map(function(t){return t.transId}).includes(4)&&e.map(function(t){return t.transId}).includes(16)))return d.a.showmsg("请在可选项中至少选择一项","warning"),!1;if(9==t.secondGoal.goalId&&(1==e.length||2==e.length&&(e.map(function(t){return t.transId}).includes(4)||e.map(function(t){return t.transId}).includes(16))))return d.a.showmsg("请在可选项中至少选择一项","warning"),!1;var a={firstGoal:t.firstGoal,secondGoal:t.secondGoal,pathArr:e,markingValue:t.markingValue,activityMarketPageName:t.activityMarketPageName,gameValue:t.gameValue,gamePlanName:t.gamePlanName,gamePlanUrl:t.gamePlanUrl,cardValue:t.cardValue,cardCoupName:t.cardCoupName};t.judgeCreate(a)},getTwoList:function(){var t=this;Object(r.a)("/sharing-core-web/list-activity-dict",{}).then(function(e){var a=e.data;if(1==a.errorCode)return t.firstData=JSON.parse(n()(a.result))||[],t.getMarkingList(),t.getCardList(),!1;s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getText:function(t){var e=this,a={transIds:t};Object(r.a)("/sharing-core-web/list-activity-dict-text",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.fourData=a.result||[],!1;s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getMarkingList:function(){var t=this;Object(r.a)("/sharing-core-web/list-marking-page",{}).then(function(e){var a=e.data;if(1==a.errorCode)return t.markingList=a.result||[],!1;s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getGameList:function(){var t=this;Object(r.a)("/sharing-core-web/list-game",{}).then(function(e){var a=e.data;if(1==a.errorCode)return t.gameList=a.result||[],!1;s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getCardList:function(){var t=this;Object(r.a)("/sharing-core-web/list-card",{}).then(function(e){var a=e.data;if(1==a.errorCode)return t.cardList=a.result||[],!1;s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},judgeCreate:function(t){var e=this;Object(r.a)("/sharing-core-web/can-create",{}).then(function(a){var i=a.data;if(1==i.errorCode)return console.log("indexObj:",t),e.$store.dispatch("saveIndexInfo",t),e.$router.push("/createActive"),!1;s.a.errorMsg(i)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getTwoList()}},f={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"active-select border-box"},[a("div",{staticClass:"active-select-title font-22 color-303133 font-w-600"},[t._v("请选择您的活动目的")]),t._v(" "),a("ul",{staticClass:"flex flex-pack-center"},[t._l(t.firstData,function(e,i){return[a("li",{key:i+"first",class:["li-cell flex-1 ",t.firstGoal.goalId==e.goalId?"li-cell-active":""],on:{click:function(a){return t.selectFirst(e)}}},[a("div",{staticClass:"li-cell-inner flex "},[a("div",{staticClass:"li-cell-left flex flex-align-center flex-pack-center"},[a("img",{attrs:{src:t.firstGoal.goalId==e.goalId?e.selectedIconUrl:e.iconUrl,alt:""}})]),t._v(" "),a("div",{staticClass:"li-cell-right border-box flex flex-column "},[a("div",{staticClass:"li-cell-active_name flex flex-align-center font-18 color-303133"},[t._v(t._s(e.goalName))]),t._v(" "),a("div",{staticClass:"li-cell-active_description flex flex-align-center font-14 color-606266"},[t._v(t._s(e.description))])])]),t._v(" "),t._m(0,!0)])]})],2),t._v(" "),t.firstGoal.goalId?a("div",[a("div",{staticClass:"active-select-next"}),t._v(" "),a("div",{staticClass:"active-select-title font-22 color-303133 font-w-600"},[t._v("请进一步明确活动目的")]),t._v(" "),a("ul",{staticClass:"flex flex-pack-center m-t-48"},[t._l(t.secondData,function(e,i){return[a("li",{key:i+"second",class:["li-cell li-second-cell flex-1 ",t.secondGoal.goalId==e.goalId?"li-second-active":""],on:{click:function(a){return t.selectSecond(e)}}},[a("div",{staticClass:"li-cell-inner"},[a("div",{staticClass:"li-cell-top border-box flex flex-align-center flex-pack-center"},[a("img",{attrs:{src:t.secondGoal.goalId==e.goalId?e.selectedIconUrl:e.iconUrl,alt:""}}),a("span",{staticClass:"p-l-15 font-18 color-303133 font-w-700"},[t._v(t._s(e.goalName))])]),t._v(" "),a("div",{staticClass:"li-cell-bottom border-box"},[a("div",{staticClass:"li-cell-scene"},[a("div",{staticClass:"li-cell-scene_title font-14 color-303133"},[t._v("适用场景")]),t._v(" "),a("div",{staticClass:"li-cell-scene_text font-14 color-606266"},[t._v(t._s(e.description["适用场景"]))])]),t._v(" "),a("div",{staticClass:"li-cell-quality"},[a("div",{staticClass:"li-cell-quality_title font-14 color-303133"},[t._v("优劣分析")]),t._v(" "),a("div",{staticClass:"li-cell-quality_text font-14 color-606266"},[t._v(t._s(e.description["优劣分析"]))])])])]),t._v(" "),t._m(1,!0)])]})],2)]):t._e(),t._v(" "),t.secondGoal.goalId?a("div",[a("div",{staticClass:"active-select-next"}),t._v(" "),a("div",{staticClass:"active-select-title font-22 color-303133 font-w-600 m-b-0"},[t._v("请配置受邀人的转化路径")]),t._v(" "),a("div",{staticClass:"active-select-subtitle font-14 color-606266"},[t._v("基于您的活动设计期望,配置受邀人的转化路径(即受邀人需要经历的交互步骤)。系统会根据您所选择的转化路径,自动配置服务号关注后回复、认证后卡券投放等营销脚本。您只需要根据自身需求选择路径,并选择相关的营销活动页、游戏计划或卡券。")]),t._v(" "),a("ul",{staticClass:"flex flex-pack-center m-t-50"},[t._l(t.thirdData,function(e,i){return[1==e.display?a("li",{key:i+"third",class:["li-cell li-third-cell flex-1 ",e.check?"li-third-active":"",e.mustFlag?"li-third-active-disable":""],on:{click:function(a){return t.selectThird(e)}}},[a("div",{staticClass:"li-cell-inner border-box"},[a("div",{staticClass:"li-cell-path_img flex flex-pack-center flex-pack--center"},[a("img",{attrs:{src:e.iconUrl,alt:""}})]),t._v(" "),a("div",{staticClass:"li-cell-path_title font-16 color-303133 text-center"},[t._v(t._s(e.transName))]),t._v(" "),a("div",{staticClass:"li-cell-path_text font-14 color-606266"},[t._v(t._s(e.description))])]),t._v(" "),t._m(2,!0)]):t._e()]})],2)]):t._e(),t._v(" "),t.pathNames.includes("访问活动营销页")||t.pathNames.includes("游戏参与")||t.pathNames.includes("卡券领取")?a("div",[a("div",{staticClass:"active-select-next"}),t._v(" "),a("div",{staticClass:"active-select-title font-22 color-303133 font-w-600 m-b-0"},[t._v("活动创建前准备工作")]),t._v(" "),a("div",{staticClass:"active-select-subtitle font-14 color-606266"},[t._v("根据您配置的转化路径,请确保完成以下工作,否则活动无法被正常执行。")]),t._v(" "),a("ul",{staticClass:"flex flex-pack-center m-t-50"},[t._l(t.fourData,function(e,i){return["marking"==e.id&&t.pathNames.includes("访问活动营销页")||"game"==e.id&&t.pathNames.includes("游戏参与")||"card"==e.id&&t.pathNames.includes("卡券领取")?a("li",{key:i+"four",staticClass:"li-four-cell flex-1 "},[a("div",{staticClass:"li-cell-inner border-box"},[a("div",{staticClass:"li-cell-title font-18 color-303133 font-w-600"},[t._v(t._s(e.title))]),t._v(" "),a("div",{staticClass:"li-cell-subtitle font-14 color-606266"},[t._v(t._s(e.text))]),t._v(" "),"marking"==e.id?a("div",{staticClass:"li-cell-tip font-14 color-303133"},[t._v("如果您还没有创建活动营销页,请立即前往创建。")]):t._e(),t._v(" "),"game"==e.id?a("div",{staticClass:"li-cell-tip font-14 color-303133"},[t._v("如果您还没有创建游戏计划,请立即前往创建。")]):t._e(),t._v(" "),"card"==e.id?a("div",{staticClass:"li-cell-tip font-14 color-303133"},[t._v("如果您还没有创建卡券,请立即前往创建。")]):t._e(),t._v(" "),"marking"==e.id?a("div",{staticClass:"li-cell-select"},[a("el-select",{attrs:{size:"large",placeholder:"请选择活动着陆页"},on:{change:t.changeMarking},model:{value:t.markingValue,callback:function(e){t.markingValue=e},expression:"markingValue"}},t._l(t.markingList,function(t){return a("el-option",{key:t.pageId,attrs:{label:t.name,value:t.pageId}})}),1)],1):t._e(),t._v(" "),"game"==e.id?a("div",{staticClass:"li-cell-select"},[a("game-select",{on:{changeGame:t.changeGame},model:{value:t.gameValue,callback:function(e){t.gameValue=e},expression:"gameValue"}})],1):t._e(),t._v(" "),"card"==e.id?a("div",{staticClass:"li-cell-select"},[a("el-select",{attrs:{size:"large",placeholder:"请选择卡券"},on:{change:t.changeCard},model:{value:t.cardValue,callback:function(e){t.cardValue=e},expression:"cardValue"}},t._l(t.cardList,function(t){return a("el-option",{key:t.coupCardId,attrs:{label:t.cardName,value:t.coupCardId}})}),1)],1):t._e(),t._v(" "),a("div",{staticClass:"li-cell-seperator"},[t._v("OR")]),t._v(" "),a("div",{staticClass:"li-cell-btn"},[a("el-button",{attrs:{type:"primary",plain:""},on:{click:function(a){return t.toRedirectPage(e)}}},[t._v("立即前往创建")])],1)])]):t._e()]})],2)]):t._e(),t._v(" "),a("div",{staticClass:"to-active-config"},[a("div",{staticClass:"to-active-tip font-14 color-606266"},[t._v("确认完成了所有前期准备工作,即可前往活动配置。")]),t._v(" "),a("div",{staticClass:"to-active-btn"},[a("el-button",{attrs:{type:"primary",disabled:t.disableCreate},on:{click:t.toCreate}},[t._v("前往活动配置"),a("i",{staticClass:"el-icon-right"})])],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"common-cell-check"},[e("div",{staticClass:"common-cell-triangle"},[e("div",{staticClass:"common-cell-outer"},[e("i",{staticClass:"el-icon-upload-success el-icon-check"})])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"common-cell-check"},[e("div",{staticClass:"common-cell-triangle"},[e("div",{staticClass:"common-cell-outer"},[e("i",{staticClass:"el-icon-upload-success el-icon-check"})])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"common-cell-check"},[e("div",{staticClass:"common-cell-triangle"},[e("div",{staticClass:"common-cell-outer"},[e("i",{staticClass:"el-icon-upload-success el-icon-check"})])])])}]};var h=a("VU/8")(u,f,!1,function(t){a("9U3U")},"data-v-37e7133d",null).exports,v=a("fZjL"),g=a.n(v),m={name:"bar-chart",props:{barChartData:{type:[Array,Object],default:function(){return{}}},charHeight:{type:String,default:function(){return"300px"}}},components:{},data:function(){return this.chartSettings={},this.chartExtend={yAxis:{axisLabel:{formatter:function(t){return~String(t).indexOf(".")?"":t}}}},this.colors=["#5B8FF9","#5AD8A6","#FF6383"],this.tooltip={trigger:"axis",formatter:function(t){var e=[t[0].axisValue+"日"];return t.forEach(function(t){e.push(t.marker+" "+t.seriesName+":"+t.data)}),e.join("<br>")},axisPointer:{type:"shadow"},textStyle:{color:"#fff"}},this.yAxis={type:"value",axisTick:{show:!1},axisLabel:{show:!0,textStyle:{color:"#404040",fontSize:12}},splitLine:{show:!0,lineStyle:{color:["#d9d9d9"],width:1,type:"dashed"}}},this.legend={x:"left",itemWidth:8,itemHeight:8},this.grid={bottom:"34px"},{}}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bar-chart"},[a("ve-histogram",{attrs:{data:t.barChartData,settings:t.chartSettings,colors:t.colors,height:t.charHeight,tooltip:t.tooltip,yAxis:t.yAxis,legend:t.legend,grid:t.grid,extend:t.chartExtend}}),t._v(" "),a("div",{staticClass:"chart-title font-12 color-000 text-center"},[t._v("- 近15天趋势图 -")])],1)},staticRenderFns:[]};var y=a("VU/8")(m,p,!1,function(t){a("ta5X")},"data-v-10ec42c2",null).exports,b={name:"data-statistics",props:{activeData:{type:[Object,Array],default:function(){return{exposure:0,attend:0,invited:0,attendRate:0,spread:0}}},activityId:{type:String,default:function(){return""}},barChartData:{type:[Array,Object],default:function(){return{}}}},components:{barChart:y},data:function(){return{charHeight:"220px"}},methods:{diagram:function(t){for(var e=document.getElementsByClassName("blue"+this.activityId),a=0;a<e.length;a++)a+1<=t?e[a].style.width="17px":a+1==Math.ceil(t)?e[a].style.width=parseInt(10*t-10*parseInt(t))/10*17+"px":e[a].style.width="0px";this.$forceUpdate()}},watch:{activeData:function(t,e){var a=this;t&&a.$nextTick(function(){a.diagram(t.spread)})}},mounted:function(){var t=this;t.$nextTick(function(){t.activeData.hasOwnProperty("spread")&&t.diagram(t.activeData.spread)})}},x={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"data-statistics"},[a("div",{staticClass:"data-statistics-body flex"},[a("div",{staticClass:"data-statistics-left"},[a("ul",{staticClass:"flex flex-column flex-pack-center flex-align-center"},[a("li",{staticClass:"flex-1 flex flex-pack-center flex-align-center"},[t._m(0),t._v(" "),a("div",{staticClass:"data-statistics-txt flex flex-column"},[a("div",{staticClass:"font-14 color-606266 font-w-400"},[t._v("活动曝光量")]),t._v(" "),a("div",{staticClass:"font-22 color-303133 font-w-600 p-t-10"},[t._v(t._s(t._f("formatThousand")(t.activeData.exposure)))])])]),t._v(" "),a("li",{staticClass:"flex-1 flex flex-pack-center flex-align-center"},[t._m(1),t._v(" "),a("div",{staticClass:"data-statistics-txt flex flex-column"},[a("div",{staticClass:"font-14 color-606266 font-w-400"},[t._v("参与人数")]),t._v(" "),a("div",{staticClass:"font-22 color-303133 font-w-600 p-t-10"},[t._v(t._s(t._f("formatThousand")(t.activeData.attend)))])])]),t._v(" "),a("li",{staticClass:"flex-1 flex flex-pack-center flex-align-center"},[t._m(2),t._v(" "),a("div",{staticClass:"data-statistics-txt flex flex-column"},[a("div",{staticClass:"font-14 color-606266 font-w-400"},[t._v("受邀人数")]),t._v(" "),a("div",{staticClass:"font-22 color-303133 font-w-600 p-t-10"},[t._v(t._s(t._f("formatThousand")(t.activeData.invited)))])])])])]),t._v(" "),a("div",{staticClass:"data-right-wrap"},[a("div",{staticClass:"data-right-top flex"},[a("div",{staticClass:"data-statistics-middle flex-1 border-box m-l-20"},[a("div",{staticClass:"font-14 color-606266"},[t._v("参与率")]),t._v(" "),a("div",{class:["font-22 color-303133 p-t-5 ",t.activeData.attendRate]},[t._v(t._s(t.activeData.attendRate?Number(100*Number(t.activeData.attendRate)).toFixed(2):0)+" %")]),t._v(" "),a("div",{staticClass:"data-percentage"},[a("div",{staticClass:"data-percentage-inner",style:{width:Number(100*Number(t.activeData.attendRate)).toFixed(2)+"%"}})])]),t._v(" "),a("div",{staticClass:"data-statistics-right flex-1 border-box m-l-20"},[a("div",{staticClass:"font-14 color-606266"},[t._v("传播系数")]),t._v(" "),a("div",{staticClass:"font-22 color-303133 p-t-5"},[t._v(t._s(t.activeData.spread))]),t._v(" "),a("ul",{staticClass:"spread-ul"},[a("li",[a("div",{staticClass:"gray"}),t._v(" "),a("div",{class:["blue","blue"+t.activityId],staticStyle:{width:"0px"}})]),t._v(" "),a("li",[a("div",{staticClass:"gray"}),t._v(" "),a("div",{class:["blue","blue"+t.activityId],staticStyle:{width:"0px"}})]),t._v(" "),a("li",[a("div",{staticClass:"gray"}),t._v(" "),a("div",{class:["blue","blue"+t.activityId],staticStyle:{width:"0px"}})]),t._v(" "),a("li",[a("div",{staticClass:"gray"}),t._v(" "),a("div",{class:["blue","blue"+t.activityId],staticStyle:{width:"0px"}})]),t._v(" "),a("li",[a("div",{staticClass:"gray"}),t._v(" "),a("div",{class:["blue","blue"+t.activityId],staticStyle:{width:"0px"}})]),t._v(" "),a("li",[a("div",{staticClass:"gray"}),t._v(" "),a("div",{class:["blue","blue"+t.activityId],staticStyle:{width:"0px"}})]),t._v(" "),a("li",[a("div",{staticClass:"gray"}),t._v(" "),a("div",{class:["blue","blue"+t.activityId],staticStyle:{width:"0px"}})]),t._v(" "),a("li",[a("div",{staticClass:"gray"}),t._v(" "),a("div",{class:["blue","blue"+t.activityId],staticStyle:{width:"0px"}})]),t._v(" "),a("li",[a("div",{staticClass:"gray"}),t._v(" "),a("div",{class:["blue","blue"+t.activityId],staticStyle:{width:"0px"}})]),t._v(" "),a("li",[a("div",{staticClass:"gray"}),t._v(" "),a("div",{class:["blue","blue"+t.activityId],staticStyle:{width:"0px"}})])])])]),t._v(" "),a("div",{staticClass:"data-right-bottom"},[a("bar-chart",{attrs:{barChartData:t.barChartData,charHeight:t.charHeight}})],1)])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"data-statistics-icon"},[e("img",{attrs:{src:a("gjBT"),alt:""}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"data-statistics-icon"},[e("img",{attrs:{src:a("oj03"),alt:""}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"data-statistics-icon"},[e("img",{attrs:{src:a("Vo6M"),alt:""}})])}]};var C=a("VU/8")(b,x,!1,function(t){a("kwxT")},"data-v-c5660a1e",null).exports,_={name:"funnel-chart",props:{funnelData:{type:[Object,Array],default:function(){return{}}}},data:function(){return{router:[{transId:4,transName:"会员认证"},{transId:2,transName:"访问活动营销页"},{transId:1,transName:"服务号关注"}]}}},k={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"funnel-chart"},[a("div",{staticClass:"funnel-chart-body flex"},[a("div",{staticClass:"chart-left"},[a("div",{staticClass:"trapezoid-bg flex flex-column"},[t._l(t.funnelData.router,function(e,i){return[a("div",{key:i,staticClass:"flex-1 flex flex-column"},[a("div",{staticClass:"flex-1 flex flex-pack-center font-12 color-606066 flex-align-center space-line r-60"}),t._v(" "),i!=t.funnelData.router.length-1?a("div",{staticClass:"flex-1 flex flex-pack-center font-12 color-606066 flex-align-center inner-bg bg-f5f7fa"},[t._v(t._s(e.rate?Number(100*Number(e.rate)).toFixed(2):0)+"%")]):t._e()])]})],2)]),t._v(" "),a("div",{staticClass:"chart-right"},[a("div",{staticClass:"chart-text flex flex-column"},[t._l(t.funnelData.router,function(e,i){return[a("div",{key:i,staticClass:"flex-1 flex flex-column"},[a("div",{staticClass:"flex-1 flex flex-align-center space-line p-l-98 font-12 color-606066"},[t._v(t._s(e.transName)+" "+t._s(e.countNumber)+" 人 "),32==e.transId?a("span",[t._v(", "+t._s(t._f("formatThousand")(e.countAmount))+" 元")]):t._e()]),t._v(" "),i!=t.funnelData.router.length-1?a("div",{staticClass:"flex-1 flex flex-align-center bg-f5f7fa"}):t._e()])]})],2)])]),t._v(" "),a("div",{staticClass:"funnel-chart-title font-12 color-000"},[t._v("- 响应转化漏斗 -")])])},staticRenderFns:[]};var w=a("VU/8")(_,k,!1,function(t){a("rYNx")},"data-v-12da0cc8",null).exports,I={name:"card-table",props:{barChartData:{type:[Array,Object],default:function(){return{}}},funnelData:{type:[Array,Object],default:function(){return{}}},activityId:{type:String,default:function(){return""}}},components:{funnelChart:w,dataStatisticsChild:C},data:function(){return{activeData:{exposure:0,attend:0,invited:0,attendRate:0,spread:0},itemId:this.activityId}},methods:{},watch:{funnelData:function(t,e){g()(t).length&&(this.activeData=JSON.parse(n()(t)))},activityId:function(t,e){t&&(this.itemId=t)}},mounted:function(){g()(this.funnelData).length&&(this.activeData=JSON.parse(n()(this.funnelData))),this.itemId=this.activityId}},D={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"out-date-active flex flex-space-between"},[e("data-statistics-child",{attrs:{activeData:this.activeData,barChartData:this.barChartData,activityId:this.itemId}}),this._v(" "),e("funnel-chart",{attrs:{funnelData:this.funnelData}})],1)},staticRenderFns:[]};var A=a("VU/8")(I,D,!1,function(t){a("ruOa")},"data-v-b5eb40e4",null).exports,E=a("TQvf"),S=a.n(E),T=a("PI0u"),N={name:"in-progress-active",components:{outDateActive:A},data:function(){return{funnelData:{},barChartData:{columns:["日期","新增参与人数","新增受邀人数"],rows:[]},index:"",selectItem:"",inProgressData:[]}},methods:{selectLi:Object(T.a)(function(t){this.selectItem=t.activityId,this.getActivityData(t.activityId)},100),getActivityData:function(t){var e=this,a={activityId:t};Object(r.a)("/sharing-core-web/get-activity-data-summary",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.funnelData=a.result||{},a.result.trend&&a.result.trend.length&&a.result.trend.forEach(function(t){t["日期"]=t.date.split("-")[2],t["新增参与人数"]=t.inviteCount,t["新增受邀人数"]=t.invitedCount}),e.barChartData={columns:["日期","新增参与人数","新增受邀人数"],rows:a.result.trend||[]},!1;s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/createActive?activityId="+e.activityId)},toDataList:function(t,e){this.$router.push("/dataDetail?activityId="+e.activityId)},handleCopy:function(t,e){var a=new S.a(".copy-tag",{text:function(){return e.activityUrl||"您复制的数据是空的!"}});a.on("success",function(t){d.a.showmsg("复制成功!","success"),a.destroy()}),a.on("error",function(t){d.a.showmsg("该浏览器不支持自动复制!","warning"),a.destroy()})},toDelList:function(t,e){var a=this;this.$confirm("是否要删除该活动?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delData(e.activityId)}).catch(function(){})},delData:function(t){var e=this,a={activityId:t};Object(r.a)("/sharing-core-web/delete-activity",a).then(function(t){var a=t.data;if(1==a.errorCode)return d.a.showmsg("删除成功","success"),e.currentPage=1,window.location.reload(),!1;s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getTableList:function(){var t=this;Object(r.a)("/sharing-core-web/page-activity",{type:4}).then(function(e){var a=e.data;if(1==a.errorCode)return t.inProgressData=a.result.result||[],a.result.result.length&&t.getActivityData(a.result.result[0].activityId),!1;s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.getTableList()}},O={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.inProgressData.length?a("div",[a("div",{staticClass:"separator-space"},[t._v("- 当前有计划中的活动,无法创建新的活动 -")]),t._v(" "),a("div",{staticClass:"in-progress-active border-box"},[a("ul",[t._l(t.inProgressData,function(e,i){return[a("li",{key:i+"data",class:["border-box",t.selectItem==e.activityId&&0!=i?"li-border":""]},[a("div",{staticClass:"in-progress-active-title flex flex-space-between border-box"},[a("div",{staticClass:"active-title-left",on:{click:function(a){return t.selectLi(e)}}},[a("div",{staticClass:"active-title-name font-18 color-303133 font-w-700"},[t._v(t._s(e.activityName)+" "),2==e.status?a("el-tag",{attrs:{type:"danger"}},[t._v("待完善")]):t._e(),t._v(" "),1==e.status&&e.startDate>(new Date).getTime()?a("el-tag",{attrs:{type:"danger"}},[t._v("未开始")]):t._e(),t._v(" "),1==e.status&&e.startDate<=(new Date).getTime()?a("el-tag",{attrs:{type:"success"}},[t._v("已开始")]):t._e()],1),t._v(" "),a("div",{staticClass:"active-title-date font-14 color-909399 m-t-7"},[t._v(t._s(t._f("formatTimeYmdHms")(e.startDate))+" - "+t._s(t._f("formatTimeYmdHms")(e.endDate)))])]),t._v(" "),a("div",{staticClass:"active-title-right"},[a("el-button",{attrs:{type:"primary",plain:""},on:{click:function(a){return a.stopPropagation(),t.toEdit(i,e)}}},[t._v("活动配置")]),t._v(" "),a("el-button",{staticClass:"copy-tag",attrs:{"data-clipboard-action":"copy","data-clipboard-text":e.activityUrl,type:"primary",plain:""},on:{click:function(a){return t.handleCopy(i,e)}}},[t._v("复制路径")]),t._v(" "),a("el-button",{attrs:{type:"primary",plain:""},on:{click:function(a){return a.stopPropagation(),t.toDataList(i,e)}}},[t._v("数据明细")]),t._v(" "),2==e.status?a("el-button",{attrs:{type:"danger",plain:""},on:{click:function(a){return a.stopPropagation(),t.toDelList(i,e)}}},[t._v("删除")]):t._e()],1)]),t._v(" "),e.startDate<=(new Date).getTime()?a("div",{staticClass:"in-progress-active-body"},[a("out-date-active",{attrs:{barChartData:t.barChartData,funnelData:t.funnelData,activityId:e.activityId}})],1):t._e()])]})],2)])]):t._e()},staticRenderFns:[]};var j={name:"finished-active",components:{outDateActive:A},data:function(){return{funnelData:[],barChartData:{columns:["日期","访问用户","下单用户"],rows:[{"日期":"1/1","访问用户":1393,"下单用户":1093},{"日期":"1/2","访问用户":3530,"下单用户":3230},{"日期":"1/3","访问用户":2923,"下单用户":2623},{"日期":"1/4","访问用户":1723,"下单用户":1423},{"日期":"1/5","访问用户":3192,"下单用户":3192},{"日期":"1/6","访问用户":3593,"下单用户":3293}]},selectItem:"",finishedData:[],pageSize:20,currentPage:1,total:1}},methods:{selectLi:function(t){this.selectItem=t.activityId,this.getActivityData(t.activityId)},getActivityData:function(t){var e=this,a={activityId:t};Object(r.a)("/sharing-core-web/get-activity-data-summary",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.funnelData=a.result,a.result.trend&&a.result.trend.length&&a.result.trend.forEach(function(t){t["日期"]=t.date.split("-")[2],t["新增参与人数"]=t.inviteCount,t["新增受邀人数"]=t.invitedCount}),e.barChartData={columns:["日期","新增参与人数","新增受邀人数"],rows:a.result.trend||[]},!1;s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/createActive?activityId="+e.activityId+"&editFlag=show")},toDataList:function(t,e){this.$router.push("/dataDetail?activityId="+e.activityId)},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(){var t=this,e={pageNum:t.currentPage,pageSize:t.pageSize,type:3};Object(r.a)("/sharing-core-web/page-activity",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.finishedData=a.result.result||[],t.total=a.result.totalCount,!1;s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.getTableList()}},P={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.finishedData.length?a("div",{staticClass:"separator-space"},[t._v("- 以下为已结束活动 -")]):t._e(),t._v(" "),a("div",{staticClass:"finished-active border-box"},[a("ul",[t._l(t.finishedData,function(e,i){return[a("li",{key:i+"data",class:["border-box",t.selectItem==e.activityId&&0!=i?"li-border":""]},[a("div",{staticClass:"finished-active-title flex flex-space-between border-box",on:{click:function(a){return a.stopPropagation(),t.selectLi(e)}}},[a("div",{staticClass:"active-title-left"},[a("div",{staticClass:"active-title-name font-18 color-303133 font-w-700"},[t._v(t._s(e.activityName))]),t._v(" "),a("div",{staticClass:"active-title-date font-14 color-909399 m-t-7"},[t._v(t._s(t._f("formatTimeYmdHms")(e.startDate))+" - "+t._s(t._f("formatTimeYmdHms")(e.endDate)))])]),t._v(" "),a("div",{staticClass:"active-title-right"},[a("el-button",{attrs:{type:"primary",plain:""},on:{click:function(a){return a.stopPropagation(),t.toEdit(i,e)}}},[t._v("活动配置")]),t._v(" "),a("el-button",{attrs:{type:"primary",plain:""},on:{click:function(a){return a.stopPropagation(),t.toDataList(i,e)}}},[t._v("数据明细")])],1)]),t._v(" "),t.selectItem==e.activityId?a("div",{staticClass:"finished-active-body"},[a("out-date-active",{attrs:{barChartData:t.barChartData,funnelData:t.funnelData,activityId:e.activityId}})],1):t._e()])]})],2),t._v(" "),t.finishedData.length?a("div",{staticClass:"pagination text-right m-t-14"},[a("dm-pagination",{attrs:{small:"","page-size":t.pageSize,"current-page":t.currentPage,layout:"prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()])])},staticRenderFns:[]};var M={name:"share-index",components:{activeSelect:h,inProgressActive:a("VU/8")(N,O,!1,function(t){a("PRBB")},"data-v-52a1610d",null).exports,finishedActive:a("VU/8")(j,P,!1,function(t){a("X1Ja")},"data-v-40222e8a",null).exports},data:function(){return{canCreate:!0}},methods:{judgeCreate:function(){var t=this;Object(r.a)("/sharing-core-web/can-create",{}).then(function(e){var a=e.data;if(1==a.errorCode)return t.canCreate=a.result,!1;s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},judgePay:function(){var t=this;Object(r.a)("/sharing-core-web/get-open-enterprise",{}).then(function(e){var a=e.data;if(1==a.errorCode)return!a.result&&(t.$router.push("/leaflets"),!1);s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},beforeMount:function(){this.judgePay()},mounted:function(){this.judgeCreate()}},V={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"share-index common-wrap"},[e("div",{staticClass:"right-content border-box"},[this.canCreate?e("div",[e("div",{staticClass:"separator-space no-active"},[this._v("\n - 当前无进行中的活动,请创建活动,别让业绩白白流失!-\n ")]),this._v(" "),e("active-select")],1):this._e(),this._v(" "),e("div",[e("in-progress-active"),this._v(" "),e("finished-active")],1)]),this._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var L=a("VU/8")(M,V,!1,function(t){a("31Qx")},"data-v-4f88e5f9",null);e.default=L.exports},gjBT:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAABKJJREFUSA2VVl1oHFUU/s7sbNImltJoNbtN6l8wFiHG30JiamvFB61gaEK1INYHKRg3kSoI1Yeg9K3VxG0qEZT2SVBbXyoK9ScJSkogKdZCqhGlJrvZJk3qT2iT7O69fnfobCazsxt7YZjz8517zj3nnjMj+B+r6l1docK4GQoVfMqUhRK+xdJII4QrKovLsDE1GcMlEdHFtpRiyuq4jqYzuEtrrCmGc3UhC/NKY2zyVVwo5Ligww3v6fqMRrW72fW8QwpjydflfJBNnsNIXD9YegPO2f9Cz2VwL/NzS5BhMRkdDlphrMtYqEnF5Csv1vIyVYf1Ztamf+FvjFyxcE9qnwxZJTgrIWS9uGK0ZWEx8RpmshqtksXxaLd+xIvPObw1rm/PZnCS9SrjqTbxIpyOdOn9e9swfqONAcvGX17DQjQdppz6CVq4z2oFnDR7u/icw0WFwwTc5CqgESZ/oLcbA3MK6/fO4sdQGGM5fQGiRCG18Yi+g4Hf50A01i4oxF2443BDl95BwJOu0Pum08aFLH76sAJ7kjE5HwYdC656MS4tgswLHZjOpNHiypy3xlORbt1saMchj/3OMkA+s0YpfMQUf6HKYUXK0B+yMeGHsWZTnSKKwbf6dczYfiOT6BFdqxYReIX9RjzBNGv0bCIm3xmd6dOMQh3rzYMDJWEMM5CS+QX8YXj/oq7WUhns8iuCeDo7VWqjznVmMOMxSYayPG0IM9SrO2cwRWc7g+yNTGex2xaFBtap8BKkLcGbiRgOBk2PiX1yVWs9WHkQ6/s6JVPZrVuYvsBF8UM2hNOkAIBRm1v5XLJdhqU9cA9HeC2QqWiPrmbGNhdC0s1Gzl9UBQF4qmMVNu4vF5wL0gfJmLKdDD5venmwGy3OdqfgOaHgH16M3ZFVeGkmjbfmND7I6VYilK8dfHjjy7TFbE4uOF1qoT4EDCXm8QPlbzDcZx7o1cuDyhksEebGakHDkiSQmrUI+pUqxXoduLsOTYsaDWmFM0zNw8aEPbUuOY/tgeYeYVatmE4YXzaLeMIK4e3yMgz/chYf08Hznn0cknU2jfy1X+7lidnGbFzyyvw0HfY5BTafJBb8EwJq/CDD8/QztXWo7NsmmSD99ciEPSSRbvxOo9uKGbLYTyQ68E30fRxilKuKYQvoRpMdErdND0W79CHO09xEDzJgOlqIPcXGrmHanw7CFJMxSGegO8M7shq9TNtwMQPqmls/1bzAOL4CLl8t+D7ZgRNG4dTQEJEevUlnMMjbudbwQYszczufM4tpXCRuxVYxe9DBrIRRn2yTccM7JzTEZJuM8rY+Zi6I4YOWZmP/+bJcZgM7X4sgzDKZIMUAt7rOjC7n0DDJV2TEBrYyrIuG9y/WublTa4tBfe7X+XliLtg2miZi8rNXl0upV1jVo2uyaRxlbzV65YYWG4/ypKNM6SQfU9P8JfiWfwV7Eu2S95FedkLXcqJNfmORm/hj+yIjXfZxZr+2pNplmtgBF+++Gf0IHe1KdcjjQc4MjhkMXtc+OUfZp8cicWzhRNrBv+pGbrrF6d04PqNlLfkx1rSfA//LiXYZCt5tSfofVt6aUjcV2t0AAAAASUVORK5CYII="},kwxT:function(t,e){},mvHQ:function(t,e,a){t.exports={default:a("qkKv"),__esModule:!0}},oj03:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAdCAYAAAC5UQwxAAAAAXNSR0IArs4c6QAABCxJREFUSA2tVl1oXEUU/mbu3d3au5uEVsyum6AkVWmLohSqqK2IL/7jg+2T+CI0VEmCpRSLfciLIIhFt5aY1/gg6Js+2BdFxL+gtrSk2J9IQ5LdVK3d/iT7k9x7j2e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/g2rkg+6dvjBjvEtK9kPSrIiWI1aeO85OiJ1KwOxVSUaF/pHtQCH+o52DbmNtj4fu51UbaFjbe40HzFwusDUictO65xGjug5mbuBSXO4HjyKpa2DWBJ5dJiw6l++LmjtJkr4Nss+hLjLbmzwWvb6NwKfMEl/535UTHdltgY0IIBSWWcYhUPMngfO7qT86nDFdPhhehFMLbMWIXPbpmxkiVwtjeFE78NidXAx43afwGGeG0DzVSPiwAAAABJRU5ErkJggg=="},qkKv:function(t,e,a){var i=a("FeBl"),n=i.JSON||(i.JSON={stringify:JSON.stringify});t.exports=function(t){return n.stringify.apply(n,arguments)}},rYNx:function(t,e){},ruOa:function(t,e){},ta5X:function(t,e){}});
\ No newline at end of file
webpackJsonp([6],{"4/gI":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABZCAYAAADIBoEnAAAAAXNSR0IArs4c6QAAGGhJREFUeAHtXQmUHVWZvktVvaW7091ZCBoJS8CETVEibggdSJAAcUhItwiKMM7AcRmPnAFnHD2aUYczMzh61HFmyBnEJSrpEKMIRAIhkTCIAziO7KtAGEJI0km6+21Vde+d76/uqn7vdb3OWzsdtPpU161bd/nv/ere+291H2dT4OjtN6lBVpjjWqJN+q7WUg7q6cn/27qI+1OAvEklgU9qbTGV9fSbdiGzbzaKldAihPHUjLbH/9hAETF9NKlRXLhHloNBBGjNbTGQnzOpxEyByg4qIL39jzlM+8lK/WBx0VHp2es1/qACwtgJcqKONb5nTfT89fgstsE9W4zF9u1rT3lddi41ZKbpjsLPP8CGOeemmZ3Q38vyS9YzrTSLfTG0ZWWbWd+hUFbJQtpzk0mK1P45Rthd5cRbDDN9gr/WVUjvXNfHVfnzeu/P6x8+PMd47FrRkUg/feuf8aF6yz4U80WAnP+jfd2FhH1Upbc1apzQ+WS6/dmN5/FCFNdAwBjDz16Xe6Nh5vCwGIvZSlv57ZtXTNsTxv2xXANAlq7ZMy3vJI+rttG2ZRXcbufJZrKkVz5k7Ne2s7Z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pBozBy+MLVD1tO96kWUJQpdwC/QTWd5739wkp3Yk2GqO3CeuQwfPf8sjp575v8G65kcM2dWgCUN/GgA0Idu2R99pTwd9zTnvf87Zd21e3XVN7AQ+0+jgWc1DbQG4sh8RJkjf3J9vQzf8xgUMf/P4p4wHdAGknpAAAAAElFTkSuQmCC"},"4oZn":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("3Xzz"),o=n("TQvf"),i=n.n(o),a=n("3E4D"),c={name:"createCompletion",components:{navCrumb:r.a},data:function(){return{navpath:[{name:"分享有礼",path:"/shareIndex"},{name:"新建活动"}],activityUrl:""}},methods:{copyPath:function(){var t=this,e=new i.a(".copy-tag",{text:function(){return""+t.activityUrl||"您复制的数据是空的!"}});e.on("success",function(t){a.a.showmsg("复制成功!","success"),e.destroy()}),e.on("error",function(t){a.a.showmsg("该浏览器不支持复制!","warning"),e.destroy()})},toActiveList:function(){this.$router.push("/shareIndex")}},mounted:function(){this.activityUrl=this.$route.query.url}},u={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"create-completion common-wrap"},[n("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),n("div",{staticClass:"right-content border-box"},[n("div",{staticClass:"right-box border-box"},[t._m(0),t._v(" "),n("div",{staticClass:"create-completion-text font-16 color-606266 text-center"},[t._v("活动创建成功!")]),t._v(" "),n("div",{staticClass:"create-completion-btn text-center"},[n("el-button",{staticClass:"copy-tag",on:{click:t.copyPath}},[t._v("复制活动路径")]),t._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:t.toActiveList}},[t._v("返回活动列表")])],1)])]),t._v(" "),n("vue-gic-footer")],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"create-completion-icon text-center"},[e("img",{attrs:{src:n("4/gI"),alt:""}})])}]};var s=n("VU/8")(c,u,!1,function(t){n("JxCo")},"data-v-f9e52114",null);e.default=s.exports},JxCo:function(t,e){},TQvf:function(t,e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752a2X8h9HezLJeXEQbqn+fmX8JldV3DNvQ6T0yzHT+WU2FOLxE8CXyBjjLK1QogugLAY7HgvfqfjuKhew+93DfaBLzoktzVcSoY6cgO774B9oxGVelGxBwweNEBCys7qz52FnY++CmDeHcaVXDkbhKXw14jbBnvQQ8phz5ZPayXpi24c5RztW/7xguvTsGa9B5rZ47E+xK2bG1zNvhJmFVJmsTnI3jn+S/vW9Z04qSqfgw5I2Ak96/OL8enUF8CJnRnGxV6Db/bMK1j+/gCABvEZ8iC2uMjg90VgVTVp7PjWhkbhx1wYjYDu2DKiSNrunN3m++CgLCsHITBHfsDT29P7br2A5SZrVETkIDBlACGi6KcpvMzcc33tL8f6cj6oi3cVLW5BHWEA9xTkyluwYN8BVhjaaZVL6c5hbHY+dLCACJsxZQChLWT3ssx8bHsUWOhgL8c+gaYbI+YMeNovxrtz6hg7GpJf5RUbxGA0PYgRcD8zclve916Ulioo2ynYeTfT0d2ZvWMpq8v1s0oKqk42JQAJfqvkpeH5sLgliHLs9mkSqTT9InVkW8GmBEk26J0EQfBkCJknYB/dOUZzcE+qA19PtWHa8rHhcQYNIo/BDKx9r8B351mwq8/mtPuiMDZ+a8z4sJHj94891890F7ZczvC7JbV9tlx1z9aZcEoAsqiftu6WgZqCwBAq/VzgqjpBozBy+MLVD1tO96kWUJQpdwC/QTWd5739wkp3Yk2GqO3CeuQwfPf8sjp575v8G65kcM2dWgCUN/GgA0Idu2R99pTwd9zTnvf87Zd21e3XVN7AQ+0+jgWc1DbQG4sh8RJkjf3J9vQzf8xgUMf/P4p4wHdAGknpAAAAAElFTkSuQmCC"},"4oZn":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("3Xzz"),o=n("TQvf"),i=n.n(o),c=n("3E4D"),a={name:"createCompletion",components:{navCrumb:r.a},data:function(){return{navpath:[{name:"分享有礼",path:"/shareIndex"},{name:"新建活动"}],activityUrl:""}},methods:{copyPath:function(){var t=this,e=new i.a(".copy-tag",{text:function(){return""+t.activityUrl||"您复制的数据是空的!"}});e.on("success",function(t){c.a.showmsg("复制成功!","success"),e.destroy()}),e.on("error",function(t){c.a.showmsg("该浏览器不支持复制!","warning"),e.destroy()})},toActiveList:function(){this.$router.push("/shareIndex")}},mounted:function(){this.activityUrl=this.$route.query.url}},u={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"create-completion common-wrap"},[n("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),n("div",{staticClass:"right-content border-box"},[n("div",{staticClass:"right-box border-box"},[t._m(0),t._v(" "),n("div",{staticClass:"create-completion-text font-16 color-606266 text-center"},[t._v("活动创建成功!")]),t._v(" "),n("div",{staticClass:"create-completion-btn text-center"},[n("el-button",{staticClass:"copy-tag",on:{click:t.copyPath}},[t._v("复制活动路径")]),t._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:t.toActiveList}},[t._v("返回活动列表")])],1)])]),t._v(" "),n("vue-gic-footer")],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"create-completion-icon text-center"},[e("img",{attrs:{src:n("4/gI"),alt:""}})])}]};var s=n("VU/8")(a,u,!1,function(t){n("JxCo")},"data-v-f9e52114",null);e.default=s.exports},JxCo:function(t,e){},TQvf:function(t,e,n){
/*! /*!
* clipboard.js v2.0.4 * clipboard.js v2.0.8
* https://zenorocha.github.io/clipboard.js * https://clipboardjs.com/
* *
* Licensed MIT © Zeno Rocha * Licensed MIT © Zeno Rocha
*/ */
var r;r=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=u(n(1)),a=u(n(3)),c=u(n(4));function u(t){return t&&t.__esModule?t:{default:t}}var s=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return r.resolveOptions(n),r.listenClick(t),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,a.default),o(e,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===r(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=(0,c.default)(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new i.default({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return l("action",t)}},{key:"defaultTarget",value:function(t){var e=l("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return l("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach(function(t){n=n&&!!document.queryCommandSupported(t)}),n}}]),e}();function l(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}t.exports=s},function(t,e,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(2),c=(r=a)&&r.__esModule?r:{default:r};var u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.resolveOptions(e),this.initSelection()}return i(t,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,e="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,c.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,c.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==(void 0===t?"undefined":o(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}();t.exports=u},function(t,e){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(t),r.removeAllRanges(),r.addRange(o),e=r.toString()}return e}},function(t,e){function n(){}n.prototype={on:function(t,e,n){var r=this.e||(this.e={});return(r[t]||(r[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var r=this;function o(){r.off(t,o),e.apply(n,arguments)}return o._=e,this.on(t,o,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),r=n[t],o=[];if(r&&e)for(var i=0,a=r.length;i<a;i++)r[i].fn!==e&&r[i].fn._!==e&&o.push(r[i]);return o.length?n[t]=o:delete n[t],this}},t.exports=n},function(t,e,n){var r=n(5),o=n(6);t.exports=function(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!r.string(e))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(t))return function(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}(t,e,n);if(r.nodeList(t))return function(t,e,n){return Array.prototype.forEach.call(t,function(t){t.addEventListener(e,n)}),{destroy:function(){Array.prototype.forEach.call(t,function(t){t.removeEventListener(e,n)})}}}(t,e,n);if(r.string(t))return function(t,e,n){return o(document.body,t,e,n)}(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},function(t,e,n){var r=n(7);function o(t,e,n,o,i){var a=function(t,e,n,o){return function(n){n.delegateTarget=r(n.target,e),n.delegateTarget&&o.call(t,n)}}.apply(this,arguments);return t.addEventListener(n,a,i),{destroy:function(){t.removeEventListener(n,a,i)}}}t.exports=function(t,e,n,r,i){return"function"==typeof t.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return o(t,e,n,r,i)}))}},function(t,e){var n=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}t.exports=function(t,e){for(;t&&t.nodeType!==n;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}}])},t.exports=r()}}); var r;r=function(){return function(){var t={134:function(t,e,n){"use strict";n.d(e,{default:function(){return g}});var r=n(279),o=n.n(r),i=n(370),c=n.n(i),a=n(817),u=n.n(a);function s(t){"@babel/helpers - typeof";return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var f=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.resolveOptions(e),this.initSelection()}var e,n,r;return e=t,(n=[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"createFakeElement",value:function(){var t="rtl"===document.documentElement.getAttribute("dir");this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var e=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(e,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var t=this,e=this.createFakeElement();this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(e),this.selectedText=u()(e),this.copyText(),this.removeFake()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=u()(this.target),this.copyText()}},{key:"copyText",value:function(){var t;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==s(t)||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}])&&l(e.prototype,n),r&&l(e,r),t}();function h(t){"@babel/helpers - typeof";return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function v(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===h(e)||"function"==typeof e))return e;return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,n)}}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function m(t,e){var n="data-clipboard-".concat(t);if(e.hasAttribute(n))return e.getAttribute(n)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(a,o());var e,n,r,i=v(a);function a(t,e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(n=i.call(this)).resolveOptions(e),n.listenClick(t),n}return e=a,r=[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach(function(t){n=n&&!!document.queryCommandSupported(t)}),n}}],(n=[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===h(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=c()(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new f({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return m("action",t)}},{key:"defaultTarget",value:function(t){var e=m("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return m("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}])&&d(e.prototype,n),r&&d(e,r),a}()},828:function(t){var e=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}t.exports=function(t,n){for(;t&&t.nodeType!==e;){if("function"==typeof t.matches&&t.matches(n))return t;t=t.parentNode}}},438:function(t,e,n){var r=n(828);function o(t,e,n,o,i){var c=function(t,e,n,o){return function(n){n.delegateTarget=r(n.target,e),n.delegateTarget&&o.call(t,n)}}.apply(this,arguments);return t.addEventListener(n,c,i),{destroy:function(){t.removeEventListener(n,c,i)}}}t.exports=function(t,e,n,r,i){return"function"==typeof t.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return o(t,e,n,r,i)}))}},879:function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},370:function(t,e,n){var r=n(879),o=n(438);t.exports=function(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!r.string(e))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(t))return function(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}(t,e,n);if(r.nodeList(t))return function(t,e,n){return Array.prototype.forEach.call(t,function(t){t.addEventListener(e,n)}),{destroy:function(){Array.prototype.forEach.call(t,function(t){t.removeEventListener(e,n)})}}}(t,e,n);if(r.string(t))return function(t,e,n){return o(document.body,t,e,n)}(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(t){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(t),r.removeAllRanges(),r.addRange(o),e=r.toString()}return e}},279:function(t){function e(){}e.prototype={on:function(t,e,n){var r=this.e||(this.e={});return(r[t]||(r[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var r=this;function o(){r.off(t,o),e.apply(n,arguments)}return o._=e,this.on(t,o,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),r=n[t],o=[];if(r&&e)for(var i=0,c=r.length;i<c;i++)r[i].fn!==e&&r[i].fn._!==e&&o.push(r[i]);return o.length?n[t]=o:delete n[t],this}},t.exports=e,t.exports.TinyEmitter=e}},e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}return n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n(134)}().default},t.exports=r()}});
\ No newline at end of file \ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,o,a){for(var f,d,i,u=0,s=[];u<r.length;u++)d=r[u],t[d]&&s.push(t[d][0]),t[d]=0;for(f in o)Object.prototype.hasOwnProperty.call(o,f)&&(e[f]=o[f]);for(n&&n(r,o,a);s.length;)s.shift()();if(a)for(u=0;u<a.length;u++)i=c(c.s=a[u]);return i};var r={},t={16:0};function c(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,c){n=t[e]=[r,c]});n[2]=r;var o=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,c.nc&&a.setAttribute("nonce",c.nc),a.src=c.p+"static/js/"+e+"."+{0:"fc08294428601171995f",1:"0b4debf702276a81a576",2:"c7a50660ca0ee073f4cf",3:"c019d8cafd3a06152654",4:"ae830ced22d08598daf5",5:"8150fcbeaf473a1ddc0e",6:"166b5a2cade062094c6c",7:"77854ed7bad11f815191",8:"99e63d6938e3e2cc698c",9:"2f6f9c5ddfdec55bd7ad",10:"b13e3a0e48cb424eddfe",11:"9529a2b8d9ed57634743",12:"35c46a8717276a0cefcc",13:"a792ce23fe879d2e71eb"}[e]+".js";var f=setTimeout(d,12e4);function d(){a.onerror=a.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=d,o.appendChild(a),r},c.m=e,c.c=r,c.d=function(e,n,r){c.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},c.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="./",c.oe=function(e){throw console.error(e),e}}([]); !function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,o,a){for(var f,d,i,u=0,s=[];u<r.length;u++)d=r[u],t[d]&&s.push(t[d][0]),t[d]=0;for(f in o)Object.prototype.hasOwnProperty.call(o,f)&&(e[f]=o[f]);for(n&&n(r,o,a);s.length;)s.shift()();if(a)for(u=0;u<a.length;u++)i=c(c.s=a[u]);return i};var r={},t={16:0};function c(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,c){n=t[e]=[r,c]});n[2]=r;var o=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,c.nc&&a.setAttribute("nonce",c.nc),a.src=c.p+"static/js/"+e+"."+{0:"ffcbd78fbb96c9c02ffb",1:"0b4debf702276a81a576",2:"9b6e840e04cc7565c9c8",3:"57b041f7475f66c0e126",4:"ae830ced22d08598daf5",5:"8150fcbeaf473a1ddc0e",6:"1a92685ac62fcb2499a6",7:"77854ed7bad11f815191",8:"99e63d6938e3e2cc698c",9:"2f6f9c5ddfdec55bd7ad",10:"b13e3a0e48cb424eddfe",11:"9529a2b8d9ed57634743",12:"35c46a8717276a0cefcc",13:"a792ce23fe879d2e71eb"}[e]+".js";var f=setTimeout(d,12e4);function d(){a.onerror=a.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=d,o.appendChild(a),r},c.m=e,c.c=r,c.d=function(e,n,r){c.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},c.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="./",c.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
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