Commit a6e2d9b1 by 无尘

feat: 新增项目

parent b90d7960
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.01267ef42cb407f900e51b85ab6c8035.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><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/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.075292c0fc96f57d5423.js></script><script type=text/javascript src=./static/js/vendor.c9b2df17ceb0429de99c.js></script><script type=text/javascript src=./static/js/app.3b7a0f97a46338a97901.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.5ace745110c6991f58bbb9cd71dd0867.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><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/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.4b78fa88a38cc0acf96b.js></script><script type=text/javascript src=./static/js/vendor.974b345fdbbde7ef3fff.js></script><script type=text/javascript src=./static/js/app.804ffa2a7250ff0077fc.js></script></body></html>
\ 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],{"//Fk":function(e,t,r){e.exports={default:r("U5ju"),__esModule:!0}},"2KxR":function(e,t){e.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},"3E4D":function(e,t,r){"use strict";var n=r("zL8q");r.n(n);t.a={showmsg:function(e,t){Object(n.Message)({duration:2e3,message:e||"接口异常",type:t})}}},"3fs2":function(e,t,r){var n=r("RY/4"),o=r("dSzd")("iterator"),i=r("/bQp");e.exports=r("FeBl").getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[n(e)]}},"82Mu":function(e,t,r){var n=r("7KvD"),o=r("L42u").set,i=n.MutationObserver||n.WebKitMutationObserver,a=n.process,c=n.Promise,s="process"==r("R9M2")(a);e.exports=function(){var e,t,r,u=function(){var n,o;for(s&&(n=a.domain)&&n.exit();e;){o=e.fn,e=e.next;try{o()}catch(n){throw e?r():t=void 0,n}}t=void 0,n&&n.enter()};if(s)r=function(){a.nextTick(u)};else if(!i||n.navigator&&n.navigator.standalone)if(c&&c.resolve){var f=c.resolve(void 0);r=function(){f.then(u)}}else r=function(){o.call(n,u)};else{var l=!0,p=document.createTextNode("");new i(u).observe(p,{characterData:!0}),r=function(){p.data=l=!l}}return function(n){var o={fn:n,next:void 0};t&&(t.next=o),e||(e=o,r()),t=o}}},CXw9:function(e,t,r){"use strict";var n,o,i,a,c=r("O4g8"),s=r("7KvD"),u=r("+ZMJ"),f=r("RY/4"),l=r("kM2E"),p=r("EqjI"),d=r("lOnJ"),v=r("2KxR"),h=r("NWt+"),y=r("t8x9"),m=r("L42u").set,g=r("82Mu")(),b=r("qARP"),x=r("dNDb"),w=r("iUbK"),j=r("fJUb"),O=s.TypeError,P=s.process,_=P&&P.versions,C=_&&_.v8||"",A=s.Promise,R="process"==f(P),D=function(){},M=o=b.f,k=!!function(){try{var e=A.resolve(1),t=(e.constructor={})[r("dSzd")("species")]=function(e){e(D,D)};return(R||"function"==typeof PromiseRejectionEvent)&&e.then(D)instanceof t&&0!==C.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(e){}}(),N=function(e){var t;return!(!p(e)||"function"!=typeof(t=e.then))&&t},E=function(e,t){if(!e._n){e._n=!0;var r=e._c;g(function(){for(var n=e._v,o=1==e._s,i=0,a=function(t){var r,i,a,c=o?t.ok:t.fail,s=t.resolve,u=t.reject,f=t.domain;try{c?(o||(2==e._h&&F(e),e._h=1),!0===c?r=n:(f&&f.enter(),r=c(n),f&&(f.exit(),a=!0)),r===t.promise?u(O("Promise-chain cycle")):(i=N(r))?i.call(r,s,u):s(r)):u(n)}catch(e){f&&!a&&f.exit(),u(e)}};r.length>i;)a(r[i++]);e._c=[],e._n=!1,t&&!e._h&&S(e)})}},S=function(e){m.call(s,function(){var t,r,n,o=e._v,i=L(e);if(i&&(t=x(function(){R?P.emit("unhandledRejection",o,e):(r=s.onunhandledrejection)?r({promise:e,reason:o}):(n=s.console)&&n.error&&n.error("Unhandled promise rejection",o)}),e._h=R||L(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},L=function(e){return 1!==e._h&&0===(e._a||e._c).length},F=function(e){m.call(s,function(){var t;R?P.emit("rejectionHandled",e):(t=s.onrejectionhandled)&&t({promise:e,reason:e._v})})},T=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),E(t,!0))},q=function(e){var t,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw O("Promise can't be resolved itself");(t=N(e))?g(function(){var n={_w:r,_d:!1};try{t.call(e,u(q,n,1),u(T,n,1))}catch(e){T.call(n,e)}}):(r._v=e,r._s=1,E(r,!1))}catch(e){T.call({_w:r,_d:!1},e)}}};k||(A=function(e){v(this,A,"Promise","_h"),d(e),n.call(this);try{e(u(q,this,1),u(T,this,1))}catch(e){T.call(this,e)}},(n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r("xH/j")(A.prototype,{then:function(e,t){var r=M(y(this,A));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=R?P.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&E(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n;this.promise=e,this.resolve=u(q,e,1),this.reject=u(T,e,1)},b.f=M=function(e){return e===A||e===a?new i(e):o(e)}),l(l.G+l.W+l.F*!k,{Promise:A}),r("e6n0")(A,"Promise"),r("bRrM")("Promise"),a=r("FeBl").Promise,l(l.S+l.F*!k,"Promise",{reject:function(e){var t=M(this);return(0,t.reject)(e),t.promise}}),l(l.S+l.F*(c||!k),"Promise",{resolve:function(e){return j(c&&this===a?A:this,e)}}),l(l.S+l.F*!(k&&r("dY0y")(function(e){A.all(e).catch(D)})),"Promise",{all:function(e){var t=this,r=M(t),n=r.resolve,o=r.reject,i=x(function(){var r=[],i=0,a=1;h(e,!1,function(e){var c=i++,s=!1;r.push(void 0),a++,t.resolve(e).then(function(e){s||(s=!0,r[c]=e,--a||n(r))},o)}),--a||n(r)});return i.e&&o(i.v),r.promise},race:function(e){var t=this,r=M(t),n=r.reject,o=x(function(){h(e,!1,function(e){t.resolve(e).then(r.resolve,n)})});return o.e&&n(o.v),r.promise}})},"Ch4/":function(e,t,r){"use strict";var n=r("zL8q");r.n(n);t.a={errorMsg:function(e){1!=e.errorCode&&n.Message.error({duration:2e3,message:e.message||"接口异常"})}}},CwSZ:function(e,t,r){"use strict";var n=r("p8xL"),o=r("XgCd"),i={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},a=Date.prototype.toISOString,c={delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,serializeDate:function(e){return a.call(e)},skipNulls:!1,strictNullHandling:!1},s=function e(t,r,o,i,a,s,u,f,l,p,d,v){var h=t;if("function"==typeof u)h=u(r,h);else if(h instanceof Date)h=p(h);else if(null===h){if(i)return s&&!v?s(r,c.encoder):r;h=""}if("string"==typeof h||"number"==typeof h||"boolean"==typeof h||n.isBuffer(h))return s?[d(v?r:s(r,c.encoder))+"="+d(s(h,c.encoder))]:[d(r)+"="+d(String(h))];var y,m=[];if(void 0===h)return m;if(Array.isArray(u))y=u;else{var g=Object.keys(h);y=f?g.sort(f):g}for(var b=0;b<y.length;++b){var x=y[b];a&&null===h[x]||(m=Array.isArray(h)?m.concat(e(h[x],o(r,x),o,i,a,s,u,f,l,p,d,v)):m.concat(e(h[x],r+(l?"."+x:"["+x+"]"),o,i,a,s,u,f,l,p,d,v)))}return m};e.exports=function(e,t){var r=e,a=t?n.assign({},t):{};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,f="boolean"==typeof a.strictNullHandling?a.strictNullHandling:c.strictNullHandling,l="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,v="function"==typeof a.sort?a.sort:null,h=void 0!==a.allowDots&&a.allowDots,y="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,b,x=o.formatters[a.format];"function"==typeof a.filter?r=(b=a.filter)("",r):Array.isArray(a.filter)&&(g=b=a.filter);var w,j=[];if("object"!=typeof r||null===r)return"";w=a.arrayFormat in i?a.arrayFormat:"indices"in a?a.indices?"indices":"repeat":"indices";var O=i[w];g||(g=Object.keys(r)),v&&g.sort(v);for(var P=0;P<g.length;++P){var _=g[P];l&&null===r[_]||(j=j.concat(s(r[_],_,O,f,l,p?d:null,b,v,h,y,x,m)))}var C=j.join(u),A=!0===a.addQueryPrefix?"?":"";return C.length>0?A+C:""}},DDCP:function(e,t,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(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)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,t,r)}};e.exports=function(e,t){var r=t?n.assign({},t):{};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,""===e||null===e||void 0===e)return r.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){for(var r={},n=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=t.parameterLimit===1/0?void 0:t.parameterLimit,c=n.split(t.delimiter,a),s=0;s<c.length;++s){var u,f,l=c[s],p=l.indexOf("]="),d=-1===p?l.indexOf("="):p+1;-1===d?(u=t.decoder(l,i.decoder),f=t.strictNullHandling?null:""):(u=t.decoder(l.slice(0,d),i.decoder),f=t.decoder(l.slice(d+1),i.decoder)),o.call(r,u)?r[u]=[].concat(r[u]).concat(f):r[u]=f}return r}(e,r):e,s=r.plainObjects?Object.create(null):{},u=Object.keys(c),f=0;f<u.length;++f){var l=u[f],p=a(l,c[l],r);s=n.merge(s,p,r)}return n.compact(s)}},EqBC:function(e,t,r){"use strict";var n=r("kM2E"),o=r("FeBl"),i=r("7KvD"),a=r("t8x9"),c=r("fJUb");n(n.P+n.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),r="function"==typeof e;return this.then(r?function(r){return c(t,e()).then(function(){return r})}:e,r?function(r){return c(t,e()).then(function(){throw r})}:e)}})},L42u:function(e,t,r){var n,o,i,a=r("+ZMJ"),c=r("knuC"),s=r("RPLV"),u=r("ON07"),f=r("7KvD"),l=f.process,p=f.setImmediate,d=f.clearImmediate,v=f.MessageChannel,h=f.Dispatch,y=0,m={},g=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},b=function(e){g.call(e.data)};p&&d||(p=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return m[++y]=function(){c("function"==typeof e?e:Function(e),t)},n(y),y},d=function(e){delete m[e]},"process"==r("R9M2")(l)?n=function(e){l.nextTick(a(g,e,1))}:h&&h.now?n=function(e){h.now(a(g,e,1))}:v?(i=(o=new v).port2,o.port1.onmessage=b,n=a(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(e){f.postMessage(e+"","*")},f.addEventListener("message",b,!1)):n="onreadystatechange"in u("script")?function(e){s.appendChild(u("script")).onreadystatechange=function(){s.removeChild(this),g.call(e)}}:function(e){setTimeout(a(g,e,1),0)}),e.exports={set:p,clear:d}},Mhyx:function(e,t,r){var n=r("/bQp"),o=r("dSzd")("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||i[o]===e)}},"NWt+":function(e,t,r){var n=r("+ZMJ"),o=r("msXi"),i=r("Mhyx"),a=r("77Pl"),c=r("QRG4"),s=r("3fs2"),u={},f={};(t=e.exports=function(e,t,r,l,p){var d,v,h,y,m=p?function(){return e}:s(e),g=n(r,l,t?2:1),b=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(i(m)){for(d=c(e.length);d>b;b++)if((y=t?g(a(v=e[b])[0],v[1]):g(e[b]))===u||y===f)return y}else for(h=m.call(e);!(v=h.next()).done;)if((y=o(h,g,v.value,t))===u||y===f)return y}).BREAK=u,t.RETURN=f},P9l9:function(e,t,r){"use strict";r.d(t,"a",function(){return h}),r.d(t,"b",function(){return y});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=5e5;var f=window.location.origin,l=[],p=[],d=a.a.axios.CancelToken,v=function(e){for(var t in p)p[t].u===e.url+"&"+e.method&&(p[t].f(),p.splice(t,1))};a.a.axios.interceptors.request.use(function(e){return v(e),e.cancelToken=new d(function(t){p.push({u:e.url+"&"+e.method,f:t})}),e.cancelToken=new a.a.axios.CancelToken(function(e){l.push({cancel:e})}),e},function(e){return u.Message.error({message:"请求超时!"}),o.a.resolve(e)}),a.a.axios.interceptors.response.use(function(e){return v(e.config),e.status&&200==e.status&&1!=e.data.errorCode?(4!=e.data.errorCode||-1==window.location.href.indexOf("gic-error"))&&(10==e.data.errorCode||e.data.errorCode,e):e},function(e){return a.a.axios.isCancel(e),502==e.response.status&&u.Message.error({message:"服务异常⊙﹏⊙∥"}),504==e.response.status||404==e.response.status||403==e.response.status||u.Message.error({message:"登录失效!"}),o.a.resolve(e)});var h=function(e,t){return t.requestProject="haoban-manage-web",a.a.axios({method:"get",url:""+f+e,data:{},params:t,headers:{"Content-type":"application/x-www-form-urlencoded"}})},y=function(e,t){return t.requestProject="haoban-manage-web",a.a.axios({method:"post",url:""+f+e,data:s.a.stringify(t),headers:{"Content-type":"application/x-www-form-urlencoded"}})}},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)}}},"RY/4":function(e,t,r){var n=r("R9M2"),o=r("dSzd")("toStringTag"),i="Arguments"==n(function(){return arguments}());e.exports=function(e){var t,r,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?r:i?n(t):"Object"==(a=n(t))&&"function"==typeof t.callee?"Arguments":a}},U5ju:function(e,t,r){r("M6a0"),r("zQR9"),r("+tPU"),r("CXw9"),r("EqBC"),r("jKW+"),e.exports=r("FeBl").Promise},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"}},bRrM:function(e,t,r){"use strict";var n=r("7KvD"),o=r("FeBl"),i=r("evD5"),a=r("+E39"),c=r("dSzd")("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:n[e];a&&t&&!t[c]&&i.f(t,c,{configurable:!0,get:function(){return this}})}},dNDb:function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},dY0y:function(e,t,r){var n=r("dSzd")("iterator"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var i=[7],a=i[n]();a.next=function(){return{done:r=!0}},i[n]=function(){return a},e(i)}catch(e){}return r}},fJUb:function(e,t,r){var n=r("77Pl"),o=r("EqjI"),i=r("qARP");e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.promise}},iUbK:function(e,t,r){var n=r("7KvD").navigator;e.exports=n&&n.userAgent||""},"jKW+":function(e,t,r){"use strict";var n=r("kM2E"),o=r("qARP"),i=r("dNDb");n(n.S,"Promise",{try:function(e){var t=o.f(this),r=i(e);return(r.e?t.reject:t.resolve)(r.v),t.promise}})},knuC:function(e,t){e.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},msXi:function(e,t,r){var n=r("77Pl");e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){var i=e.return;throw void 0!==i&&n(i.call(e)),t}}},mvHQ:function(e,t,r){e.exports={default:r("qkKv"),__esModule:!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=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),i=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:i,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[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)&&(t.push({obj:i,prop:s}),r.push(u))}return function(e){for(var t;e.length;){var r=e.pop();if(t=r.obj[r.prop],Array.isArray(t)){for(var n=[],o=0;o<t.length;++o)void 0!==t[o]&&n.push(t[o]);r.obj[r.prop]=n}}return t}(t)},decode:function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},encode:function(e){if(0===e.length)return e;for(var t="string"==typeof e?e:String(e),r="",n=0;n<t.length;++n){var i=t.charCodeAt(n);45===i||46===i||95===i||126===i||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?r+=t.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&t.charCodeAt(n)),r+=o[240|i>>18]+o[128|i>>12&63]+o[128|i>>6&63]+o[128|63&i])}return r},isBuffer:function(e){return null!==e&&void 0!==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,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 a=t;return Array.isArray(t)&&!Array.isArray(r)&&(a=i(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(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(t[i],a,o):t[i]=a,t},a)}}},qARP:function(e,t,r){"use strict";var n=r("lOnJ");e.exports.f=function(e){return new function(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)}(e)}},qkKv:function(e,t,r){var n=r("FeBl"),o=n.JSON||(n.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},t8x9:function(e,t,r){var n=r("77Pl"),o=r("lOnJ"),i=r("dSzd")("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||void 0==(r=n(a)[i])?t:o(r)}},"xH/j":function(e,t,r){var n=r("hJx8");e.exports=function(e,t,r){for(var o in t)r&&e[o]?e[o]=t[o]:n(e,o,t[o]);return e}}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([1],{"2X9c":function(M,L,j){M.exports=j.p+"static/img/error_500.ed0cba4.svg"},CkW6:function(M,L){M.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i5Zu+5bGCXzEiIHhtbG5zPSJodHRwOi8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0xLjMNCgljMC0wLjQsMC4xLTAuNywwLjQtMUM5My4xLDI4Mi4zLDkzLjUsMjgyLjIsOTMuOCwyODIuMiIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTE5Ny4xLDI3Mi43aDguMWMwLjcsMCwxLjMsMC42LDEuMywxLjNjMCwwLjctMC42LDEuMy0xLjMsMS4zaC04LjFjLTAuNywwLjEtMS40LTAuNS0xLjQtMS4zDQoJYy0wLjEtMC43LDAuNS0xLjQsMS4zLTEuNEMxOTcsMjcyLjcsMTk3LjEsMjcyLjcsMTk3LjEsMjcyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0yODQuNCwyNjQuNmg4LjFjMC43LDAsMS4zLDAuNiwxLjMsMS4zbDAsMGMwLDAuNy0wLjYsMS4zLTEuMywxLjNoLTguMWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zDQoJQzI4MywyNjUuMywyODMuNiwyNjQuNiwyODQuNCwyNjQuNiIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTk5LjIsMjY0LjZoMTcxLjdjMC40LDAsMC43LDAuMSwwLjksMC40YzAuNCwwLjQsMC41LDEsMC4zLDEuNWMtMC4yLDAuNS0wLjcsMC44LTEuMiwwLjhIOTkuMQ0KCWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zQzk3LjgsMjY1LjMsOTguNCwyNjQuNiw5OS4yLDI2NC42Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjM1LDk1Ljh2OC4xYzAsMC43LTAuNiwxLjMtMS4zLDEuM3MtMS4zLTAuNi0xLjMtMS4zdi04LjFjMC0wLjcsMC42LTEuMywxLjMtMS40QzIzNC40LDk0LjQsMjM1LDk1LDIzNSw5NS44Ig0KCS8+DQo8L3N2Zz4NCg=="},Minx:function(M,L,j){M.exports=j.p+"static/img/error_404.bf58747.svg"},ODjX:function(M,L,j){"use strict";Object.defineProperty(L,"__esModule",{value:!0});var N=j("CkW6"),u=j.n(N),w=j("Minx"),D=j.n(w),C=j("2X9c"),s=j.n(C),y={name:"errpage",data:function(){return{imgSrc:"",message:"",srcList:{403:u.a,404:D.a,500:s.a},msgList:{403:"抱歉,你无权访问该页面",404:"抱歉,你访问的页面不存在",500:"抱歉,服务器出错了"}}},mounted:function(){var M=this.$route.path.split("/")[1];this.imgSrc=this.srcList[M],this.message=this.msgList[M]}},t={render:function(){var M=this.$createElement,L=this._self._c||M;return L("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100vh"}},[L("div",{staticClass:"wscn-http404"},[L("div",{staticClass:"pic-404"},[L("img",{staticClass:"pic-404__parent",attrs:{src:this.imgSrc,alt:"404"}})]),this._v(" "),L("div",{staticClass:"bullshit"},[L("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),L("a",{staticClass:"bullshit__return-home",attrs:{href:"#/index"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var i=j("VU/8")(y,t,!1,function(M){j("wmza")},"data-v-2a29ec0c",null);L.default=i.exports},wmza:function(M,L){}});
\ No newline at end of file
webpackJsonp([1],{"2X9c":function(M,L,j){M.exports=j.p+"static/img/error_500.ed0cba4.svg"},"2gGG":function(M,L){},CkW6:function(M,L){M.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i5Zu+5bGCXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgNDAwIDMzNS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csMCwxLjMsMC42LDEuMywxLjNjMCwwLjctMC42LDEuMy0xLjMsMS4zaC04LjFjLTAuNywwLjEtMS40LTAuNS0xLjQtMS4zDQoJYy0wLjEtMC43LDAuNS0xLjQsMS4zLTEuNEMxOTcsMjcyLjcsMTk3LjEsMjcyLjcsMTk3LjEsMjcyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0yODQuNCwyNjQuNmg4LjFjMC43LDAsMS4zLDAuNiwxLjMsMS4zbDAsMGMwLDAuNy0wLjYsMS4zLTEuMywxLjNoLTguMWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zDQoJQzI4MywyNjUuMywyODMuNiwyNjQuNiwyODQuNCwyNjQuNiIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTk5LjIsMjY0LjZoMTcxLjdjMC40LDAsMC43LDAuMSwwLjksMC40YzAuNCwwLjQsMC41LDEsMC4zLDEuNWMtMC4yLDAuNS0wLjcsMC44LTEuMiwwLjhIOTkuMQ0KCWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zQzk3LjgsMjY1LjMsOTguNCwyNjQuNiw5OS4yLDI2NC42Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjM1LDk1Ljh2OC4xYzAsMC43LTAuNiwxLjMtMS4zLDEuM3MtMS4zLTAuNi0xLjMtMS4zdi04LjFjMC0wLjcsMC42LTEuMywxLjMtMS40QzIzNC40LDk0LjQsMjM1LDk1LDIzNSw5NS44Ig0KCS8+DQo8L3N2Zz4NCg=="},Minx:function(M,L,j){M.exports=j.p+"static/img/error_404.bf58747.svg"},ODjX:function(M,L,j){"use strict";Object.defineProperty(L,"__esModule",{value:!0});var N=j("CkW6"),u=j.n(N),w=j("Minx"),D=j.n(w),C=j("2X9c"),s=j.n(C),y={name:"errpage",data:function(){return{imgSrc:"",message:"",srcList:{403:u.a,404:D.a,500:s.a},msgList:{403:"抱歉,你无权访问该页面",404:"抱歉,你访问的页面不存在",500:"抱歉,服务器出错了"}}},mounted:function(){var M=this.$route.path.split("/")[1];this.imgSrc=this.srcList[M],this.message=this.msgList[M]}},t={render:function(){var M=this.$createElement,L=this._self._c||M;return L("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100vh"}},[L("div",{staticClass:"wscn-http404"},[L("div",{staticClass:"pic-404"},[L("img",{staticClass:"pic-404__parent",attrs:{src:this.imgSrc,alt:"404"}})]),this._v(" "),L("div",{staticClass:"bullshit"},[L("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),L("a",{staticClass:"bullshit__return-home",attrs:{href:"#/index"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var i=j("VU/8")(y,t,!1,function(M){j("2gGG")},"data-v-2f3041e7",null);L.default=i.exports}});
\ No newline at end of file
webpackJsonp([10],{v0EF:function(e,t){},xCEU:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("mvHQ"),o=a.n(r),n=a("3E4D"),i=a("Ch4/"),l=a("PI0u"),s=a("P9l9"),u={name:"unreview",data:function(){return{wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",auditName:localStorage.getItem("userInfos")&&JSON.parse(localStorage.getItem("userInfos")).staffDTO?JSON.parse(localStorage.getItem("userInfos")).staffDTO.staffName:"",filterValue:"",filterBrand:"",brandOptions:[],searchValue:"",loading:!1,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,showAdd:!1,ruleForm:{id:"",name:"",code:""}}},methods:{toNext:function(e){this.$router.push("/second?id="+e.id)},toCancel:function(){this.closeText(),this.$refs.ruleForm.resetFields()},handleClose:function(e){this.closeText(),this.$refs.ruleForm.resetFields()},submitForm:Object(l.a)(function(e){var t=this;t.$refs[e].validate(function(e){e&&t.postSave()})},300),postSave:function(){var e=this,t={categoryId:e.categoryId,materialType:1,materialId:e.ruleForm.materialId,materialTitle:e.ruleForm.materialTitle,materialContent:e.ruleForm.materialContent};Object(s.b)(e.ruleForm.materialId?"/haoban-manage3-web/material-edit":"/haoban-manage3-web/material-add",t).then(function(t){var a=t.data;1==a.errorCode?(n.a.showmsg("操作成功","success"),e.$refs.ruleForm.resetFields(),e.closeText()):i.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleAdd:function(e){e&&(this.ruleForm=JSON.parse(o()(e))),this.showAdd=!0},closeText:function(){this.ruleForm={id:"",name:"",code:""},this.showAdd=!1},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handlDel:function(e,t){var a=this;a.$confirm("确认是否删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postApprove(t)}).catch(function(){})},postApprove:function(e){var t=this,a={auditId:e.id,auditName:t.auditName};Object(s.b)("/haoban-manage3-web/audit/audit",a).then(function(e){var a=e.data;if(1==a.errorCode)return n.a.showmsg("操作成功","success"),t.currentPage=1,void t.getTableList();i.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getTableList:function(e){var t=this;e&&(t.currentPage=1),t.loading=!0;var a={wxEnterpriseId:t.wxEnterpriseId,auditType:t.filterValue,auditStatus:"0",auditFlag:"0",search:t.searchValue,pageNum:t.currentPage,pageSize:t.pageSize,enterpriseId:t.filterBrand};Object(s.a)("/haoban-manage3-web/audit/find-page",a).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.result||[],void(t.total=a.result.totalCount);i.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.$emit("showTab",1),this.getTableList()},components:{}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"unreview-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 126px)"}},[a("div",{staticClass:"text-right m-b-20"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.handleAdd("")}}},[e._v("新增")])],1),e._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.auditType?a("span",[e._v("门店信息变更")]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.name||"--")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-h-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.createTime)))]),e._v(" "),a("div",{staticClass:"line-h-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.toNext(t.row)}}},[e._v("查看详情")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.handleAdd(t.row)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.handlDel(t.$index,t.row)}}},[e._v("删除")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])]),e._v(" "),a("el-dialog",{attrs:{title:e.ruleForm.id?"编辑模块":"新建模块",visible:e.showAdd,width:"600px","before-close":e.handleClose},on:{"update:visible":function(t){e.showAdd=t}}},[a("div",{},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"文本标题",prop:"materialTitle"}},[a("el-input",{attrs:{placeholder:"请输入模块"},model:{value:e.ruleForm.name,callback:function(t){e.$set(e.ruleForm,"name",t)},expression:"ruleForm.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"code",prop:"materialContent"}},[a("el-input",{attrs:{placeholder:"请输入code"},model:{value:e.ruleForm.code,callback:function(t){e.$set(e.ruleForm,"code",t)},expression:"ruleForm.code"}})],1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.toCancel}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm("ruleForm")}}},[e._v("确定")])],1)])],1)},staticRenderFns:[]};var d=a("VU/8")(u,c,!1,function(e){a("v0EF")},"data-v-4c36cfca",null);t.default=d.exports}});
\ No newline at end of file
webpackJsonp([10],{"5sMr":function(e,t){},SUXL:function(e,t){},mOmb:function(e,t,a){"use strict";var r=a("mvHQ"),s=a.n(r),n=a("P9l9"),o=a("Ch4/"),i=a("PI0u"),l={name:"gic-select-store",props:{width:{type:String,default:function(){return"357px"}},selectData:{type:[Object,Array],default:function(){return[]}},brandId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",enterpriseId:this.brandId,checkAll:!1,isIndeterminate:!1,searchSelect:"",storeVisible:!1,stores:[],storesCopy:[],dailyRuleForm:{stores:[]},pageNum:1,pageSize:200}},methods:{handleCheckAllChange:function(e){this.dailyRuleForm.stores=e?this.stores.map(function(e){return e.storeId}):[],this.isIndeterminate=!1,this.$emit("returnStores",this.dailyRuleForm.stores)},handleStoresChange:function(e){var t=e.length;this.checkAll=t===this.stores.length,this.isIndeterminate=t>0&&t<this.stores.length,this.$emit("returnStores",this.dailyRuleForm.stores)},toInput:Object(i.a)(function(e,t){""!=this.searchSelect&&(this.stores=[],this.pageNum=1,this.getStoreData())},500),changeVisible:function(){},checkStore:function(e){var t=this;if(e.select){e.select=!1;var a=t.dailyRuleForm.stores.indexOf(e.storeId);t.dailyRuleForm.stores.splice(a,1)}else e.select=!0,t.dailyRuleForm.stores.push(e.storeId);t.storesCopy.forEach(function(e){t.dailyRuleForm.stores.includes(e.storeId)&&(e.select=!0)})},clearSearch:function(){this.stores=[],this.pageNum=1,this.getStoreData()},getStoreData:function(){var e=this,t={searchName:e.searchSelect,gicEnterpriseId:e.brandId,pageNum:e.pageNum,pageSize:e.pageSize};Object(n.a)("/haoban-app-customer-web/cardCoupon/get-store-list",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.result&&a.result.result.forEach(function(t){t.select=!1,e.selectData.includes(t.storeId)&&(t.select=!0)}),1==e.pageNum?(e.stores=JSON.parse(s()(a.result.result))||[],e.storesCopy=JSON.parse(s()(a.result.result))||[]):a.result.result.forEach(function(t){e.stores.push(t),e.storesCopy.push(t)}),void(e.pageNum*e.pageSize<a.result.totalCount&&(e.pageNum++,e.$nextTick(function(){e.getStoreData()})));o.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e){e&&(this.checkAll=!1,this.isIndeterminate=!1,this.stores=[],this.storesCopy=[],this.searchSelect="",this.getStoreData())},selectData:function(e,t){e.length?this.dailyRuleForm.stores=JSON.parse(s()(e)):this.dailyRuleForm.stores=[]}},mounted:function(){this.brandId&&(this.stores=[],this.storesCopy=[],this.getStoreData()),this.selectData.length?this.dailyRuleForm.stores=JSON.parse(s()(this.selectData)):this.dailyRuleForm.stores=[]}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-popover",{attrs:{placement:"bottom",title:"",width:"350",trigger:"click"},model:{value:e.storeVisible,callback:function(t){e.storeVisible=t},expression:"storeVisible"}},[a("div",{staticClass:"daily-store-select"},[a("div",{staticClass:"select-search"},[a("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入门店名称",maxlength:"50",clearable:""},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchSelect);var a}},model:{value:e.searchSelect,callback:function(t){e.searchSelect=t},expression:"searchSelect"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),a("div",{staticClass:"checkbox border-box",staticStyle:{padding:"15px 20px"}},[a("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v("全选")])],1),e._v(" "),a("div",{staticClass:"el-scrollbar define-search-select"},[a("div",{staticClass:"el-select-dropdown__wrap el-scrollbar__wrap",staticStyle:{"margin-bottom":"-5px","margin-right":"-5px"}},[a("el-checkbox-group",{on:{change:e.handleStoresChange},model:{value:e.dailyRuleForm.stores,callback:function(t){e.$set(e.dailyRuleForm,"stores",t)},expression:"dailyRuleForm.stores"}},[a("ul",{staticClass:"el-scrollbar__view el-select-dropdown__list"},[e._l(e.stores,function(t){return a("li",{key:t.storeId,class:["el-select-dropdown__item",t.select?"selected hover":""]},[a("el-checkbox",{attrs:{label:t.storeId}},[e._v(e._s(t.storeName))])],1)}),e._v(" "),e.stores.length?e._e():a("li",{staticClass:"text-center"},[a("span",[e._v("暂无数据")])])],2)])],1),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-horizontal"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateX(0%)"}})]),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-vertical"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateY(0%)"}})])])]),e._v(" "),a("div",{staticClass:"show-select-num cursor-pointer w-250",attrs:{slot:"reference"},on:{click:e.changeVisible},slot:"reference"},[e._v("\n 已经选择"+e._s(e.dailyRuleForm.stores.length)+"家门店\n "),a("span",{staticClass:"el-input__suffix"},[a("span",{staticClass:"el-input__suffix-inner"},[a("i",{class:["el-select__caret el-input__icon el-icon-arrow-up",e.storeVisible?"is-reverse":""]})])])])])},staticRenderFns:[]};var u=a("VU/8")(l,c,!1,function(e){a("SUXL")},"data-v-7b2a27e4",null);t.a=u.exports},"oLI+":function(e,t){},"t/IW":function(e,t){},z3jf:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("mvHQ"),s=a.n(r),n=a("mOmb"),o=a("Xxa5"),i=a.n(o),l=a("exGp"),c=a.n(l),u=a("P9l9"),d=a("Ch4/"),p=a("PI0u"),h={name:"gic-select-group",props:{width:{type:String,default:function(){return"357px"}},selectData:{type:[Object,Array],default:function(){return[]}},brandId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",enterpriseId:this.brandId,searchSelect:"",departmentVisible:!1,groupIds:[],groupData:[],groupDataCopy:[],defaultProps:{children:"children",label:"storeGroupName"},checkedKeys:this.selectData.length?this.selectData.map(function(e){return e.departmentId}):[]}},methods:{filterNode:function(e,t){return!e||!t.label||-1!==t.label.indexOf(e)},loadNode:function(e,t){var a=this;return c()(i.a.mark(function r(){var s;return i.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(s=a,0!==e.level){r.next=5;break}return r.abrupt("return",t(s.getGroup()));case 5:return r.next=7,s.getGroup(e,e.data,t);case 7:case"end":return r.stop()}},r,a)}))()},toInput:Object(p.a)(function(e,t){if(!this.groupDataCopy.length)return!1},500),clearSearch:function(){this.groupData=JSON.parse(s()(this.groupDataCopy))},delDepart:function(e,t){t.splice(e,1);var a=t.map(function(e){return e.storeGroupId});this.setCheckedKeys(a)},checkGroup:function(e){this.groupIds=this.$refs.groupTree.getCheckedNodes(),this.$emit("checkGroupIds",this.$refs.groupTree.getCheckedNodes())},setCheckedKeys:function(e){this.$refs.groupTree.setCheckedKeys(e),this.$emit("checkGroupIds",this.$refs.groupTree.getCheckedNodes())},handleSort:function(e){var t=this;return c()(i.a.mark(function a(){var r,s;return i.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:r=t,s=0;case 2:if(!(s<e.children.length)){a.next=10;break}if(e.children.sort(function(e,t){return e.storeGroupSort-t.storeGroupSort}),!e.children[s].length){a.next=7;break}return a.next=7,r.handleSort(e.children[s]);case 7:s++,a.next=2;break;case 10:case"end":return a.stop()}},a,t)}))()},treeData:function(e){var t=this;return c()(i.a.mark(function a(){var r;return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return(r=e.filter(function(t){var a=e.filter(function(e){return t.storeGroupId==e.parentGroupId});return a.length>0&&(t.children=a),0==t.parentGroupId})).length&&r.sort(function(e,t){return e.storeGroupSort-t.storeGroupSort}),r.forEach(function(e,t){e.children&&e.children.length&&e.children.sort(function(e,t){return e.storeGroupSort-t.storeGroupSort})}),t.abrupt("return",r);case 4:case"end":return t.stop()}},a,t)}))()},getGroup:function(){var e=this;return c()(i.a.mark(function t(){var a,r;return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r={enterpriseId:(a=e).brandId},Object(u.a)("/haoban-manage3-web/gic-department-list",r).then(function(){var t=c()(i.a.mark(function t(r){var n,o;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(1!=(n=r.data).errorCode){e.next=10;break}if(!n.result||!n.result.length){e.next=9;break}return n.result.forEach(function(e){e.label=e.storeGroupName,e.departmentName=e.storeGroupName}),e.next=6,a.treeData(n.result);case 6:o=e.sent,a.$nextTick(function(){a.groupData=JSON.parse(s()(o))||[],a.groupDataCopy=JSON.parse(s()(a.groupData))||[]}),a.$forceUpdate();case 9:return e.abrupt("return");case 10:d.a.errorMsg(n);case 11:case"end":return e.stop()}},t,e)}));return function(e){return t.apply(this,arguments)}}()).catch(function(e){a.$message.error({duration:1e3,message:e.message})});case 3:case"end":return t.stop()}},t,e)}))()}},watch:{selectData:function(e,t){e.length?this.groupIds=e:this.groupIds=[]},searchSelect:function(e){this.$refs.groupTree.filter(e)},brandId:function(e){e&&(this.searchSelect="",this.groupIds=[],this.groupData=[],this.groupDataCopy=[],this.getGroup())}},mounted:function(){this.selectData.length?this.groupIds=this.selectData:this.groupIds=[],this.getGroup()}},f={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-popover",{staticStyle:{"min-width":"357px"},attrs:{placement:"bottom"},model:{value:e.departmentVisible,callback:function(t){e.departmentVisible=t},expression:"departmentVisible"}},[a("div",{staticClass:"select-search"},[a("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入内容",maxlength:"50"},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchSelect);var a}},model:{value:e.searchSelect,callback:function(t){e.searchSelect=t},expression:"searchSelect"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),a("div",{staticClass:"select-tree-wrap m-t-10"},[a("el-tree",{ref:"groupTree",attrs:{"filter-node-method":e.filterNode,clearable:"",data:e.groupData,"default-checked-keys":e.checkedKeys,"node-key":"storeGroupId","show-checkbox":"","default-expand-all":"",props:e.defaultProps,"expand-on-click-node":!1},on:{check:e.checkGroup},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.node,s=t.data;return a("span",{staticClass:"custom-tree-node"},[a("span",{class:["font-14 p-r-10 iconfont",1==s.isStore?"icondianpu-kuai":"iconqiye-tianchong",1==s.bindFlag?"color-2f54eb":"color-dedfe6"]}),a("span",{staticClass:"font-14 color-606266"},[e._v(e._s(r.label))])])}}])})],1),e._v(" "),a("div",{staticClass:"flex-column item-cell-select inline-block ",attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",style:{width:e.width}},[e.groupIds.length?e._e():a("span",{staticClass:"font-14 color-c0c4cc p-l-10",staticStyle:{display:"inline-block","line-height":"32px",color:"#c0c4cc"}},[e._v("请选择门店分组")]),e._v(" "),a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"348px"}},[a("span",{staticStyle:{display:"block"}},[e._l(e.groupIds,function(t,r){return[a("span",{key:r,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.departmentName))])])]})],2)])])])])])},staticRenderFns:[]};var g=a("VU/8")(h,f,!1,function(e){a("5sMr")},"data-v-ba64456a",null).exports,m=a("3E4D"),b={props:{brandId:{type:String,default:function(){return""}},setStoreShow:{type:Boolean,default:function(){return!1}},editRow:{type:Object,default:function(){return{}}},categoryId:{type:Object,default:function(){return""}}},components:{gicSelectGroupMult:g,gicSelectStore:n.a},data:function(){return{editPersion:localStorage.getItem("userInfos")&&JSON.parse(localStorage.getItem("userInfos")).staffDTO?JSON.parse(localStorage.getItem("userInfos")).staffDTO.staffName:"",wxEnterpriseRelatedId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",loading:!1,dialogVisible:this.setStoreShow,formData:{sendRange:"1",selectList:[]},loadingBtn:!1}},methods:{changeRange:function(e){this.formData.selectList=[]},returnStores:function(e){this.formData.selectList=JSON.parse(s()(e))},checkGroupIds:function(e){this.formData.selectList=JSON.parse(s()(e))},toCancel:function(){this.$emit("closeStore")},handleClose:function(e){this.$emit("closeStore")},submitForm:Object(p.a)(function(e){if(("2"==this.formData.sendRange||"3"==this.formData.sendRange)&&!this.formData.selectList.length)return!1;this.loadingBtn=!0,this.postSave()},300),postSave:function(){var e=this,t={enterpriseId:e.brandId,templateId:e.$route.query.templateId,selectType:e.formData.sendRange,groupIds:2==e.formData.sendRange?e.formData.selectList.map(function(e){return e.storeGroupId}).join(","):"",storeIds:3==e.formData.sendRange?e.formData.selectList.join(","):""};Object(u.d)("/haoban-app-customer-web/save-template-store",t).then(function(t){var a=t.data;e.loadingBtn=!1,1==a.errorCode?(m.a.showmsg("操作成功","success"),e.$emit("submitStore")):d.a.errorMsg(a)}).catch(function(t){e.loadingBtn=!1,e.$message.error({duration:1e3,message:t.message})})}},watch:{setStoreShow:function(e){this.dialogVisible=e}},mounted:function(){this.dialogVisible=this.setStoreShow}},v={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:(e.editRow.templateId,"可见范围"),visible:e.dialogVisible,width:"873px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{},[a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"100px",cursor:"pointer"},attrs:{for:"name"}},[e._v("\n 选择范围\n ")]),e._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"100px"}},[a("el-radio",{attrs:{label:"1"},on:{change:e.changeRange},model:{value:e.formData.sendRange,callback:function(t){e.$set(e.formData,"sendRange",t)},expression:"formData.sendRange"}},[e._v("所有门店")]),e._v(" "),a("el-radio",{staticClass:"m-l-40 m-r-8",attrs:{label:"2"},on:{change:e.changeRange},model:{value:e.formData.sendRange,callback:function(t){e.$set(e.formData,"sendRange",t)},expression:"formData.sendRange"}},[e._v("部分分组")]),e._v(" "),2==e.formData.sendRange?a("div",{staticClass:"w-240 inline-block item-cell-select"},[a("gic-select-group-mult",{staticClass:"m-l-10",attrs:{brandId:e.brandId,width:213,selectData:e.formData.selectList},on:{checkGroupIds:e.checkGroupIds}})],1):e._e(),e._v(" "),a("el-radio",{staticClass:"m-l-40 m-r-8",attrs:{label:"3"},on:{change:e.changeRange},model:{value:e.formData.sendRange,callback:function(t){e.$set(e.formData,"sendRange",t)},expression:"formData.sendRange"}},[e._v("部分门店")]),e._v(" "),3==e.formData.sendRange?a("div",{staticClass:"w-240 inline-block item-cell-select"},[a("gic-select-store",{attrs:{brandId:e.brandId,selectData:e.formData.selectList},on:{returnStores:e.returnStores}})],1):e._e(),e._v(" "),"2"!=e.formData.sendRange&&"3"!=e.formData.sendRange||e.formData.selectList.length?e._e():a("div",{staticClass:"el-form-item__error"},[e._v("请选择可见范围")])],1)])]),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.toCancel}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary",loading:e.loadingBtn},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("确定")])],1)])},staticRenderFns:[]};var S=a("VU/8")(b,v,!1,function(e){a("oLI+")},"data-v-56d93e96",null).exports,_={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",editPerson:localStorage.getItem("userInfos")&&JSON.parse(localStorage.getItem("userInfos")).staffDTO?JSON.parse(localStorage.getItem("userInfos")).staffDTO.staffName:"",searchInput:"",tableData:[],activeId:"1",loading:!1,multipleSelection:[],currentPage:1,pageSize:20,total:0,setStoreShow:!1,disableSet:!1}},methods:{toSetStore:function(){this.setStoreShow=!0},closeStore:function(){this.setStoreShow=!1},submitStore:function(){this.setStoreShow=!1,this.currentPage=1,this.getTableList()},toInput:Object(p.a)(function(e,t){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},delRow:function(e,t){var a=this;a.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,r={storeTemplateRelatedIds:t.storeTemplateRelatedId,enterpriseId:a.activeBrand};Object(u.d)("/haoban-app-customer-web/del-template-store",r).then(function(e){var t=e.data;if(1==t.errorCode)return m.a.showmsg("删除成功","success"),a.currentPage=1,void a.getTableList();d.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.postMultDel()},postMultDel:function(){var e=this,t={enterpriseId:e.activeBrand,storeTemplateRelatedIds:e.multipleSelection.map(function(e){return e.storeTemplateRelatedId}).join(",")||""};Object(u.d)("/haoban-app-customer-web/del-template-store",t).then(function(t){var a=t.data;if(1==a.errorCode)return m.a.showmsg("删除成功","success"),e.currentPage=1,void e.getTableList();d.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this,a={search:t.searchInput,templateId:t.$route.query.templateId,enterpriseId:t.brandId,pageNum:t.currentPage,pageSize:t.pageSize};Object(u.d)("/haoban-app-customer-web/get-template-store-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.result||[],t.total=a.result.totalCount,t.disableSet=!1,void(t.$route.query.brandId!=t.brandId&&(t.tableData=[],t.total=0,t.disableSet=!0));d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&this.getTableList(this.brandId)}},mounted:function(){this.$emit("showTab","12"),this.brandId&&this.getTableList(this.brandId)},components:{setVisiable:S}},I={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("div",{staticClass:"flex flex-space-between"},[a("div",[a("el-input",{staticClass:"w-369",attrs:{placeholder:"搜索门店名称或代码",maxlength:"50","prefix-icon":"el-icon-search",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchInput);var a}},model:{value:e.searchInput,callback:function(t){e.searchInput=t},expression:"searchInput"}})],1),e._v(" "),a("div",[a("el-button",{attrs:{disabled:e.disableSet,type:"primary"},on:{click:e.toSetStore}},[e._v("新增门店")]),e._v(" "),a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量移除")])],1)]),e._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"no-empty-icon-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),a("el-table-column",{attrs:{label:"门店名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.storeName||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"code","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.storeCode||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"门店分组","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.storeGroupName||"--")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.delRow(t.$index,t.row)}}},[e._v("移除")])]}}])}),e._v(" "),a("template",{slot:"empty"},[a("div",[a("span",[e._v("暂无门店分组,")]),a("el-button",{attrs:{disabled:e.disableSet,type:"text"},on:{click:function(t){e.toSetStore()}}},[e._v("去设置")])],1)])],2),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e(),e._v(" "),0==e.tableData.length?a("div",{staticClass:"text-center table-set-line"},[a("span",{staticClass:"font-14 color-606266"},[e._v("暂无门店分组,")]),a("el-button",{attrs:{disabled:e.disableSet,type:"text"},on:{click:function(t){e.toSetStore()}}},[e._v("去设置")])],1):e._e()],1)]),e._v(" "),a("set-visiable",{attrs:{setStoreShow:e.setStoreShow,brandId:e.brandId},on:{closeStore:e.closeStore,submitStore:e.submitStore}})],1)},staticRenderFns:[]};var y=a("VU/8")(_,I,!1,function(e){a("t/IW")},"data-v-6fc7668a",null);t.default=y.exports}});
\ No newline at end of file
webpackJsonp([11],{"+kZ0":function(e,t,a){"use strict";var n=a("3Xzz"),o=a("Qs+A"),r=a("P9l9"),s=a("Ch4/"),i={name:"select-card-template",props:{cardTempShow:{type:Boolean,default:function(){return!1}},selectTemp:{type:[Object,Array],default:function(){return[]}}},data:function(){return{wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",dialogVisible:!1,currentPage:1,pageSize:20,total:0,tableData:[],multipleSelection:[]}},computed:{},methods:{handleSelectionChange:function(e){this.multipleSelection=e},handleClose:function(){var e=this;e.$emit("closeTemp"),e.$refs.multipleTable.clearSelection();var t=e.selectTemp.map(function(e){return e.templateId});e.$nextTick(function(){e.tableData.forEach(function(a){t.includes(a.templateId)&&e.$refs.multipleTable.toggleRowSelection(a,!0)})})},submitForm:function(){var e=this;return e.multipleSelection.length?e.multipleSelection.length>20?(e.$message.error({duration:1e3,message:"最多只能选择20个模板"}),!1):(e.$emit("returnData",e.multipleSelection),void e.$nextTick(function(){var t=e.selectTemp.map(function(e){return e.templateId});e.$nextTick(function(){e.tableData.forEach(function(a){t.includes(a.templateId)&&e.$refs.multipleTable.toggleRowSelection(a,!0)})})})):(e.$message.error({duration:1e3,message:"请选择模板"}),!1)},changeRoute:function(e){this.$router.push(e)},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this,a={wxEnterpriseId:t.wxEnterpriseId};Object(r.a)("/haoban-app-customer-web/inner/list-template",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result||[],!1;s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},initData:function(){var e=this,t=e.selectTemp.map(function(e){return e.templateId});e.$nextTick(function(){e.$refs.multipleTable.clearSelection(),e.tableData.forEach(function(a){t.includes(a.templateId)&&e.multipleSelection.push(a)}),e.tableData.forEach(function(a){t.includes(a.templateId)&&e.$refs.multipleTable.toggleRowSelection(a,!0)})})}},watch:{cardTempShow:function(e){this.dialogVisible=e},selectTemp:function(e,t){}},mounted:function(){this.dialogVisible=this.cardTempShow,this.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,setDepartment:o.a}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:"选择模板",visible:e.dialogVisible,width:"700px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t},open:e.initData}},[a("div",{},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{height:"450",data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),a("el-table-column",{attrs:{label:"卡券模板名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.templateName))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券类型","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.cardType?a("span",[e._v("抵金券")]):e._e(),e._v(" "),1==t.row.cardType?a("span",[e._v("折扣券")]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"提交人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.commitName)+"\n ")]}}])})],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.handleClose}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("确定")])],1)])},staticRenderFns:[]};var c=a("VU/8")(i,l,!1,function(e){a("mJb1")},"data-v-36b2a510",null);t.a=c.exports},"8Rwt":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("mvHQ"),o=a.n(n),r=a("l46T"),s=a("+kZ0"),i=a("ja1h"),l=a("P9l9"),c=a("3E4D"),p=a("Ch4/"),d=a("PI0u"),m={name:"chat-log",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},components:{limitInput:r.a,selectCardTemplate:s.a,selectWxDepart:i.a},data:function(){var e=this;return{activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"3",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",formData:{policyId:"",policyName:"",cardTemplateJson:[],sendRange:"0",positionFlag:!1,noPosition:!1,positionNames:[],departmentJson:[],sendMonthType:"0",sendTimes:"",sendMonthTimes:[],policyExpireDateType:"0",validDateRange:[],startTimeString:"",endTimeString:"",onlineFlag:"1"},cardErr:!1,rules:{policyName:[{required:!0,message:"请输入卡券策略名称",trigger:"blur"}],cardTemplateJson:[{type:"array",required:!0,message:"请至少选择一个卡券模板",trigger:"change"}]},cardSelectShow:!1,choiceDateCopy:[],pickerOptions:{onPick:function(t){var a=t.maxDate,n=t.minDate;e.choiceDateCopy=[n.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-31536e6,n=e.choiceDateCopy[0]+31536e6;return t.getTime()<a||t.getTime()>n||t.getTime()<Date.now()-864e5}return t.getTime()<Date.now()-864e5}},dateOptions:[],monthOptions:[],inputVisible:!1,inputValue:"",cardTempShow:!1,departShow:!1,loadingBtn:!1}},methods:{showDepartDilog:function(){this.departShow=!0},delDepart:function(e,t){t.splice(e,1)},toInput:function(e){/^[0-9]*$/.test(e.target.value)||(this.formData.sendTimes=1)},changeNoPosition:function(e){if(e&&this.formData.positionNames.length>=50)return this.$message.error({duration:1e3,message:"最多可添加50个职务"}),this.formData.noPosition=!1,!1;e?this.formData.positionNames.push("-1"):this.formData.positionNames.splice(this.formData.positionNames.indexOf("-1"),1)},changeSendType:function(){1==this.formData.sendRange?this.departShow=!0:(this.formData.departmentJson=[],this.departShow=!1)},clickSendType:function(){this.departShow=!0},refreshData:function(e){if(this.departShow=!1,"close"==e)return!1;this.formData.departmentJson=e},cancelEdit:function(){var e=this;e.$confirm("是否确认返回,返回后当前页面内容将丢失","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.$router.go(-1)}).catch(function(){})},showCardTemp:function(){this.cardTempShow=!0},returnData:function(e){e.forEach(function(e){e.effectiveType="0",e.dateRange=[],e.sendNumberDay="0",e.effectiveDay="366",e.sendLimit="50000"});var t=e.map(function(e){return e.templateId}),a=[];this.formData.cardTemplateJson.forEach(function(e){t.includes(e.templateId)&&a.push(e)}),e.forEach(function(e){a.forEach(function(t){e.templateId==t.templateId&&(e.effectiveType=t.effectiveType,e.dateRange=t.dateRange,e.sendNumberDay=t.sendNumberDay,e.effectiveDay=t.effectiveDay)})}),this.formData.cardTemplateJson=JSON.parse(o()(e)),this.cardTempShow=!1},closeTemp:function(){this.cardTempShow=!1},handleClose:function(e){this.formData.positionNames.splice(this.formData.positionNames.indexOf(e),1)},showInput:function(){var e=this;if(e.formData.positionNames.length>=50)return e.$message.error({duration:1e3,message:"最多可添加50个职务"}),!1;e.inputVisible=!0,e.$nextTick(function(t){e.$refs.saveTagInput.$refs.input.focus()})},handleInputConfirm:function(){var e=this.inputValue;e&&this.formData.positionNames.push(e),this.inputVisible=!1,this.inputValue=""},toDelTemp:function(e,t,a){a.splice(e,1)},handleDay:function(){for(var e=[],t=0;t<91;t++)0==t?e.push({label:"当天",value:String(t)}):e.push({label:"第"+t+"天",value:String(t)});this.dateOptions=e,this.monthOptions=[];for(var a=1;a<13;a++)this.monthOptions.push({label:a+"月",value:String(a)})},submitForm:Object(d.a)(function(e,t){var a=this;if(a.formData.validDateRange||(a.formData.validDateRange=[]),!(1!=a.formData.policyExpireDateType||a.formData.validDateRange&&a.formData.validDateRange.length))return a.$message.error({duration:1e3,message:"请先选择固定期限日期"}),!1;if(!a.formData.cardTemplateJson)return!1;var n=!0;return a.formData.cardTemplateJson.forEach(function(e){0!=e.effectiveType||e.dateRange&&e.dateRange.length&&e.dateRange[0]||(e.dateRange=[],n=!1),e.startTimeString=e.dateRange?e.dateRange[0]:"",e.endTimeString=e.dateRange?e.dateRange[1]:""}),n?a.formData.cardTemplateJson.length?(a.cardErr=!1,1!=a.formData.sendRange||a.formData.departmentJson.length?1!=a.formData.sendMonthType||a.formData.sendMonthTimes.length?a.formData.sendTimes?(a.loadingBtn=!0,void a.$refs[e].validate(function(e){e?a.postSaveCard(t):a.loadingBtn=!1})):(a.$message.error({duration:1e3,message:"请先选择策略执行次数"}),!1):(a.$message.error({duration:1e3,message:"请先选择多月循环"}),!1):(a.$message.error({duration:1e3,message:"请先选择发送的部门"}),!1)):(a.cardErr=!0,!1):(a.$message.error({duration:1e3,message:"请先选择模板有效期"}),!1)},1e3),postSaveCard:function(e){var t=this,a={policyId:t.formData.policyId,policyName:t.formData.policyName,cardTemplateJson:o()(t.formData.cardTemplateJson),sendRange:t.formData.sendRange,positionFlag:t.formData.positionFlag?1:0,positionNames:t.formData.positionNames.length?t.formData.positionNames.join(","):"",departmentJson:o()(t.formData.departmentJson),sendMonthType:t.formData.sendMonthType,sendTimes:t.formData.sendTimes,sendMonthTimes:t.formData.sendMonthTimes.length?t.formData.sendMonthTimes.join(","):"",policyExpireDateType:t.formData.policyExpireDateType,startTimeString:t.formData.validDateRange[0],endTimeString:t.formData.validDateRange[1],onlineFlag:t.formData.onlineFlag,wxEnterpriseId:t.wxEnterpriseId};Object(l.d)((t.$route.query.policyId,"/haoban-app-customer-web/inner/save-policy"),a).then(function(a){var n=a.data;t.loadingBtn=!1,1==n.errorCode&&(c.a.showmsg(t.$route.query.policyId?"编辑卡券策略成功":"新建卡券策略成功","success"),e?(t.formData={policyId:"",policyName:"",cardTemplateJson:[],sendRange:"0",positionFlag:!1,noPosition:!1,positionNames:[],departmentJson:[],sendMonthType:"0",sendTimes:"",sendMonthTimes:[],policyExpireDateType:"0",validDateRange:[],startTimeString:"",endTimeString:"",onlineFlag:"1"},t.choiceDateCopy=[]):t.$router.push("/cardStrategy")),p.a.errorMsg(n)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getCardData:function(){var e=this,t={policyId:e.$route.query.policyId,gicEnterpriseId:e.brandId};Object(l.a)("/haoban-app-customer-web/inner/find-policy",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.cardTemplateRelateds.forEach(function(e){e.sendNumberDay=String(e.sendNumberDay),e.effectiveType=String(e.effectiveType),e.dateRange=[e.startTimeString?e.startTimeString:"",e.endTimeString?e.endTimeString:""]}),e.formData={policyId:a.result.policyId,policyName:a.result.policyName,cardTemplateJson:a.result.cardTemplateRelateds||[],sendRange:String(a.result.sendRange),positionFlag:1==a.result.positionFlag,noPosition:!(!a.result.positionNames.includes("-1")&&!a.result.positionNames.includes(-1)),positionNames:a.result.positionNames?a.result.positionNames.split(","):[],departmentJson:a.result.departmentRelateds||[],sendMonthType:String(a.result.sendMonthType),sendTimes:a.result.sendTimes,sendMonthTimes:a.result.sendMonthTimes.length?a.result.sendMonthTimes.split(","):[],policyExpireDateType:String(a.result.policyExpireDateType),startTimeString:a.result.startTimeString,endTimeString:a.result.endTimeString,onlineFlag:a.result.onlineFlag,validDateRange:[a.result.startTimeString?a.result.startTimeString:"",a.result.endTimeString?a.result.endTimeString:""]},!1;p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){e&&this.$route.query.policyId&&(this.activeBrand=e,this.getCardData())},activeGroupId:function(e,t){e&&(this.activeGroup=e)}},mounted:function(){var e=this;e.$emit("showTab","2"),e.$nextTick(function(){e.handleDay()}),e.$route.query.policyId&&e.getCardData()}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"new-card-body border-box"},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.formData,rules:e.rules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"卡券策略名称",prop:"policyName"}},[a("limitInput",{attrs:{inputWidth:340,inputValue:e.formData.policyName,getByType:"word",holder:"请输入卡券策略名称",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.formData,"policyName",t)}}})],1),e._v(" "),a("div",{staticClass:"item-title font-14 color-303133 font-w-600"},[e._v("卡券选择策略")]),e._v(" "),a("div",{staticClass:"el-form-item el-form-item--large is-required"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"支持多选,最多可选20个模板",placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("选择卡券模板")])])],1),e._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("div",{staticClass:"card-add-btn text-center cursor-pointer",on:{click:e.showCardTemp}},[a("span",{staticClass:"font-14 color-606266"},[e._v("选择卡券模板")])]),e._v(" "),e.formData.cardTemplateJson.length?a("div",{staticClass:"m-t-20"},[a("el-table",{staticClass:"select-table",style:{width:"100%"},attrs:{"max-height":"450",data:e.formData.cardTemplateJson,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"卡券模板名称","min-width":"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.templateName))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.cardType?a("span",[e._v("抵金券")]):e._e(),e._v(" "),1==t.row.cardType?a("span",[e._v("折扣券")]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"有效期",width:"505"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-select",{staticClass:"w-100",attrs:{placeholder:""},model:{value:t.row.effectiveType,callback:function(a){e.$set(t.row,"effectiveType",a)},expression:"scope.row.effectiveType"}},[a("el-option",{attrs:{label:"固定日期",value:"0"}}),e._v(" "),a("el-option",{attrs:{label:"发送后",value:"1"}})],1),0==t.row.effectiveType?a("el-date-picker",{staticClass:"m-l-10 w-300 vertical-middle",attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:e.changeDate},model:{value:t.row.dateRange,callback:function(a){e.$set(t.row,"dateRange",a)},expression:"scope.row.dateRange"}}):e._e(),e._v(" "),1==t.row.effectiveType?a("el-select",{staticClass:"w-100 m-l-10",attrs:{placeholder:"请选择"},model:{value:t.row.sendNumberDay,callback:function(a){e.$set(t.row,"sendNumberDay",a)},expression:"scope.row.sendNumberDay"}},e._l(e.dateOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})):e._e(),1==t.row.effectiveType?a("span",{staticClass:"font-14 color-606266 p-l-10"},[e._v("有效,有效天数")]):e._e(),1==t.row.effectiveType?a("el-input-number",{staticClass:"w-100 m-l-10",attrs:{"controls-position":"right",min:1,max:366},model:{value:t.row.effectiveDay,callback:function(a){e.$set(t.row,"effectiveDay",a)},expression:"scope.row.effectiveDay"}}):e._e(),1==t.row.effectiveType?a("span",{staticClass:"font-14 color-606266 p-l-10"},[e._v("天")]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"发送总数",width:"350"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.sendLimit)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.toDelTemp(t.$index,t.row,e.formData.cardTemplateJson)}}},[e._v("删除")])]}}])})],1)],1):e._e(),e._v(" "),!e.formData.cardTemplateJson.length&&e.cardErr?a("div",{staticClass:"el-form-item__error"},[e._v("请选择卡券模板")]):e._e()])]),e._v(" "),a("div",{staticClass:"item-title font-14 color-303133 font-w-600"},[e._v("执行策略")]),e._v(" "),a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"卡券的发送范围设置",placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("发送范围")])])],1),e._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("el-radio",{attrs:{label:"0"},on:{change:e.changeSendType},model:{value:e.formData.sendRange,callback:function(t){e.$set(e.formData,"sendRange",t)},expression:"formData.sendRange"}},[e._v("全企业")]),a("el-radio",{staticClass:"m-l-40",attrs:{label:"1"},on:{change:e.changeSendType},model:{value:e.formData.sendRange,callback:function(t){e.$set(e.formData,"sendRange",t)},expression:"formData.sendRange"}},[a("span",{on:{click:e.clickSendType}},[e._v("部分部门")])]),e._v(" "),1==e.formData.sendRange?a("div",{staticClass:"flex-column item-cell-select inline-block "},[a("div",{staticClass:"depart-item-wrap",on:{click:e.showDepartDilog}},[a("div",{staticClass:"el-select el-select--large depart-item-content",staticStyle:{width:"357px"}},[e.formData.departmentJson.length?e._e():a("span",{staticClass:"font-14 color-c0c4cc p-l-10",staticStyle:{display:"inline-block","line-height":"32px",color:"#c0c4cc"}}),e._v(" "),a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"348px"}},[a("span",{staticStyle:{display:"block"}},[e._l(e.formData.departmentJson,function(t,n){return[a("span",{key:n,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.departmentName))]),e._v(" "),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(t){t.stopPropagation(),e.delDepart(n,e.formData.departmentJson)}}})])]})],2)]),e._v(" "),a("div",{staticClass:"count-number font-12 color-909399"},[e._v("已选"+e._s(e.formData.departmentJson.length)+"个部门")])])])]):e._e(),e._v(" "),a("div",{staticClass:"position-select"},[a("div",{staticClass:"position-check"},[a("el-checkbox",{model:{value:e.formData.positionFlag,callback:function(t){e.$set(e.formData,"positionFlag",t)},expression:"formData.positionFlag"}},[e._v("按职务筛选")])],1),e._v(" "),a("div",{staticClass:"position-check-tags"},[a("el-checkbox",{staticClass:" no-position-tag",on:{change:e.changeNoPosition},model:{value:e.formData.noPosition,callback:function(t){e.$set(e.formData,"noPosition",t)},expression:"formData.noPosition"}},[e._v("无职务")]),e._v(" "),e._l(e.formData.positionNames,function(t){return[-1!=t?a("el-tag",{key:t,attrs:{closable:"","disable-transitions":!1},on:{close:function(a){e.handleClose(t)}}},[e._v("\n "+e._s(t)+"\n ")]):e._e()]}),e._v(" "),e.inputVisible?a("el-input",{ref:"saveTagInput",staticClass:"input-new-tag",attrs:{size:"small",maxlength:"20","show-word-limit":""},on:{blur:e.handleInputConfirm},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.handleInputConfirm(t):null}},model:{value:e.inputValue,callback:function(t){e.inputValue=t},expression:"inputValue"}}):a("el-button",{staticClass:"button-new-tag",attrs:{size:"small"},on:{click:e.showInput}},[e._v("+ 添加职务")])],2)])],1)]),e._v(" "),a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[e._v("\n 策略执行次数\n ")]),e._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("el-radio",{staticStyle:{"margin-right":"0px"},attrs:{label:"0"},model:{value:e.formData.sendMonthType,callback:function(t){e.$set(e.formData,"sendMonthType",t)},expression:"formData.sendMonthType"}},[e._v(e._s(""))]),e._v(" "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"每月该策略针对单一成员执行几次",placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("每月循环")])]),a("el-radio",{staticStyle:{"margin-right":"0px","margin-left":"30px"},attrs:{label:"1"},model:{value:e.formData.sendMonthType,callback:function(t){e.$set(e.formData,"sendMonthType",t)},expression:"formData.sendMonthType"}},[e._v(e._s(""))]),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"第n月发送次数,例如第3,6,9月,每月1次",placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("多月循环")])]),e._v(" "),0==e.formData.sendMonthType?a("div",{staticClass:"m-t-10 month-recyle"},[a("span",{staticClass:"font-14 color-606266 p-r-10"},[e._v("每月")]),a("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",min:1,max:99},nativeOn:{keyup:function(t){return a=t,e.toInput(a);var a}},model:{value:e.formData.sendTimes,callback:function(t){e.$set(e.formData,"sendTimes",t)},expression:"formData.sendTimes"}}),a("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v(" 次")])],1):e._e(),e._v(" "),1==e.formData.sendMonthType?a("div",{staticClass:"m-t-10 month-recyle"},[a("span",{staticClass:"font-14 color-606266 p-r-10"},[e._v("第")]),a("el-select",{staticClass:"w-150",attrs:{multiple:"","collapse-tags":"",placeholder:"请选择"},model:{value:e.formData.sendMonthTimes,callback:function(t){e.$set(e.formData,"sendMonthTimes",t)},expression:"formData.sendMonthTimes"}},e._l(e.monthOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),a("el-input-number",{staticClass:"m-l-10 w-100",staticStyle:{"vertical-align":"middle"},attrs:{"controls-position":"right",min:1,max:99},nativeOn:{keyup:function(t){return a=t,e.toInput(a);var a}},model:{value:e.formData.sendTimes,callback:function(t){e.$set(e.formData,"sendTimes",t)},expression:"formData.sendTimes"}}),a("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v(" 次")])],1):e._e()],1)]),e._v(" "),a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[e._v("\n 策略有效期\n ")]),e._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("el-radio",{attrs:{label:"0"},model:{value:e.formData.policyExpireDateType,callback:function(t){e.$set(e.formData,"policyExpireDateType",t)},expression:"formData.policyExpireDateType"}},[e._v("长期有效")]),a("el-radio",{attrs:{label:"1"},model:{value:e.formData.policyExpireDateType,callback:function(t){e.$set(e.formData,"policyExpireDateType",t)},expression:"formData.policyExpireDateType"}},[e._v("固定期限")]),e._v(" "),1==e.formData.policyExpireDateType?a("div",{staticClass:"date-valid"},[a("el-date-picker",{attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd HH:mm:ss","default-time":["00:00:00","23:59:59"],type:"datetimerange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.formData.validDateRange,callback:function(t){e.$set(e.formData,"validDateRange",t)},expression:"formData.validDateRange"}})],1):e._e()],1)]),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.cancelEdit}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary",loading:e.loadingBtn},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("确认"+e._s(e.$route.query.policyId?"编辑":"新建"))]),e._v(" "),e.$route.query.policyId?e._e():a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm","flag")}}},[e._v("确认并继续新建")])],1)],1)],1),e._v(" "),a("select-card-template",{attrs:{cardTempShow:e.cardTempShow,selectTemp:e.formData.cardTemplateJson},on:{returnData:e.returnData,closeTemp:e.closeTemp}}),e._v(" "),a("select-wx-depart",{attrs:{departShow:e.departShow,departArr:e.formData.departmentJson},on:{refreshData:e.refreshData}})],1)},staticRenderFns:[]};var f=a("VU/8")(m,u,!1,function(e){a("9QPS")},"data-v-5596ec94",null);t.default=f.exports},"9QPS":function(e,t){},cgKZ:function(e,t){},ja1h:function(e,t,a){"use strict";var n=a("mvHQ"),o=a.n(n),r=a("Xxa5"),s=a.n(r),i=a("exGp"),l=a.n(i),c=a("P9l9"),p=a("Ch4/"),d={name:"select-wx-depart",components:{},props:{departShow:{type:Boolean,default:function(){return!1}},departArr:{type:[Object,Array],default:function(){return[]}}},data:function(){return{selDepart:[],groupNodes:[],groupData:[],departVisible:!1,checkedKeys:this.departArr.length?this.departArr.map(function(e){return e.departmentId}):[],defaultProps:{children:"children",label:"departmentName",isLeaf:"isLeaf"},checkList:[]}},methods:{loadNode:function(e,t){var a=this;return l()(s.a.mark(function n(){var o;return s.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(o=a,0!==e.level){n.next=5;break}return n.abrupt("return",t(o.getGroup()));case 5:return n.next=7,o.getGroup(e,e.data,t);case 7:o.checkedKeys=o.departArr.length?o.departArr.map(function(e){return e.departmentId}):[],o.initData();case 9:case"end":return n.stop()}},n,a)}))()},checkGroup:function(e){this.groupNodes=this.$refs.groupTrees.getCheckedNodes()},toRight:function(){this.selDepart=this.$refs.groupTrees.getCheckedNodes()},toLeft:function(){var e=this,t=[];e.selDepart.forEach(function(a){e.checkList.includes(a.departmentId)||t.push(a)}),e.selDepart=t,e.$refs.groupTrees.setCheckedNodes(e.selDepart)},handleClose:function(e){this.$emit("refreshData","close"),e()},cancel:function(){this.$emit("refreshData","close")},submitForm:function(e){return this.selDepart.length?this.selDepart.length>50?(this.$message.error({duration:1e3,message:"最多可选50个部门"}),!1):void this.$emit("refreshData",this.selDepart):(this.$message.error({duration:1e3,message:"请选择部门"}),!1)},getGroup:function(e,t,a){var n=this,o={parentId:t?t.departmentId:"",isStore:0};if(e&&(!t.hasSonNode||1==t.isStore))return a([]),!1;Object(c.a)("/haoban-manage3-web/department-list-level",o).then(function(o){var r=o.data;if(1==r.errorCode)return r.result&&r.result.length&&r.result.forEach(function(e){e.expand=!1,e.children=[],e.label=e.departmentName,e.isLeaf=!e.hasSonNode}),e?(a(r.result),t.children||n.$set(t,"children",[]),t.children=r.result||[],n.$forceUpdate(),!1):(n.groupData=r.result||[],void n.initData());p.a.errorMsg(r)}).catch(function(e){n.$message.error({duration:1e3,message:e.message})})},initData:function(){var e=this;e.$nextTick(function(){e.groupNodes=e.$refs.groupTrees.getCheckedNodes()})}},watch:{departShow:function(e){this.departVisible=e},departArr:function(e){var t=this;t.checkedKeys=t.departArr.length?t.departArr.map(function(e){return e.departmentId}):[],e.length?t.selDepart=JSON.parse(o()(e)):t.selDepart=[],t.$nextTick(function(){t.$refs.groupTrees.setCheckedKeys(t.checkedKeys),t.groupNodes=t.$refs.groupTrees.getCheckedNodes()})}},mounted:function(){var e=this;e.departVisible=e.departShow,e.getGroup(),e.departArr.length?e.selDepart=JSON.parse(o()(e.departArr)):e.selDepart=[],e.checkedKeys=e.departArr.length?e.departArr.map(function(e){return e.departmentId}):[],e.$nextTick(function(){e.$refs.groupTrees.setCheckedKeys(e.checkedKeys),e.groupNodes=e.$refs.groupTrees.getCheckedNodes()})}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{width:"600px",title:"选择部门",visible:e.departVisible,"append-to-body":"","before-close":e.handleClose},on:{"update:visible":function(t){e.departVisible=t},open:e.initData}},[a("div",{staticClass:"depart-transfor"},[a("div",{staticClass:"depart-transfor-left"},[a("div",{staticClass:"transfor-header flex flex-space-between"},[a("span",{staticClass:"font-14 color-303133"},[e._v("组织架构")]),e._v(" "),a("span",{staticClass:"font-12 color-909399"})]),e._v(" "),a("div",{staticClass:"transfor-body"},[a("div",{staticClass:"transfor-body-tree"},[a("el-tree",{ref:"groupTrees",attrs:{data:e.groupData,load:e.loadNode,"default-checked-keys":e.checkedKeys,"node-key":"departmentId","check-strictly":"",lazy:"","show-checkbox":"",props:e.defaultProps},on:{check:e.checkGroup},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.node,o=t.data;return a("span",{staticClass:"custom-tree-node"},[a("span",{class:["font-14 p-r-10 iconfont",1==o.isStore?"icondianpu-kuai":"iconqiye-tianchong",1==o.bindFlag?"color-2f54eb":"color-dedfe6"]}),a("span",{staticClass:"font-14 color-606266"},[e._v(e._s(n.label))])])}}])})],1)])]),e._v(" "),a("div",{staticClass:"depart-transfor-middle"},[a("div",{staticClass:"m-b-10"},[a("el-button",{attrs:{disabled:!e.groupNodes.length,type:"primary",icon:"el-icon-arrow-right"},on:{click:e.toRight}},[e._v("转入")])],1),e._v(" "),a("div",[a("el-button",{attrs:{disabled:!e.checkList.length,type:"primary",icon:"el-icon-arrow-left"},on:{click:e.toLeft}},[e._v("移除")])],1)]),e._v(" "),a("div",{staticClass:"depart-transfor-right"},[a("div",{staticClass:"transfor-header flex flex-space-between"},[a("span",{staticClass:"font-14 color-303133"},[e._v("已选")]),e._v(" "),a("span",{staticClass:"font-12 color-909399"},[e._v(e._s(e.selDepart.length))])]),e._v(" "),a("div",{staticClass:"select-body"},[a("div",{staticClass:"select-body-list"},[a("el-checkbox-group",{model:{value:e.checkList,callback:function(t){e.checkList=t},expression:"checkList"}},[a("div",e._l(e.selDepart,function(t,n){return a("el-checkbox",{key:n+"sel",attrs:{label:t.departmentId}},[e._v(e._s(t.departmentName))])}))])],1)])])]),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.cancel}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("partForm")}}},[e._v("确定")])],1)])},staticRenderFns:[]};var u=a("VU/8")(d,m,!1,function(e){a("cgKZ")},"data-v-77b57ed9",null);t.a=u.exports},mJb1:function(e,t){}});
\ No newline at end of file
webpackJsonp([12],{"7/Zw":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("mvHQ"),r=a.n(s),o=a("mOmb"),l=a("Ggl+"),n=a("Ch4/"),i=a("P9l9"),c=a("PI0u"),d={props:{brandId:{type:String,default:function(){return""}},coupCardId:{type:String,default:function(){return""}}},data:function(){return{dialogVisible:!0,selectCoupCardId:this.coupCardId||"",tableData:[],currentPage:1,pageSize:6,total:0}},methods:{handleClose:function(e){this.$emit("closeCard")},toConfirm:function(){var e=this,t={};e.tableData.forEach(function(a){a.coupCardId==e.selectCoupCardId&&(t=a)}),e.$emit("returnId",e.selectCoupCardId,t)},toCancel:function(){this.$emit("closeCard")},toInput:Object(c.a)(function(e,t){this.currentPage=1,this.getTableList()},200),clearInput:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this,a={cardName:t.searchInput||"",pageNum:t.currentPage,pageSize:t.pageSize,gicEnterpriseId:t.brandId};Object(i.a)("/haoban-app-customer-web/cardCoupon/find-select-card-page",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.list||[],t.total=a.result.pageInfo.total,!1;n.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&this.getTableList()},coupCardId:function(e,t){e&&(this.selectCoupCardId=e)}},mounted:function(){this.selectCoupCardId=this.coupCardId,this.brandId&&this.getTableList()}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:"卡券选择",visible:e.dialogVisible,width:"994px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"search-div"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入卡券名称",maxlength:"50",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchInput);var a}},model:{value:e.searchInput,callback:function(t){e.searchInput=t},expression:"searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),a("span",{staticClass:"search-tip p-l-20 font-14 color-909399"},[e._v("仅支持选择“领取限制>=100”的卡券,系统已自动过滤不符合条件的卡券,符合条件的卡券共"+e._s(e.total)+"张")])],1),e._v(" "),a("div",{staticClass:"chat-log-content boder-box m-t-20"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{"class-name":"hide-ellipsis",label:"",width:"50"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-radio",{attrs:{disabled:1==t.row.selected,label:t.row.coupCardId},model:{value:e.selectCoupCardId,callback:function(t){e.selectCoupCardId=t},expression:"selectCoupCardId"}},[e._v(e._s(""))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"cardName",label:"卡券名称","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{label:"备注名","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.subName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"effectDateString",label:"有效期","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"cardLimit",label:"领取限制","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"storeMode",label:"适用门店","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(0==t.row.storeMode?"所有门店":1==t.row.storeMode?"部分分组":"部分门店")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"couponStock",label:"库存","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"getedQuantity",label:"领取次数","show-overflow-tooltip":""}})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-size":e.pageSize,layout:" prev, pager, next",total:e.total},on:{"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("div",{staticClass:"dialog-footer m-b-20",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.toCancel}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.toConfirm}},[e._v("确认")])],1)])},staticRenderFns:[]};var p=a("VU/8")(d,u,!1,function(e){a("RUVm")},"data-v-33d29a88",null).exports,m={name:"gic-select-tag",props:{width:{type:String,default:function(){return"357px"}},selectData:{type:[Object,Array],default:function(){return[]}},brandId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",enterpriseId:this.brandId,storeVisible:!1,tags:[],dailyRuleForm:{tags:[]},selectTags:[]}},methods:{handleStoresChange:function(e){var t=[];this.tags.forEach(function(a){e.includes(a.tagId)&&t.push(a)}),this.selectTags=JSON.parse(r()(t)),this.$emit("returnTags",this.selectTags)},delDepart:function(e,t){t.splice(e,1),this.$emit("returnTags",this.selectTags)},getTagsData:function(){var e=this,t={gicEnterpriseId:e.brandId};Object(i.a)("/haoban-app-customer-web/cardCoupon/find-store-tag-list",t).then(function(t){var a=t.data;1!=a.errorCode?n.a.errorMsg(a):e.tags=a.result||[]}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e){e&&(this.dailyRuleForm.tags=[],this.selectTags=[],this.tags=[],this.getTagsData())},selectData:function(e,t){e.length?(this.selectTags=JSON.parse(r()(e)),this.dailyRuleForm.tags=e.map(function(e){return e.tagId})):(this.dailyRuleForm.tags=[],this.selectTags=[])}},mounted:function(){this.brandId&&(this.tags=[],this.getTagsData()),this.selectData.length?(this.selectTags=JSON.parse(r()(this.selectData)),this.dailyRuleForm.tags=this.selectData.map(function(e){return e.tagId})):(this.dailyRuleForm.tags=[],this.selectTags=[])}},g={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-popover",{attrs:{placement:"bottom",title:"",width:"350",trigger:"click"},model:{value:e.storeVisible,callback:function(t){e.storeVisible=t},expression:"storeVisible"}},[a("div",{staticClass:"daily-store-select"},[a("div",{staticClass:"el-scrollbar define-search-select"},[a("div",{staticClass:"el-select-dropdown__wrap el-scrollbar__wrap",staticStyle:{"margin-bottom":"-5px","margin-right":"-5px"}},[a("el-checkbox-group",{on:{change:e.handleStoresChange},model:{value:e.dailyRuleForm.tags,callback:function(t){e.$set(e.dailyRuleForm,"tags",t)},expression:"dailyRuleForm.tags"}},[a("ul",{staticClass:"el-scrollbar__view el-select-dropdown__list"},[e._l(e.tags,function(t){return a("li",{key:t.tagId,staticClass:"el-select-dropdown__item"},[a("el-checkbox",{attrs:{label:t.tagId}},[e._v(e._s(t.tagName))])],1)}),e._v(" "),e.tags.length?e._e():a("li",{staticClass:"text-center el-select-dropdown__item"},[a("span",[e._v("暂无门店标签")])])],2)])],1),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-horizontal"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateX(0%)"}})]),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-vertical"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateY(0%)"}})])])]),e._v(" "),a("div",{staticClass:"flex-column item-cell-select inline-block ",attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",style:{width:e.width}},[e.dailyRuleForm.tags.length?e._e():a("span",{staticClass:"font-14 color-c0c4cc p-l-10",staticStyle:{display:"inline-block","line-height":"32px",color:"#c0c4cc"}},[e._v("请选择门店标签")]),e._v(" "),a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"348px"}},[a("span",{staticStyle:{display:"block"}},[e._l(e.selectTags,function(t,s){return[a("span",{key:s+"tag",staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.tagName))]),e._v(" "),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(t){t.stopPropagation(),e.delDepart(s,e.selectTags)}}})])]})],2)])])])])])},staticRenderFns:[]};var h=a("VU/8")(m,g,!1,function(e){a("M5nA")},"data-v-65c7b2aa",null).exports,f=a("3E4D"),b={name:"chat-log",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},components:{selectCard:p,gicSelectGroup:l.a,gicSelectStore:o.a,gicSelectTag:h},data:function(){var e=this;return{activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"3",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",selectCoupCard:{},loadingPage:!0,formData:{id:"",coupCardId:this.$route.query.coupCardId?this.$route.query.coupCardId:"",sendRange:"0",selectList:[],eachSendTimes:3,sendType:"0",totalSendTimes:0},rules:{coupCardId:[{required:!0,message:"请选择卡券",trigger:"change"}],sendRange:[{validator:function(t,a,s){return""==a?s(new Error("请选择发送范围")):"1"!=a&&"2"!=a||e.formData.selectList.length?void s():s(new Error("请选择发送范围"))},trigger:"change"}],sendType:[{validator:function(t,a,s){return""==a?s(new Error("请选择券发放总数")):"1"!=a||e.formData.totalSendTimes?void s():s(new Error("请选择券发放总数"))},trigger:"change"}],eachSendTimes:[{required:!0,message:"请输入券发放张数",trigger:"blur"}]},cardSelectShow:!1,addTag:!0,loadingBtn:!1}},methods:{returnTags:function(e){this.formData.selectList=JSON.parse(r()(e))},returnStores:function(e){this.formData.selectList=JSON.parse(r()(e))},checkGroupIds:function(e){this.formData.selectList=JSON.parse(r()(e))},showCard:function(){this.cardSelectShow=!0},closeCard:function(){this.cardSelectShow=!1},returnId:function(e,t){this.formData.coupCardId=e,this.selectCoupCard=t,this.cardSelectShow=!1,this.$refs.ruleForm.validate(function(e){if(e)return!1})},submitForm:Object(c.a)(function(e,t){var a=this;return!!("1"!=a.formData.sendRange&&"2"!=a.formData.sendRange&&"3"!=a.formData.sendRange||a.formData.selectList.length)&&(!("1"==a.formData.sendType&&!a.formData.totalSendTimes)&&(a.loadingBtn=!0,void a.$refs[e].validate(function(e){e?a.postSaveCard(t):a.loadingBtn=!1})))},300),postSaveCard:function(e){var t=this,a="";1==t.formData.sendRange?a=t.formData.selectList.map(function(e){return e.storeGroupId}).join(","):2==t.formData.sendRange?a=t.formData.selectList.join(","):3==t.formData.sendRange&&(a=t.formData.selectList.map(function(e){return e.tagId}).join(","));var s={id:t.formData.id,coupCardId:t.formData.coupCardId,sendRange:t.formData.sendRange,selectList:a,eachSendTimes:t.formData.eachSendTimes||"0",sendType:t.formData.sendType,totalSendTimes:t.formData.totalSendTimes,gicEnterpriseId:t.brandId,wxEnterpriseId:t.wxEnterpriseId};Object(i.d)(t.$route.query.coupCardId&&!t.addTag?"/haoban-app-customer-web/cardCoupon/edit-card-coup":"/haoban-app-customer-web/cardCoupon/add-card-coup",s).then(function(a){var s=a.data;t.loadingBtn=!1,1==s.errorCode&&(f.a.showmsg(t.$route.query.coupCardId?"编辑卡券成功":"新建卡券成功","success"),e?(t.addTag=!0,t.formData={id:"",coupCardId:"",sendRange:"0",selectList:[],eachSendTimes:3,sendType:"0",totalSendTimes:0},t.selectCoupCard={}):t.$router.push("/cardList")),n.a.errorMsg(s)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},toReturn:function(){var e=this;e.$confirm("是否确认返回,返回后当前页面内容将丢失","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.$router.push("/onlineChatSet?activeTab="+e.$route.query.activeTab+"&appIcon="+e.$route.query.appIcon)}).catch(function(){})},changeRange:function(e){this.formData.selectList=[]},getCardData:function(){var e=this;e.loadingPage=!0;var t={coupCardId:e.$route.query.coupCardId,gicEnterpriseId:e.brandId};Object(i.a)("/haoban-app-customer-web/cardCoupon/find-card-coup-detail",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.detail?(a.result.list&&a.result.list.forEach(function(e){e.label=e.name,e.departmentId=e.id,e.storeGroupId=e.id,e.storeGroupName=e.name,e.departmentName=e.name,2==a.result.detail.sendRange&&(e.storeId=e.id),3==a.result.detail.sendRange&&(e.tagName=e.name,e.tagId=e.id)}),e.selectCoupCard=a.result.gicDetail,e.formData={id:a.result.detail.id,coupCardId:a.result.detail.coupCardId,sendRange:String(a.result.detail.sendRange),selectList:0!=a.result.detail.sendRange?2==a.result.detail.sendRange?a.result.list.map(function(e){return e.id}):a.result.list:[],eachSendTimes:a.result.detail.eachSendTimes,sendType:String(a.result.detail.sendType),totalSendTimes:a.result.detail.totalSendTimes},e.loadingPage=!1,!1):(e.loadingPage=!1,e.addTag=!1,f.a.showmsg("请先保存上一个商户的设置内容","warning"),!1);100013==a.errorCode&&(e.formData.coupCardId="",e.addTag=!0),e.loadingPage=!1,n.a.errorMsg(a)}).catch(function(t){e.loadingPage=!1,e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){if(e&&this.$route.query.coupCardId&&(this.addTag=!1),e&&this.$route.query.coupCardId&&!this.addTag)return this.activeBrand=e,this.getCardData(),!1;e&&(this.addTag=!0,this.formData={id:"",coupCardId:"",sendRange:"0",selectList:[],eachSendTimes:3,sendType:"0",totalSendTimes:0},this.selectCoupCard={})},activeGroupId:function(e,t){e&&(this.activeGroup=e)}},mounted:function(){this.$emit("showTab","1"),this.activeBrand=this.brandId,this.$route.query.coupCardId&&this.brandId?(this.addTag=!1,this.getCardData()):this.loadingPage=!1}},v={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{directives:[{name:"loading",rawName:"v-loading",value:e.loadingPage,expression:"loadingPage"}],staticClass:"common-right-wrap"},[a("div",{staticClass:"new-card-body border-box"},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.formData,rules:e.rules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"选择卡券",prop:"coupCardId"}},[e.formData.coupCardId?a("div",{staticClass:"selected-card-body flex"},[a("div",{staticClass:"selected-card font-14 color-909399"},[e._v(e._s(e.selectCoupCard.cardName)+" | "+e._s(e.selectCoupCard.effectDateString)+" | 限制"+e._s(e.selectCoupCard.cardLimit)+"张/人 | 适用门店:"+e._s(0==e.selectCoupCard.storeMode?"所有门店":1==e.selectCoupCard.storeMode?"部分分组":"部分门店")+" | 库存:"+e._s(e.selectCoupCard.couponStock))]),e._v(" "),a("el-button",{staticClass:"m-l-10",attrs:{type:"text"},on:{click:e.showCard}},[e._v("重新选择")])],1):a("div",{staticClass:"card-add-btn text-center cursor-pointer",on:{click:e.showCard}},[a("span",{staticClass:"el-icon-plus font-12 color-909399"}),a("span",{staticClass:"font-14 color-909399 p-l-8"},[e._v("添加卡券")])])]),e._v(" "),a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"卡券的发送范围设置",placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("选择发送范围")])])],1),e._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("el-radio",{attrs:{label:"0"},on:{change:e.changeRange},model:{value:e.formData.sendRange,callback:function(t){e.$set(e.formData,"sendRange",t)},expression:"formData.sendRange"}},[e._v("所有门店")]),e._v(" "),a("el-radio",{staticClass:"m-l-40 m-r-8",attrs:{label:"1"},on:{change:e.changeRange},model:{value:e.formData.sendRange,callback:function(t){e.$set(e.formData,"sendRange",t)},expression:"formData.sendRange"}},[e._v("部分分组")]),e._v(" "),1==e.formData.sendRange?a("div",{staticClass:"w-240 inline-block item-cell-select"},[a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:e.brandId,width:213,selectData:e.formData.selectList},on:{checkGroupIds:e.checkGroupIds}})],1):e._e(),e._v(" "),a("el-radio",{staticClass:"m-l-40 m-r-8",staticStyle:{"margin-left":"38px"},attrs:{label:"2"},on:{change:e.changeRange},model:{value:e.formData.sendRange,callback:function(t){e.$set(e.formData,"sendRange",t)},expression:"formData.sendRange"}},[e._v("部分门店")]),e._v(" "),2==e.formData.sendRange?a("div",{staticClass:"w-240 inline-block item-cell-select"},[a("gic-select-store",{attrs:{brandId:e.brandId,selectData:e.formData.selectList},on:{returnStores:e.returnStores}})],1):e._e(),e._v(" "),a("el-radio",{staticClass:"m-l-40 m-r-8",staticStyle:{"margin-left":"38px"},attrs:{label:"3"},on:{change:e.changeRange},model:{value:e.formData.sendRange,callback:function(t){e.$set(e.formData,"sendRange",t)},expression:"formData.sendRange"}},[e._v("门店标签")]),e._v(" "),3==e.formData.sendRange?a("div",{staticClass:"w-240 inline-block item-cell-select"},[a("gic-select-tag",{attrs:{brandId:e.brandId,selectData:e.formData.selectList},on:{returnTags:e.returnTags}})],1):e._e(),e._v(" "),"1"!=e.formData.sendRange&&"2"!=e.formData.sendRange&&"3"!=e.formData.sendRange||e.formData.selectList.length?e._e():a("div",{staticClass:"el-form-item__error"},[e._v("请选择发送范围")])],1)]),e._v(" "),a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"卡券限制每个会员最大发放次数",placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("券发放张数")])])],1),e._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("el-input-number",{staticClass:"w-90",attrs:{"controls-position":"right",precision:0,"step-strictly":"",step:1,min:0,max:20},model:{value:e.formData.eachSendTimes,callback:function(t){e.$set(e.formData,"eachSendTimes",t)},expression:"formData.eachSendTimes"}}),a("span",{staticClass:"font-14 color-c0c4cc p-l-20"},[e._v("最多20张每人")])],1)]),e._v(" "),a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"卡券发放总数,不得超过券库存数",placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("券发放总数")])])],1),e._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("el-radio",{attrs:{label:"0"},model:{value:e.formData.sendType,callback:function(t){e.$set(e.formData,"sendType",t)},expression:"formData.sendType"}},[e._v("无限制")]),e._v(" "),a("el-radio",{staticClass:"m-l-40",attrs:{label:"1"},model:{value:e.formData.sendType,callback:function(t){e.$set(e.formData,"sendType",t)},expression:"formData.sendType"}},[e._v("限制总数")]),1==e.formData.sendType?a("el-input-number",{staticClass:"m-l-10",attrs:{"controls-position":"right",precision:0,"step-strictly":"",step:1,min:1,max:999999999},model:{value:e.formData.totalSendTimes,callback:function(t){e.$set(e.formData,"totalSendTimes",t)},expression:"formData.totalSendTimes"}}):e._e(),e._v(" "),1!=e.formData.sendType||e.formData.totalSendTimes?e._e():a("div",{staticClass:"el-form-item__error"},[e._v("\n 请选择券发放总数\n ")])],1)]),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",loading:e.loadingBtn},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("确认"+e._s(e.$route.query.coupCardId&&!e.addTag?"编辑":"新建"))]),e._v(" "),e.$route.query.coupCardId?e._e():a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm","flag")}}},[e._v("确认并继续新建")])],1)],1)],1),e._v(" "),e.cardSelectShow?a("select-card",{attrs:{coupCardId:e.formData.coupCardId,brandId:e.brandId},on:{closeCard:e.closeCard,returnId:e.returnId}}):e._e()],1)},staticRenderFns:[]};var C=a("VU/8")(b,v,!1,function(e){a("7CVT")},"data-v-5d58bf60",null);t.default=C.exports},"7CVT":function(e,t){},M5nA:function(e,t){},RUVm:function(e,t){},SUXL:function(e,t){},mOmb:function(e,t,a){"use strict";var s=a("mvHQ"),r=a.n(s),o=a("P9l9"),l=a("Ch4/"),n=a("PI0u"),i={name:"gic-select-store",props:{width:{type:String,default:function(){return"357px"}},selectData:{type:[Object,Array],default:function(){return[]}},brandId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",enterpriseId:this.brandId,checkAll:!1,isIndeterminate:!1,searchSelect:"",storeVisible:!1,stores:[],storesCopy:[],dailyRuleForm:{stores:[]},pageNum:1,pageSize:200}},methods:{handleCheckAllChange:function(e){this.dailyRuleForm.stores=e?this.stores.map(function(e){return e.storeId}):[],this.isIndeterminate=!1,this.$emit("returnStores",this.dailyRuleForm.stores)},handleStoresChange:function(e){var t=e.length;this.checkAll=t===this.stores.length,this.isIndeterminate=t>0&&t<this.stores.length,this.$emit("returnStores",this.dailyRuleForm.stores)},toInput:Object(n.a)(function(e,t){""!=this.searchSelect&&(this.stores=[],this.pageNum=1,this.getStoreData())},500),changeVisible:function(){},checkStore:function(e){var t=this;if(e.select){e.select=!1;var a=t.dailyRuleForm.stores.indexOf(e.storeId);t.dailyRuleForm.stores.splice(a,1)}else e.select=!0,t.dailyRuleForm.stores.push(e.storeId);t.storesCopy.forEach(function(e){t.dailyRuleForm.stores.includes(e.storeId)&&(e.select=!0)})},clearSearch:function(){this.stores=[],this.pageNum=1,this.getStoreData()},getStoreData:function(){var e=this,t={searchName:e.searchSelect,gicEnterpriseId:e.brandId,pageNum:e.pageNum,pageSize:e.pageSize};Object(o.a)("/haoban-app-customer-web/cardCoupon/get-store-list",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.result&&a.result.result.forEach(function(t){t.select=!1,e.selectData.includes(t.storeId)&&(t.select=!0)}),1==e.pageNum?(e.stores=JSON.parse(r()(a.result.result))||[],e.storesCopy=JSON.parse(r()(a.result.result))||[]):a.result.result.forEach(function(t){e.stores.push(t),e.storesCopy.push(t)}),void(e.pageNum*e.pageSize<a.result.totalCount&&(e.pageNum++,e.$nextTick(function(){e.getStoreData()})));l.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e){e&&(this.checkAll=!1,this.isIndeterminate=!1,this.stores=[],this.storesCopy=[],this.searchSelect="",this.getStoreData())},selectData:function(e,t){e.length?this.dailyRuleForm.stores=JSON.parse(r()(e)):this.dailyRuleForm.stores=[]}},mounted:function(){this.brandId&&(this.stores=[],this.storesCopy=[],this.getStoreData()),this.selectData.length?this.dailyRuleForm.stores=JSON.parse(r()(this.selectData)):this.dailyRuleForm.stores=[]}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-popover",{attrs:{placement:"bottom",title:"",width:"350",trigger:"click"},model:{value:e.storeVisible,callback:function(t){e.storeVisible=t},expression:"storeVisible"}},[a("div",{staticClass:"daily-store-select"},[a("div",{staticClass:"select-search"},[a("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入门店名称",maxlength:"50",clearable:""},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchSelect);var a}},model:{value:e.searchSelect,callback:function(t){e.searchSelect=t},expression:"searchSelect"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),a("div",{staticClass:"checkbox border-box",staticStyle:{padding:"15px 20px"}},[a("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v("全选")])],1),e._v(" "),a("div",{staticClass:"el-scrollbar define-search-select"},[a("div",{staticClass:"el-select-dropdown__wrap el-scrollbar__wrap",staticStyle:{"margin-bottom":"-5px","margin-right":"-5px"}},[a("el-checkbox-group",{on:{change:e.handleStoresChange},model:{value:e.dailyRuleForm.stores,callback:function(t){e.$set(e.dailyRuleForm,"stores",t)},expression:"dailyRuleForm.stores"}},[a("ul",{staticClass:"el-scrollbar__view el-select-dropdown__list"},[e._l(e.stores,function(t){return a("li",{key:t.storeId,class:["el-select-dropdown__item",t.select?"selected hover":""]},[a("el-checkbox",{attrs:{label:t.storeId}},[e._v(e._s(t.storeName))])],1)}),e._v(" "),e.stores.length?e._e():a("li",{staticClass:"text-center"},[a("span",[e._v("暂无数据")])])],2)])],1),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-horizontal"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateX(0%)"}})]),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-vertical"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateY(0%)"}})])])]),e._v(" "),a("div",{staticClass:"show-select-num cursor-pointer w-250",attrs:{slot:"reference"},on:{click:e.changeVisible},slot:"reference"},[e._v("\n 已经选择"+e._s(e.dailyRuleForm.stores.length)+"家门店\n "),a("span",{staticClass:"el-input__suffix"},[a("span",{staticClass:"el-input__suffix-inner"},[a("i",{class:["el-select__caret el-input__icon el-icon-arrow-up",e.storeVisible?"is-reverse":""]})])])])])},staticRenderFns:[]};var d=a("VU/8")(i,c,!1,function(e){a("SUXL")},"data-v-7b2a27e4",null);t.a=d.exports}});
\ No newline at end of file
webpackJsonp([13],{"+kZ0":function(e,t,a){"use strict";var r=a("3Xzz"),o=a("Qs+A"),n=a("P9l9"),i=a("Ch4/"),s={name:"select-card-template",props:{cardTempShow:{type:Boolean,default:function(){return!1}},selectTemp:{type:[Object,Array],default:function(){return[]}}},data:function(){return{wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",dialogVisible:!1,currentPage:1,pageSize:20,total:0,tableData:[],multipleSelection:[]}},computed:{},methods:{handleSelectionChange:function(e){this.multipleSelection=e},handleClose:function(){var e=this;e.$emit("closeTemp"),e.$refs.multipleTable.clearSelection();var t=e.selectTemp.map(function(e){return e.templateId});e.$nextTick(function(){e.tableData.forEach(function(a){t.includes(a.templateId)&&e.$refs.multipleTable.toggleRowSelection(a,!0)})})},submitForm:function(){var e=this;return e.multipleSelection.length?e.multipleSelection.length>20?(e.$message.error({duration:1e3,message:"最多只能选择20个模板"}),!1):(e.$emit("returnData",e.multipleSelection),void e.$nextTick(function(){var t=e.selectTemp.map(function(e){return e.templateId});e.$nextTick(function(){e.tableData.forEach(function(a){t.includes(a.templateId)&&e.$refs.multipleTable.toggleRowSelection(a,!0)})})})):(e.$message.error({duration:1e3,message:"请选择模板"}),!1)},changeRoute:function(e){this.$router.push(e)},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this,a={wxEnterpriseId:t.wxEnterpriseId};Object(n.a)("/haoban-app-customer-web/inner/list-template",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result||[],!1;i.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},initData:function(){var e=this,t=e.selectTemp.map(function(e){return e.templateId});e.$nextTick(function(){e.$refs.multipleTable.clearSelection(),e.tableData.forEach(function(a){t.includes(a.templateId)&&e.multipleSelection.push(a)}),e.tableData.forEach(function(a){t.includes(a.templateId)&&e.$refs.multipleTable.toggleRowSelection(a,!0)})})}},watch:{cardTempShow:function(e){this.dialogVisible=e},selectTemp:function(e,t){}},mounted:function(){this.dialogVisible=this.cardTempShow,this.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:r.a,setDepartment:o.a}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:"选择模板",visible:e.dialogVisible,width:"700px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t},open:e.initData}},[a("div",{},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{height:"450",data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),a("el-table-column",{attrs:{label:"卡券模板名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.templateName))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券类型","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.cardType?a("span",[e._v("抵金券")]):e._e(),e._v(" "),1==t.row.cardType?a("span",[e._v("折扣券")]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"提交人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.commitName)+"\n ")]}}])})],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.handleClose}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("确定")])],1)])},staticRenderFns:[]};var c=a("VU/8")(s,l,!1,function(e){a("mJb1")},"data-v-36b2a510",null);t.a=c.exports},"9db3":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("mvHQ"),o=a.n(r),n=a("l46T"),i=a("+kZ0"),s=a("ja1h"),l=a("P9l9"),c=a("3E4D"),d=a("Ch4/"),p=a("PI0u"),u={name:"chat-log",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},components:{limitInput:n.a,selectCardTemplate:i.a,selectWxDepart:s.a},data:function(){var e=this;return{activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"3",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",timeOptions:[{label:"15分钟后",value:"15"},{label:"30分钟后",value:"30"},{label:"1小时后",value:"60"},{label:"3小时后",value:"180"}],formData:{repairId:"",cardCombineName:"",cardTemplateJson:[],sendRange:"0",positionFlag:!1,noPosition:!1,positionNames:[],departmentJson:[],fixdType:"0",fixdTimes:"15"},cardErr:!1,rules:{cardCombineName:[{required:!0,message:"请输入卡券组合名称",trigger:"blur"}],cardTemplateJson:[{type:"array",required:!0,message:"请至少选择一个卡券模板",trigger:"change"}]},choiceDateCopy:[],pickerOptions:{onPick:function(t){var a=t.maxDate,r=t.minDate;e.choiceDateCopy=[r.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-31536e6,r=e.choiceDateCopy[0]+31536e6;return t.getTime()<a||t.getTime()>r||t.getTime()<Date.now()-864e5}return t.getTime()<Date.now()-864e5}},dateOptions:[],monthOptions:[],inputVisible:!1,inputValue:"",cardTempShow:!1,departShow:!1,loadingBtn:!1}},methods:{showDepartDilog:function(){this.departShow=!0},delDepart:function(e,t){t.splice(e,1)},changeNoPosition:function(e){if(e&&this.formData.positionNames.length>=50)return this.$message.error({duration:1e3,message:"最多可添加50个职务"}),this.formData.noPosition=!1,!1;e?this.formData.positionNames.push("-1"):this.formData.positionNames.splice(this.formData.positionNames.indexOf("-1"),1)},changeSendType:function(){1==this.formData.sendRange?this.departShow=!0:(this.formData.departmentJson=[],this.departShow=!1)},clickSendType:function(){if(this.$route.query.repairId)return!1;this.departShow=!0},refreshData:function(e){if(this.departShow=!1,"close"==e)return!1;this.formData.departmentJson=e},cancelEdit:function(){var e=this;e.$confirm("是否确认返回,返回后当前页面内容将丢失","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.$router.go(-1)}).catch(function(){})},showCardTemp:function(){if(this.$route.query.repairId)return!1;this.cardTempShow=!0},returnData:function(e){e.forEach(function(e){e.effectiveType="0",e.dateRange=[],e.sendNumberDay="0",e.effectiveDay="366",e.sendLimit="50000"});var t=e.map(function(e){return e.templateId}),a=[];this.formData.cardTemplateJson.forEach(function(e){t.includes(e.templateId)&&a.push(e)}),e.forEach(function(e){a.forEach(function(t){e.templateId==t.templateId&&(e.effectiveType=t.effectiveType,e.dateRange=t.dateRange,e.sendNumberDay=t.sendNumberDay,e.effectiveDay=t.effectiveDay)})}),this.formData.cardTemplateJson=JSON.parse(o()(e)),this.cardTempShow=!1},closeTemp:function(){this.cardTempShow=!1},handleClose:function(e){this.formData.positionNames.splice(this.formData.positionNames.indexOf(e),1)},showInput:function(){var e=this;if(e.formData.positionNames.length>=50)return e.$message.error({duration:1e3,message:"最多可添加50个职务"}),!1;e.inputVisible=!0,e.$nextTick(function(t){e.$refs.saveTagInput.$refs.input.focus()})},handleInputConfirm:function(){var e=this.inputValue;e&&this.formData.positionNames.push(e),this.inputVisible=!1,this.inputValue=""},toDelTemp:function(e,t,a){a.splice(e,1)},handleDay:function(){for(var e=[],t=0;t<91;t++)0==t?e.push({label:"当天",value:String(t)}):e.push({label:"第"+t+"天",value:String(t)});this.dateOptions=e,this.monthOptions=[];for(var a=1;a<13;a++)this.monthOptions.push({label:a+"月",value:String(a)})},submitForm:Object(p.a)(function(e,t){var a=this;if(!a.formData.cardTemplateJson)return!1;var r=!0;return a.formData.cardTemplateJson.forEach(function(e){0!=e.effectiveType||e.dateRange&&e.dateRange.length&&e.dateRange[0]||(e.dateRange=[],r=!1),e.startTimeString=e.dateRange?e.dateRange[0]:"",e.endTimeString=e.dateRange?e.dateRange[1]:""}),r?a.formData.cardTemplateJson.length?(a.cardErr=!1,1!=a.formData.sendRange||a.formData.departmentJson.length?(a.loadingBtn=!0,void a.$refs[e].validate(function(e){e?a.postSaveCard(t):a.loadingBtn=!1})):(a.$message.error({duration:1e3,message:"请先选择发送的部门"}),!1)):(a.cardErr=!0,!1):(a.$message.error({duration:1e3,message:"请先选择模板有效期"}),!1)},1e3),postSaveCard:function(e){var t=this,a={repairId:t.formData.repairId,cardCombineName:t.formData.cardCombineName,cardTemplateJson:o()(t.formData.cardTemplateJson),sendRange:t.formData.sendRange,positionFlag:t.formData.positionFlag?1:0,positionNames:t.formData.positionNames.length?t.formData.positionNames.join(","):"",departmentJson:o()(t.formData.departmentJson),fixdTimes:t.formData.fixdTimes,wxEnterpriseId:t.wxEnterpriseId};Object(l.d)((t.$route.query.repairId,"/haoban-app-customer-web/inner/save-repair"),a).then(function(a){var r=a.data;t.loadingBtn=!1,1==r.errorCode&&(c.a.showmsg(t.$route.query.repairId?"编辑卡券策略成功":"新建卡券策略成功","success"),e?(t.formData={repairId:"",cardCombineName:"",cardTemplateJson:[],sendRange:"0",positionFlag:!1,noPosition:!1,positionNames:[],departmentJson:[],fixdType:"0",fixdTimes:"15"},t.choiceDateCopy=[]):t.$router.push("/cardPut")),d.a.errorMsg(r)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getCardData:function(){var e=this,t={repairId:e.$route.query.repairId};Object(l.a)("/haoban-app-customer-web/inner/find-repair",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.cardTemplateRelateds.forEach(function(e){e.effectiveType=String(e.effectiveType),e.dateRange=[e.startTimeString?e.startTimeString:"",e.endTimeString?e.endTimeString:""]}),e.formData={repairId:a.result.repairId,cardCombineName:a.result.cardCombineName,cardTemplateJson:a.result.cardTemplateRelateds||[],sendRange:String(a.result.sendRange),positionFlag:1==a.result.positionFlag,positionNames:a.result.positionNames.length?a.result.positionNames.split(","):[],departmentJson:a.result.departmentRelateds||[],fixdType:"0",fixdTimes:String(a.result.fixdTimes)},!1;d.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){e&&this.$route.query.repairId&&(this.activeBrand=e,this.getCardData())},activeGroupId:function(e,t){e&&(this.activeGroup=e)}},mounted:function(){var e=this;e.$emit("showTab","3"),e.$nextTick(function(){e.handleDay()}),e.$route.query.repairId&&e.getCardData()}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"new-card-body border-box"},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.formData,rules:e.rules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"卡券组合名称",prop:"cardCombineName"}},[a("limitInput",{attrs:{inputWidth:340,disflag:!!e.$route.query.repairId,inputValue:e.formData.cardCombineName,getByType:"word",holder:"请输入卡券组合名称",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.formData,"cardCombineName",t)}}})],1),e._v(" "),a("div",{staticClass:"item-title font-14 color-303133 font-w-600"},[e._v("卡券选择策略")]),e._v(" "),a("div",{staticClass:"el-form-item el-form-item--large is-required"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"支持多选,最多可选20个模板",placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("选择卡券模板")])])],1),e._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("div",{class:["card-add-btn text-center ",e.$route.query.repairId?"cursor-not-allowed":"cursor-pointer"],on:{click:e.showCardTemp}},[a("span",{staticClass:"font-14 color-606266"},[e._v("选择卡券模板")])]),e._v(" "),e.formData.cardTemplateJson.length?a("div",{staticClass:"m-t-20"},[a("el-table",{staticClass:"select-table",style:{width:"100%"},attrs:{"max-height":"450",data:e.formData.cardTemplateJson,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"卡券模板名称","min-width":"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.templateName))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.cardType?a("span",[e._v("抵金券")]):e._e(),e._v(" "),1==t.row.cardType?a("span",[e._v("折扣券")]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"有效期",width:"505"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-select",{staticClass:"w-100",attrs:{disabled:!!e.$route.query.repairId,placeholder:""},model:{value:t.row.effectiveType,callback:function(a){e.$set(t.row,"effectiveType",a)},expression:"scope.row.effectiveType"}},[a("el-option",{attrs:{label:"固定日期",value:"0"}}),e._v(" "),a("el-option",{attrs:{label:"发送后",value:"1"}})],1),0==t.row.effectiveType?a("el-date-picker",{staticClass:"m-l-10 w-300 vertical-middle",attrs:{disabled:!!e.$route.query.repairId,"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:e.changeDate},model:{value:t.row.dateRange,callback:function(a){e.$set(t.row,"dateRange",a)},expression:"scope.row.dateRange"}}):e._e(),e._v(" "),1==t.row.effectiveType?a("el-select",{staticClass:"w-100 m-l-10",attrs:{disabled:!!e.$route.query.repairId,placeholder:"请选择"},model:{value:t.row.sendNumberDay,callback:function(a){e.$set(t.row,"sendNumberDay",a)},expression:"scope.row.sendNumberDay"}},e._l(e.dateOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})):e._e(),1==t.row.effectiveType?a("span",{staticClass:"font-14 color-606266 p-l-10"},[e._v("有效,有效天数")]):e._e(),1==t.row.effectiveType?a("el-input-number",{staticClass:"w-100 m-l-10",attrs:{"controls-position":"right",min:1,max:366},model:{value:t.row.effectiveDay,callback:function(a){e.$set(t.row,"effectiveDay",a)},expression:"scope.row.effectiveDay"}}):e._e(),1==t.row.effectiveType?a("span",{staticClass:"font-14 color-606266 p-l-10"},[e._v("天")]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"发送总数",width:"350"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.sendLimit)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{disabled:!!e.$route.query.repairId,type:"text"},on:{click:function(a){e.toDelTemp(t.$index,t.row,e.formData.cardTemplateJson)}}},[e._v("删除")])]}}])})],1)],1):e._e(),e._v(" "),!e.formData.cardTemplateJson.length&&e.cardErr?a("div",{staticClass:"el-form-item__error"},[e._v("请选择卡券模板")]):e._e()])]),e._v(" "),a("div",{staticClass:"item-title font-14 color-303133 font-w-600"},[e._v("执行策略")]),e._v(" "),a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"卡券的发送范围设置",placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("发送范围")])])],1),e._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("el-radio",{attrs:{disabled:!!e.$route.query.repairId,label:"0"},on:{change:e.changeSendType},model:{value:e.formData.sendRange,callback:function(t){e.$set(e.formData,"sendRange",t)},expression:"formData.sendRange"}},[e._v("全企业")]),a("el-radio",{staticClass:"m-l-40",attrs:{disabled:!!e.$route.query.repairId,label:"1"},on:{change:e.changeSendType},model:{value:e.formData.sendRange,callback:function(t){e.$set(e.formData,"sendRange",t)},expression:"formData.sendRange"}},[a("span",{on:{click:e.clickSendType}},[e._v("部分部门")])]),e._v(" "),1==e.formData.sendRange?a("div",{staticClass:"flex-column item-cell-select inline-block "},[a("div",{staticClass:"depart-item-wrap",on:{click:e.showDepartDilog}},[a("div",{staticClass:"el-select el-select--large depart-item-content",staticStyle:{width:"357px"}},[e.formData.departmentJson.length?e._e():a("span",{staticClass:"font-14 color-c0c4cc p-l-10",staticStyle:{display:"inline-block","line-height":"32px",color:"#c0c4cc"}}),e._v(" "),a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"348px"}},[a("span",{staticStyle:{display:"block"}},[e._l(e.formData.departmentJson,function(t,r){return[a("span",{key:r,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.departmentName))]),e._v(" "),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(t){t.stopPropagation(),e.delDepart(r,e.formData.departmentJson)}}})])]})],2)]),e._v(" "),a("div",{staticClass:"count-number font-12 color-909399"},[e._v("已选"+e._s(e.formData.departmentJson.length)+"个部门")])])])]):e._e(),e._v(" "),a("div",{staticClass:"position-select"},[a("div",{staticClass:"position-check"},[a("el-checkbox",{attrs:{disabled:!!e.$route.query.repairId},model:{value:e.formData.positionFlag,callback:function(t){e.$set(e.formData,"positionFlag",t)},expression:"formData.positionFlag"}},[e._v("按职务筛选")])],1),e._v(" "),a("div",{staticClass:"position-check-tags"},[a("el-checkbox",{staticClass:"no-position-tag",attrs:{disabled:!!e.$route.query.repairId},on:{change:e.changeNoPosition},model:{value:e.formData.noPosition,callback:function(t){e.$set(e.formData,"noPosition",t)},expression:"formData.noPosition"}},[e._v("无职务")]),e._v(" "),e._l(e.formData.positionNames,function(t){return[-1!=t?a("el-tag",{key:t,attrs:{closable:"","disable-transitions":!1},on:{close:function(a){e.handleClose(t)}}},[e._v("\n "+e._s(t)+"\n ")]):e._e()]}),e._v(" "),e.inputVisible?a("el-input",{ref:"saveTagInput",staticClass:"input-new-tag",attrs:{size:"small",maxlength:"20","show-word-limit":""},on:{blur:e.handleInputConfirm},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.handleInputConfirm(t):null}},model:{value:e.inputValue,callback:function(t){e.inputValue=t},expression:"inputValue"}}):a("el-button",{staticClass:"button-new-tag",attrs:{disabled:!!e.$route.query.repairId,size:"small"},on:{click:e.showInput}},[e._v("+ 添加职务")])],2)])],1)]),e._v(" "),a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[e._v("\n 发送次数设置\n ")]),e._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("el-radio",{attrs:{label:"0"},model:{value:e.formData.fixdType,callback:function(t){e.$set(e.formData,"fixdType",t)},expression:"formData.fixdType"}},[e._v("定时发送")]),e._v(" "),a("div",{staticClass:"date-valid"},[a("el-select",{attrs:{disabled:!!e.$route.query.repairId,placeholder:"请选择"},model:{value:e.formData.fixdTimes,callback:function(t){e.$set(e.formData,"fixdTimes",t)},expression:"formData.fixdTimes"}},e._l(e.timeOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1)],1)]),e._v(" "),a("el-form-item",[a("el-button",{attrs:{disabled:!!e.$route.query.repairId,type:"primary"},on:{click:e.cancelEdit}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{disabled:!!e.$route.query.repairId,loading:e.loadingBtn,type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("确认"+e._s(e.$route.query.repairId?"编辑":"新建"))]),e._v(" "),e.$route.query.repairId?e._e():a("el-button",{attrs:{disabled:!!e.$route.query.repairId,type:"primary"},on:{click:function(t){e.submitForm("ruleForm","flag")}}},[e._v("确认并继续新建")])],1)],1)],1),e._v(" "),a("select-card-template",{attrs:{cardTempShow:e.cardTempShow,selectTemp:e.formData.cardTemplateJson},on:{returnData:e.returnData,closeTemp:e.closeTemp}}),e._v(" "),a("select-wx-depart",{attrs:{departShow:e.departShow,departArr:e.formData.departmentJson},on:{refreshData:e.refreshData}})],1)},staticRenderFns:[]};var f=a("VU/8")(u,m,!1,function(e){a("I/yg")},"data-v-14601c7e",null);t.default=f.exports},"I/yg":function(e,t){},cgKZ:function(e,t){},ja1h:function(e,t,a){"use strict";var r=a("mvHQ"),o=a.n(r),n=a("Xxa5"),i=a.n(n),s=a("exGp"),l=a.n(s),c=a("P9l9"),d=a("Ch4/"),p={name:"select-wx-depart",components:{},props:{departShow:{type:Boolean,default:function(){return!1}},departArr:{type:[Object,Array],default:function(){return[]}}},data:function(){return{selDepart:[],groupNodes:[],groupData:[],departVisible:!1,checkedKeys:this.departArr.length?this.departArr.map(function(e){return e.departmentId}):[],defaultProps:{children:"children",label:"departmentName",isLeaf:"isLeaf"},checkList:[]}},methods:{loadNode:function(e,t){var a=this;return l()(i.a.mark(function r(){var o;return i.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(o=a,0!==e.level){r.next=5;break}return r.abrupt("return",t(o.getGroup()));case 5:return r.next=7,o.getGroup(e,e.data,t);case 7:o.checkedKeys=o.departArr.length?o.departArr.map(function(e){return e.departmentId}):[],o.initData();case 9:case"end":return r.stop()}},r,a)}))()},checkGroup:function(e){this.groupNodes=this.$refs.groupTrees.getCheckedNodes()},toRight:function(){this.selDepart=this.$refs.groupTrees.getCheckedNodes()},toLeft:function(){var e=this,t=[];e.selDepart.forEach(function(a){e.checkList.includes(a.departmentId)||t.push(a)}),e.selDepart=t,e.$refs.groupTrees.setCheckedNodes(e.selDepart)},handleClose:function(e){this.$emit("refreshData","close"),e()},cancel:function(){this.$emit("refreshData","close")},submitForm:function(e){return this.selDepart.length?this.selDepart.length>50?(this.$message.error({duration:1e3,message:"最多可选50个部门"}),!1):void this.$emit("refreshData",this.selDepart):(this.$message.error({duration:1e3,message:"请选择部门"}),!1)},getGroup:function(e,t,a){var r=this,o={parentId:t?t.departmentId:"",isStore:0};if(e&&(!t.hasSonNode||1==t.isStore))return a([]),!1;Object(c.a)("/haoban-manage3-web/department-list-level",o).then(function(o){var n=o.data;if(1==n.errorCode)return n.result&&n.result.length&&n.result.forEach(function(e){e.expand=!1,e.children=[],e.label=e.departmentName,e.isLeaf=!e.hasSonNode}),e?(a(n.result),t.children||r.$set(t,"children",[]),t.children=n.result||[],r.$forceUpdate(),!1):(r.groupData=n.result||[],void r.initData());d.a.errorMsg(n)}).catch(function(e){r.$message.error({duration:1e3,message:e.message})})},initData:function(){var e=this;e.$nextTick(function(){e.groupNodes=e.$refs.groupTrees.getCheckedNodes()})}},watch:{departShow:function(e){this.departVisible=e},departArr:function(e){var t=this;t.checkedKeys=t.departArr.length?t.departArr.map(function(e){return e.departmentId}):[],e.length?t.selDepart=JSON.parse(o()(e)):t.selDepart=[],t.$nextTick(function(){t.$refs.groupTrees.setCheckedKeys(t.checkedKeys),t.groupNodes=t.$refs.groupTrees.getCheckedNodes()})}},mounted:function(){var e=this;e.departVisible=e.departShow,e.getGroup(),e.departArr.length?e.selDepart=JSON.parse(o()(e.departArr)):e.selDepart=[],e.checkedKeys=e.departArr.length?e.departArr.map(function(e){return e.departmentId}):[],e.$nextTick(function(){e.$refs.groupTrees.setCheckedKeys(e.checkedKeys),e.groupNodes=e.$refs.groupTrees.getCheckedNodes()})}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{width:"600px",title:"选择部门",visible:e.departVisible,"append-to-body":"","before-close":e.handleClose},on:{"update:visible":function(t){e.departVisible=t},open:e.initData}},[a("div",{staticClass:"depart-transfor"},[a("div",{staticClass:"depart-transfor-left"},[a("div",{staticClass:"transfor-header flex flex-space-between"},[a("span",{staticClass:"font-14 color-303133"},[e._v("组织架构")]),e._v(" "),a("span",{staticClass:"font-12 color-909399"})]),e._v(" "),a("div",{staticClass:"transfor-body"},[a("div",{staticClass:"transfor-body-tree"},[a("el-tree",{ref:"groupTrees",attrs:{data:e.groupData,load:e.loadNode,"default-checked-keys":e.checkedKeys,"node-key":"departmentId","check-strictly":"",lazy:"","show-checkbox":"",props:e.defaultProps},on:{check:e.checkGroup},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.node,o=t.data;return a("span",{staticClass:"custom-tree-node"},[a("span",{class:["font-14 p-r-10 iconfont",1==o.isStore?"icondianpu-kuai":"iconqiye-tianchong",1==o.bindFlag?"color-2f54eb":"color-dedfe6"]}),a("span",{staticClass:"font-14 color-606266"},[e._v(e._s(r.label))])])}}])})],1)])]),e._v(" "),a("div",{staticClass:"depart-transfor-middle"},[a("div",{staticClass:"m-b-10"},[a("el-button",{attrs:{disabled:!e.groupNodes.length,type:"primary",icon:"el-icon-arrow-right"},on:{click:e.toRight}},[e._v("转入")])],1),e._v(" "),a("div",[a("el-button",{attrs:{disabled:!e.checkList.length,type:"primary",icon:"el-icon-arrow-left"},on:{click:e.toLeft}},[e._v("移除")])],1)]),e._v(" "),a("div",{staticClass:"depart-transfor-right"},[a("div",{staticClass:"transfor-header flex flex-space-between"},[a("span",{staticClass:"font-14 color-303133"},[e._v("已选")]),e._v(" "),a("span",{staticClass:"font-12 color-909399"},[e._v(e._s(e.selDepart.length))])]),e._v(" "),a("div",{staticClass:"select-body"},[a("div",{staticClass:"select-body-list"},[a("el-checkbox-group",{model:{value:e.checkList,callback:function(t){e.checkList=t},expression:"checkList"}},[a("div",e._l(e.selDepart,function(t,r){return a("el-checkbox",{key:r+"sel",attrs:{label:t.departmentId}},[e._v(e._s(t.departmentName))])}))])],1)])])]),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.cancel}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("partForm")}}},[e._v("确定")])],1)])},staticRenderFns:[]};var m=a("VU/8")(p,u,!1,function(e){a("cgKZ")},"data-v-77b57ed9",null);t.a=m.exports},mJb1:function(e,t){}});
\ No newline at end of file
webpackJsonp([14],{"0noc":function(e,t){},"FDe+":function(e,t){},"K/YH":function(e,t){},Zx22:function(e,t,a){"use strict";var i={name:"custom-dialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:[Object,Array]}},data:function(){return{repProjectName:"haoban-web",customDialog:this.value,leftData:[],rightData:[]}},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("input",this.customDialog)},formatDate:function(e,t){function a(e){return e>9?""+e:"0"+e}var i=new Date(e),s=i.getFullYear(),o=i.getMonth()+1,n=i.getDate();return s+t+a(o)+t+a(n)+t}},watch:{value:function(e,t){this.customDialog=e},storeChangeData:function(e,t){this.leftData=e.beforeContent,this.rightData=e.afterContent}},mounted:function(){this.leftData=this.storeChangeData.beforeContent,this.rightData=this.storeChangeData.afterContent}},s={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店图片变更",visible:e.customDialog,width:"600px","before-close":e.handleCardClose},on:{"update:visible":function(t){e.customDialog=t}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[e._v("\n 变更前\n ")]),e._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[e._l(e.leftData,function(e,t){return[a("img",{key:"img"+t,attrs:{src:e,alt:""}})]})],2)])]),e._v(" "),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[e._v("\n 变更后\n ")]),e._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[e._l(e.rightData,function(e,t){return[a("img",{key:"img0"+t,attrs:{src:e,alt:""}})]})],2)])])],1)],1)])],1)},staticRenderFns:[]};var o=a("VU/8")(i,s,!1,function(e){a("0noc")},"data-v-11bbc4d7",null);t.a=o.exports},iqwF:function(e,t){},xCEU:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("//Fk"),s=a.n(i),o=a("Zx22"),n=a("Ch4/"),l=a("P9l9"),r={name:"record-list",props:{detailShow:{type:Boolean,default:!1},batchId:{type:String,default:function(){return""}},tableListData:{type:Object,default:function(){return[]}}},data:function(){return{customDialog:!1,tableData:[]}},methods:{handleClose:function(e){e(),this.hideDialog()},customCancel:function(){this.hideDialog()},hideDialog:function(){this.customDialog=!1,this.$emit("hideDetailDialog")},getTableData:function(){var e=this,t={batchId:e.batchId};Object(l.a)("/haoban-manage3-web/audit/audit-detail-list",t).then(function(t){var a=t.data;1!=a.errorCode?n.a.errorMsg(a):e.tableData=a.result||[]}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{detailShow:function(e,t){this.customDialog=e},batchId:function(e,t){e&&this.getTableData()}},mounted:function(){this.customDialog=this.detailShow,this.batchId&&this.getTableData()}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"show",rawName:"v-show",value:e.customDialog,expression:"customDialog"}]},[a("el-dialog",{staticClass:"edit-dialog",attrs:{title:"审核详情",visible:e.customDialog,width:"600px","before-close":e.handleClose},on:{"update:visible":function(t){e.customDialog=t}}},[a("div",{staticClass:"edit-dialog-body"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData,height:"332"}},[a("el-table-column",{attrs:{prop:"publishRecordId",label:"审核事项","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.auditType?a("span",[e._v("门店信息变更")]):e._e(),e._v(" "),2==t.row.auditType?a("span",[e._v("导购绑定")]):e._e(),e._v(" "),3==t.row.auditType?a("span",[e._v("导购新增")]):e._e(),e._v(" "),4==t.row.auditType?a("span",[e._v("导购删除")]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"品牌","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.enterpriseName||"--")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交人",width:"150","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.commitName||"--")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.commitTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.commitTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"审核结果","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.auditResult?"成功":"失败")+"\n ")]}}])})],1)],1)])],1)},staticRenderFns:[]};var c=a("VU/8")(r,u,!1,function(e){a("K/YH")},"data-v-f42e3bf2",null).exports,d={name:"record-list",props:{resultText:{type:String,default:""},failCount:{type:[String,Boolean],default:"0"},resultShow:{type:Boolean,default:!1}},data:function(){return{customDialog:this.resultShow}},methods:{handleClose:function(e){e(),this.hideDialog()},customCancel:function(){this.hideDialog()},hideDialog:function(){this.customDialog=!1,this.$emit("hideResultDialog")},showDetail:function(){this.$emit("showResultDetail")}},watch:{resultShow:function(e,t){this.customDialog=e}},mounted:function(){this.customDialog=this.resultShow}},f={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"show",rawName:"v-show",value:e.customDialog,expression:"customDialog"}]},[a("el-dialog",{staticClass:"edit-dialog",attrs:{title:"提示",visible:e.customDialog,width:"420px","before-close":e.handleClose},on:{"update:visible":function(t){e.customDialog=t}}},[a("div",{staticClass:"edit-dialog-body"},[a("div",{staticClass:"result-content"},[a("span",[e._v(e._s(e.resultText))]),a("span",{staticClass:"color-f5222d"},[e._v(e._s(e.failCount)+" 条失败。")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:e.showDetail}},[e._v("查看详情")])],1)])])],1)},staticRenderFns:[]};var h=a("VU/8")(d,f,!1,function(e){a("FDe+")},"data-v-6b2067f2",null).exports,p=a("3E4D"),g=a("PI0u"),v={name:"unreview",data:function(){return{wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",auditName:localStorage.getItem("userInfos")&&JSON.parse(localStorage.getItem("userInfos")).staffDTO?JSON.parse(localStorage.getItem("userInfos")).staffDTO.staffName:"",filterValue:"",filterBrand:"",brandOptions:[],searchValue:"",filterOptions:[{label:"全部事项",value:""},{label:"门店信息变更",value:"1"},{label:"导购绑定",value:"2"},{label:"导购新增",value:"3"},{label:"导购删除",value:"4"}],loading:!1,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,selectId:"",ruleForm:{refuseReason:""},rules:{refuseReason:[{required:!0,message:"拒绝理由不能为空",trigger:"change"},{min:1,max:50,message:"长度在 1 到 50 个字",trigger:"change"}]},showStoreDialog:!1,storeChangeData:{beforeContent:[],afterContent:[]},approveVisible:!1,refuseVisible:!1,detailShow:!1,resultShow:!1,tableListData:[],batchId:"",resultText:"",failCount:"0",userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentName:"",headImg:""},dialogVisible:!1,loadBtn:!1}},computed:{},methods:{clearSearch:function(){this.currentPage=1,this.getTableList()},searchEnterFun:Object(g.a)(function(e){if(!String(e.target.value).trim())return!1;this.currentPage=1,this.getTableList()},200),hideDetailDialog:function(){this.detailShow=!1},hideResultDialog:function(){this.resultShow=!1,this.getTableList()},showResultDetail:function(){this.detailShow=!0},handleSelectionChange:function(e){this.multipleSelection=e},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleClick:function(e,t,a){var i=this;if(i.selectId=t.auditId,a&&(i.refuseVisible=!0),a)return!1;i.$confirm("是否确认同意?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){i.sendApprove()}).catch(function(){i.selectId=""})},sendApprove:Object(g.a)(function(){this.postApprove(this.selectId)},500),postApprove:function(e){var t=this,a={auditId:e,auditName:t.auditName};Object(l.d)("/haoban-manage3-web/audit/audit",a).then(function(e){var a=e.data;if(1==a.errorCode)return p.a.showmsg("操作成功","success"),t.approveVisible=!1,t.currentPage=1,t.getTableList(),void t.$forceUpdate();"-888"==a.errorCode&&(t.currentPage=1,t.getTableList()),n.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},approveAll:function(){if(!(this.multipleSelection.length?this.multipleSelection.map(function(e){return e.auditId}).join(","):""))return this.$message({message:"请至少选择一条审核事项",type:"warning"}),!1;this.dialogVisible=!0},postAllApprove:function(e){var t=this;t.loadBtn=!0;var a={auditIds:e,auditName:t.auditName};Object(l.d)("/haoban-manage3-web/audit/batch-approve",a).then(function(e){var a=e.data;if(t.loadBtn=!1,1==a.errorCode)return t.dialogVisible=!1,t.batchId=a.result.batchId,t.resultText="共"+t.multipleSelection.length+"条审核事项,"+a.result.successCount+"条成功,",t.failCount=a.result.failCount,void(t.resultShow=!0);n.a.errorMsg(a)}).catch(function(e){t.loadBtn=!1,t.$message.error({duration:1e3,message:e.message})})},cancelRefuse:function(e){this.refuseVisible=!1,this.$refs.ruleForm.resetFields()},sendRefuse:Object(g.a)(function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return!1;t.postRefuse()})},500),postRefuse:function(){var e=this,t={auditName:e.auditName,auditId:e.selectId,auditReason:e.ruleForm.refuseReason};Object(l.a)("/haoban-manage3-web/audit/refuse",t).then(function(t){var a=t.data;if(1==a.errorCode)return p.a.showmsg("操作成功","success"),e.refuseVisible=!1,e.$refs.ruleForm.resetFields(),void e.getTableList();n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},showSingleInfo:function(e){var t=this,a={staffId:e};Object(l.d)("/haoban-manage3-web/get-staff-info",a).then(function(e){var a=e.data;1!=a.errorCode?n.a.errorMsg(a):t.userData=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},showStoreChange:function(e){this.storeChangeData={beforeContent:[],afterContent:[]},this.showStoreDialog=!0,this.storeChangeData={beforeContent:""!=e.oldValue?e.oldValue.split(","):[],afterContent:""!=e.newValue?e.newValue.split(","):[]}},getBrandData:function(){var e=this;Object(l.d)("/haoban-manage3-web/wx-enterprise-list",{}).then(function(t){var a=t.data;1!=a.errorCode?n.a.errorMsg(a):a.result&&a.result.length&&(e.brandOptions=a.result)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toLogin:function(){var e=this;return new s.a(function(t,a){Object(l.a)("/haoban-manage3-web/get-login-info",{}).then(function(e){var a=e.data;1!=a.errorCode?(n.a.errorMsg(a),t({wxEnterpriseId:""})):t(a.result.wxEnterpriseId)}).catch(function(a){t({wxEnterpriseId:""}),e.$message.error({duration:1e3,message:a.message})})})},getTableList:function(e){var t=this;e&&(t.currentPage=1),t.loading=!0;var a={wxEnterpriseId:t.wxEnterpriseId,auditType:t.filterValue,auditStatus:"0",auditFlag:"0",search:t.searchValue,pageNum:t.currentPage,pageSize:t.pageSize,enterpriseId:t.filterBrand};Object(l.a)("/haoban-manage3-web/audit/find-page",a).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.result||[],void(t.total=a.result.totalCount);n.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.$emit("showTab",1),this.getTableList(),this.getBrandData()},components:{storeChange:o.a,reviewResultDetail:c,reviewResult:h}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"unreview-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 126px)"}},[a("div",{staticClass:"reviewed-body-head flex flex-space-between"},[a("div",[a("el-input",{staticClass:"w-250",attrs:{maxlength:"50",placeholder:"请输入提交人姓名或门店名称","prefix-icon":"el-icon-search",clearable:""},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return a=t,e.searchEnterFun(a,e.searchInput);var a}},model:{value:e.searchValue,callback:function(t){e.searchValue=t},expression:"searchValue"}}),a("el-select",{staticClass:"w-130 m-l-10",attrs:{placeholder:"全部事项"},on:{change:e.getTableList},model:{value:e.filterValue,callback:function(t){e.filterValue=t},expression:"filterValue"}},e._l(e.filterOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),a("el-select",{staticClass:"w-168 m-l-10",attrs:{placeholder:"全部品牌"},on:{change:e.getTableList},model:{value:e.filterBrand,callback:function(t){e.filterBrand=t},expression:"filterBrand"}},[a("el-option",{attrs:{label:"全部品牌",value:""}}),e._v(" "),e._l(e.brandOptions,function(e){return a("el-option",{key:e.enterpriseId,attrs:{label:e.enterpriseName,value:e.enterpriseId}})})],2)],1),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.approveAll}},[e._v("批量同意")])],1),e._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.auditType?a("span",[e._v("门店信息变更")]):e._e(),e._v(" "),2==t.row.auditType?a("span",[e._v("导购绑定")]):e._e(),e._v(" "),3==t.row.auditType?a("span",[e._v("导购新增")]):e._e(),e._v(" "),4==t.row.auditType?a("span",[e._v("导购删除")]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex"},[a("el-popover",{attrs:{placement:"top-start",width:"300",trigger:"hover"},on:{show:function(a){e.showSingleInfo(t.row.commitStaffId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.userData.headImg?a("img",{attrs:{src:e.userData.headImg,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[e._v("\n "+e._s(e.userData.staffName||"--")+" ( "+e._s(e.userData.position||"--")+")\n ")]),e._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[e._v("手机号:")]),a("span",{staticClass:"w-130"},[e._v(e._s("86"==e.userData.nationCode?e.userData.phoneNumber:"+"+e.userData.nationCode+"-"+e.userData.phoneNumber))])]),e._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[e._v("所属部门:")]),a("span",{staticClass:"w-130"},[e._v(e._s(e.userData.departmentName||"--"))])])])])]),e._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"},[t.row.commitStaffImg?a("img",{attrs:{src:t.row.commitStaffImg,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("span",[e._v(e._s(t.row.commitStaffName||"--"))]),e._v(" "),a("span",{staticClass:"font-13",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.commitStoreName||"--"))])])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[6!=t.row.changeField?a("span",[e._v(e._s(t.row.detail))]):e._e(),e._v(" "),6==t.row.changeField?a("div",{staticClass:"line-hidden-2"},[a("span",[e._v(e._s(t.row.detail))]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.showStoreChange(t.row)}}},[e._v("查看详情")])],1):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-h-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.createTime)))]),e._v(" "),a("div",{staticClass:"line-h-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.handleClick(t.$index,t.row)}}},[e._v("同意")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.handleClick(t.$index,t.row,"refuse")}}},[e._v("拒绝")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])]),e._v(" "),a("storeChange",{attrs:{storeChangeData:e.storeChangeData},model:{value:e.showStoreDialog,callback:function(t){e.showStoreDialog=t},expression:"showStoreDialog"}}),e._v(" "),a("el-dialog",{staticClass:"approve-dialog",attrs:{title:"",visible:e.approveVisible,width:"422px"},on:{"update:visible":function(t){e.approveVisible=t}}},[a("div",{staticClass:"approve-body text-center"},[a("div",[a("i",{staticClass:"el-icon-success"}),a("span",{staticClass:"approve-icon-tip"},[e._v("同意")])]),e._v(" "),a("div",{staticClass:"approve-tip"},[e._v("是否确认同意")])]),e._v(" "),a("div",{staticClass:"approve-footer dialog-footer",staticStyle:{"text-align":"center"},attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.approveVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.sendApprove}},[e._v("确 定")])],1)]),e._v(" "),a("el-dialog",{staticClass:"refuse-dialog",attrs:{title:"提示",visible:e.refuseVisible,"before-close":e.cancelRefuse,width:"422px"},on:{"update:visible":function(t){e.refuseVisible=t}}},[a("div",[a("div",{staticClass:"refuse-tip"},[e._v("请输入拒绝理由")]),e._v(" "),a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules}},[a("el-form-item",{attrs:{label:"",prop:"refuseReason"}},[a("el-input",{staticClass:"font-14",attrs:{maxlength:"50",type:"textarea",placeholder:"最多 50 个字",rows:3},model:{value:e.ruleForm.refuseReason,callback:function(t){e.$set(e.ruleForm,"refuseReason",t)},expression:"ruleForm.refuseReason"}})],1)],1)],1),e._v(" "),a("div",{staticClass:"approve-footer dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.cancelRefuse("ruleForm")}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.sendRefuse("ruleForm")}}},[e._v("确 定")])],1)]),e._v(" "),a("review-result-detail",{attrs:{batchId:e.batchId,detailShow:e.detailShow},on:{hideDetailDialog:e.hideDetailDialog}}),e._v(" "),a("review-result",{attrs:{resultText:e.resultText,failCount:e.failCount,resultShow:e.resultShow},on:{showResultDetail:e.showResultDetail,hideResultDialog:e.hideResultDialog}}),e._v(" "),a("el-dialog",{attrs:{title:"提示",visible:e.dialogVisible,width:"30%"},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("span",[e._v("共"+e._s(e.multipleSelection.length)+"条审核事项,是否批量同意?")]),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary",loading:e.loadBtn},on:{click:function(t){e.postAllApprove(e.multipleSelection.map(function(e){return e.auditId}).join(","))}}},[e._v("确 定")])],1)])],1)},staticRenderFns:[]};var b=a("VU/8")(v,m,!1,function(e){a("iqwF")},"data-v-57296076",null);t.default=b.exports}});
\ No newline at end of file
webpackJsonp([15],{"2wsI":function(e,t){},PL8n:function(e,t){},fWmz:function(e,t){},feRM:function(e,t,a){"use strict";var s=a("//Fk"),r=a.n(s),o=a("Ch4/"),n={name:"single-upload",props:{videoSrc:{type:String,default:""},imgSrc:{type:String,default:""},field:{type:String,default:""},uploadLimit:{type:[Number,String],default:2},uploadType:{type:[Number,String],default:1}},data:function(){return{projectName:"",imgShowFlag:!1,imgUrl:"",videoFlag:!1,fileType:1==this.uploadType||2==this.uploadType?"jpg":"mp4"}},beforeMount:function(){var e=window.location.origin;-1!=e.indexOf("localhost")?this.baseUrl="http://www.gicdev.com":this.baseUrl=e},methods:{uploadUrl:function(){var e=window.location.origin,t=void 0;return t="-1"!=e.indexOf("localhost")?"http://www.gicdev.com":e,this.upUrl=t+"/haoban-manage3-web/upload-file?fileType="+this.fileType,this.upUrl},handleAvatarSuccess:function(e,t,a){1==e.errorCode?(this.videoFlag=!1,3==this.uploadType?this.$emit("update:videoSrc",e.result.url):this.$emit("update:imgSrc",e.result.url)):o.a.errorMsg(e)},beforeAvatarUpload:function(e){console.log(e),this.fileType="image/jpeg"===e.type?"jpeg":"image/jpg"===e.type?"jpg":"image/png"===e.type?"png":"video/mp4"==e.type?"mp4":"";var t="image/jpeg"===e.type||"image/jpg"===e.type||"image/png"===e.type,a="video/mp4"==e.type,s=e.size/1024/1024<this.uploadLimit;return 1!=this.uploadType&&2!=this.uploadType||t||this.$message.error("上传图片支持png、jpg、jpeg格式!"),1!=this.uploadType&&2!=this.uploadType||s||this.$message.error("上传图片大小不能超过 "+this.uploadLimit+"MB!"),3!=this.uploadType||a||this.$message.error("上传视频支持MP4格式!"),3!=this.uploadType||s||this.$message.error("上传视频大小不能超过 "+this.uploadLimit+"MB!"),3==this.uploadType?a&&s:t&&s&&new r.a(function(t,a){var s=new FileReader;s.onload=function(e){var a=new Image;a.onload=function(){this.width,this.height;t()},a.src=e.target.result},s.readAsDataURL(e)})},showImage:function(e){if(!e||""==e)return!1;this.imgShowFlag=!0,this.imgUrl=e},hideImage:function(e){this.imgShowFlag=e}}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"single-upload-wrap"},[a("el-upload",{staticClass:"avatar-uploader",attrs:{action:e.uploadUrl(),"show-file-list":!1,"on-success":e.handleAvatarSuccess,"before-upload":e.beforeAvatarUpload}},[e.imgSrc?a("img",{staticClass:"avatar",attrs:{src:e.imgSrc},on:{mouseover:function(t){e.showImage(e.imgSrc)}}}):e._e(),e._v(" "),""!=e.videoSrc&&0==e.videoFlag?a("video",{staticClass:"avatar",attrs:{src:e.videoSrc}},[e._v("您的浏览器不支持视频播放")]):e._e(),e._v(" "),e.imgSrc||e.videoSrc?e._e():a("div",[a("i",{staticClass:"el-icon-plus avatar-uploader-icon"}),e._v(" "),a("p",{staticClass:"font-12 color-606266"},[e._v(e._s(1==e.uploadType||2==e.uploadType?"上传图片":"上传视频"))])])]),e._v(" "),1==e.uploadType?a("p",{staticClass:"upload-tip color-909399 font-12"},[e._v("\n 图片支持png、jpg、jpeg格式,大小不超过2M,可上传1张\n ")]):e._e(),e._v(" "),2==e.uploadType?a("p",{staticClass:"upload-tip color-909399 font-12"},[e._v("\n 建议尺寸:160×160;支持jpg、jpeg、png格式,图片大小不超过1MB\n ")]):e._e(),e._v(" "),3==e.uploadType?a("p",{staticClass:"upload-tip color-909399 font-12"},[e._v("\n 视频支持MP4格式,大小不超过10M,上传企业微信后3天内有效\n ")]):e._e()],1)},staticRenderFns:[]};var c=a("VU/8")(n,i,!1,function(e){a("fWmz")},"data-v-79a9100a",null);t.a=c.exports},x5Fx:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("c9no"),r=a("mvHQ"),o=a.n(r),n=a("fZjL"),i=a.n(n),c=a("feRM"),l=a("l46T"),p=a("Kkt8"),d=a("PI0u"),u=a("P9l9"),m=a("3E4D"),f=a("Ch4/"),h={props:{editRow:{type:Object,default:function(){return{}}},categoryId:{type:Object,default:function(){return""}}},components:{limitInput:l.a,limitTextarea:p.a,singleUpload:c.a},data:function(){return{editPersion:localStorage.getItem("userName"),dialogVisible:!0,ruleForm:{secretName:"",secretVal:"",enterpriseId:"",secretId:"",enterpriseName:""},rules:{secretName:[{required:!0,message:"请输入小程序名称",trigger:"blur"}],secretVal:[{required:!0,message:"请输入secret",trigger:"blur"}],enterpriseId:[{required:!0,message:"请选择关联商户",trigger:"change"}]},brandOptions:[]}},methods:{getBrandData:function(){var e=this;Object(u.d)("/haoban-manage3-web/wx-enterprise-list",{}).then(function(t){var a=t.data;1!=a.errorCode?f.a.errorMsg(a):a.result&&a.result.length&&(e.brandOptions=a.result)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toCancel:function(){this.$emit("closeText"),this.$refs.ruleForm.resetFields()},handleClose:function(e){this.$emit("closeText"),this.$refs.ruleForm.resetFields()},submitForm:Object(d.a)(function(e){var t=this;t.$refs[e].validate(function(e){e&&t.postSave()})},300),postSave:function(){var e=this,t={secretId:e.ruleForm.secretId,secretName:e.ruleForm.secretName,enterpriseId:e.ruleForm.enterpriseId,memberSecret:e.ruleForm.secretVal};Object(u.d)("/haoban-manage3-web/wx-enterprise-member-secret-set",t).then(function(t){var a=t.data;1==a.errorCode?(m.a.showmsg("操作成功","success"),e.$refs.ruleForm.resetFields(),e.$emit("submitText")):(e.$refs.ruleForm.resetFields(),e.$emit("submitText"),f.a.errorMsg(a))}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{editRow:function(e){var t=this;i()(e).length&&t.$nextTick(function(){t.ruleForm=JSON.parse(o()(e))})}},mounted:function(){var e=this;e.getBrandData(),i()(e.editRow).length&&e.$nextTick(function(){e.ruleForm=JSON.parse(o()(e.editRow))})}},b={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:e.editRow.materialId?"编辑":"新建",visible:e.dialogVisible,width:"600px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"小程序名称",prop:"secretName"}},[a("limitInput",{attrs:{inputWidth:402,inputValue:e.ruleForm.secretName,holder:"请输入小程序名称",getByType:"word",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"secretName",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"secret",prop:"secretVal"}},[a("limitInput",{attrs:{inputWidth:402,inputValue:e.ruleForm.secretVal,holder:"请输入secret",getByType:"word",maxLength:80},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"secretVal",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"关联商户",prop:"enterpriseId"}},[a("el-select",{staticClass:"w-402",attrs:{placeholder:"全部品牌"},model:{value:e.ruleForm.enterpriseId,callback:function(t){e.$set(e.ruleForm,"enterpriseId",t)},expression:"ruleForm.enterpriseId"}},e._l(e.brandOptions,function(t){return a("el-option",{key:t.enterpriseId,staticClass:"mult-line-select",attrs:{label:t.enterpriseName,value:t.enterpriseId}},[a("p",{staticClass:"line-20"},[e._v(e._s(t.enterpriseName))]),e._v(" "),a("div",{staticClass:"line-20 font-12 color-909399"},[e._v(e._s(t.brandName||"--"))])])}))],1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.toCancel}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("确定")])],1)])},staticRenderFns:[]};var g=a("VU/8")(h,b,!1,function(e){a("PL8n")},"data-v-40a5815e",null).exports,v={props:{},data:function(){return{checkShow:!0,tipText:"请在企业密钥维护中输入对应的secret",tableH:window.screen.availHeight-464-126,wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",companyObj:{smallVersion:"",corpName:"",corpid:"",contactFlag:!1,verifiedEndTime:"",corpIndustry:"",corpSubIndustry:"",corpUserMax:"",location:""},wxObj:{secretType:1,secretVal:"",checkFlag:0,updateTime:null},contactObj:{secretType:2,secretVal:"",checkFlag:0,updateTime:null},haobanObj:{secretType:3,secretVal:"",checkFlag:0,updateTime:null},showWxError:!1,showContactError:!1,showHaobanError:!1,tableData:[],addShow:!1,editRow:{},wxShow:!1,wxDate:""}},computed:{},methods:{refeshDataWx:Object(d.a)(function(){var e=this,t={wxEnterpriseId:e.wxEnterpriseId};Object(u.a)("/haoban-manage3-web/fresh-wx-friend",t).then(function(e){var t=e.data;if(1==t.errorCode)return m.a.showmsg("刷新成功","success"),!1;f.a.errorMsg(t)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},300),getRefreshTime:function(){var e=this,t={wxEnterpriseId:e.wxEnterpriseId};Object(u.a)("/haoban-manage3-web/get-fresh-detail",t).then(function(t){var a=t.data;if(1==a.errorCode)return e.wxDate=a.result||"",!1;f.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getRefreshShow:function(){var e=this,t={wxEnterpriseId:e.wxEnterpriseId};Object(u.a)("/haoban-manage3-web/get-fresh-on-off",t).then(function(t){var a=t.data;if(1==a.errorCode)return e.wxShow=a.result||!1,!1;f.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},addSecret:function(){this.addShow=!0,this.editRow={}},toEdit:function(e,t){this.addShow=!0,this.editRow=t},closeText:function(){this.addShow=!1,this.editRow={}},submitText:function(){this.addShow=!1,this.editRow={},this.getSecretData()},toDel:function(e,t){var a=this;a.$confirm("确定删除当前小程序信息?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,s={secretId:t.secretId};Object(u.d)("/haoban-manage3-web/member-secret-del",s).then(function(e){var t=e.data;if(1==t.errorCode)return m.a.showmsg("删除成功","success"),void a.getSecretData();a.getSecretData(),f.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},saveSecret:Object(d.a)(function(e){var t={};return 1==e&&(t.wxSecretKey=String(this.wxObj.secretVal).trim(),this.showWxError=!this.wxObj.secretVal),2==e&&(t.contactSecret=String(this.contactObj.secretVal).trim()),(2!=e||""!=t.contactSecret)&&(3==e&&(t.contactSecret=String(this.haobanObj.secretVal).trim(),this.showHaobanError=!this.haobanObj.secretVal),(1!=e||!this.showWxError)&&((3!=e||!this.showHaobanError)&&void this.postSaveSecret(e,t)))},300),postSaveSecret:function(e,t){var a=this,s=1==e?"/wx-enterprise-wx-secret-set":2==e?"wx-enterprise-contact-secret-set":"wx-enterprise-haoban-secret-set";Object(u.d)("/haoban-manage3-web/"+s,t).then(function(e){var t=e.data;if(1==t.errorCode)return m.a.showmsg("操作成功","success"),a.getSecretData(),!1;a.getSecretData(),f.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},refeshData:Object(d.a)(function(){this.refreshData()},300),refreshData:function(e){var t=this,a={wxEnterpriseId:t.wxEnterpriseId};Object(u.a)("/haoban-manage3-web/wxEnterprise-refresh",a).then(function(e){var a=e.data;if(1==a.errorCode)return m.a.showmsg("刷新成功","success"),t.companyObj=a.result,!1;f.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getSecretData:function(){var e=this,t={wxEnterpriseId:e.wxEnterpriseId};Object(u.a)("/haoban-manage3-web/secret-list",t).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=[],a.result&&a.result.length&&a.result.forEach(function(t){1==t.secretType&&(e.wxObj=t),2==t.secretType&&(e.contactObj=t),3==t.secretType&&(e.haobanObj=t),4==t.secretType&&e.tableData.push(t)}),!1;f.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getData:function(e){var t=this,a={wxEnterpriseId:t.wxEnterpriseId};Object(u.a)("/haoban-manage3-web/wxEnterprise-detail",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.companyObj=a.result,!1;f.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getTipData:function(){var e=this;Object(u.a)("/haoban-manage3-web/is-wx-enterprise-secret-set",{}).then(function(t){var a=t.data;1!=a.errorCode?f.a.errorMsg(a):e.checkShow=a.result}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.$emit("showTab",1),document.documentElement.style.backgroundColor="#f0f2f5",this.getData(),this.getSecretData(),this.getTipData(),this.getRefreshShow(),this.getRefreshTime()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{setTip:s.a,secretSet:g}},w={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"daily-set-wrap "},[a("div",{staticClass:"company-set-content border-box"},[a("div",{staticClass:"company-title m-b-20 flex flex-space-between"},[a("div",{staticClass:"line-h-32"},[a("span",{staticClass:"color-303133 font-14 font-w-600"},[e._v("企业微信基本信息")]),a("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:e.refeshData}},[e._v("同步刷新 ")])],1),e._v(" "),a("div",[e.checkShow?e._e():a("set-tip",{attrs:{tipText:e.tipText}})],1)]),e._v(" "),a("div",{staticClass:"company-info-body"},[a("el-form",{ref:"form",attrs:{model:e.form,"label-width":"105px"}},[a("el-form-item",{attrs:{label:"企业名称"}},[a("span",{staticClass:"font-14 color-303133 p-r-10"},[e._v(e._s(e.companyObj.corpName))]),e._v(" "),a("el-tag",[e._v(" "+e._s(1==e.companyObj.contactFlag?"已认证":"未认证"))]),1==e.companyObj.contactFlag?a("span",{staticClass:"p-l-10 font-12 color-909399"},[e._v("认证到期 "+e._s(e._f("timeStampToYmd")(e.companyObj.verifiedEndTime)))]):e._e()],1),e._v(" "),a("el-form-item",{attrs:{label:"企业ID"}},[a("span",{staticClass:"font-14 color-303133"},[e._v(e._s(e.companyObj.corpid))])]),e._v(" "),a("el-form-item",{attrs:{label:"行业类型"}},[a("span",{staticClass:"font-14 color-303133"},[e._v(e._s(e.companyObj.corpIndustry)+" / "+e._s(e.companyObj.corpSubIndustry))])]),e._v(" "),a("el-form-item",{attrs:{label:"人员规模"}},[a("span",{staticClass:"font-14 color-303133"},[e._v(e._s(e.companyObj.corpScale))])]),e._v(" "),a("el-form-item",{attrs:{label:"地址"}},[a("span",{staticClass:"font-14 color-303133"},[e._v(e._s(e.companyObj.location))])])],1)],1),e._v(" "),e._m(0),e._v(" "),a("div",{staticClass:"company-info-body secret-body"},[a("div",{staticClass:"m-b-20 secret-cell"},[a("span",{staticClass:"inline-block w-127"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"企业微信中【客户联系】API中若更新secret,请复制后更新至此处。首次使用好办请输入。",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("客户联系secret:")])])],1),a("el-input",{staticClass:"m-l-10 w-399",attrs:{maxlength:"200",placeholder:"必填"},model:{value:e.wxObj.secretVal,callback:function(t){e.$set(e.wxObj,"secretVal",t)},expression:"wxObj.secretVal"}}),a("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:function(t){e.saveSecret("1")}}},[e._v("保存")]),e.wxObj.updateTime?a("span",{staticClass:"m-l-20 font-12 color-909399"},[e._v("最后一次保存:"+e._s(e._f("formatTimeStamp")(e.wxObj.updateTime)))]):e._e(),a("span",{staticClass:"m-l-37 font-14 color-303133"},[a("span",{class:["iconfont",e.wxObj.checkFlag?"color-49c958 iconchenggong":"color-f83431 iconshibai"]}),a("span",{staticClass:"p-l-10"},[e._v(e._s(e.wxObj.checkFlag?"校验成功":"校验失败"))])]),e._v(" "),e.showWxError?a("div",{staticClass:"el-form-item__error m-l-137"},[e._v("请填写客户联系 secret")]):e._e()],1),e._v(" "),a("div",{staticClass:"m-b-20 secret-cell"},[a("span",{staticClass:"inline-block w-127"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start"}},[a("div",{attrs:{slot:"content"},slot:"content"},[e._v("企业微信中通讯录同步若更新secret,请复制后更新至此处。"),a("br"),e._v("因获取Secret而获取通讯录的相关信息。首次使用好办请输入。"),a("br"),e._v("若发生相关变更,与企业微信无关,特此告知!")]),e._v(" "),a("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("通讯录secret:")])])],1),a("el-input",{staticClass:"m-l-10 w-399",attrs:{maxlength:"200",placeholder:"非必填"},model:{value:e.contactObj.secretVal,callback:function(t){e.$set(e.contactObj,"secretVal",t)},expression:"contactObj.secretVal"}}),a("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:function(t){e.saveSecret("2")}}},[e._v("保存")]),e.contactObj.updateTime?a("span",{staticClass:"m-l-20 font-12 color-909399"},[e._v("最后一次保存:"+e._s(e._f("formatTimeStamp")(e.contactObj.updateTime)))]):e._e(),a("span",{staticClass:"m-l-37 font-14 color-303133"},[a("span",{class:["iconfont",e.contactObj.checkFlag?"color-49c958 iconchenggong":"color-f83431 iconshibai"]}),a("span",{staticClass:"p-l-10"},[e._v(e._s(e.contactObj.checkFlag?"校验成功":"校验失败"))])])],1),e._v(" "),a("div",{staticClass:"m-b-20 secret-cell"},[a("span",{staticClass:"inline-block w-127"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"用于获取登录小程序用户的手机号/姓名/部门信息",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("好办助手secret:")])])],1),a("el-input",{staticClass:"m-l-10 w-399",attrs:{maxlength:"200",placeholder:"必填"},model:{value:e.haobanObj.secretVal,callback:function(t){e.$set(e.haobanObj,"secretVal",t)},expression:"haobanObj.secretVal"}}),a("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:function(t){e.saveSecret("3")}}},[e._v("保存")]),e.haobanObj.updateTime?a("span",{staticClass:"m-l-20 font-12 color-909399"},[e._v("最后一次保存:"+e._s(e._f("formatTimeStamp")(e.haobanObj.updateTime)))]):e._e(),a("span",{staticClass:"m-l-37 font-14 color-303133"},[a("span",{class:["iconfont",e.haobanObj.checkFlag?"color-49c958 iconchenggong":"color-f83431 iconshibai"]}),a("span",{staticClass:"p-l-10"},[e._v(e._s(e.haobanObj.checkFlag?"校验成功":"校验失败"))])]),e._v(" "),e.showHaobanError?a("div",{staticClass:"el-form-item__error m-l-137"},[e._v("请填写好办助手 secret")]):e._e()],1),e._v(" "),a("div",{staticClass:"secret-cell m-b-20"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"企业微信中【应用管理】关联的会员小程序secret,请复制后更新至此处。首次使用好办请输入。",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("会员小程序secret:")])]),e._v(" "),a("span",{staticClass:"p-l-5 font-14 color-303133 font-w-500"},[e._v("会员小程序信息")]),e._v(" "),a("div",{staticClass:"table-cell m-t-10 p-l-137"},[a("el-table",{ref:"multipleTable",staticClass:"no-empty-icon-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"小程序名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.secretName||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"secret",width:"506"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.secretVal||"-- ")+" ")]),a("span",{class:["iconfont",t.row.checkFlag?"color-49c958 iconchenggong":"color-f83431 iconshibai"]}),a("span",{staticClass:"p-l-10"},[e._v(e._s(t.row.checkFlag?"校验成功":"校验失败"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"关联商户","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.enterpriseName||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"最近编辑时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.updateTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.updateTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.toEdit(t.$index,t.row)}}},[e._v("编辑")]),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.toDel(t.$index,t.row)}}},[e._v("删除")])]}}])})],1),e._v(" "),e.tableData.length<10?a("div",{staticClass:"text-center add-cell cursor-pointer",on:{click:e.addSecret}},[a("span",{staticClass:"el-icon-plus font-14 color-2f54eb add-cell-txt"}),a("span",{staticClass:"font-14 color-2f54eb p-l-5 add-cell-txt"},[e._v("新建")]),a("span",{staticClass:"font-12 color-c0c4cc p-l-20"},[e._v("最多添加10个")])]):e._e()],1)],1)]),e._v(" "),e.wxShow?a("div",{staticClass:"line-h-32 m-b-20"},[a("span",{staticClass:"color-303133 font-14 font-w-600"},[e._v("企微好友")]),e.wxShow?a("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:e.refeshDataWx}},[e._v("同步刷新 ")]):e._e()],1):e._e(),e._v(" "),e.wxShow?a("div",[a("el-form",{ref:"wxForm",attrs:{"label-width":"115px"}},[a("el-form-item",[a("el-tooltip",{staticClass:"item",attrs:{slot:"label",effect:"dark",placement:"top-start"},slot:"label"},[a("div",{attrs:{slot:"content"},slot:"content"},[e._v("刷新企业里关联导购账号的导购添加的客户。每天最多1次,每月最多3次。"),a("br"),e._v("仅刷新好办关联导购的企业好友数据,所以会小于等于企业微信看到的客户总数。"),a("br"),e._v("点击刷新后当日凌晨更新数据。")]),e._v(" "),a("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("企微好友更新")])]),e._v(" "),a("span",{staticClass:"font-14 color-303133"},[e._v("更新时间:"+e._s(e._f("formatTimeStamp")(e.wxDate))+e._s(e.wxDate?"":"--"))])],1)],1)],1):e._e()]),e._v(" "),e.addShow?a("secret-set",{attrs:{editRow:e.editRow},on:{closeText:e.closeText,submitText:e.submitText}}):e._e()],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"company-title m-b-20 m-t-30"},[t("span",{staticClass:"color-303133 font-14 font-w-600"},[this._v("客户密钥维护")])])}]};var _=a("VU/8")(v,w,!1,function(e){a("2wsI")},"data-v-4b871471",null);t.default=_.exports}});
\ No newline at end of file
webpackJsonp([16],{"Q/JX":function(t,e){},cxaT:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQUAAACMCAYAAAB1Xrw1AAAAAXNSR0IArs4c6QAAEmJJREFUeAHtnQuMVNUdxv9ndpfHIuwMyD5t0ZiqmFZrKkpbLSKIishDUWoViI0xVWs1Tfo0bWLaxERta0xbTYqJgKKNyqIiImrAEhW1tiW2xpJarLoPXjuzy7LC7s6cfmd27uyyDsvO7j0z98z9Npm973P+53fO+e55X2lqS2nzE/6RAAmQAAhESIEESIAEBhKgKAykwX0SIAGWFJgGSIAEjibAksLRPHhEAqEnQFEIfRIgABI4mgBF4WgePCKB0BOgKIQ+CRAACRxNgKJwNA8ehYxAq9YTQhbk4waXonBcRLyhVAm0xPXKVEISTXH9SkubvvVAlz6pVMOaT7iUN5qxYXJE5fMg7yUBlwlAEGZjGO9LWusKLxxKKTOy9x3RskHKpbF+kvrAuxamLUUhTLHNsKYJNB/U03WvvCFaRyEED+Dk3/BbAjGYp6W/OqEEohCR9bjWWFcl72ZEI+1GKf+jKJRy7DJsnyOwp1PXJHtkB0oIJyOTP1MXlWu8zI5z45sTMg9F5iUoMiyAaEzpd0B9irL0BqWksaZK/oJnevuvldYeRaG04pOhGYJAs9aVkpBtyPwzRNSO+phcjMz9Wa5HcE/ZnnaZpbUswXTBRSL6C9n7lGqDcDwP4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7sYdLScBKwQoClaw0lEScJcARcHduKPlJGCFAEXBClY6SgLuEqAouBt3tJwErBCgKFjBSkdJwF0CFAV3446Wk4AVAhQFK1jpKAm4S4Ci4G7c0XISsEKAomAFKx0lAXcJUBTcjTtaTgJWCFAUrGCloyTgLgGKgrtxR8tJwAoBioIVrHSUBNwlQFFwN+5oOQlYIUBRsIKVjpKAuwQoCu7GHS0nASsEVFNbSltxmY6SAAk4SUAZqykMTsYdjSYBKwT+D+Hgm8rKD5qfAAAAAElFTkSuQmCC"},h9Ca:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Gu7T"),i=a.n(s),n=a("mvHQ"),o=a.n(n),r=a("3Xzz"),c=a("ApSX"),l=a("5i7M"),u={data:function(){return{chart:null}},props:{charData:{type:Array,default:function(){return[]}},id:String,width:{type:Number,default:800}},mounted:function(){var t=this;setTimeout(function(){t.drawChart()},30)},beforeUpdate:function(){this.drawChart()},watch:{charData:function(){this.drawChart()}},methods:{drawChart:function(){this.chart&&this.chart.destroy(),this.chart=new l.a({container:this.id,width:this.width,autoFit:!0,height:420,padding:[50,30,60,60]}),this.chart.data(this.charData),this.chart.scale({value:{min:0,nice:!0},date:{}}),this.chart.tooltip({showCrosshairs:!0,shared:!0}),this.chart.line().position("date*value").color("active"),this.chart.legend(!1),this.chart.render()}}},h={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("div",{staticClass:"lengend-line"},[e("span",{staticClass:"line-pot bg-597ef7"}),e("span",{staticClass:"font-12 color-8c8c8c p-l-5"},[this._v("非活跃人数")]),this._v(" "),e("span",{staticClass:"line-pot bg-5ad8a6 m-l-40"}),e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"截至目前近三天内有过登录算作活跃",placement:"top-start"}},[e("span",{staticClass:"font-12 color-8c8c8c cell-title-span p-l-5",staticStyle:{cursor:"pointer","padding-bottom":"2px"}},[this._v("活跃人数")])])],1),this._v(" "),e("div",{attrs:{id:this.id}})])},staticRenderFns:[]};var d=a("VU/8")(u,h,!1,function(t){a("Q/JX")},"data-v-2b49901c",null).exports,g=a("P9l9"),p=a("Ch4/"),C=a("Q0Ca"),v={name:"activeDetail",data:function(){return{navpath:[{name:"好办使用详情",path:"/enterpriseUseData?brandId="+this.$route.query.brandId},{name:"活跃人员明细",path:""}],selectStartDay:"",selectEndDay:"",charData:[],groupIds:[],currentPage:1,pageSize:20,total:0,tableData:[],multipleSelection:[],addShow:!1,loadingBtn:!1,selectRadio:0}},computed:{},methods:{checkGroupIds:function(t){this.groupIds=t,this.getTableList()},handleCommand:function(t){this.selectRadio=t},handleSelectionChange:function(t){this.multipleSelection=t},exportExcel:function(){this.loadingBtn=!0,this.postExcelData()},postExcelData:function(){var t=this,e={enterpriseId:t.$route.query.brandId,groupIdList:t.groupIds.map(function(t){return t.storeGroupId}).join(","),startDate:t.selectEndDay,endDate:t.selectEndDay,selectType:t.selectRadio};Object(g.b)("/haoban-manage3-web/web/export-activite-list",e).then(function(e){if(t.loadingBtn=!1,!e.data)return p.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),s=document.createElement("a");s.download="活跃明细报表.csv",s.style.display="none",s.href=URL.createObjectURL(a),document.body.appendChild(s),s.click(),URL.revokeObjectURL(s.href),document.body.removeChild(s)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},changeRoute:function(t){this.$router.push(t)},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getLoginData:function(t){var e=this,a={enterpriseId:e.$route.query.brandId,startDate:e.selectStartDay,endDate:e.selectEndDay};Object(g.a)("/haoban-manage3-web/web/activite-date",a).then(function(t){var a=t.data;if(1==a.errorCode){if(a.result.result){a.result.result.forEach(function(t){t.date=t.bizDates+"("+t.weeks+")",t.active="非活跃人数",t.value=t.notActiveClerkCnt});var s=JSON.parse(o()(a.result.result));s.forEach(function(t){t.date=t.bizDates+"("+t.weeks+")",t.active="活跃人数",t.value=t.activeClerkCnt}),e.charData=[].concat(i()(a.result.result),i()(s))||[]}return!1}p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getTableList:function(t){var e=this,a={enterpriseId:e.$route.query.brandId,groupIdList:e.groupIds.map(function(t){return t.storeGroupId}).join(","),startDate:e.selectEndDay,endDate:e.selectEndDay,pageSize:e.pageSize,currentPage:e.currentPage};Object(g.d)("/haoban-manage3-web/web/activite-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.total,!1;p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){this.selectStartDay=C.a.timeStampToYmd((new Date).getTime()-6048e5),this.selectEndDay=C.a.timeStampToYmd((new Date).getTime()-864e5),this.getLoginData(),this.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:r.a,gicSelectGroupMult:c.a,activeChart:d}},m={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"my-customer-wrap common-set-wrap"},[s("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),s("div",{staticClass:"right-content"},[s("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 104px)"}},[s("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 104px)"}},[s("div",{staticClass:"apps-content-right"},[t._m(0),t._v(" "),s("div",{staticClass:"chart-body m-t-20"},[t.charData.length?s("active-chart",{attrs:{charData:t.charData,id:"active-chart"}}):t._e(),t._v(" "),t.charData.length?t._e():s("div",{staticClass:"no-data-char"},[s("img",{attrs:{src:a("cxaT"),alt:""}}),t._v(" "),s("p",{staticClass:"font-12 color-c0c4cc m-t-20"},[t._v("- 暂无数据 -")])])],1),t._v(" "),s("div",{staticClass:"table-search m-t-20"},[s("div",{staticClass:"flex flex-space-between"},[s("div",[s("gic-select-group-mult",{attrs:{selectData:t.groupIds},on:{checkGroupIds:t.checkGroupIds}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("筛选条件下,昨日人员名单如下:")])],1),t._v(" "),s("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.exportExcel}},[s("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),s("div",{staticClass:"m-t-20"},[s("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[s("el-table-column",{attrs:{prop:"",label:"员工信息","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[s("div",{staticClass:"ul-li-cell "},[s("div",{staticClass:"cell-info"},[s("div",{staticClass:"cell-info-name font-14 color-303133 flex flex-column"},[s("span",{staticClass:"gic-name"},[s("span",[t._v(t._s(e.row.clerkName||"--"))]),1==e.row.clerkType?s("el-tag",{staticClass:"m-l-10",attrs:{size:"small",type:"warning"}},[t._v("店长")]):t._e()],1),s("span",{staticClass:"gic-version"},[t._v(t._s(e.row.clerkCode||"--"))])])])])]}}])}),t._v(" "),s("el-table-column",{attrs:{prop:"",label:"归属门店","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeName||"--"))]}}])}),t._v(" "),s("el-table-column",{attrs:{prop:"",label:"最后登录时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[s("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.lastLoginTime))+t._s(e.row.lastLoginTime?"":"--"))]),t._v(" "),s("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.lastLoginTime))+t._s(e.row.lastLoginTime?"":"--"))])]}}])}),t._v(" "),s("el-table-column",{attrs:{prop:"",label:"活跃状态","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.activationStatus?s("span",{staticClass:"active-status font-14 color-fff"},[t._v("活跃")]):s("span",{staticClass:"no-active-status font-14 color-fff"},[t._v("非活跃")])]}}])})],1),t._v(" "),0!=t.tableData.length?s("div",{staticClass:"block common-wrap__page text-right m-t-24"},[s("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])])])],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"flex flex-space-between"},[e("div",{staticClass:"font-16 color-303133 font-w-600"},[this._v("近七天活跃趋势")]),this._v(" "),e("div",{staticClass:"el-alert el-alert-tip el-alert--info flex flex-align-start w-426",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title color-606266 font-14"},[this._v("数据更新截至于昨日。今日数据需要隔天上午8点后进行查看。")])])])])}]};var A=a("VU/8")(v,m,!1,function(t){a("z76h")},"data-v-5085c6ed",null);e.default=A.exports},z76h:function(t,e){}});
\ No newline at end of file
webpackJsonp([17],{"TLd+":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),o=a("5i7M"),s={data:function(){return{chart:null}},props:{charData:{type:Array,default:function(){return[]}},id:String,width:{type:Number,default:null}},mounted:function(){var t=this;setTimeout(function(){t.drawChart()},30)},beforeUpdate:function(){this.drawChart()},watch:{charData:function(){this.drawChart()}},methods:{drawChart:function(){this.chart&&this.chart.destroy(),this.chart=new o.a({container:this.id,width:this.width,autoFit:!0,height:420}),this.chart.data(this.charData),this.chart.scale({loginRate:{min:0,nice:!0,alias:"登录率"},date:{}}),this.chart.tooltip({crosshairs:{type:"line"},itemTpl:'<li style="padding-bottom:10px;">登录率: {value} %</li>'}),this.chart.axis("loginRate",{label:{formatter:function(t){return t+"%"}}}),this.chart.line().position("date*loginRate"),this.chart.render()}}},r={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{attrs:{id:this.id}})},staticRenderFns:[]};var i=a("VU/8")(s,r,!1,function(t){a("wEN/")},"data-v-254fac23",null).exports,l=a("ApSX"),c=a("P9l9"),u=a("Ch4/"),g=a("Q0Ca"),d={name:"activeDetail",data:function(){return{navpath:[{name:"好办使用详情",path:"/enterpriseUseData?brandId="+this.$route.query.brandId},{name:"区域登录明细",path:""}],selectStartDay:"",selectEndDay:"",selectTableDay:"",pickerOptions:{disabledDate:function(t){var e=Date.now()-6912e5;return t.getTime()>=Date.now()-864e5||t.getTime()<e}},groupIds:[],currentPage:1,pageSize:20,total:0,tableData:[],multipleSelection:[],addShow:!1,loadingBtn:!1,selectRadio:0,charData:[]}},computed:{},methods:{changeTableDate:function(){this.getTableList()},checkGroupIds:function(t){this.groupIds=t,this.getTableList()},toRedirect:function(t){this.$router.push("/loginDetail?storeId="+t.xValue+"&brandId="+this.$route.query.brandId+"&selectTableDay="+this.selectTableDay)},handleCommand:function(t){this.selectRadio=t},handleSelectionChange:function(t){this.multipleSelection=t},exportExcel:function(){this.loadingBtn=!0,this.postExcelData()},postExcelData:function(){var t=this,e={enterpriseId:t.$route.query.brandId,startDate:t.selectTableDay,endDate:t.selectTableDay,groupIdList:t.groupIds.map(function(t){return t.storeGroupId}).join(","),selectType:t.selectRadio};Object(c.b)("/haoban-manage3-web/web/export-area-ranking-list",e).then(function(e){if(t.loadingBtn=!1,!e.data)return u.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=document.createElement("a");n.download="区域登录明细报表.csv",n.style.display="none",n.href=URL.createObjectURL(a),document.body.appendChild(n),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},changeRoute:function(t){this.$router.push(t)},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTendData:function(t){var e=this,a={enterpriseId:e.$route.query.brandId,startDate:e.selectStartDay,endDate:e.selectEndDay};Object(c.a)("/haoban-manage3-web/web/area-ranking-date",a).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.result&&a.result.result.forEach(function(t){t.date=t.bizDates+"("+t.weeks+")",t.loginRate=1e3*t.loginRate/10}),e.charData=a.result.result||[],!1;u.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getTableList:function(t){var e=this,a={enterpriseId:e.$route.query.brandId,startDate:e.selectTableDay,endDate:e.selectTableDay,groupIdList:e.groupIds.map(function(t){return t.storeGroupId}).join(","),pageSize:e.pageSize,currentPage:e.currentPage};Object(c.d)("/haoban-manage3-web/web/area-ranking-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.result.list&&a.result.result.list.length&&a.result.result.list.forEach(function(t){t.loginRate=1e3*t.loginRate/10+"%"}),e.tableData=a.result.result.list||[],e.total=a.result.result.total||0,!1;u.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){var t=this;t.selectStartDay=g.a.timeStampToYmd((new Date).getTime()-6048e5),t.selectEndDay=g.a.timeStampToYmd((new Date).getTime()-864e5),t.selectTableDay=g.a.timeStampToYmd((new Date).getTime()-864e5),t.$nextTick(function(){t.getTableList(),t.getTendData()}),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,areaChart:i,gicSelectGroupMult:l.a}},h={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"my-customer-wrap common-set-wrap"},[n("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),n("div",{staticClass:"right-content"},[n("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 104px)"}},[n("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 104px)"}},[n("div",{staticClass:"apps-content-right"},[t._m(0),t._v(" "),n("div",{staticClass:"chart-body m-t-20"},[t.charData.length?n("area-chart",{attrs:{charData:t.charData,id:"area-chart"}}):t._e(),t._v(" "),t.charData.length?t._e():n("div",{staticClass:"no-data-char"},[n("img",{attrs:{src:a("cxaT"),alt:""}}),t._v(" "),n("p",{staticClass:"font-12 color-c0c4cc m-t-20"},[t._v("- 暂无数据 -")])])],1),t._v(" "),n("div",{staticClass:"table-search m-t-20"},[n("div",{staticClass:"flex flex-space-between"},[n("div",[n("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd",type:"date",placeholder:"选择日期",clearable:!1,"picker-options":t.pickerOptions},on:{change:t.changeTableDate},model:{value:t.selectTableDay,callback:function(e){t.selectTableDay=e},expression:"selectTableDay"}}),n("gic-select-group-mult",{staticClass:"m-l-10",attrs:{selectData:t.groupIds},on:{checkGroupIds:t.checkGroupIds}}),n("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("当日筛选区域下门店总计为 "+t._s(t.total)+" 家:")])],1),t._v(" "),n("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.exportExcel}},[n("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),n("div",{staticClass:"m-t-20"},[n("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{prop:"",label:"门店名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.xName||"--")+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"门店code","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeCode||"--"))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"门店区域","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeGroupName||"--"))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"登录率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.loginRate||"0%"))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"登录人数","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.loginClerkCnt||"0"))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"操作","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text"},on:{click:function(a){t.toRedirect(e.row)}}},[t._v("查看人员名单")])]}}])})],1),t._v(" "),0!=t.tableData.length?n("div",{staticClass:"block common-wrap__page text-right m-t-24"},[n("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])])])],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"flex flex-space-between"},[e("div",{staticClass:"font-16 color-303133 font-w-600"},[this._v("近七天所有区域平均登录率趋势")]),this._v(" "),e("div",{staticClass:"el-alert el-alert-tip el-alert--info flex flex-align-start w-426",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title color-606266 font-14"},[this._v("数据更新截至于昨日。今日数据需要隔天上午8点后进行查看。")])])])])}]};var p=a("VU/8")(d,h,!1,function(t){a("mJH6")},"data-v-448edcc7",null);e.default=p.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SEI0igbARKJYoQASwLHm6ugBR0N8PG3eGlwQCS6AYogBBuCcjCEms5nNjYOHQMBIII4FCioJpQIQIpL83iGpDd2tCLwsjc4aZBIJMoGCDlyAI5ovEq7DM142Y6XgkouWa2ph6PshwaBsJhJFAQUQBgoCPk8hajFJchkFJhyJKFkEQXg0jcIaZBIJOwLooQBDGooTwFAThSghCuy6XK2onqdeDDob2kUBYCVgVhVatJ0AQNqDKMBdVhgOi5NKGSerdsMJmuEnABQLWRKGtTVcdjssLKCF8EyWEVlUuc+smqn+5AIU2kkCYCVgRBfP5sc6kvISqw9cgCB+Xl8mc6onqP2EGzbCTgCsErEyI6kzJ1UYQUGUwQnBhdRUFwZUEQTtJQGyNU8Csx9v3dupaIiYBEnCMgC1RcAwDzSUBEsgQsFJ9IF0SIAF3CVAU3I07Wk4CVghQFKxgpaMk4C4BioK7cUfLScAKAYqCFax0lATcJUBRcDfuaDkJWCFAUbCClY6SgLsEKAruxh0tJwErBCgKVrDSURJwlwBFwd24o+UkYIUARcEKVjpKAu4SoCi4G3e0nASsEKAoWMFKR0nAXQIUBXfjjpaTgBUCFAUrWOkoCbhLgKLgbtzRchKwQoCiYAUrHSUBdwlQFNyNO1pOAlYIUBSsYKWjJOAuAYqCu3FHy0nACgGKghWsdJQE3CVAUXA37mg5CVghQFGwgpWOkoC7BCgK7sYdLScBKwQoClaw0lEScJcARcHduKPlJGCFAEXBClY6SgLuEqAouBt3tJwErBCgKFjBSkdJwF0CFAV3446Wk4AVAhQFK1jpKAm4S4Ci4G7c0XISsEKAomAFKx0lAXcJUBTcjTtaTgJWCFAUrGCloyTgLgGKgrtxR8tJwAoBioIVrHSUBNwlQFFwN+5oOQlYIUBRsIKVjpKAuwQoCu7GHS0nASsEVFNbSltxmY6SAAk4SUAZqykMTsYdjSYBKwT+D+Hgm8rKD5qfAAAAAElFTkSuQmCC"},mJH6:function(t,e){},"wEN/":function(t,e){}});
\ No newline at end of file
webpackJsonp([18],{"9QdT":function(e,t){},MdqQ:function(e,t){},xDJN:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("Xxa5"),o=a.n(n),i=a("exGp"),r=a.n(i),c=a("P9l9"),s=a("Ch4/"),l=a("PI0u"),d={props:{brandId:{type:String,default:function(){return""}},coupCardId:{type:String,default:function(){return""}}},data:function(){var e=this;return{dialogVisible:!0,loading:!1,tableData:[],conditionObj:{searchInput:"",searchType:"1",storeGroup:[],dateRange:[]},choiceDateCopy:[],pickerOptions:{shortcuts:[{text:"最近一周",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-6048e5),e.$emit("pick",[a,t])}},{text:"最近一个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-2592e6),e.$emit("pick",[a,t])}},{text:"最近三个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-7776e6),e.$emit("pick",[a,t])}}],onPick:function(t){var a=t.maxDate,n=t.minDate;e.choiceDateCopy=[n.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-31536e6,n=e.choiceDateCopy[0]+31536e6;return t.getTime()<a||t.getTime()>n||t.getTime()>Date.now()-864e4}return t.getTime()>Date.now()-864e4}},currentPage:1,pageSize:20,total:0,loadingBtn:!1}},methods:{exportExcel:Object(l.a)(function(){this.loadingBtn=!0,this.conditionObj.dateRange||(this.conditionObj.dateRange=[]);var e={cardId:this.coupCardId,search:this.conditionObj.searchInput||"",startDate:this.conditionObj.dateRange[0]||"",endDate:this.conditionObj.dateRange[1]||"",gicEnterpriseId:this.brandId};this.postExcel(e)},300),postExcel:function(e){var t=this;Object(c.d)("/haoban-app-customer-web/cardCoupon/export-consume-card",e).then(function(e){var a=e.data;if(t.loadingBtn=!1,1==a.errorCode)return t.$confirm("核销记录正在生成中,次日可前往GIC报表中心下载","温馨提示",{confirmButtonText:"立即前往",showCancelButton:!1,type:"warning",center:!0}).then(function(){if(-1!=window.location.href.indexOf("gicdev"))return window.open("http://gicdev.demogic.com/gic-web/#/reportCenter"),!1;window.open("https://hope.demogic.com/gic-web/#/reportCenter")}).catch(function(){}),!1;s.a.errorMsg(a)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleClose:function(e){this.$emit("closeGetRecord")},toInput:Object(l.a)(function(e,t){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e||(this.choiceDateCopy=[],this.conditionObj.dateRange=[]),this.getTableList()},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this;t.loading=!0;var a=[],n=[],o=[];t.conditionObj.storeGroup.forEach(function(e){1==e.type&&o.push(e.employeeClerkId),2==e.type&&a.push(e.groupId),3==e.type&&n.push(e.storeId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var i={coupCardId:t.coupCardId,searchType:t.conditionObj.searchType,search:t.conditionObj.searchInput||"",groupIds:a.join(",")||"",storeIds:n.join(",")||"",clerkIds:o.join(",")||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",pageNum:t.currentPage,pageSize:t.pageSize,gicEnterpriseId:t.brandId};Object(c.d)("/haoban-app-customer-web/cardCoupon/find-receive-card-page",i).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.list||[],t.total=a.result.pageInfo.total,!1;s.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())},coupCardId:function(e,t){e&&this.getTableList()}},mounted:function(){this.$emit("showTab","2"),this.brandId&&this.getTableList()}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:"领取记录",visible:e.dialogVisible,width:"864px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-336",attrs:{placeholder:2==e.conditionObj.searchType?"请输入会员手机号/卡号 ":"请输入导购姓名/手机号/code",maxlength:"50",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.conditionObj.searchInput);var a}},model:{value:e.conditionObj.searchInput,callback:function(t){e.$set(e.conditionObj,"searchInput",t)},expression:"conditionObj.searchInput"}},[a("el-select",{staticClass:"w-103",attrs:{slot:"prepend",placeholder:"请选择"},slot:"prepend",model:{value:e.conditionObj.searchType,callback:function(t){e.$set(e.conditionObj,"searchType",t)},expression:"conditionObj.searchType"}},[a("el-option",{attrs:{label:"按导购",value:"1"}})],1)],1),a("el-date-picker",{staticClass:"m-l-10 w-330",staticStyle:{width:"330px"},attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:e.changeDate},model:{value:e.conditionObj.dateRange,callback:function(t){e.$set(e.conditionObj,"dateRange",t)},expression:"conditionObj.dateRange"}}),a("el-button",{staticClass:"m-l-10 export-btn",attrs:{type:"primary",loading:e.loadingBtn},on:{click:e.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),e._v("导出核销记录")])],1)]),e._v(" "),a("div",[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,height:"450","tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"导购信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.clerkName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"导购手机号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.clerkPhone||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.memberName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员卡号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.memberCardNo||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"领取时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.receiveTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.receiveTime)))])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])},staticRenderFns:[]};var p=a("VU/8")(d,u,!1,function(e){a("z4nX")},"data-v-7a394380",null).exports,h={props:{brandId:{type:String,default:function(){return""}},coupCardId:{type:String,default:function(){return""}}},data:function(){var e=this;return{dialogVisible:!0,loading:!1,tableData:[],conditionObj:{searchInput:"",searchType:"1",storeGroup:[],dateRange:[]},choiceDateCopy:[],pickerOptions:{shortcuts:[{text:"最近一周",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-6048e5),e.$emit("pick",[a,t])}},{text:"最近一个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-2592e6),e.$emit("pick",[a,t])}},{text:"最近三个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-7776e6),e.$emit("pick",[a,t])}}],onPick:function(t){var a=t.maxDate,n=t.minDate;e.choiceDateCopy=[n.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-31536e6,n=e.choiceDateCopy[0]+31536e6;return t.getTime()<a||t.getTime()>n||t.getTime()>Date.now()-864e4}return t.getTime()>Date.now()-864e4}},currentPage:1,pageSize:20,total:0}},methods:{handleClose:function(e){this.$emit("closeSendRecord")},toInput:Object(l.a)(function(e,t){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e||(this.choiceDateCopy=[],this.conditionObj.dateRange=[]),this.getTableList()},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this;t.loading=!0;var a=[],n=[],o=[];t.conditionObj.storeGroup.forEach(function(e){1==e.type&&o.push(e.employeeClerkId),2==e.type&&a.push(e.groupId),3==e.type&&n.push(e.storeId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var i={coupCardId:t.coupCardId,searchType:t.conditionObj.searchType,search:t.conditionObj.searchInput||"",groupIds:a.join(",")||"",storeIds:n.join(",")||"",clerkIds:o.join(",")||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",pageNum:t.currentPage,pageSize:t.pageSize,gicEnterpriseId:t.brandId};Object(c.d)("/haoban-app-customer-web/cardCoupon/find-send-card-page",i).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.list||[],t.total=a.result.pageInfo.total,!1;s.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())},coupCardId:function(e,t){e&&this.getTableList()}},mounted:function(){this.$emit("showTab","2"),this.brandId&&this.getTableList()}},g={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:"发送记录",visible:e.dialogVisible,width:"802px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-369",attrs:{placeholder:2==e.conditionObj.searchType?"请输入会员手机号/卡号 ":"请输入导购姓名/手机号/code",maxlength:"50",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.conditionObj.searchInput);var a}},model:{value:e.conditionObj.searchInput,callback:function(t){e.$set(e.conditionObj,"searchInput",t)},expression:"conditionObj.searchInput"}},[a("el-select",{staticClass:"w-103",attrs:{slot:"prepend",placeholder:"请选择"},slot:"prepend",model:{value:e.conditionObj.searchType,callback:function(t){e.$set(e.conditionObj,"searchType",t)},expression:"conditionObj.searchType"}},[a("el-option",{attrs:{label:"按导购",value:"1"}})],1)],1),a("el-date-picker",{staticClass:"m-l-10",attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:e.changeDate},model:{value:e.conditionObj.dateRange,callback:function(t){e.$set(e.conditionObj,"dateRange",t)},expression:"conditionObj.dateRange"}})],1)]),e._v(" "),a("div",[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark",height:"450"}},[a("el-table-column",{attrs:{label:"导购信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.clerkName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"导购手机号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.clerkPhone||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.memberName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员卡号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.memberCardNo||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"发送时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.sendTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.sendTime)))])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])},staticRenderFns:[]};var b={components:{cardGetRecord:p,cardSendRecord:a("VU/8")(h,g,!1,function(e){a("9QdT")},"data-v-1f6b438e",null).exports},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",searchInput:"",tableData:[],loading:!1,currentPage:1,pageSize:20,total:0,getRecordShow:!1,sendRecordShow:!1,coupCardId:""}},filters:{percenteNum:function(e){return e>0?Number(100*e).toFixed(2)+"%":Number(e).toFixed(2)+"%"}},watch:{brandId:function(e){e&&this.getTableList()}},methods:{showGetRecord:function(e,t){this.coupCardId=t.coupCardId,this.getRecordShow=!0},closeGetRecord:function(){this.getRecordShow=!1},showSendRecord:function(e,t){this.coupCardId=t.coupCardId,this.sendRecordShow=!0},closeSendRecord:function(){this.sendRecordShow=!1},toInput:Object(l.a)(function(e,t){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var e=this;return r()(o.a.mark(function t(){var a,n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:(a=e).loading=!0,n={gicEnterpriseId:a.brandId,search:a.searchInput||"",pageNum:a.currentPage,pageSize:a.pageSize},Object(c.d)("/haoban-app-customer-web/cardCoupon/find-card-log-page",n).then(function(e){var t=e.data;if(a.loading=!1,1==t.errorCode)return a.tableData=t.result.list||[],void(a.total=t.result.pageInfo.total);s.a.errorMsg(t)}).catch(function(e){a.loading=!1,a.$message.error({duration:1e3,message:e.message})});case 4:case"end":return t.stop()}},t,e)}))()}},mounted:function(){this.$emit("showTab","2"),this.brandId&&this.getTableList()}},f={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"m-b-20"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入卡券名称",maxlength:"50",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchInput);var a}},model:{value:e.searchInput,callback:function(t){e.searchInput=t},expression:"searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 3px)"},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"卡券名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.cardName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"",width:"96"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"发送卡券数量,包含扫码发券数",placement:"right"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("发送数量")])])]}},{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.issuingQuantity)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"领取数量"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.getedQuantity))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"领取率"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("percenteNum")(t.row.getedRate)))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"使用数量"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.usageQuantity))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"核销率"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("percenteNum")(t.row.verificationRate)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"销售额"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.saleAmount))])]}}])}),e._v(" "),a("el-table-column",{attrs:{width:"150"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"发送卡券的导购总人数,次日刷新",placement:"right"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("导购人数")])])]}},{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.sendMemberCount)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",width:"200",label:"操作",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.showSendRecord(t.$index,t.row,"1")}}},[e._v("发送记录")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.showGetRecord(t.$index,t.row,"2")}}},[e._v("领取记录")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),e.getRecordShow?a("card-get-record",{attrs:{brandId:e.brandId,coupCardId:e.coupCardId},on:{closeGetRecord:e.closeGetRecord}}):e._e(),e._v(" "),e.sendRecordShow?a("card-send-record",{attrs:{brandId:e.brandId,coupCardId:e.coupCardId},on:{closeSendRecord:e.closeSendRecord}}):e._e()],1)},staticRenderFns:[]};var m=a("VU/8")(b,f,!1,function(e){a("MdqQ")},"data-v-c3effabe",null);t.default=m.exports},z4nX:function(e,t){}});
\ No newline at end of file
webpackJsonp([19],{Ck1i:function(e,t){},DReQ:function(e,t){},mjMK:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("qg3H"),s=r("3Xzz"),n=r("P9l9"),o=r("Ch4/"),i={name:"authMerchant",data:function(){return{bgHeight:window.screen.availHeight-104+"px",navpath:[{name:"首页",path:"/index"},{name:"通讯录",path:"/contactsList"},{name:"授权商户",path:""}],currentPage:1,pageSize:20,total:0,tableData:[],addShow:!1}},computed:{},methods:{showAddDialog:function(){this.addShow=!0},refreshData:function(e){if(this.addShow=!1,"close"==e)return!1;this.getTableList()},changeRoute:function(e){this.$router.push(e)},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this;Object(n.a)("/haoban-manage3-web/wx-enterprise-list",{}).then(function(e){var r=e.data;if(1==r.errorCode)return t.tableData=r.result||[],!1;o.a.errorMsg(r)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{activeBrand:function(e,t){this.activeBrand=e},activeGroup:function(e,t){this.activeGroup=e}},mounted:function(){this.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:s.a,addEnterprise:a.a}},c={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"my-customer-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 104px)"}},[r("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 104px)"}},[r("div",{staticClass:"apps-content-right"},[r("div",{staticClass:"flex flex-space-between"},[r("div"),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:e.showAddDialog}},[e._v("新建授权")])],1),e._v(" "),r("div",{staticClass:"m-t-20"},[r("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[r("el-table-column",{attrs:{prop:"",label:"商户列表","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"ul-li-cell flex"},[r("div",{staticClass:"cell-img"},[r("img",{attrs:{src:t.row.enterpriseLogo,alt:"img"}})]),e._v(" "),r("div",{staticClass:"cell-info"},[r("div",{staticClass:"cell-info-name flex font-14 color-303133"},[r("span",{staticClass:"gic-name"},[e._v(e._s(t.row.enterpriseName||"--"))]),r("span",{staticClass:"gic-version"},[e._v(e._s(t.row.version))])]),e._v(" "),r("div",{staticClass:"cell-info-name flex font-14 color-303133"},[r("span",{staticClass:"gic-name"},[e._v(e._s(t.row.brandName||"--"))])])])])]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"",label:"提交人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.staffName||"--"))]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"",label:"完成时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.createTime)))]),e._v(" "),r("div",{staticClass:"line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.createTime)))])]}}])})],1)],1)])])])]),e._v(" "),e.addShow?r("add-enterprise",{on:{refreshData:e.refreshData}}):e._e()],1)},staticRenderFns:[]};var l=r("VU/8")(i,c,!1,function(e){r("Ck1i")},"data-v-1da303de",null);t.default=l.exports},qg3H:function(e,t,r){"use strict";var a=r("Xxa5"),s=r.n(a),n=r("exGp"),o=r.n(n),i=r("//Fk"),c=r.n(i),l=r("l46T"),u=r("XDyb"),m=r("eCaw"),p=r("P9l9"),d=r("Ch4/"),h=r("3E4D"),f=r("PI0u"),v={name:"add-enterprise",components:{limitInput:l.a,countryMobile:u.a,selectDepartment:m.a},props:{memberObj:{type:[Object,Array],default:function(){return{}}}},data:function(){return{versionList:[{label:"GIC 3.0",value:"3.0"},{label:"GIC 4.0",value:"4.0"}],wxEnterpriseId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId,memberVisible:!0,partForm:{version:"3.0",clerkName:"",enterpriseId:"",enterpriseName:"",nationCode:"86",phoneNumber:"",code:""},rules:{enterpriseName:[{required:!0,message:"请选择商户",trigger:"blur"}],code:[{required:!0,message:"请输入验证码",trigger:"blur"}]},searchSelect:"",searchArray:[],disableBtn:!0,countNum:60,tableData:[],showError:!1}},methods:{toLink:function(){window.open("https://kf.qq.com/faq/171219Mn2qmi171219vY3mmI.html")},countDown:function(){var e=this,t=setInterval(function(){if(0===e.countNum)return clearInterval(t),e.countNum=60,e.disableBtn=!1,!1;e.countNum--},1e3)},sendCode:Object(f.a)(function(){var e=this;if(""==e.partForm.phoneNumber||isNaN(String(e.partForm.phoneNumber)))return h.a.showmsg("超级管理员手机号不正确,请到 GIC 商户后台修改","warning"),!1;var t={phoneNumber:e.partForm.phoneNumber,nationCode:e.partForm.nationCode||"86",type:1};Object(p.a)("/haoban-manage3-web/send-code",t).then(function(t){var r=t.data;if(1==r.errorCode){e.disableBtn=!0,e.countDown();var a=String(e.partForm.phoneNumber),s=a.substr(0,3)+"****"+a.substr(7,a.length-1);return h.a.showmsg("已发送验证码到"+(e.partForm.nationCode||"86")+"-"+s,"success"),!1}d.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},300),checkCode:function(){var e=this,t={phoneNumber:e.partForm.phoneNumber,nationCode:e.partForm.nationCode,type:1,code:e.partForm.code};return new c.a(function(r,a){Object(p.a)("/haoban-manage3-web/validate-code",t).then(function(e){var t=e.data;if(1==t.errorCode)return r(!0),!1;d.a.errorMsg(t),r(!1)}).catch(function(t){r(!1),e.$message.error({duration:1e3,message:t.message})})})},changeVersion:function(){this.partForm.enterpriseName="",this.partForm.enterpriseId="",this.partForm.clerkName="",this.partForm.nationCode="",this.partForm.phoneNumber="",this.partForm.code="",this.searchSelect="",this.searchArray=[]},getSearchList:function(e){var t=this,r={enterpriseName:e,version:t.partForm.version};return new c.a(function(e,a){Object(p.a)("/haoban-manage3-web/enterprise-search",r).then(function(t){var r=t.data;if(1==r.errorCode)return r.result&&(r.result.value=r.result.enterpriseName),e(r.result?[r.result]:[]),!1;d.a.errorMsg(r),e([])}).catch(function(r){e([]),t.$message.error({duration:1e3,message:r.message})})})},querySearchAsync:function(){var e=this;return o()(s.a.mark(function t(){var r,a;return s.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e,""!=String(r.searchSelect).trim()){t.next=4;break}return r.searchArray=[],t.abrupt("return",!1);case 4:return t.next=6,r.getSearchList(r.searchSelect);case 6:a=t.sent,r.searchArray=a;case 8:case"end":return t.stop()}},t,e)}))()},handleSelect:function(e){this.partForm.enterpriseName=e.enterpriseName,this.partForm.enterpriseId=e.enterpriseId,this.partForm.clerkName=e.clerkName,this.partForm.nationCode=e.nationCode,this.partForm.phoneNumber=e.phoneNumber,this.partForm.code="",e.phoneNumber&&(this.disableBtn=!1)},checkGroupIds:function(e){this.partForm.departmentIds=e},changeExtendPostion:function(e){this.partForm.extendPostion=1==e?this.partForm.postion:""},handleClose:function(e){this.$refs.form.resetFields(),this.$emit("refreshData","close"),e()},cancel:function(){this.$refs.form.resetFields(),this.$emit("refreshData","close")},submitForm:function(e){var t=this;return o()(s.a.mark(function r(){var a;return s.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if((a=t).partForm.enterpriseId){r.next=6;break}return a.showError=!0,r.abrupt("return",!1);case 6:a.showError=!1;case 7:a.$refs[e].validate(function(){var e=o()(s.a.mark(function e(r){return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!r){e.next=9;break}return e.next=3,a.checkCode();case 3:if(e.sent){e.next=6;break}return e.abrupt("return",!1);case 6:a.toAddPost(),e.next=10;break;case 9:return e.abrupt("return",!1);case 10:case"end":return e.stop()}},e,t)}));return function(t){return e.apply(this,arguments)}}());case 8:case"end":return r.stop()}},r,t)}))()},toAddPost:function(){var e=this,t={enterpriseId:e.partForm.enterpriseId,wxEnterpriseId:e.wxEnterpriseId,version:e.partForm.version};Object(p.d)("/haoban-manage3-web/wx-enterprise-bind",t).then(function(t){var r=t.data;if(1==r.errorCode)return e.$emit("refreshData"),!1;d.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getData:function(){var e=this,t={staffId:e.partForm.staffId};Object(p.a)("/haoban-manage3-web/staff-add",t).then(function(t){var r=t.data;if(1==r.errorCode)return e.partForm=r.result,!1;d.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{}},b={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-dialog",{attrs:{width:"600px",title:"新增GIC商户授权",visible:e.memberVisible,"append-to-body":"","before-close":e.handleClose},on:{"update:visible":function(t){e.memberVisible=t}}},[r("div",[r("div",{staticClass:"font-12 color-909399 m-b-20"},[e._v("提示:授权商户成功后,导购可通过企业微信好办小程序绑定导购账号后登录")]),e._v(" "),r("el-form",{ref:"form",staticClass:"dialog-form",attrs:{model:e.partForm,rules:e.rules,"label-width":"140px"}},[r("div",{class:["el-form-item el-form-item--large is-required",e.showError?"is-error":""],staticStyle:{position:"relative"}},[r("label",{staticClass:"el-form-item__label",staticStyle:{width:"140px",cursor:"pointer"},attrs:{for:"name"}},[r("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"卡券限制每个会员最大发放次数",placement:"top-start"}},[r("div",{attrs:{slot:"content"},slot:"content"},[e._v("因企业微信仅支持获取同一主体下客户unionid,"),r("br"),e._v("请授权商户确认同步的多个商户的授权绑定公众号为同一主体下,且与企业微信认证主体相同。"),r("br"),e._v("参考链接: https://work.weixin.qq.com/api/doc/90001/90143/92265")]),e._v(" "),r("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("选择商户")])])],1),e._v(" "),r("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"140px"}},[r("div",[r("el-select",{staticClass:"w-95",on:{change:e.changeVersion},model:{value:e.partForm.version,callback:function(t){e.$set(e.partForm,"version",t)},expression:"partForm.version"}},e._l(e.versionList,function(t,a){return r("el-option",{key:a+"option",attrs:{label:t.label,value:t.value}},[e._v(e._s(t.value))])})),r("el-popover",{attrs:{placement:"bottom",title:"",trigger:"click","popper-class":"company-select-pop",width:"267"}},[r("div",{staticClass:"company-select"},[r("div",{staticClass:"el-scrollbar define-search-select"},[r("div",{staticClass:"el-select-dropdown__wrap el-scrollbar__wrap",staticStyle:{"margin-bottom":"-5px","margin-right":"-5px"}},[r("ul",{staticClass:"el-scrollbar__view el-select-dropdown__list"},[e._l(e.searchArray,function(t,a){return r("li",{key:a+"search",staticClass:"el-select-dropdown__item",on:{click:function(r){e.handleSelect(t)}}},[r("div",{staticClass:"flex flex-space-between"},[r("div",{staticStyle:{"line-height":"26px"}},[r("span",{staticClass:"block text-ellipsis"},[e._v(e._s(t.enterpriseName))]),e._v(" "),r("div",{staticClass:"text-ellipsis font-12 color-909399"},[e._v(e._s(t.brandName||"--"))])]),e._v(" "),t.enterpriseId==e.partForm.enterpriseId?r("span",{staticClass:"font-12 color-2f54eb el-icon-check flex-align-center",staticStyle:{display:"flex"}}):e._e()])])}),e._v(" "),e.searchArray.length?e._e():r("li",{staticClass:"el-select-dropdown__item text-center"},[e._v("暂无商户数据")])],2)])])]),e._v(" "),r("div",{staticClass:"select-search-input cursor-pointer",attrs:{slot:"reference"},slot:"reference"},[r("div",[r("el-input",{staticClass:"w-267",attrs:{placeholder:"请搜索选择商户",maxlength:"50"},nativeOn:{keyup:function(t){return r=t,e.querySearchAsync(r,e.searchSelect);var r}},model:{value:e.searchSelect,callback:function(t){e.searchSelect=t},expression:"searchSelect"}})],1)])])],1)]),e._v(" "),e.showError?r("div",{staticClass:"el-form-item__error",staticStyle:{"margin-left":"140px"}},[e._v("请选择商户")]):e._e()]),e._v(" "),r("el-form-item",{attrs:{label:"超级管理员"}},[e._v("\n "+e._s(e._f("formatName")(e.partForm.clerkName))+"\n ")]),e._v(" "),r("el-form-item",{attrs:{label:"超级管理员手机号",prop:""}},[e.partForm.phoneNumber?r("span",[e._v(e._s(e.partForm.nationCode)+"-")]):e._e(),e._v(e._s(e._f("formatPhoneNum")(e.partForm.phoneNumber))+" "),r("el-button",{staticClass:"m-l-35",attrs:{disabled:e.disableBtn,type:"text"},on:{click:function(t){e.sendCode()}}},[e._v(e._s(e.disableBtn&&60==e.countNum||!e.disableBtn&&e.countNum?"点击短信验证":e.countNum+"s"))])],1),e._v(" "),r("el-form-item",{attrs:{label:"短信验证码",prop:"code"}},[r("el-input",{staticStyle:{width:"180px"},attrs:{maxlength:"20",placeholder:"请输入验证码"},model:{value:e.partForm.code,callback:function(t){e.$set(e.partForm,"code",t)},expression:"partForm.code"}})],1)],1),e._v(" "),e._e()],1),e._v(" "),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:function(t){e.cancel("form")}}},[e._v("取消")]),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("form")}}},[e._v("确定")])],1)])},staticRenderFns:[]};var g=r("VU/8")(v,b,!1,function(e){r("DReQ")},"data-v-7049d72b",null);t.a=g.exports}});
\ No newline at end of file
webpackJsonp([2],{"+s70":function(e,t){},"3m5T":function(e,t){},C2ZR:function(e,t){e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMy4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i5Zu+5bGCXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMjAwIDIwMCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjAwIDIwMDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6IzNENkFFODt9DQoJLnN0MXtmaWxsOiM4NkFERjI7fQ0KCS5zdDJ7ZmlsbDojRTFFREZGO30NCjwvc3R5bGU+DQo8Zz4NCgk8cGF0aCBjbGFzcz0ic3QwIiBkPSJNMjguNiwxSDEyMGw2MCw1OS43djEzMC42YzAsNC43LTMuOCw4LjUtOC42LDguNUgyOC42Yy00LjcsMC04LjYtMy44LTguNi04LjVWOS41QzIwLDQuOCwyMy44LDEsMjguNiwxeiIvPg0KCTxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0xMjAsMWw2MCw2MGgtNDYuN0MxMjYsNjEsMTIwLDU1LDEyMCw0Ny43VjF6Ii8+DQoJPHBhdGggY2xhc3M9InN0MiIgZD0iTTQ2LjcsMTAwLjRoMTA2Ljd2MjBINDYuN1YxMDAuNHogTTQ2LjcsMTQwLjRoMTA2Ljd2MjBINDYuN1YxNDAuNHoiLz4NCjwvZz4NCjwvc3ZnPg0K"},EY17:function(e,t){},Huj2:function(e,t){},KUB7:function(e,t){},TkyX:function(e,t){},U7sD:function(e,t){},XTbP:function(e,t){},aSeU:function(e,t){},bBwy:function(e,t){},csqO:function(e,t){},fWmz:function(e,t){},feRM:function(e,t,a){"use strict";var i=a("//Fk"),o=a.n(i),r=a("Ch4/"),l={name:"single-upload",props:{videoSrc:{type:String,default:""},imgSrc:{type:String,default:""},field:{type:String,default:""},uploadLimit:{type:[Number,String],default:2},uploadType:{type:[Number,String],default:1}},data:function(){return{projectName:"",imgShowFlag:!1,imgUrl:"",videoFlag:!1,fileType:1==this.uploadType||2==this.uploadType?"jpg":"mp4"}},beforeMount:function(){var e=window.location.origin;-1!=e.indexOf("localhost")?this.baseUrl="http://www.gicdev.com":this.baseUrl=e},methods:{uploadUrl:function(){var e=window.location.origin,t=void 0;return t="-1"!=e.indexOf("localhost")?"http://www.gicdev.com":e,this.upUrl=t+"/haoban-manage3-web/upload-file?fileType="+this.fileType,this.upUrl},handleAvatarSuccess:function(e,t,a){1==e.errorCode?(this.videoFlag=!1,3==this.uploadType?this.$emit("update:videoSrc",e.result.url):this.$emit("update:imgSrc",e.result.url)):r.a.errorMsg(e)},beforeAvatarUpload:function(e){console.log(e),this.fileType="image/jpeg"===e.type?"jpeg":"image/jpg"===e.type?"jpg":"image/png"===e.type?"png":"video/mp4"==e.type?"mp4":"";var t="image/jpeg"===e.type||"image/jpg"===e.type||"image/png"===e.type,a="video/mp4"==e.type,i=e.size/1024/1024<this.uploadLimit;return 1!=this.uploadType&&2!=this.uploadType||t||this.$message.error("上传图片支持png、jpg、jpeg格式!"),1!=this.uploadType&&2!=this.uploadType||i||this.$message.error("上传图片大小不能超过 "+this.uploadLimit+"MB!"),3!=this.uploadType||a||this.$message.error("上传视频支持MP4格式!"),3!=this.uploadType||i||this.$message.error("上传视频大小不能超过 "+this.uploadLimit+"MB!"),3==this.uploadType?a&&i:t&&i&&new o.a(function(t,a){var i=new FileReader;i.onload=function(e){var a=new Image;a.onload=function(){this.width,this.height;t()},a.src=e.target.result},i.readAsDataURL(e)})},showImage:function(e){if(!e||""==e)return!1;this.imgShowFlag=!0,this.imgUrl=e},hideImage:function(e){this.imgShowFlag=e}}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"single-upload-wrap"},[a("el-upload",{staticClass:"avatar-uploader",attrs:{action:e.uploadUrl(),"show-file-list":!1,"on-success":e.handleAvatarSuccess,"before-upload":e.beforeAvatarUpload}},[e.imgSrc?a("img",{staticClass:"avatar",attrs:{src:e.imgSrc},on:{mouseover:function(t){e.showImage(e.imgSrc)}}}):e._e(),e._v(" "),""!=e.videoSrc&&0==e.videoFlag?a("video",{staticClass:"avatar",attrs:{src:e.videoSrc}},[e._v("您的浏览器不支持视频播放")]):e._e(),e._v(" "),e.imgSrc||e.videoSrc?e._e():a("div",[a("i",{staticClass:"el-icon-plus avatar-uploader-icon"}),e._v(" "),a("p",{staticClass:"font-12 color-606266"},[e._v(e._s(1==e.uploadType||2==e.uploadType?"上传图片":"上传视频"))])])]),e._v(" "),1==e.uploadType?a("p",{staticClass:"upload-tip color-909399 font-12"},[e._v("\n 图片支持png、jpg、jpeg格式,大小不超过2M,可上传1张\n ")]):e._e(),e._v(" "),2==e.uploadType?a("p",{staticClass:"upload-tip color-909399 font-12"},[e._v("\n 建议尺寸:160×160;支持jpg、jpeg、png格式,图片大小不超过1MB\n ")]):e._e(),e._v(" "),3==e.uploadType?a("p",{staticClass:"upload-tip color-909399 font-12"},[e._v("\n 视频支持MP4格式,大小不超过10M,上传企业微信后3天内有效\n ")]):e._e()],1)},staticRenderFns:[]};var n=a("VU/8")(l,c,!1,function(e){a("fWmz")},"data-v-79a9100a",null);t.a=n.exports},"q+Sm":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("l46T"),o=a("PI0u"),r=a("P9l9"),l=a("3E4D"),c=a("Ch4/"),n={props:{materialIds:{type:Array,default:function(){return[]}}},components:{limitInput:i.a},data:function(){return{width:"347px",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",dialogVisible:!0,groupData:[],ruleForm:{categoryId:""},rules:{categoryId:[{required:!0,message:"请选择分组名称",trigger:"change"}]},categoryName:"",currentCategoryId:"",expandArr:[]}},methods:{toCancel:function(){this.$emit("closeGroup"),this.$refs.ruleForm.resetFields()},handleClose:function(e){this.$emit("closeGroup"),this.$refs.ruleForm.resetFields()},submitForm:Object(o.a)(function(e){var t=this;t.$refs[e].validate(function(e){e&&t.postSave()})},300),postSave:function(){var e=this,t={categoryId:e.ruleForm.categoryId,materialIds:e.materialIds};Object(r.d)("/haoban-manage3-web/material-batch",t).then(function(t){var a=t.data;1==a.errorCode?(l.a.showmsg("操作成功","success"),e.$refs.ruleForm.resetFields(),e.$emit("submitGroup")):c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},selectGroup:function(e){e.expand=!e.expand,this.ruleForm.categoryId=e.categoryId,this.currentCategoryId=e.categoryId,this.categoryName=e.categoryName,e.expand?this.expandArr.push(e.categoryId):this.expandArr.splice(this.expandArr.indexOf(e.categoryId),1)},selectNoGroup:function(){this.ruleForm.categoryId="-1",this.currentCategoryId="-1",this.categoryName="未分组"},treeData:function(e){return e.filter(function(t){var a=e.filter(function(e){return t.categoryId==e.categoryParentId});return a.length>0?t.children=a:t.children=[],0==t.categoryParentId})},getGroupData:function(e){var t=this,a={wxEnterpriseId:t.wxEnterpriseId};Object(r.d)("/haoban-manage3-web/category-list",a).then(function(e){var a=e.data;1!=a.errorCode?c.a.errorMsg(a):a.result&&a.result.length&&(a.result.forEach(function(e){e.expand=!!t.expandArr.includes(e.categoryId)}),t.groupData=t.treeData(a.result)||[])}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{},mounted:function(){this.getGroupData()}},s={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:"批量操作-移至分组",visible:e.dialogVisible,width:"485px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"分组",prop:"categoryId"}},[a("el-popover",{staticStyle:{"min-width":"357px"},attrs:{placement:"bottom",trigger:"click"}},[a("div",{staticClass:"select-tree-wrap"},[a("div",{staticClass:"group-body"},[a("div",{class:["no-group m-t-10 line-h-32 font-14 color-606266 cursor-pointer","-1"==e.currentCategoryId?"current-group":""],on:{click:e.selectNoGroup}},[a("span",{class:["color-c0c4cc font-12 cursor-pointer p-l-10 el-icon-caret-bottom el-icon-caret-right"],staticStyle:{color:"transparent"}}),e._v("未分组")]),e._v(" "),a("ul",{staticClass:"group-ul padding-lr-12"},[e._l(e.groupData,function(t,i){return[a("li",{key:i+"group",staticClass:"group-cell"},[a("div",{staticClass:"cursor-pointer group-cell-div",on:{click:function(a){a.stopPropagation(),e.selectGroup(t)}}},[a("span",{class:["color-c0c4cc font-12 cursor-pointer",t.children.length?"color-c0c4cc":"color-transparent",t.expand?"el-icon-caret-bottom":"el-icon-caret-right"]}),a("span",{class:["group-name font-14 color-606266 p-l-10",e.currentCategoryId==t.categoryId?"current-group":""]},[e._v(e._s(t.categoryName))])]),e._v(" "),t.expand?a("ul",{staticClass:"p-l-10"},[e._l(t.children,function(t,i){return[a("li",{key:i+"group",staticClass:"group-cell"},[a("div",{staticClass:"cursor-pointer group-cell-div",on:{click:function(a){a.stopPropagation(),e.selectGroup(t)}}},[a("span",{class:["font-12 cursor-pointer",t.children.length?"color-c0c4cc":"color-transparent",t.expand?"el-icon-caret-bottom":"el-icon-caret-right"]}),a("span",{class:["group-name font-14 color-606266 p-l-10",e.currentCategoryId==t.categoryId?"current-group":""]},[e._v(e._s(t.categoryName))])]),e._v(" "),t.expand?a("ul",{staticClass:"p-l-10"},[e._l(t.children,function(t,i){return[a("li",{key:i+"group",staticClass:"group-cell"},[a("div",{staticClass:"cursor-pointer group-cell-div",on:{click:function(a){a.stopPropagation(),e.selectGroup(t)}}},[a("span",{class:["font-12 cursor-pointer color-transparent",t.expand?"el-icon-caret-bottom":"el-icon-caret-right"]}),a("span",{class:["group-name font-14 color-606266 p-l-10",e.currentCategoryId==t.categoryId?"current-group":""]},[e._v(e._s(t.categoryName))])])])]})],2):e._e()])]})],2):e._e()])]})],2)])]),e._v(" "),a("div",{staticClass:"flex-column item-cell-select inline-block ",attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",style:{width:e.width}},[e.ruleForm.categoryId?e._e():a("span",{staticClass:"font-14 color-c0c4cc",staticStyle:{display:"inline-block","line-height":"32px",color:"#c0c4cc"}},[e._v("请选择")]),e._v("\n "+e._s(e.categoryName)+"\n ")])])])])],1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.toCancel}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("确定")])],1)])},staticRenderFns:[]};var d=a("VU/8")(n,s,!1,function(e){a("U7sD")},"data-v-357a9347",null).exports,u=a("mvHQ"),m=a.n(u),p=a("fZjL"),g=a.n(p),f=a("Kkt8"),h=[{imgUrl:"https://pic01-10001430.image.myqcloud.com/b0d3c14f-69e7-4753-8fbc-3bffcff9f8ce",gifUrl:"https://pic01-10001430.image.myqcloud.com/204994d9-48d8-4bfe-bfbd-e8168d444965",key:"[微笑]",keyCode:"/::)"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a5f7c1eb-358e-47fe-a43c-7ae1ba5e95fd",gifUrl:"https://pic01-10001430.image.myqcloud.com/87bbdce9-82e4-4fb0-8d6c-b867ccf7e058",key:"[撇嘴]",keyCode:"/::~"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/32201a50-e937-4594-bfb2-68dc674d29a1",gifUrl:"https://pic01-10001430.image.myqcloud.com/df55c677-7adb-48f2-bf65-6cf592eccf80",key:"[色]",keyCode:"/::B"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/674f2eea-85fd-4735-9ae5-416aef938857",gifUrl:"https://pic01-10001430.image.myqcloud.com/c44c6034-c191-4526-ac80-c5f7f0fbcf5f",key:"[发呆]",keyCode:"/::|"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a52e4031-51e6-47c4-9a7d-4aa36902e868",gifUrl:"https://pic01-10001430.image.myqcloud.com/684dcfac-a95f-49fc-8d9d-8d3627f4a26e",key:"[得意]",keyCode:"/:8-)"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/d5d3c311-30a7-46d4-bd6b-e09e9e270eb8",gifUrl:"https://pic01-10001430.image.myqcloud.com/3f17d82f-beb6-4e0f-be8b-72c571558438",key:"[流泪]",keyCode:"/::<"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/014fb90d-db81-4a6d-b89d-6edc21825c57",gifUrl:"https://pic01-10001430.image.myqcloud.com/6ce13f11-6c26-4e5a-b3b1-f47151b61e30",key:"[害羞]",keyCode:"/::$"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/fecaa108-f9ee-4871-88f8-04fe9dd006c4",gifUrl:"https://pic01-10001430.image.myqcloud.com/0fe29af4-bddc-46c2-a063-f8d8e4414d13",key:"[闭嘴]",keyCode:"/::X"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/61373735-d6a4-42ec-beb8-f2ad3a4204ae",gifUrl:"https://pic01-10001430.image.myqcloud.com/9fa3a5f6-3814-46df-a85c-e27711b41c45",key:"[睡]",keyCode:"/::Z"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/5e18d40c-00fe-4fa8-94bb-fc5879b601db",gifUrl:"https://pic01-10001430.image.myqcloud.com/87d28ce0-72d2-44ab-a5b9-899ca92737c3",key:"[大哭]",keyCode:"/::'("},{imgUrl:"https://pic01-10001430.image.myqcloud.com/9956bdde-87e2-4377-a77d-2d7a6510dcca",gifUrl:"https://pic01-10001430.image.myqcloud.com/28d4443a-ae59-459b-8fa0-c5d236a84208",key:"[尴尬]",keyCode:"/::-|"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a36b8868-369d-4022-be38-e71970b4b0ed",gifUrl:"https://pic01-10001430.image.myqcloud.com/a3db89ce-6b1a-44e9-a276-8284dfba6fec",key:"[发怒]",keyCode:"/::@"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/2b46750b-e399-41fa-88da-cef0705adb68",gifUrl:"https://pic01-10001430.image.myqcloud.com/a340191e-00f0-4aed-9c4b-5084c9d48a3f",key:"[调皮]",keyCode:"/::P"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/f3d140d2-3490-4d12-a16f-5786c50e92e6",gifUrl:"https://pic01-10001430.image.myqcloud.com/3741398d-ac5e-4ca4-aff2-7072d4f3e809",key:"[呲牙]",keyCode:"/::D"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/d54d58f6-a89a-4a70-9e7a-834ba728e5cb",gifUrl:"https://pic01-10001430.image.myqcloud.com/62bb88d4-a38b-4d0a-943b-854e35f4216d",key:"[惊讶]",keyCode:"/::O"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/ceb0633a-3610-48dc-a4da-79b74d91c5a3",gifUrl:"https://pic01-10001430.image.myqcloud.com/a9f355d2-89d5-41c3-96c9-53e6c1893ce8",key:"[难过]",keyCode:"/::("},{imgUrl:"https://pic01-10001430.image.myqcloud.com/7ae8e3ea-864f-4864-ba73-fbc731fe5e43",gifUrl:"https://pic01-10001430.image.myqcloud.com/75533bd8-4d96-4d14-a28e-18f01141fd53",key:"[酷]",keyCode:"/::+"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/1ad076a0-a052-4cc5-bd1b-d46bdaf25928",gifUrl:"https://pic01-10001430.image.myqcloud.com/b551bd90-8f9c-49d4-a73f-05852da72e4e",key:"[冷汗]",keyCode:"/:--b"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/756eb481-d965-4b09-abe6-5ea2f7d460db",gifUrl:"https://pic01-10001430.image.myqcloud.com/9a9f6be6-6c9f-496e-8f40-cdd56670b1cb",key:"[抓狂]",keyCode:"/::Q"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/56107e91-303c-4d4c-bbc2-6a6ace586777",gifUrl:"https://pic01-10001430.image.myqcloud.com/70b702b8-b1f2-4071-8fa1-01b4bac8c8cb",key:"[吐]",keyCode:"/::T"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/363eb785-69a9-4f18-8e45-cb069bb12c4c",gifUrl:"https://pic01-10001430.image.myqcloud.com/fc61ddbf-a962-4043-a5cc-cb7a8a4edbcc",key:"[偷笑]",keyCode:"/:,@P"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/888ee4dc-0274-4c3d-bb84-e3ba943ff86f",gifUrl:"https://pic01-10001430.image.myqcloud.com/223e7c88-5ffa-4392-a4b1-e5785bf59e19",key:"[愉快]",keyCode:"/:,@-D"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a5a391da-659b-48ab-8007-a8888f98ec66",gifUrl:"https://pic01-10001430.image.myqcloud.com/8fb34158-562b-4710-ae93-47b64174bdbf",key:"[白眼]",keyCode:"/::d"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/f3c70943-f4a2-4e15-a9fb-f8f840878a6a",gifUrl:"https://pic01-10001430.image.myqcloud.com/8a0a3dcb-ea02-4c9d-9fb8-3cd72378da19",key:"[傲慢]",keyCode:"/:,@o"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/c7b25d7c-abc6-4547-803b-19dc45fd5be2",gifUrl:"https://pic01-10001430.image.myqcloud.com/2428fcba-8a72-40d6-b847-6f7034f7e9d5",key:"[饥饿]",keyCode:"/::g"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/c6e9be34-b576-477d-a757-7d5593019552",gifUrl:"https://pic01-10001430.image.myqcloud.com/45cddb56-4a94-4cfb-aea3-02ea14fd5093",key:"[困]",keyCode:"/:|-)"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/015bfb53-443a-4b5c-82f6-960b9d0acedd",gifUrl:"https://pic01-10001430.image.myqcloud.com/1455635c-6cb0-470c-ae27-6602f76af048",key:"[惊恐]",keyCode:"/::!"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/d2569652-651e-4f8a-8052-d8f471af1a4d",gifUrl:"https://pic01-10001430.image.myqcloud.com/c90c340f-39ab-4d34-a301-8aed680e79dd",key:"[流汗]",keyCode:"/::L"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/27f447a5-555d-49c0-b04d-7da098e372f6",gifUrl:"https://pic01-10001430.image.myqcloud.com/e2bf7e8a-3218-44e7-a42e-b18c4fd32411",key:"[憨笑]",keyCode:"/::>"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/8f139cf5-49f7-4bfa-9ab9-d6f23782684e",gifUrl:"https://pic01-10001430.image.myqcloud.com/ee4249c0-d355-40d0-9c68-1187e88e68d8",key:"[悠闲]",keyCode:"/::,@"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/688b20ba-ce01-4369-934f-2062a5b57643",gifUrl:"https://pic01-10001430.image.myqcloud.com/386a5629-aec9-4840-a2cb-dfb8bdbf237d",key:"[奋斗]",keyCode:"/:,@f"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/e05cd4b5-e5cb-4374-80d9-8c09702ce7f5",gifUrl:"https://pic01-10001430.image.myqcloud.com/95d3c7be-356b-4573-8aa8-45724618a527",key:"[咒骂]",keyCode:"/::-S"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/8f11e215-9e39-476b-a77b-e994cc703edc",gifUrl:"https://pic01-10001430.image.myqcloud.com/fa622e45-63eb-4fe3-aa27-cca7dc7db07b",key:"[疑问]",keyCode:"/:?"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/de50c8c0-a797-4bb7-b2ef-ddb4a6b48085",gifUrl:"https://pic01-10001430.image.myqcloud.com/067378c9-04d4-470c-a125-1c3fcfa298e3",key:"[嘘]",keyCode:"/:,@x"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/2e55af63-2591-49b9-9565-85269a308a97",gifUrl:"https://pic01-10001430.image.myqcloud.com/484cc9ea-89b4-4af1-8134-8ba9fdcabeb3",key:"[晕]",keyCode:"/:,@@"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/057a6ff4-2403-424a-aaa4-5ece64336a37",gifUrl:"https://pic01-10001430.image.myqcloud.com/6d21c607-d709-45a5-a8d6-dd74bcdf587f",key:"[疯了]",keyCode:"/::8"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/7d5e19d4-334b-441a-a964-285d8826c6d8",gifUrl:"https://pic01-10001430.image.myqcloud.com/204c089c-d737-447e-a912-a3da4f92c8fe",key:"[哀]",keyCode:"/:,@!"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/9b14cbe9-749a-4081-b697-8a456db53cd3",gifUrl:"https://pic01-10001430.image.myqcloud.com/94019082-ea4b-4ada-a7a3-0e1d02143c62",key:"[骷髅]",keyCode:"/:!!!"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/3518ddf0-8cc3-4b4f-9391-7aa67a95f6b6",gifUrl:"https://pic01-10001430.image.myqcloud.com/7eeb8cc7-6e6b-4e02-b289-4f462677831d",key:"[敲打]",keyCode:"/:xx"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/b3086372-dd16-45d1-a51e-343befece0f7",gifUrl:"https://pic01-10001430.image.myqcloud.com/3e1c155c-3517-4c5f-9831-98a564d94bd2",key:"[再见]",keyCode:"/:bye"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/31350af3-00e6-40c1-91fd-c36660614f7a",gifUrl:"https://pic01-10001430.image.myqcloud.com/39804b4f-e56d-475d-b398-121d65e96d01",key:"[擦汗]",keyCode:"/:wipe"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/fc09bdc6-8467-40c3-b20d-822980f14824",gifUrl:"https://pic01-10001430.image.myqcloud.com/89a3283e-fef9-4ccd-a238-400139a786a9",key:"[抠鼻]",keyCode:"/:dig"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/7a1d3d7f-ae4e-495d-8c4d-75378069a52c",gifUrl:"https://pic01-10001430.image.myqcloud.com/8cd3aee8-56aa-4862-b253-701212e838f6",key:"[鼓掌]",keyCode:"/:handclap"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/434911d7-c142-4115-8ca2-0765f78e41d1",gifUrl:"https://pic01-10001430.image.myqcloud.com/2ead6c2f-23c7-4e5f-b8e3-161153989ede",key:"[糗大了]",keyCode:"/:&-("},{imgUrl:"https://pic01-10001430.image.myqcloud.com/aa3532b6-99df-4984-9e76-013b4e106501",gifUrl:"https://pic01-10001430.image.myqcloud.com/9c3ec470-8055-413c-8839-465f75dd9f71",key:"[坏笑]",keyCode:"/:B-)"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/887fbd28-9f81-42ce-addf-639a94a8edb2",gifUrl:"https://pic01-10001430.image.myqcloud.com/897a5d5b-7c89-40bf-94ed-dc1c91c317ee",key:"[左哼哼]",keyCode:"/:<@"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/2267b046-ac56-4fc2-b592-351a1e6ffa28",gifUrl:"https://pic01-10001430.image.myqcloud.com/da25a587-d314-4b44-98eb-2f9220b6a093",key:"[右哼哼]",keyCode:"/:@>"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/3d1a9b50-3262-4d3e-a554-33871189023d",gifUrl:"https://pic01-10001430.image.myqcloud.com/f5323432-50d2-4393-853c-f8998a956da6",key:"[哈欠]",keyCode:"/::-O"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/edd78bd3-ffbb-4268-8af8-85377535cc0a",gifUrl:"https://pic01-10001430.image.myqcloud.com/ca62a0b0-2d01-4ca4-b958-8417f0906a89",key:"[鄙视]",keyCode:"/:>-|"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/d1f49343-0f9b-485a-b6b7-4d9b43020fab",gifUrl:"https://pic01-10001430.image.myqcloud.com/e43b2e20-8802-44d4-afa0-7eb6b7126c38",key:"[委屈]",keyCode:"/:P-("},{imgUrl:"https://pic01-10001430.image.myqcloud.com/e6532dd2-5734-41fc-862c-3fec91ecb7b7",gifUrl:"https://pic01-10001430.image.myqcloud.com/d3120d89-2df8-47ba-b894-84658dd3e617",key:"[快哭了]",keyCode:"/::'|"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/3799a3bb-94a4-4614-917c-07629f1a63ac",gifUrl:"https://pic01-10001430.image.myqcloud.com/17853d32-28fc-4565-8dab-44d7c95d4819",key:"[阴险]",keyCode:"/:X-)"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/4f84b1d5-235a-41a6-9927-96e29232ab61",gifUrl:"https://pic01-10001430.image.myqcloud.com/a034d0c1-eafd-434c-a3e9-6042081536f9",key:"[亲亲]",keyCode:"/::*"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/fb45c4ad-2813-4ec1-afb7-873ef95ea975",gifUrl:"https://pic01-10001430.image.myqcloud.com/660a65ee-66ff-4fa3-85fc-72149b938739",key:"[吓]",keyCode:"/:@x"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/abdb4f9e-8fec-4fab-98c4-a89711da5f6a",gifUrl:"https://pic01-10001430.image.myqcloud.com/c8ef0424-21c9-4a25-a6be-c2233a6a85ba",key:"[可怜]",keyCode:"/:8*"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/6a0d843a-6870-409a-9bf2-40114628076e",gifUrl:"https://pic01-10001430.image.myqcloud.com/f80d75c4-8f07-459c-9c83-0cf016ddfcef",key:"[菜刀]",keyCode:"/:pd"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/140d13e9-1587-491c-afdc-2599a5ba72de",gifUrl:"https://pic01-10001430.image.myqcloud.com/08ec4424-86b8-4e46-bdce-3c93180a9cf9",key:"[西瓜]",keyCode:"/:<W>"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/d9974e8a-820e-4571-8fde-0fe21b725b7a",gifUrl:"https://pic01-10001430.image.myqcloud.com/8426b197-1a1b-4f5f-a446-e47b2a2bff09",key:"[啤酒]",keyCode:"/:beer"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/4ff9ae58-e8df-4c9e-91ac-b91a6dc9096d",gifUrl:"https://pic01-10001430.image.myqcloud.com/2578648c-f29b-46d3-91de-b636c6014dcc",key:"[篮球]",keyCode:"/:basketb"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/aa136900-c1f5-40f4-9130-1ddae518cb22",gifUrl:"https://pic01-10001430.image.myqcloud.com/3b7a5bec-a119-4a7f-ae8f-e962cfb658b5",key:"[乒乓]",keyCode:"/:oo"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/4de4896d-a8b0-4cc6-921a-bb7a81788e68",gifUrl:"https://pic01-10001430.image.myqcloud.com/5f1af094-059d-48a3-b374-381818827596",key:"[咖啡]",keyCode:"/:coffee"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/c61865c0-2fcf-44e9-bf62-3a5a606ca459",gifUrl:"https://pic01-10001430.image.myqcloud.com/71a2ebba-3160-4a96-9370-2294e325c3d6",key:"[饭]",keyCode:"/:eat"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/2ffebcf6-48a8-4c26-8e67-dd6ea345407f",gifUrl:"https://pic01-10001430.image.myqcloud.com/7309bbc1-3f2e-4df1-b523-b95ad9e18e0f",key:"[猪头]",keyCode:"/:pig"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/66dfc7b5-bebe-45d9-98f6-96d3a28214e8",gifUrl:"https://pic01-10001430.image.myqcloud.com/06673bd8-c7ca-4672-b7a3-569bb5768efc",key:"[玫瑰]",keyCode:"/:rose"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/86a99146-e83b-4132-b3fb-2864aaf8cfa4",gifUrl:"https://pic01-10001430.image.myqcloud.com/6b6b8364-d6eb-4c27-99d8-4bd0930b3cda",key:"[凋谢]",keyCode:"/:fade"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/090ae661-b401-496c-bd1f-d475e20e1c36",gifUrl:"https://pic01-10001430.image.myqcloud.com/d42b19ce-943c-40df-8886-f1cc70281f5d",key:"[嘴唇]",keyCode:"/:showlove"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a8295101-ac8c-4b8b-b1b0-97c548ec7c8d",gifUrl:"https://pic01-10001430.image.myqcloud.com/579e7c8b-d538-4ac0-8b9b-5e0691c33c74",key:"[爱心]",keyCode:"/:heart"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/4b42af75-7434-4e1b-a727-def403b3c018",gifUrl:"https://pic01-10001430.image.myqcloud.com/d8b6265f-2ca2-4227-8aa3-26cfee1e1d8f",key:"[心碎]",keyCode:"/:break"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/2eaf27d5-0f8e-4716-9f0c-7af7fce62980",gifUrl:"https://pic01-10001430.image.myqcloud.com/f96201f2-32b8-462b-847a-22c49c3cf6df",key:"[蛋糕]",keyCode:"/:cake"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/ef55a1bb-6177-4075-b8ae-326b967cd612",gifUrl:"https://pic01-10001430.image.myqcloud.com/f3e8ef24-0efa-4823-af8f-34604e832b94",key:"[闪电]",keyCode:"/:li"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/8672c806-0ecd-45ec-a9cd-2af63c806344",gifUrl:"https://pic01-10001430.image.myqcloud.com/758a6b09-71e7-429b-9c2e-c744b8305610",key:"[炸弹]",keyCode:"/:bome"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/0dfd4afd-f954-4de3-93da-ac6104a007a9",gifUrl:"https://pic01-10001430.image.myqcloud.com/d82af5eb-6fd5-48c8-9ba9-bf8b6ef7fe54",key:"[刀]",keyCode:"/:kn"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/12524677-2787-4a7b-9e8a-2874c44864f6",gifUrl:"https://pic01-10001430.image.myqcloud.com/dbb1e536-27bb-47ea-a57e-25c89ecb4c81",key:"[足球]",keyCode:"/:footb"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/d65a0c9d-d50f-4986-86f4-de5babceeb4f",gifUrl:"https://pic01-10001430.image.myqcloud.com/62a24697-7529-4dce-93ef-8d78ee2ef3d9",key:"[瓢虫]",keyCode:"/:ladybug"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/0c30bcc5-1ad8-4b33-8040-cf11b4c8cdb4",gifUrl:"https://pic01-10001430.image.myqcloud.com/4beffad5-d07f-465b-987e-62687178a609",key:"[便便]",keyCode:"/:shit"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/adb7224b-ddd7-4e51-9cc0-c9642c3ca827",gifUrl:"https://pic01-10001430.image.myqcloud.com/3e124ec4-68d2-4129-ace6-b02b5a0a47dd",key:"[月亮]",keyCode:"/:moon"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/55a303ca-bcbf-42fb-99c5-d2a2aaa2c254",gifUrl:"https://pic01-10001430.image.myqcloud.com/191faab4-2c7d-4b6a-95e0-0cec831bdba8",key:"[太阳]",keyCode:"/:sun"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a84809d8-4553-4380-966b-17484ce317b8",gifUrl:"https://pic01-10001430.image.myqcloud.com/ffbc4ada-d572-4f80-821a-ee1d232c0da4",key:"[礼物]",keyCode:"/:gift"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/70f21a3f-165e-46dd-bbd3-9523e72761ef",gifUrl:"https://pic01-10001430.image.myqcloud.com/1344a463-f19a-4a5a-9e99-450bf32c2c6b",key:"[拥抱]",keyCode:"/:hug"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a008b2e1-6d02-47f0-b477-c2b0e9f585f2",gifUrl:"https://pic01-10001430.image.myqcloud.com/b4cf425d-08fb-48a3-8383-e705d4ed990e",key:"[强]",keyCode:"/:strong"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/dd610773-3bc5-4bce-90a3-d5c7b7af1bd4",gifUrl:"https://pic01-10001430.image.myqcloud.com/bab6f0b3-94e1-4e94-b144-5161c5ee0799",key:"[弱]",keyCode:"/:weak"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/4c027076-e5bb-492c-9cc7-39b58b50f720",gifUrl:"https://pic01-10001430.image.myqcloud.com/72076aef-4091-4b6a-a727-b3b433c64e7e",key:"[握手]",keyCode:"/:share"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/fe962ed9-d581-4bcf-bf9e-8672e45353ef",gifUrl:"https://pic01-10001430.image.myqcloud.com/fe962ed9-d581-4bcf-bf9e-8672e45353ef",key:"[胜利]",keyCode:"/:v"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/27f6adac-c525-4b8e-817d-f79e8b595ad8",gifUrl:"https://pic01-10001430.image.myqcloud.com/ab16d400-9bb0-493d-9973-5cf97f6f8ab2",key:"[抱拳]",keyCode:"/:@)"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/ef165f66-cf6b-4588-81a6-e01a31679670",gifUrl:"https://pic01-10001430.image.myqcloud.com/1e701efe-b602-4570-a957-5ba12486a853",key:"[勾引]",keyCode:"/:jj"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/c230a194-9f2f-4690-84ce-194aed18143b",gifUrl:"https://pic01-10001430.image.myqcloud.com/fb9d43d1-506d-4684-8fc2-62a9cd528feb",key:"[拳头]",keyCode:"/:@@"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/4d963fc7-20c0-4942-b6f6-eb9282c509a6",gifUrl:"https://pic01-10001430.image.myqcloud.com/443b1f18-c10d-4803-9a1d-698075874fcf",key:"[差劲]",keyCode:"/:bad"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/ac3fe192-103c-48f1-bd30-293d5f7551d0",gifUrl:"https://pic01-10001430.image.myqcloud.com/8f0ce5ac-c0b6-4936-8091-953b13d1d091",key:"[爱你]",keyCode:"/:lvu"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/68d642b4-0573-4821-8c42-ecfdaf8ceeb9",gifUrl:"https://pic01-10001430.image.myqcloud.com/633fc189-ab89-4ee5-9325-01f7b6c2a3fe",key:"[NO]",keyCode:"/:no"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/ceb1580b-e0b1-4fcf-a3d9-66b83346cc43",gifUrl:"https://pic01-10001430.image.myqcloud.com/a80685a2-4e41-461c-b67d-e2092c2ba068",key:"[OK]",keyCode:"/:ok"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/1732e5d1-ab4b-4c63-9571-171feac408ef",gifUrl:"https://pic01-10001430.image.myqcloud.com/a83394ea-9191-4eff-a3ca-84646ee748e4",key:"[爱情]",keyCode:"/:love"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/f15cf2a7-89d8-48c5-bd63-0e550a240813",gifUrl:"https://pic01-10001430.image.myqcloud.com/b23f441c-2329-468b-a09a-e6a1d2cc38cf",key:"[飞吻]",keyCode:"/:<L>"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/7be4b8d5-6b2c-4c8c-9444-3e82057e6aca",gifUrl:"https://pic01-10001430.image.myqcloud.com/db11cfab-1be4-4279-b11a-18787247513d",key:"[跳跳]",keyCode:"/:jump"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/a1147a2d-8fe4-4dac-b14b-4d144ce5e2f7",gifUrl:"https://pic01-10001430.image.myqcloud.com/9e243eca-c1e3-4afa-a068-8260af2eb62b",key:"[发抖]",keyCode:"/:shake"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/845e5982-a104-4ca7-be4c-ef176a360c25",gifUrl:"https://pic01-10001430.image.myqcloud.com/1695538d-744f-418b-9362-6eb052642163",key:"[怄火]",keyCode:"/:<O>"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/fd84d952-e6d0-498b-865c-4f9aaf570d81",gifUrl:"https://pic01-10001430.image.myqcloud.com/4ae21d0e-b019-4ab8-a607-8e43b8f24bf1",key:"[转圈]",keyCode:"/:circle"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/976e7ef5-4381-4f98-8a94-b1647c501357",gifUrl:"https://pic01-10001430.image.myqcloud.com/e63c5775-da40-480a-bf57-2fac6b88c372",key:"[磕头]",keyCode:"/:kotow"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/705e70c6-5524-4dc8-840b-ddf0a5558024",gifUrl:"https://pic01-10001430.image.myqcloud.com/fa8c6f1d-3fe6-4ffe-b62b-bc6f6024a681",key:"[回头]",keyCode:"/:turn"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/069837fd-9b7c-4dfe-9203-2cc747c083d0",gifUrl:"https://pic01-10001430.image.myqcloud.com/64a70d02-8888-4c23-93fc-a94c63589ea8",key:"[跳绳]",keyCode:"/:skip"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/ebeb6e1d-a159-4d11-9a41-e639c1b82203",gifUrl:"https://pic01-10001430.image.myqcloud.com/6b12c653-0027-4c44-a9f2-d0bac2d405bf",key:"[投降]",keyCode:"/:oY"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/2da0f4d4-37ed-43bd-ba44-0f3a65c2f46c",gifUrl:"https://pic01-10001430.image.myqcloud.com/21d5b626-e190-4a65-9c88-c4bfcb4261d7",key:"[激动]",keyCode:"/:#-0"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/6d34badb-1972-4b3f-9d42-f054f365ed5a",gifUrl:"https://pic01-10001430.image.myqcloud.com/bc51d1d4-42de-442a-8e94-74ae0dd5abd0",key:"[乱舞]",keyCode:"/:hiphot"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/4e35c97d-f497-4fa8-8cf4-bd6fd8d7f9ad",gifUrl:"https://pic01-10001430.image.myqcloud.com/6856fc16-279a-45cd-9ab3-9396d382f502",key:"[献吻]",keyCode:"/:kiss"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/209d7202-5972-445e-a0f6-336cbe8b0b9d",gifUrl:"https://pic01-10001430.image.myqcloud.com/fadeb841-e07c-47f7-b948-081eabb556b9",key:"[左太极]",keyCode:"/:<&"},{imgUrl:"https://pic01-10001430.image.myqcloud.com/f566cd87-b948-4929-bfcc-955385937095",gifUrl:"https://pic01-10001430.image.myqcloud.com/4b08fdfe-9ea8-420a-9eda-998b6ad2045f",key:"[右太极]",keyCode:"/:&>"}],b={props:{editRow:{type:Object,default:function(){return{}}},categoryId:{type:Object,default:function(){return""}}},components:{limitInput:i.a,limitTextarea:f.a},data:function(){return{editPersion:localStorage.getItem("userName"),dialogVisible:!0,ruleForm:{materialId:"",materialTitle:"",materialContent:""},rules:{materialTitle:[{required:!0,message:"请输入文本标题",trigger:"blur"}],materialContent:[{required:!0,message:"请输入文本内容",trigger:"blur"}]},emojiList:h}},methods:{handleInput:function(e){this.ruleForm.materialContent=e.target.innerText},selectEmoji:function(e){this.ruleForm.materialContent=this.ruleForm.materialContent+e.key},toCancel:function(){this.$emit("closeText"),this.$refs.ruleForm.resetFields()},handleClose:function(e){this.$emit("closeText"),this.$refs.ruleForm.resetFields()},submitForm:Object(o.a)(function(e){var t=this;t.$refs[e].validate(function(e){e&&t.postSave()})},300),postSave:function(){var e=this,t={categoryId:e.categoryId,materialType:1,materialId:e.ruleForm.materialId,materialTitle:e.ruleForm.materialTitle,materialContent:e.ruleForm.materialContent};Object(r.d)(e.ruleForm.materialId?"/haoban-manage3-web/material-edit":"/haoban-manage3-web/material-add",t).then(function(t){var a=t.data;1==a.errorCode?(l.a.showmsg("操作成功","success"),e.$refs.ruleForm.resetFields(),e.$emit("submitText")):c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{editRow:function(e){g()(e).length&&(this.ruleForm=JSON.parse(m()(e)))}},mounted:function(){g()(this.editRow).length&&(this.ruleForm=JSON.parse(m()(this.editRow)))}},y={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:e.editRow.materialId?"编辑文本":"新建文本",visible:e.dialogVisible,width:"600px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"文本标题",prop:"materialTitle"}},[a("limitInput",{attrs:{inputWidth:440,inputValue:e.ruleForm.materialTitle,holder:"请输入文本标题",getByType:"word",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"materialTitle",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"内容",prop:"materialContent"}},[a("div",{staticClass:"material-content"},[a("limit-textarea",{staticClass:"material-body",attrs:{inputWidth:440,inputValue:e.ruleForm.materialContent,holder:"请输入内容",getByType:"char",maxLength:1e3},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"materialContent",t)}}}),e._v(" "),a("el-popover",{attrs:{placement:"top",width:"388",trigger:"click"}},[a("ul",{staticClass:"flex flex-wrap"},e._l(e.emojiList,function(t,i){return a("li",{key:i+"emoji"},[a("img",{attrs:{src:t.gifUrl,alt:""},on:{click:function(a){e.selectEmoji(t)}}})])})),e._v(" "),a("img",{staticClass:"emoji-img cursor-pointer",attrs:{slot:"reference",src:"https://pic01-10001430.image.myqcloud.com/b0d3c14f-69e7-4753-8fbc-3bffcff9f8ce",alt:""},slot:"reference"})])],1)])],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.toCancel}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("确定")])],1)])},staticRenderFns:[]};var v=a("VU/8")(b,y,!1,function(e){a("XTbP")},"data-v-2f38f2be",null).exports,w=a("feRM"),C={props:{editRow:{type:Object,default:function(){return{}}},categoryId:{type:Object,default:function(){return""}}},components:{limitInput:i.a,limitTextarea:f.a,singleUpload:w.a},data:function(){return{editPersion:localStorage.getItem("userName"),dialogVisible:!0,ruleForm:{materialId:"",materialTitle:"",imgUrl:""},rules:{materialTitle:[{required:!0,message:"请输入图片标题",trigger:"blur"}],imgUrl:[{required:!0,message:"请上传图片",trigger:"blur"}]},emojiList:h}},methods:{toCancel:function(){this.$emit("closeText"),this.$refs.ruleForm.resetFields()},handleClose:function(e){this.$emit("closeText"),this.$refs.ruleForm.resetFields()},submitForm:Object(o.a)(function(e){var t=this;t.$refs[e].validate(function(e){e&&t.postSave()})},300),postSave:function(){var e=this,t={categoryId:e.categoryId,materialType:2,materialId:e.ruleForm.materialId,materialTitle:e.ruleForm.materialTitle,imgUrl:e.ruleForm.imgUrl};Object(r.d)(e.ruleForm.materialId?"/haoban-manage3-web/material-edit":"/haoban-manage3-web/material-add",t).then(function(t){var a=t.data;1==a.errorCode?(l.a.showmsg("操作成功","success"),e.$refs.ruleForm.resetFields(),e.$emit("submitText")):c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{editRow:function(e){g()(e).length&&(this.ruleForm=JSON.parse(m()(e)))}},mounted:function(){g()(this.editRow).length&&(this.ruleForm=JSON.parse(m()(this.editRow)))}},k={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:e.editRow.materialId?"编辑图片":"新建图片",visible:e.dialogVisible,width:"600px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"图片标题",prop:"materialTitle"}},[a("limitInput",{attrs:{inputWidth:440,inputValue:e.ruleForm.materialTitle,holder:"请输入图片标题",getByType:"word",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"materialTitle",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"图片",prop:"imgUrl"}},[a("single-upload",{attrs:{uploadType:"1",imgSrc:e.ruleForm.imgUrl},on:{"update:imgSrc":function(t){e.$set(e.ruleForm,"imgUrl",t)}}})],1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.toCancel}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("确定")])],1)])},staticRenderFns:[]};var _=a("VU/8")(C,k,!1,function(e){a("csqO")},"data-v-170c6556",null).exports,x={props:{editRow:{type:Object,default:function(){return{}}},categoryId:{type:Object,default:function(){return""}}},components:{limitInput:i.a,limitTextarea:f.a,singleUpload:w.a},data:function(){return{editPersion:localStorage.getItem("userName"),dialogVisible:!0,ruleForm:{materialId:"",link:"",materialTitle:"",materialDesc:"",imgUrl:""},rules:{materialTitle:[{required:!0,message:"请输入网页标题",trigger:"blur"}],link:[{required:!0,validator:function(e,t,a){""===t?a(new Error("请输入链接")):/(http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?/.test(t)?a():a(new Error("请输入链接,正确格式:https://www.XXX.com!"))},trigger:"blur"}],materialDesc:[{required:!0,message:"请输入摘要",trigger:"blur"}],imgUrl:[{required:!0,message:"请上传网页封面",trigger:"blur"}]},emojiList:h}},methods:{toCancel:function(){this.$emit("closeText"),this.$refs.ruleForm.resetFields()},handleClose:function(e){this.$emit("closeText"),this.$refs.ruleForm.resetFields()},submitForm:Object(o.a)(function(e){var t=this;t.$refs[e].validate(function(e){e&&t.postSave()})},300),postSave:function(){var e=this,t={categoryId:e.categoryId,materialType:3,link:e.ruleForm.link,materialId:e.ruleForm.materialId,materialTitle:e.ruleForm.materialTitle,imgUrl:e.ruleForm.imgUrl,materialDesc:e.ruleForm.materialDesc};Object(r.d)(e.ruleForm.materialId?"/haoban-manage3-web/material-edit":"/haoban-manage3-web/material-add",t).then(function(t){var a=t.data;1==a.errorCode?(l.a.showmsg("操作成功","success"),e.$refs.ruleForm.resetFields(),e.$emit("submitText")):c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{editRow:function(e){g()(e).length&&(this.ruleForm=JSON.parse(m()(e)))}},mounted:function(){g()(this.editRow).length&&(this.ruleForm=JSON.parse(m()(this.editRow)))}},S={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:e.editRow.materialId?"编辑网页":"新建网页",visible:e.dialogVisible,width:"600px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"网页标题",prop:"materialTitle"}},[a("limitInput",{attrs:{inputWidth:440,inputValue:e.ruleForm.materialTitle,holder:"请输入网页标题",getByType:"word",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"materialTitle",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"链接",prop:"link"}},[a("limitInput",{attrs:{inputWidth:440,inputValue:e.ruleForm.link,holder:"请输入链接,格式需带https://www,或http://www",getByType:"word",maxLength:200},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"link",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"摘要",prop:"materialDesc"}},[a("limitInput",{attrs:{inputWidth:440,inputValue:e.ruleForm.materialDesc,holder:"请输入网页摘要",getByType:"word",maxLength:100},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"materialDesc",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"封面",prop:"imgUrl"}},[a("single-upload",{attrs:{uploadType:"2",uploadLimit:1,imgSrc:e.ruleForm.imgUrl},on:{"update:imgSrc":function(t){e.$set(e.ruleForm,"imgUrl",t)}}})],1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.toCancel}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("确定")])],1)])},staticRenderFns:[]};var T=a("VU/8")(x,S,!1,function(e){a("EY17")},"data-v-655f3fbc",null).exports,U={props:{editRow:{type:Object,default:function(){return{}}},categoryId:{type:Object,default:function(){return""}}},components:{limitInput:i.a,limitTextarea:f.a,singleUpload:w.a},data:function(){return{editPersion:localStorage.getItem("userName"),dialogVisible:!0,ruleForm:{materialId:"",materialTitle:"",link:"",imgUrl:""},rules:{materialTitle:[{required:!0,message:"请输入视频标题",trigger:"blur"}],link:[{required:!0,message:"请上传视频",trigger:"blur"}],imgUrl:[{required:!0,message:"请上传封面",trigger:"blur"}]},emojiList:h}},methods:{toCancel:function(){this.$emit("closeText"),this.$refs.ruleForm.resetFields()},handleClose:function(e){this.$emit("closeText"),this.$refs.ruleForm.resetFields()},submitForm:Object(o.a)(function(e){var t=this;t.$refs[e].validate(function(e){e&&t.postSave()})},300),postSave:function(){var e=this,t={categoryId:e.categoryId,materialType:4,materialId:e.ruleForm.materialId,materialTitle:e.ruleForm.materialTitle,link:e.ruleForm.link,imgUrl:e.ruleForm.imgUrl};Object(r.d)(e.ruleForm.materialId?"/haoban-manage3-web/material-edit":"/haoban-manage3-web/material-add",t).then(function(t){var a=t.data;1==a.errorCode?(l.a.showmsg("操作成功","success"),e.$refs.ruleForm.resetFields(),e.$emit("submitText")):c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{editRow:function(e){g()(e).length&&(this.ruleForm=JSON.parse(m()(e)))}},mounted:function(){g()(this.editRow).length&&(this.ruleForm=JSON.parse(m()(this.editRow)))}},I={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:e.editRow.materialId?"编辑视频":"新建视频",visible:e.dialogVisible,width:"600px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"视频标题",prop:"materialTitle"}},[a("limitInput",{attrs:{inputWidth:440,inputValue:e.ruleForm.materialTitle,holder:"请输入视频标题",getByType:"word",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"materialTitle",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"封面",prop:"imgUrl"}},[a("single-upload",{attrs:{uploadType:"2",uploadLimit:1,imgSrc:e.ruleForm.imgUrl},on:{"update:imgSrc":function(t){e.$set(e.ruleForm,"imgUrl",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"视频",prop:"link"}},[a("single-upload",{attrs:{uploadType:"3",uploadLimit:10,videoSrc:e.ruleForm.link},on:{"update:videoSrc":function(t){e.$set(e.ruleForm,"link",t)}}})],1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.toCancel}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("确定")])],1)])},staticRenderFns:[]};var q=a("VU/8")(U,I,!1,function(e){a("+s70")},"data-v-2adae635",null).exports,F={props:{editRow:{type:Object,default:function(){return{}}},categoryId:{type:Object,default:function(){return""}}},components:{limitInput:i.a},data:function(){return{editPersion:localStorage.getItem("userName"),dialogVisible:!0,ruleForm:{materialId:"",materialTitle:"",link:""},rules:{materialTitle:[{required:!0,message:"请输入文件标题",trigger:"blur"}],link:[{required:!0,message:"请上传文件",trigger:"blur"}]},emojiList:h,fileType:".doc",fileDatas:[]}},methods:{uploadUrl:function(){var e=window.location.origin,t=void 0;return t="-1"!=e.indexOf("localhost")?"http://www.gicdev.com":e,this.upUrl=t+"/haoban-manage3-web/upload-file?fileType="+this.fileType,this.upUrl},beforeFileUpload:function(e){var t=e.name.split("."),a=t[t.length-1],i=a.includes("pdf")||a.includes("doc")||a.includes("xls")||a.includes("ppt")||a.includes("zip")||a.includes("rar"),o=e.size/1024/1024<=20;return o||this.$message.error("文件大小超出20M,无法上传"),i?o&&i:(this.$message.error("仅支持word及excle,pdf,ppt,zip,rar格式"),!1)},handleRemove:function(e,t){},handleExceed:function(e,t){this.$message.warning("当前限制选择 1 个文件,本次选择了 "+e.length+" 个文件,共选择了 "+(e.length+t.length)+" 个文件")},handleFileSuccess:function(e,t){this.ruleForm.link=e.result.url},handleFileChange:function(e,t){this.fileDatas=t},handleInput:function(e){this.ruleForm.materialContent=e.target.innerText},selectEmoji:function(e){this.ruleForm.materialContent=this.ruleForm.materialContent+e.key},toCancel:function(){this.$emit("closeText"),this.$refs.ruleForm.resetFields()},handleClose:function(e){this.$emit("closeText"),this.$refs.ruleForm.resetFields()},submitForm:Object(o.a)(function(e){var t=this;t.$refs[e].validate(function(e){e&&t.postSave()})},300),postSave:function(){var e=this,t={categoryId:e.categoryId,materialType:5,materialId:e.ruleForm.materialId,materialTitle:e.ruleForm.materialTitle,link:e.ruleForm.link};Object(r.d)(e.ruleForm.materialId?"/haoban-manage3-web/material-edit":"/haoban-manage3-web/material-add",t).then(function(t){var a=t.data;1==a.errorCode?(l.a.showmsg("操作成功","success"),e.$refs.ruleForm.resetFields(),e.$emit("submitText")):c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{editRow:function(e){g()(e).length&&(this.ruleForm=JSON.parse(m()(e)),this.fileDatas=[{name:e.link.split("/")[5],url:e.link}])}},mounted:function(){g()(this.editRow).length&&(this.ruleForm=JSON.parse(m()(this.editRow)),this.fileDatas=[{name:this.editRow.link.split("/")[5],url:this.editRow.link}])}},D={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:e.editRow.materialId?"编辑文件":"新建文件",visible:e.dialogVisible,width:"600px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"文件标题",prop:"materialTitle"}},[a("limitInput",{attrs:{inputWidth:440,inputValue:e.ruleForm.materialTitle,holder:"请输入文件标题",getByType:"word",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"materialTitle",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"文件",prop:"link"}},[a("el-upload",{staticClass:"upload-demo",attrs:{action:e.uploadUrl(),"before-upload":e.beforeFileUpload,"on-success":e.handleFileSuccess,"on-change":e.handleFileChange,"on-remove":e.handleRemove,limit:1,"on-exceed":e.handleExceed,"file-list":e.fileDatas}},[a("el-button",{attrs:{type:"primary"}},[a("i",{staticClass:"el-icon-upload el-icon--right",staticStyle:{"font-size":"16px","padding-right":"5px"}}),e._v("上传")]),e._v(" "),a("div",{staticClass:"font-12 color-909399",attrs:{slot:"tip"},slot:"tip"},[e._v("普通文件,不大于20MB。支持word及excel,pdf,ppt,zip,rar格式")])],1)],1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.toCancel}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("确定")])],1)])},staticRenderFns:[]};var $=a("VU/8")(F,D,!1,function(e){a("aSeU")},"data-v-9e0c819c",null).exports,N={props:{brandId:{type:String,default:function(){return""}},categoryId:{type:String,default:function(){return""}},textTableData:{type:[Array,Object],default:function(){return[]}},currentPage:{type:[String,Number],default:function(){return 1}},pageSize:{type:[String,Number],default:function(){return 20}},total:{type:[String,Number],default:function(){return 0}}},data:function(){return{tableData:[],multipleSelection:[],textShow:!1,editRow:{}}},computed:{},methods:{closeText:function(){this.textShow=!1,this.editRow={}},submitText:function(){this.textShow=!1,this.editRow={},this.$emit("refreshTable")},toEdit:function(e,t){this.textShow=!0,this.editRow=t},toDel:function(e,t){var a=this;a.$confirm("确定删除当前素材?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,i={materialIds:t.materialId};Object(r.d)("/haoban-manage3-web/material-del",i).then(function(e){var t=e.data;if(1==t.errorCode)return l.a.showmsg("删除成功","success"),void a.$emit("refreshTable");c.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handleSelectionChange:function(e){this.multipleSelection=e,this.$emit("handleSelectionChange",e)},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!g()(e).length)return!1;this.postMultDel(e)},handleSizeChange:function(e){this.$emit("handleSizeChange",e)},handleCurrentChange:function(e){this.$emit("handleCurrentChange",e)}},watch:{textTableData:function(e,t){e.length?this.tableData=JSON.parse(m()(e)):this.tableData=[]}},mounted:function(){this.activeBrand=this.brandId,this.textTableData.length?this.tableData=JSON.parse(m()(this.textTableData)):this.tableData=[]},components:{textEdit:v}},j={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"text-table-body"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),e._v(" "),a("el-table-column",{attrs:{label:"标题",width:"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.materialTitle)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"内容","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.materialContent))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"编辑人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.staffName))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"最近编辑时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.updateTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.updateTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.toEdit(t.$index,t.row)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.toDel(t.$index,t.row)}}},[e._v("删除")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e(),e._v(" "),e.textShow?a("text-edit",{attrs:{editRow:e.editRow,categoryId:e.categoryId},on:{closeText:e.closeText,submitText:e.submitText}}):e._e()],1)},staticRenderFns:[]};var R=a("VU/8")(N,j,!1,function(e){a("bBwy")},"data-v-1f603c47",null).exports,O={props:{brandId:{type:String,default:function(){return""}},categoryId:{type:String,default:function(){return""}},textTableData:{type:[Array,Object],default:function(){return[]}},currentPage:{type:[String,Number],default:function(){return 1}},pageSize:{type:[String,Number],default:function(){return 20}},total:{type:[String,Number],default:function(){return 0}}},data:function(){return{tableData:[],multipleSelection:[],textShow:!1,editRow:{}}},computed:{},methods:{closeText:function(){this.textShow=!1,this.editRow={}},submitText:function(){this.textShow=!1,this.editRow={},this.$emit("refreshTable")},toEdit:function(e,t){this.textShow=!0,this.editRow=t},toDel:function(e,t){var a=this;a.$confirm("确定删除当前素材?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,i={materialIds:t.materialId};Object(r.d)("/haoban-manage3-web/material-del",i).then(function(e){var t=e.data;if(1==t.errorCode)return l.a.showmsg("删除成功","success"),void a.$emit("refreshTable");c.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handleSelectionChange:function(e){this.multipleSelection=e,this.$emit("handleSelectionChange",e)},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!g()(e).length)return!1;this.postMultDel(e)},handleSizeChange:function(e){this.$emit("handleSizeChange",e)},handleCurrentChange:function(e){this.$emit("handleCurrentChange",e)}},watch:{textTableData:function(e,t){e.length?this.tableData=JSON.parse(m()(e)):this.tableData=[]}},mounted:function(){this.activeBrand=this.brandId,this.textTableData.length?this.tableData=JSON.parse(m()(this.textTableData)):this.tableData=[]},components:{imageEdit:_}},z={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"text-table-body"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),e._v(" "),a("el-table-column",{attrs:{label:"标题",width:"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.materialTitle)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"内容"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("div",{staticStyle:{width:"40px",height:"40px"}},[a("img",{staticStyle:{width:"40px",height:"40px"},attrs:{src:e.row.imgUrl,alt:""}})])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"编辑人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.staffName))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"最近编辑时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.updateTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.updateTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.toEdit(t.$index,t.row)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.toDel(t.$index,t.row)}}},[e._v("删除")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e(),e._v(" "),e.textShow?a("image-edit",{attrs:{editRow:e.editRow,categoryId:e.categoryId},on:{closeText:e.closeText,submitText:e.submitText}}):e._e()],1)},staticRenderFns:[]};var P=a("VU/8")(O,z,!1,function(e){a("xRvo")},"data-v-d3da67da",null).exports,M={props:{brandId:{type:String,default:function(){return""}},categoryId:{type:String,default:function(){return""}},textTableData:{type:[Array,Object],default:function(){return[]}},currentPage:{type:[String,Number],default:function(){return 1}},pageSize:{type:[String,Number],default:function(){return 20}},total:{type:[String,Number],default:function(){return 0}}},data:function(){return{tableData:[],multipleSelection:[],textShow:!1,editRow:{}}},computed:{},methods:{closeText:function(){this.textShow=!1,this.editRow={}},submitText:function(){this.textShow=!1,this.editRow={},this.$emit("refreshTable")},toEdit:function(e,t){this.textShow=!0,this.editRow=t},toDel:function(e,t){var a=this;a.$confirm("确定删除当前素材?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,i={materialIds:t.materialId};Object(r.d)("/haoban-manage3-web/material-del",i).then(function(e){var t=e.data;if(1==t.errorCode)return l.a.showmsg("删除成功","success"),void a.$emit("refreshTable");c.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handleSelectionChange:function(e){this.multipleSelection=e,this.$emit("handleSelectionChange",e)},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!g()(e).length)return!1;this.postMultDel(e)},handleSizeChange:function(e){this.$emit("handleSizeChange",e)},handleCurrentChange:function(e){this.$emit("handleCurrentChange",e)}},watch:{textTableData:function(e,t){e.length?this.tableData=JSON.parse(m()(e)):this.tableData=[]}},mounted:function(){this.activeBrand=this.brandId,this.textTableData.length?this.tableData=JSON.parse(m()(this.textTableData)):this.tableData=[]},components:{webEdit:T}},G={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"text-table-body"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),e._v(" "),a("el-table-column",{attrs:{label:"标题",width:"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.materialTitle)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"封面"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("div",{staticStyle:{width:"40px",height:"40px"}},[a("img",{staticStyle:{width:"40px",height:"40px"},attrs:{src:e.row.imgUrl,alt:""}})])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"链接","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.link))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"编辑人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.staffName))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"最近编辑时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.updateTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.updateTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.toEdit(t.$index,t.row)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.toDel(t.$index,t.row)}}},[e._v("删除")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e(),e._v(" "),e.textShow?a("web-edit",{attrs:{editRow:e.editRow,categoryId:e.categoryId},on:{closeText:e.closeText,submitText:e.submitText}}):e._e()],1)},staticRenderFns:[]};var E=a("VU/8")(M,G,!1,function(e){a("KUB7")},"data-v-41dba68c",null).exports,L={props:{brandId:{type:String,default:function(){return""}},categoryId:{type:String,default:function(){return""}},textTableData:{type:[Array,Object],default:function(){return[]}},currentPage:{type:[String,Number],default:function(){return 1}},pageSize:{type:[String,Number],default:function(){return 20}},total:{type:[String,Number],default:function(){return 0}}},data:function(){return{tableData:[],multipleSelection:[],textShow:!1,editRow:{}}},computed:{},methods:{toOpenUrl:function(e){window.open(e.link)},closeText:function(){this.textShow=!1,this.editRow={}},submitText:function(){this.textShow=!1,this.editRow={},this.$emit("refreshTable")},toEdit:function(e,t){this.textShow=!0,this.editRow=t},toDel:function(e,t){var a=this;a.$confirm("确定删除当前素材?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,i={materialIds:t.materialId};Object(r.d)("/haoban-manage3-web/material-del",i).then(function(e){var t=e.data;if(1==t.errorCode)return l.a.showmsg("删除成功","success"),void a.$emit("refreshTable");c.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handleSelectionChange:function(e){this.multipleSelection=e,this.$emit("handleSelectionChange",e)},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!g()(e).length)return!1;this.postMultDel(e)},handleSizeChange:function(e){this.$emit("handleSizeChange",e)},handleCurrentChange:function(e){this.$emit("handleCurrentChange",e)}},watch:{textTableData:function(e,t){e.length?this.tableData=JSON.parse(m()(e)):this.tableData=[]}},mounted:function(){this.activeBrand=this.brandId,this.textTableData.length?this.tableData=JSON.parse(m()(this.textTableData)):this.tableData=[]},components:{videoEdit:q}},V={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"text-table-body"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),e._v(" "),a("el-table-column",{attrs:{label:"标题",width:"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.materialTitle)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"内容"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"cursor-pointer",staticStyle:{width:"40px",height:"40px"},on:{click:function(a){e.toOpenUrl(t.row)}}},[a("video",{staticClass:"avatar",staticStyle:{width:"40px",height:"40px"},attrs:{src:t.row.link}},[e._v("您的浏览器不支持视频播放")])])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"编辑人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.staffName))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"最近编辑时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.updateTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.updateTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.toEdit(t.$index,t.row)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.toDel(t.$index,t.row)}}},[e._v("删除")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e(),e._v(" "),e.textShow?a("video-edit",{attrs:{editRow:e.editRow,categoryId:e.categoryId},on:{closeText:e.closeText,submitText:e.submitText}}):e._e()],1)},staticRenderFns:[]};var B=a("VU/8")(L,V,!1,function(e){a("TkyX")},"data-v-2bd4cf33",null).exports,A={props:{brandId:{type:String,default:function(){return""}},categoryId:{type:String,default:function(){return""}},textTableData:{type:[Array,Object],default:function(){return[]}},currentPage:{type:[String,Number],default:function(){return 1}},pageSize:{type:[String,Number],default:function(){return 20}},total:{type:[String,Number],default:function(){return 0}}},data:function(){return{tableData:[],multipleSelection:[],textShow:!1,editRow:{}}},computed:{},methods:{toOpenFile:function(e){window.open(e.link)},closeText:function(){this.textShow=!1,this.editRow={}},submitText:function(){this.textShow=!1,this.editRow={},this.$emit("refreshTable")},toEdit:function(e,t){this.textShow=!0,this.editRow=t},toDel:function(e,t){var a=this;a.$confirm("确定删除当前文本素材?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,i={materialIds:t.materialId};Object(r.d)("/haoban-manage3-web/material-del",i).then(function(e){var t=e.data;if(1==t.errorCode)return l.a.showmsg("删除成功","success"),void a.$emit("refreshTable");c.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handleSelectionChange:function(e){this.multipleSelection=e,this.$emit("handleSelectionChange",e)},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!g()(e).length)return!1;this.postMultDel(e)},handleSizeChange:function(e){this.$emit("handleSizeChange",e)},handleCurrentChange:function(e){this.$emit("handleCurrentChange",e)}},watch:{textTableData:function(e,t){e.length?this.tableData=JSON.parse(m()(e)):this.tableData=[]}},mounted:function(){this.activeBrand=this.brandId,this.textTableData.length?this.tableData=JSON.parse(m()(this.textTableData)):this.tableData=[]},components:{fileEdit:$}},J={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"text-table-body"},[i("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[i("el-table-column",{attrs:{type:"selection",width:"45"}}),e._v(" "),i("el-table-column",{attrs:{label:"标题",width:"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.materialTitle)+"\n ")]}}])}),e._v(" "),i("el-table-column",{attrs:{prop:"",label:"内容"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("div",{staticClass:"flex flex-pack-center cursor-pointer",staticStyle:{width:"40px",height:"40px",background:"#f5f7fa"},on:{click:function(a){e.toOpenFile(t.row)}}},[i("img",{staticStyle:{width:"23px"},attrs:{src:a("C2ZR"),alt:""}})])]}}])}),e._v(" "),i("el-table-column",{attrs:{prop:"",label:"编辑人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.staffName))]}}])}),e._v(" "),i("el-table-column",{attrs:{prop:"",label:"最近编辑时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.updateTime)))]),e._v(" "),i("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.updateTime)))])]}}])}),e._v(" "),i("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-button",{attrs:{type:"text"},on:{click:function(a){e.toEdit(t.$index,t.row)}}},[e._v("编辑")]),e._v(" "),i("el-button",{attrs:{type:"text"},on:{click:function(a){e.toDel(t.$index,t.row)}}},[e._v("删除")])]}}])})],1),e._v(" "),0!=e.tableData.length?i("div",{staticClass:"block common-wrap__page text-right m-t-24"},[i("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e(),e._v(" "),e.textShow?i("file-edit",{attrs:{editRow:e.editRow,categoryId:e.categoryId},on:{closeText:e.closeText,submitText:e.submitText}}):e._e()],1)},staticRenderFns:[]};var H=a("VU/8")(A,J,!1,function(e){a("zAFc")},"data-v-699115d6",null).exports,W={props:{editRow:{type:Object,default:function(){return{}}},categoryParentId:{type:Object,default:function(){return""}}},components:{limitInput:i.a},data:function(){return{editPersion:localStorage.getItem("userName"),dialogVisible:!0,ruleForm:{categoryId:"",categoryName:"",categoryParentId:this.categoryParentId},rules:{categoryName:[{required:!0,message:"请输入分组名称",trigger:"blur"}]}}},methods:{toCancel:function(){this.$emit("closeGroup"),this.$refs.ruleForm.resetFields()},handleClose:function(e){this.$emit("closeGroup"),this.$refs.ruleForm.resetFields()},submitForm:Object(o.a)(function(e){var t=this;t.$refs[e].validate(function(e){e&&t.postSave()})},300),postSave:function(){var e=this,t={categoryParentId:e.ruleForm.categoryParentId||"0",categoryId:e.ruleForm.categoryId,categoryName:e.ruleForm.categoryName};Object(r.d)(e.ruleForm.categoryId?"/haoban-manage3-web/category-edit":"/haoban-manage3-web/mateial-add-category",t).then(function(t){var a=t.data;1==a.errorCode?(l.a.showmsg("操作成功","success"),e.$refs.ruleForm.resetFields(),e.$emit("submitGroup")):c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{editRow:function(e){g()(e).length&&(this.ruleForm=JSON.parse(m()(e)))}},mounted:function(){g()(this.editRow).length&&(this.ruleForm=JSON.parse(m()(this.editRow)))}},Z={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:e.editRow.categoryId?"编辑分组":"新增分组",visible:e.dialogVisible,width:"485px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"分组名称",prop:"categoryName"}},[a("limitInput",{attrs:{inputWidth:300,inputValue:e.ruleForm.categoryName,holder:"请输入分组名称",getByType:"word",maxLength:8},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"categoryName",t)}}})],1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.toCancel}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("确定")])],1)])},staticRenderFns:[]};var Y=a("VU/8")(W,Z,!1,function(e){a("Huj2")},"data-v-23d07da2",null).exports,Q={props:{},data:function(){return{wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",searchInput:"",currentCategoryId:"-1",groupData:[],categoryParentId:"",addShow:!1,editGroupRow:{},expandArr:[],loading:!1,tableData:[],currentPage:1,pageSize:20,total:0,activeName:"1",multOpt:"",multData:[],textShow:!1,imageShow:!1,webShow:!1,videoShow:!1,fileShow:!1,multTrans:!1,materialIds:[]}},methods:{changeOpt:function(e){var t=this;if(!t.multData.length)return l.a.showmsg("请先选择素材","warning"),t.multOpt="",!1;1==e?t.$confirm("确定删除选中的素材?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.postMultDel()}).catch(function(){}):(t.materialIds=t.multData.map(function(e){return e.materialId}).join(","),t.multTrans=!0)},postMultDel:function(){var e=this,t={materialIds:e.multData.map(function(e){return e.materialId}).join(",")};Object(r.d)("/haoban-manage3-web/material-del",t).then(function(t){var a=t.data;if(1==a.errorCode)return l.a.showmsg("删除成功","success"),e.multOpt="",void e.refreshTable();c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleSelText:function(e){this.multData=e},addText:function(){this.textShow=!0},closeText:function(){this.textShow=!1,this.imageShow=!1,this.webShow=!1,this.videoShow=!1,this.fileShow=!1},submitText:function(){this.textShow=!1,this.imageShow=!1,this.webShow=!1,this.videoShow=!1,this.fileShow=!1,this.refreshTable()},addImage:function(){this.imageShow=!0},addWeb:function(){this.webShow=!0},addVideo:function(){this.videoShow=!0},addFile:function(){this.fileShow=!0},refreshTable:function(){this.currentPage=1,this.getTableList()},handleClick:function(){this.currentPage=1,this.getTableList()},selectGroup:function(e){e.expand=!e.expand,this.currentCategoryId=e.categoryId,e.expand?this.expandArr.push(e.categoryId):this.expandArr.splice(this.expandArr.indexOf(e.categoryId),1),this.currentPage=1,this.getTableList(),this.$forceUpdate()},selectNoGroup:function(){this.currentCategoryId="-1",this.currentPage=1,this.getTableList()},toInput:Object(o.a)(function(e,t){this.currentPage=1,this.getTableList()},500),clearSearch:function(){this.currentPage=1,this.getTableList()},addGroup:function(){this.addShow=!0,this.categoryParentId="",this.editGroupRow={}},closeGroup:function(){this.multTrans=!1,this.addShow=!1,this.multOpt=""},submitGroup:function(){this.multTrans=!1,this.addShow=!1,this.getGroupData(),this.currentPage=1,this.getTableList(),this.multOpt=""},addChildGroup:function(e){this.editGroupRow={},this.categoryParentId=e.categoryId,this.addShow=!0},editGroup:function(e){this.addShow=!0,this.categoryParentId="",this.editGroupRow=e},delGroup:function(e){var t=this;t.$confirm("是否删除当前选中的分组?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.postDelData(e)}).catch(function(){})},postDelData:function(e){var t=this,a={categoryId:e.categoryId};Object(r.a)("/haoban-manage3-web/category-del",a).then(function(e){var a=e.data;if(1==a.errorCode)return l.a.showmsg("删除成功","success"),void t.getGroupData();c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},treeData:function(e){return e.filter(function(t){var a=e.filter(function(e){return t.categoryId==e.categoryParentId});return a.length>0?t.children=a:t.children=[],0==t.categoryParentId})},getGroupData:function(){var e=this,t={wxEnterpriseId:e.wxEnterpriseId};Object(r.a)("/haoban-manage3-web/category-list",t).then(function(t){var a=t.data;1!=a.errorCode?c.a.errorMsg(a):a.result&&a.result.length&&(a.result.forEach(function(t){t.expand=!!e.expandArr.includes(t.categoryId)}),e.groupData=e.treeData(a.result)||[])}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this;t.loading=!0;var a={wxEnterpriseId:t.wxEnterpriseId,keyword:t.searchInput,categoryId:t.currentCategoryId,materialType:t.activeName,pageNum:t.currentPage,pageSize:t.pageSize};Object(r.a)("/haoban-manage3-web/material-list",a).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.result||[],void(t.total=a.result.totalCount);c.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},watch:{},mounted:function(){this.$emit("showTab",3),document.documentElement.style.backgroundColor="#f0f2f5",this.getGroupData(),this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{groupDialog:Y,selectGroup:d,textTable:R,imageTable:P,webTable:E,videoTable:B,fileTable:H,textEdit:v,imageEdit:_,webEdit:T,videoEdit:q,fileEdit:$}},X={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"material-set-wrap "},[a("div",{staticClass:" border-box"},[a("div",{staticClass:"material-top border-box"},[a("el-input",{staticStyle:{width:"394px"},attrs:{placeholder:"请输入素材名称",maxlength:"50",clearable:""},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchInput);var a}},model:{value:e.searchInput,callback:function(t){e.searchInput=t},expression:"searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),a("div",{staticClass:"material-body flex"},[a("div",{staticClass:"material-left"},[a("div",{staticClass:"material-left-add m-t-10 text-center"},[a("div",{staticClass:"add-group font-14 color-909399 cursor-pointer line-h-32",on:{click:e.addGroup}},[a("span",{staticClass:"el-icon-plus"}),a("span",{staticClass:"p-l-5"},[e._v("新建分组")])])]),e._v(" "),a("div",{staticClass:"group-body"},[a("div",{class:["no-group m-t-10 line-h-32 font-14 color-606266 cursor-pointer","-1"==e.currentCategoryId?"current-group":""],on:{click:e.selectNoGroup}},[a("span",{class:["color-c0c4cc font-12 cursor-pointer p-l-10 el-icon-caret-bottom el-icon-caret-right"],staticStyle:{color:"transparent"}}),e._v("未分组")]),e._v(" "),a("ul",{staticClass:"group-ul padding-lr-12"},[e._l(e.groupData,function(t,i){return[a("li",{key:i+"group",staticClass:"group-cell"},[a("div",{staticClass:"cursor-pointer group-cell-div",on:{click:function(a){a.stopPropagation(),e.selectGroup(t)}}},[a("span",{class:["color-c0c4cc font-12 cursor-pointer",t.children.length?"color-c0c4cc":"color-transparent",t.expand?"el-icon-caret-bottom":"el-icon-caret-right"]}),a("span",{class:["group-name font-14 color-606266 p-l-10",e.currentCategoryId==t.categoryId?"current-group":""]},[e._v(e._s(t.categoryName))]),a("el-popover",{attrs:{placement:"bottom",width:"75",trigger:"hover","popper-class":"group-popover"}},[a("ul",[a("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(a){a.stopPropagation(),e.addChildGroup(t)}}},[e._v("新增子分组")]),e._v(" "),a("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(a){a.stopPropagation(),e.editGroup(t)}}},[e._v("编辑")]),e._v(" "),t.children.length?e._e():a("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(a){a.stopPropagation(),e.delGroup(t)}}},[e._v("删除")])]),e._v(" "),a("span",{staticClass:"iconfont icongengduo color-afaeae cursor-pointer operate-icon",attrs:{slot:"reference"},slot:"reference"})])],1),e._v(" "),t.expand?a("ul",{staticClass:"p-l-10"},[e._l(t.children,function(t,i){return[a("li",{key:i+"group",staticClass:"group-cell"},[a("div",{staticClass:"cursor-pointer group-cell-div",on:{click:function(a){a.stopPropagation(),e.selectGroup(t)}}},[a("span",{class:["font-12 cursor-pointer",t.children.length?"color-c0c4cc":"color-transparent",t.expand?"el-icon-caret-bottom":"el-icon-caret-right"]}),a("span",{class:["group-name font-14 color-606266 p-l-10",e.currentCategoryId==t.categoryId?"current-group":""]},[e._v(e._s(t.categoryName))]),a("el-popover",{attrs:{placement:"bottom",width:"75",trigger:"hover","popper-class":"group-popover"}},[a("ul",[a("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(a){a.stopPropagation(),e.addChildGroup(t)}}},[e._v("新增子分组")]),e._v(" "),a("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(a){a.stopPropagation(),e.editGroup(t)}}},[e._v("编辑")]),e._v(" "),t.children.length?e._e():a("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(a){a.stopPropagation(),e.delGroup(t)}}},[e._v("删除")])]),e._v(" "),a("span",{staticClass:"iconfont icongengduo color-afaeae cursor-pointer operate-icon",attrs:{slot:"reference"},slot:"reference"})])],1),e._v(" "),t.expand?a("ul",{staticClass:"p-l-10"},[e._l(t.children,function(t,i){return[a("li",{key:i+"group",staticClass:"group-cell"},[a("div",{staticClass:"cursor-pointer group-cell-div",on:{click:function(a){a.stopPropagation(),e.selectGroup(t)}}},[a("span",{class:["font-12 cursor-pointer color-transparent",t.expand?"el-icon-caret-bottom":"el-icon-caret-right"]}),a("span",{class:["group-name font-14 color-606266 p-l-10",e.currentCategoryId==t.categoryId?"current-group":""]},[e._v(e._s(t.categoryName))]),a("el-popover",{attrs:{placement:"bottom",width:"75",trigger:"hover","popper-class":"group-popover"}},[a("ul",[a("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(a){a.stopPropagation(),e.editGroup(t)}}},[e._v("编辑")]),e._v(" "),a("li",{staticClass:"line-h-32 font-14 color-606266",on:{click:function(a){a.stopPropagation(),e.delGroup(t)}}},[e._v("删除")])]),e._v(" "),a("span",{staticClass:"iconfont icongengduo color-afaeae cursor-pointer operate-icon",attrs:{slot:"reference"},slot:"reference"})])],1)])]})],2):e._e()])]})],2):e._e()])]})],2)])]),e._v(" "),a("div",{staticClass:"material-right"},[a("div",{staticClass:"material-table"},[a("div",{staticClass:"add-btn-wrap"},[1==e.activeName?a("el-button",{attrs:{type:"primary"},on:{click:e.addText}},[e._v("新建文本")]):e._e(),2==e.activeName?a("el-button",{attrs:{type:"primary"},on:{click:e.addImage}},[e._v("新建图片")]):e._e(),3==e.activeName?a("el-button",{attrs:{type:"primary"},on:{click:e.addWeb}},[e._v("新建网页")]):e._e(),4==e.activeName?a("el-button",{attrs:{type:"primary"},on:{click:e.addVideo}},[e._v("新建视频")]):e._e(),5==e.activeName?a("el-button",{attrs:{type:"primary"},on:{click:e.addFile}},[e._v("新建文件")]):e._e(),a("el-select",{staticClass:"m-l-10",staticStyle:{"vertical-align":"top"},attrs:{placeholder:"批量操作"},on:{change:e.changeOpt},model:{value:e.multOpt,callback:function(t){e.multOpt=t},expression:"multOpt"}},[a("el-option",{attrs:{label:"批量删除",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"批量转移",value:"2"}})],1)],1),e._v(" "),a("el-tabs",{on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{name:"1"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"iconfont iconwenzi p-r-5"}),e._v("文本")]),e._v(" "),a("text-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{currentPage:e.currentPage,pageSize:e.pageSize,total:e.total,textTableData:e.tableData,categoryId:e.currentCategoryId},on:{handleSelectionChange:e.handleSelText,refreshTable:e.refreshTable,handleCurrentChange:e.handleCurrentChange,handleSizeChange:e.handleSizeChange}})],1),e._v(" "),a("el-tab-pane",{attrs:{label:"图片",name:"2"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"iconfont icontupian p-r-5 "}),e._v("图片")]),e._v(" "),a("image-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{currentPage:e.currentPage,pageSize:e.pageSize,total:e.total,categoryId:e.currentCategoryId,textTableData:e.tableData},on:{handleSelectionChange:e.handleSelText,refreshTable:e.refreshTable,handleCurrentChange:e.handleCurrentChange,handleSizeChange:e.handleSizeChange}})],1),e._v(" "),a("el-tab-pane",{attrs:{label:"网页",name:"3"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"iconfont icondaima p-r-5 "}),e._v("网页")]),e._v(" "),a("web-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{currentPage:e.currentPage,pageSize:e.pageSize,total:e.total,categoryId:e.currentCategoryId,textTableData:e.tableData},on:{handleSelectionChange:e.handleSelText,refreshTable:e.refreshTable,handleCurrentChange:e.handleCurrentChange,handleSizeChange:e.handleSizeChange}})],1),e._v(" "),a("el-tab-pane",{attrs:{label:"视频",name:"4"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"iconfont iconshipin p-r-5 "}),e._v("视频")]),e._v(" "),a("video-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{currentPage:e.currentPage,pageSize:e.pageSize,total:e.total,categoryId:e.currentCategoryId,textTableData:e.tableData},on:{handleSelectionChange:e.handleSelText,refreshTable:e.refreshTable,handleCurrentChange:e.handleCurrentChange,handleSizeChange:e.handleSizeChange}})],1),e._v(" "),a("el-tab-pane",{attrs:{label:"文件",name:"5"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"iconfont iconwenjian p-r-5 "}),e._v("文件")]),e._v(" "),a("file-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{currentPage:e.currentPage,pageSize:e.pageSize,total:e.total,categoryId:e.currentCategoryId,textTableData:e.tableData},on:{handleSelectionChange:e.handleSelText,refreshTable:e.refreshTable,handleCurrentChange:e.handleCurrentChange,handleSizeChange:e.handleSizeChange}})],1)],1)],1)])])]),e._v(" "),e.addShow?a("group-dialog",{attrs:{categoryParentId:e.categoryParentId,editRow:e.editGroupRow},on:{closeGroup:e.closeGroup,submitGroup:e.submitGroup}}):e._e(),e._v(" "),e.textShow?a("text-edit",{attrs:{categoryId:e.currentCategoryId},on:{closeText:e.closeText,submitText:e.submitText}}):e._e(),e._v(" "),e.imageShow?a("image-edit",{attrs:{categoryId:e.currentCategoryId},on:{closeText:e.closeText,submitText:e.submitText}}):e._e(),e._v(" "),e.webShow?a("web-edit",{attrs:{categoryId:e.currentCategoryId},on:{closeText:e.closeText,submitText:e.submitText}}):e._e(),e._v(" "),e.videoShow?a("video-edit",{attrs:{categoryId:e.currentCategoryId},on:{closeText:e.closeText,submitText:e.submitText}}):e._e(),e._v(" "),e.fileShow?a("file-edit",{attrs:{categoryId:e.currentCategoryId},on:{closeText:e.closeText,submitText:e.submitText}}):e._e(),e._v(" "),e.multTrans?a("select-group",{attrs:{materialIds:e.materialIds},on:{closeGroup:e.closeGroup,submitGroup:e.submitGroup}}):e._e()],1)},staticRenderFns:[]};var K=a("VU/8")(Q,X,!1,function(e){a("3m5T")},"data-v-63d73c27",null);t.default=K.exports},xRvo:function(e,t){},zAFc:function(e,t){}});
\ No newline at end of file
webpackJsonp([2],{"7Otq":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAKQ2lDQ1BJQ0MgcHJvZmlsZQAAeNqdU3dYk/cWPt/3ZQ9WQtjwsZdsgQAiI6wIyBBZohCSAGGEEBJAxYWIClYUFRGcSFXEgtUKSJ2I4qAouGdBiohai1VcOO4f3Ke1fXrv7e371/u855zn/M55zw+AERImkeaiagA5UoU8Otgfj09IxMm9gAIVSOAEIBDmy8JnBcUAAPADeXh+dLA//AGvbwACAHDVLiQSx+H/g7pQJlcAIJEA4CIS5wsBkFIAyC5UyBQAyBgAsFOzZAoAlAAAbHl8QiIAqg0A7PRJPgUA2KmT3BcA2KIcqQgAjQEAmShHJAJAuwBgVYFSLALAwgCgrEAiLgTArgGAWbYyRwKAvQUAdo5YkA9AYACAmUIszAAgOAIAQx4TzQMgTAOgMNK/4KlfcIW4SAEAwMuVzZdL0jMUuJXQGnfy8ODiIeLCbLFCYRcpEGYJ5CKcl5sjE0jnA0zODAAAGv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,n;n=function(){function t(t){this.mode=r.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,o=this.data.length;e<o;e++){var n=[],i=this.data.charCodeAt(e);i>65536?(n[0]=240|(1835008&i)>>>18,n[1]=128|(258048&i)>>>12,n[2]=128|(4032&i)>>>6,n[3]=128|63&i):i>2048?(n[0]=224|(61440&i)>>>12,n[1]=128|(4032&i)>>>6,n[2]=128|63&i):i>128?(n[0]=192|(1984&i)>>>6,n[1]=128|63&i):n[0]=i,this.parsedData.push(n)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function e(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}t.prototype={getLength:function(t){return this.parsedData.length},write:function(t){for(var e=0,r=this.parsedData.length;e<r;e++)t.put(this.parsedData[e],8)}},e.prototype={addData:function(e){var r=new t(e);this.dataList.push(r),this.dataCache=null},isDark:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,r){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var o=0;o<this.moduleCount;o++){this.modules[o]=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++)this.modules[o][n]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,r),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=e.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,r)},setupPositionProbePattern:function(t,e){for(var r=-1;r<=7;r++)if(!(t+r<=-1||this.moduleCount<=t+r))for(var o=-1;o<=7;o++)e+o<=-1||this.moduleCount<=e+o||(this.modules[t+r][e+o]=0<=r&&r<=6&&(0==o||6==o)||0<=o&&o<=6&&(0==r||6==r)||2<=r&&r<=4&&2<=o&&o<=4)},getBestMaskPattern:function(){for(var t=0,e=0,r=0;r<8;r++){this.makeImpl(!0,r);var o=d.getLostPoint(this);(0==r||t>o)&&(t=o,e=r)}return e},createMovieClip:function(t,e,r){var o=t.createEmptyMovieClip(e,r);this.make();for(var n=0;n<this.modules.length;n++)for(var i=1*n,a=0;a<this.modules[n].length;a++){var s=1*a;this.modules[n][a]&&(o.beginFill(0,100),o.moveTo(s,i),o.lineTo(s+1,i),o.lineTo(s+1,i+1),o.lineTo(s,i+1),o.endFill())}return o},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=e%2==0)},setupPositionAdjustPattern:function(){for(var t=d.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var r=0;r<t.length;r++){var o=t[e],n=t[r];if(null==this.modules[o][n])for(var i=-2;i<=2;i++)for(var a=-2;a<=2;a++)this.modules[o+i][n+a]=-2==i||2==i||-2==a||2==a||0==i&&0==a}},setupTypeNumber:function(t){for(var e=d.getBCHTypeNumber(this.typeNumber),r=0;r<18;r++){var o=!t&&1==(e>>r&1);this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=o}for(r=0;r<18;r++){o=!t&&1==(e>>r&1);this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=o}},setupTypeInfo:function(t,e){for(var r=this.errorCorrectLevel<<3|e,o=d.getBCHTypeInfo(r),n=0;n<15;n++){var i=!t&&1==(o>>n&1);n<6?this.modules[n][8]=i:n<8?this.modules[n+1][8]=i:this.modules[this.moduleCount-15+n][8]=i}for(n=0;n<15;n++){i=!t&&1==(o>>n&1);n<8?this.modules[8][this.moduleCount-n-1]=i:n<9?this.modules[8][15-n-1+1]=i:this.modules[8][15-n-1]=i}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var r=-1,o=this.moduleCount-1,n=7,i=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;s<2;s++)if(null==this.modules[o][a-s]){var h=!1;i<t.length&&(h=1==(t[i]>>>n&1)),d.getMask(e,o,a-s)&&(h=!h),this.modules[o][a-s]=h,-1==--n&&(i++,n=7)}if((o+=r)<0||this.moduleCount<=o){o-=r,r=-r;break}}}},e.PAD0=236,e.PAD1=17,e.createData=function(t,r,o){for(var n=A.getRSBlocks(t,r),i=new v,a=0;a<o.length;a++){var s=o[a];i.put(s.mode,4),i.put(s.getLength(),d.getLengthInBits(s.mode,t)),s.write(i)}var h=0;for(a=0;a<n.length;a++)h+=n[a].dataCount;if(i.getLengthInBits()>8*h)throw new Error("code length overflow. ("+i.getLengthInBits()+">"+8*h+")");for(i.getLengthInBits()+4<=8*h&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;!(i.getLengthInBits()>=8*h||(i.put(e.PAD0,8),i.getLengthInBits()>=8*h));)i.put(e.PAD1,8);return e.createBytes(i,n)},e.createBytes=function(t,e){for(var r=0,o=0,n=0,i=new Array(e.length),a=new Array(e.length),s=0;s<e.length;s++){var h=e[s].dataCount,l=e[s].totalCount-h;o=Math.max(o,h),n=Math.max(n,l),i[s]=new Array(h);for(var u=0;u<i[s].length;u++)i[s][u]=255&t.buffer[u+r];r+=h;var c=d.getErrorCorrectPolynomial(l),g=new m(i[s],c.getLength()-1).mod(c);a[s]=new Array(c.getLength()-1);for(u=0;u<a[s].length;u++){var f=u+g.getLength()-a[s].length;a[s][u]=f>=0?g.get(f):0}}var p=0;for(u=0;u<e.length;u++)p+=e[u].totalCount;var A=new Array(p),v=0;for(u=0;u<o;u++)for(s=0;s<e.length;s++)u<i[s].length&&(A[v++]=i[s][u]);for(u=0;u<n;u++)for(s=0;s<e.length;s++)u<a[s].length&&(A[v++]=a[s][u]);return A};for(var r={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},n={L:1,M:0,Q:3,H:2},i=0,a=1,s=2,h=3,l=4,u=5,c=6,g=7,d={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){for(var e=t<<10;d.getBCHDigit(e)-d.getBCHDigit(d.G15)>=0;)e^=d.G15<<d.getBCHDigit(e)-d.getBCHDigit(d.G15);return(t<<10|e)^d.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;d.getBCHDigit(e)-d.getBCHDigit(d.G18)>=0;)e^=d.G18<<d.getBCHDigit(e)-d.getBCHDigit(d.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return d.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,r){switch(t){case i:return(e+r)%2==0;case a:return e%2==0;case s:return r%3==0;case h:return(e+r)%3==0;case l:return(Math.floor(e/2)+Math.floor(r/3))%2==0;case u:return e*r%2+e*r%3==0;case c:return(e*r%2+e*r%3)%2==0;case g:return(e*r%3+(e+r)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new m([1],0),r=0;r<t;r++)e=e.multiply(new m([1,f.gexp(r)],0));return e},getLengthInBits:function(t,e){if(1<=e&&e<10)switch(t){case r.MODE_NUMBER:return 10;case r.MODE_ALPHA_NUM:return 9;case r.MODE_8BIT_BYTE:case r.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case r.MODE_NUMBER:return 12;case r.MODE_ALPHA_NUM:return 11;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case r.MODE_NUMBER:return 14;case r.MODE_ALPHA_NUM:return 13;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),r=0,o=0;o<e;o++)for(var n=0;n<e;n++){for(var i=0,a=t.isDark(o,n),s=-1;s<=1;s++)if(!(o+s<0||e<=o+s))for(var h=-1;h<=1;h++)n+h<0||e<=n+h||0==s&&0==h||a==t.isDark(o+s,n+h)&&i++;i>5&&(r+=3+i-5)}for(o=0;o<e-1;o++)for(n=0;n<e-1;n++){var l=0;t.isDark(o,n)&&l++,t.isDark(o+1,n)&&l++,t.isDark(o,n+1)&&l++,t.isDark(o+1,n+1)&&l++,0!=l&&4!=l||(r+=3)}for(o=0;o<e;o++)for(n=0;n<e-6;n++)t.isDark(o,n)&&!t.isDark(o,n+1)&&t.isDark(o,n+2)&&t.isDark(o,n+3)&&t.isDark(o,n+4)&&!t.isDark(o,n+5)&&t.isDark(o,n+6)&&(r+=40);for(n=0;n<e;n++)for(o=0;o<e-6;o++)t.isDark(o,n)&&!t.isDark(o+1,n)&&t.isDark(o+2,n)&&t.isDark(o+3,n)&&t.isDark(o+4,n)&&!t.isDark(o+5,n)&&t.isDark(o+6,n)&&(r+=40);var u=0;for(n=0;n<e;n++)for(o=0;o<e;o++)t.isDark(o,n)&&u++;return r+=10*(Math.abs(100*u/e/e-50)/5)}},f={glog:function(t){if(t<1)throw new Error("glog("+t+")");return f.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return f.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},p=0;p<8;p++)f.EXP_TABLE[p]=1<<p;for(p=8;p<256;p++)f.EXP_TABLE[p]=f.EXP_TABLE[p-4]^f.EXP_TABLE[p-5]^f.EXP_TABLE[p-6]^f.EXP_TABLE[p-8];for(p=0;p<255;p++)f.LOG_TABLE[f.EXP_TABLE[p]]=p;function m(t,e){if(void 0==t.length)throw new Error(t.length+"/"+e);for(var r=0;r<t.length&&0==t[r];)r++;this.num=new Array(t.length-r+e);for(var o=0;o<t.length-r;o++)this.num[o]=t[o+r]}function A(t,e){this.totalCount=t,this.dataCount=e}function v(){this.buffer=[],this.length=0}m.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),r=0;r<this.getLength();r++)for(var o=0;o<t.getLength();o++)e[r+o]^=f.gexp(f.glog(this.get(r))+f.glog(t.get(o)));return new m(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=f.glog(this.get(0))-f.glog(t.get(0)),r=new Array(this.getLength()),o=0;o<this.getLength();o++)r[o]=this.get(o);for(o=0;o<t.getLength();o++)r[o]^=f.gexp(f.glog(t.get(o))+e);return new m(r,0).mod(t)}},A.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],A.getRSBlocks=function(t,e){var r=A.getRsBlockTable(t,e);if(void 0==r)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var o=r.length/3,n=[],i=0;i<o;i++)for(var a=r[3*i+0],s=r[3*i+1],h=r[3*i+2],l=0;l<a;l++)n.push(new A(s,h));return n},A.getRsBlockTable=function(t,e){switch(e){case n.L:return A.RS_BLOCK_TABLE[4*(t-1)+0];case n.M:return A.RS_BLOCK_TABLE[4*(t-1)+1];case n.Q:return A.RS_BLOCK_TABLE[4*(t-1)+2];case n.H:return A.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},v.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var r=0;r<e;r++)this.putBit(1==(t>>>e-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var C=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function b(){var t=!1,e=navigator.userAgent;if(/android/i.test(e)){t=!0;var r=e.toString().match(/android ([0-9]\.[0-9])/i);r&&r[1]&&(t=parseFloat(r[1]))}return t}var I=function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){var e=this._htOption,r=this._el,o=t.getModuleCount();Math.floor(e.width/o),Math.floor(e.height/o);function n(t,e){var r=document.createElementNS("http://www.w3.org/2000/svg",t);for(var o in e)e.hasOwnProperty(o)&&r.setAttribute(o,e[o]);return r}this.clear();var i=n("svg",{viewBox:"0 0 "+String(o)+" "+String(o),width:"100%",height:"100%",fill:e.colorLight});i.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),r.appendChild(i),i.appendChild(n("rect",{fill:e.colorLight,width:"100%",height:"100%"})),i.appendChild(n("rect",{fill:e.colorDark,width:"1",height:"1",id:"template"}));for(var a=0;a<o;a++)for(var s=0;s<o;s++)if(t.isDark(a,s)){var h=n("use",{x:String(s),y:String(a)});h.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),i.appendChild(h)}},t.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},t}(),w="svg"===document.documentElement.tagName.toLowerCase()?I:"undefined"==typeof CanvasRenderingContext2D?function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){for(var e=this._htOption,r=this._el,o=t.getModuleCount(),n=Math.floor(e.width/o),i=Math.floor(e.height/o),a=['<table style="border:0;border-collapse:collapse;">'],s=0;s<o;s++){a.push("<tr>");for(var h=0;h<o;h++)a.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+n+"px;height:"+i+"px;background-color:"+(t.isDark(s,h)?e.colorDark:e.colorLight)+';"></td>');a.push("</tr>")}a.push("</table>"),r.innerHTML=a.join("");var l=r.childNodes[0],u=(e.width-l.offsetWidth)/2,c=(e.height-l.offsetHeight)/2;u>0&&c>0&&(l.style.margin=c+"px "+u+"px")},t.prototype.clear=function(){this._el.innerHTML=""},t}():function(){function t(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}if(this._android&&this._android<=2.1){var e=1/window.devicePixelRatio,r=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(t,o,n,i,a,s,h,l,u){if("nodeName"in t&&/img/i.test(t.nodeName))for(var c=arguments.length-1;c>=1;c--)arguments[c]=arguments[c]*e;else void 0===l&&(arguments[1]*=e,arguments[2]*=e,arguments[3]*=e,arguments[4]*=e);r.apply(this,arguments)}}var o=function(t,e){this._bIsPainted=!1,this._android=b(),this._htOption=e,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=e.width,this._elCanvas.height=e.height,t.appendChild(this._elCanvas),this._el=t,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return o.prototype.draw=function(t){var e=this._elImage,r=this._oContext,o=this._htOption,n=t.getModuleCount(),i=o.width/n,a=o.height/n,s=Math.round(i),h=Math.round(a);e.style.display="none",this.clear();for(var l=0;l<n;l++)for(var u=0;u<n;u++){var c=t.isDark(l,u),g=u*i,d=l*a;r.strokeStyle=c?o.colorDark:o.colorLight,r.lineWidth=1,r.fillStyle=c?o.colorDark:o.colorLight,r.fillRect(g,d,i,a),r.strokeRect(Math.floor(g)+.5,Math.floor(d)+.5,s,h),r.strokeRect(Math.ceil(g)-.5,Math.ceil(d)-.5,s,h)}this._bIsPainted=!0},o.prototype.makeImage=function(){this._bIsPainted&&function(t,e){var r=this;if(r._fFail=e,r._fSuccess=t,null===r._bSupportDataURI){var o=document.createElement("img"),n=function(){r._bSupportDataURI=!1,r._fFail&&r._fFail.call(r)};return o.onabort=n,o.onerror=n,o.onload=function(){r._bSupportDataURI=!0,r._fSuccess&&r._fSuccess.call(r)},void(o.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===r._bSupportDataURI&&r._fSuccess?r._fSuccess.call(r):!1===r._bSupportDataURI&&r._fFail&&r._fFail.call(r)}.call(this,t)},o.prototype.isPainted=function(){return this._bIsPainted},o.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},o.prototype.round=function(t){return t?Math.floor(1e3*t)/1e3:t},o}();function L(t,e){for(var r=1,o=function(t){var e=encodeURI(t).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return e.length+(e.length!=t?3:0)}(t),i=0,a=C.length;i<=a;i++){var s=0;switch(e){case n.L:s=C[i][0];break;case n.M:s=C[i][1];break;case n.Q:s=C[i][2];break;case n.H:s=C[i][3]}if(o<=s)break;r++}if(r>C.length)throw new Error("Too long data");return r}return(o=function(t,e){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:n.H},"string"==typeof e&&(e={text:e}),e)for(var r in e)this._htOption[r]=e[r];"string"==typeof t&&(t=document.getElementById(t)),this._htOption.useSVG&&(w=I),this._android=b(),this._el=t,this._oQRCode=null,this._oDrawing=new w(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)}).prototype.makeCode=function(t){this._oQRCode=new e(L(t,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(t),this._oQRCode.make(),this._el.title=t,this._oDrawing.draw(this._oQRCode),this.makeImage()},o.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},o.prototype.clear=function(){this._oDrawing.clear()},o.CorrectLevel=n,o},t.exports=n()},"T+/8":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=r("mvHQ"),n=r.n(o),i=r("PI0u"),a=r("MJLE"),s=r.n(a),h=r("Ch4/"),l=r("P9l9"),u={name:"login",data:function(){return{qrcodeCase:"",qrcodeNum:"",enterpriseId:"",expiredFlag:!1,canSelectFlag:!1,userId:"",ajaxTime:null,chooseTab:"qrcode",enterpriseList:[],numberCode:""}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},chooseLogin:function(t,e){this.chooseTab=e,document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear(),clearInterval(this.ajaxTime),"pass"!=e?this.expiredFlag=!1:this.qrcodeNum="",document.getElementById("line-active").style.width=t.target.offsetWidth+"px",document.getElementById("line-active").style.left=t.target.offsetLeft+"px"},collapseTag:function(t){this.collapseFlag=t},qrcode:function(t){var e={type:"web-login",data:t||"123456789"};this.qrcodeCase=new s.a("qrcode",{width:190,height:190,text:n()(e)}),document.getElementById("qrcode").title=""},refreshCode:Object(i.a)(function(){this.qrcodeCase&&(document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear()),this.getQrcode(),this.expiredFlag=!1},500),toIndex:Object(i.a)(function(){this.toLogin()},500),toLogin:Object(i.a)(function(){var t=this,e={qrcode:t.qrcodeNum||"debug",enterpriseId:t.enterpriseId,userId:t.userId};Object(l.b)("/haoban-manage3-web/login_local",e).then(function(e){var r=e.data;if(1==r.errorCode)return localStorage.removeItem("userInfo"),void localStorage.setItem("userInfos",n()(r.result));30004==r.errorCode&&(t.canSelectFlag=!1,"qrcode"==t.chooseTab&&(t.getQrcode(),t.expiredFlag=!1)),h.a.errorMsg(r)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},500),checkLogin:function(){var t=this,e={qrcode:t.qrcodeNum};Object(l.b)("/haoban-manage3-web/login-check",e).then(function(e){var r=e.data;if(1!=r.errorCode)30002==r.errorCode&&(t.expiredFlag=!0),h.a.errorMsg(r),clearInterval(t.ajaxTime);else if(r.result&&r.result.enterpriseList&&r.result.enterpriseList.length){if(t.enterpriseList=r.result.enterpriseList,t.enterpriseId=t.enterpriseList[0].enterpriseId,t.userId=r.result.userId,document.getElementById("qrcode").innerHTML="",t.qrcodeCase.clear(),clearInterval(t.ajaxTime),1==r.result.enterpriseList.length)return t.toLogin(),!1;t.canSelectFlag=!0}}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},checkScan:function(){var t=this;clearInterval(t.ajaxTime),t.ajaxTime=null,t.ajaxTime=setInterval(function(){t.checkLogin()},3e3)},getQrcode:function(){var t=this;Object(l.b)("/haoban-manage3-web/get-login-qrcode",{}).then(function(e){var r=e.data;if(1==r.errorCode)return t.qrcodeNum=r.result,void(window.location.href=""+r.result);h.a.errorMsg(r)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},changeCode:function(t){this.numberCode=t}},mounted:function(){this.getQrcode(),localStorage.getItem("userInfos")&&localStorage.removeItem("userInfos")},components:{}},c={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"login-wrap"},[r("section",[r("div",{staticClass:"login-body-top"},[t._m(0),t._v(" "),r("div",{staticClass:"login-body-qrcode"},[r("div",{staticClass:"login-qrcode-inner border-box"},[r("div",{staticClass:"qrcode-title font-18 color-303133 m-b-20"},[t._v("企业微信扫码登录")]),t._v(" "),r("div",{attrs:{id:"qrcode",title:""}}),t._v(" "),r("div",{staticClass:"qrcode-refresh m-t-20"},[r("el-button",{staticClass:"font-12",attrs:{type:"text"},on:{click:t.refreshCode}},[t._v("刷新 "),r("span",{staticClass:"color-2f54eb iconfont iconshuaxin"})])],1)])]),t._v(" "),r("div",{staticClass:"bg-dot"}),t._v(" "),r("div",{staticClass:"bg-dot-center"})]),t._v(" "),r("div",{staticClass:"login-body-bottom"})]),t._v(" "),r("footer",{staticClass:"p-t-35"},[r("vue-gic-footer")],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"login-body-head"},[e("div",{staticClass:"login-body-head_inner border-box flex"},[e("img",{staticClass:"login-body-logo",attrs:{src:r("7Otq"),alt:"logo"}}),this._v(" "),e("span",{staticClass:"login-body-title p-l-7"},[this._v("好办管理后台")])])])}]};var g=r("VU/8")(u,c,!1,function(t){r("FZoc")},"data-v-d93a52b4",null);e.default=g.exports}});
\ No newline at end of file
webpackJsonp([20],{XrDD:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("fZjL"),o=a.n(s),i=a("LRn8"),n=a("fPyK"),l=a("swl+"),r=a("P9l9"),c=a("Ch4/"),d=a("3E4D"),m={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeId:"2",activeBrand:this.brandId,loadingBtn:!1,selectRadio:0,showDialog:!1,conditionObj:{completed:"",overdue:"",taskType:""},completedOptions:[{label:"所有完成情况",value:""},{label:"已完成(已拨通)",value:"1"},{label:"已完成(放弃)",value:"2"},{label:"未完成",value:"0"}],overOptions:[{label:"所有逾期情况",value:""},{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],typeOptions:[{label:"所有类型",value:""},{label:"ECM话务任务",value:"1"},{label:"不良评价",value:"0"},{label:"会话任务",value:"5"}],loading:!1,tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:20,total:0,previewData:{},previewVisible:!1,userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentName:"",headImg:""}}},computed:{},methods:{exportExcel:function(){var e=this;if(!e.multipleSelection.length)return d.a.showmsg("请选择导购","warning"),!1;e.loadingBtn=!0;var t={gicEnterpriseId:e.activeBrand,selectType:e.selectRadio,storeId:e.$route.query.storeId,ecmId:e.$route.query.ecmId?e.$route.query.ecmId:"",isOverTime:e.conditionObj.overdue||"",isCompleted:e.conditionObj.completed||"",taskIds:1==e.selectRadio?"":e.multipleSelection.map(function(e){return e.taskId}).join(",")};Object(r.b)("/haoban-app-tel-task-three-web/task/export-store-view-clerk-list",t).then(function(t){if(e.loadingBtn=!1,!t.data)return c.a.errorMsg("暂无数据"),!1;var a=new Blob([t.data],{type:"application/vnd.ms-excel"}),s=document.createElement("a");s.download="门店任务导购报表.csv",s.style.display="none",s.href=URL.createObjectURL(a),document.body.appendChild(s),s.click(),URL.revokeObjectURL(s.href),document.body.removeChild(s)}).catch(function(t){e.loadingBtn=!1,e.$message.error({duration:1e3,message:t.message})})},showSingleInfo:function(e){var t=this,a={clerkId:e};Object(r.d)("/haoban-manage3-web/get-clerk-info",a).then(function(e){var a=e.data;1!=a.errorCode?c.a.errorMsg(a):t.userData=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},closePreview:function(){this.previewData={}},getPreviewData:function(e,t){var a=this,s={taskId:t.taskId};a.previewVisible=!0,Object(r.d)("/haoban-app-tel-task-three-web/task/app-task-detail",s).then(function(e){var t=e.data;if(1==t.errorCode)return a.previewData=t.result,void(a.previewVisible=!0);c.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handleCommand:function(e){this.selectRadio=e},changeSelect:function(){this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!o()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={storeId:t.$route.query.storeId,taskIds:1==t.selectRadio?"":t.multipleSelection.map(function(e){return e.taskId}).join(","),isOverTime:t.conditionObj.overdue||"",isCompleted:t.conditionObj.completed||"",reason:e.reason,enterpriseId:t.activeBrand,isAll:t.selectRadio};Object(r.d)("/haoban-app-tel-task-three-web/task/batch-del-clerk-task-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return d.a.showmsg("删除成功","success"),void t.getTableList();c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;a.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,s={taskId:t.taskId,enterpriseId:a.activeBrand};Object(r.a)("/haoban-app-tel-task-three-web/task/del-one",s).then(function(e){var t=e.data;if(1==t.errorCode)return d.a.showmsg("删除成功","success"),void a.getTableList();c.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handlePreview:function(e,t){this.postPreview(e,t)},postPreview:function(e,t){var a=""+t.taskId;this.$refs.qrcodePreview.qrcode(a,"task"),this.dialogVisible=!0},getTableList:function(e){var t=this;t.loading=!0;var a={ecmId:t.$route.query.ecmId||"",taskType:t.conditionObj.taskType,storeId:t.$route.query.storeId||"",isOverTime:t.conditionObj.overdue||"",isCompleted:t.conditionObj.completed||"",pageNum:t.currentPage,pageSize:t.pageSize,gicEnterpriseId:t.activeBrand};Object(r.a)("/haoban-app-tel-task-three-web/task/clerk-task-list",a).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return a.result.list&&a.result.list.forEach(function(e){e.taskUrl&&!e.taskUrl.length||(e.taskUrl=[])}),t.tableData=a.result.list||[],void(t.total=a.result.pageInfo.total);c.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){this.$emit("showTab","11"),document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:i.a,qrcodeDialog:n.a,detailPreview:l.a}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-135",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.completed,callback:function(t){e.$set(e.conditionObj,"completed",t)},expression:"conditionObj.completed"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),a("el-select",{staticClass:"w-135 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.overdue,callback:function(t){e.$set(e.conditionObj,"overdue",t)},expression:"conditionObj.overdue"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),e.$route.query.ecmId?e._e():a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.taskType,callback:function(t){e.$set(e.conditionObj,"taskType",t)},expression:"conditionObj.taskType"}},e._l(e.typeOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")]),a("el-button",{staticClass:"m-l-10",attrs:{type:"primary",loading:e.loadingBtn},on:{click:e.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),e._v("导出")])],1)]),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#2f54eb":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#2f54eb":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象","show-overflow-tooltip":"",width:"170"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("el-popover",{attrs:{placement:"top-start",width:"300",trigger:"hover"},on:{show:function(a){e.showSingleInfo(t.row.clerkId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.userData.headImg?a("img",{attrs:{src:e.userData.headImg,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[e._v("\n "+e._s(e.userData.staffName||"--")+" ( "+e._s(e.userData.position||"--")+")\n ")]),e._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[e._v("手机号:")]),a("span",{staticClass:"w-130"},[e._v(e._s("86"==e.userData.nationCode?e.userData.phoneNumber:"+"+e.userData.nationCode+"-"+e.userData.phoneNumber))])]),e._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[e._v("所属部门:")]),a("span",{staticClass:"w-130"},[e._v(e._s(e.userData.departmentName||"--"))])])])])]),e._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("p",{staticClass:"font-14 color-303133",staticStyle:{"line-height":"18px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399",staticStyle:{"line-height":"18px",width:"100%",overflow:"hidden","text-overflow":"ellipsis"}},[e._v(e._s(t.row.clerkPhone))])])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"任务类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s("0"==t.row.taskType?"不良评价":"5"==t.row.taskType?"会话任务":"话务任务"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"创建时间",width:"107"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":"",width:"107"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"right"}},[a("div",{attrs:{slot:"content"},slot:"content"},[e._v("\n 完成情况包含3种"),a("br"),e._v("\n 1.完成拨打任务;"),a("br"),e._v("\n 2.完成任务(无需拨打);"),a("br"),e._v("\n 3.完成任务(放弃拨打);"),a("br"),e._v("\n 4.未完成任务\n ")]),e._v(" "),a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("完成情况")])])]}},{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.isCompleted)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交人"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.operationStaffName||"--"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"备注"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.reason?a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:t.row.reason}},[a("i",{staticClass:"el-icon-chat-dot-square cursor-pointer color-909399",staticStyle:{"font-size":"20px"},attrs:{slot:"reference"},slot:"reference"})]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"图片"},scopedSlots:e._u([{key:"default",fn:function(t){return e._l(t.row.taskUrls,function(t,s){return a("el-popover",{key:s,attrs:{"popper-class":"notice-img-popover",placement:"right",width:"400",trigger:"hover"}},[a("div",{staticClass:"img-preview flex"},[a("img",{staticStyle:{"max-width":"400px"},attrs:{src:t,alt:""}})]),e._v(" "),a("img",{staticClass:"task-imgs",attrs:{slot:"reference",src:t,alt:""},slot:"reference"})])})}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",fixed:"right",width:"110"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.getPreviewData(t.$index,t.row)}}},[e._v("预览")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0},on:{hideDialog:e.hideDialog}}),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}}),e._v(" "),a("detail-preview",{ref:"detailPreview",attrs:{previewData:e.previewData},on:{closePreview:e.closePreview},model:{value:e.previewVisible,callback:function(t){e.previewVisible=t},expression:"previewVisible"}})],1)},staticRenderFns:[]};var p=a("VU/8")(m,u,!1,function(e){a("vCV7")},"data-v-480f4212",null);t.default=p.exports},hlac:function(e,t){},"swl+":function(e,t,a){"use strict";var s=a("mvHQ"),o=a.n(s),i=a("fZjL"),n=a.n(i),l={name:"detail-preview",props:{value:{type:Boolean,default:function(){return!1}},previewData:{type:Object,default:function(){return{title:"",taskDescription:"",lastTime:"",taskStatus:1,executiveClerkId:"",bindFlag:0,taskRecordList:[],taskType:1,memberInfo:{cardNum:"",imgUrl:"",memberName:"",memberGender:"",memberAge:"",birthday:"",clerkName:"",costFee:"",memberGradeName:"",costTimes:"",lastCostFee:"",phoneNumber:"",openCardTime:"",memberType:"0",birthType:"",accumulatPoints:""}}}}},directives:{htmlContent:{bind:function(e,t){e.innerHTML=t.value},update:function(e,t){e.innerHTML=t.value}}},data:function(){return{noticeData:{title:"",taskDescription:"",lastTime:"",taskStatus:1,executiveClerkId:"",bindFlag:0,taskRecordList:[],taskType:1,memberInfo:{cardNum:"",imgUrl:"",memberName:"",memberGender:"",memberAge:"",birthday:"",clerkName:"",costFee:"",memberGradeName:"",costTimes:"",lastCostFee:"",phoneNumber:"",openCardTime:"",memberType:"0",birthType:"",accumulatPoints:""}},time:null}},methods:{timeStampSpaces:function(e){if(e){var t=new Date,a=new Date(Number(e)).getTime()-t.getTime();if(a<0)return"";var s=a%864e5,o=s%36e5;return Math.floor(a/864e5)+"天"+Math.floor(s/36e5)+"小时"+Math.floor(o/6e4)+"分"}},closeDialog:function(){this.$emit("input",!1),this.$emit("closePreview"),this.noticeData={title:"",taskDescription:"",lastTime:"",taskStatus:1,executiveClerkId:"",bindFlag:0,taskRecordList:[],taskType:1,memberInfo:{cardNum:"",imgUrl:"",memberName:"",memberGender:"",memberAge:"",birthday:"",clerkName:"",costFee:"",memberGradeName:"",costTimes:"",lastCostFee:"",phoneNumber:"",openCardTime:"",memberType:"0",birthType:"",accumulatPoints:""}},clearInterval(this.time)}},watch:{previewData:function(e,t){var a=this;n()(e).length&&(a.noticeData=JSON.parse(o()(e)),a.time=setInterval(function(){a.timeStampSpaces(a.previewData.lastTime)},6e4))}},mounted:function(){var e=this;n()(e.previewData).length&&(e.noticeData=JSON.parse(o()(e.previewData)),e.time=setInterval(function(){e.timeStampSpaces(e.previewData.lastTime)},6e4))},beforeDestroy:function(){clearInterval(this.time),this.time=null}},r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"show",rawName:"v-show",value:e.value,expression:"value"}],staticClass:"qr-dialog-content",staticStyle:{opacity:"1"}},[a("div",{staticClass:"qr-mask",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}}),e._v(" "),a("div",{staticClass:"qr-dialog border-box"},[a("div",{staticClass:"qr-dialog-body border-box"},[a("div",{staticClass:"detail-content border-box"},[a("div",{staticClass:"detail-content-top border-box"},[a("div",{staticClass:"task-title font-14 color-303133 font-w-500"},[e._v(e._s(e.noticeData.title))]),e._v(" "),a("div",{staticClass:"task-des font-12 color-303133 font-w-400"},[e._v(e._s(e.noticeData.taskDescription))]),e._v(" "),a("div",{staticClass:"task-over font-10 color-fd6b6d font-w-400"},[1==e.noticeData.taskStatus?a("span",[e._v("逾期剩余时长:"+e._s(e.timeStampSpaces(e.noticeData.lastTime)))]):e._e(),e._v(" "),2==e.noticeData.taskStatus?a("span",[e._v("已完成")]):e._e(),e._v(" "),3==e.noticeData.taskStatus?a("span",[e._v("已放弃")]):e._e(),e._v(" "),4==e.noticeData.taskStatus?a("span",[e._v("已逾期")]):e._e(),e._v(" "),5==e.noticeData.taskStatus?a("span",[e._v("已完成")]):e._e()]),e._v(" "),a("div",{staticClass:"task-people"},e._l(e.noticeData.taskRecordList,function(t,s){return a("div",{key:s+"record",staticClass:"task-item-cell"},[a("div",{staticClass:"task-item-content"},[a("span",{staticClass:"iconfont icondingwei font-10 color-4b69e5"}),a("span",{staticClass:"font-10 color-606266 opt-content"},[e._v(e._s(t.optContent))])]),e._v(" "),a("div",{class:["task-item-date",s!=e.noticeData.taskRecordList.length-1?"item-border":""]},[a("span",{staticClass:"p-l-14 font-10 color-909399"},[e._v(e._s(t.optTime))])])])}))]),e._v(" "),a("div",{staticClass:"detail-content-bottom border-box m-t-10"},[a("div",{staticClass:"user-info flex "},[a("div",{staticClass:"user-photo"},[a("img",{attrs:{src:e.noticeData.memberInfo.imgUrl,alt:""}})]),e._v(" "),a("div",{staticClass:"user-name-body"},[a("div",{staticClass:"user-name"},[a("span",{staticClass:"font-12 color-30313 font-w-500"},[e._v(e._s(e.noticeData.memberInfo.memberName))]),a("span",{class:["p-l-6 font-12 iconfont",0==e.noticeData.memberInfo.memberGender?"":1==e.noticeData.memberInfo.memberGender?"iconnan color-4b69e5":"color-ff8ea0 iconxingbienv"]})]),e._v(" "),a("div",{staticClass:"user-age font-10 color-7f818a"},[a("span",[e._v(e._s(e.noticeData.memberInfo.memberAge)+"岁")]),a("span",{staticClass:"dot"}),a("span",[e._v("生日 "+e._s(0==e.noticeData.memberInfo.birthType?"农历":"阳历")+e._s(e.noticeData.memberInfo.birthday))])])])]),e._v(" "),a("div",{staticClass:"user-info-body"},[5!=e.noticeData.taskType?a("ul",{staticClass:"flex font-10 flex-wrap"},[a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员卡:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.memberGradeName||"--"))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员身份:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(1==e.noticeData.memberInfo.memberType?"pos会员":"微信会员"))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员卡号:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.cardNum||"--"))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("积 分:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.accumulatPoints))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("消费总额:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.costFee))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("消费次数:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.costTimes))])])]):e._e(),e._v(" "),5==e.noticeData.taskType?a("ul",{staticClass:"flex font-10 flex-wrap"},[a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("微信昵称:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.nickName||"--"))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("手机号:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.phoneNumber||"--"))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员卡号:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.cardNum))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员身份:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(1==e.noticeData.memberInfo.memberType?"pos会员":"微信会员"))])])]):e._e()]),e._v(" "),a("div",{staticClass:"user-clerk"},[a("span",{staticClass:"iconfont iconziyuan1 font-10 color-4b69e5"}),a("span",{staticClass:"font-10 color-4b69e5 clerk-name"},[e._v(e._s(e.noticeData.memberInfo.clerkName))])])])]),e._v(" "),a("div",{staticClass:"qr-dialog__hd"},[a("i",{staticClass:"el-icon-plus",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}})])])])])},staticRenderFns:[]};var c=a("VU/8")(l,r,!1,function(e){a("hlac")},"data-v-179ab074",null);t.a=c.exports},vCV7:function(e,t){}});
\ No newline at end of file
webpackJsonp([21],{JwJ7:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("fZjL"),i=a.n(s),o=a("LRn8"),n=a("fPyK"),l=a("swl+"),r=a("P9l9"),c=a("Ch4/"),d=a("3E4D"),m={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeId:"2",activeBrand:this.brandId,loading:!0,selectRadio:0,showDialog:!1,conditionObj:{completed:"",overdue:""},completedOptions:[{label:"所以完成情况",value:""},{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"所以逾期情况",value:""},{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:20,total:0,previewVisible:!1,previewData:{},userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentName:"",headImg:""}}},computed:{},methods:{showSingleInfo:function(e){var t=this,a={clerkId:e};Object(r.d)("/haoban-manage3-web/get-clerk-info",a).then(function(e){var a=e.data;1!=a.errorCode?c.a.errorMsg(a):t.userData=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getPreviewData:function(e,t){var a=this,s={storeId:a.conditionObj.storeId,taskId:t.taskId,clerkId:t.clerkId};a.previewVisible=!0,Object(r.d)("/haoban-app-daily-three-web/daily/get-daily-report-detail",s).then(function(e){var t=e.data;if(1==t.errorCode)return a.previewData=t.result,void(a.previewVisible=!0);c.a.errorMsg(t)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handleCommand:function(e){this.selectRadio=e},selectBrandId:function(e){this.activeBrand=e},setSelectTab:function(e){this.activeTab=e.tabId},changeSelect:function(){this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!i()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskId})||"",overdue:t.conditionObj.overdue||"",completed:t.conditionObj.completed||"",reason:e.reason,enterpriseId:t.activeBrand,chooseAll:t.selectRadio};Object(r.d)("/haoban-app-daily-three-web/daily/batch-delete-store-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return d.a.showmsg("删除成功","success"),void t.getTableList();c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;a.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,s={taskId:t.taskId};Object(r.a)("/haoban-app-daily-three-web/daily/delete-task-items",s).then(function(t){var s=t.data;if(1==s.errorCode)return d.a.showmsg("删除成功","success"),void a.tableData.splice(e,1);c.a.errorMsg(s)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handlePreview:function(e,t){this.postPreview(e,t)},postPreview:function(e,t){var a=window.location.origin+"/haoban3web/pages/hbapp/daily/html/task/taskDailyReport.html?taskId="+t.taskId+"&gicStoreId="+this.conditionObj.storeId+"&gicClerkId="+t.clerkId+"&isShare=1";this.$refs.qrcodePreview.qrcode(a,"daily-detail"),this.dialogVisible=!0},getTableList:function(e){var t=this;t.loading=!0;var a={storeId:t.conditionObj.storeId||"",overdue:t.conditionObj.overdue||"",completed:t.conditionObj.completed||"",currentPage:t.currentPage,pageSize:t.pageSize,enterpriseId:t.activeBrand};Object(r.a)("/haoban-app-daily-three-web/daily/page-store-task",a).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.result||[],void(t.total=a.result.totalCount);c.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","11"),this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:o.a,qrcodeDialog:n.a,detailPreview:l.a}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-162",attrs:{placeholder:"所有完成情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.completed,callback:function(t){e.$set(e.conditionObj,"completed",t)},expression:"conditionObj.completed"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),a("el-select",{staticClass:"w-162 m-l-10",attrs:{placeholder:"所有逾期情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.overdue,callback:function(t){e.$set(e.conditionObj,"overdue",t)},expression:"conditionObj.overdue"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")])],1)]),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#2f54eb":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#2f54eb":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("el-popover",{attrs:{placement:"top-start",width:"300",trigger:"hover"},on:{show:function(a){e.showSingleInfo(t.row.clerkId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.userData.headImg?a("img",{attrs:{src:e.userData.headImg,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[e._v("\n "+e._s(e.userData.staffName||"--")+" ( "+e._s(e.userData.position||"--")+")\n ")]),e._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[e._v("手机号:")]),a("span",{staticClass:"w-130"},[e._v(e._s("86"==e.userData.nationCode?e.userData.phoneNumber:"+"+e.userData.nationCode+"-"+e.userData.phoneNumber))])]),e._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[e._v("所属部门:")]),a("span",{staticClass:"w-130"},[e._v(e._s(e.userData.departmentName||"--"))])])])])]),e._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("p",{staticClass:"font-14 color-303133",staticStyle:{"line-height":"18px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399",staticStyle:{"line-height":"18px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.clerkPhone))])])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCompleted))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交人"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.operationStaffName))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.handlePreview(t.$index,t.row)}}},[e._v("预览")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0},on:{hideDialog:e.hideDialog}}),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}}),e._v(" "),a("detail-preview",{ref:"detailPreview",attrs:{previewData:e.previewData},model:{value:e.previewVisible,callback:function(t){e.previewVisible=t},expression:"previewVisible"}})],1)},staticRenderFns:[]};var f=a("VU/8")(m,u,!1,function(e){a("dICu")},"data-v-12d189ee",null);t.default=f.exports},dICu:function(e,t){},hlac:function(e,t){},"swl+":function(e,t,a){"use strict";var s=a("mvHQ"),i=a.n(s),o=a("fZjL"),n=a.n(o),l={name:"detail-preview",props:{value:{type:Boolean,default:function(){return!1}},previewData:{type:Object,default:function(){return{title:"",taskDescription:"",lastTime:"",taskStatus:1,executiveClerkId:"",bindFlag:0,taskRecordList:[],taskType:1,memberInfo:{cardNum:"",imgUrl:"",memberName:"",memberGender:"",memberAge:"",birthday:"",clerkName:"",costFee:"",memberGradeName:"",costTimes:"",lastCostFee:"",phoneNumber:"",openCardTime:"",memberType:"0",birthType:"",accumulatPoints:""}}}}},directives:{htmlContent:{bind:function(e,t){e.innerHTML=t.value},update:function(e,t){e.innerHTML=t.value}}},data:function(){return{noticeData:{title:"",taskDescription:"",lastTime:"",taskStatus:1,executiveClerkId:"",bindFlag:0,taskRecordList:[],taskType:1,memberInfo:{cardNum:"",imgUrl:"",memberName:"",memberGender:"",memberAge:"",birthday:"",clerkName:"",costFee:"",memberGradeName:"",costTimes:"",lastCostFee:"",phoneNumber:"",openCardTime:"",memberType:"0",birthType:"",accumulatPoints:""}},time:null}},methods:{timeStampSpaces:function(e){if(e){var t=new Date,a=new Date(Number(e)).getTime()-t.getTime();if(a<0)return"";var s=a%864e5,i=s%36e5;return Math.floor(a/864e5)+"天"+Math.floor(s/36e5)+"小时"+Math.floor(i/6e4)+"分"}},closeDialog:function(){this.$emit("input",!1),this.$emit("closePreview"),this.noticeData={title:"",taskDescription:"",lastTime:"",taskStatus:1,executiveClerkId:"",bindFlag:0,taskRecordList:[],taskType:1,memberInfo:{cardNum:"",imgUrl:"",memberName:"",memberGender:"",memberAge:"",birthday:"",clerkName:"",costFee:"",memberGradeName:"",costTimes:"",lastCostFee:"",phoneNumber:"",openCardTime:"",memberType:"0",birthType:"",accumulatPoints:""}},clearInterval(this.time)}},watch:{previewData:function(e,t){var a=this;n()(e).length&&(a.noticeData=JSON.parse(i()(e)),a.time=setInterval(function(){a.timeStampSpaces(a.previewData.lastTime)},6e4))}},mounted:function(){var e=this;n()(e.previewData).length&&(e.noticeData=JSON.parse(i()(e.previewData)),e.time=setInterval(function(){e.timeStampSpaces(e.previewData.lastTime)},6e4))},beforeDestroy:function(){clearInterval(this.time),this.time=null}},r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"show",rawName:"v-show",value:e.value,expression:"value"}],staticClass:"qr-dialog-content",staticStyle:{opacity:"1"}},[a("div",{staticClass:"qr-mask",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}}),e._v(" "),a("div",{staticClass:"qr-dialog border-box"},[a("div",{staticClass:"qr-dialog-body border-box"},[a("div",{staticClass:"detail-content border-box"},[a("div",{staticClass:"detail-content-top border-box"},[a("div",{staticClass:"task-title font-14 color-303133 font-w-500"},[e._v(e._s(e.noticeData.title))]),e._v(" "),a("div",{staticClass:"task-des font-12 color-303133 font-w-400"},[e._v(e._s(e.noticeData.taskDescription))]),e._v(" "),a("div",{staticClass:"task-over font-10 color-fd6b6d font-w-400"},[1==e.noticeData.taskStatus?a("span",[e._v("逾期剩余时长:"+e._s(e.timeStampSpaces(e.noticeData.lastTime)))]):e._e(),e._v(" "),2==e.noticeData.taskStatus?a("span",[e._v("已完成")]):e._e(),e._v(" "),3==e.noticeData.taskStatus?a("span",[e._v("已放弃")]):e._e(),e._v(" "),4==e.noticeData.taskStatus?a("span",[e._v("已逾期")]):e._e(),e._v(" "),5==e.noticeData.taskStatus?a("span",[e._v("已完成")]):e._e()]),e._v(" "),a("div",{staticClass:"task-people"},e._l(e.noticeData.taskRecordList,function(t,s){return a("div",{key:s+"record",staticClass:"task-item-cell"},[a("div",{staticClass:"task-item-content"},[a("span",{staticClass:"iconfont icondingwei font-10 color-4b69e5"}),a("span",{staticClass:"font-10 color-606266 opt-content"},[e._v(e._s(t.optContent))])]),e._v(" "),a("div",{class:["task-item-date",s!=e.noticeData.taskRecordList.length-1?"item-border":""]},[a("span",{staticClass:"p-l-14 font-10 color-909399"},[e._v(e._s(t.optTime))])])])}))]),e._v(" "),a("div",{staticClass:"detail-content-bottom border-box m-t-10"},[a("div",{staticClass:"user-info flex "},[a("div",{staticClass:"user-photo"},[a("img",{attrs:{src:e.noticeData.memberInfo.imgUrl,alt:""}})]),e._v(" "),a("div",{staticClass:"user-name-body"},[a("div",{staticClass:"user-name"},[a("span",{staticClass:"font-12 color-30313 font-w-500"},[e._v(e._s(e.noticeData.memberInfo.memberName))]),a("span",{class:["p-l-6 font-12 iconfont",0==e.noticeData.memberInfo.memberGender?"":1==e.noticeData.memberInfo.memberGender?"iconnan color-4b69e5":"color-ff8ea0 iconxingbienv"]})]),e._v(" "),a("div",{staticClass:"user-age font-10 color-7f818a"},[a("span",[e._v(e._s(e.noticeData.memberInfo.memberAge)+"岁")]),a("span",{staticClass:"dot"}),a("span",[e._v("生日 "+e._s(0==e.noticeData.memberInfo.birthType?"农历":"阳历")+e._s(e.noticeData.memberInfo.birthday))])])])]),e._v(" "),a("div",{staticClass:"user-info-body"},[5!=e.noticeData.taskType?a("ul",{staticClass:"flex font-10 flex-wrap"},[a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员卡:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.memberGradeName||"--"))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员身份:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(1==e.noticeData.memberInfo.memberType?"pos会员":"微信会员"))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员卡号:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.cardNum||"--"))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("积 分:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.accumulatPoints))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("消费总额:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.costFee))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("消费次数:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.costTimes))])])]):e._e(),e._v(" "),5==e.noticeData.taskType?a("ul",{staticClass:"flex font-10 flex-wrap"},[a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("微信昵称:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.nickName||"--"))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("手机号:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.phoneNumber||"--"))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员卡号:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(e.noticeData.memberInfo.cardNum))])]),e._v(" "),a("li",{staticClass:"flex-1 line-h-16 m-b-10"},[a("span",{staticClass:"font-10 color-303133"},[e._v("会员身份:")]),a("span",{staticClass:"font-10 color-7f818a"},[e._v(e._s(1==e.noticeData.memberInfo.memberType?"pos会员":"微信会员"))])])]):e._e()]),e._v(" "),a("div",{staticClass:"user-clerk"},[a("span",{staticClass:"iconfont iconziyuan1 font-10 color-4b69e5"}),a("span",{staticClass:"font-10 color-4b69e5 clerk-name"},[e._v(e._s(e.noticeData.memberInfo.clerkName))])])])]),e._v(" "),a("div",{staticClass:"qr-dialog__hd"},[a("i",{staticClass:"el-icon-plus",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}})])])])])},staticRenderFns:[]};var c=a("VU/8")(l,r,!1,function(e){a("hlac")},"data-v-179ab074",null);t.a=c.exports}});
\ No newline at end of file
webpackJsonp([22],{"0noc":function(t,e){},"3ua6":function(t,e){},CLYF:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Zx22"),s=a("Ch4/"),o=a("P9l9"),i=a("PI0u"),r={name:"reviewed",data:function(){return{tableH:window.screen.availHeight-464-126+"px",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",filterValue:"",filterBrand:"",brandOptions:[],filterOptions:[{label:"全部状态",value:""},{label:"已同意",value:"1"},{label:"已拒绝",value:"2"},{label:"无需审核",value:"4"},{label:"审核失败",value:"5"}],searchValue:"",loading:!1,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,applyInfo:{},showStoreDialog:!1,storeChangeData:{},userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentName:"",headImg:""}}},computed:{},methods:{clearSearch:function(){this.currentPage=1,this.getTableList()},searchEnterFun:Object(i.a)(function(t){if(!String(t.target.value).trim())return!1;this.currentPage=1,this.getTableList()},200),toggleReason:function(t){t.visible=!0,this.tableData.forEach(function(e,a){e.enterpriseAuditingId!=t.enterpriseAuditingId&&(e.visible=!1)})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showSingleInfo:function(t){var e=this,a={staffId:t};Object(o.d)("/haoban-manage3-web/get-staff-info",a).then(function(t){var a=t.data;1!=a.errorCode?s.a.errorMsg(a):e.userData=a.result}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},showStoreChange:function(t){this.storeChangeData={beforeContent:[],afterContent:[]},this.showStoreDialog=!0,this.storeChangeData={beforeContent:""!=t.oldValue?t.oldValue.split(","):[],afterContent:""!=t.newValue?t.newValue.split(","):[]}},getBrandData:function(){var t=this;Object(o.d)("/haoban-manage3-web/wx-enterprise-list",{}).then(function(e){var a=e.data;1!=a.errorCode?s.a.errorMsg(a):a.result&&a.result.length&&(t.brandOptions=a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getTableList:function(t){var e=this;t&&(e.currentPage=1),e.loading=!0;var a={wxEnterpriseId:e.wxEnterpriseId,auditStatus:e.filterValue,auditFlag:"1",search:e.searchValue||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.filterBrand};Object(o.a)("/haoban-manage3-web/audit/find-page",a).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.result||[],void(e.total=a.result.totalCount);s.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.$emit("showTab",2),this.getTableList(),this.getBrandData()},components:{storeChange:n.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"reviewed-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 126px)"}},[a("div",{staticClass:"reviewed-body-head"},[a("el-input",{staticClass:"w-250",attrs:{maxlength:"50",placeholder:"请输入提交人姓名或门店名称","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return a=e,t.searchEnterFun(a,t.searchInput);var a}},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}}),a("el-select",{staticClass:"w-130 m-l-10",attrs:{placeholder:"全部状态"},on:{change:t.getTableList},model:{value:t.filterValue,callback:function(e){t.filterValue=e},expression:"filterValue"}},t._l(t.filterOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),a("el-select",{staticClass:"w-168 m-l-10",attrs:{placeholder:"全部品牌"},on:{change:t.getTableList},model:{value:t.filterBrand,callback:function(e){t.filterBrand=e},expression:"filterBrand"}},[a("el-option",{attrs:{label:"全部品牌",value:""}}),t._v(" "),t._l(t.brandOptions,function(t){return a("el-option",{key:t.enterpriseId,attrs:{label:t.enterpriseName,value:t.enterpriseId}})})],2),a("span",{staticClass:"p-l-10 font-12 color-909399"},[t._v("展示管理员审核记录及门店成员自助增删导购及用户关联记录")])],1),t._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.auditType?a("span",[t._v("门店信息变更")]):t._e(),t._v(" "),2==e.row.auditType?a("span",[t._v("导购绑定")]):t._e(),t._v(" "),3==e.row.auditType?a("span",[t._v("导购新增")]):t._e(),t._v(" "),4==e.row.auditType?a("span",[t._v("导购删除")]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("el-popover",{attrs:{placement:"top-start",width:"300",trigger:"hover"},on:{show:function(a){t.showSingleInfo(e.row.commitStaffId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[t.userData.headImg?a("img",{attrs:{src:t.userData.headImg,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[t._v("\n "+t._s(t.userData.staffName||"--")+" ( "+t._s(t.userData.position||"--")+")\n ")]),t._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[t._v("手机号:")]),a("span",{staticClass:"w-130"},[t._v(t._s("86"==t.userData.nationCode?t.userData.phoneNumber:"+"+t.userData.nationCode+"-"+t.userData.phoneNumber))])]),t._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[t._v("所属部门:")]),a("span",{staticClass:"w-130"},[t._v(t._s(t.userData.departmentName||"--"))])])])])]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"},[e.row.commitStaffImg?a("img",{attrs:{src:e.row.commitStaffImg,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("span",[t._v(t._s(e.row.commitStaffName))]),t._v(" "),a("span",{staticClass:"font-13",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[t._v(t._s(e.row.commitStoreName))])])],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[6!=e.row.changeField?a("span",[t._v(t._s(e.row.detail))]):t._e(),t._v(" "),6==e.row.changeField?a("div",{staticClass:"line-hidden-2"},[a("span",[t._v(t._s(e.row.detail))]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){t.showStoreChange(e.row)}}},[t._v("查看详情")])],1):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"审核人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.auditName||"--")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:["span-dot",1==e.row.auditStatus||4==e.row.auditStatus?"bg-52c41a":"bg-f5222d"]}),1==e.row.auditStatus?a("span",[t._v("已同意")]):t._e(),4==e.row.auditStatus?a("span",[t._v("无需审核")]):t._e(),t._v(" "),2==e.row.auditStatus||5==e.row.auditStatus?a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.row.auditReason,placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v(t._s(5==e.row.auditStatus?"审核失败":"已拒绝"))])]):t._e()]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])]),t._v(" "),a("storeChange",{attrs:{storeChangeData:t.storeChangeData},model:{value:t.showStoreDialog,callback:function(e){t.showStoreDialog=e},expression:"showStoreDialog"}})],1)},staticRenderFns:[]};var c=a("VU/8")(r,l,!1,function(t){a("3ua6")},"data-v-bdc9c8ea",null);e.default=c.exports},Zx22:function(t,e,a){"use strict";var n={name:"custom-dialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:[Object,Array]}},data:function(){return{repProjectName:"haoban-web",customDialog:this.value,leftData:[],rightData:[]}},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("input",this.customDialog)},formatDate:function(t,e){function a(t){return t>9?""+t:"0"+t}var n=new Date(t),s=n.getFullYear(),o=n.getMonth()+1,i=n.getDate();return s+e+a(o)+e+a(i)+e}},watch:{value:function(t,e){this.customDialog=t},storeChangeData:function(t,e){this.leftData=t.beforeContent,this.rightData=t.afterContent}},mounted:function(){this.leftData=this.storeChangeData.beforeContent,this.rightData=this.storeChangeData.afterContent}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店图片变更",visible:t.customDialog,width:"600px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更前\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.leftData,function(t,e){return[a("img",{key:"img"+e,attrs:{src:t,alt:""}})]})],2)])]),t._v(" "),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更后\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.rightData,function(t,e){return[a("img",{key:"img0"+e,attrs:{src:t,alt:""}})]})],2)])])],1)],1)])],1)},staticRenderFns:[]};var o=a("VU/8")(n,s,!1,function(t){a("0noc")},"data-v-11bbc4d7",null);e.a=o.exports}});
\ No newline at end of file
webpackJsonp([23],{"7aQJ":function(t,e){},"VL/f":function(t,e){},rUvh:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("mvHQ"),o=n.n(a),r=n("P9l9"),i=n("Ch4/"),s=n("PI0u"),l={props:{brandId:{type:String,default:function(){return""}},policyId:{type:String,default:function(){return""}}},data:function(){return{dialogVisible:!0,tableData:[],conditionObj:{searchInput:"",searchType:"1",storeGroup:[],dateRange:[]},currentPage:1,pageSize:20,total:0}},filters:{percenteNum:function(t){return t>0?Number(100*t).toFixed(2)+"%":Number(t).toFixed(2)+"%"}},methods:{handleClose:function(t){this.$emit("closeSendRecord")},toInput:Object(s.a)(function(t,e){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.choiceDateCopy=[],this.conditionObj.dateRange=[]),this.getTableList()},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(t){var e=this,n={policyId:e.policyId,search:e.conditionObj.searchInput||"",pageNum:e.currentPage,pageSize:e.pageSize};Object(r.d)("/haoban-app-customer-web/inner/find-card-total-log-page",n).then(function(t){var n=t.data;if(1==n.errorCode)return e.tableData=n.result.result||[],e.total=n.result.totalCount,!1;i.a.errorMsg(n)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},policyId:function(t,e){t&&this.getTableList()}},mounted:function(){this.policyId&&this.getTableList()}},c={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-dialog",{attrs:{title:"记录",visible:t.dialogVisible,width:"802px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[n("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[n("div",{staticClass:"table-condition-left"},[n("el-input",{staticClass:"w-369",attrs:{placeholder:"请输入卡券名称",maxlength:"50",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return n=e,t.toInput(n,t.conditionObj.searchInput);var n}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}})],1)]),t._v(" "),n("div",[n("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark",height:"450"}},[n("el-table-column",{attrs:{label:"卡券名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.cardName||"--")+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"投放数量","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.issuingQuantity||"0")+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"领取数量"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.getedQuantity||"0"))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"领取率"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(t._f("percenteNum")(e.row.getedRate)))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"使用数量"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",[t._v(t._s(e.row.usageQuantity||"0"))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"核销率"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",[t._v(t._s(t._f("percenteNum")(e.row.verificationRate)))])]}}])})],1),t._v(" "),0!=t.tableData.length?n("div",{staticClass:"block common-wrap__page text-right m-t-24"},[n("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[]};var u=n("VU/8")(l,c,!1,function(t){n("VL/f")},"data-v-dbda509a",null).exports,d=n("/dO2"),p=n("3E4D"),f={components:{recordDetail:u},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",searchInput:"",loading:!1,tableData:[],currentPage:1,pageSize:20,total:0,recordShow:!1,coupCardId:""}},watch:{brandId:function(t){t&&this.getTableList()}},methods:{toRecord:function(t,e){this.policyId=e.policyId,this.recordShow=!0},closeSendRecord:function(){this.policyId="",this.recordShow=!1},rowDrop:function(){var t=document.querySelector(".el-table__body-wrapper tbody"),e=this;d.default.create(t,{onEnd:function(t){var n=t.newIndex,a=t.oldIndex;if(n==a)return!1;var r=JSON.parse(o()(e.tableData)),i=r.splice(a,1)[0];r.splice(n,0,i),e.postSort(r)}})},postSort:function(t){var e=this,n={json:o()(t)};Object(r.d)("/haoban-app-customer-web/inner/change-sort",n).then(function(t){var n=t.data;e.getTableList(),1!=n.errorCode?i.a.errorMsg(n):p.a.showmsg("操作成功","success")}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toDel:function(t,e){var n=this;n.$confirm("是否要删除选中的卡券策略?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){n.delCardList(e.policyId)}).catch(function(){})},delCardList:function(t){var e=this,n={wxEnterpriseId:e.wxEnterpriseId,policyId:t};Object(r.d)("/haoban-app-customer-web/inner/delete-policy",n).then(function(t){var n=t.data;if(1==n.errorCode)return p.a.showmsg("删除成功","success"),void e.getTableList(e.brandId);i.a.errorMsg(n)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/newCardStrategy?policyId="+e.policyId)},toSwitch:function(t,e){var n=this,a={onlineFlag:1==e.onlineFlag?0:1,policyId:e.policyId};Object(r.d)("/haoban-app-customer-web/inner/on-off-line",a).then(function(t){var e=t.data;if(1==e.errorCode)return p.a.showmsg("操作成功","success"),void n.getTableList();i.a.errorMsg(e)}).catch(function(t){n.$message.error({duration:1e3,message:t.message})})},toInput:Object(s.a)(function(t,e){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},toNewCard:function(){this.$router.push("/newCardStrategy")},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var t=this;t.loading=!0;var e={wxEnterpriseId:t.wxEnterpriseId};Object(r.d)("/haoban-app-customer-web/inner/list-policy",e).then(function(e){var n=e.data;t.loading=!1,1!=n.errorCode?i.a.errorMsg(n):t.tableData=JSON.parse(o()(n.result))||[]}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){var t=this;t.$emit("showTab","2"),document.body.ondrop=function(t){t.preventDefault(),t.stopPropagation()},t.getTableList(),t.$nextTick(function(){t.rowDrop()})}},h={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"common-right-wrap"},[n("div",{staticClass:"p-20"},[n("div",{staticClass:"flex flex-space-between m-b-20"},[t._m(0),t._v(" "),n("el-button",{attrs:{disabled:t.tableData.length>=5,type:"primary"},on:{click:t.toNewCard}},[t._v("新增策略")])],1),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleCateTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 0px)"},attrs:{"row-key":"policyId",data:t.tableData,"tooltip-effect":"dark"}},[n("el-table-column",{attrs:{prop:"",label:"",width:"100","class-name":"move-row-cell"},scopedSlots:t._u([{key:"default",fn:function(t){return[n("span",{staticClass:"font-22 iconfont icontuozhuaiopen color-c4c6cf",staticStyle:{cursor:"move"}})]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"卡券策略名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.policyName)+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"卡券模板","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.cardTemplates)+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"上线状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",[t._v(t._s(0==e.row.onlineFlag?"已下线":"已上线"))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"策略状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",[t._v(t._s(0==e.row.policyStatus?"无效":"有效"))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"操作",width:"228"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text"},on:{click:function(n){t.toSwitch(e.$index,e.row)}}},[t._v(t._s(0==e.row.onlineFlag?"上线":"下线"))]),t._v(" "),n("el-button",{attrs:{type:"text"},on:{click:function(n){t.toEdit(e.$index,e.row)}}},[t._v("编辑")]),t._v(" "),n("el-button",{attrs:{type:"text"},on:{click:function(n){t.toRecord(e.$index,e.row)}}},[t._v("记录")]),t._v(" "),0==e.row.onlineFlag?n("el-button",{attrs:{type:"text"},on:{click:function(n){t.toDel(e.$index,e.row)}}},[t._v("删除")]):t._e()]}}])})],1)],1),t._v(" "),t.recordShow?n("record-detail",{attrs:{policyId:t.policyId},on:{closeSendRecord:t.closeSendRecord}}):t._e()],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{"line-height":"32px"}},[e("span",{staticClass:"font-13 color-909399 p-l-10 font-w-300"},[this._v("内购券针对企业内部员工发下的卡券,最多新建5个策略")])])}]};var g=n("VU/8")(f,h,!1,function(t){n("7aQJ")},"data-v-e78d117c",null);e.default=g.exports}});
\ No newline at end of file
webpackJsonp([24],{B9Yg:function(t,s,e){t.exports=e.p+"static/img/gic-error.8aba914.png"},"Q3j/":function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e("B9Yg"),a=e.n(i),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"登录遇到错误啦!请确认您是否是好办小程序管理员。如不是,请联系管理员在<企业微信-我的企业-权限管理>添加好办管理员。"}},mounted:function(){}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100vh"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/login",rel:"noopener noreferrer"}},[this._v("返回好办登录页")])])])])},staticRenderFns:[]};var c=e("VU/8")(n,r,!1,function(t){e("qMxW")},"data-v-c5864394",null);s.default=c.exports},qMxW:function(t,s){}});
\ No newline at end of file
webpackJsonp([25],{H3Dc:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("mvHQ"),r=a.n(s),i=a("P9l9"),o=a("Ch4/"),l=a("PI0u"),n={name:"daily-export",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){var e=this;return{projectName:"",activeBrand:this.brandId,activeGroup:this.activeGroupId,dailyRuleForm:{dateRange:[],storeType:"",stores:[]},templates:[],checkAll:!1,isIndeterminate:!1,searchSelect:"",storeVisible:!1,stores:[],storesCopy:[],choiceDateCopy:[],pickerOptions:{onPick:function(t){var a=t.maxDate,s=t.minDate;e.choiceDateCopy=[s.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-7776e6,s=e.choiceDateCopy[0]+7776e6;return t.getTime()<a||t.getTime()>s||t.getTime()>Date.now()-864e4}return t.getTime()>Date.now()-864e4}},rules:{dateRange:[{required:!0,message:"请选择日期",trigger:"change"}],storeType:[{required:!0,message:"请选择自定义模板",trigger:"change"}],stores:[{type:"array",required:!0,message:"请选择门店",trigger:"change"}]},pageNum:1,pageSize:200,loadingBtn:!1}},methods:{handleCheckAllChange:function(e){this.dailyRuleForm.stores=e?this.stores.map(function(e){return e.storeId}):[],this.isIndeterminate=!1},handleStoresChange:function(e){var t=e.length;this.checkAll=t===this.stores.length,this.isIndeterminate=t>0&&t<this.stores.length},changeDate:function(e){e||(this.choiceDateCopy=[],this.dailyRuleForm.dateRange=[])},changeTemplate:function(){var e=this;e.pageNum=1,e.dailyRuleForm.stores=[],e.stores=[],e.storesCopy=[],e.searchSelect="",e.checkAll=!1,e.isIndeterminate=!1,e.$nextTick(function(){e.getStoreData()})},exportForm:Object(l.a)(function(e){var t=this;t.loadingBtn=!0,t.$refs[e].validate(function(e){if(!e)return t.loadingBtn=!1,!1;t.$alert("数据查询量较大,导出时间较长,请耐心等待!","",{confirmButtonText:"确定",callback:function(e){}});var a="";t.templates.forEach(function(e){e.storeType==t.dailyRuleForm.storeType&&(a=e.dailyReportTemplateId)}),t.postDailyExcel(a)})},500),postDailyExcel:function(e){var t=this,a={storeIds:t.dailyRuleForm.stores.join(",")||"",templateId:e,startDate:t.dailyRuleForm.dateRange[0]||"",endDate:t.dailyRuleForm.dateRange[1]||"",enterpriseId:t.activeBrand};Object(i.b)("/haoban-app-daily-three-web/daily/batch-export",a).then(function(e){if(t.loadingBtn=!1,!e.data)return o.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),s=t.dailyRuleForm.dateRange[0]+"-"+t.dailyRuleForm.dateRange[1]+"日报.xls",r=document.createElement("a");r.download=s,r.style.display="none",r.href=URL.createObjectURL(a),document.body.appendChild(r),r.click(),URL.revokeObjectURL(r.href),document.body.removeChild(r)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},toInput:Object(l.a)(function(e,t){if(!this.storesCopy.length)return!1;""==t&&(this.stores=JSON.parse(r()(this.storesCopy)));var a=JSON.parse(r()(this.storesCopy)).filter(function(e){return e.storeName.includes(t)});this.stores=a},500),changeVisible:function(){},checkStore:function(e){var t=this;if(e.select){e.select=!1;var a=t.dailyRuleForm.stores.indexOf(e.storeId);t.dailyRuleForm.stores.splice(a,1)}else e.select=!0,t.dailyRuleForm.stores.push(e.storeId);t.storesCopy.forEach(function(e){t.dailyRuleForm.stores.includes(e.storeId)&&(e.select=!0)})},clearSearch:function(){this.stores=JSON.parse(r()(this.storesCopy))},getTemplateData:function(){var e=this,t={enterpriseId:e.brandId};Object(i.a)("/haoban-app-daily-three-web/daily/list-define-template",t).then(function(t){var a=t.data;1!=a.errorCode?o.a.errorMsg(a):a.result&&a.result.length&&(e.templates=a.result)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getStoreData:function(){var e=this,t={enterpriseId:e.activeBrand,storeGroupId:e.activeGroup,showChild:1,showType:1,status:1,storeType:e.dailyRuleForm.storeType,pageNum:e.pageNum,pageSize:e.pageSize};Object(i.a)("/haoban-manage3-web/store/find-simple-page",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.list&&a.result.list.forEach(function(e){e.select=!1}),1==e.pageNum?(e.stores=JSON.parse(r()(a.result.list))||[],e.storesCopy=JSON.parse(r()(a.result.list))||[]):a.result.list.forEach(function(t){e.stores.push(t),e.storesCopy.push(t)}),void(e.pageNum*e.pageSize<a.result.total&&(e.pageNum++,e.getStoreData()));o.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){e&&(this.dailyRuleForm.storeType="",this.dailyRuleForm.stores=[],this.stores=[],this.storesCopy=[],this.searchSelect="",this.checkAll=!1,this.activeBrand=e,this.getTemplateData())},activeGroupId:function(e,t){e&&(this.activeGroup=e)}},mounted:function(){this.brandId&&(this.activeBrand=this.brandId,this.activeGroup=this.activeGroupId,this.getTemplateData())}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"daily-export-content"},[a("el-form",{ref:"dailyRuleForm",staticClass:"demo-dailyRuleForm",attrs:{model:e.dailyRuleForm,rules:e.rules}},[a("el-form-item",{attrs:{label:"",prop:"dateRange"}},[a("p",{staticClass:"inline-block daily-form-label"},[e._v("选择时间:")]),e._v(" "),a("el-date-picker",{staticClass:"search-date",attrs:{format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",editable:!1,"picker-options":e.pickerOptions,type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.changeDate},model:{value:e.dailyRuleForm.dateRange,callback:function(t){e.$set(e.dailyRuleForm,"dateRange",t)},expression:"dailyRuleForm.dateRange"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"",prop:"storeType"}},[a("p",{staticClass:"inline-block daily-form-label"},[e._v("选择自定义模板:")]),e._v(" "),a("el-select",{staticClass:"w-350",attrs:{placeholder:"请选择自定义模板"},on:{change:e.changeTemplate},model:{value:e.dailyRuleForm.storeType,callback:function(t){e.$set(e.dailyRuleForm,"storeType",t)},expression:"dailyRuleForm.storeType"}},e._l(e.templates,function(e){return a("el-option",{key:e.value,attrs:{label:e.title,value:e.storeType}})}))],1),e._v(" "),a("el-form-item",{attrs:{label:"",prop:"stores"}},[a("p",{staticClass:"inline-block daily-form-label"},[e._v("选择门店:")]),e._v(" "),a("el-popover",{attrs:{placement:"bottom",title:"",width:"350",trigger:"click"},model:{value:e.storeVisible,callback:function(t){e.storeVisible=t},expression:"storeVisible"}},[a("div",{staticClass:"daily-store-select"},[a("div",{staticClass:"select-search"},[a("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchSelect);var a}},model:{value:e.searchSelect,callback:function(t){e.searchSelect=t},expression:"searchSelect"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),a("div",{staticClass:"checkbox border-box",staticStyle:{padding:"15px 20px"}},[a("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v("全选")])],1),e._v(" "),a("div",{staticClass:"el-scrollbar define-search-select"},[a("div",{staticClass:"el-select-dropdown__wrap el-scrollbar__wrap",staticStyle:{"margin-bottom":"-5px","margin-right":"-5px"}},[a("el-checkbox-group",{on:{change:e.handleStoresChange},model:{value:e.dailyRuleForm.stores,callback:function(t){e.$set(e.dailyRuleForm,"stores",t)},expression:"dailyRuleForm.stores"}},[a("ul",{staticClass:"el-scrollbar__view el-select-dropdown__list"},[e._l(e.stores,function(t){return a("li",{key:t.storeId,class:["el-select-dropdown__item",t.select?"selected hover":""]},[a("el-checkbox",{attrs:{label:t.storeId}},[e._v(e._s(t.storeName))])],1)}),e._v(" "),e.stores.length?e._e():a("li",{staticClass:"text-center"},[a("span",[e._v("暂无数据")])])],2)])],1),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-horizontal"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateX(0%)"}})]),e._v(" "),a("div",{staticClass:"el-scrollbar__bar is-vertical"},[a("div",{staticClass:"el-scrollbar__thumb",staticStyle:{transform:"translateY(0%)"}})])])]),e._v(" "),a("div",{staticClass:"show-select-num w-350",attrs:{slot:"reference"},on:{click:e.changeVisible},slot:"reference"},[e._v("\n 已经选择"+e._s(e.dailyRuleForm.stores.length)+"家门店\n "),a("span",{staticClass:"el-input__suffix"},[a("span",{staticClass:"el-input__suffix-inner"},[a("i",{class:["el-select__caret el-input__icon el-icon-arrow-up",e.storeVisible?"is-reverse":""]})])])])])],1),e._v(" "),a("el-form-item",[a("p",{staticClass:"inline-block daily-form-label m-t-50"}),e._v(" "),a("el-button",{attrs:{type:"primary",loading:e.loadingBtn},on:{click:function(t){e.exportForm("dailyRuleForm")}}},[e._v("导出日报")])],1)],1)],1)},staticRenderFns:[]};var d=a("VU/8")(n,c,!1,function(e){a("xVVq")},"data-v-55eac0ae",null).exports,u={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{activeName:"first",tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"1",showDialog:!1}},computed:{},methods:{},watch:{brandId:function(e,t){e&&(this.activeBrand=e)},activeGroupId:function(e,t){e&&(this.activeGroup=e)}},mounted:function(){this.$emit("showTab","12"),document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.activeGroup=this.activeGroupId},destroyed:function(){this.activeGroup="",document.documentElement.style.backgroundColor="#fff"},components:{dailyExport:d}},p={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"daily-set-wrap "},[t("div",{staticClass:"daily-set-content border-box"},[t("daily-export",{attrs:{brandId:this.brandId,activeGroupId:this.activeGroupId}})],1)])},staticRenderFns:[]};var h=a("VU/8")(u,p,!1,function(e){a("fwlk")},"data-v-5d0e1bd1",null);t.default=h.exports},fwlk:function(e,t){},xVVq:function(e,t){}});
\ No newline at end of file
webpackJsonp([26],{"2X9c":function(t,s,i){t.exports=i.p+"static/img/error_500.ed0cba4.svg"},FskK:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=i("2X9c"),e=i.n(a),n={name:"page500",data:function(){return{img_500:e.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},c={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_500,alt:"500"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var r=i("VU/8")(n,c,!1,function(t){i("ptMC")},"data-v-4134c72f",null);s.default=r.exports},ptMC:function(t,s){}});
\ No newline at end of file
webpackJsonp([27],{"20P3":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("3Xzz"),s=a("Qs+A"),l=a("P9l9"),n=a("Ch4/"),r={name:"fail-log",props:{taskId:{type:String,default:function(){return""}}},data:function(){return{dialogVisible:!0,currentPage:1,pageSize:20,total:0,tableData:[]}},computed:{},methods:{handleClose:function(){this.tableData=[],this.$emit("closeLog")},changeRoute:function(t){this.$router.push(t)},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(t){var e=this,a={keyWord:e.searchInput||"",taskId:e.taskId,pageNum:e.currentPage,pageSize:e.pageSize};Object(l.a)("/haoban-manage3-web/sync-task-detail",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.result||[],e.total=a.result.totalCount,!1;n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{taskId:function(t,e){t&&this.getTableList()}},mounted:function(){this.taskId&&this.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:o.a,setDepartment:s.a}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:"查看失败日志",visible:t.dialogVisible,width:"995px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("div",{staticClass:"overstore-tip"},[a("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),t._v(" "),a("div",{staticClass:"el-alert__content"},[a("span",{staticClass:"el-alert__title color-606266 font-14"},[t._v("失败可能:分组创建失败或门店及成员创建失败"),a("br"),t._v("\n 通讯录同步分为两步串联创建:"),a("br"),t._v("\n 第一步同步分组,若出现分组创建失败,则分组及下面的门店及成员均会创建失败"),a("br"),t._v("\n 第二步同步门店及成员,若分组创建成功,会同步门店及成员,若门店创建失败,则门店下成员也会创建失败")])])])]),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{height:"450",data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"分组/门店名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.dataName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"分组/门店code","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.dataCode)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"所属分组","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.chainName)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"数据类型","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(0==e.row.dataType?"分组":1==e.row.dataType?"门店":"成员")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"同步状态","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:["span-dot",2==e.row.statusFlag?"bg-52c41a":"bg-f5222d"]}),a("span",{staticClass:"font-14 color-606266"},[t._v(t._s(3==e.row.statusFlag?"同步失败":1==e.row.statusFlag?"同步处理中":"--"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"失败原因","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(t._f("'--'")(e.row.reason)))]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[]};var c=a("VU/8")(r,i,!1,function(t){a("MUAj")},"data-v-4872509a",null).exports,u=a("PI0u"),p={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-288+"px",navpath:[{name:"首页",path:"/index"},{name:"通讯录",path:"/contactsList"},{name:"日志详情",path:""}],activeName:"first",searchInput:"",currentPage:1,pageSize:20,total:0,tableData:[],tableBindData:[],logShow:!1,taskId:"",optType:"",enterpriseId:"",brandOptions:[]}},computed:{},methods:{clearInput:function(){this.currentPage=1,this.getBindist()},toInput:Object(u.a)(function(t){this.currentPage=1,this.getBindist()},200),handleClick:function(t,e){this.currentPage=1,this.pageSize=20,this.total=0,"first"==t.name?this.getTableList():(this.getBrandData(),this.getBindist())},toShowLog:function(t,e){this.taskId=e.taskId,this.logShow=!0},closeLog:function(){this.taskId="",this.logShow=!1},changeRoute:function(t){this.$router.push(t)},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,"first"==this.activeName?this.getTableList():this.getBindist()},handleCurrentChange:function(t){this.currentPage=t,"first"==this.activeName?this.getTableList():this.getBindist()},getBrandData:function(){var t=this;Object(l.d)("/haoban-manage3-web/wx-enterprise-list",{}).then(function(e){var a=e.data;1!=a.errorCode?n.a.errorMsg(a):a.result&&a.result.length&&(t.brandOptions=a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getBindist:function(){var t=this,e={search:t.searchInput||"",enterpriseId:t.enterpriseId,optType:t.optType,pageNum:t.currentPage,pageSize:t.pageSize};Object(l.a)("/haoban-manage3-web/staff-clerk-bind-log",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableBindData=a.result.result||[],t.total=a.result.totalCount,!1;n.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getTableList:function(t){var e=this,a={keyWord:e.searchInput||"",pageNum:e.currentPage,pageSize:e.pageSize};Object(l.a)("/haoban-manage3-web/sync-task",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.result||[],e.total=a.result.totalCount,!1;n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){this.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:o.a,setDepartment:s.a,failLog:c}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("el-tabs",{on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"通讯录日志",name:"first"}},[a("div",{staticClass:"overstore-tip",staticStyle:{width:"643px"}},[a("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),t._v(" "),a("div",{staticClass:"el-alert__content"},[a("span",{staticClass:"el-alert__title color-606266 font-14"},[t._v("仅保存近一年失败日志")])])])]),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.userName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"同步时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.updateTime)))]),t._v(" "),a("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.updateTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"同步内容","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(t._f("'--'")(e.row.taskDesc)))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"状态","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:["span-dot",4==e.row.statusFlag?"bg-52c41a":"bg-f5222d"]}),a("span",{staticClass:"font-14 color-606266"},[t._v(t._s(4==e.row.statusFlag?"成功":5==e.row.statusFlag?"完成有错误":6==e.row.statusFlag?"有错误关闭":""))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[5==e.row.statusFlag||6==e.row.statusFlag?a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toShowLog(e.$index,e.row)}}},[t._v("查看失败日志")]):t._e()]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)]),t._v(" "),a("el-tab-pane",{attrs:{label:"关联解绑日志",name:"second"}},[a("div",{staticClass:"overstore-tip",staticStyle:{width:"643px"}},[a("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),t._v(" "),a("div",{staticClass:"el-alert__content"},[a("span",{staticClass:"el-alert__title color-606266 font-14"},[t._v("仅保存近一年关联解绑日志")])])])]),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-input",{staticClass:"w-293",attrs:{placeholder:"请输入导购手机号或code",maxlength:"50","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}}),t._v(" "),a("el-select",{staticClass:"w-168 m-l-10",attrs:{placeholder:"全部品牌"},on:{change:t.getBindist},model:{value:t.enterpriseId,callback:function(e){t.enterpriseId=e},expression:"enterpriseId"}},[a("el-option",{attrs:{label:"全部品牌",value:""}}),t._v(" "),t._l(t.brandOptions,function(t){return a("el-option",{key:t.enterpriseId,attrs:{label:t.enterpriseName,value:t.enterpriseId}})})],2),a("el-select",{staticClass:"w-168 m-l-10",attrs:{placeholder:"请选择"},on:{change:t.getBindist},model:{value:t.optType,callback:function(e){t.optType=e},expression:"optType"}},[a("el-option",{attrs:{label:"全部状态",value:""}}),t._v(" "),a("el-option",{attrs:{label:"绑定",value:"0"}}),t._v(" "),a("el-option",{attrs:{label:"解绑",value:"1"}})],1)],1),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%"},attrs:{data:t.tableBindData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"导购账号","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.clerkName||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"code","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(t._f("'--'")(e.row.clerkCode)))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"企微用户","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.staffName||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"账号","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.wxUserId||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"手机号","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.clerkPhoneNumber||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"更新时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.updateTime))+" "+t._s(e.row.updateTime?"":"--"))]),t._v(" "),a("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.updateTime))+" "+t._s(e.row.updateTime?"":"--"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.optStaffName||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"类型","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(0==e.row.optType?"绑定":"解绑"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"原因","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[1001==e.row.channelCode?a("el-button",{staticClass:"cursor-unset",attrs:{type:"text"}},[t._v("后台管理员绑定")]):t._e(),t._v(" "),1002==e.row.channelCode?a("el-button",{staticClass:"cursor-unset",attrs:{type:"text"}},[t._v("好办移动端绑定")]):t._e(),t._v(" "),1003==e.row.channelCode?a("el-button",{staticClass:"cursor-unset",attrs:{type:"text"}},[t._v("审核绑定")]):t._e(),t._v(" "),1004==e.row.channelCode?a("el-button",{staticClass:"cursor-unset",attrs:{type:"text"}},[t._v("GIC 同步绑定")]):t._e(),t._v(" "),2001==e.row.channelCode?a("el-button",{staticClass:"cursor-unset",attrs:{type:"text"}},[t._v("后台管理员解绑")]):t._e(),t._v(" "),2002==e.row.channelCode?a("el-button",{staticClass:"cursor-unset",attrs:{type:"text"}},[t._v("好办移动端解绑")]):t._e(),t._v(" "),2003==e.row.channelCode?a("el-button",{staticClass:"cursor-unset",attrs:{type:"text"}},[t._v("GIC 同步解绑")]):t._e(),t._v(" "),2004==e.row.channelCode?a("el-button",{staticClass:"cursor-unset",attrs:{type:"text"}},[t._v("企业同步解绑")]):t._e(),t._v(" "),2005==e.row.channelCode?a("el-button",{staticClass:"cursor-unset",attrs:{type:"text"}},[t._v("审核被解绑")]):t._e()]}}])})],1),t._v(" "),0!=t.tableBindData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])],1)],1)])])]),t._v(" "),t.logShow?a("fail-log",{attrs:{taskId:t.taskId},on:{closeLog:t.closeLog}}):t._e()],1)},staticRenderFns:[]};var f=a("VU/8")(p,d,!1,function(t){a("rBmB")},"data-v-29603f38",null);e.default=f.exports},MUAj:function(t,e){},rBmB:function(t,e){}});
\ No newline at end of file
webpackJsonp([28],{"16lw":function(t,e){},"3E1Z":function(t,e){},w2fd:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("fZjL"),i=a.n(n),o=a("LRn8"),s=a("P9l9"),l=a("PI0u"),r=a("3E4D"),c=a("Ch4/"),d={name:"taskView",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"1",showDialog:!1,conditionObj:{tableType:"1",searchInput:"",storeGroup:[],storeType:"",dateRange:[]},loading:!1,selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,loadingBtn:!1}},computed:{},methods:{changeTable:function(t){this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!i()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this;e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var a={search:e.conditionObj.searchInput||"",ecmIds:1==e.selectRadio?"":e.multipleSelection.map(function(t){return t.ecmId}).join(","),enterpriseId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio};Object(s.d)("/haoban-app-tel-task-three-web/task/batch-del-task-view-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return r.a.showmsg("删除成功","success"),void e.getTableList();c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=this;if(!t.multipleSelection.length)return r.a.showmsg("请选择任务","warning"),!1;t.loadingBtn=!0;var e={search:t.conditionObj.searchInput||"",gicEnterpriseId:t.activeBrand,selectType:t.selectRadio,ecmIds:1==t.selectRadio?"":t.multipleSelection.map(function(t){return t.ecmId}).join(",")};Object(s.b)("/haoban-app-tel-task-three-web/task/export-task-view-task-list",e).then(function(e){if(t.loadingBtn=!1,!e.data)return c.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=document.createElement("a");n.download="话务任务门店任务报表.csv",n.style.display="none",n.href=URL.createObjectURL(a),document.body.appendChild(n),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},toDetail:function(t,e){this.$router.push("taskViewDetail?ecmId="+e.ecmId)},getTableList:function(t){var e=this;e.loading=!0;var a={search:e.conditionObj.searchInput||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(s.a)("/haoban-app-tel-task-three-web/task/task-view-list",a).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;c.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},initDataRange:function(){var t=new Date,e=t.getTime()-7776e6,a=t.getFullYear(),n=t.getMonth()+1,i=t.getDate()<10?"0"+t.getDate():t.getDate(),o=n<10?"0"+n:n,s=new Date(e),l=s.getFullYear(),r=s.getMonth()+1,c=s.getDate()<10?"0"+s.getDate():s.getDate();return[l+"-"+(r<10?"0"+r:r)+"-"+c,a+"-"+o+"-"+i]}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){var t=this;t.conditionObj.dateRange=t.initDataRange(),document.documentElement.style.backgroundColor="#f0f2f5",t.activeBrand=t.brandId,this.brandId&&t.$nextTick(function(){t.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:o.a}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"daily-set-content border-box"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入话务任务名称",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("span",{staticClass:"condition-tips font-12 color-909399 p-l-10"},[t._v("仅包含话务任务记录")])],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),a("el-button",{attrs:{loading:t.loadingBtn,type:"primary"},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"任务名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.ecmName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.competedTaskNum))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.competedTaskRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.toComplete))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overTimeNum))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"m-b-20"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title"},[this._v("\n 1.预计2021年1月功能更新后将仅保留近一年数据,历史数据将清除。如需保存超过一年历史数据,请于1月前导出保存;"),e("br"),this._v("\n 2.话务任务统计数据每日刷新一次;"),e("br"),this._v("\n 3.需要注意:话务完成详情是实时展示;完成数据统计是每日刷新,可能出现任务详情显示已完成,但是已完成数量并没有+1。这属于统计的正常情况。\n ")])])])])}]};var p=a("VU/8")(d,u,!1,function(t){a("16lw")},"data-v-fef7b478",null).exports,h={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"1",showDialog:!1}},computed:{},methods:{},watch:{brandId:function(t,e){t&&(this.activeBrand=t)},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){this.$emit("showTab","12"),document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{taskViewPage:p}},g={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"daily-set-wrap "},[e("taskViewPage",{attrs:{brandId:this.brandId,activeGroupId:this.activeGroupId}})],1)},staticRenderFns:[]};var f=a("VU/8")(h,g,!1,function(t){a("3E1Z")},"data-v-22daf0a6",null);e.default=f.exports}});
\ No newline at end of file
webpackJsonp([29],{"7Otq":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAKQ2lDQ1BJQ0MgcHJvZmlsZQAAeNqdU3dYk/cWPt/3ZQ9WQtjwsZdsgQAiI6wIyBBZohCSAGGEEBJAxYWIClYUFRGcSFXEgtUKSJ2I4qAouGdBiohai1VcOO4f3Ke1fXrv7e371/u855zn/M55zw+AERImkeaiagA5UoU8Otgfj09IxMm9gAIVSOAEIBDmy8JnBcUAAPADeXh+dLA//AGvbwACAHDVLiQSx+H/g7pQJlcAIJEA4CIS5wsBkFIAyC5UyBQAyBgAsFOzZAoAlAAAbHl8QiIAqg0A7PRJPgUA2KmT3BcA2KIcqQgAjQEAmShHJAJAuwBgVYFSLALAwgCgrEAiLgTArgGAWbYyRwKAvQUAdo5YkA9AYACAmUIszAAgOAIAQx4TzQMgTAOgMNK/4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rp4LkS6YQANQB3/5/AgwALSeqB4Ipk3UAAAAASUVORK5CYII="},"T+/8":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("mvHQ"),s=r.n(n),o=r("PI0u"),a=r("MJLE"),i=r.n(a),c=r("Ch4/"),l=r("P9l9"),d={name:"login",data:function(){return{qrcodeCase:"",qrcodeNum:"",enterpriseId:"",expiredFlag:!1,canSelectFlag:!1,userId:"",ajaxTime:null,chooseTab:"qrcode",enterpriseList:[],numberCode:""}},computed:{},methods:{toRouterView:function(e){this.$router.push({path:e.path})},chooseLogin:function(e,t){this.chooseTab=t,document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear(),clearInterval(this.ajaxTime),"pass"!=t?this.expiredFlag=!1:this.qrcodeNum="",document.getElementById("line-active").style.width=e.target.offsetWidth+"px",document.getElementById("line-active").style.left=e.target.offsetLeft+"px"},collapseTag:function(e){this.collapseFlag=e},qrcode:function(e){var t={type:"web-login",data:e||"123456789"};this.qrcodeCase=new i.a("qrcode",{width:190,height:190,text:s()(t)}),document.getElementById("qrcode").title=""},refreshCode:Object(o.a)(function(){this.qrcodeCase&&(document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear()),this.getQrcode(),this.expiredFlag=!1},500),toIndex:Object(o.a)(function(){this.toLogin()},500),toLogin:Object(o.a)(function(){var e=this,t={qrcode:e.qrcodeNum||"debug",enterpriseId:e.enterpriseId,userId:e.userId};Object(l.d)("/haoban-manage3-web/login_local",t).then(function(t){var r=t.data;if(1==r.errorCode)return localStorage.removeItem("userInfo"),void localStorage.setItem("userInfos",s()(r.result));30004==r.errorCode&&(e.canSelectFlag=!1,"qrcode"==e.chooseTab&&(e.getQrcode(),e.expiredFlag=!1)),c.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},500),checkLogin:function(){var e=this,t={qrcode:e.qrcodeNum};Object(l.d)("/haoban-manage3-web/login-check",t).then(function(t){var r=t.data;if(1!=r.errorCode)30002==r.errorCode&&(e.expiredFlag=!0),c.a.errorMsg(r),clearInterval(e.ajaxTime);else if(r.result&&r.result.enterpriseList&&r.result.enterpriseList.length){if(e.enterpriseList=r.result.enterpriseList,e.enterpriseId=e.enterpriseList[0].enterpriseId,e.userId=r.result.userId,document.getElementById("qrcode").innerHTML="",e.qrcodeCase.clear(),clearInterval(e.ajaxTime),1==r.result.enterpriseList.length)return e.toLogin(),!1;e.canSelectFlag=!0}}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},checkScan:function(){var e=this;clearInterval(e.ajaxTime),e.ajaxTime=null,e.ajaxTime=setInterval(function(){e.checkLogin()},3e3)},getQrcode:function(){var e=this;Object(l.d)("/haoban-manage3-web/get-login-qrcode",{}).then(function(t){var r=t.data;if(1==r.errorCode)return e.qrcodeNum=r.result,void(window.location.href=""+r.result);c.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeCode:function(e){this.numberCode=e}},mounted:function(){this.getQrcode(),localStorage.getItem("userInfos")&&localStorage.removeItem("userInfos")},components:{}},A={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"login-wrap"},[r("section",[r("div",{staticClass:"login-body-top"},[e._m(0),e._v(" "),r("div",{staticClass:"login-body-qrcode"},[r("div",{staticClass:"login-qrcode-inner border-box"},[r("div",{staticClass:"qrcode-title font-18 color-303133 m-b-20"},[e._v("企业微信扫码登录")]),e._v(" "),r("div",{attrs:{id:"qrcode",title:""}}),e._v(" "),r("div",{staticClass:"qrcode-refresh m-t-20"},[r("el-button",{staticClass:"font-12",attrs:{type:"text"},on:{click:e.refreshCode}},[e._v("刷新 "),r("span",{staticClass:"color-2f54eb iconfont iconshuaxin"})])],1)])]),e._v(" "),r("div",{staticClass:"bg-dot"}),e._v(" "),r("div",{staticClass:"bg-dot-center"})]),e._v(" "),r("div",{staticClass:"login-body-bottom"})]),e._v(" "),r("footer",{staticClass:"p-t-35"},[r("vue-gic-footer")],1)])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"login-body-head"},[t("div",{staticClass:"login-body-head_inner border-box flex"},[t("img",{staticClass:"login-body-logo",attrs:{src:r("7Otq"),alt:"logo"}}),this._v(" "),t("span",{staticClass:"login-body-title p-l-7"},[this._v("好办管理后台")])])])}]};var g=r("VU/8")(d,A,!1,function(e){r("xxcA")},"data-v-12c4cd3e",null);t.default=g.exports},xxcA:function(e,t){}});
\ No newline at end of file
webpackJsonp([3],{"+lem":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("mvHQ"),o=a.n(n),i=a("P9l9"),r=a("Ch4/"),s=a("mw3O"),c=a.n(s),l={name:"vue-office-header",props:["menuRouter","collapseFlag","projectName"],components:{},data:function(){return{checkShow:!0,tipText:"请先完成商户初始化设置后,再进行其他操作",repProjectName:"haoban-manage-web",pathName:"",isCollapse:!1,menuHead:[{menuCode:null,rightName:"首页",url:"/index",parentCode:null,project:"office"}],baseUrl:"",routePathName:"",userInfo:{name:"",phoneNumber:"",headPic:"",staffDTO:{staffName:""}}}},beforeMount:function(){var e=window.location.origin;"-1"!=e.indexOf("localhost")?this.baseUrl="http://www.gicdev.com":this.baseUrl=e},methods:{getSwitchData:function(e){var t=this,a={wxEnterpriseId:e};Object(i.a)("/haoban-manage3-web/web/use-haoban3-service",a).then(function(e){var a=e.data;1!=a.errorCode?r.a.errorMsg(a):a.result?-1==t.menuHead[t.menuHead.length-1].rightName.indexOf("企业数据")&&t.menuHead.push({menuCode:null,rightName:"企业数据",url:"/enterpriseUseData?/enterpriseUseData",parentCode:null,project:"office"}):-1!=t.menuHead[t.menuHead.length-1].rightName.indexOf("企业数据")&&t.menuHead.splice(t.menuHead.length-1,1)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getTipData:function(){var e=this;Object(i.a)("/haoban-manage3-web/is-wx-enterprise-secret-set",{}).then(function(t){var a=t.data;1!=a.errorCode?r.a.errorMsg(a):e.checkShow=a.result}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toIndex:function(){this.$router.push("/index")},changeRouter:function(e){this.$router.push(e)},handleCollapse:function(){this.isCollapse=1!=this.isCollapse,this.$emit("collapseTag",this.isCollapse)},toGicLogin:function(){var e=window.location.origin.includes("demogic.com")?window.location.origin:"https://hope.demogic.com";window.location.href=e+"/gic-web/#/"},toLoginOut:function(){var e=this;e.$confirm("确认退出吗?","提示",{type:"warning"}).then(function(){e.axios.post("/haoban-manage3-web/login-out",{}).then(function(t){var a=t.data;if(1==a.errorCode)return e.$message({message:"退出成功",type:"success"}),void(window.location.href=window.location.origin+"/haoban-3/#/login");e.$message.error({duration:1e3,message:a.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}).catch(function(){})},toRouter:function(e,t,a){var n={path:"/"+e,name:t};this.$emit("toRouterView",n)},treeData:function(e){return e.filter(function(t){var a=e.filter(function(e){return t.haobanMenuRightId==e.parentRightId});return a.length>0&&(t.children=a),-1==t.parentRightId})},getMenuDetail:function(){var e=this,t={router:e.routePathName,project:e.repProjectName,requestProject:e.repProjectName};e.axios.post(e.baseUrl+"/haoban-manage-web/menu-detail",c.a.stringify(t)).then(function(t){var a=t.data;1!=a.errorCode?e.$message.error({duration:1e3,message:a.message}):e.pathName="/"+a.result.top.url}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getHeaderMenu:function(){var e=this,t={project:e.repProjectName,requestProject:e.repProjectName};e.axios.post(e.baseUrl+"/haoban-manage-web/menu-list",c.a.stringify(t)).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.forEach(function(e,t){e.url="/"+e.url}),e.menuHead=e.treeData(a.result),void e.$nextTick(function(){e.userInfo=JSON.parse(localStorage.getItem("userInfos")),e.userInfo||(e.userInfo={name:"",headPic:"",phoneNumber:""},e.getUserData())});e.$message.error({duration:1e3,message:a.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getUserData:function(){var e=this;e.axios.get(e.baseUrl+"/haoban-manage-web/emp/get-user-info",{}).then(function(t){var a=t.data;if(1==a.errorCode)return e.userInfo=a.result,void localStorage.setItem("userInfos",o()(a.result));e.$message.error({duration:1e3,message:a.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toLogin:function(){var e=this;Object(i.b)("/haoban-manage3-web/get-login-info",{}).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.staffDTO||(a.result.staffDTO={staffName:""}),localStorage.setItem("userInfos",o()(a.result)),e.userInfo=a.result,void e.getSwitchData(a.result.wxEnterpriseId);r.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{$route:{handler:function(e,t){},deep:!0},collapseFlag:function(e,t){this.isCollapse=e},projectName:function(e,t){this.repProjectName=e||"haoban-manage-web"}},mounted:function(){this.pathName=this.$route.path,this.routePathName=window.location.hash.split("/")[1],-1!=this.routePathName.indexOf("?")&&(this.routePathName=this.routePathName.split("?")[0]),-1!=this.routePathName.indexOf("/")&&(this.routePathName=this.routePathName.split("/")[0]),this.repProjectName=this.projectName||"haoban-manage-web",this.isCollapse=this.collapseFlag}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"navheader"},[a("div",{staticClass:"navheader-logo fl cursor-pointer",class:{moveleft:e.isCollapse,moveright:!e.isCollapse},on:{click:e.toIndex}},[a("span",{staticClass:"pro-name"},[e._v("好办管理平台")])]),e._v(" "),a("div",{staticClass:"navheader-item fl"},[e._l(e.menuHead,function(t,n){return[a("a",{key:n,class:["itemlink menu-mall menu-font-16"],on:{click:function(a){return e.changeRouter(t.url)}}},[a("span",{class:["inline-block bottom",-1!=t.url.indexOf(e.pathName)?"current-module":""]},[e._v(e._s(t.rightName))])])]}),e._v(" "),a("div",{staticClass:"navuserinfo fr"},[a("span",{staticClass:"span-log color-909399 iconfont iconrizhifuwu"}),e._v(" "),a("el-popover",{staticStyle:{"min-width":"95px"},attrs:{placement:"bottom",title:"",width:"95",trigger:"hover","popper-class":"user-header-pop"}},[a("ul",{staticClass:"navsuerwrap"},[a("li",{staticClass:"user-item loginout",staticStyle:{"text-align":"center"},on:{click:function(t){return t.stopPropagation(),e.toLoginOut(t)}}},[a("a",{staticClass:"usertext"},[e._v("退出登录")])])]),e._v(" "),a("a",{staticClass:"nav-user-name",attrs:{slot:"reference"},slot:"reference"},[a("span",{staticClass:"font-12 color-606266"},[e._v(e._s(e.userInfo.staffDTO.staffName||"--"))]),e._v(" "),a("i",{staticClass:"iconfont iconxiala arrowico color-c0c4cc"})])])],1)],2)])},staticRenderFns:[]};var h=a("VU/8")(l,u,!1,function(e){a("6Ptv")},"data-v-583797b6",null).exports,d={name:"common-detail-left",props:{appName:{type:String,default:function(){return""}},activeSelTab:{type:[String,Number],default:function(){return"1"}},tabListData:{type:[Array,Object],default:function(){return[]}}},data:function(){return{projectName:"",activeTab:"1",tabData:this.tabListData,collapsFlag:!0}},methods:{returnBack:function(){this.$router.push("appcenter")},selectTab:function(e,t,a){if(t?this.tabData[a].onlyIconActive=!0:(this.tabData.forEach(function(e){e.onlyIconActive=!1}),e.hasOwnProperty("children")&&e.children.length&&(this.collapsFlag=!(this.collapsFlag&&e.hasOwnProperty("children")&&e.children.length))),e.hasOwnProperty("children"))return this.tabData[a].onlyIconActive=!0,e.children[0].hasOwnProperty("children")?(this.activeTab=e.children[0].children[0].tabId,this.$emit("setSelectTab",e),!1):(this.activeTab=e.children[0].tabId,this.$emit("setSelectTab",e),!1);this.activeTab=e.tabId,this.$emit("setSelectTab",e)}},watch:{tabListData:function(e,t){this.tabData=e},activeSelTab:function(e,t){this.activeTab=e}},mounted:function(){this.activeTab=this.activeSelTab}},f={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"p-t-12"},[a("ul",{staticClass:"tab-left-list"},[e._l(e.tabData,function(t,n){return[a("li",{key:n,class:["tab-left-list-cell color-303133 font-14 border-box p-l-14",t.tabId==e.activeTab?"active-tab":""],on:{click:function(a){return e.selectTab(t,!1,n)}}},[a("i",{class:["p-r-10 color-303133 iconfont",t.icon,(t.onlyIconActive,"")]}),e._v(e._s(t.tabName)+"\n ")]),e._v(" "),a("ul",{key:"childitem"+n,staticClass:"child-tab-left-list"},[e._l(t.children,function(t,o){return[a("li",{key:o,class:["tab-left-list-cell color-303133 font-14 border-box p-l-40",t.tabId==e.activeTab?"active-tab":""],on:{click:function(a){return e.selectTab(t,"child",n)}}},[e._v(e._s(t.tabName))]),e._v(" "),a("ul",{key:"thirditem"+o,staticClass:"third-tab-left-list"},[e._l(t.children,function(t,o){return[a("li",{key:o,class:["tab-left-list-cell color-303133 font-14 border-box p-l-60",t.tabId==e.activeTab?"active-tab":""],on:{click:function(a){return e.selectTab(t,"child",n)}}},[e._v(e._s(t.tabName))])]})],2)]})],2)]})],2)])},staticRenderFns:[]};var m={name:"reviewed",components:{vueOfficeHeader:h,commonDetailLeft:a("VU/8")(d,f,!1,function(e){a("tR4M")},"data-v-37eb5313",null).exports},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:"0px",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"模块",icon:"icondaishenhe_orange"}]}},computed:{},methods:{changeRoute:function(e){this.$router.push(e)},setSelectTab:function(e){switch(this.activeTab=e.tabId,e.tabId){case"1":this.changeRoute("unreview");break;case"2":this.changeRoute("reviewed");break;case"3":this.changeRoute("reviewSet")}},showTab:function(e){this.activeTab=e,this.activeSelTab=e,this.tabListData.forEach(function(t){t.tabId==e&&(t.onlyIconActive=!1),t.children&&t.children.forEach(function(a){a.tabId==e&&(t.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==e&&(t.onlyIconActive=!0)})})})},toRouterView:function(e){this.$router.push({path:e.path})},collapseTag:function(e){this.collapseFlag=e}},watch:{$route:{handler:function(e,t){},deep:!0}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},p={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"review-wrap"},[a("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),a("div",{staticClass:"setting-wrap__body"},[a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body"},[a("div",{staticClass:"content-body-inner flex border-box"},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 86px)"}},[a("common-detail-left",{attrs:{tabListData:e.tabListData,activeSelTab:e.activeSelTab},on:{setSelectTab:e.setSelectTab}})],1),e._v(" "),a("div",{staticClass:"apps-content-right border-box"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:e.activeBrand,activeGroupId:e.activeGroup,tabType:e.activeTab},on:{showTab:e.showTab}})],1)],1)])])])])],1)},staticRenderFns:[]};var b=a("VU/8")(m,p,!1,function(e){a("9xmo")},null,null);t.default=b.exports},"6Ptv":function(e,t){},"9xmo":function(e,t){},tR4M:function(e,t){}});
\ No newline at end of file
webpackJsonp([3,39,50,53,68,83],{"19rn":function(e,t){},"2WGr":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"date-range-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(e){for(var t=0,i=0;i<e.length;i++){null!=e.charAt(i).match(/[^\x00-\xff]/gi)?t+=1:t+=.5}return Math.ceil(t)}}},s={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"flex"},[i("div",{class:["opencard-item-title",e.getZhLen(e.childItem.startTitle)>=6?"title-pre-wrap":""]},[e._v(e._s(e.childItem.startTitle))]),e._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(e.childItem.placeholder)+" "+e._s(e.childItem.isMust?"(必填)":"")),i("i",{staticClass:"el-icon-arrow-right"})])])]),e._v(" "),i("div",{staticClass:"b-t-1 flex"},[i("div",{class:["opencard-item-title",e.getZhLen(e.childItem.endTitle)>=6?"title-pre-wrap":""]},[e._v(e._s(e.childItem.endTitle))]),e._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(e.childItem.placeholder)+" "+e._s(e.childItem.isMust?"(必填)":"")+" "),i("i",{staticClass:"el-icon-arrow-right"})])])])])},staticRenderFns:[]};var n=i("VU/8")(a,s,!1,function(e){i("HkhO")},"data-v-a5704692",null);t.default=n.exports},"3enc":function(e,t){},"5mtM":function(e,t){},"8dpP":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(e){for(var t=0,i=0;i<e.length;i++){null!=e.charAt(i).match(/[^\x00-\xff]/gi)?t+=1:t+=.5}return Math.ceil(t)}}},s={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"image-com flex"},[i("div",{class:["opencard-item-title",e.getZhLen(e.childItem.title)>=6?"title-pre-wrap":""]},[e._v(e._s(e.childItem.title))]),e._v(" "),i("div",{staticClass:"must"},[e._v(e._s(e.childItem.isMust?"(必填)":""))]),e._v(" "),e._m(0)])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"draged-item-show"},[t("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t("i",{staticClass:"iconfont icon-icon"})])])}]};var n=i("VU/8")(a,s,!1,function(e){i("cIT2")},"data-v-61ae09dc",null);t.default=n.exports},HkhO:function(e,t){},Isrn:function(e,t,i){"use strict";var a=i("Mk6G"),s={name:"addinput",props:{childItem:String,childIndex:Number,titleName:String,inputValue:String,maxLength:Number,disFlag:Number,child:String},data:function(){return{inputNum:0,limitLength:10,itemValue:"",disableInput:!1,c3Flag:"",c3Index:"",titleFlag:"",childFlag:""}},methods:{inputFocus:function(e){console.log(e)},toInput:function(e){var t="",i={};return t=a.a.getByteVal(e.target.value,this.limitLength),this.itemValue=t.trim(),this.inputNum=a.a.getZhLen(this.itemValue),this.childFlag?(i.child=this.childFlag,i.value=this.itemValue,"title"==this.titleFlag&&(i.title=this.titleFlag),"k303"==this.c3Flag&&(i.c3Index=this.c3Index,i.flag=this.c3Flag),void this.$emit("itemInput",i)):"title"==this.titleFlag?(i.value=this.itemValue,i.title=this.titleFlag,void this.$emit("itemInput",i)):"k303"==this.c3Flag?(i.value=this.itemValue,i.flag=this.c3Flag,i.c3Index=this.c3Index,void this.$emit("itemInput",i)):void this.$emit("itemInput",this.itemValue)}},watch:{maxLength:function(e,t){this.limitLength=e},inputValue:function(e,t){this.itemValue=e,this.inputNum=a.a.getZhLen(this.itemValue)},disFlag:function(e,t){this.disableInput=e},childItem:function(e,t){this.c3Flag=e},childIndex:function(e,t){this.c3Index=e},titleName:function(e,t){this.titleFlag=e},child:function(e,t){this.childFlag=e}},mounted:function(){console.log(this.childIndex),this.limitLength=this.maxLength,this.itemValue=this.inputValue||"",this.inputNum=a.a.getZhLen(this.inputValue),this.disableInput=this.disFlag||0,this.c3Flag=this.childItem||"",this.c3Index=0==this.childIndex?0:this.childIndex,this.titleFlag=this.titleName,this.childFlag=this.child}},n={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"input-line-cell"},[i("el-input",{staticClass:"w-340",attrs:{placeholder:"",disabled:0!=e.disableInput},on:{focus:function(t){e.inputFocus(e.c3Index)}},nativeOn:{keyup:function(t){return i=t,e.toInput(i);var i}},model:{value:e.itemValue,callback:function(t){e.itemValue=t},expression:"itemValue"}}),e._v(" "),i("span",{staticClass:"tip"},[i("span",{staticClass:"len_span"},[e._v(e._s(e.inputNum))]),e._v("/"+e._s(e.limitLength))])],1)},staticRenderFns:[]};var l=i("VU/8")(s,n,!1,function(e){i("NLRX")},"data-v-45ab7f8a",null);t.a=l.exports},LTPC:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i("//Fk"),s=i.n(a),n=i("Gu7T"),l=i.n(n),c=i("gBtx"),r=i.n(c),o=i("mvHQ"),d=i.n(o),u=i("u4Bf"),p=i.n(u),m=i("Isrn"),h=i("l46T"),v=i("8dpP"),f=i("rYZf"),g=i("2WGr"),y=i("zHtI"),I=i("O3gZ"),_=i("fPyK"),C=i("fZjL"),b=i.n(C),x={props:{templateObj:{type:[Array,Object],default:function(){return{}}},storeList:{type:[Array,Object],default:function(){return[]}}},data:function(){return{setVisible:!0,rules:{title:[{required:!0,message:"请输入模板名称",trigger:"blur"}],description:[{required:!0,message:"请输入模板描述",trigger:"blur"}],storeType:[{required:!0,message:"请选择门店类型",trigger:"change"}]},ruleForm:{title:"",description:"",storeType:""}}},computed:{},watch:{templateObj:function(e){b()("val").length&&(this.ruleForm=JSON.parse(d()(e)))}},methods:{handleClose:function(e){e(),this.$emit("closeSet","close"),this.selectId=""},cancel:function(){this.$emit("closeSet","close"),this.selectId=""},submitForm:function(e){var t=this;t.$refs[e].validate(function(e){if(!e)return console.log("error submit!!"),!1;t.$emit("closeSet",t.ruleForm)})}},components:{limitInput:h.a},mounted:function(){this.ruleForm=JSON.parse(d()(this.templateObj))}},w={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dialog",{attrs:{width:"600px",title:"模板设置",visible:e.setVisible,"append-to-body":"","before-close":e.handleClose},on:{"update:visible":function(t){e.setVisible=t}}},[i("div",{staticClass:"m-t-20"},[i("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[i("el-form-item",{attrs:{label:"模板名称",prop:"title"}},[i("limitInput",{attrs:{inputWidth:340,inputValue:e.ruleForm.title,holder:"",disflag:!1,getByType:"word",maxLength:10},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"title",t)}}})],1),e._v(" "),i("el-form-item",{attrs:{label:"模板描述",prop:"description"}},[i("limitInput",{attrs:{inputWidth:340,inputValue:e.ruleForm.description,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.ruleForm,"description",t)}}})],1),e._v(" "),i("el-form-item",{attrs:{label:"门店类型",prop:"storeType"}},e._l(e.storeList,function(t,a){return i("div",{key:t.name+a,staticClass:"store-type-cell m-b-20"},[i("el-radio",{attrs:{label:t.id,disabled:t.disabled},model:{value:e.ruleForm.storeType,callback:function(t){e.$set(e.ruleForm,"storeType",t)},expression:"ruleForm.storeType"}},[e._v(e._s(t.name))])],1)}))],1)],1),e._v(" "),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:e.cancel}},[e._v("取消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("确定")])],1)])},staticRenderFns:[]};var k=i("VU/8")(x,w,!1,function(e){i("zRCp")},"data-v-62d17107",null).exports,M=i("3E4D"),L=i("Ch4/"),O=i("PI0u"),F=i("P9l9"),T={name:"customSetTemplate",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:1,activeName:"first",enterpriseId:this.brandId,rightWidth:"-350px",rightName:"second",dialogVisible:!1,bodyHeight:(document.documentElement.clientHeight||document.body.clientHeight)-277+"px",isDragging:!1,delayedDragging:!1,leftOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},leftDefineOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},templateId:"",oparateType:"",counter:1,selectKey:"",tradeInfo:[],personInfo:[],goodsInfo:[],competeInfo:[],defineInfo:[],currentIndex:0,currentChildKey:null,currentChildIndex:null,childIndex:0,tempaletDataList:[],setList:[],templateObj:{title:"",description:"",storeType:"",momory:[]},storeList:[{id:"0",name:"自营门店",disabled:!1},{id:"1",name:"联营门店",disabled:!1},{id:"2",name:"代理门店",disabled:!1},{id:"3",name:"代销门店",disabled:!1},{id:"4",name:"托管门店",disabled:!1}],setVisible:!1,loadingBtn:!1}},methods:{templateSet:function(){this.setVisible=!0},closeSet:function(e){if(this.setVisible=!1,"close"==e)return!1;this.templateObj=e},changeTab:function(e){this.activeTab=e,this.activeName=2==e?"five":"first"},getZhLen:function(e){for(var t=0,i=0;i<e.length;i++){null!=e.charAt(i).match(/[^\x00-\xff]/gi)?t+=1:t+=.5}return Math.ceil(t)},returnBack:function(){this.changeRoute("/customReport?brandId="+this.brandId+"&appIcon="+this.$route.query.appIcon)},cloneItem:function(e){var t=JSON.parse(d()(e));return t.cid="c"+this.counter,t.systemFlag||(t.name.includes("textc")&&(t.name="textc"+this.counter),t.name.includes("paragraphc")&&(t.name="paragraphc"+this.counter),t.name.includes("numberc")&&(t.name="numberc"+this.counter),t.name.includes("checkboxesOrRadioc")&&(t.name="checkboxesOrRadioc"+this.counter),t.name.includes("datec")&&(t.name="datec"+this.counter),t.name.includes("dateareac")&&(t.name="dateareac"+this.counter),t.name.includes("picc")&&(t.name="picc"+this.counter),t.name.includes("introductionc")&&(t.name="introductionc"+this.counter),t.name.includes("pricec")&&(t.name="pricec"+this.counter),t.name.includes("groupc")&&(t.name="groupc"+this.counter,t.title=""+t.title+this.counter)),t},onMove:function(e){var t=e.draggedContext.element;return!this.tempaletDataList.map(function(e){return e.name}).includes(t.name)&&!t.fixed},onChildMove:function(e){var t=!0;return-1!=e.dragged.className.indexOf("block-class")&&-1!=e.to.className.indexOf("block-wrap")&&(t=!1),t},itemMoveEnd:function(e){var t=this;function i(e){t[e].forEach(function(e,i){e.name==t.selectKey&&(e.fixed=!0)})}t.isDragging=!1,t.selectKey="",t.selectKey=e.clone.dataset.name,t.tempaletDataList.forEach(function(e,a){e.name==t.selectKey&&i(e.parentCode),e.children&&e.children.forEach(function(e,a){e.name==t.selectKey&&i(e.parentCode)})}),t.selectKey="",t.tempaletDataList=JSON.parse(d()(t.tempaletDataList)),t.$forceUpdate(),t.counter=t.counter+1},selectItem:function(e,t){this.rightWidth="0",this.currentIndex=t,this.currentChildIndex=null},deleteItem:function(e,t,i,a){var s=this;if(s.tempaletDataList.splice(i,1),s.currentIndex--,s.currentIndex<=0&&(s.currentIndex=0),!a.systemFlag)return a.name.includes("groupc")&&a.children.length&&a.children.forEach(function(e){e.systemFlag&&s[e.parentCode].forEach(function(t){t.name==e.name&&(t.fixed=!1)})}),!1;s[t].forEach(function(t,i){t.name==e&&(t.fixed=!1)})},addDragItem:function(e){return!1},selectChildItem:function(e,t,i,a){this.currentIndex=null,this.currentChildKey=e,this.childIndex=t,this.currentChildIndex=i},deleteChildItem:function(e,t,i,a,s){if(this.childIndex=t,this.currentIndex=null,this.currentChildKey=this.tempaletDataList[t].children[i].name,this.currentChildIndex--,this.currentChildIndex<=0&&(this.currentChildIndex=0),this.tempaletDataList=JSON.parse(d()(this.tempaletDataList)),this.tempaletDataList[t].children.splice(i,1),!s.systemFlag)return!1;this[s.parentCode].forEach(function(t,i){t.name===e&&(t.fixed=!1)})},delChildItem:function(e,t,i){i.list.splice(t,1)},addChildItem:function(e,t,i){if(19!=t){i.list.push({value:"选项"+(t+2),key:t+2});var a=i.list.map(function(e){return e.value});this.isRepeat(a)&&(i.list.splice(i.list.length-1,1),a.splice(i.list.length-1,1),this.$message.error({duration:1e3,message:"选项不能重复"}))}else this.$message.error({duration:1e3,message:"最多可添加 20 项"})},changeMust:function(e,t,i){t&&i.list.forEach(function(t){t.isMust=!!e})},isRepeat:function(e){var t={};for(var i in e){if(t[e[i]])return!0;t[e[i]]=!0}return!1},changeRoute:function(e){this.$router.push(e)},checkTag:function(e){var t={filedFlag:!0,filedRepeat:!1},i=[];return e.forEach(function(e){if(""==e.title)return t.filedFlag=!1,t.name=e.title||"",!1;i.push(e.title),e.hasOwnProperty("children")&&e.children.length&&e.children.forEach(function(e){if(e.systemFlag&&""==e.title)return t.filedFlag=!1,t.name=e.title||"",!1;i.push(e.title)})}),this.isRepeat(i)&&(t.filedRepeat=!0),t},checkTemplateObj:function(){var e=!0;return this.templateObj.title&&this.templateObj.description&&this.templateObj.storeType||(e=!1),e},getUuid:function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})},saveAndBack:Object(O.a)(function(e){if(!this.checkTemplateObj())return this.$message.error({duration:1e3,message:"请完善模板设置内容"}),!1;var t=JSON.parse(d()(this.tempaletDataList)),i=this.checkTag(t);if(!i.filedFlag)return this.$message.error({duration:1e3,message:i.name+"字段标题不能为空"}),!1;if(i.filedRepeat)this.$message.error({duration:1e3,message:"字段标题不能重复"});else{if(t.forEach(function(e,t){e.sort=t,e.isMust=e.isMust?1:0,e.memory=e.memory?1:0,e.hasOwnProperty("openCapitalize")&&(e.openCapitalize=e.openCapitalize?1:0),e.hasOwnProperty("list")&&e.list.forEach(function(e){e.isMust=e.isMust?1:0}),e.hasOwnProperty("children")&&(e.children.forEach(function(e,t){e.sort=t,e.isMust=e.isMust?1:0,e.memory=e.memory?1:0,e.hasOwnProperty("list")&&e.list.forEach(function(e){e.isMust=e.isMust?1:0}),e.hasOwnProperty("openCapitalize")&&(e.openCapitalize=e.openCapitalize?1:0)}),e.list=e.children)}),!t.length)return this.$message.error({duration:1e3,message:"请先配置字段"}),!1;this.loadingBtn=!0,"save"===e?this.saveAllData(t):this.postPreview(t)}},500),saveAllData:function(e){var t=this,i={status:1,enterpriseId:t.enterpriseId,templateContent:d()(e),title:t.templateObj.title,description:t.templateObj.description,storeType:t.templateObj.storeType,memory:[]};Object(F.d)("/haoban-app-daily-three-web/daily/save-define-template",i).then(function(e){var i=e.data;t.loadingBtn=!1,1!=i.errorCode?L.a.errorMsg(i):M.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},postPreview:function(e){var t=this,i={templateType:1,enterpriseId:t.enterpriseId,templateContent:d()(e)};Object(F.d)("/haoban-app-daily-three-web/daily/preview-template",i).then(function(e){var i=e.data;if(t.loadingBtn=!1,1==i.errorCode){JSON.parse(localStorage.getItem("userInfos")).enterpriseId;var a=window.location.origin+"/office-mobile/#/defineTemplate?enterpriseId="+t.enterpriseId+"&templateId="+i.result;return t.$refs.qrcodePreview.qrcode(a,"daily-preview"),void(t.dialogVisible=!0)}L.a.errorMsg(i)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},closeDialog:function(){this.dialogVisible=!1},getHasStores:function(){var e=this;Object(F.d)("/haoban-app-daily-three-web/daily/has-defined-template-store-type",{enterpriseId:e.enterpriseId}).then(function(t){var i=t.data;1!=i.errorCode?L.a.errorMsg(i):e.storeList.forEach(function(t){i.result&&i.result.length&&i.result.includes(r()(t.id))&&(t.disabled=!0),"edit"==e.oparateType&&e.storeType==t.id&&(t.disabled=!1)})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getAllFields:function(e){var t=this;Object(F.d)("/haoban-app-daily-three-web/daily/get-template-items",{enterpriseId:t.enterpriseId,type:e}).then(function(i){var a=i.data;if(1==a.errorCode)return a.result.forEach(function(t){t.isMust=!!t.isMust,t.memory=!!t.memory,t.title=t.title.trim(),t.hasOwnProperty("openCapitalize")&&(t.openCapitalize=!!t.openCapitalize),t.hasOwnProperty("list")&&t.list&&t.list.length&&t.list.forEach(function(e){e.isMust=!!e.isMust}),t.systemFlag=3!=e,t.name.includes("groupc")&&(t.children=[])}),void(3==e?t.defineInfo=a.result:t.handleAllFields(a.result));L.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleAllFields:function(e){var t=this;e.forEach(function(e){e.fixed=!1,1==e.classify&&(e.parentCode="tradeInfo",t.tradeInfo.push(e)),2==e.classify&&(e.parentCode="personInfo",t.personInfo.push(e)),3==e.classify&&(e.parentCode="goodsInfo",t.goodsInfo.push(e)),4==e.classify&&(e.parentCode="competeInfo",t.competeInfo.push(e))})},getInfo:function(){var e=this;Object(F.d)("/haoban-app-daily-three-web/daily/get-define-template",{templateId:e.templateId}).then(function(t){var i=t.data;if(1==i.errorCode)return e.setList=[],i.result&&(e.templateObj.title=i.result.title,e.templateObj.description=i.result.description,e.storeType="edit"==e.oparateType?String(i.result.storeType):"",e.templateObj.storeType="edit"==e.oparateType?String(i.result.storeType):"",i.result.templateContent&&i.result.templateContent.length&&e.handleGetInfo(i.result.templateContent)),void e.getHasStores();L.a.errorMsg(i)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},treeData:function(e){var t=e.filter(function(t){var i=e.filter(function(e){return t.fieldCode==e.parentCode});return i.length>0&&(t.children=i),0==t.parentCode});return t.sort(function(e,t){return e.sort-t.sort}),t.forEach(function(e,t){e.children.sort(function(e,t){return e.sort-t.sort})}),t},handleGetInfo:function(e){var t=this,i=JSON.parse(d()(e));t.cids=[],t.setParent=[],i.forEach(function(e,i){e.title=e.title.trim(),e.isMust=!!e.isMust,e.memory=!!e.memory,e.name.includes("textc")||e.name.includes("paragraphc")||e.name.includes("numberc")||e.name.includes("checkboxesOrRadioc")||e.name.includes("datec")||e.name.includes("dateareac")||e.name.includes("picc")||e.name.includes("introductionc")||e.name.includes("pricec")||e.name.includes("groupc")?(e.systemFlag=!1,e.parentCode="defineInfo"):(t.setParent.push(e.name),e.systemFlag=!0,1==e.classify&&(e.parentCode="tradeInfo"),2==e.classify&&(e.parentCode="personInfo"),3==e.classify&&(e.parentCode="goodsInfo"),4==e.classify&&(e.parentCode="competeInfo")),e.hasOwnProperty("openCapitalize")&&(e.openCapitalize=!!e.openCapitalize),e.hasOwnProperty("list")&&e.list&&e.list.length&&(e.list.forEach(function(i){(i.isMust=!!i.isMust,e.name.includes("groupc"))&&(i.isMust=!!i.isMust,i.memory=!!i.memory,i.name.includes("textc")||i.name.includes("paragraphc")||i.name.includes("numberc")||i.name.includes("checkboxesOrRadioc")||i.name.includes("datec")||i.name.includes("dateareac")||i.name.includes("picc")||i.name.includes("introductionc")||i.name.includes("pricec")||i.name.includes("groupc")?i.systemFlag=!1:(t.setParent.push(i.name),i.systemFlag=!0,1==i.classify&&(i.parentCode="tradeInfo"),2==i.classify&&(i.parentCode="personInfo"),3==i.classify&&(i.parentCode="goodsInfo"),4==i.classify&&(i.parentCode="competeInfo")))}),e.name.includes("groupc")&&(e.children=e.list)),t.cids.push(r()(e.cid.match(/\d+/g))),e.hasOwnProperty("children")&&e.children.forEach(function(e){e.isMust=!!e.isMust,e.memory=!!e.memory,t.cids.push(r()(e.cid.match(/\d+/g)))})}),t.counter=Math.max.apply(Math,l()(t.cids)),t.tempaletDataList=i,setTimeout(function(){t.setFixed()},500)},setFixed:function(){var e=this;["tradeInfo","personInfo","goodsInfo","competeInfo"].forEach(function(t){e[t].forEach(function(t){e.setParent.includes(t.name)&&(t.fixed=!0)})})}},watch:{isDragging:function(e){var t=this;e?t.delayedDragging=!0:t.$nextTick(function(){t.delayedDragging=!1})},brandId:function(e,t){var i=this;if(e){i.enterpriseId=e,i.counter=1,i.tradeInfo=[],i.personInfo=[],i.goodsInfo=[],i.competeInfo=[],i.defineInfo=[],i.currentChildKey=null,i.currentChildIndex=null,i.childIndex=0,i.currentIndex=0,i.tempaletDataList=[],i.setList=[],i.templateObj={title:"",description:"",storeType:"",momory:[]};var a=i.$route.query;s.a.all([i.getAllFields(2)]).then(function(e){i.getAllFields(3),a.hasOwnProperty("type")&&"copy"==a.type?(i.templateId=a.templateId,i.oparateType=a.type,i.getInfo()):i.getHasStores()}).catch(function(e){console.log(e)})}}},components:{draggable:p.a,AddInput:m.a,limitInput:h.a,imageCom:v.default,selectCom:f.default,dateRangeCom:g.default,inputCom:y.default,blockCom:I.default,qrcodeDialog:_.a,customSet:k},mounted:function(){var e=this;e.$emit("showTab","32"),document.documentElement.style.backgroundColor="#f0f2f5";var t=e.$route.query;s.a.all([e.getAllFields(2)]).then(function(i){e.getAllFields(3),t.hasOwnProperty("templateId")?(e.templateId=t.templateId,e.oparateType=t.type,e.getInfo()):e.getHasStores()}).catch(function(e){console.log(e)}),document.body.ondrop=function(e){e.preventDefault(),e.stopPropagation()}},destroyed:function(){document.documentElement.style.backgroundColor="#fff"}},V={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"template-wrap",staticStyle:{"min-height":"calc(100vh - 114px)"}},[a("div",{staticClass:"template-contain"},[a("div",{staticClass:"template-head"},[a("div",{staticClass:"template-title flex-1"}),e._v(" "),a("div",{staticClass:"template-btns flex-1 flex-r"},[a("el-button",{attrs:{type:"primary",plain:""},on:{click:e.templateSet}},[e._v("模板设置")]),e._v(" "),a("el-button",{attrs:{type:"primary",loading:e.loadingBtn},on:{click:function(t){e.saveAndBack("save")}}},[e._v("保存并启用")])],1)]),e._v(" "),a("div",{staticClass:"template-body"},[a("div",{staticClass:"template-cell template-cell-l"},[a("div",{staticClass:"flex"},[a("div",{class:["template-cell-title font-14 ",1==e.activeTab?"color-3033133":"color-606266"],on:{click:function(t){e.changeTab("1")}}},[e._v("系统字段")]),e._v(" "),a("span",{staticClass:"p-l-15 color-dedfe6"},[e._v("|")]),e._v(" "),a("div",{class:["template-cell-title font-14 ",2==e.activeTab?"color-3033133":"color-606266"],on:{click:function(t){e.changeTab("2")}}},[e._v("自定义字段")])]),e._v(" "),a("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[1==e.activeTab?a("el-tab-pane",{attrs:{label:"交易",name:"first"}},[a("ul",{staticStyle:{"max-width":"450px","min-width":"420px"}},[a("draggable",{staticClass:"compenent",attrs:{id:"list1",list:e.tradeInfo,options:e.leftOption,clone:e.cloneItem,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.tradeInfo,function(t,i){return a("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-name":t.name,"aria-hidden":"true"}},[a("span",[e._v(e._s(t.title))])])}))],1)]):e._e(),e._v(" "),1==e.activeTab?a("el-tab-pane",{attrs:{label:"人员",name:"second"}},[a("ul",{staticStyle:{"max-width":"450px","min-width":"420px"}},[a("draggable",{staticClass:"compenent",attrs:{id:"list2",list:e.personInfo,options:e.leftOption,clone:e.cloneItem,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.personInfo,function(t,i){return a("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-name":t.name}},[a("span",[e._v(e._s(t.title))])])}))],1)]):e._e(),e._v(" "),1==e.activeTab?a("el-tab-pane",{attrs:{label:"商品",name:"third"}},[a("ul",{staticStyle:{"max-width":"450px","min-width":"420px"}},[a("draggable",{staticClass:"compenent",attrs:{id:"list3",list:e.goodsInfo,options:e.leftOption,clone:e.cloneItem,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.goodsInfo,function(t,i){return a("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-name":t.name}},[a("span",[e._v(e._s(t.title))])])}))],1)]):e._e(),e._v(" "),1==e.activeTab?a("el-tab-pane",{attrs:{label:"竞品",name:"four"}},[a("ul",{staticStyle:{"max-width":"450px","min-width":"420px"}},[a("draggable",{staticClass:"compenent",attrs:{id:"list4",list:e.competeInfo,options:e.leftOption,clone:e.cloneItem,move:e.onMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.competeInfo,function(t,i){return a("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":""],attrs:{"data-name":t.name}},[a("span",[e._v(e._s(t.title))])])}))],1)]):e._e(),e._v(" "),2==e.activeTab?a("el-tab-pane",{attrs:{label:"自定义字段",name:"five"}},[a("ul",{staticStyle:{"max-width":"450px","min-width":"420px"}},[a("draggable",{staticClass:"compenent",attrs:{id:"list5",list:e.defineInfo,options:e.leftDefineOption,clone:e.cloneItem,move:e.onChildMove},on:{start:function(t){e.isDragging=!0},end:e.itemMoveEnd}},e._l(e.defineInfo,function(t,i){return a("li",{key:i,class:["compenent-item",1==t.fixed?"fixed-item":"",11==t.type?"block-class":""],attrs:{"data-type":t.fieldCode}},[0==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),1==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),2==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),3==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),4==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),5==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),6==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),7==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),9==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),10==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),11==t.type?a("span",[e._v(e._s(t.title))]):e._e(),e._v(" "),0==t.type?a("i",{staticClass:"bg-icon bg-icon-one"}):e._e(),e._v(" "),1==t.type?a("i",{staticClass:"bg-icon bg-icon-two"}):e._e(),e._v(" "),2==t.type?a("i",{staticClass:"bg-icon bg-icon-three"}):e._e(),e._v(" "),3==t.type?a("i",{staticClass:"bg-icon bg-icon-four"}):e._e(),e._v(" "),4==t.type?a("i",{staticClass:"bg-icon bg-icon-five"}):e._e(),e._v(" "),5==t.type?a("i",{staticClass:"bg-icon bg-icon-six"}):e._e(),e._v(" "),6==t.type?a("i",{staticClass:"bg-icon bg-icon-seven"}):e._e(),e._v(" "),7==t.type?a("i",{staticClass:"bg-icon bg-icon-eight"}):e._e(),e._v(" "),9==t.type?a("i",{staticClass:"bg-icon bg-icon-ten"}):e._e(),e._v(" "),10==t.type?a("i",{staticClass:"bg-icon bg-icon-eleven"}):e._e(),e._v(" "),11==t.type?a("i",{staticClass:"bg-icon bg-icon-twelve"}):e._e()])}))],1)]):e._e()],1)],1),e._v(" "),a("div",{staticClass:"template-cell template-cell-m"},[a("div",{staticClass:"phone-view"},[a("div",{staticClass:"phone-show-content"},[a("div",{staticClass:"drag-show-content"},[a("div",{staticClass:"view-container"},[a("ul",{staticClass:"view-content",attrs:{id:"showPhoneView"}},[0==e.tempaletDataList.length?[a("img",{staticClass:"templet-null-img",attrs:{src:i("Y7wY")}})]:e._e(),e._v(" "),a("draggable",{staticClass:"drag-wrap",attrs:{options:{group:{name:"people",pull:!1,put:!0},sort:!0}},model:{value:e.tempaletDataList,callback:function(t){e.tempaletDataList=t},expression:"tempaletDataList"}},e._l(e.tempaletDataList,function(t,i){return a("li",{key:"li1"+i,class:["filed-item",e.currentIndex==i?"active-item":"","li-block"],on:{click:function(a){e.selectItem(t.fieldCode,i)}}},["baseInfo"!=t.fieldCode?a("span",{staticClass:"item-close p-item-close",on:{click:function(a){a.stopPropagation(),e.deleteItem(t.name,t.parentCode,i,t)}}},[a("i",{staticClass:"el-icon-close"})]):e._e(),e._v(" "),t.systemFlag||!t.name.includes("groupc")?a("div",[1==t.type||2==t.type||3==t.type||10==t.type||9==t.type?a("input-com",{attrs:{childItem:t}}):e._e(),e._v(" "),4==t.type||5==t.type?a("select-com",{attrs:{childItem:t}}):e._e(),e._v(" "),6==t.type?a("date-range-com",{attrs:{childItem:t}}):e._e(),e._v(" "),7==t.type?a("image-com",{attrs:{childItem:t}}):e._e(),e._v(" "),"11"==t.type?a("block-com",{attrs:{childItem:t}}):e._e()],1):e._e(),e._v(" "),[t.name.includes("groupc")?a("div",{staticClass:"block"},[a("div",{staticClass:"block-head"},[a("div",{class:["opencard-item-title",e.getZhLen(t.title)>=6?"title-pre-wrap":""]},[e._v(e._s(t.title))])]),e._v(" "),a("ul",{staticClass:"view-content"},[a("draggable",{class:["drag-wrap","block-wrap",t.fieldCode],attrs:{options:{group:{name:"people",pull:!1,put:!0},sort:!0}},on:{add:e.addDragItem},model:{value:t.children,callback:function(i){e.$set(t,"children",i)},expression:"item.children"}},e._l(t.children,function(s,n){return a("li",{key:"li"+n,class:["filed-item","child-filed-item",e.currentChildKey==s.name&&e.currentChildIndex==n?"active-item":""],on:{click:function(a){a.stopPropagation(),e.selectChildItem(s.name,i,n,t.children)}}},[a("span",{staticClass:"item-close child-item-close",on:{click:function(a){a.stopPropagation(),e.deleteChildItem(s.name,i,n,t.children,s)}}},[a("i",{staticClass:"el-icon-close"})]),e._v(" "),4==s.type||5==s.type?a("select-com",{attrs:{childItem:s}}):e._e(),e._v(" "),6==s.type?a("date-range-com",{attrs:{childItem:s}}):e._e(),e._v(" "),7==s.type?a("image-com",{attrs:{childItem:s}}):e._e(),e._v(" "),1==s.type||2==s.type||3==s.type||10==s.type||9==s.type?a("input-com",{attrs:{childItem:s}}):e._e(),e._v(" "),"11"==s.type&&s.systemFlag?a("block-com",{attrs:{childItem:s}}):e._e()],1)}))],1)]):e._e()]],2)}))],2)])])])])]),e._v(" "),a("div",{staticClass:"template-cell template-cell-r define-template-tab",style:{right:e.rightWidth}},[a("div",{staticClass:"template-cell-title font-14 color-303133"},[e._v("控件设置")]),e._v(" "),a("div",{attrs:{label:"",name:"first"}},[a("div",{attrs:{id:"edit-box"}},[a("div",{staticClass:"edit-view baby-info-flag baby-info"},[e._l(e.tempaletDataList,function(t,i){return[e.currentIndex!=i||t.systemFlag||6==t.type?e._e():[a("div",{key:"child"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[e._v("标题")]),e._v(" "),a("limitInput",{attrs:{inputWidth:300,inputValue:t.title,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t,"title",i)}}}),e._v(" "),7==t.type?a("p",{staticStyle:{"margin-top":"8px","font-size":"12px",color:"rgba(255, 255, 255, 0.7)"}},[e._v("\n 图片最多可添加9张\n ")]):e._e()],1)],e._v(" "),e.currentIndex!=i||t.systemFlag||6!=t.type?e._e():[a("div",{key:"child62"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[e._v("标题 最多10个字")]),e._v(" "),a("limitInput",{attrs:{inputWidth:300,inputValue:t.startTitle,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t,"startTitle",i)}}})],1),e._v(" "),a("div",{key:"child64"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[e._v("标题2 最多10个字")]),e._v(" "),a("limitInput",{attrs:{inputWidth:300,inputValue:t.endTitle,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t,"endTitle",i)}}})],1)],e._v(" "),e.currentIndex!=i||t.systemFlag||11==t.type||5==t.type||7==t.type?e._e():[a("div",{key:"child1"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[e._v("提示文字最多20个字")]),e._v(" "),a("limitInput",{attrs:{inputWidth:300,inputValue:t.placeholder,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){e.$set(t,"placeholder",i)}}}),e._v(" "),2==t.type||9==t.type?a("p",{staticClass:"font-12 m-t-10"},[e._v("内容最多输入500个字,可显示多行内容")]):e._e(),e._v(" "),1==t.type?a("p",{staticClass:"font-12 m-t-10"},[e._v("内容最多输入100个字,仅可显示一行内容")]):e._e()],1)],e._v(" "),e.currentIndex!=i||t.systemFlag||3!=t.type?e._e():[a("div",{key:"child11"+i,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[e._v("单位最多20个字")]),e._v(" "),a("limitInput",{attrs:{inputWidth:300,inputValue:t.placeholder,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){e.$set(t,"placeholder",i)}}}),e._v(" "),a("p",{staticClass:"font-12 m-t-10"},[e._v("内容最大限制为12位数")])],1)],e._v(" "),e.currentIndex!=i||t.systemFlag||"4"!=t.type?e._e():[a("div",{key:"child111"+i,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[e._v("选项 "),t.systemFlag?e._e():a("span",[e._v("最多20项,每项最多10个字")])]),e._v(" "),e._l(t.list,function(s,n){return[a("div",{key:"child10"+n,staticClass:"margin-t-15 limit-w-340",style:0==n?"margin-top: 0":""},[a("limitInput",{attrs:{inputWidth:300,inputValue:s.value,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(t){e.$set(s,"value",t)}}}),e._v(" "),!t.systemFlag&&t.list.length>1?a("i",{staticClass:"opt-btn el-icon-remove del-item",on:{click:function(a){e.delChildItem(i,n,t)}}}):e._e(),e._v(" "),!t.systemFlag&&n<19?[n==t.list.length-1?a("i",{staticClass:"opt-btn el-icon-circle-plus add-item",on:{click:function(a){e.addChildItem(i,n,t)}}}):e._e()]:e._e()],2)]})],2),e._v(" "),a("div",{key:"parent22"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[e._v("选择框类型")]),e._v(" "),a("div",[a("el-radio",{attrs:{label:0},model:{value:t.chooseType,callback:function(i){e.$set(t,"chooseType",i)},expression:"item.chooseType"}},[e._v("单选")]),e._v(" "),a("el-radio",{attrs:{label:1},model:{value:t.chooseType,callback:function(i){e.$set(t,"chooseType",i)},expression:"item.chooseType"}},[e._v("多选")])],1)])],e._v(" "),e.currentIndex!=i||t.systemFlag||5!=t.type&&6!=t.type?e._e():[a("div",{key:"child117"+i,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[e._v("日期类型")]),e._v(" "),a("el-radio",{attrs:{label:1},model:{value:t.dateType,callback:function(i){e.$set(t,"dateType",i)},expression:"item.dateType"}},[e._v("\n 年-月-日 时 分\n ")]),e._v(" "),a("el-radio",{attrs:{label:0},model:{value:t.dateType,callback:function(i){e.$set(t,"dateType",i)},expression:"item.dateType"}},[e._v("\n 年-月-日\n ")])],1)],e._v(" "),e.currentIndex!=i||t.systemFlag||10!=t.type?e._e():[a("div",{key:"parent210"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[e._v("大写")]),e._v(" "),a("el-checkbox",{model:{value:t.openCapitalize,callback:function(i){e.$set(t,"openCapitalize",i)},expression:"item.openCapitalize"}},[e._v("显示大写")])],1)],e._v(" "),e.currentIndex!=i||t.name.includes("groupc")?e._e():[a("div",{key:"parent2"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[e._v("验证")]),e._v(" "),a("el-checkbox",{on:{change:function(i){e.changeMust(i,!!t.list,t)}},model:{value:t.isMust,callback:function(i){e.$set(t,"isMust",i)},expression:"item.isMust"}},[e._v("必填")])],1)],e._v(" "),e.currentIndex!=i||"performanceKing"!=t.name&&"competitorInfo"!=t.name?e._e():[a("div",{key:"parent21"+i,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[e._v("验证 是否必填")]),e._v(" "),a("div",{staticClass:"must-list"},e._l(t.list,function(t,i){return a("div",{key:"list"+i,staticClass:"must-list-cell m-b-10"},[a("el-checkbox",{model:{value:t.isMust,callback:function(i){e.$set(t,"isMust",i)},expression:"listItem.isMust"}},[e._v(e._s(t.title))])],1)}))])],e._v(" "),e.currentIndex!=i||t.name.includes("groupc")?e._e():[a("div",{key:"parent3"+i,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title edit-title-padding"},[e._v("记忆")]),e._v(" "),a("el-checkbox",{model:{value:t.memory,callback:function(i){e.$set(t,"memory",i)},expression:"item.memory"}},[e._v("是否记忆")])],1)],e._v(" "),e.childIndex==i&&t.children&&t.children.length?[e._l(t.children,function(t,s){return[e.currentChildIndex!=s||t.systemFlag||6==t.type?e._e():[a("div",{key:"child"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[e._v("标题")]),e._v(" "),a("limitInput",{attrs:{inputWidth:300,inputValue:t.title,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t,"title",i)}}}),e._v(" "),7==t.type?a("p",{staticStyle:{"margin-top":"8px","font-size":"12px",color:"rgba(255, 255, 255, 0.7)"}},[e._v("\n 图片最多可添加9张\n ")]):e._e()],1)],e._v(" "),e.currentChildIndex!=s||t.systemFlag||6!=t.type?e._e():[a("div",{key:"child2"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[e._v("标题 最多10个字")]),e._v(" "),a("limitInput",{attrs:{inputWidth:300,inputValue:t.startTitle,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t,"startTitle",i)}}})],1),e._v(" "),a("div",{key:"child4"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[e._v("标题2 最多10个字")]),e._v(" "),a("limitInput",{attrs:{inputWidth:300,inputValue:t.endTitle,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(i){e.$set(t,"endTitle",i)}}})],1)],e._v(" "),e.currentChildIndex!=s||t.systemFlag||5==t.type||7==t.type?e._e():[a("div",{key:"child1"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[e._v("提示文字最多20个字")]),e._v(" "),a("limitInput",{attrs:{inputWidth:300,inputValue:t.placeholder,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){e.$set(t,"placeholder",i)}}}),e._v(" "),2==t.type||9==t.type?a("p",{staticClass:"font-12 m-t-10"},[e._v("内容最多输入500个字,可显示多行内容")]):e._e(),e._v(" "),1==t.type?a("p",{staticClass:"font-12 m-t-10"},[e._v("内容最多输入100个字,仅可显示一行内容")]):e._e()],1)],e._v(" "),e.currentChildIndex!=s||t.systemFlag||3!=t.type?e._e():[a("div",{key:"child6"+s,staticClass:"edit-item test-title limit-w-340"},[a("div",{staticClass:"edit-item-title"},[e._v("单位最多20个字")]),e._v(" "),a("limitInput",{attrs:{inputWidth:300,inputValue:t.unit,holder:"",disflag:!1,getByType:"word",maxLength:20},on:{"update:inputValue":function(i){e.$set(t,"unit",i)}}}),e._v(" "),a("p",{staticClass:"font-12 m-t-10"},[e._v("内容最大限制为12位数")])],1)],e._v(" "),e.currentChildIndex!=s||t.systemFlag||5!=t.type&&6!=t.type?e._e():[a("div",{key:"child7"+s,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[e._v("日期类型")]),e._v(" "),a("el-radio",{attrs:{label:1},model:{value:t.dateType,callback:function(i){e.$set(t,"dateType",i)},expression:"childItem.dateType"}},[e._v("\n 年-月-日 时 分\n ")]),e._v(" "),a("el-radio",{attrs:{label:0},model:{value:t.dateType,callback:function(i){e.$set(t,"dateType",i)},expression:"childItem.dateType"}},[e._v("\n 年-月-日\n ")])],1)],e._v(" "),e.currentChildIndex!=s||t.systemFlag||"4"!=t.type?e._e():[a("div",{key:"child9"+s,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title"},[e._v("选项 "),t.systemFlag?e._e():a("span",[e._v("最多20项,每项最多10个字")])]),e._v(" "),e._l(t.list,function(s,n){return[a("div",{key:"child10"+n,staticClass:"margin-t-15 limit-w-340",style:0==n?"margin-top: 0":""},[a("limitInput",{attrs:{inputWidth:300,inputValue:s.value,holder:"",disflag:t.systemFlag,getByType:"word",maxLength:10},on:{"update:inputValue":function(t){e.$set(s,"value",t)}}}),e._v(" "),!t.systemFlag&&t.list.length>1?a("i",{staticClass:"opt-btn el-icon-remove del-item",on:{click:function(a){e.delChildItem(i,n,t)}}}):e._e(),e._v(" "),!t.systemFlag&&n<19?[n==t.list.length-1?a("i",{staticClass:"opt-btn el-icon-circle-plus add-item",on:{click:function(a){e.addChildItem(i,n,t)}}}):e._e()]:e._e()],2)]})],2),e._v(" "),a("div",{key:"child922"+s,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[e._v("选择框类型")]),e._v(" "),a("div",[a("el-radio",{attrs:{label:0},model:{value:t.chooseType,callback:function(i){e.$set(t,"chooseType",i)},expression:"childItem.chooseType"}},[e._v("单选")]),e._v(" "),a("el-radio",{attrs:{label:1},model:{value:t.chooseType,callback:function(i){e.$set(t,"chooseType",i)},expression:"childItem.chooseType"}},[e._v("多选")])],1)])],e._v(" "),e.currentChildIndex!=s||t.systemFlag||10!=t.type?e._e():[a("div",{key:"child910"+s,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[e._v("大写")]),e._v(" "),a("el-checkbox",{model:{value:t.openCapitalize,callback:function(i){e.$set(t,"openCapitalize",i)},expression:"childItem.openCapitalize"}},[e._v("显示大写")])],1)],e._v(" "),e.currentChildIndex==s?[a("div",{key:"child11"+s,staticClass:"edit-item"},[a("div",{staticClass:"edit-item-title"},[e._v("验证")]),e._v(" "),a("el-checkbox",{on:{change:function(i){e.changeMust(i,!!t.list,t)}},model:{value:t.isMust,callback:function(i){e.$set(t,"isMust",i)},expression:"childItem.isMust"}},[e._v("必填")])],1)]:e._e(),e._v(" "),e.currentChildIndex!=s||"performanceKing"!=t.name&&"competitorInfo"!=t.name?e._e():[a("div",{key:"child111"+s,staticClass:"edit-item m-b-10"},[a("div",{staticClass:"edit-item-title edit-title-padding"},[e._v("验证 是否必填")]),e._v(" "),a("div",{staticClass:"must-list"},e._l(t.list,function(t,i){return a("div",{key:"list111"+i,staticClass:"must-list-cell m-b-10"},[a("el-checkbox",{model:{value:t.isMust,callback:function(i){e.$set(t,"isMust",i)},expression:"listItem.isMust"}},[e._v(e._s(t.title))])],1)}))])],e._v(" "),e.currentChildIndex==s?[a("div",{key:"child12"+s,staticClass:"edit-item "},[a("div",{staticClass:"edit-item-title edit-title-padding"},[e._v("记忆")]),e._v(" "),a("el-checkbox",{model:{value:t.memory,callback:function(i){e.$set(t,"memory",i)},expression:"childItem.memory"}},[e._v("是否记忆")])],1)]:e._e()]})]:e._e()]})],2)])])])])]),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}}),e._v(" "),e.setVisible?a("custom-set",{attrs:{templateObj:e.templateObj,storeList:e.storeList},on:{closeSet:e.closeSet}}):e._e()],1)},staticRenderFns:[]};var j=i("VU/8")(T,V,!1,function(e){i("5mtM")},"data-v-1c2b2cc1",null);t.default=j.exports},NLRX:function(e,t){},O3gZ:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",e.childItem.title.length>=6?"title-pre-wrap":""]},[e._v(e._s(e.childItem.title))])]),e._v(" "),i("ul",{staticClass:"view-content"},e._l(e.childItem.list,function(t,a){return i("li",{key:"performance"+a,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",t.title.length>=6?"title-pre-wrap":""]},[e._v(e._s(t.title))]),e._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[e._v(e._s(t.placeholder)+" "+e._s(t.isMust?"(必填)":""))])])])})),e._v(" "),"competitorInfo"==e.childItem.name?i("div",{staticClass:"compete-add"},[e._v("\n +竞品信息\n ")]):e._e()])},staticRenderFns:[]};var n=i("VU/8")(a,s,!1,function(e){i("3enc")},"data-v-37812d44",null);t.default=n.exports},TAsB:function(e,t){},Y7wY:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPkAAACRCAIAAACOionwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vb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vQjrnAe2hkbZm/ZKvXNDICBArU2S4eiEN7WucDNw4NDZpsW4EaEGCCx/amyBiUi64pghu2JTVtv/5ygxE7cejQQSvkPnf3vUZl2+km/uPxOIzCzwyFD7/6tX9DfNM0OdMi+f8asN7IaOE2j5yJeNBWGk/ZZgvX2wOXpBOb6RNW3EeXSUX4xo1v8ifmtpOQIrzMHVl45MRdE5b8pLeGKIi9rZYxwz1Vtni2CaZJINydm1qo+OEd8FgqWJmbqtphXoEnr25LjuIVs63BdVsx9lGc8GPRyNSeurMwLH7uKW+gFTEn+G7J5GMU/qc8/KEoF+2M+ZMb+e9yXPIjjT7ELVDgdknbmzT+nJ7rgpB90OfXBXFdEMR1QRDXBUFcFwRxXRDEdUF4LfEnAQYA+LOKDxiFWhsAAAAASUVORK5CYII="},cIT2:function(e,t){},rYZf:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"select-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(e){for(var t=0,i=0;i<e.length;i++){null!=e.charAt(i).match(/[^\x00-\xff]/gi)?t+=1:t+=.5}return Math.ceil(t)}}},s={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"flex"},[i("div",{class:["opencard-item-title",e.getZhLen(e.childItem.title)>=6?"title-pre-wrap":""]},[e._v(e._s(e.childItem.title))]),e._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e._v(e._s(e.childItem.placeholder)+" "+e._s(e.childItem.isMust?"(必填)":"")+" "),i("i",{staticClass:"el-icon-arrow-right"})])])])},staticRenderFns:[]};var n=i("VU/8")(a,s,!1,function(e){i("19rn")},"data-v-0be1d8d5",null);t.default=n.exports},zHtI:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"input-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(e){for(var t=0,i=0;i<e.length;i++){null!=e.charAt(i).match(/[^\x00-\xff]/gi)?t+=1:t+=.5}return Math.ceil(t)}}},s={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{class:[2==e.childItem.type?"h-66":""]},[9!=e.childItem.type?i("div",{class:["opencard-item-title",e.getZhLen(e.childItem.title)>=6?"title-pre-wrap":""]},[e._v(e._s(e.childItem.title))]):e._e(),e._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag",style:{"padding-left":9==e.childItem.type?"15px":"0"}},[e._v(e._s(e.childItem.placeholder)+" "+e._s(e.childItem.isMust?"(必填)":""))])]),e._v(" "),10==e.childItem.type&&e.childItem.openCapitalize?i("div",{staticClass:"show-capitalize font-12 color-909399 p-l-10 border-box"},[e._v("大写:壹万元整(示例)")]):e._e()])},staticRenderFns:[]};var n=i("VU/8")(a,s,!1,function(e){i("TAsB")},"data-v-693eda01",null);t.default=n.exports},zRCp:function(e,t){}});
\ No newline at end of file
webpackJsonp([30],{"8yap":function(e,t){},CkoI:function(e,t){},vIlm:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("l46T"),r=a("PI0u"),n=a("P9l9"),l=a("Ch4/"),s={props:{brandId:{type:Object,default:function(){return""}}},components:{limitInput:o.a},data:function(){return{editPersion:localStorage.getItem("userInfos")&&JSON.parse(localStorage.getItem("userInfos")).staffDTO?JSON.parse(localStorage.getItem("userInfos")).staffDTO.staffName:"",wxEnterpriseRelatedId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",loading:!1,dialogVisible:!0,tableData:[],searchInput:"",multipleSelection:[],currentPage:1,pageSize:20,total:0}},methods:{handleSelectionChange:function(e){this.multipleSelection=e},toInput:Object(r.a)(function(e,t){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},toCancel:function(){this.$emit("closeGroup"),this.$refs.multipleTable.clearSelection()},handleClose:function(e){this.$emit("closeGroup"),this.$refs.multipleTable.clearSelection()},submitForm:Object(r.a)(function(e){this.$emit("submitGroup",this.multipleSelection)},300),handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(){var e=this;e.loading=!0;var t={memberGroupName:e.searchInput||"",pageNum:e.currentPage,pageSize:e.pageSize,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId,enterpriseId:e.brandId};Object(n.d)("/haoban-app-customer-web/memberGroup/member-tag-group-list",t).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;l.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.getTableList()}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:"选择分组",visible:e.dialogVisible,width:"833px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{},[a("div",{staticClass:"search-top m-b-20"},[a("el-input",{staticClass:"w-280",attrs:{placeholder:"请输入分组名称搜索",maxlength:"50","prefix-icon":"el-icon-search",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchInput);var a}},model:{value:e.searchInput,callback:function(t){e.searchInput=t},expression:"searchInput"}})],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%"},attrs:{data:e.tableData,height:"450","tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),a("el-table-column",{attrs:{label:"分组名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.groupName||"--")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"分类"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.memberTagGroupClassifyName||"--")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"是否实时","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(1==t.row.isRealTime?"是":"否"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"更新频率","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(1==t.row.updateType?"每日":2==t.row.updateType?"每周":3==t.row.updateType?"每月":"-")+" "+e._s(1==t.row.updateType?"一次":2==t.row.updateType?"周"+t.row.updateDay:3==t.row.updateType?t.row.updateDay+"号":"-")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"状态","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s("1"==t.row.effectiveStatus?"有效":"失效"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"覆盖人数","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.memberCount||0)+"人")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"到期时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.effectiveDate)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.effectiveDate)))])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.toCancel}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("确定")])],1)])},staticRenderFns:[]};var u=a("VU/8")(s,i,!1,function(e){a("8yap")},"data-v-76f0b8f5",null).exports,p=a("3E4D"),c={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",editPerson:localStorage.getItem("userInfos")&&JSON.parse(localStorage.getItem("userInfos")).staffDTO?JSON.parse(localStorage.getItem("userInfos")).staffDTO.staffName:"",formData:{templateId:"",templateName:"",groupIds:[]},rules:{templateName:[{required:!0,message:"请输入模板名称",trigger:"blur"}],groupIds:[{type:"array",required:!0,message:"请选择门店分组",trigger:"change"}]},tableData:[],activeId:"1",loading:!1,multipleSelection:[],currentPage:1,pageSize:20,total:0,groupShow:!1,loadingBtn:!1}},methods:{submitForm:Object(r.a)(function(e){var t=this;t.loadingBtn=!0,t.tableData.length&&(t.formData.groupIds=t.tableData.map(function(e){return e.memberTagGroupId})),t.$refs[e].validate(function(e){e?t.postSave():t.loadingBtn=!1})},300),postSave:function(){var e=this,t={templateId:e.formData.templateId,templateName:e.formData.templateName,groupIds:e.tableData.map(function(e){return e.memberTagGroupId}).join(","),editPerson:e.editPerson,enterpriseId:e.brandId};Object(n.d)("/haoban-app-customer-web/save-group-template",t).then(function(t){var a=t.data;e.loadingBtn=!1,1==a.errorCode&&(p.a.showmsg("操作成功","success"),e.$router.push("/memberGroupSet?tabName=second")),l.a.errorMsg(a)}).catch(function(t){e.loadingBtn=!1,e.$message.error({duration:1e3,message:t.message})})},delRow:function(e,t){var a=this;a.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.tableData.splice(e,1),a.tableData.length&&(a.formData.groupIds=a.tableData.map(function(e){return e.memberTagGroupId}))}).catch(function(){})},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;var e=this.multipleSelection.map(function(e){return e.memberTagGroupId}),t=[];this.tableData.forEach(function(a){-1==e.indexOf(a.memberTagGroupId)&&t.push(a)}),this.tableData=t,this.tableData.length&&(this.formData.groupIds=this.tableData.map(function(e){return e.memberTagGroupId}))},handleSelectionChange:function(e){this.multipleSelection=e},showGroup:function(){this.groupShow=!0},closeGroup:function(){this.groupShow=!1},submitGroup:function(e){var t=this;t.groupShow=!1;var a=t.tableData.map(function(e){return e.memberTagGroupId});e.forEach(function(e){-1==a.indexOf(e.memberTagGroupId)&&t.tableData.push(e)}),t.formData.groupIds=t.tableData.map(function(e){return e.memberTagGroupId}),t.$refs.ruleForm.validate(function(e){})},getTemplateSet:function(e){var t=this,a={templateId:t.$route.query.templateId,enterpriseId:t.brandId};Object(n.d)("/haoban-app-customer-web/get-template-detail",a).then(function(e){var a=e.data;1!=a.errorCode?l.a.errorMsg(a):a.result&&(a.result.template.groupIds=a.result.groupList.map(function(e){return e.memberTagGroupId})||[],t.formData=a.result.template,t.tableData=a.result.groupList||[],a.result.template.enterpriseId!=t.brandId&&(t.formData={templateId:"",templateName:"",groupIds:[]},t.tableData=[]))}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&this.$route.query.templateId&&this.getTemplateSet(this.brandId)}},mounted:function(){this.$emit("showTab","12"),this.brandId&&this.$route.query.templateId&&this.getTemplateSet(this.brandId)},components:{selectGroup:u,limitInput:o.a}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.formData,rules:e.rules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"模板名称",prop:"templateName"}},[a("limitInput",{attrs:{inputWidth:340,inputValue:e.formData.templateName,getByType:"word",holder:"请输入模板名称",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.formData,"templateName",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"选择分组",prop:"groupIds"}},[a("div",{staticClass:"flex flex-space-between"},[a("el-button",{attrs:{type:"primary"},on:{click:e.showGroup}},[e._v("选择分组")]),e._v(" "),a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量移除")])],1),e._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{"max-height":"400",data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),a("el-table-column",{attrs:{label:"分组名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.groupName||"--")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"分类"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.memberTagGroupClassifyName||"--")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"是否实时","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(1==t.row.isRealTime?"是":"否"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"更新频率","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(1==t.row.updateType?"每日":2==t.row.updateType?"每周":3==t.row.updateType?"每月":"-")+" "+e._s(1==t.row.updateType?"一次":2==t.row.updateType?"周"+t.row.updateDay:3==t.row.updateType?t.row.updateDay+"号":"-")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"状态","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s("1"==t.row.effectiveStatus?"有效":"失效"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"覆盖人数","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.memberCount||0)+"人")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"到期时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.effectiveDate)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.effectiveDate)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.delRow(t.$index,t.row)}}},[e._v("移除")])]}}])})],1)],1)]),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",loading:e.loadingBtn},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("保存")])],1)],1)],1),e._v(" "),e.groupShow?a("select-group",{attrs:{brandId:e.brandId},on:{closeGroup:e.closeGroup,submitGroup:e.submitGroup}}):e._e()],1)},staticRenderFns:[]};var m=a("VU/8")(c,d,!1,function(e){a("CkoI")},"data-v-0c91b99a",null);t.default=m.exports}});
\ No newline at end of file
webpackJsonp([31],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var c=i("VU/8")(n,r,!1,function(t){i("tUpn")},"data-v-0c86e9f2",null);s.default=c.exports},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"},tUpn:function(t,s){}});
\ No newline at end of file
webpackJsonp([32],{"6XGN":function(M,L,j){"use strict";Object.defineProperty(L,"__esModule",{value:!0});var N=j("CkW6"),u=j.n(N),w={name:"page403",data:function(){return{img_403:u.a}},computed:{message:function(){return"抱歉,你无权访问该页面"}}},D={render:function(){var M=this.$createElement,L=this._self._c||M;return L("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[L("div",{staticClass:"wscn-http404"},[L("div",{staticClass:"pic-404"},[L("img",{staticClass:"pic-404__parent",attrs:{src:this.img_403,alt:"403"}})]),this._v(" "),L("div",{staticClass:"bullshit"},[L("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),L("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var C=j("VU/8")(w,D,!1,function(M){j("k2Af")},"data-v-0c78d271",null);L.default=C.exports},CkW6:function(M,L){M.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i5Zu+5bGCXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgNDAwIDMzNSIgc3R5bGU9ImVuYWJsZ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xLjNjMCwwLjctMC42LDEuMy0xLjMsMS4zaC04LjFjLTAuNywwLjEtMS40LTAuNS0xLjQtMS4zDQoJYy0wLjEtMC43LDAuNS0xLjQsMS4zLTEuNEMxOTcsMjcyLjcsMTk3LjEsMjcyLjcsMTk3LjEsMjcyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0yODQuNCwyNjQuNmg4LjFjMC43LDAsMS4zLDAuNiwxLjMsMS4zbDAsMGMwLDAuNy0wLjYsMS4zLTEuMywxLjNoLTguMWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zDQoJQzI4MywyNjUuMywyODMuNiwyNjQuNiwyODQuNCwyNjQuNiIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTk5LjIsMjY0LjZoMTcxLjdjMC40LDAsMC43LDAuMSwwLjksMC40YzAuNCwwLjQsMC41LDEsMC4zLDEuNWMtMC4yLDAuNS0wLjcsMC44LTEuMiwwLjhIOTkuMQ0KCWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zQzk3LjgsMjY1LjMsOTguNCwyNjQuNiw5OS4yLDI2NC42Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjM1LDk1Ljh2OC4xYzAsMC43LTAuNiwxLjMtMS4zLDEuM3MtMS4zLTAuNi0xLjMtMS4zdi04LjFjMC0wLjcsMC42LTEuMywxLjMtMS40QzIzNC40LDk0LjQsMjM1LDk1LDIzNSw5NS44Ig0KCS8+DQo8L3N2Zz4NCg=="},k2Af:function(M,L){}});
\ No newline at end of file
webpackJsonp([33],{AG22:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("2eFk"),i=e("Ch4/"),r=e("P9l9"),c={name:"common-app-top",props:{appName:{type:String,default:function(){return""}},appIcon:{type:String,default:function(){return""}}},data:function(){return{projectName:"",activeBrand:"",brandListData:[]}},methods:{returnBack:function(){this.$router.push("appcenter")},changeSelect:function(t){var a="";this.brandListData.forEach(function(e){e.brandId==t&&(a=e.groupId)}),this.$emit("selectBrandId",t,a)},getBrandData:function(){var t=this;Object(r.d)("/haoban-manage-web/application-brand-list",{}).then(function(a){var e=a.data;if(1!=e.errorCode)i.a.errorMsg(e);else if(e.result&&e.result.length){if(t.brandListData=e.result,t.$route.query.brandId)return t.activeBrand=t.$route.query.brandId,t.$emit("selectBrandId",t.$route.query.brandId),!1;t.activeBrand=t.brandListData[0].brandId,t.$emit("selectBrandId",t.brandListData[0].brandId,t.brandListData[0].groupId)}}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})}},watch:{brandId:function(t,a){this.getBrandData()}},mounted:function(){this.getBrandData()}},o={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"app-top-wrap app-detail-wrap"},[e("div",{staticClass:"my-customer-top"},[e("div",{staticClass:"my-customer-name"},[e("span",{staticClass:"app-icon "},[e("img",{attrs:{src:t.appIcon}})]),e("span",{staticClass:"p-l-8"},[t._v(t._s(t.appName))])]),t._v(" "),e("el-button",{staticClass:"border-radius-18 my-customer-return",on:{click:t.returnBack}},[t._v("返回")]),t._v(" "),"/workSet"!=t.$route.path&&"/workGroupSet"!=t.$route.path&&"/dayStatistics"!=t.$route.path&&"/workGroupSet"!=t.$route.path&&"/dayStatistics"!=t.$route.path&&"/workTimeManage"!=t.$route.path?e("div",{staticClass:"my-customer-brand"},[e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"不同品牌的工作台可分别进行管理。点击后切换,可以管理不同品牌下的应用",placement:"top-start"}},[e("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer"}},[t._v("品牌名称"),e("span",{staticClass:"el-icon-info font-12 color-909399 p-l-6"})])]),t._v(" "),e("el-select",{staticClass:"p-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeSelect},model:{value:t.activeBrand,callback:function(a){t.activeBrand=a},expression:"activeBrand"}},t._l(t.brandListData,function(t){return e("el-option",{key:t.brandId,attrs:{label:t.name,value:t.brandId}})}))],1):t._e()],1)])},staticRenderFns:[]};var s=e("VU/8")(c,o,!1,function(t){e("XlR3")},"data-v-03c7c47e",null).exports,d=e("Qie6"),u={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"不良评价",appIcon:"icon-ribao",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"不良评价回访记录",icon:"icon-badreviewstatistics",onlyIconActive:!1}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("badEvaluateRecord");break;case"2":this.changeRoute("badEvaluateSet")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:n.a,commonAppTop:s,commonDetailLeft:d.a}},l={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("div",{staticClass:"right-content"},[e("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[e("div",{staticClass:"apps-content flex",style:{height:t.bgHeight}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])],1),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var p=e("VU/8")(u,l,!1,function(t){e("HdSJ")},"data-v-20584f42",null);a.default=p.exports},HdSJ:function(t,a){},XlR3:function(t,a){}});
\ No newline at end of file
webpackJsonp([34],{ADZB:function(t,a){},FmZU:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("bzW+"),i=e("Qie6"),c=e("Z8ln"),o=e("Ch4/"),s=e("P9l9"),r={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-288+"px",appName:"话务任务",activeSelTab:"11",activeTab:"11",navpath:[{name:"首页",path:"/index"},{name:"话务任务",path:""}],tabListData:[{tabId:"1",tabName:"话务任务记录",icon:"iconhuawushuju",onlyIconActive:!1,children:[{tabId:"11",tabName:"门店视图",icon:""},{tabId:"12",tabName:"话务任务视图",icon:""}]},{tabId:"3",tabName:"会话任务列表",icon:"iconhuihuajinglingicon-"},{tabId:"2",tabName:"任务设置",icon:"iconbuliangpingjiashezhi",onlyIconActive:!1,children:[{tabId:"21",tabName:"话务任务设置",icon:""},{tabId:"22",tabName:"会话任务设置",icon:""},{tabId:"23",tabName:"不良评价回访设置",icon:""}]}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,a={enterpriseId:t.activeBrand};Object(s.a)("/haoban-manage3-web/enterprise-is-over",a).then(function(a){var e=a.data;1!=e.errorCode?o.a.errorMsg(e):t.expiredFlag=e.result}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":case"11":this.changeRoute("taskRecord");break;case"12":this.changeRoute("taskView");break;case"2":case"21":this.changeRoute("trafficTaskSet");break;case"22":this.changeRoute("taskSessionSet");break;case"23":this.changeRoute("badEvaluateSet");break;case"3":this.changeRoute("taskList")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})},changeNavShow:function(t){"/taskViewDetail"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"话务任务",path:"/taskView"},{name:"话务任务视图详情",path:""}]:"/newSession"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"话务任务",path:"/taskView"},{name:"会话任务列表",path:"/taskList"},{name:this.$route.query.repairId?"编辑会话任务":"新建会话任务",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"话务任务",path:""}]}},watch:{$route:{handler:function(t,a){this.changeNavShow(t)},deep:!0},activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a,expiredDialog:c.a}},h={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content border-box"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right border-box"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?e("expired-dialog"):t._e()],1)},staticRenderFns:[]};var d=e("VU/8")(r,h,!1,function(t){e("ADZB")},"data-v-f814a0b4",null);a.default=d.exports}});
\ No newline at end of file
webpackJsonp([35],{HAcq:function(t,e){},OUXi:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("PI0u"),i=s("Ch4/"),l=s("3E4D"),n=s("P9l9"),o={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeId:"1",activeBrand:this.brandId,options:[{label:"普通电话",value:1},{label:"双向透传",value:2}],setObj:{taskCallType:1,taskType:1,overDayJudge:"",distributeTypeJudge:"",posDistributeJudge:"",giveUpJudge:"",relaxTaskJudge:!1},loadingBtn:!1}},computed:{},methods:{saveSet:Object(a.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e={taskCallType:t.setObj.taskCallType,enterpriseId:t.activeBrand,taskType:1,overDayJudge:t.setObj.overDayJudge,giveUpJudge:t.setObj.giveUpJudge,distributeTypeJudge:t.setObj.distributeTypeJudge,posDistributeJudge:t.setObj.posDistributeJudge,relaxTaskJudge:t.setObj.relaxTaskJudge?1:0};Object(n.d)("/haoban-app-tel-task-three-web/setting/save-task-setting",e).then(function(e){var s=e.data;t.loadingBtn=!1,1!=s.errorCode?i.a.errorMsg(s):l.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,taskType:1};Object(n.d)("/haoban-app-tel-task-three-web/setting/find-task-setting",e).then(function(e){var s=e.data;if(1==s.errorCode)return s.result.relaxTaskJudge=1==s.result.relaxTaskJudge,void(t.setObj=s.result);i.a.errorMsg(s)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","21"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},r={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-detail-wrap"},[s("div",{staticClass:"task-set-content boder-box"},[s("div",{staticClass:"task-set-cell"},[s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("话务任务拨打:")]),s("el-select",{staticClass:"w-240",attrs:{placeholder:"请选择"},on:{change:t.changeSelect},model:{value:t.setObj.taskCallType,callback:function(e){t.$set(t.setObj,"taskCallType",e)},expression:"setObj.taskCallType"}},t._l(t.options,function(t){return s("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),2==t.setObj.taskCallType?s("span",{staticClass:"font-14 color-909399 p-l-10 set-long-tip"},[t._v("第三方双向呼叫及透传(透传功能暂无法使用,外呼显示号码为固定电话),可监控通话状态。呼叫结算及通话记录存储于GIC计费中心。")]):t._e(),t._v(" "),1==t.setObj.taskCallType?s("span",{staticClass:"font-14 color-909399 p-l-10"},[t._v("导购手机呼叫,无法监控通话状态。呼叫结算费用由导购手机自费。")]):t._e()],1),t._v(" "),s("div",{staticClass:"set-line-item font-0"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("话务任务下发:")]),t._v(" "),s("div",{staticClass:"inline-block vertical-top"},[s("table",{staticClass:"font-14"},[s("tbody",[s("tr",{staticClass:"el-table__row"},[t._m(0),t._v(" "),s("td",{staticClass:"el-table_3_column_8 ",attrs:{rowspan:"1",colspan:"1"}},[s("div",{staticClass:"cell"},[s("el-radio",{attrs:{label:0},model:{value:t.setObj.distributeTypeJudge,callback:function(e){t.$set(t.setObj,"distributeTypeJudge",e)},expression:"setObj.distributeTypeJudge"}},[t._v("分配给主门店店长")]),t._v(" "),s("el-radio",{attrs:{label:1},model:{value:t.setObj.distributeTypeJudge,callback:function(e){t.$set(t.setObj,"distributeTypeJudge",e)},expression:"setObj.distributeTypeJudge"}},[t._v("分配给专属导购")])],1)])]),t._v(" "),s("tr",{staticClass:"el-table__row"},[t._m(1),t._v(" "),s("td",{staticClass:"el-table_3_column_8 ",attrs:{rowspan:"1",colspan:"1"}},[s("div",{staticClass:"cell"},[s("el-radio",{attrs:{label:0},model:{value:t.setObj.posDistributeJudge,callback:function(e){t.$set(t.setObj,"posDistributeJudge",e)},expression:"setObj.posDistributeJudge"}},[t._v("分配给主门店店长")]),t._v(" "),s("el-radio",{attrs:{label:1},model:{value:t.setObj.posDistributeJudge,callback:function(e){t.$set(t.setObj,"posDistributeJudge",e)},expression:"setObj.posDistributeJudge"}},[t._v("分配给专属导购")])],1)])])])])])]),t._v(" "),2==t.setObj.taskCallType?s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("话务任务条件:")]),s("span",{staticClass:"font-14 color-606266"},[t._v("话务任务下发后 ")]),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.giveUpJudge,callback:function(e){t.$set(t.setObj,"giveUpJudge",e)},expression:"setObj.giveUpJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("次")]),t._v(" "),s("span",{staticClass:"font-14 color-606266"},[t._v("呼叫后无响应,导购可放弃该条话务任务")])],1):t._e(),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"}),t._v(" "),s("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.saveSet}},[t._v("保存")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("td",{staticClass:"el-table_3_column_7 ",attrs:{rowspan:"1",colspan:"1"}},[e("div",{staticClass:"font-14 color-303133"},[this._v("微信会员")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("td",{staticClass:"el-table_3_column_7 ",attrs:{rowspan:"1",colspan:"1"}},[e("div",{staticClass:"font-14 color-303133"},[this._v("POS会员")])])}]};var c=s("VU/8")(o,r,!1,function(t){s("HAcq")},"data-v-f2632688",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([36],{DCIc:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),i=a("2eFk"),s=a("Ie7z"),l=a("Ke24"),r=a("LRn8"),c=a("P9l9"),d=a("PI0u"),u=a("3E4D"),p=a("Ch4/"),h={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,topMenuData:[{id:"1",name:"不良评价回访记录"}],activeId:"1",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},storeTypeOptions:[{value:"",label:"所有"},{value:"0",label:"自营"},{value:"1",label:"联营"},{value:"2",label:"代理"},{value:"3",label:"代销"},{value:"4",label:"托管"}],selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1}}},computed:{},methods:{handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(d.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!n()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeIds:e.multipleSelection.map(function(t){return t.storeId}).join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",brandId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio,taskType:0};Object(c.d)("/haoban-app-tel-task-web/task/batch-del-store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void e.getTableList();p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=[],e=[];this.conditionObj.storeGroup.forEach(function(a){2==a.type&&t.push(a.groupId),3==a.type&&e.push(a.storeId)});var a={search:this.conditionObj.searchInput||"",filterStoreIds:e.join(",")||"",storeGroupIds:t.join(",")||"",storeType:this.conditionObj.storeType||"",startDate:this.conditionObj.dateRange[0]||"",endDate:this.conditionObj.dateRange[1]||"",brandId:this.activeBrand,taskType:0},o="search="+a.search+"&taskType="+a.taskType+"&filterStoreIds="+a.filterStoreIds+"&storeGroupIds="+a.storeGroupIds+"&storeType="+a.storeType+"&startDate="+a.startDate+"&endDate="+a.endDate+"&brandId="+a.brandId+"&currentPage="+a.currentPage+"&pageSize="+a.pageSize;window.open(window.location.origin+"/haoban-app-tel-task-web/task/export-store-task-list?"+o)},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("taskDetail?storeId="+e.storeId)},getTableList:function(t){var e=this,a=[],o=[];e.conditionObj.storeGroup.forEach(function(t){2==t.type&&a.push(t.groupId),3==t.type&&o.push(t.storeId)});var n={search:e.conditionObj.searchInput||"",filterStoreIds:o.join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,brandId:e.activeBrand,taskType:0};Object(c.a)("/haoban-app-tel-task-web/task/store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;p.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:i.a,commonDetailTop:l.a,vueSelectStore:s.a,multipleDel:r.a}},b={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("common-detail-top",{attrs:{topMenuData:t.topMenuData,activeId:t.activeId}}),t._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("div",{staticClass:"flex-column item-cell-select inline-block m-l-10"},[a("div",{staticClass:"depart-item-wrap"},[a("div",{staticClass:"el-select el-select--large depart-item-content",staticStyle:{width:"213px"},on:{click:function(e){t.showDialogLayer("store",t.conditionObj.storeGroup)}}},[t.conditionObj.storeGroup.length?t._e():a("span",{staticClass:"font-14 color-c0c4cc"},[t._v("请选择门店分组")]),t._v(" "),a("div",{staticClass:"el-select__tags",staticStyle:{"max-width":"181px"}},[a("span",[t._l(t.conditionObj.storeGroup,function(e,o){return[a("span",{key:o,staticClass:"el-tag el-tag--info el-tag--small"},[a("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.name||e.storeName))]),a("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(e){e.stopPropagation(),t.delDepart(o,t.conditionObj.storeGroup)}}})])]})],2)])])])]),t._v(" "),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeStoreType},model:{value:t.conditionObj.storeType,callback:function(e){t.$set(t.conditionObj,"storeType",e)},expression:"conditionObj.storeType"}},t._l(t.storeTypeOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark",height:t.tableH},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.taskCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}}),t._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{currentBrand:t.activeGroup,appScene:t.appScene,treeSet:t.storeTreeSet,selectType:"group",defaultList:t.defaultStoreList},on:{handleSelectedList:t.handleSelectedList}})],1)},staticRenderFns:[]};var g=a("VU/8")(h,b,!1,function(t){a("xyPN")},"data-v-ea3894c2",null);e.default=g.exports},xyPN:function(t,e){}});
\ No newline at end of file
webpackJsonp([37],{"H/ek":function(e,t){},fAFA:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("Xxa5"),n=a.n(r),o=a("exGp"),i=a.n(o),s=a("Ch4/"),l=a("PI0u"),c=a("P9l9"),u={components:{},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",topMenuData:[{id:"1",name:"指标管理",path:"/quota"},{id:"2",name:"月指标",path:""}],yearList:[],year:"",tableList:[],loading:!1,tabelHeader:[{prop:"yearMonth",label:"月份"},{prop:"totalPerformance",label:"月指标累计"},{prop:"totalStore",label:"门店总数"},{prop:"totalComplete",label:"门店指标完善数"}],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(e){e&&this.getYearList()}},methods:{handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.apiMonthPerformanceList()},handleCurrentChange:function(e){this.currentPage=e,this.apiMonthPerformanceList()},changeYear:function(){this.currentPage=1,this.apiMonthPerformanceList()},getYearList:function(){var e=this;return i()(n.a.mark(function t(){var a,r,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e,t.next=3,n={enterpriseId:a.brandId},Object(c.a)("/haoban-app-performance-three-web/performance/get-years",n);case 3:r=t.sent,1==(o=r.data).errorCode?(a.yearList=[],o.result&&o.result.length&&(o.result.forEach(function(e){a.yearList.push({id:e,label:e+"年"})}),a.year=o.result[0],a.apiMonthPerformanceList())):s.a.errorMsg(o);case 6:case"end":return t.stop()}var n},t,e)}))()},apiMonthPerformanceList:function(){var e=this;return i()(n.a.mark(function t(){var a,r,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return(a=e).loading=!0,t.next=4,n={enterpriseId:e.brandId,year:e.year},Object(c.a)("/haoban-app-performance-three-web/performance/query-month-performance",n);case 4:r=t.sent,o=r.data,a.loading=!1,1==o.errorCode&&(o.result.length&&o.result.forEach(function(e){e.totalPerformance=Object(l.c)(Number(e.totalPerformance).toFixed(2))}),a.tableList=o.result||[]);case 8:case"end":return t.stop()}var n},t,e)}))()}},mounted:function(){this.$emit("showTab","1"),this.brandId&&this.getYearList()}},p={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("el-select",{staticClass:"m-b-23 w-123",on:{change:e.changeYear},model:{value:e.year,callback:function(t){e.year=t},expression:"year"}},[a("i",{staticClass:"el-input__icon el-icon-date",attrs:{slot:"prefix"},slot:"prefix"}),e._v(" "),e._l(e.yearList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.label}})})],2),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:e.tableList}},[e._l(e.tabelHeader,function(e,t){return a("el-table-column",{key:t,attrs:{label:e.label,prop:e.prop}})}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.settingStatus?a("el-button",{attrs:{type:"text"},on:{click:function(a){e.$router.push("/storeMonthTask?yearMonth="+t.row.yearMonth)}}},[e._v("门店月指标")]):e._e(),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.$router.push("/companyDaySet?yearMonth="+t.row.yearMonth)}}},[e._v("商户日权重")])]}}])})],2)],1)])},staticRenderFns:[]};var d=a("VU/8")(u,p,!1,function(e){a("H/ek")},"data-v-dba0b0b0",null);t.default=d.exports}});
\ No newline at end of file
webpackJsonp([38],{L2vV:function(a,t){},aWmL:function(a,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("3Xzz"),i=e("Qie6"),c=e("Z8ln"),o=e("Ch4/"),r=e("P9l9"),s={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"内购券",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"内购券",path:""}],tabListData:[{tabId:"1",tabName:"卡券模板",icon:"iconmoban"},{tabId:"2",tabName:"卡券策略",icon:"iconcelve"},{tabId:"3",tabName:"内购券投放",icon:"icontoufang2"},{tabId:"4",tabName:"内购券记录",icon:"iconqiaquan",onlyIconActive:!1,children:[{tabId:"41",tabName:"投放记录",icon:""},{tabId:"42",tabName:"领取记录",icon:""}]}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var a=this,t={enterpriseId:a.activeBrand};Object(r.a)("/haoban-manage3-web/enterprise-is-over",t).then(function(t){var e=t.data;1!=e.errorCode?o.a.errorMsg(e):a.expiredFlag=e.result}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},changeRoute:function(a){this.$router.push(a)},selectBrandId:function(a,t){this.activeBrand=a,this.activeGroup=t,this.getExpired()},setSelectTab:function(a){switch(this.activeTab=a.tabId,a.tabId){case"1":this.changeRoute("cardTemplate");break;case"2":this.changeRoute("cardStrategy");break;case"3":this.changeRoute("cardPut");break;case"4":case"41":this.changeRoute("cardPutRecord");break;case"42":this.changeRoute("cardGetRecord")}},showTab:function(a){this.activeTab=a,this.activeSelTab=a,this.tabListData.forEach(function(t){t.tabId==a&&(t.onlyIconActive=!1),t.children&&t.children.forEach(function(e){e.tabId==a&&(t.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==a&&(t.onlyIconActive=!0)})})})},changeNavShow:function(a){"/newCardTemp"==a.path?this.navpath=[{name:"首页",path:"/index"},{name:"内购券",path:"/cardTemplate"},{name:this.$route.query.templateId?"编辑模板":"新建模板",path:""}]:"/newCardStrategy"==a.path?this.navpath=[{name:"首页",path:"/index"},{name:"内购券",path:"/cardTemplate"},{name:this.$route.query.policyId?"编辑策略":"新建策略",path:""}]:"/newCardPut"==a.path?this.navpath=[{name:"首页",path:"/index"},{name:"内购券",path:"/cardTemplate"},{name:this.$route.query.repairId?"查看补发":"新建补发",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"内购券",path:""}]}},watch:{$route:{handler:function(a,t){this.changeNavShow(a)},deep:!0},activeBrand:function(a,t){this.activeBrand=a},activeGroup:function(a,t){this.activeGroup=a}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a,expiredDialog:c.a}},d={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:a.navpath},on:{selectBrandId:a.selectBrandId}}),a._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:a.tabListData,activeSelTab:a.activeSelTab},on:{setSelectTab:a.setSelectTab}})],1),a._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[a.$route.meta.keepAlive?e("keep-alive",[e("router-view",{attrs:{brandId:a.activeBrand,activeGroupId:a.activeGroup,tabType:a.activeTab},on:{showTab:a.showTab}})],1):e("router-view",{attrs:{brandId:a.activeBrand,activeGroupId:a.activeGroup,tabType:a.activeTab},on:{showTab:a.showTab}})],1)],1)])])]),a._v(" "),a.expiredFlag?e("expired-dialog"):a._e()],1)},staticRenderFns:[]};var h=e("VU/8")(s,d,!1,function(a){e("L2vV")},"data-v-d6a4be7a",null);t.default=h.exports}});
\ No newline at end of file
webpackJsonp([39],{"2WGr":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"date-range-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,s=0;s<t.length;s++){null!=t.charAt(s).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},i={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.startTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.startTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")),s("i",{staticClass:"el-icon-arrow-right"})])])]),t._v(" "),s("div",{staticClass:"b-t-1 flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.endTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.endTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),s("i",{staticClass:"el-icon-arrow-right"})])])])])},staticRenderFns:[]};var l=s("VU/8")(a,i,!1,function(t){s("HkhO")},"data-v-a5704692",null);e.default=l.exports},HkhO:function(t,e){}});
\ No newline at end of file
webpackJsonp([4],{B9Yg:function(t,s,e){t.exports=e.p+"static/img/gic-error.8aba914.png"},"Q3j/":function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e("B9Yg"),a=e.n(i),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"登录遇到错误啦!请确认您是否是好办小程序管理员。如不是,请联系管理员在<企业微信-我的企业-权限管理>添加好办管理员。"}},mounted:function(){}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100vh"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/login",rel:"noopener noreferrer"}},[this._v("返回好办登录页")])])])])},staticRenderFns:[]};var c=e("VU/8")(n,r,!1,function(t){e("t6ek")},"data-v-b1dca366",null);s.default=c.exports},t6ek:function(t,s){}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([40],{"Hb/M":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("PI0u"),i=a("Ch4/"),n=a("3E4D"),o=a("P9l9"),l={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,topMenuData:[{id:"1",name:"任务下发设置"}],activeId:"1",setData:{status:!1,time:"12:00",releaseFlag:!1},loadingBtn:!1}},computed:{},methods:{saveSet:Object(s.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e={enterpriseId:t.activeBrand,status:t.setData.status?"1":"0",time:t.setData.time,releaseFlag:t.setData.releaseFlag?1:0};Object(o.d)("/haoban-app-daily-three-web/daily/create-setting",e).then(function(e){var a=e.data;t.loadingBtn=!1,1!=a.errorCode?i.a.errorMsg(a):n.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand};Object(o.d)("/haoban-app-daily-three-web/daily/get-setting",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.setData.status=1==a.result.status,t.setData.releaseFlag=1==a.result.releaseFlag,void(t.setData.time=a.result.time);i.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","2"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"task-set-content border-box"},[a("div",{staticClass:"task-set-cell font-0"},[a("div",{staticClass:"inline-block font-14 color-606266 m-b-10 w-100"},[t._v("日报开关设置:")]),t._v(" "),a("div",{staticClass:"inline-block font-14 "},[a("el-switch",{attrs:{"active-text":" ","inactive-text":" "},model:{value:t.setData.status,callback:function(e){t.$set(t.setData,"status",e)},expression:"setData.status"}})],1),t._v(" "),a("div",{staticClass:"inline-block m-l-10 font-14 color-606266 m-b-16"},[t._v("开启后,日报将定时发送")])]),t._v(" "),a("div",{staticClass:"task-set-cell font-0"},[a("div",{staticClass:"inline-block font-14 color-606266 m-b-10 w-100"}),t._v(" "),a("div",{staticClass:"inline-block m-l-10 vertical-top font-14 right-set-body"},[a("div",{staticClass:"font-14 color-606266 m-b-10 font-w-500"},[t._v("日报每日下发时间设置")]),t._v(" "),a("div",{staticClass:" font-14 color-606266 m-b-16"},[t._v("该事件设置将在次日生效,为避免影响当日日报的发送,请在日报发送后设置")]),t._v(" "),a("div",[a("el-time-select",{staticClass:"w-118",attrs:{editable:!1,clearable:!1,"picker-options":{start:"00:00",step:"00:15",end:"23:45"},placeholder:"选择时间"},model:{value:t.setData.time,callback:function(e){t.$set(t.setData,"time",e)},expression:"setData.time"}})],1)])]),t._v(" "),a("div",{staticClass:"task-set-cell font-0"},[a("div",{staticClass:"inline-block font-14 color-606266 m-b-10 w-100"}),t._v(" "),a("div",{staticClass:"inline-block m-l-10 task-set-save m-t-50 font-14"},[a("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.saveSet}},[t._v("保 存")])],1)])])])},staticRenderFns:[]};var c=a("VU/8")(l,r,!1,function(t){a("KtWY")},"data-v-a2821d40",null);e.default=c.exports},KtWY:function(t,e){}});
\ No newline at end of file
webpackJsonp([41],{lo6H:function(t,e){},"m+x7":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),i=a("Ggl+"),s=a("LRn8"),r=a("P9l9"),l=a("PI0u"),c=a("3E4D"),d=a("Ch4/"),u={props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,actictiveGroup:this.activeGroupId,showDialog:!1,activeId:"1",conditionObj:{tableType:"1",storeGroup:[],storeType:"",dateRange:[]},selectRadio:0,loading:!1,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,loadingBtn:!1}},computed:{},methods:{checkGroupIds:function(t){this.conditionObj.storeGroup=t,this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!o()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[];e.conditionObj.storeGroup.forEach(function(t){a.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var n={search:e.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",storeIds:1==e.selectRadio?"":e.multipleSelection.map(function(t){return t.storeId}).join(","),storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",enterpriseId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio};Object(r.d)("/haoban-app-tel-task-three-web/task/batch-del-store-task-list",n).then(function(t){var a=t.data;if(1==a.errorCode)return c.a.showmsg("删除成功","success"),void e.getTableList();d.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=this;if(!t.multipleSelection.length)return c.a.showmsg("请选择门店","warning"),!1;t.loadingBtn=!0;var e=[];t.conditionObj.storeGroup.forEach(function(t){e.push(t.storeGroupId)});var a={search:t.conditionObj.searchInput||"",storeGroupIds:e.join(",")||"",storeIds:1==t.selectRadio?"":t.multipleSelection.map(function(t){return t.storeId}).join(","),storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange?t.conditionObj.dateRange[0]:"",endDate:t.conditionObj.dateRange?t.conditionObj.dateRange[1]:"",enterpriseId:t.activeBrand,selectType:t.selectRadio};Object(r.b)("/haoban-app-tel-task-three-web/task/export-store-task-list",a).then(function(e){if(t.loadingBtn=!1,!e.data)return d.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=(t.tableData[0]?t.tableData[0].storeName:"")+"门店任务报表.csv",o=document.createElement("a");o.download=n,o.style.display="none",o.href=URL.createObjectURL(a),document.body.appendChild(o),o.click(),URL.revokeObjectURL(o.href),document.body.removeChild(o)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("taskDetail?storeId="+e.storeId)},getTableList:function(t){var e=this;e.loading=!0;var a=[];e.conditionObj.storeGroup.forEach(function(t){a.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var n={search:e.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(r.a)("/haoban-app-tel-task-three-web/task/store-task-list",n).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;d.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},initDataRange:function(){var t=new Date,e=t.getTime()-7776e6,a=t.getFullYear(),n=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),i=n<10?"0"+n:n,s=new Date(e),r=s.getFullYear(),l=s.getMonth()+1,c=s.getDate()<10?"0"+s.getDate():s.getDate();return[r+"-"+(l<10?"0"+l:l)+"-"+c,a+"-"+i+"-"+o]}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){var t=this;t.conditionObj.dateRange=t.initDataRange(),document.documentElement.style.backgroundColor="#f0f2f5",t.activeBrand=t.brandId,this.brandId&&t.$nextTick(function(){t.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{gicSelectGroup:i.a,multipleDel:s.a}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("div",{staticClass:"daily-set-content border-box"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:t.brandId,width:213,selectData:t.conditionObj.storeGroup},on:{checkGroupIds:t.checkGroupIds}}),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),t._v(" "),a("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticStyle:{width:"100%",overflow:"hidden","text-overflow":"ellipsis"}},[t._v(t._s(e.row.storeName))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.taskCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"m-b-20"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title"},[this._v("\n 1.预计2021年1月功能更新后将仅保留近一年数据,历史数据将清除。如需保存超过一年历史数据,请于1月前导出保存;"),e("br"),this._v("\n 2.因任务数据量过大,门店视图统计数据改为每日刷新一次;"),e("br"),this._v("\n 3.需要注意:话务完成详情是实时展示;完成数据统计是每日刷新,可能出现任务详情显示已完成,但是已完成数量并没有+1。这属于统计的正常情况。\n ")])])])])}]};var h=a("VU/8")(u,p,!1,function(t){a("lo6H")},"data-v-9cbcd3dc",null);e.default=h.exports}});
\ No newline at end of file
webpackJsonp([42],{m9dW:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("bzW+"),c=a("Qie6"),n=a("NKg7"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-288+"px",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"企业信息",icon:"iconqiyexinxi"},{tabId:"2",tabName:"管理员列表",icon:"iconguanliyuanliebiao"},{tabId:"3",tabName:"素材库",icon:"iconsucaiku"}],activeBrand:"",activeGroup:""}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("enterpriseSet");break;case"2":this.changeRoute("adminList");break;case"3":this.changeRoute("material")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{$route:{handler:function(t,e){},deep:!0},activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:i.a,commonDetailLeft:c.a,vueOfficeHeader:n.a}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"enterprise-wrap__body"},[a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body"},[a("div",{staticClass:"right-content border-box"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 86px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 86px)"}},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 86px)"}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right border-box"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])])])])])],1)},staticRenderFns:[]};var r=a("VU/8")(o,s,!1,function(t){a("wZUv")},"data-v-9b0148fc",null);e.default=r.exports},wZUv:function(t,e){}});
\ No newline at end of file
webpackJsonp([43],{"5hHb":function(t,e){},X5LE:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Xxa5"),r=a.n(n),o=a("exGp"),s=a.n(o),i=a("Ch4/"),c=a("3E4D"),l=a("PI0u"),u=a("P9l9"),d={components:{},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",loading:!1,searchInput:"",tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(t){t&&this.getTableList()}},methods:{toDel:function(t,e){var a=this;a.$confirm("是否要删除选中的卡券?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(e.coupCardId)}).catch(function(){})},delCardList:function(t){var e=this,a={gicEnterpriseId:e.brandId,coupCardId:t};Object(u.d)("/haoban-app-customer-web/cardCoupon/del-card-coup",a).then(function(t){var a=t.data;if(1==a.errorCode)return c.a.showmsg("删除成功","success"),e.currentPage=1,void e.getTableList(e.brandId);100013==a.errorCode&&(e.currentPage=1,e.getTableList(e.brandId)),i.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/newCard?coupCardId="+e.coupCardId)},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},toNewCard:function(){this.$router.push("/newCard")},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var t=this;return s()(r.a.mark(function e(){var a,n;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(a=t).loading=!0,n={gicEnterpriseId:a.brandId,search:a.searchInput||"",pageNum:a.currentPage,pageSize:a.pageSize},Object(u.d)("/haoban-app-customer-web/cardCoupon/find-card-page",n).then(function(t){var e=t.data;if(a.loading=!1,1==e.errorCode)return a.tableData=e.result.list||[],void(a.total=e.result.pageInfo.total);i.a.errorMsg(e)}).catch(function(t){a.loading=!1,a.$message.error({duration:1e3,message:t.message})});case 4:case"end":return e.stop()}},e,t)}))()}},mounted:function(){this.$emit("showTab","1"),this.brandId&&this.getTableList()}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入卡券名称",maxlength:"50",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.toNewCard}},[t._v("新增卡券")])],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 3px)"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"卡券名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.cardName)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券类型"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.cardType?a("span",[t._v("抵金券")]):t._e(),t._v(" "),1==e.row.cardType?a("span",[t._v("折扣券")]):t._e(),t._v(" "),2==e.row.cardType?a("span",[t._v("兑换券")]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"有效期","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.effectDateString||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"库存"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(t._s(e.row.couponStock))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toEdit(e.$index,e.row)}}},[t._v("编辑")]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDel(e.$index,e.row)}}},[t._v("删除")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[]};var h=a("VU/8")(d,p,!1,function(t){a("5hHb")},"data-v-8ea1f324",null);e.default=h.exports}});
\ No newline at end of file
webpackJsonp([44],{FSc2:function(e,t){},JuNN:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("3E4D"),s=a("Ch4/"),o=a("PI0u"),n=a("P9l9"),i={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",activeName:"first",activeGroup:this.activeGroupId,wxEnterpriseRelatedId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",myCustomData:{searchFlag:!1,chatFlag:!1,mainStoreFlag:!1,minorStoreFlag:!1,openCardStoreFlag:!1,clerkSeeOtherFlag:!1,isSeeAuthMember:!1,allowGuideContact:!1,allowGuideMobile:!1,allowGuideMessage:!1,allowGuideOnlineChat:!1},overTimeSeeFlag:!1,conditionObj:{searchInput:"",classifyName:"",effectiveStatus:""},groupListData:[],classifyList:[],currentPage:1,pageSize:20,total:0,loading:!1,syncDate:"",loadingBtn:!1,templateList:[]}},beforeMount:function(){var e=window.location.origin;-1!=e.indexOf("localhost")?this.baseUrl="http://www.gicdev.com":this.baseUrl=e},methods:{toDel:function(e,t){var a=this;a.$confirm("是否要删除选中的模板?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delTempList(t.templateId)}).catch(function(){})},delTempList:function(e){var t=this,a={templateId:e};Object(n.d)("/haoban-app-customer-web/del-group-template",a).then(function(e){var a=e.data;if(1==a.errorCode)return r.a.showmsg("删除成功","success"),void t.getTableList();s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toEdit:function(e,t){this.$router.push("/addGroupTemplate?templateId="+t.templateId)},toStore:function(e,t){this.$router.push("/storeRangeSet?templateId="+t.templateId+"&brandId="+this.brandId)},addTemplate:function(){this.$router.push("/addGroupTemplate")},getTableList:function(){var e=this,t={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(n.d)("/haoban-app-customer-web/get-template-list",t).then(function(t){var a=t.data;1!=a.errorCode?s.a.errorMsg(a):e.templateList=a.result||[]}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleClick:function(e,t){this.currentPage=1,this.pageSize=20,this.total=0,"first"==e.name?(this.getGroupClassify(),this.getGroupList(),this.getGroupClassSet(),this.getSyncDate()):this.getTableList()},getSyncDate:function(e){var t=this,a={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId};Object(n.d)("/haoban-app-customer-web/memberGroup/get-group_last_syn_time",a).then(function(e){var a=e.data;1!=a.errorCode?s.a.errorMsg(a):t.syncDate=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toSync:Object(o.a)(function(){var e=this;e.loadingBtn=!0;var t={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(n.d)("/haoban-app-customer-web/memberGroup/syn-group",t).then(function(t){var a=t.data;if(e.loadingBtn=!1,1==a.errorCode)return r.a.showmsg("同步成功","success"),void e.getSyncDate();s.a.errorMsg(a)}).catch(function(t){e.loadingBtn=!1,e.$message.error({duration:1e3,message:t.message})})},500),getGroupClassSet:function(e){var t=this,a={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId};Object(n.d)("/haoban-app-customer-web/memberGroup/get-member-group-setting",a).then(function(e){var a=e.data;1!=a.errorCode?s.a.errorMsg(a):t.overTimeSeeFlag=0!=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},saveGroupSet:function(){var e=this,t={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId,overTimeSeeFlag:1==e.overTimeSeeFlag?1:0};Object(n.d)("/haoban-app-customer-web/memberGroup/save-member-group-setting",t).then(function(e){var t=e.data;if(1==t.errorCode)return r.a.showmsg("设置成功","success"),!1;s.a.errorMsg(t)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toInput:Object(o.a)(function(e,t){this.currentPage=1,this.getGroupList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getGroupList(this.brandId)},changeCondition:function(){this.currentPage=1,this.getGroupList(this.brandId)},getGroupClassify:function(e){var t=this,a={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId};Object(n.d)("/haoban-app-customer-web/memberGroup/get-member-class-list",a).then(function(e){var a=e.data;1!=a.errorCode?s.a.errorMsg(a):t.classifyList=a.result.list||[]}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toChangeTemp:function(e,t,a){var o=this,i={enterpriseId:o.brandId,wxEnterpriseRelatedId:o.wxEnterpriseRelatedId,memberTagGroupId:a.memberTagGroupId,isSendTemplate:1==a.isSendTemplate?1:0};Object(n.d)("/haoban-app-customer-web/memberGroup/save-member-group-is-template-message",i).then(function(e){var t=e.data;if(1==t.errorCode)return r.a.showmsg("操作成功","success"),o.pageNum=1,void o.getGroupList(o.brandId);a.isSendTemplate=!1,s.a.errorMsg(t)}).catch(function(e){o.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getGroupList(this.brandId)},handleCurrentChange:function(e){this.currentPage=e,this.getGroupList(this.brandId)},getGroupList:function(e){var t=this;t.loading=!0;var a={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId,memberGroupName:t.conditionObj.searchInput,classifyName:t.conditionObj.classifyName,effectiveStatus:t.conditionObj.effectiveStatus,pageNum:t.currentPage,pageSize:t.pageSize};Object(n.d)("/haoban-app-customer-web/memberGroup/member-tag-group-list",a).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return a.result.list&&a.result.list.length&&a.result.list.forEach(function(e){e.isSendTemplate=1==e.isSendTemplate}),t.groupListData=a.result.list||[],void(t.total=a.result.pageInfo.total);s.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.getGroupClassify(this.brandId),this.getGroupList(this.brandId),this.getGroupClassSet(this.brandId),this.getSyncDate(this.brandId)),"second"==this.activeName&&this.getTableList()}},mounted:function(){this.$emit("showTab","12"),this.brandId&&(this.getGroupClassify(this.brandId),this.getGroupList(this.brandId),this.getGroupClassSet(this.brandId),this.getSyncDate(this.brandId)),this.$route.query.tabName&&this.brandId&&(this.activeName="second",this.getTableList())},components:{}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-detail-wrap"},[a("el-tabs",{on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"会员分组列表",name:"first"}},[a("div",{staticClass:"app-detail-pane border-box p-lbr-20"},[a("div",{staticClass:"condition-wrap flex flex-space-between"},[a("div",[a("el-input",{staticClass:"w-264",staticStyle:{width:"217px"},attrs:{placeholder:"请输入分组名称",maxlength:"50","prefix-icon":"el-icon-search",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.conditionObj.searchInput);var a}},model:{value:e.conditionObj.searchInput,callback:function(t){e.$set(e.conditionObj,"searchInput",t)},expression:"conditionObj.searchInput"}}),a("el-select",{staticClass:"w-168 m-l-10",attrs:{placeholder:"全部分类"},on:{change:e.changeCondition},model:{value:e.conditionObj.classifyName,callback:function(t){e.$set(e.conditionObj,"classifyName",t)},expression:"conditionObj.classifyName"}},[a("el-option",{attrs:{label:"全部分类",value:""}}),e._v(" "),e._l(e.classifyList,function(e){return a("el-option",{key:e,attrs:{label:e,value:e}})})],2),a("el-select",{staticClass:"w-168 m-l-10",attrs:{placeholder:"全部状态"},on:{change:e.changeCondition},model:{value:e.conditionObj.effectiveStatus,callback:function(t){e.$set(e.conditionObj,"effectiveStatus",t)},expression:"conditionObj.effectiveStatus"}},[a("el-option",{attrs:{label:"全部状态",value:""}}),e._v(" "),a("el-option",{attrs:{label:"有效",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"失效",value:"0"}})],1)],1),e._v(" "),a("div",[a("el-checkbox",{on:{change:e.saveGroupSet},model:{value:e.overTimeSeeFlag,callback:function(t){e.overTimeSeeFlag=t},expression:"overTimeSeeFlag"}}),e._v(" "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"开启后,GIC中设置的好办端会员分组到期后,好办移动端将不再展示该条分组",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266 m-r-20",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("会员分组到期后不展示")])]),e._v(" "),a("el-button",{attrs:{type:"primary",loading:e.loadingBtn},on:{click:e.toSync}},[e._v("立即同步")]),e._v(" "),e.syncDate?a("span",{staticClass:"font-14 color-606266 p-r-10"},[e._v("最近一次同步时间:"+e._s(e._f("formatTimeStamp")(e.syncDate)))]):e._e()],1)]),e._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%"},attrs:{data:e.groupListData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"分组名称",width:"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.groupName))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"分类"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.memberTagGroupClassifyName))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"是否实时","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(1==t.row.isRealTime?"是":"否"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"更新频率","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(1==t.row.updateType?"每日":2==t.row.updateType?"每周":3==t.row.updateType?"每月":"-")+" "+e._s(1==t.row.updateType?"一次":2==t.row.updateType?"周"+t.row.updateDay:3==t.row.updateType?t.row.updateDay+"号":"-")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"状态","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s("1"==t.row.effectiveStatus?"有效":"失效"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"覆盖人数","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.memberCount||0)+"人")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"到期时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.effectiveDate)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.effectiveDate)))])]}}])})],1),e._v(" "),0!=e.groupListData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])]),e._v(" "),a("el-tab-pane",{attrs:{label:"分组展示设置",name:"second"}},[a("div",{staticClass:" border-box p-lbr-20"},[a("div",{staticClass:"flex flex-space-between"},[a("div"),e._v(" "),a("div",[a("span",{staticClass:"font-12 color-909399"},[e._v("最多新建20个模板")]),a("el-button",{staticClass:"m-l-20",attrs:{disabled:e.templateList.length>=20,type:"primary"},on:{click:e.addTemplate}},[e._v("新建模版")])],1)]),e._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"tempTable",staticClass:"select-table",style:{width:"100%"},attrs:{data:e.templateList,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"模板名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.templateName))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"模板id","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.templateId))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"编辑人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.editPerson))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"最近编辑时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.editTime)))]),e._v(" "),a("div",{staticClass:"line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.editTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.toEdit(t.$index,t.row)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.toStore(t.$index,t.row)}}},[e._v("门店范围设置")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.toDel(t.$index,t.row)}}},[e._v("删除")])]}}])})],1)],1)])])],1)],1)},staticRenderFns:[]};var c=a("VU/8")(i,l,!1,function(e){a("FSc2")},"data-v-83bc52d0",null);t.default=c.exports}});
\ No newline at end of file
webpackJsonp([45],{JohW:function(e,a){},tF0P:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var o=t("mvHQ"),r=t.n(o),i=t("l46T"),n=t("Kkt8"),s=t("P9l9"),l=t("3E4D"),m=t("Ch4/"),p=t("PI0u"),c={name:"chat-log",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},components:{limitInput:i.a,limitTextarea:n.a},data:function(){return{activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"3",commitName:localStorage.getItem("userInfos")&&JSON.parse(localStorage.getItem("userInfos")).staffDTO?JSON.parse(localStorage.getItem("userInfos")).staffDTO.staffName:"",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",formData:{templateId:"",templateName:"",cardType:"0",cardApplicationChannel:["offlineStore"],erpDemoCode:"",cardColor:"#2f54eb",cardDenomination:"1",minGoodsType:"0",minApplicableGoods:"1",maxGoodsType:"0",maxApplicableGoods:"1",useCondition:{sale_limit:{fee:1},goods:{ok:"",no:""},only:1,discount_amount_upper_limit:0,goods_discounts_number_upper_limit:"1",goods_discounts_number_lower_limit:"1"},limitTopType:"0",limitTop:0,minCostCheck:!1,minCost:"1",shareCheck:!1,fitGoodCheck:!1,fitGoodDes:"",noFitGoodDes:"",cardLimitType:"0",cardLimit:"1",costValue:"1",useCustomCode:"0",cardExplain:"",applicationStoreType:"1",useDescript:"",gicEnterpriseId:""},rules:{templateName:[{required:!0,message:"请输入模板名称",trigger:"blur"}],cardApplicationChannel:[{type:"array",required:!0,message:"请至少选择一个卡券适用渠道",trigger:"change"}],cardDenomination:[{required:!0,message:"请输入减免金额",trigger:"blur"}],costValue:[{required:!0,message:"请输入成本费用",trigger:"blur"}],cardExplain:[{required:!0,message:"请输入适用门店说明",trigger:"blur"}],applicationStoreType:[{required:!0,message:"请选择适用门店",trigger:"change"}],useDescript:[{required:!0,message:"请输入使用说明",trigger:"blur"}],gicEnterpriseId:[{required:!0,message:"请选择商户",trigger:"change"}]},cardSelectShow:!1,brandListData:[],chanelList:[],loadingBtn:!1}},methods:{changeEnterprise:function(){this.formData.cardApplicationChannel=[],this.getChanel()},getChanel:function(){var e=this,a={gicEnterpriseId:e.formData.gicEnterpriseId};Object(s.a)("/haoban-app-customer-web/inner/get-channel-type",a).then(function(a){var t=a.data;return 1==t.errorCode&&(e.chanelList=t.result||[],t.result.length&&!e.$route.query.templateId&&(e.formData.cardApplicationChannel=[t.result[0].value])),!1}).catch(function(a){e.$message.error({duration:1e3,message:a.message})})},changeTop:function(e){0==e&&(this.formData.limitTop=0)},cancelEdit:function(){var e=this;e.$confirm("是否确认返回,返回后当前页面内容将丢失","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.$router.go(-1)}).catch(function(){})},submitForm:Object(p.a)(function(e,a){var t=this;return t.formData.fitGoodCheck&&!t.formData.fitGoodDes&&t.formData.noFitGoodDes?(t.$message.error({duration:1e3,message:"适用商品至少填写一项"}),!1):t.formData.minCostCheck&&!t.formData.minCost?(t.$message.error({duration:1e3,message:"请输入最低消费"}),!1):1!=t.formData.limitTopType||t.formData.limitTop?1!=t.formData.minGoodsType||t.formData.minApplicableGoods?1!=t.formData.maxGoodsType||t.formData.maxApplicableGoods?2!=t.formData.cardLimitType||t.formData.cardLimit?(t.loadingBtn=!0,void t.$refs[e].validate(function(e){e?t.postSaveCard(a):t.loadingBtn=!1})):(t.$message.error({duration:1e3,message:"请输入领券限制"}),!1):(t.$message.error({duration:1e3,message:"请输入最高适用商品件数"}),!1):(t.$message.error({duration:1e3,message:"请输入最低适用商品件数"}),!1):(t.$message.error({duration:1e3,message:"请输入封顶金额"}),!1)},1e3),postSaveCard:function(e){var a=this,t={sale_limit:{fee:0},goods:{ok:a.formData.fitGoodDes,no:a.formData.noFitGoodDes},only:a.formData.shareCheck?1:0,discount_amount_upper_limit:1==a.formData.cardType&&1==a.formData.limitTopType?a.formData.limitTop:0,goods_discounts_number_lower_limit:1==a.formData.minGoodsType?a.formData.minApplicableGoods:0,goods_discounts_number_upper_limit:1==a.formData.maxGoodsType?a.formData.maxApplicableGoods:0};a.formData.minCostCheck&&(t.sale_limit={fee:a.formData.minCost});var o={templateId:a.formData.templateId,templateName:a.formData.templateName,cardType:a.formData.cardType,cardApplicationChannel:a.formData.cardApplicationChannel.join(","),erpDemoCode:a.formData.erpDemoCode,cardColor:a.formData.cardColor,cardDenomination:a.formData.cardDenomination,minGoodsType:a.formData.minGoodsType,minApplicableGoods:a.formData.minApplicableGoods,maxGoodsType:a.formData.maxGoodsType,maxApplicableGoods:a.formData.maxApplicableGoods,limitTopType:a.formData.limitTopType,limitTop:a.formData.limitTop,useCondition:r()(t),cardLimitType:a.formData.cardLimitType,cardLimit:a.formData.cardLimit,costValue:a.formData.costValue,useCustomCode:a.formData.useCustomCode,cardExplain:a.formData.cardExplain,applicationStoreType:a.formData.applicationStoreType,useDescript:a.formData.useDescript,gicEnterpriseId:a.formData.gicEnterpriseId,commitName:a.commitName,wxEnterpriseId:a.wxEnterpriseId};Object(s.d)((a.$route.query.templateId,"/haoban-app-customer-web/inner/save-template"),o).then(function(t){var o=t.data;a.loadingBtn=!1,1==o.errorCode&&(l.a.showmsg(a.$route.query.templateId?"编辑卡券模板成功":"新建卡券模板成功","success"),e?(a.formData={templateId:"",templateName:"",cardType:"0",cardApplicationChannel:[],erpDemoCode:"",cardColor:"#2f54eb",cardDenomination:"1",minGoodsType:"0",minApplicableGoods:"1",maxGoodsType:"0",maxApplicableGoods:"1",useCondition:{sale_limit:{fee:1},goods:{ok:"",no:""},only:1,discount_amount_upper_limit:0,goods_discounts_number_upper_limit:"1",goods_discounts_number_lower_limit:"1"},limitTopType:"0",limitTop:0,minCostCheck:!1,minCost:"1",shareCheck:!1,fitGoodCheck:!1,fitGoodDes:"",noFitGoodDes:"",cardLimitType:"0",cardLimit:"1",costValue:"1",useCustomCode:"0",cardExplain:"",applicationStoreType:"1",useDescript:"",gicEnterpriseId:a.brandListData[0].enterpriseId},a.getChanel()):a.$router.push("/cardTemplate")),m.a.errorMsg(o)}).catch(function(e){a.loadingBtn=!1,a.$message.error({duration:1e3,message:e.message})})},toReturn:function(){var e=this;e.$confirm("是否确认返回,返回后当前页面内容将丢失","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.$router.push("/cardTemplate")}).catch(function(){})},changeRange:function(e){this.formData.selectList=[]},getCardData:function(){var e=this,a={templateId:e.$route.query.templateId};Object(s.a)("/haoban-app-customer-web/inner/find-template",a).then(function(a){var t=a.data;if(1==t.errorCode){var o=JSON.parse(t.result.useCondition);return e.formData={templateId:t.result.templateId,templateName:t.result.templateName,cardType:String(t.result.cardType),cardApplicationChannel:t.result.cardApplicationChannel.split(",")||[],erpDemoCode:t.result.erpDemoCode,cardColor:t.result.cardColor,cardDenomination:t.result.cardDenomination,limitTopType:String(t.result.limitTopType),limitTop:t.result.limitTop,minGoodsType:String(t.result.minGoodsType),minApplicableGoods:t.result.minApplicableGoods,maxGoodsType:String(t.result.maxGoodsType),maxApplicableGoods:t.result.maxApplicableGoods,minCostCheck:!!o.sale_limit.fee,minCost:o.sale_limit.fee?o.sale_limit.fee:"1",shareCheck:!!o.only,fitGoodCheck:!(!o.goods.ok&&!o.goods.no),fitGoodDes:o.goods.ok,noFitGoodDes:o.goods.no,cardLimitType:String(t.result.cardLimitType),cardLimit:t.result.cardLimit,costValue:t.result.costValue,useCustomCode:String(t.result.useCustomCode),cardExplain:t.result.cardExplain,applicationStoreType:String(t.result.applicationStoreType),useDescript:t.result.useDescript,gicEnterpriseId:t.result.gicEnterpriseId},e.getChanel(),!1}m.a.errorMsg(t)}).catch(function(a){e.$message.error({duration:1e3,message:a.message})})},getBrandData:function(){var e=this;Object(s.d)("/haoban-manage3-web/wx-enterprise-list",{}).then(function(a){var t=a.data;if(1==t.errorCode)return e.brandListData=t.result||[],void(t.result.length&&!e.$route.query.templateId&&(e.formData.gicEnterpriseId=t.result[0].enterpriseId,e.getChanel()));m.a.errorMsg(t)}).catch(function(a){e.$message.error({duration:1e3,message:a.message})})}},watch:{brandId:function(e,a){e&&this.$route.query.templateId&&(this.activeBrand=e)},activeGroupId:function(e,a){e&&(this.activeGroup=e)}},mounted:function(){var e=this;e.$emit("showTab","1"),e.getBrandData(),e.$route.query.templateId&&e.$nextTick(function(){e.getCardData()})}},d={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("section",{staticClass:"common-right-wrap"},[t("div",{staticClass:"new-card-body border-box"},[t("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.formData,rules:e.rules,"label-width":"142px"}},[t("el-form-item",{attrs:{label:"卡券模板名称",prop:"templateName"}},[t("limitInput",{attrs:{inputWidth:307,inputValue:e.formData.templateName,getByType:"word",holder:"请输入卡券模板名称",maxLength:6},on:{"update:inputValue":function(a){e.$set(e.formData,"templateName",a)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:"卡券类型",prop:"cardType"}},[t("el-radio",{attrs:{label:"0"},model:{value:e.formData.cardType,callback:function(a){e.$set(e.formData,"cardType",a)},expression:"formData.cardType"}},[e._v("抵金券")]),e._v(" "),t("el-radio",{attrs:{label:"1"},model:{value:e.formData.cardType,callback:function(a){e.$set(e.formData,"cardType",a)},expression:"formData.cardType"}},[e._v("折扣券")])],1),e._v(" "),t("el-form-item",{attrs:{label:"选择商户",prop:"gicEnterpriseId"}},[t("el-select",{attrs:{placeholder:"请选择"},on:{change:e.changeEnterprise},model:{value:e.formData.gicEnterpriseId,callback:function(a){e.$set(e.formData,"gicEnterpriseId",a)},expression:"formData.gicEnterpriseId"}},e._l(e.brandListData,function(e){return t("el-option",{key:e.enterpriseId,attrs:{label:e.enterpriseName,value:e.enterpriseId}})}))],1),e._v(" "),t("el-form-item",{attrs:{label:"卡券适用渠道",prop:"cardApplicationChannel"}},[t("el-checkbox-group",{model:{value:e.formData.cardApplicationChannel,callback:function(a){e.$set(e.formData,"cardApplicationChannel",a)},expression:"formData.cardApplicationChannel"}},e._l(e.chanelList,function(a,o){return t("el-checkbox",{key:o+"chanel",attrs:{label:a.value}},[e._v(e._s(a.name))])}))],1),e._v(" "),t("el-form-item",{attrs:{label:"demo券号",prop:"erpDemoCode"}},[t("limitInput",{attrs:{inputWidth:307,inputValue:e.formData.erpDemoCode,getByType:"word",holder:"请输入demo券号",maxLength:200},on:{"update:inputValue":function(a){e.$set(e.formData,"erpDemoCode",a)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:"卡券颜色",prop:"cardColor"}},[t("div",{staticClass:"card-color flex flex-space-between"},[t("span",[e._v(e._s(e.formData.cardColor))]),e._v(" "),t("el-color-picker",{model:{value:e.formData.cardColor,callback:function(a){e.$set(e.formData,"cardColor",a)},expression:"formData.cardColor"}})],1)]),e._v(" "),0==e.formData.cardType?t("el-form-item",{attrs:{label:"减免金额",prop:"cardDenomination"}},[t("el-input-number",{attrs:{"controls-position":"right",min:1,max:99999999},model:{value:e.formData.cardDenomination,callback:function(a){e.$set(e.formData,"cardDenomination",a)},expression:"formData.cardDenomination"}}),t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("元")]),t("span",{staticClass:"font-12 color-909399 p-l-10"},[e._v("输入大于0的整数")])],1):e._e(),e._v(" "),1==e.formData.cardType?t("el-form-item",{attrs:{label:"折扣额度",prop:"cardDenomination"}},[t("el-input-number",{attrs:{"controls-position":"right",precision:1,min:1,max:9.9,step:.1},model:{value:e.formData.cardDenomination,callback:function(a){e.$set(e.formData,"cardDenomination",a)},expression:"formData.cardDenomination"}}),t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("折")]),t("span",{staticClass:"font-12 color-909399 p-l-10"},[e._v("请填写1-9.9之间的数字")])],1):e._e(),e._v(" "),1==e.formData.cardType?t("el-form-item",{attrs:{label:"优惠金额封顶",prop:""}},[t("el-radio",{attrs:{label:"0"},on:{change:e.changeTop},model:{value:e.formData.limitTopType,callback:function(a){e.$set(e.formData,"limitTopType",a)},expression:"formData.limitTopType"}},[e._v("不封顶")]),e._v(" "),t("el-radio",{attrs:{label:"1"},model:{value:e.formData.limitTopType,callback:function(a){e.$set(e.formData,"limitTopType",a)},expression:"formData.limitTopType"}},[e._v("限制封顶")]),1==e.formData.limitTopType?t("el-input-number",{attrs:{"controls-position":"right",precision:2,min:1,max:99999999},model:{value:e.formData.limitTop,callback:function(a){e.$set(e.formData,"limitTop",a)},expression:"formData.limitTop"}}):e._e(),e._v(" "),1==e.formData.limitTopType?t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("元")]):e._e()],1):e._e(),e._v(" "),t("el-form-item",{attrs:{label:"最低适用商品件数",prop:"minGoodsType"}},[t("el-radio",{attrs:{label:"0"},model:{value:e.formData.minGoodsType,callback:function(a){e.$set(e.formData,"minGoodsType",a)},expression:"formData.minGoodsType"}},[e._v("不限")]),e._v(" "),t("el-radio",{attrs:{label:"1"},model:{value:e.formData.minGoodsType,callback:function(a){e.$set(e.formData,"minGoodsType",a)},expression:"formData.minGoodsType"}},[e._v("限制")]),1==e.formData.minGoodsType?t("el-input-number",{attrs:{"controls-position":"right",min:1,max:99999999},model:{value:e.formData.minApplicableGoods,callback:function(a){e.$set(e.formData,"minApplicableGoods",a)},expression:"formData.minApplicableGoods"}}):e._e(),e._v(" "),1==e.formData.minGoodsType?t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("件")]):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:"最高适用商品件数",prop:"maxGoodsType"}},[t("el-radio",{attrs:{label:"0"},model:{value:e.formData.maxGoodsType,callback:function(a){e.$set(e.formData,"maxGoodsType",a)},expression:"formData.maxGoodsType"}},[e._v("不限")]),e._v(" "),t("el-radio",{attrs:{label:"1"},model:{value:e.formData.maxGoodsType,callback:function(a){e.$set(e.formData,"maxGoodsType",a)},expression:"formData.maxGoodsType"}},[e._v("限制")]),1==e.formData.maxGoodsType?t("el-input-number",{attrs:{"controls-position":"right",min:1,max:99999999},model:{value:e.formData.maxApplicableGoods,callback:function(a){e.$set(e.formData,"maxApplicableGoods",a)},expression:"formData.maxApplicableGoods"}}):e._e(),e._v(" "),1==e.formData.maxGoodsType?t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("件")]):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:"适用条件",prop:"minCostCheck"}},[t("div",[t("el-checkbox",{model:{value:e.formData.minCostCheck,callback:function(a){e.$set(e.formData,"minCostCheck",a)},expression:"formData.minCostCheck"}},[e._v("最低消费")]),t("el-input-number",{staticClass:"m-l-10",attrs:{"controls-position":"right",min:1,max:99999999},model:{value:e.formData.minCost,callback:function(a){e.$set(e.formData,"minCost",a)},expression:"formData.minCost"}}),t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("元可用")])],1),e._v(" "),t("div",[t("el-checkbox",{model:{value:e.formData.fitGoodCheck,callback:function(a){e.$set(e.formData,"fitGoodCheck",a)},expression:"formData.fitGoodCheck"}},[e._v("适用商品")]),t("span",{staticClass:"font-14 color-909399"},[e._v("(至少填写一项)")])],1),e._v(" "),e.formData.fitGoodCheck?t("div",{staticClass:"fit-good border-box m-b-20"},[t("div",[t("div",{staticClass:"m-b-20 flex"},[t("span",{staticClass:"font-14 color-606266 w-86 m-r-10"},[e._v("适用商品:")]),t("limitInput",{attrs:{inputWidth:300,inputValue:e.formData.fitGoodDes,getByType:"word",holder:"请输入内容",maxLength:18},on:{"update:inputValue":function(a){e.$set(e.formData,"fitGoodDes",a)}}})],1),e._v(" "),t("div",{staticClass:"flex"},[t("span",{staticClass:"font-14 color-606266 w-86 m-r-10"},[e._v("不适用商品:")]),t("limitInput",{attrs:{inputWidth:300,inputValue:e.formData.noFitGoodDes,getByType:"word",holder:"请输入内容",maxLength:18},on:{"update:inputValue":function(a){e.$set(e.formData,"noFitGoodDes",a)}}})],1)])]):e._e(),e._v(" "),t("div",[t("el-checkbox",{model:{value:e.formData.shareCheck,callback:function(a){e.$set(e.formData,"shareCheck",a)},expression:"formData.shareCheck"}},[e._v("不与其他优惠共享")])],1)]),e._v(" "),t("el-form-item",{attrs:{label:"领券限制",prop:"cardLimitType"}},[t("el-radio",{attrs:{label:"0"},model:{value:e.formData.cardLimitType,callback:function(a){e.$set(e.formData,"cardLimitType",a)},expression:"formData.cardLimitType"}},[e._v("1张/人")]),e._v(" "),t("el-radio",{attrs:{label:"1"},model:{value:e.formData.cardLimitType,callback:function(a){e.$set(e.formData,"cardLimitType",a)},expression:"formData.cardLimitType"}},[e._v("100张/人")]),e._v(" "),t("el-radio",{attrs:{label:"2"},model:{value:e.formData.cardLimitType,callback:function(a){e.$set(e.formData,"cardLimitType",a)},expression:"formData.cardLimitType"}},[e._v("自定义")]),2==e.formData.cardLimitType?t("el-input-number",{attrs:{"controls-position":"right",min:1,max:99999999},model:{value:e.formData.cardLimit,callback:function(a){e.$set(e.formData,"cardLimit",a)},expression:"formData.cardLimit"}}):e._e(),e._v(" "),2==e.formData.cardLimitType?t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("张/人")]):e._e()],1),e._v(" "),t("el-form-item",{attrs:{label:"成本费用",prop:"costValue"}},[t("el-input-number",{attrs:{"controls-position":"right",precision:2,min:1,max:99999999},model:{value:e.formData.costValue,callback:function(a){e.$set(e.formData,"costValue",a)},expression:"formData.costValue"}}),t("span",{staticClass:"font-14 color-303133 p-l-10"},[e._v("元")]),t("span",{staticClass:"font-12 color-909399 p-l-10"},[e._v("请填写大于0的数字(限制两位小数)")])],1),e._v(" "),t("el-form-item",{attrs:{label:"code类型",prop:"useCustomCode"}},[t("el-radio",{attrs:{label:"0"},model:{value:e.formData.useCustomCode,callback:function(a){e.$set(e.formData,"useCustomCode",a)},expression:"formData.useCustomCode"}},[e._v("随机生成")])],1),e._v(" "),t("el-form-item",{attrs:{label:"适用门店说明",prop:"cardExplain"}},[t("limit-textarea",{attrs:{inputWidth:450,inputValue:e.formData.cardExplain,holder:"请输入适用门店说明",getByType:"word",maxLength:50},on:{"update:inputValue":function(a){e.$set(e.formData,"cardExplain",a)}}})],1),e._v(" "),t("el-form-item",{attrs:{label:"适用门店",prop:"applicationStoreType"}},[t("el-radio",{attrs:{label:"1"},model:{value:e.formData.applicationStoreType,callback:function(a){e.$set(e.formData,"applicationStoreType",a)},expression:"formData.applicationStoreType"}},[e._v("所有门店")])],1),e._v(" "),t("el-form-item",{attrs:{label:"使用说明",prop:"useDescript"}},[t("limit-textarea",{attrs:{inputWidth:450,inputValue:e.formData.useDescript,holder:"请输入使用说明",getByType:"word",maxLength:500},on:{"update:inputValue":function(a){e.$set(e.formData,"useDescript",a)}}})],1),e._v(" "),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:e.cancelEdit}},[e._v("取消")]),e._v(" "),t("el-button",{attrs:{type:"primary",loading:e.loadingBtn},on:{click:function(a){e.submitForm("ruleForm")}}},[e._v("确认"+e._s(e.$route.query.templateId?"编辑":"新建"))]),e._v(" "),e.$route.query.templateId?e._e():t("el-button",{attrs:{type:"primary"},on:{click:function(a){e.submitForm("ruleForm","flag")}}},[e._v("确认并继续新建")])],1)],1)],1)])},staticRenderFns:[]};var u=t("VU/8")(c,d,!1,function(e){t("JohW")},"data-v-7f583e16",null);a.default=u.exports}});
\ No newline at end of file
webpackJsonp([46],{IuWw:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),i=a("Ggl+"),r=a("LRn8"),s=a("P9l9"),l=a("PI0u"),c=a("3E4D"),d=a("Ch4/"),u={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{activeName:"first",tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"1",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},loading:!1,selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,defaultStoreList:[],loadingBtn:!1}},computed:{},methods:{checkGroupIds:function(t){this.conditionObj.storeGroup=t,this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.defaultStoreList=this.conditionObj.storeGroup,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!o()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,a=[];e.conditionObj.storeGroup.forEach(function(t){a.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var n={search:e.conditionObj.searchInput||"",storeIds:e.multipleSelection.map(function(t){return t.storeId}).join(",")||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",enterpriseId:e.activeBrand,delOptFlag:t.delOptFlag,reason:t.reason,chooseAllFlag:e.selectRadio};Object(s.d)("/haoban-app-daily-three-web/daily/batch-delete-brand-task",n).then(function(t){var a=t.data;if(1==a.errorCode)return c.a.showmsg("删除成功","success"),void e.getTableList();d.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:Object(l.a)(function(){var t=this;t.loadingBtn=!0;var e=[];t.conditionObj.storeGroup.forEach(function(t){e.push(t.storeGroupId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var a={search:t.conditionObj.searchInput||"",storeGroupIds:e.join(",")||"",storeType:t.conditionObj.storeType||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",enterpriseId:t.activeBrand};Object(s.b)("/haoban-app-daily-three-web/daily/batch-export-brand-task",a).then(function(e){if(t.loadingBtn=!1,!e.data)return d.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=document.createElement("a");n.download="云日报记录.csv",n.style.display="none",n.href=URL.createObjectURL(a),document.body.appendChild(n),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},300),handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},toDetail:function(t,e){this.$router.push("dailyDetail?storeId="+e.storeId)},getTableList:function(t){var e=this;e.loading=!0;var a=[];e.conditionObj.storeGroup.forEach(function(t){a.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var n={search:e.conditionObj.searchInput||"",storeGroupIds:a.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",currentPage:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(s.a)("/haoban-app-daily-three-web/daily/page-brand-task",n).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.result||[],e.total=a.result.totalCount,!1;d.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.activeBrand=this.brandId,this.activeGroup=this.activeGroupId,this.brandId&&this.getTableList()},destroyed:function(){this.activeGroup="",document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:r.a,gicSelectGroup:i.a}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[a("div",{staticClass:"daily-set-content border-box"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264 ",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:t.brandId,width:213,selectData:t.conditionObj.storeGroup},on:{checkGroupIds:t.checkGroupIds}}),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),t._v(" "),a("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),a("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticStyle:{width:"100%",overflow:"hidden","text-overflow":"ellipsis"}},[t._v(t._s(e.row.storeName))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.taskCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),a("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"m-b-20"},[e("div",{staticClass:"el-alert el-alert--info",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title"},[this._v("预计2021年1月功能更新后将仅保留近一年数据,历史数据将清除。如需保存超过一年历史数据,请于1月前导出保存。")])])])])}]};var h=a("VU/8")(u,p,!1,function(t){a("R+NT")},"data-v-7c63ddee",null);e.default=h.exports},"R+NT":function(t,e){}});
\ No newline at end of file
webpackJsonp([47],{n0F7:function(e,t){},upTI:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("l46T"),s=a("Kkt8"),o=a("PI0u"),n=a("Ch4/"),i=a("3E4D"),d=a("P9l9"),l={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeId:"1",activeBrand:this.brandId,wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",createName:localStorage.getItem("userInfos")&&JSON.parse(localStorage.getItem("userInfos")).staffDTO?JSON.parse(localStorage.getItem("userInfos")).staffDTO.staffName:"",formData:{taskTitle:"",taskContent:"",addTimeType:"1"},rules:{taskTitle:[{required:!0,message:"请输入任务标题",trigger:"blur"}],taskContent:[{required:!0,message:"请输入任务内容",trigger:"blur"}]}}},computed:{},methods:{submitForm:Object(o.a)(function(e){var t=this;t.$refs[e].validate(function(e){e&&t.postSave()})},500),postSave:function(){var e=this,t={taskTitle:e.formData.taskTitle,taskContent:e.formData.taskContent,addTimeType:e.formData.addTimeType,wxEnterpriseId:e.wxEnterpriseId,createName:e.createName};Object(d.d)("/haoban-app-tel-task-three-web/create-session-task",t).then(function(t){var a=t.data;if(1==a.errorCode)return i.a.showmsg("保存成功","success"),void e.$router.push("/taskList");n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getData:function(){var e=this,t={enterpriseId:e.activeBrand,taskType:1};Object(d.d)("/haoban-app-tel-task-three-web/find-task-setting",t).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.relaxTaskJudge=1==a.result.relaxTaskJudge,void(e.setObj=a.result);n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","3"),this.brandId},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{limitInput:r.a,limitTextarea:s.a}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"task-set-content boder-box"},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.formData,rules:e.rules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"任务标题",prop:"taskTitle"}},[a("limitInput",{attrs:{inputWidth:372,disflag:!!e.$route.query.sessionTaskId,inputValue:e.formData.taskTitle,getByType:"word",holder:"请输入任务标题",maxLength:20},on:{"update:inputValue":function(t){e.$set(e.formData,"taskTitle",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"任务内容",prop:"taskContent"}},[a("limit-textarea",{attrs:{inputWidth:372,inputValue:e.formData.taskContent,holder:"请输入任务内容",getByType:"word",maxLength:200},on:{"update:inputValue":function(t){e.$set(e.formData,"taskContent",t)}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"添加好友时间",prop:"addTimeType"}},[a("el-radio",{attrs:{label:"1"},model:{value:e.formData.addTimeType,callback:function(t){e.$set(e.formData,"addTimeType",t)},expression:"formData.addTimeType"}},[e._v("近一个月")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:e.formData.addTimeType,callback:function(t){e.$set(e.formData,"addTimeType",t)},expression:"formData.addTimeType"}},[e._v("近一周")])],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.submitForm("ruleForm")}}},[e._v("确认"+e._s(e.$route.query.sessionTaskId?"编辑":"新建"))])],1)],1)],1)])},staticRenderFns:[]};var m=a("VU/8")(l,u,!1,function(e){a("n0F7")},"data-v-79c3e69c",null);t.default=m.exports}});
\ No newline at end of file
webpackJsonp([48],{"6dAX":function(t,e){},c7iB:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Xxa5"),r=a.n(n),s=a("exGp"),o=a.n(s),i=a("Ch4/"),l=a("3E4D"),c=a("PI0u"),u=a("P9l9"),d={components:{},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",searchInput:"",loading:!1,tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(t){t&&this.getTableList()}},methods:{toDel:function(t,e){var a=this;a.$confirm("是否要删除选中的卡券模板?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(e.templateId)}).catch(function(){})},delCardList:function(t){var e=this,a={templateId:t};Object(u.d)("/haoban-app-customer-web/inner/delete-template",a).then(function(t){var a=t.data;if(1==a.errorCode)return l.a.showmsg("删除成功","success"),void e.getTableList();i.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/newCardTemp?templateId="+e.templateId)},toInput:Object(c.a)(function(t,e){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},toNewCard:function(){this.$router.push("/newCardTemp")},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var t=this;return o()(r.a.mark(function e(){var a,n;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(a=t).loading=!0,n={wxEnterpriseId:a.wxEnterpriseId,search:a.searchInput||""},Object(u.d)("/haoban-app-customer-web/inner/list-template",n).then(function(t){var e=t.data;if(a.loading=!1,1==e.errorCode)return a.tableData=e.result||[],void(!a.searchInput&&e.result&&e.result.length&&(a.total=e.result.length));i.a.errorMsg(e)}).catch(function(t){a.loading=!1,a.$message.error({duration:1e3,message:t.message})});case 4:case"end":return e.stop()}},e,t)}))()}},mounted:function(){this.$emit("showTab","1"),this.getTableList()}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[a("div",[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入模板名称",maxlength:"50",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("span",{staticClass:"font-12 color-909399 p-l-10 font-w-300"},[t._v("内购券是选取GIC中针对企业内部员工发下的,最多创建20个模板")])],1),t._v(" "),a("el-button",{attrs:{disabled:t.total>=20,type:"primary"},on:{click:t.toNewCard}},[t._v("新增模板")])],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 0px)"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"卡券模板名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.templateName)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券类型"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.cardType?a("span",[t._v("抵金券")]):t._e(),t._v(" "),1==e.row.cardType?a("span",[t._v("折扣券")]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.commitName||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"最近编辑时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.updateTime)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.updateTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toEdit(e.$index,e.row)}}},[t._v("编辑")]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDel(e.$index,e.row)}}},[t._v("删除")])]}}])})],1)],1)])},staticRenderFns:[]};var f=a("VU/8")(d,p,!1,function(t){a("6dAX")},"data-v-70ea766e",null);e.default=f.exports}});
\ No newline at end of file
webpackJsonp([49],{"+1S/":function(t,e){},K8Yn:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),s=a("Qs+A"),l=a("P9l9"),o=a("Ch4/"),r=a("PI0u"),i={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-288+"px",navpath:[{name:"首页",path:"/index"},{name:"通讯录",path:"/contactsList"},{name:"组织架构管理",path:"/orgStructSet"},{name:"回收站",path:""}],options:[{label:"所有部门类型",value:""},{label:"分组",value:"0"},{label:"门店",value:"1"}],searchInput:"",storeFlag:"",currentPage:1,pageSize:20,total:0,tableData:[],setVisible:!1,recoverItem:{}}},computed:{},methods:{toRecover:function(t,e){this.recoverItem=e,this.setVisible=!0},closeSet:function(){this.setVisible=!1,this.currentPage=1,this.getTableList()},changeRoute:function(t){this.$router.push(t)},toInput:Object(r.a)(function(t,e){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},changeType:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(t){var e=this,a={keyWord:e.searchInput||"",storeFlag:e.storeFlag,pageNum:e.currentPage,pageSize:e.pageSize};Object(l.a)("/haoban-manage3-web/department-recycle-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.total,!1;o.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){this.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,setDepartment:s.a}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition-search m-t-20"},[a("el-input",{staticClass:"w-293",attrs:{placeholder:"请输入部门名称/CODE/ID",maxlength:"50",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}}),a("el-select",{staticClass:"w-191 m-l-10",attrs:{placeholder:"所有部门类型"},on:{change:t.changeType},model:{value:t.storeFlag,callback:function(e){t.storeFlag=e},expression:"storeFlag"}},t._l(t.options,function(t){return a("el-option",{key:t.value+"type",attrs:{label:t.label,value:t.value}})}))],1),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"部门名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:["iconfont color-2f54eb",1==e.row.isStore?"icondianpu-kuai":"iconqiye-tianchong"]}),a("span",{staticClass:"p-l-10"},[t._v(t._s(e.row.departmentName||"--"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"ERP CODE","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeCode||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toRecover(e.$index,e.row)}}},[t._v("恢复")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])]),t._v(" "),t.setVisible?a("set-department",{attrs:{recoverItem:t.recoverItem},on:{closeSet:t.closeSet}}):t._e()],1)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"overstore-tip"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title color-606266 font-14"},[this._v("什么是回收站?"),e("br"),this._v("GIC分组或门店被删除后将被放置到回收站,如果是误删或想再次启用,您可以随时恢复它们。")])])])])}]};var u=a("VU/8")(i,c,!1,function(t){a("+1S/")},"data-v-6ec733bc",null);e.default=u.exports}});
\ No newline at end of file
webpackJsonp([5],{"2X9c":function(t,s,i){t.exports=i.p+"static/img/error_500.ed0cba4.svg"},FskK:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=i("2X9c"),e=i.n(a),n={name:"page500",data:function(){return{img_500:e.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},c={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_500,alt:"500"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var r=i("VU/8")(n,c,!1,function(t){i("u9CB")},"data-v-a27616c0",null);s.default=r.exports},u9CB:function(t,s){}});
\ No newline at end of file
webpackJsonp([5],{"/ud3":function(t,a){},"7wEa":function(t,a){},CVxX:function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAuCAYAAABXuSs3AAAAAXNSR0IArs4c6QAABmBJREFUaAXVWmtsFFUU/u5237t9QqMoghApppVXKRKgCEEjL0GjaQJCgtKKJhD5IQaQRAyJJkaIkQQ0AioRE0IQgwFFQiAgJRAexUepoLzkUaGULrvd92M8Z5bBYdntzLS7kZ5kOjN37j33mzPnfPfcsxW4LZIkiUAIdZKEWkmgAhLcyrP/9SzQLiQ0CoENTjvWC0F3JIL/+CWplxTCJgI9ge/vVyHwe4Uds11CNAu2tD+EPfc7aMWYDN5lxzPCH5ReS0j4XHnQHc4mgXmiPSAdJqcZ2R0AKxjJv48IX1Dy3TeBqCDTOnPA+gLk3VmQhj+ieHuVF6FwemWlJSZ8/UER3E6ZD9J3MtBqNtC3w66lxXmoqrAS8PR26Flsgt2WHdAMJGsWZ2U+v4Q/L8bQeiuBVk+Cm5DvMqGUQFc8ZobLkT3gXbZ4MATs2B/CgeMR/HomijhRVDoxERWU9zdj5hQHxlVZ03Ux1NZpi8diwPa9IXz5fQAebwJ5JmDQAAsGD7SgpMCEwgKyLr1DICShuSWOpvMxnGyKyS82ZpgNK+bnw9YF/J0C3uqRsPQTL06djSLfLVDzrB0TRtg1XaGlLYF1WwM42hjBc+PsWFKbzCo+2xLAjgMhbFlZDKddnzuRnYzJabJc7XKPDHrKWBs+XVaEaU85NEHzLOzrS+vcGPioGbsOhnCtNYHjp6LYtCMgP3MYCF5DPt58I4G3VnrlIFww04WnR9qMvTX1piUbj/ez4PSFGG7QFzh0MiLrYH38TK/otjgH4eKPvfD4Enhnnhs1Ex2GJl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ZbJAkKwXEcsZnDE4/FL/fE6Pxqz+a9ETnwoiY0xVnfueuGyH5cVHXsd93GkJqpcvizXV/AcA1VWEEdOhLBoxvaLx1F8fhfFxyM55AsxjKeYL2iDd13EXekvptVCpFx/7bKMY24ixThRhV/6RNHmTDkRbZAhj1rlIXm5vNKTwmWnyAQFfAaWsRPAk/Llrorff1IcUf1PNkU50GS80IxPBS2ch4WH+cIesAb6oiT48rL4jeRjmbuKnVmNgSUgOfEEscKIdO8/eXkAmYs2zcmAVVyliAC5isP0LBoDUnI83dQWT7kSjKuolqhilQe03DbvPYt11sb1T8sSLKvRapxIWcVViohiru7rqhrCMSiriCkhBqhSKiHFKlIAKcaJlBKu1YgANZRWA1Idis8JFgENKNJ/tYQFWsUClahBVvXOW/+xLMUjFLkcOZEBypeDjfpqGXwOfqD651bBS7BhAsomrrnVgKBr4BuwESllKbk5xBKpc9wquI1fQ3F8qogqQ/mCr38g3pM/DAp3bY6TmbG0WVZuqCcrbEQVxCqPY4z3/RaXwKSPealbfpYZFtaOOXqthUSSPjXfyfHrL+ORXw/Bunr4H9jU2tqG8uXlNb+5ueGIDNncFHCBLezUBvgaOFFTrONuFw3GiZT1xEUK3S6oj5yfdW5srHmr1ziR+fDVEf6cK/6HPw0wOUyozQE9OTH41E5u/oHi1uGwC7TPaXsYwTyD+YZ1JIFJL0Cf00ZZT1zUZd31FAdv/IMbXPpnSxGTnD5dBP5ZExfDp8KfOAWuY2PMo/BkjiR/2BzJMfyzk2RPx4o5+BU/vyIMX/Uj1jbNNjI5/AQ3M9oQ0piKSHlg+qHxYVTibrljPiTEg4im4qOYiDyRWsNE/EGsroaicuiGmpQpbGFOTBceZ+aKF6NsDvIBsdUnJvlA0IAyuFsDrv9X/o+uwP8AfC1d4fAvAlwAAAAASUVORK5CYII="},WRJw:function(t,a){},eBvo:function(t,a){},hlTV:function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARIAAACsCAYAAAC3gCOSAAAAAXNSR0IArs4c6QAABHpJREFUeAHt2z1ywjAQBlDgCGlz/6OlzRFIcMvQ2Ja8P3o0mTBY2n3r2e67316fn9/n3/bXhwABAnsFvr8e98feh/yeAAEC7wIWybuI/wkQ2C1gkewm8wABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQI5BS4b2VJ/+YcztVVbSnOq+90Xw8BWZsec9QFgVABiySU3+UEeghYJD3mqAsCBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQuJVL/0qoemsJ5BOQtck3ExURKCdgkZQbmYIJ5BOwSPLNREUECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgcEigXPr3UJceIrCQQERCXtZmoRdMqwRmCVgks2SdS2AhAYtkoWFrlQABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAr0FpH97z3dadxEJ02nNOPi0gKzNaUIHECBgkXgHCBA4LWCRnCZ0AAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAjkEJD+zTGHj1VI2H5k8WVCAVmbhENREoFqAhZJtYmpl0BCAYsk4VCURIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQJHBKR/j6h5poyABPU1o5K1ucbZLQRaC1gkrcerOQLXCFgk1zi7hQABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgSmC0j/Tid2AYF4gdkpaFmb+BmrgEB5AYuk/Ag1QCBewCKJn4EKCBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQGCIgPTvEEaH7BGYnUTdU4vfjhGQtRnj6BQCSwtYJEuPX/MExghYJGMcnUKAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAEC4QLSv+EjUEAHgdUTzbI2Hd5iPRAIFrBIggfgegIdBCySDlPUAwECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAi8BKR/vQYEkglUTBLL2iR7iZRDoKKARVJxamomkEzAIkk2EOUQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAAAECBAgQIECAwFEB6d+jcp5rK1AxfRs9DFmb6Am4n0ADAYukwRC1QCBawCKJnoD7CRAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQGCQgPTvIEjHEFhVYEtLy9qsOn19ExgoYJEMxHQUgVUFLJJVJ69vAgMF/gFH7TRcgy9eyQAAAABJRU5ErkJggg=="},i4c9:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i=e("3Xzz"),s={name:"total-preview",props:{activeBrand:{type:String,default:function(){return""}},loginData:{type:Object,default:function(){return{totalClerkCnt:"0",activeClerkCnt:"0",loginClerkCnt:"0",avgLoginTimes:"0",avgVisitTime:"",toDayLoginClerkCnt:"0"}}}},data:function(){return{dataObj:{}}},methods:{changeRoute:function(t){this.$router.push(t)}},watch:{loginData:function(t,a){this.dataObj=t}},mounted:function(){this.dataObj=this.loginData}},n={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("ul",{staticClass:"flex flex-space-between"},[e("li",{staticClass:"data-total-cell today flex-1"},[e("div",{staticClass:"flex p-20-15"},[t._m(0),t._v(" "),e("div",{staticClass:"m-l-20"},[e("div",{staticClass:"cell-title"},[e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"今日截至当前时间的登录人数。导购同时归属多家门店的记多人。更新频率 15 分钟",placement:"top-start"}},[e("span",{staticClass:"font-13 color-909399 cell-title-span",staticStyle:{cursor:"pointer","padding-bottom":"2px"}},[t._v("今日登录人数")])])],1),t._v(" "),e("div",{staticClass:"font-28 color-303133 cell-value font-din m-t-15"},[t._v(t._s(t.loginData.toDayLoginClerkCnt||"0"))])])])]),t._v(" "),e("li",{staticClass:"data-total-cell w-m-192 flex-1"},[e("div",{staticClass:"flex p-20-15"},[t._m(1),t._v(" "),e("div",{staticClass:"m-l-20"},[e("div",{staticClass:"cell-title"},[e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"截至昨日23:59:59统计出的昨日登录人数。导购同时归属多家门店的记多人。",placement:"top-start"}},[e("span",{staticClass:"font-13 color-909399 cell-title-span",staticStyle:{cursor:"pointer","padding-bottom":"2px"}},[t._v("昨日登录人数")])])],1),t._v(" "),e("div",{staticClass:"font-28 color-303133 cell-value font-din m-t-15"},[t._v(t._s(t.loginData.loginClerkCnt||"0"))])])])]),t._v(" "),e("li",{staticClass:"data-total-cell w-m-220 flex-1"},[e("div",{staticClass:"flex p-20-15"},[t._m(2),t._v(" "),e("div",{staticClass:"m-l-20"},[e("div",{staticClass:"cell-title"},[e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"企业下人均每日的登录次数。",placement:"top-start"}},[e("span",{staticClass:"font-13 color-909399 cell-title-span ",staticStyle:{cursor:"pointer","padding-bottom":"2px"}},[t._v("昨日人均登录次数")])])],1),t._v(" "),e("div",{staticClass:"font-28 color-303133 cell-value font-din m-t-15"},[t._v(t._s(t.loginData.avgLoginTimes||"0"))])])])]),t._v(" "),e("li",{staticClass:"data-total-cell w-m-220 flex-1"},[e("div",{staticClass:"flex p-20-15"},[t._m(3),t._v(" "),e("div",{staticClass:"m-l-20"},[e("div",{staticClass:"cell-title"},[e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"企业下人均每日的访问总时长。",placement:"top-start"}},[e("span",{staticClass:"font-13 color-909399 cell-title-span",staticStyle:{cursor:"pointer","padding-bottom":"2px"}},[t._v("昨日人均访问总时长")])])],1),t._v(" "),e("div",{staticClass:"font-28 color-303133 cell-value font-din m-t-15"},[t._v(t._s(t._f("formatTime")(t.loginData.avgVisitTime)))])])])]),t._v(" "),e("li",{staticClass:"data-total-cell flex-1"},[e("div",{staticClass:"flex p-20-15"},[t._m(4),t._v(" "),e("div",{staticClass:"m-l-20"},[e("div",{staticClass:"cell-title"},[e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"企业下的好办门店员工总人数,导购同时归属多家门店的记多人",placement:"top-start"}},[e("span",{staticClass:"font-13 color-909399 cell-title-span",staticStyle:{cursor:"pointer","padding-bottom":"2px"}},[t._v("员工总人数")])])],1),t._v(" "),e("div",{staticClass:"font-28 color-303133 cell-value font-din m-t-15"},[t._v(t._s(t.loginData.totalClerkCnt||"0"))])])])]),t._v(" "),e("li",{staticClass:"data-total-cell w-m-230 flex-1"},[e("div",{staticClass:"flex p-20-15"},[t._m(5),t._v(" "),e("div",{staticClass:"m-l-20"},[e("div",{staticClass:"cell-title"},[e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"截至昨日好办上线门店企业员工近三天登录总人数",placement:"top-start"}},[e("span",{staticClass:"font-13 color-909399 cell-title-span",staticStyle:{cursor:"pointer","padding-bottom":"2px"}},[t._v("近三日活跃总人数")])])],1),t._v(" "),e("div",{staticClass:"font-28 color-303133 cell-value font-din m-t-15"},[t._v(t._s(t.loginData.activeClerkCnt||"0"))])])]),t._v(" "),e("div",{staticClass:"to-link-icon"},[e("el-tooltip",{attrs:{content:"活跃人员明细",placement:"top"}},[e("div",{staticClass:"detail-icon cursor-pointer flex flex-align-center flex-pack-center",on:{click:function(a){t.changeRoute("/activeDetail?brandId="+t.activeBrand)}}},[e("span",{staticClass:"font-13 iconfont iconmingxibeifen color-c0c4cc"})])])],1)])])},staticRenderFns:[function(){var t=this.$createElement,a=this._self._c||t;return a("div",[a("img",{staticClass:"m-w-55",attrs:{src:e("GSwY"),alt:""}})])},function(){var t=this.$createElement,a=this._self._c||t;return a("div",[a("img",{staticClass:"m-w-55",attrs:{src:e("R7yx"),alt:""}})])},function(){var t=this.$createElement,a=this._self._c||t;return a("div",[a("img",{staticClass:"m-w-55",attrs:{src:e("R7yx"),alt:""}})])},function(){var t=this.$createElement,a=this._self._c||t;return a("div",[a("img",{staticClass:"m-w-46",attrs:{src:e("CVxX"),alt:""}})])},function(){var t=this.$createElement,a=this._self._c||t;return a("div",[a("img",{staticClass:"m-w-46",attrs:{src:e("N1jj"),alt:""}})])},function(){var t=this.$createElement,a=this._self._c||t;return a("div",[a("img",{staticClass:"m-w-46",attrs:{src:e("N1jj"),alt:""}})])}]};var c=e("VU/8")(s,n,!1,function(t){e("zDVW")},"data-v-450ec76c",null).exports,r=e("jNLg"),o={data:function(){return{chart:null}},props:{charData:{type:Array,default:function(){return[]}},id:String,width:{type:Number,default:null}},watch:{},methods:{}},l={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"bar-chart-body"},[t._m(0),t._v(" "),e("ul",t._l(t.charData,function(a,i){return e("li",{key:i+"process",staticClass:"cursor-pointer"},[e("div",{staticClass:"group-name font-12 color-000-45 m-b-4"},[t._v(t._s(a.storeGroupName))]),t._v(" "),e("el-tooltip",{attrs:{placement:"top"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("div",[e("div",{staticClass:"flex flex-space-between"},[e("span",{staticClass:"font-12 color-fff"},[t._v(t._s(a.storeGroupName))]),e("span",{staticClass:"font-12 color-fff p-l-40"},[t._v("登录率:"+t._s(a.loginRate))])]),t._v(" "),e("div",{staticClass:"m-t-10"},[e("span",{staticClass:"process-tip-dot bg-e6ecfa"}),t._v(" "),e("span",{staticClass:"font-12 color-fff"},[t._v("员工人数:")]),t._v(" "),e("span",{staticClass:"font-12 color-fff"},[t._v(t._s(a.totalClerkCnt))])]),t._v(" "),e("div",{staticClass:"m-t-10"},[e("span",{staticClass:"process-tip-dot bg-597ef7"}),t._v(" "),e("span",{staticClass:"font-12 color-fff"},[t._v("登录人数:")]),t._v(" "),e("span",{staticClass:"font-12 color-fff"},[t._v(t._s(a.loginClerkCnt))])])])]),t._v(" "),e("div",{staticClass:"people-total"},[e("div",{staticClass:"flex people-total-bg"},[e("div",{staticClass:"login-total",style:{width:a.loginRate}}),t._v(" "),e("div",{staticClass:"login-rate",style:{left:a.loginRate}},[t._v(t._s(a.loginRate))])])])])],1)}))])},staticRenderFns:[function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"bar-legend m-b-20"},[a("span",{staticClass:"square-pot bg-597ef7"}),a("span",{staticClass:"font-12 color-8c8c8c p-l-5"},[this._v("登录员工数")]),a("span",{staticClass:"square-pot bg-e6ecfa m-l-40"}),a("span",{staticClass:"font-12 color-8c8c8c p-l-5"},[this._v("员工总数")])])}]};var A=e("VU/8")(o,l,!1,function(t){e("WRJw")},"data-v-a60a0b10",null).exports,d=e("rbYK"),g=e("P9l9"),f=e("Ch4/"),v=e("Q0Ca"),C={name:"activeDetail",data:function(){return{navpath:[{name:"好办使用详情",path:"/enterpriseUseData"},{name:"激活人员明细",path:""}],selectTendDay:"",selectStartDay:"",selectEndDay:"",pickerOptions:{disabledDate:function(t){var a=Date.now()-6912e5;return t.getTime()>=Date.now()-864e5||t.getTime()<a}},brandListData:[],activeBrand:"",loginData:{totalClerkCnt:"0",activeClerkCnt:"0",loginClerkCnt:"0",avgLoginTimes:"0",avgVisitTime:"",toDayLoginClerkCnt:"0"},tabActive:"1",charData:[],processData:[]}},computed:{},methods:{changeDate:function(){this.getTendData()},changeTab:function(t){this.tabActive=t,this.getTendData()},changeSelect:function(t){var a=this;a.brandListData.forEach(function(e){e.enterpriseId==t&&(a.activeBrand=e.enterpriseId)}),a.getLoginData(),a.getTendData(),a.getAreaLoginData()},getBrandData:function(){var t=this;Object(g.d)("/haoban-manage3-web/wx-enterprise-list",{}).then(function(a){var e=a.data;1!=e.errorCode?f.a.errorMsg(e):e.result&&e.result.length&&(t.brandListData=e.result,t.activeBrand=t.$route.query.brandId?t.$route.query.brandId:t.brandListData[0].enterpriseId,t.getLoginData(),t.getTendData(),t.getAreaLoginData())}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},changeRoute:function(t){this.$router.push(t)},getLoginData:function(t){var a=this,e={enterpriseId:a.activeBrand,startDate:a.selectEndDay,endDate:a.selectEndDay};Object(g.a)("/haoban-manage3-web/web/total-activation-data",e).then(function(t){var e=t.data;if(1==e.errorCode)return e.result.avgVisitTime=parseInt(e.result.avgVisitTime),a.loginData=e.result||{totalClerkCnt:"0",activeClerkCnt:"0",loginClerkCnt:"0",avgLoginTimes:"0",avgVisitTime:"",toDayLoginClerkCnt:"0"},!1;f.a.errorMsg(e)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},getTendData:function(t){var a=this,e={enterpriseId:a.activeBrand,datesType:a.tabActive,startDate:1==a.tabActive?a.selectStartDay:a.selectTendDay,endDate:1==a.tabActive?a.selectEndDay:a.selectTendDay};Object(g.a)("/haoban-manage3-web/web/total-login-data",e).then(function(t){var e=t.data;if(1==e.errorCode)return e.result.result&&e.result.result.forEach(function(t){t.bizDates=1==a.tabActive?t.bizDates.split("-")[1]+"-"+t.bizDates.split("-")[2]:t.bizDates,t.avgLoginTimes=parseInt(t.avgLoginTimes),t.avgVisitTime=parseInt(t.avgVisitTime)}),a.charData=e.result.result||[],!1;f.a.errorMsg(e)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})},getAreaLoginData:function(t){var a=this,e={enterpriseId:a.activeBrand,startDate:a.selectEndDay,endDate:a.selectEndDay};Object(g.a)("/haoban-manage3-web/web/area-login-ranking",e).then(function(t){var e=t.data;if(1==e.errorCode)return e.result.result&&e.result.result.forEach(function(t){t.loginRate=Math.round(100*(t.loginClerkCnt/t.totalClerkCnt).toFixed(3))+"%"}),a.processData=e.result.result||[],!1;f.a.errorMsg(e)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})}},watch:{activeBrand:function(t,a){this.activeBrand=t}},mounted:function(){this.selectStartDay=v.a.timeStampToYmd((new Date).getTime()-6048e5),this.selectEndDay=v.a.timeStampToYmd((new Date).getTime()-864e5),this.selectTendDay=v.a.timeStampToYmd((new Date).getTime()-864e5),this.getBrandData(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:i.a,totalPreview:c,dayLoginChart:r.a,areaProgress:A,timeLoginChart:d.a}},h={render:function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"my-customer-wrap common-set-wrap"},[i("div",{staticClass:"right-content"},[i("div",{staticClass:"right-box"},[i("div",{staticClass:"apps-content flex"},[i("div",{staticClass:"apps-content-right"},[i("div",{staticClass:"flex flex-space-between"},[t._m(0),t._v(" "),i("div",{staticClass:"my-customer-brand"},[i("span",{staticClass:"font-14 color-606266 "},[t._v("切换商户")]),i("el-select",{staticClass:"p-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeSelect},model:{value:t.activeBrand,callback:function(a){t.activeBrand=a},expression:"activeBrand"}},t._l(t.brandListData,function(t){return i("el-option",{key:t.enterpriseId,attrs:{label:t.enterpriseName,value:t.enterpriseId}})}))],1)]),t._v(" "),i("div",{staticClass:"data-total-view m-t-20"},[i("total-preview",{attrs:{activeBrand:t.activeBrand,loginData:t.loginData}})],1),t._v(" "),i("div",{staticClass:"chart-body m-t-32"},[i("div",{staticClass:"chart-wrap flex flex-space-between"},[i("div",{staticClass:"chart-left flex-1 border-box"},[i("div",{staticClass:"chart-top flex flex-space-between"},[i("div",{staticClass:"flex"},[i("div",{class:["font-14 font-w-bold cursor-pointer",1==t.tabActive?"color-303133":"color-909399"],on:{click:function(a){t.changeTab("1")}}},[t._v("日访问趋势")]),t._v(" "),i("div",{class:["font-14 font-w-bold day-tend cursor-pointer",2==t.tabActive?"color-303133":"color-909399"],on:{click:function(a){t.changeTab("2")}}},[t._v("日时段访问趋势")])]),t._v(" "),i("div",{staticClass:"cursor-pointer hover-link",on:{click:function(a){t.changeRoute("/loginDetail?brandId="+t.activeBrand)}}},[i("span",{staticClass:"font-14 color-909399"},[t._v("查看登录人员明细")]),i("i",{staticClass:"el-icon-arrow-right el-icon--right font-14 color-909399"})])]),t._v(" "),2==t.tabActive?i("div",{staticClass:"date-div m-t-20"},[i("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd",type:"date",placeholder:"选择日期",clearable:!1,"picker-options":t.pickerOptions},on:{change:t.changeDate},model:{value:t.selectTendDay,callback:function(a){t.selectTendDay=a},expression:"selectTendDay"}})],1):t._e(),t._v(" "),i("div",{staticClass:"chart-content m-t-20"},[t.charData.length?i("day-login-chart",{attrs:{charData:t.charData,id:"day-login-chart"}}):t._e(),t._v(" "),t.charData.length?t._e():i("div",{staticClass:"no-data-char m-t-90"},[i("img",{attrs:{src:e("QJEo"),alt:""}}),t._v(" "),i("p",{staticClass:"font-12 color-c0c4cc m-t-20"},[t._v("- 暂无数据 -")])]),t._v(" "),t.charData.length?i("div",{staticClass:"m-t-20"},[i("time-login-chart",{attrs:{charData:t.charData,id:"time-login-chart"}})],1):t._e(),t._v(" "),t.charData.length?t._e():i("div",{staticClass:"no-data-char m-t-150"},[i("img",{attrs:{src:e("QJEo"),alt:""}}),t._v(" "),i("p",{staticClass:"font-12 color-c0c4cc m-t-20"},[t._v("- 暂无数据 -")])])],1)]),t._v(" "),i("div",{staticClass:"chart-right flex-1 m-l-10 border-box"},[i("div",{staticClass:"chart-top flex flex-space-between"},[i("div",{staticClass:"font-14 color-303133 font-w-bold "},[t._v("昨日区域登录统计")]),t._v(" "),i("div",{staticClass:"cursor-pointer hover-link",on:{click:function(a){t.changeRoute("/areaLoginDetail?brandId="+t.activeBrand)}}},[i("span",{staticClass:"font-14 color-909399"},[t._v("区域登录明细")]),i("i",{staticClass:"el-icon-arrow-right el-icon--right font-14 color-909399"})])]),t._v(" "),t.processData.length?i("div",{staticClass:"chart-content"},[i("area-progress",{attrs:{charData:t.processData,id:"a-chart"}})],1):t._e(),t._v(" "),t.processData.length?t._e():i("div",{staticClass:"no-data-char m-t-180"},[i("img",{staticClass:"w-274",attrs:{src:e("hlTV"),alt:""}}),t._v(" "),i("p",{staticClass:"font-12 color-c0c4cc m-t-20"},[t._v("- 暂无数据 -")])])])])])])])])])])},staticRenderFns:[function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"flex flex-start"},[a("div",{staticClass:"font-16 color-303133 w-140 line-h-32 font-w-bold "},[this._v("好办使用详情")]),this._v(" "),a("div",{staticClass:"el-alert el-alert-tip el-alert--info flex flex-align-start",attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),this._v(" "),a("div",{staticClass:"el-alert__content"},[a("span",{staticClass:"el-alert__title color-606266 font-14"},[this._v("数据更新截至于昨日。今日数据需要隔天上午8点后进行查看。")])])])])}]};var u=e("VU/8")(C,h,!1,function(t){e("7wEa")},"data-v-af6270ac",null);a.default=u.exports},jNLg:function(t,a,e){"use strict";var i=e("5i7M"),s=e("Q0Ca"),n={data:function(){return{chart:null}},props:{charData:{type:Array,default:function(){return[]}},id:String,width:{type:Number,default:800}},mounted:function(){var t=this;setTimeout(function(){t.drawChart()},30)},beforeUpdate:function(){this.drawChart()},watch:{charData:function(){this.drawChart()}},methods:{drawChart:function(){this.chart&&this.chart.destroy(),this.chart=new i.a({container:this.id,width:this.width,autoFit:!0,height:280,padding:[50,80,60,60]}),this.chart.data(this.charData);var t=this.charData.length>7?15:25;this.chart.scale({avgVisitTime:{min:0,nice:!0,alias:"人均访问时长"},loginClerkCnt:{nice:!0,alias:"总登录人数"},bizDates:{}}),this.chart.annotation().text({top:!0,position:["-4%","-10%"],content:"登录人数",offsetX:0,offsetY:0}),this.chart.annotation().text({top:!0,position:["100%","-10%"],content:"访问时长",offsetX:0,offsetY:0}),this.chart.axis("avgVisitTime",{grid:null,title:null,label:{formatter:function(t){return s.a.formatTime(t)}}}),this.chart.axis("loginClerkCnt",{title:null,label:{formatter:function(t){return~String(t).indexOf(".")?"":t}}}),this.chart.tooltip({showCrosshairs:!0,shared:!0,itemTpl:'<li style="padding-bottom: 10px;><span style="background-color:{color};width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:8px;"></span>{name}: {value}</li>'}),this.chart.interval().position("bizDates*loginClerkCnt").color("#597EF7").size(t),this.chart.line().position("bizDates*avgVisitTime").color("#5ad8a6").tooltip("bizDates*avgVisitTime",function(t,a){return{name:"人均访问时长",value:s.a.formatTime(a)}}),this.chart.legend({position:"top",itemGap:20,custom:!0,items:[{value:"loginClerkCnt",name:"总登录人数",marker:{symbol:"square",style:{fill:"#597ef7",r:4}}},{value:"avgVisitTime",name:"人均访问时长",marker:{symbol:"hyphen",style:{stroke:"#5ad8a6",r:5,lineWidth:3}}}]}),this.chart.render()}}},c={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{attrs:{id:this.id}})},staticRenderFns:[]};var r=e("VU/8")(n,c,!1,function(t){e("eBvo")},"data-v-554cac14",null);a.a=r.exports},rbYK:function(t,a,e){"use strict";var i=e("5i7M"),s=e("Q0Ca"),n={data:function(){return{chart:null}},props:{charData:{type:Array,default:function(){return[]}},id:String,width:{type:Number,default:800}},mounted:function(){var t=this;setTimeout(function(){t.drawChart()},30)},beforeUpdate:function(){this.drawChart()},watch:{charData:function(){this.drawChart()}},methods:{drawChart:function(){this.chart&&this.chart.destroy(),this.chart=new i.a({container:this.id,width:this.width,autoFit:!0,height:280,padding:[50,80,60,60]}),this.chart.data(this.charData);var t=this.charData.length>7?15:25;this.chart.scale({avgVisitTime:{min:0,nice:!0,alias:"人均访问时长"},avgLoginTimes:{nice:!0,alias:"平均每人登录次数"},bizDates:{}}),this.chart.annotation().text({top:!0,position:["-4%","-10%"],content:"登录次数",offsetX:0,offsetY:0}),this.chart.annotation().text({top:!0,position:["100%","-10%"],content:"访问时长",offsetX:0,offsetY:0}),this.chart.axis("avgVisitTime",{grid:null,title:null,label:{formatter:function(t){return s.a.formatTime(t)}}}),this.chart.axis("avgLoginTimes",{title:null,label:{formatter:function(t){return~String(t).indexOf(".")?"":t}}}),this.chart.tooltip({showCrosshairs:!0,shared:!0,itemTpl:'<li style="padding-bottom: 10px;><span style="background-color:{color};width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:8px;"></span>{name}: {value}</li>'}),this.chart.interval().position("bizDates*avgLoginTimes").color("#597EF7").size(t),this.chart.line().position("bizDates*avgVisitTime").color("#5ad8a6").tooltip("bizDates*avgVisitTime",function(t,a){return{name:"人均访问时长",value:s.a.formatTime(a)}}),this.chart.legend({position:"top",itemGap:20,custom:!0,items:[{value:"avgLoginTimes",name:"平均每人登录次数",marker:{symbol:"square",style:{fill:"#597ef7",r:4}}},{value:"avgVisitTime",name:"人均访问时长",marker:{symbol:"hyphen",style:{stroke:"#5ad8a6",r:5,lineWidth:3}}}]}),this.chart.render()}}},c={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{attrs:{id:this.id}})},staticRenderFns:[]};var r=e("VU/8")(n,c,!1,function(t){e("/ud3")},"data-v-4b21c982",null);a.a=r.exports},zDVW:function(t,a){}});
\ No newline at end of file
webpackJsonp([50],{TAsB:function(t,e){},zHtI:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"input-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:[2==t.childItem.type?"h-66":""]},[9!=t.childItem.type?i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]):t._e(),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag",style:{"padding-left":9==t.childItem.type?"15px":"0"}},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":""))])]),t._v(" "),10==t.childItem.type&&t.childItem.openCapitalize?i("div",{staticClass:"show-capitalize font-12 color-909399 p-l-10 border-box"},[t._v("大写:壹万元整(示例)")]):t._e()])},staticRenderFns:[]};var s=i("VU/8")(l,a,!1,function(t){i("TAsB")},"data-v-693eda01",null);e.default=s.exports}});
\ No newline at end of file
webpackJsonp([51],{ak3k:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("2eFk"),n=a("Ke24"),i=a("fPyK"),l=a("P9l9"),r=a("Ch4/"),s=a("3E4D"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{dialogVisible:!1,tableH:window.screen.availHeight-464-126+"px",topMenuData:[{id:"1",name:"自定义报表"}],activeId:"1",activeTab:"1",activeBrand:"1",tableData:[],multipleSelection:[]}},computed:{},methods:{changeRouter:function(e){this.$router.push(e)},setSelectTab:function(e){this.activeTab=e.tabId},handlePreview:function(e,t){var a=window.location.origin+"/office-mobile/#/defineTemplate?templateId="+t.dailyReportTemplateId;this.$refs.qrcodePreview.qrcode(a,"daily-preview"),this.dialogVisible=!0},toCustomSet:function(){this.changeRouter("/customReportSet")},handleCopy:function(e,t){this.changeRouter("/customReportSet?templateId="+t.dailyReportTemplateId+"&type=copy")},handleEdit:function(e,t){this.changeRouter("/customReportSet?&templateId="+t.dailyReportTemplateId+"&type=edit")},handleDelete:function(e,t){var a=this;a.$confirm("一旦删除之后,该范围的门店将无法接收该日报,是否确定删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.deleteTemplate(e,t)}).catch(function(){})},deleteTemplate:function(e,t){var a=this;Object(l.d)("/haoban-app-daily-three-web/daily/del-define-template",{templateId:t.dailyReportTemplateId}).then(function(t){var o=t.data;if(1==o.errorCode)return s.a.showmsg("删除成功","success"),void a.tableData.splice(e,1);r.a.errorMsg(o)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},getData:function(){var e=this;Object(l.d)("/haoban-app-daily-three-web/daily/list-define-template",{enterpriseId:e.brandId}).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=[],void(a.result&&a.result.length&&(e.tableData=a.result));r.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","32"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:o.a,commonDetailTop:n.a,qrcodeDialog:i.a}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"custom-set-wrap"},[a("div",{staticClass:"custom-set-content border-box"},[a("div",{staticClass:"flex flex-space-between flex-pack-center m-b-23"},[e._m(0),e._v(" "),a("div",[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.toCustomSet("")}}},[e._v("新建模板")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"模板名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.title))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"模板描述","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.description))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"address",label:"门店类型","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.storeType?a("span",[e._v("自营门店")]):e._e(),e._v(" "),1==t.row.storeType?a("span",[e._v("联营门店")]):e._e(),e._v(" "),2==t.row.storeType?a("span",[e._v("代理门店")]):e._e(),e._v(" "),3==t.row.storeType?a("span",[e._v("代销门店")]):e._e(),e._v(" "),4==t.row.storeType?a("span",[e._v("托管门店")]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.handleCopy(t.$index,t.row)}}},[e._v("复制")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.handleEdit(t.$index,t.row)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.handleDelete(t.$index,t.row)}}},[e._v("删除")])]}}])})],1)],1),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}})],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"custom-set-title flex flex-pack-center"},[t("span",{staticClass:"font-14 color-909399"},[this._v("注:创建自定义日报后才能触发并下发日报")])])}]};var u=a("VU/8")(c,d,!1,function(e){a("jX6x")},"data-v-650765de",null);t.default=u.exports},jX6x:function(e,t){}});
\ No newline at end of file
webpackJsonp([52],{"+qr5":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("mvHQ"),o=r.n(a),n=r("PI0u"),s=r("Ch4/"),c=r("3E4D"),l=r("P9l9"),i={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,operationStaffName:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).staffDTO.staffName:"",activeId:"4",tableData:[],performanceSum:"0.00",clerkObj:{storeId:"",storeName:"",yearMonth:"",settingAble:1,storePerformance:""},equalFlag:!0}},computed:{},methods:{objectSpanMethod:function(e){e.row,e.column;var t=e.rowIndex;if(2===e.columnIndex)return 0==t?{rowspan:this.tableData.length,colspan:1}:{rowspan:0,colspan:0}},inputPerformance:function(e,t,r){r.clerkPerformance=Number(r.clerkPerformance.replace(/[^\d.]/g,""))?r.clerkPerformance.replace(/[^\d+(.\d+)]/g,""):"",r.clerkPerformance=Number(r.clerkPerformance).toFixed(2);var a=0;this.tableData.forEach(function(e){a+=Number(e.clerkPerformance)}),this.performanceSum=Number(a).toFixed(2),this.diffData()},inputValue:function(e,t){t.performanceValue=Number(String(e).replace(/[^\d.]/g,""))?String(e).replace(/[^\d+(.\d+)]/g,""):"";var r=0;this.tableData.forEach(function(e){r+=Number(e.performanceValue)}),this.performanceSum=Number(r).toFixed(2),this.diffData()},inputMonthPerformance:function(e){this.clerkObj.storePerformance=Number(this.clerkObj.storePerformance.replace(/[^\d.]/g,""))?this.clerkObj.storePerformance.replace(/[^\d+(.\d+)]/g,""):"",this.clerkObj.storePerformance=Number(this.clerkObj.storePerformance).toFixed(2),this.diffData()},diffData:function(){var e=Number(this.performanceSum)==Number(this.clerkObj.storePerformance);return this.equalFlag=!!e,e},saveSet:Object(n.a)(function(){if(!this.diffData())return!1;if(""==this.clerkObj.storePerformance)return this.$message.error({duration:1e3,message:"请输入门店月指标"}),!1;var e={clerkPerformanceList:this.tableData,storePerformance:this.clerkObj.storePerformance,operationStaffName:this.operationStaffName};this.postSave(e)},500),postSave:function(e){var t=this,r={enterpriseId:t.activeBrand,storeId:t.clerkObj.storeId,yearMonth:t.clerkObj.yearMonth,performance:o()(e)};Object(l.d)("/haoban-app-performance-three-web/performance/save-clerk-month-performance",r).then(function(e){var t=e.data;1!=t.errorCode?s.a.errorMsg(t):c.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getData:function(){var e=this,t={enterpriseId:e.activeBrand,storeId:e.clerkObj.storeId,yearMonth:e.clerkObj.yearMonth};Object(l.d)("/haoban-app-performance-three-web/performance/query-clerk-month-performance",t).then(function(t){var r=t.data;if(1==r.errorCode){r.result.clerkPerformanceList&&r.result.clerkPerformanceList.length&&(r.result.clerkPerformanceList.forEach(function(e){e.clerkPerformance=Number(e.clerkPerformance).toFixed(2)}),e.tableData=r.result.clerkPerformanceList||[]),r.result.storePerformance=Number(r.result.storePerformance).toFixed(2),e.clerkObj=r.result;var a=0;return e.tableData.forEach(function(e){a+=Number(e.clerkPerformance)}),void(e.performanceSum=Number(a).toFixed(2))}s.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.clerkObj.yearMonth=this.$route.query.yearMonth,this.clerkObj.storeId=this.$route.query.storeId,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","1"),this.brandId&&(this.clerkObj.yearMonth=this.$route.query.yearMonth,this.clerkObj.storeId=this.$route.query.storeId,this.getData())},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},f={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-detail-wrap common-right-wrap"},[r("div",{staticClass:"task-set-content border-box"},[r("div",{staticClass:"saler-set-title flex flex-space-between m-b-15"},[r("div",{staticClass:"saler-set-title_left"},[r("span",[e._v(e._s(e.clerkObj.yearMonth))]),r("span",{staticClass:"p-l-18"},[e._v(e._s(e.clerkObj.storeName)+"门店导购月指标详情")])])]),e._v(" "),r("div",{staticClass:"saler-set-table"},[r("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{"span-method":e.objectSpanMethod,data:e.tableData,"tooltip-effect":"dark"}},[r("el-table-column",{attrs:{label:"导购"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(t.row.clerkName))])]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"月指标"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[r("el-input",{staticClass:"w-120 p-l-8",attrs:{maxlength:"12",placeholder:"请输入",disabled:0==e.clerkObj.settingAble||0==t.row.bindFlag},on:{blur:function(r){return e.inputPerformance(r,t.$index,t.row)},input:function(r){return e.inputValue(r,t.row)}},model:{value:t.row.clerkPerformance,callback:function(r){e.$set(t.row,"clerkPerformance",r)},expression:"scope.row.clerkPerformance"}},[r("i",{staticStyle:{"font-style":"normal",position:"absolute",top:"4px",left:"12px"},attrs:{slot:"prefix"},slot:"prefix"},[e._v("¥")])])],1)]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"总计=门店月指标",width:"418px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[r("span",{staticClass:"font-14 color-606266 text-left"},[e._v("总计")]),r("span",{staticClass:" p-l-175 font-14 color-606266 text-left"},[e._v("门店月指标")])]),e._v(" "),r("div",{staticStyle:{"margin-top":"4px"}},[r("el-input",{staticClass:"w-161",attrs:{disabled:""},model:{value:e.performanceSum,callback:function(t){e.performanceSum=t},expression:"performanceSum"}},[r("i",{staticStyle:{"font-style":"normal",position:"absolute",top:"4px",left:"10px"},attrs:{slot:"prefix"},slot:"prefix"},[e._v("¥")])]),e._v(" "),r("span",{staticClass:"p-l-10 p-r-10"},[e._v("=")]),e._v(" "),r("el-input",{staticClass:"w-161 p-l-8",attrs:{maxlength:"50",placeholder:"请输入指标值",disabled:0==e.clerkObj.settingAble},on:{blur:function(t){return e.inputMonthPerformance(t)}},model:{value:e.clerkObj.storePerformance,callback:function(t){e.$set(e.clerkObj,"storePerformance",t)},expression:"clerkObj.storePerformance"}},[r("i",{staticStyle:{"font-style":"normal",position:"absolute",top:"4px",left:"16px"},attrs:{slot:"prefix"},slot:"prefix"},[e._v("¥")])])],1)]}}])})],1)],1),e._v(" "),r("div",{staticClass:"task-set-save text-center m-t-30"},[1==e.clerkObj.settingAble?r("el-button",{attrs:{disabled:!e.equalFlag,type:"primary"},on:{click:e.saveSet}},[e._v("确认")]):e._e()],1)])])},staticRenderFns:[]};var u=r("VU/8")(i,f,!1,function(e){r("fX1K")},"data-v-6336f928",null);t.default=u.exports},fX1K:function(e,t){}});
\ No newline at end of file
webpackJsonp([53],{"8dpP":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,a=0;a<t.length;a++){null!=t.charAt(a).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"image-com flex"},[a("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),a("div",{staticClass:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont icon-icon"})])])}]};var c=a("VU/8")(i,s,!1,function(t){a("cIT2")},"data-v-61ae09dc",null);e.default=c.exports},cIT2:function(t,e){}});
\ No newline at end of file
webpackJsonp([54],{"6j9f":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3E4D"),r=a("Ch4/"),s=a("P9l9"),o={name:"unreview",data:function(){return{storeSwitch:!1,clerkChangeFlag:!1,wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:""}},methods:{changeSwitch:function(t){this.postData()},postData:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId,auditFlag:e.storeSwitch?1:0,clerkChangeFlag:e.clerkChangeFlag?1:0};Object(s.d)("/haoban-manage3-web/audit/open-or-close",a).then(function(t){var e=t.data;1!=e.errorCode?r.a.errorMsg(e):n.a.showmsg("操作成功","success")}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getData:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId};Object(s.a)("/haoban-manage3-web/audit/find-setting",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.storeSwitch=1==a.result.auditFlag,void(e.clerkChangeFlag=1==a.result.clerkChangeFlag);r.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.$emit("showTab",3),this.getData()}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"unreview-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 126px)"}},[a("div",[a("el-switch",{attrs:{"active-text":"","inactive-text":""},on:{change:t.changeSwitch},model:{value:t.storeSwitch,callback:function(e){t.storeSwitch=e},expression:"storeSwitch"}}),t._v(" "),a("el-tooltip",{attrs:{content:"开启后,所有门店在小程序端修改门店资料需要审核通过后才能修改",placement:"top"}},[a("span",{staticClass:"inline-block font-14 color-303133 m-l-20",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("开启门店资料修改审核")])])],1),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-switch",{attrs:{"active-text":"","inactive-text":""},on:{change:t.changeSwitch},model:{value:t.clerkChangeFlag,callback:function(e){t.clerkChangeFlag=e},expression:"clerkChangeFlag"}}),t._v(" "),a("el-tooltip",{attrs:{content:"开启后,企业微信成员在好办小程序店长删除或新增导购需要进行审核",placement:"top"}},[a("span",{staticClass:"inline-block font-14 color-303133 m-l-20",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("门店导购变更审核")])])],1)])])])},staticRenderFns:[]};var c=a("VU/8")(o,i,!1,function(t){a("m9yW")},"data-v-60f286f4",null);e.default=c.exports},m9yW:function(t,e){}});
\ No newline at end of file
webpackJsonp([55],{"3PY5":function(t,e){},zYBJ:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("P9l9"),n=s("Ch4/"),o={props:{},data:function(){return{wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",roleList:[]}},methods:{changeToggle:function(t){t.expand=!t.expand},getData:function(t){var e=this,s={wxEnterpriseId:e.wxEnterpriseId};Object(a.a)("/haoban-manage3-web/admin-list",s).then(function(t){var s=t.data;if(1==s.errorCode)return s.result&&s.result.length&&s.result.forEach(function(t){t.expand=!1}),void(e.roleList=s.result||[]);n.a.errorMsg(s)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.$emit("showTab",2),document.documentElement.style.backgroundColor="#f0f2f5",this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},r={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"daily-set-wrap "},[s("div",{staticClass:"daily-set-content border-box"},[t._m(0),t._v(" "),s("div",{staticClass:"admin-table-body m-t-20"},[t._m(1),t._v(" "),s("div",{staticClass:"admin-role-body"},[t._l(t.roleList,function(e,a){return[s("div",{key:a+"role"},[s("div",{staticClass:"admin-role-name line-50"},[s("el-row",[s("el-col",{attrs:{span:24}},[s("div",{staticClass:"grid-content cursor-pointer",on:{click:function(s){t.changeToggle(e)}}},[s("span",{class:["iconfont cursor-pointer font-14 color-606266 p-l-30",e.expand?"iconjian":"iconjia"],staticStyle:{"font-size":"14px"}}),s("span",{staticClass:"font-14 color-606266 p-l-40"},[t._v(t._s(e.roleName))])])])],1)],1),t._v(" "),e.expand?s("div",[s("el-row",{staticClass:"bg-ebecf0"},[s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content font-14 color-303133 row-th p-l-85"},[t._v("姓名")])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content font-14 color-303133 row-th"},[t._v("手机号")])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content font-14 color-303133 row-th"},[t._v("部门")])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content font-14 color-303133 row-th"},[t._v("操作")])])],1),t._v(" "),s("div",{staticClass:"admin-role-user"},t._l(e.roleUser,function(e,a){return s("el-row",{key:a,staticClass:"line-50 border-set"},[s("el-col",{staticClass:"line-one",attrs:{span:6}},[s("div",{staticClass:"grid-content p-l-85 hide-border"},[t._v(t._s(e.userName||"--"))])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content"},[t._v(t._s(e.userPhone||"--"))])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content"},[t._v(t._s(e.departmentName||"--"))])]),t._v(" "),s("el-col",{attrs:{span:6}},[s("div",{staticClass:"grid-content"},[t._v(t._s("--"))])])],1)}))],1):t._e()])]})],2)])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"admin-tip-body"},[e("div",{staticClass:"el-alert el-alert--info",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title"},[this._v("超级管理员不可新增,默认为企业微信所添加的好办应用管理员,拥有好办所有管理权限。")])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"admin-thead bg-ebecf0"},[e("div",{staticClass:"admin-th p-l-85 font-14 color-303133"},[this._v("角色")])])}]};var i=s("VU/8")(o,r,!1,function(t){s("3PY5")},"data-v-602f79bd",null);e.default=i.exports}});
\ No newline at end of file
webpackJsonp([56],{MtdA:function(t,e){},moBL:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("PI0u"),i=s("Ch4/"),o=s("3E4D"),l=s("P9l9"),n={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,options:[{label:"普通电话",value:1},{label:"双向透传",value:2}],activeId:"1",setObj:{taskCallType:1,taskType:0,overDayJudge:"",distributeTypeJudge:"",distributeCustomerJudge:1,giveUpJudge:""},loadingBtn:!1}},computed:{},methods:{saveSet:Object(a.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e={enterpriseId:t.activeBrand,taskCallType:t.setObj.taskCallType,taskType:0,overDayJudge:t.setObj.overDayJudge,giveUpJudge:t.setObj.giveUpJudge,distributeTypeJudge:t.setObj.distributeTypeJudge,distributeCustomerJudge:t.setObj.distributeCustomerJudge,relaxTaskJudge:t.setObj.relaxTaskJudge?1:0};Object(l.d)("/haoban-app-tel-task-three-web/setting/save-task-setting",e).then(function(e){var s=e.data;t.loadingBtn=!1,1!=s.errorCode?i.a.errorMsg(s):o.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,taskType:0};Object(l.d)("/haoban-app-tel-task-three-web/setting/find-task-setting",e).then(function(e){var s=e.data;if(1==s.errorCode)return s.result.relaxTaskJudge=1==s.result.relaxTaskJudge,void(t.setObj=s.result);i.a.errorMsg(s)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","23"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},r={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-detail-wrap"},[s("div",{staticClass:"task-set-content boder-box"},[s("div",{staticClass:"task-set-cell"},[s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("不良评价拨打:")]),s("el-select",{staticClass:"w-240",attrs:{placeholder:"请选择"},on:{change:t.changeSelect},model:{value:t.setObj.taskCallType,callback:function(e){t.$set(t.setObj,"taskCallType",e)},expression:"setObj.taskCallType"}},t._l(t.options,function(t){return s("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),2==t.setObj.taskCallType?s("span",{staticClass:"font-14 color-909399 p-l-10 set-long-tip"},[t._v("第三方双向呼叫及透传(透传功能暂无法使用,外呼显示号码为固定电话),可监控通话状态。呼叫结算及通话记录存储于GIC计费中心。")]):t._e(),t._v(" "),1==t.setObj.taskCallType?s("span",{staticClass:"font-14 color-909399 p-l-10"},[t._v("导购手机呼叫,无法监控通话状态。呼叫结算费用由导购手机自费。")]):t._e()],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("任务分配:")]),t._v(" "),s("el-radio",{staticStyle:{"margin-right":"5px"},attrs:{label:1},model:{value:t.setObj.distributeCustomerJudge,callback:function(e){t.$set(t.setObj,"distributeCustomerJudge",e)},expression:"setObj.distributeCustomerJudge"}},[t._v(t._s(""))]),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的所在门店店长",placement:"top-start"}},[s("span",{class:["font-14 color-606266",1==t.setObj.distributeCustomerJudge?"color-303133":"color-606266"],staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("分配给消费门店店长")])]),t._v(" "),s("el-radio",{staticClass:"p-l-40",staticStyle:{"margin-right":"5px"},attrs:{label:2},model:{value:t.setObj.distributeCustomerJudge,callback:function(e){t.$set(t.setObj,"distributeCustomerJudge",e)},expression:"setObj.distributeCustomerJudge"}},[t._v(t._s(""))]),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的会员的专属导购",placement:"top-start"}},[s("span",{class:["font-14 ",2==t.setObj.distributeCustomerJudge?"color-303133":"color-606266"],staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("分配给专属导购")])])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("逾期设置:")]),t._v(" "),s("span",{staticClass:" font-14 color-303133"},[t._v("不良评价回访下发后")]),t._v(" "),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.overDayJudge,callback:function(e){t.$set(t.setObj,"overDayJudge",e)},expression:"setObj.overDayJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]),t._v(" "),s("span",{staticClass:"font-14 color-909399 p-l-15"},[t._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1),t._v(" "),2==t.setObj.taskCallType?s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("放弃任务条件:")]),s("span",{staticClass:"font-14 color-606266"},[t._v("不良评价下发后 ")]),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.giveUpJudge,callback:function(e){t.$set(t.setObj,"giveUpJudge",e)},expression:"setObj.giveUpJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("次")]),t._v(" "),s("span",{staticClass:"font-14 color-606266"},[t._v("呼叫后无响应,导购可放弃该条任务")])],1):t._e(),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"}),t._v(" "),s("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.saveSet}},[t._v("保存")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[]};var c=s("VU/8")(n,r,!1,function(t){s("MtdA")},"data-v-5a0e8284",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([57],{lPa5:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("PI0u"),n=s("Ch4/"),o=s("3E4D"),r=s("P9l9"),i={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeId:"1",activeBrand:this.brandId,wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",setObj:{taskBelong:"1",overDayJudge:""},loadingBtn:!1}},computed:{},methods:{saveSet:Object(a.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e={taskBelong:t.setObj.taskBelong,overDayJudge:t.setObj.overDayJudge,wxEnterpriseId:t.wxEnterpriseId};Object(r.d)("/haoban-app-tel-task-three-web/setting/save-session-task-setting",e).then(function(e){var s=e.data;t.loadingBtn=!1,1!=s.errorCode?n.a.errorMsg(s):o.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId};Object(r.d)("/haoban-app-tel-task-three-web/setting/find-session-task-setting",e).then(function(e){var s=e.data;if(1==s.errorCode)return s.result?s.result.taskBelong=String(s.result.taskBelong):(s.result={},s.result.taskBelong="1",s.result.overDayJudge=""),void(t.setObj=s.result);n.a.errorMsg(s)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","22"),this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},l={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-detail-wrap"},[s("div",{staticClass:"task-set-content boder-box"},[s("div",{staticClass:"task-set-cell"},[s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("任务归属:")]),s("el-radio",{attrs:{label:"1"},model:{value:t.setObj.taskBelong,callback:function(e){t.$set(t.setObj,"taskBelong",e)},expression:"setObj.taskBelong"}},[t._v("成员所属专属导购 > 协管导购,若无专属导购,则随机分配给一名协管导购")])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("逾期设置:")]),s("span",{staticClass:"font-14 color-606266"},[t._v("话务任务下发后 ")]),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.overDayJudge,callback:function(e){t.$set(t.setObj,"overDayJudge",e)},expression:"setObj.overDayJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]),t._v(" "),s("span",{staticClass:"font-14 color-606266"},[t._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"}),t._v(" "),s("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.saveSet}},[t._v("保存并用于全部商户")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[]};var c=s("VU/8")(i,l,!1,function(t){s("qdyJ")},"data-v-573899ad",null);e.default=c.exports},qdyJ:function(t,e){}});
\ No newline at end of file
webpackJsonp([58],{CTf4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(e){this.$router.push({path:e.path})},collapseTag:function(e){this.collapseFlag=e}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},o={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"enterprise-wrap"},[t("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),t("div",{staticClass:"enterprise-wrap__body"},[t("div",{staticClass:"content",attrs:{id:"content"}},[t("div",{staticClass:"content-body"},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(e){n("THKj")},null,null);t.default=i.exports},THKj:function(e,t){}});
\ No newline at end of file
webpackJsonp([59],{"5GE8":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("Xxa5"),o=a.n(n),s=a("exGp"),i=a.n(s),r=a("Ch4/"),l=a("3E4D"),c=a("PI0u"),u=a("P9l9"),p={components:{},props:{brandId:{type:String,default:""}},data:function(){var e=this;return{activeId:"2",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",statusObj:{3:"待领取",4:"待核销",5:"已核销",6:"已过期",7:"已销毁",8:"已占用"},conditionObj:{getDateRange:[],useDateRange:[],searchInput:""},choiceDateCopy:[],pickerOptions:{onPick:function(t){var a=t.maxDate,n=t.minDate;e.choiceDateCopy=[n.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-31536e6,n=e.choiceDateCopy[0]+31536e6;return t.getTime()<a||t.getTime()>n}}},loading:!1,templateList:[],strategyList:[],tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(e){e&&this.getTableList()}},methods:{changeDate:function(){this.currentPage=1,this.getTableList()},toDel:function(e,t){var a=this;a.$confirm("是否要删除选中的卡券?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(t.coupCardId)}).catch(function(){})},delCardList:function(e){var t=this,a={coupCardId:e};Object(u.d)("/haoban-app-customer-web/inner/del-card-coup",a).then(function(e){var a=e.data;if(1==a.errorCode)return l.a.showmsg("删除成功","success"),void t.getTableList();r.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toInput:Object(c.a)(function(e,t){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(){var e=this;return i()(o.a.mark(function t(){var a,n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:(a=e).loading=!0,a.conditionObj.getDateRange||(a.conditionObj.getDateRange=[]),a.conditionObj.useDateRange||(a.conditionObj.useDateRange=[]),n={queryType:2,wxEnterpriseId:a.wxEnterpriseId,receiveStartDate:a.conditionObj.getDateRange[0],receiveEndDate:a.conditionObj.getDateRange[1],useStartDate:a.conditionObj.useDateRange[0],useEndDate:a.conditionObj.useDateRange[1],search:a.conditionObj.searchInput||"",pageNum:a.currentPage,pageSize:a.pageSize},Object(u.d)("/haoban-app-customer-web/inner/find-card-log-page",n).then(function(e){var t=e.data;if(a.loading=!1,1==t.errorCode)return a.tableData=t.result.result||[],void(a.total=t.result.totalCount);r.a.errorMsg(t)}).catch(function(e){a.loading=!1,a.$message.error({duration:1e3,message:e.message})});case 6:case"end":return t.stop()}},t,e)}))()}},mounted:function(){this.$emit("showTab","42"),this.getTableList()}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[a("div",{staticClass:"flex "},[a("el-date-picker",{attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"~","start-placeholder":"领取开始时间","end-placeholder":"领取结束时间"},on:{change:e.changeDate},model:{value:e.conditionObj.getDateRange,callback:function(t){e.$set(e.conditionObj,"getDateRange",t)},expression:"conditionObj.getDateRange"}}),e._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"~","start-placeholder":"核销开始时间","end-placeholder":"核销结束时间"},on:{change:e.changeDate},model:{value:e.conditionObj.useDateRange,callback:function(t){e.$set(e.conditionObj,"useDateRange",t)},expression:"conditionObj.useDateRange"}}),e._v(" "),a("el-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"284px"},attrs:{placeholder:"请输入卡券名称/卡券代码/会员信息",maxlength:"50",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.conditionObj.searchInput);var a}},model:{value:e.conditionObj.searchInput,callback:function(t){e.$set(e.conditionObj,"searchInput",t)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1)]),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 3px)"},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"领取时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.receiveTime?a("div",[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.receiveTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.receiveTime)))])]):a("div",[e._v("\n --\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"核销时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.useTime?a("div",[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.useTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.useTime)))])]):a("div",[e._v("\n --\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"font-14 color-606266 line-18"},[e._v(e._s(t.row.memberName||"--"))]),e._v(" "),a("div",{staticClass:"font-12 color-909399 line-18"},[e._v(e._s(e._f("formatPhoneNum")(t.row.phoneNum)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"员工信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex nowrap"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[t.row.headImg?a("img",{attrs:{src:t.row.headImg,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info m-l-10",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("span",{staticClass:"font-14 color-606266 text-ellipsis line-18"},[e._v(e._s(t.row.staffName||"--"))]),e._v(" "),a("span",{staticClass:"font-12 color-909399 text-ellipsis line-18"},[e._v(e._s(t.row.departmentName||"--"))])])])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.cardType?a("span",[e._v("抵金券")]):e._e(),e._v(" "),1==t.row.cardType?a("span",[e._v("折扣券")]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.cardName||"--")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券状态","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[3==t.row.status?a("span",{staticClass:"status-dot bg-7c6af2"}):e._e(),4==t.row.status?a("span",{staticClass:"status-dot bg-2f54eb"}):e._e(),5==t.row.status?a("span",{staticClass:"status-dot bg-52c41a"}):e._e(),6==t.row.status?a("span",{staticClass:"status-dot bg-f5222d"}):e._e(),7==t.row.status?a("span",{staticClass:"status-dot bg-c0c4cc"}):e._e(),8==t.row.status?a("span",{staticClass:"status-dot bg-faad14"}):e._e(),a("span",{staticClass:"inline-block"},[e._v(e._s(e.statusObj[t.row.status]))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"投放来源","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n 好办内购券\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"核销来源","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(5!=t.row.status?"--":0==t.row.checkSource?"订单核销":"手动核销")+"\n ")]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])},staticRenderFns:[]};var g=a("VU/8")(p,d,!1,function(e){a("6N+6")},"data-v-51378a88",null);t.default=g.exports},"6N+6":function(e,t){}});
\ No newline at end of file
webpackJsonp([6],{"6XGN":function(M,L,j){"use strict";Object.defineProperty(L,"__esModule",{value:!0});var N=j("CkW6"),u=j.n(N),w={name:"page403",data:function(){return{img_403:u.a}},computed:{message:function(){return"抱歉,你无权访问该页面"}}},D={render:function(){var M=this.$createElement,L=this._self._c||M;return L("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[L("div",{staticClass:"wscn-http404"},[L("div",{staticClass:"pic-404"},[L("img",{staticClass:"pic-404__parent",attrs:{src:this.img_403,alt:"403"}})]),this._v(" "),L("div",{staticClass:"bullshit"},[L("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),L("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var C=j("VU/8")(w,D,!1,function(M){j("oSPV")},"data-v-4c72b26f",null);L.default=C.exports},CkW6:function(M,L){M.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i5Zu+5bGCXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0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3M9InN0MSIgZD0iTTE5Ny4xLDI3Mi43aDguMWMwLjcsMCwxLjMsMC42LDEuMywxLjNjMCwwLjctMC42LDEuMy0xLjMsMS4zaC04LjFjLTAuNywwLjEtMS40LTAuNS0xLjQtMS4zDQoJYy0wLjEtMC43LDAuNS0xLjQsMS4zLTEuNEMxOTcsMjcyLjcsMTk3LjEsMjcyLjcsMTk3LjEsMjcyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0yODQuNCwyNjQuNmg4LjFjMC43LDAsMS4zLDAuNiwxLjMsMS4zbDAsMGMwLDAuNy0wLjYsMS4zLTEuMywxLjNoLTguMWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zDQoJQzI4MywyNjUuMywyODMuNiwyNjQuNiwyODQuNCwyNjQuNiIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTk5LjIsMjY0LjZoMTcxLjdjMC40LDAsMC43LDAuMSwwLjksMC40YzAuNCwwLjQsMC41LDEsMC4zLDEuNWMtMC4yLDAuNS0wLjcsMC44LTEuMiwwLjhIOTkuMQ0KCWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zQzk3LjgsMjY1LjMsOTguNCwyNjQuNiw5OS4yLDI2NC42Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjM1LDk1Ljh2OC4xYzAsMC43LTAuNiwxLjMtMS4zLDEuM3MtMS4zLTAuNi0xLjMtMS4zdi04LjFjMC0wLjcsMC42LTEuMywxLjMtMS40QzIzNC40LDk0LjQsMjM1LDk1LDIzNSw5NS44Ig0KCS8+DQo8L3N2Zz4NCg=="},oSPV:function(M,L){}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([60],{iE5k:function(t,e){},nV1L:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("bzW+"),n=a("Qie6"),c=a("Z8ln"),o=a("Ch4/"),r=a("P9l9"),s={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"卡券赠送",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"卡券赠送",path:""}],tabListData:[{tabId:"1",tabName:"卡券列表",icon:"iconqiaquan"},{tabId:"2",tabName:"卡券记录",icon:"iconwodeqiaquan-"}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,e={enterpriseId:t.activeBrand};Object(r.a)("/haoban-manage3-web/enterprise-is-over",e).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):t.expiredFlag=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("cardList");break;case"2":this.changeRoute("cardRecord")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{$route:{handler:function(t,e){},deep:!0},activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:i.a,commonDetailLeft:n.a,expiredDialog:c.a}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content-left w-157"},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[t.$route.meta.keepAlive?a("keep-alive",[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1):a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?a("expired-dialog"):t._e()],1)},staticRenderFns:[]};var u=a("VU/8")(s,d,!1,function(t){a("iE5k")},"data-v-4e16ec62",null);e.default=u.exports}});
\ No newline at end of file
webpackJsonp([61],{"QI/H":function(t,e){},Y55K:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("QI/H")},"data-v-4e06d462",null);e.default=o.exports}});
\ No newline at end of file
webpackJsonp([62],{"43SA":function(t,a){},qSX4:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("bzW+"),i=e("Qie6"),o=e("Z8ln"),c=e("Ch4/"),r=e("P9l9"),s={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"指标管理",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"指标管理",path:""}],tabListData:[{tabId:"1",tabName:"月指标",icon:"iconzhibiao"},{tabId:"2",tabName:"月指标任务",icon:"iconrenwu"}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,a={enterpriseId:t.activeBrand};Object(r.a)("/haoban-manage3-web/enterprise-is-over",a).then(function(a){var e=a.data;1!=e.errorCode?c.a.errorMsg(e):t.expiredFlag=e.result}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("monthList");break;case"2":this.changeRoute("monthTask")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})},changeNavShow:function(t){"/storeMonthTask"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"},{name:"门店月指标",path:""}]:"/salerMonthDetail"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"},{name:"门店月指标",path:"storeMonthTask?yearMonth="+this.$route.query.yearMonth},{name:"导购月指标详情",path:""}]:"/companyDaySet"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"},{name:"商户日权重",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"指标管理",path:""}]}},watch:{$route:{handler:function(t,a){this.changeNavShow(t)},deep:!0},activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a,expiredDialog:o.a}},h={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[t.$route.meta.keepAlive?e("keep-alive",[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1):e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?e("expired-dialog"):t._e()],1)},staticRenderFns:[]};var d=e("VU/8")(s,h,!1,function(t){e("43SA")},"data-v-47c8183c",null);a.default=d.exports}});
\ No newline at end of file
webpackJsonp([63],{"5R0y":function(e,t){},YKf6:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("fZjL"),i=a.n(n),o=a("LRn8"),s=a("P9l9"),l=a("Ch4/"),r=a("3E4D"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeId:"3",activeBrand:this.brandId,selectRadio:0,showDialog:!1,conditionObj:{isCompleted:"",isOverTime:"",dateRange:[]},completedOptions:[{label:"所有完成情况",value:""},{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"所有逾期情况",value:""},{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],loading:!1,tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:20,total:0,userData:{staffName:"",phoneNumber:"",nationCode:"",postion:"",departmentName:"",headImg:""}}},computed:{},methods:{showSingleInfo:function(e){var t=this,a={clerkId:e};Object(s.d)("/haoban-manage3-web/get-clerk-info",a).then(function(e){var a=e.data;1!=a.errorCode?l.a.errorMsg(a):t.userData=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},init:function(){var e=this.$route.query.startDate,t=this.$route.query.endDate;document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","2"),this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.conditionObj.dateRange=t?[e,t]:[],this.brandId&&this.getTableList()},selectInit:function(e,t){return 0!=e.removeAble},handleCommand:function(e){this.selectRadio=e},selectBrandId:function(e){this.activeBrand=e},setSelectTab:function(e){this.activeTab=e.tabId},changeSelect:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!i()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskId}).join(",")||"",isOverTime:t.conditionObj.isOverTime||"",isCompleted:t.conditionObj.isCompleted||"",reason:e.reason,startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",enterpriseId:t.activeBrand,isAll:t.selectRadio};Object(s.d)("/haoban-app-performance-three-web/performance/batch-remove-clerk-month-performance-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return r.a.showmsg("删除成功","success"),void t.getTableList();l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;this.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,n={taskId:t.taskId,enterpriseId:this.activeBrand};Object(s.a)("/haoban-app-performance-three-web/performance/remove-clerk-month-performance-task",n).then(function(t){var n=t.data;if(1==n.errorCode)return a.total--,a.tableData.splice(e,1),0==a.tableData.length&&(a.currentPage>1?(a.currentPage--,a.getTableList()):a.total>0&&a.getTableList()),void a.$message.success("删除成功");l.a.errorMsg(n)}).catch(function(e){this.$message.error({duration:1e3,message:e.message})})},getTableList:function(e){var t=this;t.loading=!0;var a={storeId:t.conditionObj.storeId||"",isOverTime:t.conditionObj.isOverTime||"",isCompleted:t.conditionObj.isCompleted||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",pageNum:t.currentPage,pageSize:t.pageSize,enterpriseId:t.activeBrand};Object(s.a)("/haoban-app-performance-three-web/performance/query-clerk-month-performance-task",a).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.list||[],void(t.total=a.result.pageInfo.total);l.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},activated:function(){this.init()},mounted:function(){this.init()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:o.a}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap common-right-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-133 ",attrs:{placeholder:"所有完成情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.isOverTime,callback:function(t){e.$set(e.conditionObj,"isOverTime",t)},expression:"conditionObj.isOverTime"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),e._v(" "),a("el-select",{staticClass:"w-133 m-l-10",attrs:{placeholder:"所有逾期情况"},on:{change:e.changeSelect},model:{value:e.conditionObj.isCompleted,callback:function(t){e.$set(e.conditionObj,"isCompleted",t)},expression:"conditionObj.isCompleted"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),e._v(" "),a("el-date-picker",{staticClass:"m-l-10",staticStyle:{width:"310px"},attrs:{editable:!1,"value-format":"yyyy-MM",type:"monthrange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始月份","end-placeholder":"结束月份"},on:{change:e.changeDate},model:{value:e.conditionObj.dateRange,callback:function(t){e.$set(e.conditionObj,"dateRange",t)},expression:"conditionObj.dateRange"}})],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")])],1)]),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45",selectable:e.selectInit}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont icongengduo"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#2f54eb":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#2f54eb":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象",width:"260"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("el-popover",{attrs:{placement:"top-start",width:"300",trigger:"hover"},on:{show:function(a){e.showSingleInfo(t.row.clerkId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.userData.headImg?a("img",{attrs:{src:e.userData.headImg,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[e._v("\n "+e._s(e.userData.staffName||"--")+" ( "+e._s(e.userData.position||"--")+")\n ")]),e._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[e._v("手机号:")]),a("span",{staticClass:"w-130"},[e._v(e._s("86"==e.userData.nationCode?e.userData.phoneNumber:"+"+e.userData.nationCode+"-"+e.userData.phoneNumber))])]),e._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[e._v("所属部门:")]),a("span",{staticClass:"w-130"},[e._v(e._s(e.userData.departmentName||"--"))])])])])]),e._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("p",{staticClass:"first-item font-14 color-303133",staticStyle:{"line-height":"18px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399",staticStyle:{"line-height":"18px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[e._v(e._s(t.row.clerkPhone))])])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",{staticClass:"color-909399 line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",{staticClass:"color-909399 line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCompleted))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-18"},[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",{staticClass:"color-909399 line-18"},[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.removeAble?a("el-button",{attrs:{type:"text"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")]):a("span",[e._v("--")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0,detailShowFlag:!0},on:{hideDialog:e.hideDialog}})],1)},staticRenderFns:[]};var u=a("VU/8")(c,d,!1,function(e){a("5R0y")},"data-v-460e6080",null);t.default=u.exports}});
\ No newline at end of file
webpackJsonp([64],{FIFf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("bzW+"),i=a("Qie6"),c=a("Z8ln"),o=a("Ch4/"),s=a("P9l9"),r={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"商品中心",path:""}],tabListData:[{tabId:"1",tabName:"商品展示设置",icon:"iconshangpinshezhi"}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,e={enterpriseId:t.activeBrand};Object(s.a)("/haoban-manage3-web/enterprise-is-over",e).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):t.expiredFlag=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("goodsShowSet")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a,expiredDialog:c.a}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?a("expired-dialog"):t._e()],1)},staticRenderFns:[]};var h=a("VU/8")(r,d,!1,function(t){a("JJDB")},"data-v-439f782f",null);e.default=h.exports},JJDB:function(t,e){}});
\ No newline at end of file
webpackJsonp([65],{SBUJ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("fZjL"),o=n.n(a),i=n("Ggl+"),r=n("LRn8"),s=n("P9l9"),l=n("PI0u"),c=n("3E4D"),d=n("Ch4/"),u={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"2",showDialog:!1,conditionObj:{searchInput:"",storeGroup:[],storeType:"",dateRange:[]},loading:!1,selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,loadingBtn:!1}},computed:{},methods:{checkGroupIds:function(t){this.conditionObj.storeGroup=t,this.currentPage=1,this.getTableList()},changeTable:function(t){this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreType:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},handleSelectionChange:function(t){this.multipleSelection=t},delDepart:function(t,e){e.splice(t,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(t){if(this.showDialog=!1,!o()(t).length)return!1;this.postMultDel(t)},postMultDel:function(t){var e=this,n=[];e.conditionObj.storeGroup.forEach(function(t){n.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var a={search:e.conditionObj.searchInput||"",storeGroupIds:n.join(",")||"",storeIds:1==e.selectRadio?"":e.multipleSelection.map(function(t){return t.storeId}).join(","),storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",enterpriseId:e.activeBrand,delTaskStatus:t.delOptFlag,reason:t.reason,isAll:e.selectRadio};Object(s.d)("/haoban-app-tel-task-three-web/task/batch-del-store-task-list",a).then(function(t){var n=t.data;if(1==n.errorCode)return c.a.showmsg("删除成功","success"),void e.getTableList();d.a.errorMsg(n)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},exportExcel:function(){var t=this;if(!t.multipleSelection.length)return c.a.showmsg("请选择门店","warning"),!1;var e=[];t.conditionObj.storeGroup.forEach(function(t){e.push(t.storeGroupId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]),t.loadingBtn=!0;var n={search:t.conditionObj.searchInput||"",storeGroupIds:e.join(",")||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",ecmId:t.$route.query.ecmId,storeIds:1==t.selectRadio?"":t.multipleSelection.map(function(t){return t.storeId}).join(","),gicEnterpriseId:t.activeBrand,selectType:String(t.selectRadio)};Object(s.b)("/haoban-app-tel-task-three-web/task/export-task-view-store-list",n).then(function(e){if(t.loadingBtn=!1,!e.data)return d.a.errorMsg("暂无数据"),!1;var n=new Blob([e.data],{type:"application/vnd.ms-excel"}),a=document.createElement("a");a.download="话务任务视图详情门店报表.csv",a.style.display="none",a.href=URL.createObjectURL(n),document.body.appendChild(a),a.click(),URL.revokeObjectURL(a.href),document.body.removeChild(a)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showDialogLayer:function(t,e){this.selectType=t,this.changed=t,this.defaultStoreList=e,this.storeTreeSet={dialogVisible:!0,isSingle:!1,isSelectPerson:!1}},handleSelectedList:function(t){this.conditionObj.storeGroup=t,this.getTableList()},toDetail:function(t,e){this.$router.push("taskDetail?storeId="+e.storeId+"&ecmId="+this.$route.query.ecmId)},getTableList:function(t){var e=this;e.loading=!0;var n=[];e.conditionObj.storeGroup.forEach(function(t){n.push(t.storeGroupId)}),e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var a={ecmId:e.$route.query.ecmId,search:e.conditionObj.searchInput||"",storeGroupIds:n.join(",")||"",storeType:e.conditionObj.storeType||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(s.a)("/haoban-app-tel-task-three-web/task/store-task-list",a).then(function(t){var n=t.data;if(e.loading=!1,1==n.errorCode)return e.tableData=n.result.list||[],e.total=n.result.pageInfo.total,!1;d.a.errorMsg(n)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},initDataRange:function(){var t=new Date,e=t.getTime()-7776e6,n=t.getFullYear(),a=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),i=a<10?"0"+a:a,r=new Date(e),s=r.getFullYear(),l=r.getMonth()+1,c=r.getDate()<10?"0"+r.getDate():r.getDate();return[s+"-"+(l<10?"0"+l:l)+"-"+c,n+"-"+i+"-"+o]}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){var t=this;t.$emit("showTab","12"),t.conditionObj.dateRange=t.initDataRange(),document.documentElement.style.backgroundColor="#f0f2f5",t.activeBrand=t.brandId,t.brandId&&t.$nextTick(function(){t.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{gicSelectGroup:i.a,multipleDel:r.a}},p={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"daily-set-wrap task-view-detail"},[n("div",{staticClass:"daily-set-content border-box"},[n("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[n("div",{staticClass:"table-condition-left"},[n("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(e){return n=e,t.toInput(n,t.conditionObj.searchInput);var n}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[n("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),n("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:t.brandId,width:213,selectData:t.conditionObj.storeGroup},on:{checkGroupIds:t.checkGroupIds}}),t._v(" "),n("el-date-picker",{staticClass:"m-l-10",attrs:{editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),n("div",{staticClass:"table-condition-right"},[n("el-button",{attrs:{type:"danger"},on:{click:t.multDel}},[t._v("批量删除")]),n("el-button",{attrs:{loading:t.loadingBtn,type:"primary"},on:{click:t.exportExcel}},[n("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"45"}}),t._v(" "),n("el-table-column",{attrs:{width:"25"},scopedSlots:t._u([{key:"header",fn:function(e){return[n("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:t.handleCommand}},[n("span",{staticClass:"el-dropdown-link"},[n("i",{staticClass:"iconfont icongengduo"})]),t._v(" "),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("el-dropdown-item",{attrs:{command:"0"}},[n("span",{style:{color:0==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择当页")])]),t._v(" "),n("el-dropdown-item",{attrs:{command:"1"}},[n("span",{style:{color:1==t.selectRadio?"#2f54eb":"#606266"}},[t._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(t){}}])}),t._v(" "),n("el-table-column",{attrs:{label:"门店名称",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticStyle:{width:"100%","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"}},[t._v(t._s(e.row.storeName))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.taskCount))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"已完成(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedCount))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"完成率(含放弃)","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.completedRate))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"待完成","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.noCompletedCount))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"逾期中","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.overdueCount))]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text"},on:{click:function(n){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?n("div",{staticClass:"block common-wrap__page text-right m-t-24"},[n("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),n("multiple-del",{attrs:{showDialog:t.showDialog,detailFlag:!1},on:{hideDialog:t.hideDialog}})],1)},staticRenderFns:[]};var g=n("VU/8")(u,p,!1,function(t){n("wgl7")},"data-v-409ddbd2",null);e.default=g.exports},wgl7:function(t,e){}});
\ No newline at end of file
webpackJsonp([66],{JEsV:function(t,e){},"qWC+":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("fZjL"),r=a.n(o),s=a("fPyK"),i=a("Ggl+"),l=a("P9l9"),n=a("Ch4/"),c=a("PI0u"),u={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeId:"3",activeBrand:this.brandId,activeGroup:this.activeGroupId,selectRadio:0,showDialog:!1,conditionObj:{keyword:"",storeStatus:"",isCompleted:"",storeGroupIds:[]},loading:!1,completeStatusOptions:[{label:"门店完善状态",value:""},{label:"已完善",value:"1"},{label:"未完善",value:"0"}],storeStatusOptions:[{value:"",label:"所有门店状态"},{value:"0",label:"待审核"},{value:"1",label:"正常"},{value:"2",label:"审核失败"},{value:"3",label:"停业整顿"},{value:"4",label:"回收站"},{value:"5",label:"删除"}],statistics:{},tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:20,total:0}},computed:{},methods:{checkGroupIds:function(t){this.conditionObj.storeGroupIds=t,this.currentPage=1,this.getTableList()},searchStore:Object(c.a)(function(t){this.currentPage,this.getTableList()},500),clearInput:function(t){1==this.currentPage?this.getTableList():this.currentPage=1},checkStoreGroupIds:function(t){this.currentPage=1,this.conditionObj.storeGroupIds=t,this.getTableList()},selectBrandId:function(t){this.activeBrand=t},setSelectTab:function(t){this.activeTab=t.tabId},changeSelect:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},toSalerMonth:function(t,e){this.$router.push("/salerMonthDetail?storeId="+e.storeId+"&yearMonth="+this.yearMonth)},getTableList:function(t){var e=this;e.loading=!0;var a={yearMonth:e.yearMonth||e.$route.query.yearMonth,keyword:e.conditionObj.keyword||"",storeStatus:e.conditionObj.storeStatus||"",isCompleted:e.conditionObj.isCompleted||"",storeGroupIds:e.conditionObj.storeGroupIds.map(function(t){return t.storeGroupId}).join(",")||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(l.a)("/haoban-app-performance-three-web/performance/query-store-month-performance",a).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return a.result.list&&a.result.list.length&&(a.result.list.forEach(function(t){t.performance=Object(c.c)(Number(t.performance))}),a.result.statistics&&r()(a.result.statistics).length?(e.statistics=a.result.statistics,e.tableData.unshift({completeStatus:a.result.statistics.totalComplete,performance:Object(c.c)(Number(a.result.statistics.totalPerformance)),storeName:a.result.statistics.totalStore,totalComplete:a.result.statistics.totalComplete,totalPerformance:Object(c.c)(Number(a.result.statistics.totalPerformance)),totalStore:a.result.statistics.totalStore})):e.tableData.unshift({completeStatus:e.statistics.totalComplete,performance:Object(c.c)(Number(e.statistics.totalPerformance)),storeName:e.statistics.totalStore,totalComplete:e.statistics.totalComplete,totalPerformance:e.statistics.totalPerformance,totalStore:e.statistics.totalStore})),e.tableData=a.result.list||[],void(e.total=a.result.pageInfo.total);n.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.yearMonth=this.$route.query.yearMonth,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","1"),this.activeBrand=this.brandId,this.activeGroup=this.activeGroupId,this.conditionObj.storeId=this.$route.query.storeId,this.brandId&&(this.yearMonth=this.$route.query.yearMonth,this.getTableList())},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{qrcodeDialog:s.a,gicSelectGroup:i.a}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap common-right-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264 margin-l-10",attrs:{maxlength:"50",placeholder:"请输入门店名称/code","prefix-icon":"el-icon-search",clearable:""},on:{change:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.searchStore(a);var a},clear:function(e){return t.clearInput(e)}},model:{value:t.conditionObj.keyword,callback:function(e){t.$set(t.conditionObj,"keyword",e)},expression:"conditionObj.keyword"}}),t._v(" "),a("el-select",{staticClass:"w-131 m-l-10",attrs:{placeholder:"门店完善状态"},on:{change:t.changeSelect},model:{value:t.conditionObj.isCompleted,callback:function(e){t.$set(t.conditionObj,"isCompleted",e)},expression:"conditionObj.isCompleted"}},t._l(t.completeStatusOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),t._v(" "),a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:t.brandId,width:213,selectData:t.conditionObj.storeGroupIds},on:{checkGroupIds:t.checkGroupIds}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"})]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"门店名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{class:["flex flex-pack-center flex-start",e.row.totalStore?"color-303133":""]},[t._v(t._s(e.row.totalStore?"总计:"+e.row.totalStore+"家":e.row.storeName))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"name",label:"月指标"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{class:[e.row.totalStore?"color-303133":""]},[t._v(t._s(e.row.performance))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"门店完善状态","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.totalStore?a("div",{staticClass:"color-303133"},[t._v(t._s("已完善:"+e.row.totalComplete+"家"))]):a("div",[t._v(t._s(0==e.row.completeStatus?"未完善":"已完善"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交人"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(t._s(e.row.operationStaffName))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.totalStore?t._e():a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toSalerMonth(e.$index,e.row)}}},[t._v("导购月指标详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1),t._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:t.dialogVisible,callback:function(e){t.dialogVisible=e},expression:"dialogVisible"}})],1)},staticRenderFns:[]};var p=a("VU/8")(u,d,!1,function(t){a("JEsV")},"data-v-3ddd874a",null);e.default=p.exports}});
\ No newline at end of file
webpackJsonp([67],{lbDX:function(e,t){},odfG:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("3E4D"),o=a("Ch4/"),l=a("PI0u"),i=a("P9l9"),r={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",activeName:"first",activeGroup:this.activeGroupId,wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId,myCustomData:{searchFlag:!1,chatFlag:!1,mainStoreFlag:!1,minorStoreFlag:!1,openCardStoreFlag:!1,clerkSeeOtherFlag:!1,showFreezeFlag:!1,isSeeAuthMember:!1,allowGuideContact:!1,allowGuideMobile:!1,allowGuideMessage:!1,allowGuideOnlineChat:!1,faceOpenFlag:!1},loading:!1}},methods:{submit:Object(l.a)(function(e){this.loading=!0,this.setData(e)},500),setData:function(e){var t=this,a={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId},l=void 0;"showFlag"!=e?(a[e]=t.myCustomData[e]?1:0,l="/haoban-app-customer-web/customer/save-online-chat-setting","searchFlag"===e&&(l="/haoban-app-customer-web/customer/save-customer-setting")):(a.mainStoreFlag=t.myCustomData.mainStoreFlag?1:0,a.minorStoreFlag=t.myCustomData.minorStoreFlag?1:0,a.openCardStoreFlag=t.myCustomData.openCardStoreFlag?1:0,a.clerkSeeOtherFlag=t.myCustomData.clerkSeeOtherFlag?1:0,a.allowGuideContact=t.myCustomData.allowGuideContact?1:0,a.allowGuideMobile=t.myCustomData.allowGuideMobile?1:0,a.allowGuideMessage=t.myCustomData.allowGuideMessage?1:0,a.allowGuideOnlineChat=t.myCustomData.allowGuideOnlineChat?1:0,a.showFreezeFlag=t.myCustomData.showFreezeFlag?1:0,a.isSeeAuthMember=t.myCustomData.isSeeAuthMember?1:0,a.faceOpenFlag=t.myCustomData.faceOpenFlag?1:0,a.chatFlag=t.myCustomData.chatFlag,a.isMessageRemind=t.myCustomData.isMessageRemind,a.messageRemindTime=t.myCustomData.messageRemindTime,a.isTemplateMessage=t.myCustomData.isTemplateMessage,a.isImgMessage=t.myCustomData.isImgMessage,a.isGoodMessage=t.myCustomData.isGoodMessage,a.isIntegralGoodMessage=t.myCustomData.isIntegralGoodMessage,l="/haoban-app-customer-web/customer/save-member-show-setting"),Object(i.d)(l,a).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return s.a.showmsg("保存成功","success"),void t.getShowSet();o.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})},changeAllowGuide:function(e){this.myCustomData.allowGuideMobile=e,this.myCustomData.allowGuideMessage=e,this.myCustomData.allowGuideOnlineChat=e},changeContact:function(){this.myCustomData.allowGuideMobile||this.myCustomData.allowGuideMessage||this.myCustomData.allowGuideOnlineChat||(this.myCustomData.allowGuideContact=!1)},getShowSet:function(e){var t=this,a={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId};Object(i.d)("/haoban-app-customer-web/customer/find-member-show-setting",a).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):a.result&&(a.result.mainStoreFlag=1==a.result.mainStoreFlag,a.result.minorStoreFlag=1==a.result.minorStoreFlag,a.result.openCardStoreFlag=1==a.result.openCardStoreFlag,a.result.clerkSeeOtherFlag=1==a.result.clerkSeeOtherFlag,a.result.allowGuideContact=1==a.result.allowGuideContact,a.result.allowGuideMobile=1==a.result.allowGuideMobile,a.result.allowGuideMessage=1==a.result.allowGuideMessage,a.result.allowGuideOnlineChat=1==a.result.allowGuideOnlineChat,a.result.showFreezeFlag=1==a.result.showFreezeFlag,a.result.isSeeAuthMember=1==a.result.isSeeAuthMember,a.result.faceOpenFlag=1==a.result.faceOpenFlag,a.result.searchFlag=1==a.result.searchFlag,t.myCustomData=a.result)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){this.getShowSet(this.brandId)}},mounted:function(){this.$emit("showTab","11"),this.getShowSet(this.brandId)},components:{}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.mainStoreFlag,callback:function(t){e.$set(e.myCustomData,"mainStoreFlag",t)},expression:"myCustomData.mainStoreFlag"}},[e._v("展示服务门店会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店作为服务门店名下会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.minorStoreFlag,callback:function(t){e.$set(e.myCustomData,"minorStoreFlag",t)},expression:"myCustomData.minorStoreFlag"}},[e._v("展示协管门店会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店作为协管门店名下会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.openCardStoreFlag,callback:function(t){e.$set(e.myCustomData,"openCardStoreFlag",t)},expression:"myCustomData.openCardStoreFlag"}},[e._v("展示开卡门店会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店作为开卡门店名下会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.showFreezeFlag,callback:function(t){e.$set(e.myCustomData,"showFreezeFlag",t)},expression:"myCustomData.showFreezeFlag"}},[e._v("展示冻结会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店冻结会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.isSeeAuthMember,callback:function(t){e.$set(e.myCustomData,"isSeeAuthMember",t)},expression:"myCustomData.isSeeAuthMember"}},[e._v("展示已开卡会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店微信会员(不含未开卡会员)及POS会员,不勾选将展示微信会员(即微信总量,含未开卡会员)及POS会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.clerkSeeOtherFlag,callback:function(t){e.$set(e.myCustomData,"clerkSeeOtherFlag",t)},expression:"myCustomData.clerkSeeOtherFlag"}},[e._v("允许导购查看其他导购会员")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购可查看本门店其他导购名下会员")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.faceOpenFlag,callback:function(t){e.$set(e.myCustomData,"faceOpenFlag",t)},expression:"myCustomData.faceOpenFlag"}},[e._v("展示人脸识别模块")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,会员基础信息将展示人脸识别相关内容。消费订单取当天数据进行匹配。如果录单时间是隔天的,不会产生消费订单通知,即不会产生人脸匹配通知")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"注:开启后,可选择导购在 < 我的顾客 > 中是否通过以下方式联系会员",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266 m-r-20",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("导购联系会员方式:")])]),e._v(" "),a("el-checkbox",{on:{change:e.changeContact},model:{value:e.myCustomData.allowGuideMobile,callback:function(t){e.$set(e.myCustomData,"allowGuideMobile",t)},expression:"myCustomData.allowGuideMobile"}},[e._v("电话")]),e._v(" "),a("el-checkbox",{on:{change:e.changeContact},model:{value:e.myCustomData.allowGuideMessage,callback:function(t){e.$set(e.myCustomData,"allowGuideMessage",t)},expression:"myCustomData.allowGuideMessage"}},[e._v("短信")]),e._v(" "),a("el-checkbox",{on:{change:e.changeContact},model:{value:e.myCustomData.allowGuideOnlineChat,callback:function(t){e.$set(e.myCustomData,"allowGuideOnlineChat",t)},expression:"myCustomData.allowGuideOnlineChat"}},[e._v("添加会员/发消息")])],1),e._v(" "),a("div",{staticClass:"m-t-46"},[a("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:function(t){e.submit("showFlag")}}},[e._v("保 存")])],1)])])},staticRenderFns:[]};var m=a("VU/8")(r,n,!1,function(e){a("lbDX")},"data-v-3a16ef00",null);t.default=m.exports}});
\ No newline at end of file
webpackJsonp([68],{"3enc":function(t,e){},O3gZ:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,l){return i("li",{key:"performance"+l,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])})),t._v(" "),"competitorInfo"==t.childItem.name?i("div",{staticClass:"compete-add"},[t._v("\n +竞品信息\n ")]):t._e()])},staticRenderFns:[]};var a=i("VU/8")(l,s,!1,function(t){i("3enc")},"data-v-37812d44",null);e.default=a.exports}});
\ No newline at end of file
webpackJsonp([69],{XrL3:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=e("3E4D"),o=e("Ch4/"),n=e("PI0u"),r=e("P9l9"),l={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",myCustomData:{salesGoodsFlag:!1,notSalesGoodsFlag:!1,showPriceFlag:!1},activeId:"1",loading:!1}},methods:{submit:Object(n.a)(function(t){this.loading=!0,this.setData(t)},500),setData:function(t){var a=this,e={enterpriseId:a.brandId,salesGoodsFlag:a.myCustomData.salesGoodsFlag?1:"0",notSalesGoodsFlag:a.myCustomData.notSalesGoodsFlag?1:"0",showPriceFlag:a.myCustomData.showPriceFlag?1:"0"};Object(r.d)("/haoban-app-aggregation-web/save-goods-setting",e).then(function(t){var e=t.data;a.loading=!1,a.getCustomerSet(),1!=e.errorCode?o.a.errorMsg(e):s.a.showmsg("保存成功","success")}).catch(function(t){a.loading=!1,a.$message.error({duration:1e3,message:t.message})})},getCustomerSet:function(t){var a=this,e={enterpriseId:a.brandId,wxEnterpriseRelatedId:a.wxEnterpriseRelatedId};Object(r.d)("/haoban-app-aggregation-web/find-goods-setting",e).then(function(t){var e=t.data;1!=e.errorCode?o.a.errorMsg(e):e.result&&(a.myCustomData.salesGoodsFlag=1==e.result.salesGoodsFlag,a.myCustomData.notSalesGoodsFlag=1==e.result.notSalesGoodsFlag,a.myCustomData.showPriceFlag=1==e.result.showPriceFlag)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,a){t&&this.getCustomerSet(this.brandId)}},mounted:function(){this.$emit("showTab","1"),this.brandId&&this.getCustomerSet(this.brandId)},components:{}},i={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"app-detail-wrap"},[e("div",{staticClass:"app-detail-pane border-box p-20"},[e("div",{staticClass:"m-b-20"},[e("span",{staticClass:"font-14 p-r-10"},[t._v("商品展示:")]),t._v(" "),e("el-checkbox",{model:{value:t.myCustomData.salesGoodsFlag,callback:function(a){t.$set(t.myCustomData,"salesGoodsFlag",a)},expression:"myCustomData.salesGoodsFlag"}},[t._v("已上架商品")]),e("el-checkbox",{model:{value:t.myCustomData.notSalesGoodsFlag,callback:function(a){t.$set(t.myCustomData,"notSalesGoodsFlag",a)},expression:"myCustomData.notSalesGoodsFlag"}},[t._v("未上架商品")])],1),t._v(" "),e("div",[e("el-switch",{model:{value:t.myCustomData.showPriceFlag,callback:function(a){t.$set(t.myCustomData,"showPriceFlag",a)},expression:"myCustomData.showPriceFlag"}}),e("span",{staticClass:"font-14 color-303133 p-l-10"},[t._v("商品详情屏蔽价格")]),e("span",{staticClass:"font-12 color-909399 p-l-10"},[t._v("注:开启后,商品列表及商品详情中会屏蔽价格字段。关闭后显示价格。")])],1),t._v(" "),e("div",{staticClass:"m-t-46"},[e("el-button",{attrs:{type:"primary",loading:t.loading},on:{click:function(a){t.submit("searchFlag")}}},[t._v("保 存")])],1)])])},staticRenderFns:[]};var d=e("VU/8")(l,i,!1,function(t){e("gdJW")},"data-v-303dd4bc",null);a.default=d.exports},gdJW:function(t,a){}});
\ No newline at end of file
webpackJsonp([7],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var c=i("VU/8")(n,r,!1,function(t){i("Ku61")},"data-v-0df4090e",null);s.default=c.exports},Ku61:function(t,s){},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"}});
\ No newline at end of file
webpackJsonp([7],{"2Aea":function(t,e){},"9t4z":function(t,e){},Isrn:function(t,e,a){"use strict";var i=a("Mk6G"),s={name:"addinput",props:{childItem:String,childIndex:Number,titleName:String,inputValue:String,maxLength:Number,disFlag:Number,child:String},data:function(){return{inputNum:0,limitLength:10,itemValue:"",disableInput:!1,c3Flag:"",c3Index:"",titleFlag:"",childFlag:""}},methods:{inputFocus:function(t){console.log(t)},toInput:function(t){var e="",a={};return e=i.a.getByteVal(t.target.value,this.limitLength),this.itemValue=e.trim(),this.inputNum=i.a.getZhLen(this.itemValue),this.childFlag?(a.child=this.childFlag,a.value=this.itemValue,"title"==this.titleFlag&&(a.title=this.titleFlag),"k303"==this.c3Flag&&(a.c3Index=this.c3Index,a.flag=this.c3Flag),void this.$emit("itemInput",a)):"title"==this.titleFlag?(a.value=this.itemValue,a.title=this.titleFlag,void this.$emit("itemInput",a)):"k303"==this.c3Flag?(a.value=this.itemValue,a.flag=this.c3Flag,a.c3Index=this.c3Index,void this.$emit("itemInput",a)):void this.$emit("itemInput",this.itemValue)}},watch:{maxLength:function(t,e){this.limitLength=t},inputValue:function(t,e){this.itemValue=t,this.inputNum=i.a.getZhLen(this.itemValue)},disFlag:function(t,e){this.disableInput=t},childItem:function(t,e){this.c3Flag=t},childIndex:function(t,e){this.c3Index=t},titleName:function(t,e){this.titleFlag=t},child:function(t,e){this.childFlag=t}},mounted:function(){console.log(this.childIndex),this.limitLength=this.maxLength,this.itemValue=this.inputValue||"",this.inputNum=i.a.getZhLen(this.inputValue),this.disableInput=this.disFlag||0,this.c3Flag=this.childItem||"",this.c3Index=0==this.childIndex?0:this.childIndex,this.titleFlag=this.titleName,this.childFlag=this.child}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"input-line-cell"},[a("el-input",{staticClass:"w-340",attrs:{placeholder:"",disabled:0!=t.disableInput},on:{focus:function(e){t.inputFocus(t.c3Index)}},nativeOn:{keyup:function(e){return a=e,t.toInput(a);var a}},model:{value:t.itemValue,callback:function(e){t.itemValue=e},expression:"itemValue"}}),t._v(" "),a("span",{staticClass:"tip"},[a("span",{staticClass:"len_span"},[t._v(t._s(t.inputNum))]),t._v("/"+t._s(t.limitLength))])],1)},staticRenderFns:[]};var l=a("VU/8")(s,n,!1,function(t){a("NLRX")},"data-v-45ab7f8a",null);e.a=l.exports},"J/6z":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("//Fk"),s=a.n(i),n=a("mvHQ"),l=a.n(n),r=a("u4Bf"),o=a.n(r),c=a("Isrn"),d=a("l46T"),u={name:"time-progress",props:{fieldName:{type:String,default:function(){return""}}},data:function(){return{}}},v={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"time-progress-contain"},[e("div",[e("p",{staticClass:"build-title title-flag"},[e("span",[this._v(this._s(this.fieldName))])])]),this._v(" "),this._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"time-progress-item"},[e("div",{staticClass:"time-progress-title"},[e("p",{staticClass:"gic-pull-left"},[this._v("50.00%")]),this._v(" "),e("p",{staticClass:"gic-pull-right"},[e("span",[this._v("15")]),this._v("/"),e("span",[this._v("30")])])]),this._v(" "),e("div",{staticClass:"time-progress-bottom"},[e("div",{staticClass:"time-progress-top"})])])}]};var p=a("VU/8")(u,v,!1,function(t){a("gqtZ")},"data-v-c215b988",null).exports,m={name:"store-performance",props:{fieldName:{type:String,default:function(){return""}}},data:function(){return{}}},f={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"data-number-contain"},[e("h3",{staticClass:"build-title title-flag"},[e("span",[this._v(this._s(this.fieldName))])]),this._v(" "),this._m(0)])},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("table",{staticClass:"data-number-table"},[a("thead",[a("tr",[a("th",{staticClass:"w_22"}),t._v(" "),a("th",{staticClass:"w_26"},[t._v("日")]),t._v(" "),a("th",{staticClass:"w_26"},[t._v("月")])])]),t._v(" "),a("tbody",[a("tr",[a("td",[t._v("指标")]),t._v(" "),a("td",[t._v("473,960")]),t._v(" "),a("td",[t._v("473,960")])]),t._v(" "),a("tr",[a("td",[t._v("累计销售额")]),t._v(" "),a("td",[t._v("473,960")]),t._v(" "),a("td",[t._v("999,476,960")])]),t._v(" "),a("tr",[a("td",[t._v("达成率")]),t._v(" "),a("td",[t._v("100%")]),t._v(" "),a("td",[t._v("100%")])]),t._v(" "),a("tr",[a("td",[t._v("同比")]),t._v(" "),a("td",[t._v("100%")]),t._v(" "),a("td",[t._v("100%")])]),t._v(" "),a("tr",[a("td",[t._v("环比")]),t._v(" "),a("td",[t._v("100%")]),t._v(" "),a("td",[t._v("100%")])])])])}]};var h=a("VU/8")(m,f,!1,function(t){a("pR/m")},"data-v-59e3175a",null).exports,g={name:"membership-data",props:{fieldName:{type:String,default:function(){return""}}},data:function(){return{}}},C={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"data-number-contain"},[e("h3",{staticClass:"build-title title-flag"},[e("span",[this._v(this._s(this.fieldName))])]),this._v(" "),this._m(0)])},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("table",{staticClass:"data-number-table"},[a("thead",[a("tr",[a("th",{staticClass:"w_22"}),t._v(" "),a("th",{staticClass:"w_26"},[t._v("日")]),t._v(" "),a("th",{staticClass:"w_26"},[t._v("月")])])]),t._v(" "),a("tbody",[a("tr",[a("td",{attrs:{colspan:"1"}},[t._v("会员总数")]),t._v(" "),a("td",{attrs:{colspan:"2"}},[t._v("9,000,000")])]),t._v(" "),a("tr",[a("td",[t._v("新增会员")]),t._v(" "),a("td",[t._v("473,960")]),t._v(" "),a("td",[t._v("473,960")])]),t._v(" "),a("tr",[a("td",[t._v("同比")]),t._v(" "),a("td",[t._v("100%")]),t._v(" "),a("td",[t._v("100%")])]),t._v(" "),a("tr",[a("td",[t._v("环比")]),t._v(" "),a("td",[t._v("100%")]),t._v(" "),a("td",[t._v("100%")])])])])}]};var b=a("VU/8")(g,C,!1,function(t){a("d2FR")},"data-v-0404e4e0",null).exports,_={name:"error-mointor",props:{fieldName:{type:String,default:function(){return""}}},data:function(){return{}}},I={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"anomal-monitor-contain"},[a("h3",{staticClass:"build-title title-flag"},[a("span",[t._v(t._s(t.fieldName))])]),t._v(" "),a("div",{staticClass:"progress-contain"},[a("div",{staticClass:"progress-center"},[a("div",{staticClass:"container-progress",staticStyle:{position:"relative"},attrs:{id:"container_progress1"}},[a("svg",{staticStyle:{display:"block",width:"100%"},attrs:{viewBox:"0 0 100 100"}},[a("path",{attrs:{d:"M 50,50 m 0,-46 a 46,46 0 1 1 0,92 a 46,46 0 1 1 0,-92",stroke:"#eee","stroke-width":"8","fill-opacity":"0"}}),t._v(" "),a("path",{staticStyle:{"stroke-dasharray":"289.067, 289.067","stroke-dashoffset":"72.2668",transition:"stroke-dashoffset 1.5s ease-in"},attrs:{d:"M 50,50 m 0,-46 a 46,46 0 1 1 0,92 a 46,46 0 1 1 0,-92",stroke:"#2f54eb","stroke-width":"8","fill-opacity":"0"}})]),t._v(" "),a("div",{staticClass:"progressbar-text progressbar-text-left",staticStyle:{position:"absolute",left:"50%",top:"50%",padding:"0px",margin:"0px",transform:"translate(-50%, -50%)",color:"#2f54eb","font-size":"14px","font-weight":"600"}},[t._v("75.00%")])]),t._v(" "),a("p",{staticClass:"progress-text"},[t._v("无导购率")])]),t._v(" "),a("div",{staticClass:"progress-center"},[a("div",{staticClass:"container-progress",staticStyle:{position:"relative"},attrs:{id:"container_progress2"}},[a("svg",{staticStyle:{display:"block",width:"100%"},attrs:{viewBox:"0 0 100 100"}},[a("path",{attrs:{d:"M 50,50 m 0,-46 a 46,46 0 1 1 0,92 a 46,46 0 1 1 0,-92",stroke:"#eee","stroke-width":"8","fill-opacity":"0"}}),t._v(" "),a("path",{staticStyle:{"stroke-dasharray":"289.067, 289.067","stroke-dashoffset":"216.8",transition:"stroke-dashoffset 1.5s ease-in"},attrs:{d:"M 50,50 m 0,-46 a 46,46 0 1 1 0,92 a 46,46 0 1 1 0,-92",stroke:"#2f54eb","stroke-width":"8","fill-opacity":"0"}})]),t._v(" "),a("div",{staticClass:"progressbar-text progressbar-text-mid",staticStyle:{position:"absolute",left:"50%",top:"50%",padding:"0px",margin:"0px",transform:"translate(-50%, -50%)",color:"#2f54eb","font-size":"14px","font-weight":"600"}},[t._v("25.00%")])]),t._v(" "),a("p",{staticClass:"progress-text"},[t._v("退单率")])]),t._v(" "),a("div",{staticClass:"progress-center"},[a("div",{staticClass:"container-progress",staticStyle:{position:"relative"},attrs:{id:"container_progress3"}},[a("svg",{staticStyle:{display:"block",width:"100%"},attrs:{viewBox:"0 0 100 100"}},[a("path",{attrs:{d:"M 50,50 m 0,-46 a 46,46 0 1 1 0,92 a 46,46 0 1 1 0,-92",stroke:"#eee","stroke-width":"8","fill-opacity":"0"}}),t._v(" "),a("path",{staticStyle:{"stroke-dasharray":"289.067, 289.067","stroke-dashoffset":"14.4534",transition:"stroke-dashoffset 1.5s ease-in"},attrs:{d:"M 50,50 m 0,-46 a 46,46 0 1 1 0,92 a 46,46 0 1 1 0,-92",stroke:"#2f54eb","stroke-width":"8","fill-opacity":"0"}})]),t._v(" "),a("div",{staticClass:"progressbar-text progressbar-text-right",staticStyle:{position:"absolute",left:"50%",top:"50%",padding:"0px",margin:"0px",transform:"translate(-50%, -50%)",color:"#2f54eb","font-size":"14px","font-weight":"600"}},[t._v("95.00%")])]),t._v(" "),a("p",{staticClass:"progress-text"},[t._v("凭空退单率")])])])])},staticRenderFns:[]};var x=a("VU/8")(_,I,!1,function(t){a("nLe3")},"data-v-601005fa",null).exports,y={name:"old-customer-data",props:{fieldName:{type:String,default:function(){return""}}},data:function(){return{}}},w={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"birth-number-contain"},[e("h3",{staticClass:"build-title title-flag"},[e("span",[this._v(this._s(this.fieldName))])]),this._v(" "),this._m(0)])},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"data-list"},[a("div",{staticClass:"data-item"},[a("div",{staticClass:"data-progress"},[a("span",{staticClass:"data-item-title"},[t._v("订单数占比")]),t._v(" "),a("div",{staticClass:"data-bottom"},[a("div",{staticClass:"data-num"},[t._v("80.00%")]),t._v(" "),a("div",{staticClass:"data-percent"},[a("span",{staticClass:"data-percent-first"},[t._v("8000")]),t._v("/"),a("span",{staticClass:"data-percent-second"},[t._v("10000")])]),t._v(" "),a("div",{staticClass:"data-top"})])]),t._v(" "),a("div",{staticClass:"data-title"},[a("p",{staticClass:"gic-pull-right"},[t._v("环比"),a("span",{staticClass:"data-ratio"},[t._v("50.55%")])])])]),t._v(" "),a("div",{staticClass:"data-item"},[a("div",{staticClass:"data-progress"},[a("span",{staticClass:"data-item-title"},[t._v("消费人数占比")]),t._v(" "),a("div",{staticClass:"data-bottom"},[a("div",{staticClass:"data-num"},[t._v("80.00%")]),t._v(" "),a("div",{staticClass:"data-percent"},[a("span",{staticClass:"data-percent-first"},[t._v("8000")]),t._v("/"),a("span",{staticClass:"data-percent-second"},[t._v("10000")])]),t._v(" "),a("div",{staticClass:"data-top"})])]),t._v(" "),a("div",{staticClass:"data-title"},[a("p",{staticClass:"gic-pull-right"},[t._v("环比"),a("span",{staticClass:"data-ratio"},[t._v("50.55%")])])])]),t._v(" "),a("div",{staticClass:"data-item"},[a("div",{staticClass:"data-progress"},[a("span",{staticClass:"data-item-title"},[t._v("消费金额占比")]),t._v(" "),a("div",{staticClass:"data-bottom"},[a("div",{staticClass:"data-num"},[t._v("80.00%")]),t._v(" "),a("div",{staticClass:"data-percent"},[a("span",{staticClass:"data-percent-first"},[t._v("8000")]),t._v("/"),a("span",{staticClass:"data-percent-second"},[t._v("10000")])]),t._v(" "),a("div",{staticClass:"data-top"})])]),t._v(" "),a("div",{staticClass:"data-title"},[a("p",{staticClass:"gic-pull-right"},[t._v("环比"),a("span",{staticClass:"data-ratio"},[t._v("50.55%")])])])])])}]};var N=a("VU/8")(y,w,!1,function(t){a("9t4z")},"data-v-4f8082bc",null).exports,k={name:"birthday-membership-data",props:{fieldName:{type:String,default:function(){return""}}},data:function(){return{}}},L={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"birth-number-contain"},[e("h3",{staticClass:"build-title title-flag"},[e("span",[this._v(this._s(this.fieldName))])]),this._v(" "),this._m(0)])},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"data-list"},[a("div",{staticClass:"data-item"},[a("div",{staticClass:"data-progress"},[a("span",{staticClass:"data-item-title"},[t._v("订单数占比")]),t._v(" "),a("div",{staticClass:"data-bottom"},[a("div",{staticClass:"data-num"},[t._v("80.00%")]),t._v(" "),a("div",{staticClass:"data-percent"},[a("span",{staticClass:"data-percent-first"},[t._v("8000")]),t._v("/"),a("span",{staticClass:"data-percent-second"},[t._v("10000")])]),t._v(" "),a("div",{staticClass:"data-top"})])]),t._v(" "),a("div",{staticClass:"data-title"},[a("p",{staticClass:"gic-pull-right"},[t._v("环比"),a("span",{staticClass:"data-ratio"},[t._v("50.55%")])])])]),t._v(" "),a("div",{staticClass:"data-item"},[a("div",{staticClass:"data-progress"},[a("span",{staticClass:"data-item-title"},[t._v("消费人数占比")]),t._v(" "),a("div",{staticClass:"data-bottom"},[a("div",{staticClass:"data-num"},[t._v("80.00%")]),t._v(" "),a("div",{staticClass:"data-percent"},[a("span",{staticClass:"data-percent-first"},[t._v("8000")]),t._v("/"),a("span",{staticClass:"data-percent-second"},[t._v("10000")])]),t._v(" "),a("div",{staticClass:"data-top"})])]),t._v(" "),a("div",{staticClass:"data-title"},[a("p",{staticClass:"gic-pull-right"},[t._v("环比"),a("span",{staticClass:"data-ratio"},[t._v("50.55%")])])])]),t._v(" "),a("div",{staticClass:"data-item"},[a("div",{staticClass:"data-progress"},[a("span",{staticClass:"data-item-title"},[t._v("消费金额占比")]),t._v(" "),a("div",{staticClass:"data-bottom"},[a("div",{staticClass:"data-num"},[t._v("80.00%")]),t._v(" "),a("div",{staticClass:"data-percent"},[a("span",{staticClass:"data-percent-first"},[t._v("8000")]),t._v("/"),a("span",{staticClass:"data-percent-second"},[t._v("10000")])]),t._v(" "),a("div",{staticClass:"data-top"})])]),t._v(" "),a("div",{staticClass:"data-title"},[a("p",{staticClass:"gic-pull-right"},[t._v("环比"),a("span",{staticClass:"data-ratio"},[t._v("50.55%")])])])])])}]};var M=a("VU/8")(k,L,!1,function(t){a("rCrC")},"data-v-0f4583b2",null).exports,V=a("fPyK"),D={props:{setting:{type:[Number,String],default:function(){return"0"}}},data:function(){return{setVisible:!0,selectId:"0"}},computed:{},watch:{setting:function(t){this.selectId=t}},methods:{handleClose:function(t){t(),this.$emit("closeSet","close"),this.selectId=""},cancel:function(){this.$emit("closeSet","close"),this.selectId=""},submitForm:function(){this.$emit("closeSet",this.selectId)}},components:{},mounted:function(){this.selectId=this.setting}},R={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{width:"600px",title:"模板设置",visible:t.setVisible,"append-to-body":"","before-close":t.handleClose},on:{"update:visible":function(e){t.setVisible=e}}},[a("div",{staticClass:"m-t-20"},[a("el-radio",{attrs:{label:"0"},model:{value:t.selectId,callback:function(e){t.selectId=e},expression:"selectId"}},[t._v("定义在日报自定义上报模板上面")]),t._v(" "),a("el-radio",{staticClass:"m-l-40",attrs:{label:"1"},model:{value:t.selectId,callback:function(e){t.selectId=e},expression:"selectId"}},[t._v("定义在日报自定义上报模板下面")])],1),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.cancel}},[t._v("取消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("确定")])],1)])},staticRenderFns:[]};var O=a("VU/8")(D,R,!1,function(t){a("2Aea")},"data-v-a0488c76",null).exports,Z=a("3E4D"),j=a("Ch4/"),S=a("PI0u"),F=a("P9l9"),W={name:"staffRecordsTemplate",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeName:"first",rightName:"first",dialogVisible:!1,bodyHeight:(document.documentElement.clientHeight||document.body.clientHeight)-277+"px",isDragging:!1,delayedDragging:!1,leftOption:{group:{name:"people",pull:"clone",put:!1},sort:!1,disabled:!1},enterpriseId:this.brandId,setting:"0",selectKey:"",cardInfo:[],tradeInfo:[],birthdayMemberInfo:[],memberInfo:[],powerInfo:[],currentIndex:0,tempaletDataList:[],setParent:[],setVisible:!1,loadingBtn:!1}},created:function(){},methods:{templateSet:function(){this.setVisible=!0},closeSet:function(t){if(this.setVisible=!1,"close"==t)return!1;this.setting=t},clickItem:function(t){},onMove:function(t){var e=t.draggedContext.element;return!this.tempaletDataList.map(function(t){return t.name}).includes(e.name)&&!e.fixed},itemMoveEnd:function(t){var e=this;e.isDragging=!1,e.selectKey="",e.selectKey=t.clone.dataset.name,e.tempaletDataList.forEach(function(t,a){var i;t.name==e.selectKey&&(i=t.parentCode,e[i].forEach(function(t,a){t.name==e.selectKey&&(t.fixed=!0)}))}),e.selectKey="",e.tempaletDataList=JSON.parse(l()(e.tempaletDataList)),e.$forceUpdate()},selectItem:function(t,e){this.currentIndex=e},deleteItem:function(t,e,a){this.tempaletDataList.splice(a,1),this.currentIndex--,this.currentIndex<=0&&(this.currentIndex=0),this[e].forEach(function(e,a){e.name==t&&(e.fixed=!1)})},changeRoute:function(t){this.$router.push(t)},isRepeat:function(t){var e={};for(var a in t){if(e[t[a]])return!0;e[t[a]]=!0}return!1},checkTag:function(t){var e={filedFlag:!0,filedRepeat:!1},a=[];return t.forEach(function(t,e){a.push(t.title)}),this.isRepeat(a)&&(e.filedRepeat=!0),e},getUuid:function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)})},saveAndBack:Object(S.a)(function(t){var e=JSON.parse(l()(this.tempaletDataList));return this.checkTag(e).filedRepeat?(this.$message.error({duration:1e3,message:"字段标题不能重复"}),!1):(e.forEach(function(t,e){t.sort=e}),e.length?(this.loadingBtn=!0,void("save"===t?this.saveAllData(e):this.postPreview(e))):(this.$message.error({duration:1e3,message:"请先配置字段"}),!1))},500),saveAllData:function(t){var e=this,a={enterpriseId:e.enterpriseId,templateContent:l()({setting:e.setting,data:t})};Object(F.d)("/haoban-app-daily-three-web/daily/save-system-template",a).then(function(t){var a=t.data;e.loadingBtn=!1,1!=a.errorCode?j.a.errorMsg(a):Z.a.showmsg("保存成功","success")}).catch(function(t){e.loadingBtn=!1,e.$message.error({duration:1e3,message:t.message})})},postPreview:function(t){var e=this,a={templateType:0,enterpriseId:e.enterpriseId,templateContent:l()(t)};Object(F.d)("/haoban-app-daily-three-web/daily/preview-template",a).then(function(t){var a=t.data;e.loadingBtn=!1;JSON.parse(localStorage.getItem("userInfos")).enterpriseId;if(1==a.errorCode){var i=window.location.origin+"/office-mobile/#/systemTemplate?enterpriseId="+e.enterpriseId+"&templateId="+a.result;return e.$refs.qrcodePreview.qrcode(i,"daily-preview"),void(e.dialogVisible=!0)}j.a.errorMsg(a)}).catch(function(t){e.loadingBtn=!1,e.$message.error({duration:1e3,message:t.message})})},closeDialog:function(){this.dialogVisible=!1},getAllFields:function(){var t=this;Object(F.a)("/haoban-app-daily-three-web/daily/get-template-items",{enterpriseId:t.enterpriseId,type:1}).then(function(e){var a=e.data;if(1==a.errorCode){var i=setTimeout(function(){t.handleAllFields(a.result),clearTimeout(i)},200);return!1}j.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleAllFields:function(t){var e=this;t.forEach(function(t,a){e.setParent.includes(t.name)?t.fixed=!0:t.fixed=!1,1==t.classify&&(t.parentCode="cardInfo",e.cardInfo.push(t)),2==t.classify&&(t.parentCode="tradeInfo",e.tradeInfo.push(t)),3==t.classify&&(t.parentCode="birthdayMemberInfo",e.birthdayMemberInfo.push(t)),4==t.classify&&(t.parentCode="memberInfo",e.memberInfo.push(t)),5==t.classify&&(t.parentCode="powerInfo",e.powerInfo.push(t))})},getInfo:function(){var t=this;Object(F.a)("/haoban-app-daily-three-web/daily/get-system-template-data",{enterpriseId:t.enterpriseId}).then(function(e){var a=e.data;1!=a.errorCode?j.a.errorMsg(a):a.result&&(t.setting=String(a.result.setting),a.result.data&&a.result.data.length&&t.handleGetInfo(a.result.data))}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleGetInfo:function(t){var e=this,a=JSON.parse(l()(t));e.setParent=[],a.forEach(function(t,a){t.fixed=!0,e.setParent.push(t.name)}),e.tempaletDataList=a}},watch:{isDragging:function(t){var e=this;t?e.delayedDragging=!0:e.$nextTick(function(){e.delayedDragging=!1})},brandId:function(t,e){var a=this;t&&(a.enterpriseId=t,a.cardInfo=[],a.tradeInfo=[],a.birthdayMemberInfo=[],a.memberInfo=[],a.powerInfo=[],a.currentIndex=0,a.tempaletDataList=[],a.setParent=[],s.a.all([a.getInfo()]).then(function(t){console.log(),a.getAllFields()}).catch(function(t){console.log(t)}))}},components:{draggable:o.a,AddInput:c.a,limitInput:d.a,timeProgress:p,storePerformance:h,errorMointor:x,membershipData:b,oldCustomerData:N,birthdayMembershipData:M,qrcodeDialog:V.a,systemSet:O},mounted:function(){var t=this;t.$emit("showTab","31"),document.documentElement.style.backgroundColor="#f0f2f5",t.enterpriseId=t.brandId,s.a.all([t.getInfo()]).then(function(e){t.getAllFields()}).catch(function(t){console.log(t)}),document.body.ondrop=function(t){t.preventDefault(),t.stopPropagation()}},destroyed:function(){document.documentElement.style.backgroundColor="#fff"}},X={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"template-wrap",style:{minHeight:t.bodyHeight}},[i("div",{staticClass:"template-contain"},[i("div",{staticClass:"template-head"},[t._m(0),t._v(" "),i("div",{staticClass:"template-btns flex-1 flex-r"},[i("el-button",{attrs:{type:"primary",plain:""},on:{click:t.templateSet}},[t._v("模板设置")]),t._v(" "),i("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:function(e){t.saveAndBack("save")}}},[t._v("保存并启用")])],1)]),t._v(" "),i("div",{staticClass:"template-body"},[i("div",{staticClass:"template-cell template-cell-l system-template-tab"},[i("div",{staticClass:"template-cell-title font-14 color-303133"},[t._v("系统字段")]),t._v(" "),i("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[i("el-tab-pane",{attrs:{label:"卡片",name:"first"}},[i("ul",{staticStyle:{"max-width":"450px","min-width":"420px"}},[i("draggable",{staticClass:"compenent",attrs:{id:"list1",list:t.cardInfo,options:t.leftOption,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.cardInfo,function(e,a){return i("li",{key:a,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name,"aria-hidden":"true"},on:{mousedown:function(a){t.clickItem(e)}}},[i("span",[t._v(t._s(e.title))])])}))],1)]),t._v(" "),i("el-tab-pane",{attrs:{label:"交易",name:"second"}},[i("ul",{staticStyle:{"max-width":"450px","min-width":"420px"}},[i("draggable",{staticClass:"compenent",attrs:{id:"list2",list:t.tradeInfo,options:t.leftOption,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.tradeInfo,function(e,a){return i("li",{key:a,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name},on:{mousedown:function(a){t.clickItem(e)}}},[i("span",[t._v(t._s(e.title))])])}))],1)]),t._v(" "),i("el-tab-pane",{attrs:{label:"生日会员",name:"third"}},[i("ul",{staticStyle:{"max-width":"450px","min-width":"420px"}},[i("draggable",{staticClass:"compenent",attrs:{id:"list3",list:t.birthdayMemberInfo,options:t.leftOption,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.birthdayMemberInfo,function(e,a){return i("li",{key:a,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name},on:{mousedown:function(a){t.clickItem(e)}}},[i("span",[t._v(t._s(e.title))])])}))],1)]),t._v(" "),i("el-tab-pane",{attrs:{label:"会员",name:"four"}},[i("ul",{staticStyle:{"max-width":"450px","min-width":"420px"}},[i("draggable",{staticClass:"compenent",attrs:{id:"list4",list:t.memberInfo,options:t.leftOption,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.memberInfo,function(e,a){return i("li",{key:a,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name},on:{mousedown:function(a){t.clickItem(e)}}},[i("span",[t._v(t._s(e.title))])])}))],1)]),t._v(" "),i("el-tab-pane",{attrs:{label:"执行力",name:"five"}},[i("ul",{staticStyle:{"max-width":"450px","min-width":"420px"}},[i("draggable",{staticClass:"compenent",attrs:{id:"list5",list:t.powerInfo,options:t.leftOption,move:t.onMove},on:{start:function(e){t.isDragging=!0},end:t.itemMoveEnd}},t._l(t.powerInfo,function(e,a){return i("li",{key:a,class:["compenent-item",1==e.fixed?"fixed-item":""],attrs:{"data-name":e.name},on:{mousedown:function(a){t.clickItem(e)}}},[i("span",[t._v(t._s(e.title))])])}))],1)])],1)],1),t._v(" "),i("div",{staticClass:"template-cell template-cell-m"},[i("div",{staticClass:"phone-view"},[i("div",{staticClass:"phone-show-content"},[i("div",{staticClass:"drag-show-content"},[i("div",{staticClass:"view-container"},[i("ul",{staticClass:"view-content",attrs:{id:"showPhoneView"}},[0==t.tempaletDataList.length?[i("img",{staticClass:"templet-null-img",attrs:{src:a("Y7wY")}})]:t._e(),t._v(" "),i("draggable",{staticClass:"drag-wrap",attrs:{options:{group:{name:"people",pull:!1,put:!0},sort:!0}},model:{value:t.tempaletDataList,callback:function(e){t.tempaletDataList=e},expression:"tempaletDataList"}},t._l(t.tempaletDataList,function(e,a){return i("li",{key:"li1"+a,class:["filed-item",t.currentIndex==a?"active-item":"","li-block"],on:{click:function(i){i.stopPropagation(),t.selectItem(e.fieldCode,a)}}},[i("span",{staticClass:"item-close p-item-close",on:{click:function(i){i.stopPropagation(),t.deleteItem(e.name,e.parentCode,a)}}},[i("i",{staticClass:"el-icon-close"})]),t._v(" "),"1"!=e.classify?i("div",{staticClass:"filed-item-name"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))])]):t._e(),t._v(" "),"timeProgress"==e.name?i("time-progress",{attrs:{fieldName:e.title}}):t._e(),t._v(" "),"dataShop"==e.name?i("store-performance",{attrs:{fieldName:e.title}}):t._e(),t._v(" "),"dataNumber"==e.name?i("membership-data",{attrs:{fieldName:e.title}}):t._e(),t._v(" "),"anomalMonitor"==e.name?i("error-mointor",{attrs:{fieldName:e.title}}):t._e(),t._v(" "),"oldNumber"==e.name?i("old-customer-data",{attrs:{fieldName:e.title}}):t._e(),t._v(" "),"birthNumber"==e.name?i("birthday-membership-data",{attrs:{fieldName:e.title}}):t._e()],1)}))],2)])])])])])])]),t._v(" "),i("qrcode-dialog",{ref:"qrcodePreview",model:{value:t.dialogVisible,callback:function(e){t.dialogVisible=e},expression:"dialogVisible"}}),t._v(" "),t.setVisible?i("system-set",{attrs:{setting:t.setting},on:{closeSet:t.closeSet}}):t._e()],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"template-title flex-1"},[e("div",{staticClass:"el-alert el-alert--info",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title"},[this._v("云日报系统报表:提供系统能够智能识别的指标(例如:销售额、达成率等),配置成报表融入云日报上报模板中。")])])])])}]};var A=a("VU/8")(W,X,!1,function(t){a("u3CD")},"data-v-01175e4f",null);e.default=A.exports},NLRX:function(t,e){},Y7wY:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPkAAACRCAIAAACOionwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgy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RRr9IsEeVrkWxJ4S2+4SZln8uf14V5ZxHtJ/9CMfR8/CwReodP3mmlsTS5YZqZ6bmh664T03utrUOnf0A4q4Wov0Z2w2bTM/Ysa999wX2LDbtm0ro2E2RRfJlOxB02k3be9oN977G6yQym1cBB5zTrsbDavIdUl3YFk8i14mZURnFu4B7dRu5qN42H3GATMiUw+k0A5mx0vQjrnAe2hkbZm/ZKvXNDICBArU2S4eiEN7WucDNw4NDZpsW4EaEGCCx/amyBiUi64pghu2JTVtv/5ygxE7cejQQSvkPnf3vUZl2+km/uPxOIzCzwyFD7/6tX9DfNM0OdMi+f8asN7IaOE2j5yJeNBWGk/ZZgvX2wOXpBOb6RNW3EeXSUX4xo1v8ifmtpOQIrzMHVl45MRdE5b8pLeGKIi9rZYxwz1Vtni2CaZJINydm1qo+OEd8FgqWJmbqtphXoEnr25LjuIVs63BdVsx9lGc8GPRyNSeurMwLH7uKW+gFTEn+G7J5GMU/qc8/KEoF+2M+ZMb+e9yXPIjjT7ELVDgdknbmzT+nJ7rgpB90OfXBXFdEMR1QRDXBUFcFwRxXRDEdUF4LfEnAQYA+LOKDxiFWhsAAAAASUVORK5CYII="},d2FR:function(t,e){},gqtZ:function(t,e){},nLe3:function(t,e){},"pR/m":function(t,e){},rCrC:function(t,e){},u3CD:function(t,e){}});
\ No newline at end of file
webpackJsonp([70],{"77Zz":function(t,e){},dhLd:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Ch4/"),o=a("3E4D"),s=a("PI0u"),i=a("P9l9"),r={components:{},props:{brandId:{type:String,default:""}},data:function(){var t=this;return{recordShow:!1,wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",statusObj:{3:"待领取",4:"待核销",5:"已核销",6:"已过期",7:"已销毁",8:"已占用"},activeId:"2",conditionObj:{postDateRange:[],searchInput:""},choiceDateCopy:[],pickerOptions:{onPick:function(e){var a=e.maxDate,n=e.minDate;t.choiceDateCopy=[n.getTime()],a&&(t.choiceDateCopy=[])},disabledDate:function(e){if(t.choiceDateCopy.length){var a=t.choiceDateCopy[0]-31536e6,n=t.choiceDateCopy[0]+31536e6;return e.getTime()<a||e.getTime()>n}}},templateData:[],strategyData:[],loading:!1,tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(t){t&&this.getTableList()}},filters:{percenteNum:function(t){return t>0?Number(100*t).toFixed(2)+"%":Number(t).toFixed(2)+"%"}},methods:{changeDate:function(){this.currentPage=1,this.getTableList()},toDel:function(t,e){var a=this;a.$confirm("是否要删除选中的卡券?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(e.coupCardId)}).catch(function(){})},delCardList:function(t){var e=this,a={gicEnterpriseId:e.brandId,coupCardId:t};Object(i.d)("/haoban-app-customer-web/inner/del-card-coup",a).then(function(t){var a=t.data;if(1==a.errorCode)return o.a.showmsg("删除成功","success"),void e.getTableList(e.brandId);n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toInput:Object(s.a)(function(t,e){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(){var t=this;t.loading=!0,t.conditionObj.postDateRange||(t.conditionObj.postDateRange=[]);var e={wxEnterpriseId:t.wxEnterpriseId,search:t.conditionObj.searchInput,queryType:1,sendStartDate:t.conditionObj.postDateRange[0],sendEndDate:t.conditionObj.postDateRange[1],pageNum:t.currentPage,pageSize:t.pageSize};Object(i.d)("/haoban-app-customer-web/inner/find-card-log-page",e).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.result||[],void(t.total=a.result.totalCount);n.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.$emit("showTab","41"),this.getTableList()}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[a("div",[a("el-date-picker",{attrs:{"prefix-icon":"el-icon-time","picker-options":t.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"~","start-placeholder":"发送开始时间","end-placeholder":"发送结束时间"},on:{change:t.changeDate},model:{value:t.conditionObj.postDateRange,callback:function(e){t.$set(t.conditionObj,"postDateRange",e)},expression:"conditionObj.postDateRange"}}),a("el-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"284px"},attrs:{placeholder:"请输入卡券名称/卡券代码/会员信息",maxlength:"50",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 3px)"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"成员信息","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex nowrap"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[e.row.headImg?a("img",{attrs:{src:e.row.headImg,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info m-l-10",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("span",{staticClass:"font-14 color-606266 text-ellipsis line-18"},[t._v(t._s(e.row.staffName||"--"))]),t._v(" "),a("span",{staticClass:"font-12 color-909399 text-ellipsis line-18"},[t._v(t._s(t._f("formatPhoneNum")(e.row.phoneNum)))])])])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员信息","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"font-14 color-606266 line-18"},[t._v(t._s(e.row.memberName||"--"))]),t._v(" "),a("div",{staticClass:"font-12 color-909399 line-18"},[t._v(t._s(t._f("formatPhoneNum")(e.row.phoneNum)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.cardName||"--")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"发券渠道","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n 好办内购券\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券状态","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[3==e.row.status?a("span",{staticClass:"status-dot bg-7c6af2"}):t._e(),4==e.row.status?a("span",{staticClass:"status-dot bg-2f54eb"}):t._e(),5==e.row.status?a("span",{staticClass:"status-dot bg-52c41a"}):t._e(),6==e.row.status?a("span",{staticClass:"status-dot bg-f5222d"}):t._e(),7==e.row.status?a("span",{staticClass:"status-dot bg-c0c4cc"}):t._e(),8==e.row.status?a("span",{staticClass:"status-dot bg-faad14"}):t._e(),a("span",{staticClass:"inline-block"},[t._v(t._s(t.statusObj[e.row.status]))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"发送时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.createDate?a("div",[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createDate)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createDate)))])]):a("div",[t._v("\n --\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"领取时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.receiveTime?a("div",[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.receiveTime)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.receiveTime)))])]):a("div",[t._v("\n --\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"核销时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.useTime?a("div",[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.useTime)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.useTime)))])]):a("div",[t._v("\n --\n ")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[]};var c=a("VU/8")(r,l,!1,function(t){a("77Zz")},"data-v-2eed1b01",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([71],{W3Gj:function(t,e){},jPcV:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("W3Gj")},"data-v-2ce516a1",null);e.default=o.exports}});
\ No newline at end of file
webpackJsonp([72],{FMQe:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("fZjL"),i=a.n(n),o=a("LRn8"),s=a("P9l9"),l=a("PI0u"),r=a("3E4D"),c=a("Ch4/"),d={props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,actictiveGroup:this.activeGroupId,showDialog:!1,activeId:"1",conditionObj:{searchInput:""},wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",loading:!1,selectRadio:0,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0}},computed:{},methods:{toDel:function(e,t){var a=this;a.$confirm("是否要删除选中的任务?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(t.sessionTaskId)}).catch(function(){})},delCardList:function(e){var t=this,a={wxEnterpriseId:t.wxEnterpriseId,sessionTaskId:e};Object(s.d)("/haoban-app-tel-task-three-web/delete-session-task",a).then(function(e){var a=e.data;if(1==a.errorCode)return r.a.showmsg("删除成功","success"),void t.getTableList();c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},hidePop:function(e){e.visible=!1},handleDelete:function(e){var t=this,a={helpId:e.helpId};Object(s.d)("/haoban-app-tel-task-three-web/del-help",a).then(function(e){1===e.data.errorCode?(t.$message.success(e.data.message),t.currentPage=1,t.getTableList()):t.$message.warning(e.data.message)}).catch(function(e){})},checkGroupIds:function(e){this.conditionObj.storeGroup=e,this.currentPage=1,this.getTableList()},handleCommand:function(e){this.selectRadio=e},toInput:Object(l.a)(function(e,t){this.currentPage=1,this.getTableList()},500),handleSelectionChange:function(e){this.multipleSelection=e},delDepart:function(e,t){t.splice(e,1),this.currentPage=1,this.getTableList()},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!i()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={search:t.conditionObj.searchInput||"",enterpriseId:t.activeBrand,delTaskStatus:e.delOptFlag,reason:e.reason,isAll:t.selectRadio};Object(s.d)("/haoban-app-tel-task-three-web/batch-del-store-task-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return r.a.showmsg("删除成功","success"),void t.getTableList();c.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},toNewSession:function(e,t){this.$router.push("newSession")},getTableList:function(e){var t=this;t.loading=!0;var a={search:t.conditionObj.searchInput||"",pageNum:t.currentPage,pageSize:t.pageSize,wxEnterpriseId:t.wxEnterpriseId};Object(s.a)("/haoban-app-tel-task-three-web/session-task-list",a).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.list||[],t.total=a.result.pageInfo.total,!1;c.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())},activeGroupId:function(e,t){e&&(this.activeGroup=e)}},mounted:function(){var e=this;document.documentElement.style.backgroundColor="#f0f2f5",e.activeBrand=e.brandId,e.$emit("showTab","3"),this.brandId&&e.$nextTick(function(){e.getTableList()})},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{multipleDel:o.a}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"daily-set-wrap "},[a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入任务名称",maxlength:"50"},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.conditionObj.searchInput);var a}},model:{value:e.conditionObj.searchInput,callback:function(t){e.$set(e.conditionObj,"searchInput",t)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"primary"},on:{click:e.toNewSession}},[e._v("新建会话任务")])],1)]),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{label:"任务标题",width:"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticStyle:{width:"100%",overflow:"hidden","text-overflow":"ellipsis"}},[e._v(e._s(t.row.taskTitle))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务内容","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticStyle:{width:"100%",overflow:"hidden","text-overflow":"ellipsis"}},[e._v(e._s(t.row.taskContent))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"创建时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.createTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.lastTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"创建人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.createName))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.toDel(t.$index,t.row)}}},[e._v("删除")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!1},on:{hideDialog:e.hideDialog}})],1)},staticRenderFns:[]};var h=a("VU/8")(d,u,!1,function(e){a("md80")},"data-v-2bc8c21f",null);t.default=h.exports},md80:function(e,t){}});
\ No newline at end of file
webpackJsonp([73],{NpHY:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Ggl+"),o=a("P9l9"),i=a("PI0u"),r=a("Ch4/"),s={name:"reviewed",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeTab:"1",activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"2",topMenuData:[{id:"1",name:"指标管理",path:"/monthList"},{id:"2",name:"月指标任务",path:""}],showDialog:!1,conditionObj:{searchInput:"",storeGroupIds:[],storeStatus:"",dateRange:[]},storeStatusOptions:[{value:"",label:"所有门店状态"},{value:"0",label:"待审核"},{value:"1",label:"正常"},{value:"2",label:"审核失败"},{value:"3",label:"停业整顿"},{value:"4",label:"回收站"},{value:"5",label:"删除"}],loading:!1,selectRadio:0,tableData:[],currentPage:1,pageSize:20,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1},loadingBtn:!1}},computed:{},methods:{checkGroupIds:function(t){this.conditionObj.storeGroupIds=t,this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},setSelectTab:function(t){this.activeTab=t.tabId},toInput:Object(i.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreStatus:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},exportExcel:function(){var t=this;t.loadingBtn=!0;var e={keyword:t.conditionObj.searchInput,storeGroupIds:t.conditionObj.storeGroupIds.map(function(t){return t.storeGroupId}).join(",")||"",storeStatus:t.conditionObj.storeStatus,startDate:t.conditionObj.dateRange?t.conditionObj.dateRange[0]:"",endDate:t.conditionObj.dateRange?t.conditionObj.dateRange[1]:"",enterpriseId:t.activeBrand};Object(o.b)("/haoban-app-performance-three-web/performance/export-store-month-performance-task",e).then(function(e){if(t.loadingBtn=!1,!e.data)return r.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=document.createElement("a");n.download="store-month-performance-task.xls",n.style.display="none",n.href=URL.createObjectURL(a),document.body.appendChild(n),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},toDetail:function(t,e){var a="",n="";this.conditionObj.dateRange.length>0&&(a=this.conditionObj.dateRange[0],n=this.conditionObj.dateRange[1]),this.$router.push("monthTaskDetail?storeId="+e.storeId+"&startDate="+a+"&endDate="+n)},getTableList:function(t){var e=this;e.loading=!0,e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var a={keyword:e.conditionObj.searchInput||"",storeGroupIds:e.conditionObj.storeGroupIds.map(function(t){return t.storeGroupId}).join(",")||"",storeStatus:e.conditionObj.storeStatus||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(o.a)("/haoban-app-performance-three-web/performance/query-store-month-performance-task",a).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo.total,!1;r.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","2"),this.activeBrand=this.brandId,this.activeGroup=this.activeGroupId,this.brandId&&this.getTableList()},destroyed:function(){this.activeGroup="",document.documentElement.style.backgroundColor="#fff"},components:{gicSelectGroup:n.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap common-right-wrap"},[a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称/code",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:t.brandId,width:213,selectData:t.conditionObj.storeGroupIds},on:{checkGroupIds:t.checkGroupIds}}),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",staticStyle:{width:"310px"},attrs:{editable:!1,"value-format":"yyyy-MM",type:"monthrange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始月份","end-placeholder":"结束月份"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"storeName",label:"门店名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",{staticStyle:{width:"100%",overflow:"hidden","text-overflow":"ellipsis"}},[t._v(t._s(e.row.storeName))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"taskCount",label:"任务总数"}}),t._v(" "),a("el-table-column",{attrs:{prop:"completedCount",label:"已完成(含放弃)","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"completedRate",label:"完成率(含放弃)","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"noCompletedCount",label:"待完成","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"overdueCount",label:"逾期中","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDetail(e.$index,e.row)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[]};var c=a("VU/8")(s,l,!1,function(t){a("zpCb")},"data-v-2988610f",null);e.default=c.exports},zpCb:function(t,e){}});
\ No newline at end of file
webpackJsonp([74],{E5kI:function(t,e){},QHTa:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("bzW+"),i=a("Qie6"),c=a("Z8ln"),o=a("Ch4/"),r=a("P9l9"),s={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"我的顾客",path:""}],tabListData:[{tabId:"1",tabName:"会员基础设置",icon:"iconjichushezhi",onlyIconActive:!1,children:[{tabId:"11",tabName:"会员展示设置",icon:""},{tabId:"12",tabName:"会员分组设置",icon:""},{tabId:"13",tabName:"会员搜索设置",icon:""},{tabId:"14",tabName:"会员详情设置",icon:""}]},{tabId:"2",tabName:"我的顾客列表",icon:"icongukeguanliicon"}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,e={enterpriseId:t.activeBrand};Object(r.a)("/haoban-manage3-web/enterprise-is-over",e).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):t.expiredFlag=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"11":this.changeRoute("memberShowSet");break;case"12":this.changeRoute("memberGroupSet");break;case"13":this.changeRoute("memberSearchSet");break;case"14":this.changeRoute("memberDetailSet");break;case"2":this.changeRoute("myCustomerList")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})},changeNavShow:function(t){"/addGroupTemplate"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"我的顾客",path:"/memberShowSet"},{name:this.$route.query.templateId?"编辑模板":"新建模板",path:""}]:"/storeRangeSet"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"我的顾客",path:"/memberShowSet"},{name:"门店范围设置",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"我的顾客",path:""}]}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t},$route:{handler:function(t,e){this.changeNavShow(t)},deep:!0}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a,expiredDialog:c.a}},h={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?a("expired-dialog"):t._e()],1)},staticRenderFns:[]};var d=a("VU/8")(s,h,!1,function(t){a("E5kI")},"data-v-239e9aa7",null);e.default=d.exports}});
\ No newline at end of file
webpackJsonp([75],{S36v:function(t,e){},cD4x:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Xxa5"),r=a.n(n),i=a("exGp"),o=a.n(i),s=a("Ch4/"),c=a("3E4D"),l=a("PI0u"),u=a("P9l9"),d={components:{},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",loading:!1,searchInput:"",tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(t){t&&this.getTableList()}},methods:{toDel:function(t,e){var a=this;a.$confirm("是否要删除选中的补发卡券?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(e.repairId)}).catch(function(){})},delCardList:function(t){var e=this,a={repairId:t};Object(u.d)("/haoban-app-customer-web/inner/delete-repair",a).then(function(t){var a=t.data;if(1==a.errorCode)return c.a.showmsg("删除成功","success"),void e.getTableList(e.brandId);s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/newCardPut?repairId="+e.repairId)},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},toNewCard:function(){this.$router.push("/newCardPut")},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var t=this;return o()(r.a.mark(function e(){var a,n;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(a=t).loading=!1,n={wxEnterpriseId:a.wxEnterpriseId,pageNum:a.currentPage,pageSize:a.pageSize},Object(u.d)("/haoban-app-customer-web/inner/page-repair",n).then(function(t){var e=t.data;if(a.loading=!1,1==e.errorCode)return a.tableData=e.result.result||[],void(a.total=e.result.totalCount);s.a.errorMsg(e)}).catch(function(t){a.loading=!1,a.$message.error({duration:1e3,message:t.message})});case 4:case"end":return e.stop()}},e,t)}))()}},mounted:function(){this.$emit("showTab","3"),this.getTableList()}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[t._m(0),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.toNewCard}},[t._v("新增补发")])],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 0px)"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"卡券组合名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.cardCombineName)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券模板","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.cardTemplates)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toEdit(e.$index,e.row)}}},[t._v("查看")]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDel(e.$index,e.row)}}},[t._v("删除")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("span",{staticClass:"font-12 color-909399 p-l-10 font-w-300"},[this._v("内购券投放是针对卡券策略中没有下发的内购券,针对员工进行补发")])])}]};var g=a("VU/8")(d,p,!1,function(t){a("S36v")},"data-v-23811d10",null);e.default=g.exports}});
\ No newline at end of file
webpackJsonp([76],{NiGE:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("mvHQ"),n=a.n(r),s=a("Gu7T"),i=a.n(s),c=a("Xxa5"),o=a.n(c),u=a("exGp"),d=a.n(u),h=a("PI0u"),l=a("Ch4/"),p=a("3E4D"),f=a("P9l9"),y={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",brandName:"",activeBrand:this.brandId,yearMonth:"",activeId:"3",myObject:{hasEmptyGrid:!1,empytGrids:[],days:[],hasLastEmptyGrid:!1,lastEmpytGrids:[],beginDate:"",endDate:""},performanceWeightSettingList:[],settingStatus:1,settingAble:1}},computed:{},methods:{is_leap:function(t){return t%400==0||t%4==0&&t%100!=0},m_days:function(t){return[31,28+this.is_leap(t),31,30,31,30,31,31,30,31,30,31]},addZero:function(t){return t<10?"0"+parseInt(t):t},getThisMonthDays:function(t,e){return new Date(t,e,0).getDate()},getFirstDayOfWeek:function(t,e){return new Date(Date.UTC(t,e-1,1)).getDay()},getLastDayOfWeek:function(t,e){return new Date(Date.UTC(t,e-1,this.getThisMonthDays(t,e))).getDay()},getYearMonthDayWeek:function(t,e,a){return new Date(t,e-1,a).getDay()},isOverMonth:function(t,e){return t.split("-")[1]==e.split("-")[1]},calculateEmptyGrids:function(t,e){var a=this;return d()(o.a.mark(function r(){var n,s,i;return o.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,a.getFirstDayOfWeek(t,e);case 2:if(n=r.sent,s=[],n>0)for(i=0;i<n;i++)s.push(i);return r.abrupt("return",s);case 6:case"end":return r.stop()}},r,a)}))()},calDayEmptyGrids:function(t,e,a){var r=this;return d()(o.a.mark(function n(){var s,i,c;return o.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,r.getYearMonthDayWeek(t,e,a);case 2:if(s=n.sent,i=[],s>0)for(c=0;c<s;c++)i.push(c);return n.abrupt("return",i);case 6:case"end":return n.stop()}},n,r)}))()},calculateLastEmptyGrids:function(t,e){var a=this;return d()(o.a.mark(function r(){var n,s,i;return o.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,a.getLastDayOfWeek(t,e);case 2:if(n=r.sent,s=[],n>=0)for(i=0;i<6-n;i++)s.push(i);return r.abrupt("return",s);case 6:case"end":return r.stop()}},r,a)}))()},calLastEmptyGrids:function(t,e,a){var r=this;return d()(o.a.mark(function n(){var s,i,c;return o.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,r.getYearMonthDayWeek(t,e,a);case 2:if(s=n.sent,i=[],s>=0)for(c=0;c<6-s;c++)i.push(c);return n.abrupt("return",i);case 6:case"end":return n.stop()}},n,r)}))()},calculateDays:function(t,e,a,r){var n=this;return d()(o.a.mark(function s(){var c,u,d,h,l,p,f,y,m,v;return o.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return c=n,(u={}).beginDate=a,u.endDate=r,u.year=t,s.next=7,c.addZero(e);case 7:return u.month=s.sent,d=a.split("-"),h=r.split("-"),s.next=12,c.isOverMonth(a,r);case 12:return l=s.sent,s.next=15,c.calDayEmptyGrids(d[0],d[1],d[2]);case 15:return(p=s.sent).length>0?(u.hasEmptyGrid=!0,u.empytGrids=p):(u.hasEmptyGrid=!1,u.empytGrids=[]),s.next=19,c.calLastEmptyGrids(h[0],h[1],h[2]);case 19:if((f=s.sent).length>0?(u.hasLastEmptyGrid=!0,u.lastEmpytGrids=f):(u.hasLastEmptyGrid=!1,u.lastEmpytGrids=[]),!l){s.next=27;break}return s.next=24,c.setCurrentMonth(d[0],d[1],d[2],h[2]);case 24:u.days=s.sent,s.next=37;break;case 27:return s.next=29,c.getThisMonthDays(d[0],d[1]);case 29:return y=s.sent,s.next=32,c.setCurrentMonth(d[0],d[1],d[2],y);case 32:return m=s.sent,s.next=35,c.setCurrentMonth(h[0],h[1],1,h[2]);case 35:v=s.sent,u.days=[].concat(i()(m),i()(v));case 37:return c.myObject=u,s.abrupt("return",u);case 39:case"end":return s.stop()}},s,n)}))()},setCurrentMonth:function(t,e,a,r){for(var n=this,s=[],i=function(a){var r={};if(n.performanceWeightSettingList.length)n.performanceWeightSettingList.forEach(function(t,e){parseInt(t.date.split("-")[2])==a&&(r.weightValue=Number(t.weightValue).toFixed(2))});else{var i=n.getYearMonthDayWeek(t,e,a);r.weightValue=5==i?Number(1.8).toFixed(2):6==i||0==i?Number(2).toFixed(2):Number(1).toFixed(2)}r.performanceDay=n.addZero(a),r.date=t+"-"+n.addZero(e)+"-"+n.addZero(a),r.month=n.addZero(e),s.push(r)},c=a;c<=r;c++)i(c);return s},resetData:function(){this.performanceWeightSettingList=[];var t=this.yearMonth.split("-");this.calculateDays(t[0],t[1],this.myObject.beginDate,this.myObject.endDate)},saveSet:Object(h.a)(function(){var t=this,e=!0;if(t.myObject.days.forEach(function(t){(!t.weightValue||t.weightValue<=0||!Number(t.weightValue))&&(e=!1)}),!e)return this.$confirm("每日的权重不能为空,必须为数字,且不小于 0 ?","提示",{confirmButtonText:"确定",showCancelButton:!1,type:"warning"}).then(function(){}),!1;t.$confirm(0==t.settingStatus?"点击即下发门店月指标任务,请确认是否提交?":"此次提交只影响日指标值,不会触发月指标任务,请确认是否提交?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.postSave(t.myObject.days)}).catch(function(){})},500),postSave:function(t){var e=this,a={enterpriseId:e.activeBrand,yearMonth:e.yearMonth,performanceWeightSettingList:n()(t)};Object(f.d)("/haoban-app-performance-three-web/performance/save-performance-weight-setting",a).then(function(t){var a=t.data;if(1==a.errorCode)return p.a.showmsg("保存成功","success"),void e.getData();l.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,yearMonth:t.yearMonth};Object(f.d)("/haoban-app-performance-three-web/performance/query-performance-weight-setting",e).then(function(e){var a=e.data,r=t.yearMonth.split("-");if(1==a.errorCode)return t.performanceWeightSettingList=a.result.performanceWeightSettingList||[],t.settingStatus=a.result.settingStatus,t.settingAble=a.result.settingAble,t.brandName=a.result.enterpriseName,t.myObject.beginDate=a.result.beginDate,t.myObject.endDate=a.result.endDate,void t.calculateDays(r[0],r[1],a.result.beginDate,a.result.endDate);l.a.errorMsg(a),t.settingAble=0}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.yearMonth=this.$route.query.yearMonth,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","1"),this.brandId&&(this.yearMonth=this.$route.query.yearMonth,this.getData())},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap common-right-wrap"},[a("div",{staticClass:"day-set-content border-box"},[a("div",{staticClass:"day-set-title m-b-20"},[a("span",{staticClass:"font-18 color-303133"},[t._v(t._s(t.yearMonth))]),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"right"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("首次设置提交即下发门店月指标任务;"),a("br"),t._v("门店月指标将依照日权重自动分配,日指标=当月月指标*(日权重/∑当月日权重);")]),t._v(" "),a("span",{staticClass:"font-14 color-606266 m-l-10",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v(t._s(t.brandName)+"日权重")])])],1),t._v(" "),a("section",[t._m(0),t._v(" "),a("div",{staticClass:"week week-body"},[t.myObject.hasEmptyGrid?t._l(t.myObject.empytGrids,function(t,e){return a("div",{key:e+"empytGrids",staticClass:"day grid white-color"})}):t._e(),t._v(" "),t._l(t.myObject.days,function(e,r){return a("div",{key:r,staticClass:"day w-p-14 selectable",class:0==e?"hide":""},[a("div",{staticClass:"w-120 font-14 color-909399 day-performance"},[t._v(t._s(e.month+"-"+e.performanceDay))]),t._v(" "),a("div",{staticClass:"target-value "},[a("el-input",{staticClass:"w-120",attrs:{maxlength:"50",placeholder:"请输入权重值",disabled:0==t.settingAble},model:{value:e.weightValue,callback:function(a){t.$set(e,"weightValue",a)},expression:"day.weightValue"}})],1)])}),t._v(" "),t.myObject.hasLastEmptyGrid?t._l(t.myObject.lastEmpytGrids,function(t,e){return a("div",{key:e+"lastEmpytGrids",staticClass:"day grid white-color"})}):t._e()],2)]),t._v(" "),1==t.settingAble?a("div",{staticClass:"day-set-btn m-t-24 text-center"},[a("el-button",{attrs:{type:"primary",plain:""},on:{click:t.resetData}},[t._v("重置")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.saveSet}},[t._v("提交")])],1):t._e()])])},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"week"},[a("div",{staticClass:"week-head day w-p-14"},[t._v("周日")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周一")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周二")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周三")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周四")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周五")]),t._v(" "),a("div",{staticClass:"week-head day w-p-14"},[t._v("周六")])])}]};var v=a("VU/8")(y,m,!1,function(t){a("onqf")},"data-v-2226deed",null);e.default=v.exports},onqf:function(t,e){}});
\ No newline at end of file
webpackJsonp([77],{YHkV:function(e,t){},Yz8m:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),l=a("2eFk"),i=a("Ke24"),s=a("LRn8"),r=a("fPyK"),c=a("P9l9"),d=a("Ch4/"),u=a("3E4D"),f={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"}},data:function(){return{tableH:window.screen.availHeight-464-126,activeId:"2",activeBrand:this.brandId,topMenuData:[{id:"1",name:"不良评价回访记录",path:"/badEvaluateRecord"},{id:"2",name:"记录详情",path:""}],selectRadio:0,showDialog:!1,conditionObj:{completed:"",overdue:""},completedOptions:[{label:"已完成",value:"1"},{label:"未完成",value:"0"}],overOptions:[{label:"已逾期",value:"1"},{label:"未逾期",value:"0"}],tableData:[],multipleSelection:[],dialogVisible:!1,currentPage:1,pageSize:20,total:0}},computed:{},methods:{handleCommand:function(e){this.selectRadio=e},selectBrandId:function(e){this.activeBrand=e},setSelectTab:function(e){this.activeTab=e.tabId},changeSelect:function(){this.currentPage=1,this.getTableList()},handleSelectionChange:function(e){this.multipleSelection=e},multDel:function(){if(!this.multipleSelection.length)return this.$message.error({duration:1e3,message:"请选择删除项"}),!1;this.showDialog=!0},hideDialog:function(e){if(this.showDialog=!1,!n()(e).length)return!1;this.postMultDel(e)},postMultDel:function(e){var t=this,a={taskType:0,storeId:t.conditionObj.storeId,taskIds:t.multipleSelection.map(function(e){return e.taskIds})||"",isOverTime:t.conditionObj.overdue||"",isCompleted:t.conditionObj.completed||"",reason:e.reason,brandId:t.activeBrand,isAll:t.selectRadio};Object(c.d)("/haoban-app-tel-task-web/task/batch-del-clerk-task-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return u.a.showmsg("删除成功","success"),void t.getTableList();d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handleDel:function(e,t){var a=this;a.$confirm("确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postDel(e,t)}).catch(function(){})},postDel:function(e,t){var a=this,o={taskId:t.taskId,brandId:a.activeBrand};Object(c.a)("/haoban-app-tel-task-web/task/del-one",o).then(function(t){var o=t.data;if(1==o.errorCode)return u.a.showmsg("删除成功","success"),void a.tableData.splice(e,1);d.a.errorMsg(o)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},handlePreview:function(e,t){this.postPreview(e,t)},postPreview:function(e,t){var a=""+t.taskId;this.$refs.qrcodePreview.qrcode(a,"daily-detail"),this.dialogVisible=!0},getTableList:function(e){var t=this,a={storeId:t.conditionObj.storeId||"",isOverTime:t.conditionObj.overdue||"",isCompleted:t.conditionObj.completed||"",pageNum:t.currentPage,pageSize:t.pageSize,brandId:t.activeBrand,taskType:0};Object(c.a)("/haoban-app-tel-task-web/task/clerk-task-list",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.tableData=a.result.list||[],void(t.total=a.result.pageInfo.total);d.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","1"),this.activeBrand=this.brandId,this.conditionObj.storeId=this.$route.query.storeId,this.brandId&&this.getTableList()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:l.a,commonDetailTop:i.a,multipleDel:s.a,qrcodeDialog:r.a}},p={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-select",{staticClass:"w-105",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.completed,callback:function(t){e.$set(e.conditionObj,"completed",t)},expression:"conditionObj.completed"}},e._l(e.completedOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),a("el-select",{staticClass:"w-105 m-l-10",attrs:{placeholder:"请选择"},on:{change:e.changeSelect},model:{value:e.conditionObj.overdue,callback:function(t){e.$set(e.conditionObj,"overdue",t)},expression:"conditionObj.overdue"}},e._l(e.overOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[a("el-button",{attrs:{type:"danger"},on:{click:e.multDel}},[e._v("批量删除")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark",height:e.tableH},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"},on:{command:e.handleCommand}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{attrs:{command:"0"}},[a("span",{style:{color:0==e.selectRadio?"#2f54eb":"#606266"}},[e._v("选择当页")])]),e._v(" "),a("el-dropdown-item",{attrs:{command:"1"}},[a("span",{style:{color:1==e.selectRadio?"#2f54eb":"#606266"}},[e._v("选择全部")])])],1)],1)]}},{key:"default",fn:function(e){}}])}),e._v(" "),a("el-table-column",{attrs:{label:"指派对象"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-pack-center flex-start"},[a("div",{class:["image-wrap flex flex-align-center flex-pack-center",t.row.headImgUrl?"bg-eceaeb":"bg-82c5ff"]},[t.row.headImgUrl?a("img",{attrs:{src:t.row.headImgUrl,alt:""}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),a("div",{staticClass:"clerk-info flex flex-column flex-space-between m-l-16"},[a("p",{staticClass:"font-14 color-303133"},[e._v(e._s(t.row.clerkName))]),e._v(" "),a("p",{staticClass:"font-14 color-909399"},[e._v(e._s(t.row.clerkPhone))])])])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.createTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成期限","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.lastTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.lastTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"逾期情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isOverTime))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCompleted))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("formatTimeYMD")(t.row.finishTime)))]),e._v(" "),a("div",[e._v(e._s(e._f("formatTimeHMS")(t.row.finishTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"left"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("span",[e._v(e._s(t.row?"完成备注":"放弃备注"))])]}},{key:"default",fn:function(e){return[a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:e.row.reason}},[a("i",{staticClass:"iconfont icon-beizhu"})])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"完成备注"},scopedSlots:e._u([{key:"default",fn:function(t){return["已完成"==t.row.isCompleted?a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:"已完成"==t.row.isCompleted?t.row.reason:""}},[a("i",{staticClass:"iconfont icon-beizhu",staticStyle:{"font-size":"40px"},attrs:{slot:"reference"},slot:"reference"})]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"放弃备注"},scopedSlots:e._u([{key:"default",fn:function(t){return["未完成"==t.row.isCompleted?a("el-popover",{attrs:{placement:"top-start",title:"",width:"200",trigger:"hover",content:"已完成"==t.row.isCompleted?"":t.row.reason}},[a("i",{staticClass:"iconfont icon-beizhu",staticStyle:{"font-size":"40px"},attrs:{slot:"reference"},slot:"reference"})]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handleDel(t.$index,t.row)}}},[e._v("删除")]),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.handlePreview(t.$index,t.row)}}},[e._v("预览")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),a("multiple-del",{attrs:{showDialog:e.showDialog,detailFlag:!0},on:{hideDialog:e.hideDialog}}),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}})],1)},staticRenderFns:[]};var m=a("VU/8")(f,p,!1,function(e){a("YHkV")},"data-v-2151619f",null);t.default=m.exports}});
\ No newline at end of file
webpackJsonp([78],{fC5n:function(t,e){},vuAV:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),s=a("P9l9"),r=a("Ch4/"),l=a("PI0u"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-298+"px",navpath:[{name:"首页",path:"/index"},{name:"溢出门店",path:""}],searchInput:"",currentPage:1,pageSize:20,total:0,tableData:[]}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(t){var e=this,a={keyWord:e.searchInput||"",pageNum:e.currentPage,pageSize:e.pageSize};Object(s.a)("/haoban-manage3-web/store-full-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.result||[],e.total=a.result.totalCount,!1;r.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("div",{staticClass:"overstore-body"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition-search m-t-20"},[a("el-input",{staticClass:"w-293",attrs:{placeholder:"请输入门店名称/CODE/ID",maxlength:"50",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}})],1),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"门店名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"iconfont icondianpu-kuai color-2f54eb"}),a("span",{staticClass:"p-l-10"},[t._v(t._s(e.row.storeName||"--"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"ERP CODE","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeCode||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"企业微信部门ID","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.wxDepartmentId||"--"))]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])])])])],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"overstore-tip"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title color-606266 font-14"},[this._v("什么是溢出门店?"),e("br"),this._v("当新增的门店超出你所订购的门店容量,系统会自动将其放入该列表。这些门店的所有业务功能都被禁用了,请尽快前往应用市场扩容门店容量,溢出门店将在门店容量充足的情况下自动恢复为可用状态。")])])])])}]};var c=a("VU/8")(o,i,!1,function(t){a("fC5n")},"data-v-1f5275bb",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([79],{K1Vb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("U/wX")},"data-v-1e10bdd3",null);e.default=o.exports},"U/wX":function(t,e){}});
\ No newline at end of file
webpackJsonp([8],{"0O+1":function(e,t){},HpNJ:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("mvHQ"),o=a.n(r),n=a("3E4D"),i=a("Ch4/"),l=a("PI0u"),s=a("P9l9"),u={name:"unreview",data:function(){return{wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",auditName:localStorage.getItem("userInfos")&&JSON.parse(localStorage.getItem("userInfos")).staffDTO?JSON.parse(localStorage.getItem("userInfos")).staffDTO.staffName:"",filterValue:"",filterBrand:"",brandOptions:[],searchValue:"",loading:!1,tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,showAdd:!1,ruleForm:{id:"",name:"",code:""}}},methods:{toNext:function(e){this.$router.push("/second?id="+e.id)},toCancel:function(){this.closeText(),this.$refs.ruleForm.resetFields()},handleClose:function(e){this.closeText(),this.$refs.ruleForm.resetFields()},submitForm:Object(l.a)(function(e){var t=this;t.$refs[e].validate(function(e){e&&t.postSave()})},300),postSave:function(){var e=this,t={categoryId:e.categoryId,materialType:1,materialId:e.ruleForm.materialId,materialTitle:e.ruleForm.materialTitle,materialContent:e.ruleForm.materialContent};Object(s.b)(e.ruleForm.materialId?"/haoban-manage3-web/material-edit":"/haoban-manage3-web/material-add",t).then(function(t){var a=t.data;1==a.errorCode?(n.a.showmsg("操作成功","success"),e.$refs.ruleForm.resetFields(),e.closeText()):i.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleAdd:function(e){e&&(this.ruleForm=JSON.parse(o()(e))),this.showAdd=!0},closeText:function(){this.ruleForm={id:"",name:"",code:""},this.showAdd=!1},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handlDel:function(e,t){var a=this;a.$confirm("确认是否删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postApprove(t)}).catch(function(){})},postApprove:function(e){var t=this,a={auditId:e.id,auditName:t.auditName};Object(s.b)("/haoban-manage3-web/audit/audit",a).then(function(e){var a=e.data;if(1==a.errorCode)return n.a.showmsg("操作成功","success"),t.currentPage=1,void t.getTableList();i.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getTableList:function(e){var t=this;e&&(t.currentPage=1),t.loading=!0;var a={wxEnterpriseId:t.wxEnterpriseId,auditType:t.filterValue,auditStatus:"0",auditFlag:"0",search:t.searchValue,pageNum:t.currentPage,pageSize:t.pageSize,enterpriseId:t.filterBrand};Object(s.a)("/haoban-manage3-web/audit/find-page",a).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.result||[],void(t.total=a.result.totalCount);i.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.$emit("showTab",1),this.getTableList()},components:{}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"unreview-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 126px)"}},[a("div",{staticClass:"text-right m-b-20"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.handleAdd("")}}},[e._v("新增")])],1),e._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.auditType?a("span",[e._v("门店信息变更")]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.name||"--")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-h-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.createTime)))]),e._v(" "),a("div",{staticClass:"line-h-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.handleAdd(t.row)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.handlDel(t.$index,t.row)}}},[e._v("删除")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])]),e._v(" "),a("el-dialog",{attrs:{title:e.ruleForm.id?"编辑模块":"新建模块",visible:e.showAdd,width:"600px","before-close":e.handleClose},on:{"update:visible":function(t){e.showAdd=t}}},[a("div",{},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"文本标题",prop:"materialTitle"}},[a("el-input",{attrs:{placeholder:"请输入模块"},model:{value:e.ruleForm.name,callback:function(t){e.$set(e.ruleForm,"name",t)},expression:"ruleForm.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"code",prop:"materialContent"}},[a("el-input",{attrs:{placeholder:"请输入code"},model:{value:e.ruleForm.code,callback:function(t){e.$set(e.ruleForm,"code",t)},expression:"ruleForm.code"}})],1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.toCancel}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm("ruleForm")}}},[e._v("确定")])],1)])],1)},staticRenderFns:[]};var d=a("VU/8")(u,c,!1,function(e){a("0O+1")},"data-v-71489459",null);t.default=d.exports}});
\ No newline at end of file
webpackJsonp([8],{"/ud3":function(t,e){},"0FDa":function(t,e){},QJEo:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALMAAABgCAYAAABWvkNyAAAAAXNSR0IArs4c6QAAAyNJREFUeAHt2rFu2zAQBmA7CNChW9e+/6N1Lbp0rYtkIOEgyykn8U76AgRgApo8ffeDUWTffv3+93j7vvki0FzgpXn9yicwBIR5UBh0FxDm7h1U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{chart:null}},props:{charData:{type:Array,default:function(){return[]}},id:String,width:{type:Number,default:800}},mounted:function(){var t=this;setTimeout(function(){t.drawChart()},30)},beforeUpdate:function(){this.drawChart()},watch:{charData:function(){this.drawChart()}},methods:{drawChart:function(){this.chart&&this.chart.destroy(),this.chart=new i.a({container:this.id,width:this.width,autoFit:!0,height:280,padding:[50,80,60,60]}),this.chart.data(this.charData);var t=this.charData.length>7?15:25;this.chart.scale({avgVisitTime:{min:0,nice:!0,alias:"人均访问时长"},loginClerkCnt:{nice:!0,alias:"总登录人数"},bizDates:{}}),this.chart.annotation().text({top:!0,position:["-4%","-10%"],content:"登录人数",offsetX:0,offsetY:0}),this.chart.annotation().text({top:!0,position:["100%","-10%"],content:"访问时长",offsetX:0,offsetY:0}),this.chart.axis("avgVisitTime",{grid:null,title:null,label:{formatter:function(t){return s.a.formatTime(t)}}}),this.chart.axis("loginClerkCnt",{title:null,label:{formatter:function(t){return~String(t).indexOf(".")?"":t}}}),this.chart.tooltip({showCrosshairs:!0,shared:!0,itemTpl:'<li style="padding-bottom: 10px;><span style="background-color:{color};width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:8px;"></span>{name}: {value}</li>'}),this.chart.interval().position("bizDates*loginClerkCnt").color("#597EF7").size(t),this.chart.line().position("bizDates*avgVisitTime").color("#5ad8a6").tooltip("bizDates*avgVisitTime",function(t,e){return{name:"人均访问时长",value:s.a.formatTime(e)}}),this.chart.legend({position:"top",itemGap:20,custom:!0,items:[{value:"loginClerkCnt",name:"总登录人数",marker:{symbol:"square",style:{fill:"#597ef7",r:4}}},{value:"avgVisitTime",name:"人均访问时长",marker:{symbol:"hyphen",style:{stroke:"#5ad8a6",r:5,lineWidth:3}}}]}),this.chart.render()}}},o={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{attrs:{id:this.id}})},staticRenderFns:[]};var r=a("VU/8")(n,o,!1,function(t){a("eBvo")},"data-v-554cac14",null);e.a=r.exports},kX6v:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("3Xzz"),s=a("ApSX"),n=a("jNLg"),o=a("rbYK"),r=a("P9l9"),l=a("Ch4/"),c=a("Q0Ca"),d={name:"activeDetail",data:function(){return{navpath:[{name:"好办使用详情",path:"/enterpriseUseData?brandId="+this.$route.query.brandId},{name:"登录人员明细",path:""}],selectTendDay:"",activeName:"first",selectStartDay:"",endDay:"",selectEndDay:"",pickerOptions:{disabledDate:function(t){var e=Date.now()-6912e5;return t.getTime()>=Date.now()-864e5||t.getTime()<e}},groupIds:[],charData:[],currentPage:1,pageSize:20,total:0,tableData:[],multipleSelection:[],sortColumn:"",sortType:"",addShow:!1,loadingBtn:!1,selectRadio:0,tabActive:"1",storeId:""}},computed:{},methods:{changeTableDate:function(){this.getTableList()},changeDate:function(){this.getTendData()},changeTab:function(t){this.tabActive=t,this.getTendData()},checkGroupIds:function(t){this.groupIds=t,this.storeId="",this.getTableList()},handleClick:function(t,e){this.currentPage=1,this.pageSize=20,this.total=0,this.selectRadio=0,this.tableData=[],this.getTableList()},sortChangeLogin:function(t,e,a){this.sortColumn=t.prop,this.sortType="ascending"==t.order?"asc":"desc",this.getTableList()},sortChange:function(t,e,a){this.sortColumn=t.prop,this.sortType="ascending"==t.order?"asc":"desc",this.getTableList()},handleCommand:function(t){this.selectRadio=t},handleSelectionChange:function(t){this.multipleSelection=t},exportExcel:function(){this.loadingBtn=!0,this.postExcelData()},postExcelData:function(){var t=this,e={enterpriseId:t.$route.query.brandId,startDate:t.selectEndDay,endDate:t.selectEndDay,groupIdList:t.groupIds.map(function(t){return t.storeGroupId}).join(","),storeIdList:t.storeId,loginStatus:"first"==t.activeName?1:"0",selectType:t.selectRadio};Object(r.b)("/haoban-manage3-web/web/export-login-detail-list",e).then(function(e){if(t.loadingBtn=!1,!e.data)return l.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),i=("first"==t.activeName?"登录明细":"未登录明细")+"报表.csv",s=document.createElement("a");s.download=i,s.style.display="none",s.href=URL.createObjectURL(a),document.body.appendChild(s),s.click(),URL.revokeObjectURL(s.href),document.body.removeChild(s)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},changeRoute:function(t){this.$router.push(t)},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTendData:function(t){var e=this,a={enterpriseId:e.$route.query.brandId,datesType:e.tabActive,startDate:1==e.tabActive?e.selectStartDay:e.selectTendDay,endDate:1==e.tabActive?e.endDay:e.selectTendDay};Object(r.a)("/haoban-manage3-web/web/total-login-data",a).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.result&&a.result.result.forEach(function(t){t.bizDates=1==e.tabActive?t.bizDates.split("-")[1]+"-"+t.bizDates.split("-")[2]:t.bizDates,t.avgLoginTimes=parseInt(t.avgLoginTimes),t.avgVisitTime=parseInt(t.avgVisitTime)}),e.charData=a.result.result||[],!1;l.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getTableList:function(t){var e=this,a={enterpriseId:e.$route.query.brandId,startDate:e.selectEndDay,endDate:e.selectEndDay,groupIdList:e.groupIds.map(function(t){return t.storeGroupId}).join(","),storeIdList:e.storeId,loginStatus:"first"==e.activeName?1:"0",sortColumn:e.sortColumn,sortType:e.sortType,pageSize:e.pageSize,currentPage:e.currentPage};Object(r.d)("/haoban-manage3-web/web/login-detail-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.result.list||[],e.total=a.result.result.total||0,!1;l.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){var t=this;t.selectStartDay=c.a.timeStampToYmd((new Date).getTime()-6048e5),t.endDay=c.a.timeStampToYmd((new Date).getTime()-864e5),t.selectEndDay=t.$route.query.selectTableDay?t.$route.query.selectTableDay:c.a.timeStampToYmd((new Date).getTime()-864e5),t.selectTendDay=c.a.timeStampToYmd((new Date).getTime()-864e5),t.storeId=t.$route.query.storeId?t.$route.query.storeId:"",t.$nextTick(function(){t.getTableList(),t.getTendData()}),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:i.a,gicSelectGroupMult:s.a,dayLoginChart:n.a,timeLoginChart:o.a}},h={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"my-customer-wrap common-set-wrap"},[i("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),i("div",{staticClass:"right-content"},[i("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 104px)"}},[i("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 104px)"}},[i("div",{staticClass:"apps-content-right"},[i("div",{staticClass:"flex flex-space-between"},[i("div",{staticClass:"font-16 color-303133"},[i("div",{staticClass:"flex"},[i("div",{class:["font-14 font-w-600 cursor-pointer",1==t.tabActive?"color-303133":"color-909399"],on:{click:function(e){t.changeTab("1")}}},[t._v("日访问趋势")]),t._v(" "),i("div",{class:["font-14 font-w-600 day-tend cursor-pointer",2==t.tabActive?"color-303133":"color-909399"],on:{click:function(e){t.changeTab("2")}}},[t._v("日时段访问趋势")])])]),t._v(" "),t._m(0)]),t._v(" "),2==t.tabActive?i("div",{staticClass:"date-div m-t-20"},[i("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd",type:"date",placeholder:"选择日期",clearable:!1,"picker-options":t.pickerOptions},on:{change:t.changeDate},model:{value:t.selectTendDay,callback:function(e){t.selectTendDay=e},expression:"selectTendDay"}})],1):t._e(),t._v(" "),i("div",{staticClass:"chart-body m-t-20"},[i("div",{staticClass:"flex flex-space-between"},[t.charData.length?i("day-login-chart",{staticClass:"flex-1",attrs:{charData:t.charData,id:"day-login-chart"}}):t._e(),t._v(" "),t.charData.length?t._e():i("div",{staticClass:"no-data-char"},[i("img",{attrs:{src:a("QJEo"),alt:""}}),t._v(" "),i("p",{staticClass:"font-12 color-c0c4cc m-t-20"},[t._v("- 暂无数据 -")])]),t._v(" "),t.charData.length?i("time-login-chart",{staticClass:"flex-1",attrs:{charData:t.charData,id:"time-login-chart"}}):t._e(),t._v(" "),t.charData.length?t._e():i("div",{staticClass:"no-data-char"},[i("img",{attrs:{src:a("QJEo"),alt:""}}),t._v(" "),i("p",{staticClass:"font-12 color-c0c4cc m-t-20"},[t._v("- 暂无数据 -")])])],1)]),t._v(" "),i("div",{staticClass:"m-t-20"},[i("el-tabs",{attrs:{type:"card"},on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[i("el-tab-pane",{attrs:{label:"登录人员",name:"first"}}),t._v(" "),i("el-tab-pane",{attrs:{label:"未登录人员",name:"second"}})],1)],1),t._v(" "),i("div",{staticClass:"table-search"},[i("div",{staticClass:"flex flex-space-between"},[i("div",[i("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd",type:"date",placeholder:"选择日期",clearable:!1,"picker-options":t.pickerOptions},on:{change:t.changeTableDate},model:{value:t.selectEndDay,callback:function(e){t.selectEndDay=e},expression:"selectEndDay"}}),i("gic-select-group-mult",{staticClass:"m-l-10",attrs:{selectData:t.groupIds},on:{checkGroupIds:t.checkGroupIds}}),i("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("筛选条件下,"+t._s("second"==t.activeName?"未":"")+"登录人员有 "+t._s(t.total)+" 人,名单如下:")])],1),t._v(" "),i("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.exportExcel}},[i("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),t._v("导出")])],1)]),t._v(" "),i("div",{staticClass:"m-t-20"},["first"==t.activeName?i("div",[i("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"sort-change":t.sortChangeLogin,"selection-change":t.handleSelectionChange}},[i("el-table-column",{attrs:{prop:"",label:"员工信息","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{staticClass:"ul-li-cell"},[i("div",{staticClass:"cell-info"},[i("div",{staticClass:"cell-info-name font-14 color-303133 flex flex-column"},[i("span",{staticClass:"gic-name"},[i("span",[t._v(t._s(e.row.clerkName||"--"))]),1==e.row.clerkType?i("el-tag",{staticClass:"m-l-10",attrs:{size:"small",type:"warning"}},[t._v("店长")]):t._e()],1),i("span",{staticClass:"gic-version"},[t._v(t._s(e.row.clerkCode||"--"))])])])])]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"",label:"归属门店","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeName||"--"))]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"lastLoginTime",label:"最后登录时间",sortable:"custom","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.lastLoginTime))+" "+t._s(e.row.lastLoginTime?"":"--"))]),t._v(" "),i("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.lastLoginTime))+" "+t._s(e.row.lastLoginTime?"":"--"))])]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"loginTimes",label:"登录次数",sortable:"custom","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.loginTimes||"0")+"\n ")]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"avgVisitTime",label:"平均访问时长",sortable:"custom","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(t._f("formatTime")(e.row.avgVisitTime))+"\n ")]}}])})],1)],1):i("div",[i("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"},on:{"sort-change":t.sortChange,"selection-change":t.handleSelectionChange}},[i("el-table-column",{attrs:{prop:"",label:"员工信息","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{staticClass:"ul-li-cell"},[i("div",{staticClass:"cell-info"},[i("div",{staticClass:"cell-info-name font-14 color-303133 flex flex-column"},[i("span",{staticClass:"gic-name"},[i("span",[t._v(t._s(e.row.clerkName||"--"))]),1==e.row.clerkType?i("el-tag",{staticClass:"m-l-10",attrs:{size:"small",type:"warning"}},[t._v("店长")]):t._e()],1),i("span",{staticClass:"gic-version"},[t._v(t._s(e.row.clerkCode||"--"))])])])])]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"",label:"归属门店","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeName||"--"))]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"lastLoginTime",label:"上次登录时间",sortable:"custom","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.lastLoginTime))+t._s(e.row.lastLoginTime?"":"--"))]),t._v(" "),i("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.lastLoginTime))+t._s(e.row.lastLoginTime?"":"--"))])]}}])})],1)],1),t._v(" "),0!=t.tableData.length?i("div",{staticClass:"block common-wrap__page text-right m-t-24"},[i("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()])])])])])],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert el-alert-tip el-alert--info flex flex-align-start w-426",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title color-606266 font-14"},[this._v("数据更新截至于昨日。今日数据需要隔天上午8点后进行查看。")])])])}]};var u=a("VU/8")(d,h,!1,function(t){a("0FDa")},"data-v-9dd57bd8",null);e.default=u.exports},rbYK:function(t,e,a){"use strict";var i=a("5i7M"),s=a("Q0Ca"),n={data:function(){return{chart:null}},props:{charData:{type:Array,default:function(){return[]}},id:String,width:{type:Number,default:800}},mounted:function(){var t=this;setTimeout(function(){t.drawChart()},30)},beforeUpdate:function(){this.drawChart()},watch:{charData:function(){this.drawChart()}},methods:{drawChart:function(){this.chart&&this.chart.destroy(),this.chart=new i.a({container:this.id,width:this.width,autoFit:!0,height:280,padding:[50,80,60,60]}),this.chart.data(this.charData);var t=this.charData.length>7?15:25;this.chart.scale({avgVisitTime:{min:0,nice:!0,alias:"人均访问时长"},avgLoginTimes:{nice:!0,alias:"平均每人登录次数"},bizDates:{}}),this.chart.annotation().text({top:!0,position:["-4%","-10%"],content:"登录次数",offsetX:0,offsetY:0}),this.chart.annotation().text({top:!0,position:["100%","-10%"],content:"访问时长",offsetX:0,offsetY:0}),this.chart.axis("avgVisitTime",{grid:null,title:null,label:{formatter:function(t){return s.a.formatTime(t)}}}),this.chart.axis("avgLoginTimes",{title:null,label:{formatter:function(t){return~String(t).indexOf(".")?"":t}}}),this.chart.tooltip({showCrosshairs:!0,shared:!0,itemTpl:'<li style="padding-bottom: 10px;><span style="background-color:{color};width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:8px;"></span>{name}: {value}</li>'}),this.chart.interval().position("bizDates*avgLoginTimes").color("#597EF7").size(t),this.chart.line().position("bizDates*avgVisitTime").color("#5ad8a6").tooltip("bizDates*avgVisitTime",function(t,e){return{name:"人均访问时长",value:s.a.formatTime(e)}}),this.chart.legend({position:"top",itemGap:20,custom:!0,items:[{value:"avgLoginTimes",name:"平均每人登录次数",marker:{symbol:"square",style:{fill:"#597ef7",r:4}}},{value:"avgVisitTime",name:"人均访问时长",marker:{symbol:"hyphen",style:{stroke:"#5ad8a6",r:5,lineWidth:3}}}]}),this.chart.render()}}},o={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{attrs:{id:this.id}})},staticRenderFns:[]};var r=a("VU/8")(n,o,!1,function(t){a("/ud3")},"data-v-4b21c982",null);e.a=r.exports}});
\ No newline at end of file
webpackJsonp([80],{"9/oY":function(t,e){},F1Rz:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("3E4D"),o=a("Ch4/"),s=a("PI0u"),n=a("P9l9"),i={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",activeName:"first",activeGroup:this.activeGroupId,wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId,myCustomData:{wmOrderShow:!1,damoOrderShow:!1},loading:!1}},methods:{submit:Object(s.a)(function(t){this.loading=!0,this.setData(t)},500),setData:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId,wmOrderShow:e.myCustomData.wmOrderShow?1:0,damoOrderShow:e.myCustomData.damoOrderShow?1:0};Object(n.d)("/haoban-app-customer-web/customer/save-consume-setting",a).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return r.a.showmsg("保存成功","success"),void e.getShowSet();o.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},getShowSet:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(n.d)("/haoban-app-customer-web/customer/find-consume-setting",a).then(function(t){var a=t.data;1!=a.errorCode?o.a.errorMsg(a):a.result&&(a.result.wmOrderShow=1==a.result.wmOrderShow,a.result.damoOrderShow=1==a.result.damoOrderShow,e.myCustomData=a.result)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){this.getShowSet(this.brandId)}},mounted:function(){this.$emit("showTab","14"),this.getShowSet(this.brandId)},components:{}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:t.myCustomData.wmOrderShow,callback:function(e){t.$set(t.myCustomData,"wmOrderShow",e)},expression:"myCustomData.wmOrderShow"}},[t._v("展示微盟商城订单")]),t._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[t._v("注:保存勾选项后,顾客详情 - 消费记录中将展示微盟商城交易成功的订单")])],1),t._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",model:{value:t.myCustomData.damoOrderShow,callback:function(e){t.$set(t.myCustomData,"damoOrderShow",e)},expression:"myCustomData.damoOrderShow"}},[t._v("展示达摩商城订单")]),t._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[t._v("注:保存勾选项后,顾客详情 - 消费记录中将展示达摩商城交易成功的订单")])],1),t._v(" "),a("div",{staticClass:"m-t-46 m-l-25"},[a("el-button",{attrs:{type:"primary",loading:t.loading},on:{click:function(e){t.submit("showFlag")}}},[t._v("保 存")])],1)])])},staticRenderFns:[]};var c=a("VU/8")(i,d,!1,function(t){a("9/oY")},"data-v-1b574028",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([81],{"+lem":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("NKg7"),i=a("Qie6"),c={name:"reviewed",components:{vueOfficeHeader:n.a,commonDetailLeft:i.a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:"0px",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"待审核",icon:"icondaishenhe_orange"},{tabId:"2",tabName:"已审核",icon:"iconrenwu1"},{tabId:"3",tabName:"审核设置",icon:"iconshenhe"}]}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("unreview");break;case"2":this.changeRoute("reviewed");break;case"3":this.changeRoute("reviewSet")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})},toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},watch:{$route:{handler:function(t,e){},deep:!0}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"review-wrap"},[a("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"setting-wrap__body"},[a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body"},[a("div",{staticClass:"content-body-inner flex border-box"},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 86px)"}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right border-box"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])])])],1)},staticRenderFns:[]};var s=a("VU/8")(c,o,!1,function(t){a("gCZ0")},null,null);e.default=s.exports},gCZ0:function(t,e){}});
\ No newline at end of file
webpackJsonp([82],{"4QyY":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("bzW+"),i=e("Qie6"),c=e("Z8ln"),o=e("Ch4/"),r=e("P9l9"),s={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"云日报",activeSelTab:"11",activeTab:"11",navpath:[{name:"首页",path:"/index"},{name:"云日报",path:""}],tabListData:[{tabId:"1",tabName:"云日报",icon:"iconribao",onlyIconActive:!1,children:[{tabId:"11",tabName:"云日报记录",icon:""},{tabId:"12",tabName:"云日报导出",icon:""}]},{tabId:"2",tabName:"任务下发设置",icon:"iconxiafa"},{tabId:"3",tabName:"云日报设置",icon:"iconribaoshezhi",onlyIconActive:!1,children:[{tabId:"31",tabName:"系统报表",icon:""},{tabId:"32",tabName:"自定义报表",icon:""}]}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,a={enterpriseId:t.activeBrand};Object(r.a)("/haoban-manage3-web/enterprise-is-over",a).then(function(a){var e=a.data;1!=e.errorCode?o.a.errorMsg(e):t.expiredFlag=e.result}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":case"11":this.changeRoute("dailyRecord");break;case"12":this.changeRoute("dailyExport");break;case"2":this.changeRoute("taskAssign");break;case"3":case"31":this.changeRoute("systemReport");break;case"32":this.changeRoute("customReport")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})},changeNavShow:function(t){"/dailyDetail"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"云日报",path:"/dailyRecord"},{name:"云日报记录详情",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"云日报",path:""}]}},watch:{$route:{handler:function(t,a){this.changeNavShow(t)},deep:!0},activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a,expiredDialog:c.a}},d={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content border-box"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right border-box"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?e("expired-dialog"):t._e()],1)},staticRenderFns:[]};var h=e("VU/8")(s,d,!1,function(t){e("xM+U")},"data-v-0d921bf6",null);a.default=h.exports},"xM+U":function(t,a){}});
\ No newline at end of file
webpackJsonp([83],{"19rn":function(t,e){},rYZf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={name:"select-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,a=0;a<t.length;a++){null!=t.charAt(a).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"flex"},[a("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),a("div",{staticClass:"draged-item-show"},[a("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),a("i",{staticClass:"el-icon-arrow-right"})])])])},staticRenderFns:[]};var i=a("VU/8")(r,s,!1,function(t){a("19rn")},"data-v-0be1d8d5",null);e.default=i.exports}});
\ No newline at end of file
webpackJsonp([84],{JXTs:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("Xxa5"),n=a.n(o),s=a("exGp"),r=a.n(s),i=a("//Fk"),c=a.n(i),l=a("mvHQ"),p=a.n(l),d=a("c9no"),u=a("NKg7"),g=a("P9l9"),f=a("Ch4/"),h=a("3E4D"),v={name:"index",data:function(){return{checkShow:!0,tipText:"请先完成商户初始化设置后,再进行其他操作",projectName:"haoban-manage-web",contentHeight:"0px",collapseFlag:!1,showCustomDialog:!1,customType:"",customTitle:"",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",purchaseApp:[],weeks:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],noPurchaseApp:[],versionData:{id:1,smallVersion:"",corpName:"",date:(new Date).getTime(),storeNum:100,storeTotal:""},helpList:[]}},methods:{goUdesk:function(){window.open("https://demogic.udesk.cn/hc/categories/96671?api_name=")},getLunarDay:function(t,e,a){var o=[2635,333387,1701,1748,267701,694,2391,133423,1175,396438,3402,3749,331177,1453,694,201326,2350,465197,3221,3402,400202,2901,1386,267611,605,2349,137515,2709,464533,1738,2901,330421,1242,2651,199255,1323,529706,3733,1706,398762,2741,1206,267438,2647,1318,204070,3477,461653,1386,2413,330077,1197,2637,268877,3365,531109,2900,2922,398042,2395,1179,267415,2635,661067,1701,1748,398772,2742,2391,330031,1175,1611,200010,3749,527717,1452,2742,332397,2350,3222,268949,3402,3493,133973,1386,464219,605,2349,334123,2709,2890,267946,2773,592565,1210,2651,395863,1323,2707,265877];if(!(t<1921||t>2100)){var n=[t,e=parseInt(e)>0?e-1:11,a],s=3!==n.length?new Date:new Date(n[0],n[1],n[2]),r=void 0,i=void 0,c=void 0,l=void 0,p=!1,d=s.getFullYear();for(r=365*(d-1921)+Math.floor((d-1921)/4)+[0,31,59,90,120,151,181,212,243,273,304,334][s.getMonth()]+s.getDate()-38,d%4==0&&s.getMonth()>1&&r++,i=0;;i++){for(c=l=o[i]<4095?11:12;c>=0;c--){if(r<=this.getBit(o[i],c)){p=!0;break}r-=this.getBit(o[i],c)}if(p)break}var u,g=void 0;g=l-c+1,u=r,12===l&&(g===Math.floor(o[i]/65536)+1&&(g=1-g),g>Math.floor(o[i]/65536)+1&&g--);var f="一二三四五六七八九十".charAt(u-1);return u%10==0&&10!==u||(f="一二三四五六七八九十".charAt((u-1)%10)),console.log(),1===u?"正二三四五六七八九十冬腊".charAt(g-1)+"月初一":"正二三四五六七八九十冬腊".charAt(g-1)+"月"+(u<11?"初":u<20?"十":u<30?"廿":"三十")+f}},getBit:function(t,e){return 29+(t>>e&1)},toRedirect:function(t){if(!t.helpUrl)return!1;window.open(t.helpUrl)},changeRoute:function(t){this.$router.push(t)},toOverStore:function(){this.changeRoute("/overStoreList")},toAppView:function(t){if(!t.applicationPath)return h.a.showmsg("无更多设置项,不可进入!","warning"),!1;this.changeRoute(""+t.applicationPath)},goShopping:function(t){this.changeRoute("/")},toRouterView:function(t){this.$router.push({path:t.path})},changeSwitch:function(t){var e=this,a=1==t.openFlag?"关闭":"开启";e.$confirm("确认"+a+"【"+t.applicationName+"】应用吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.postSwitch(t)}).catch(function(){t.openFlag})},postSwitch:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId||localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",applicationId:t.applicationId,openFlag:1==t.openFlag?0:1};Object(g.a)("/haoban-manage3-web/open-or-close",a).then(function(t){var a=t.data;if(1==a.errorCode)return h.a.showmsg("操作成功","success"),void e.getAppData(1);f.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeAppSwitch:function(t,e){var a=this;a.$confirm("确定要"+(1==t?"启用":"停用")+"【"+e.applicationName+"】?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postAppSwitch(e)}).catch(function(){e.openFlag=!1})},postAppSwitch:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId||localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",applicationId:t.applicationId,openFlag:t.openFlag?1:0};Object(g.a)("/haoban-manage3-web/open-or-close",a).then(function(t){var a=t.data;if(1==a.errorCode)return h.a.showmsg("启用成功","success"),void e.getAppData(1);f.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},collapseTag:function(t){this.collapseFlag=t},toAlert:function(){this.$confirm("您所在企业尚未订购好办 ,请前往升级版本后继续使用。","提示",{confirmButtonText:"立即前往订购",cancelButtonText:"取消",type:"warning"}).then(function(){window.open("")})},toTip:function(){this.$confirm("您没有该功能的使用权限,请联系管理员授权后继续使用。","提示",{confirmButtonText:"知道了",type:"warning"}).then(function(){window.open("")})},getHelpData:function(){var t=this;Object(g.a)("/haoban-manage3-web/get-help-list",{}).then(function(e){var a=e.data;1!=a.errorCode?t.$message.error({duration:1e3,message:a.message}):t.helpList=a.result||[]}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getAppData:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId||localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",type:t};Object(g.a)("/haoban-manage3-web/application-open-close-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.open.forEach(function(t){t.openFlag=1}),e.purchaseApp=JSON.parse(p()(a.result.open))||[],a.result.close.forEach(function(t){t.openFlag=!1}),void(e.noPurchaseApp=JSON.parse(p()(a.result.close))||[]);f.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getBindData:function(){var t=this;Object(g.a)("/haoban-manage3-web/has-bind-contract",{}).then(function(e){var a=e.data;1!=a.errorCode?f.a.errorMsg(a):a.result||t.getBindUrl()}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getBindUrl:function(){var t=this;Object(g.a)("/haoban-manage3-web/get-auth-url",{}).then(function(t){var e=t.data;1!=e.errorCode?f.a.errorMsg(e):window.location.href=""+e.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toLogin:function(){var t=this;return new c.a(function(e,a){Object(g.a)("/haoban-manage3-web/get-login-info",{}).then(function(t){var a=t.data;if(1==a.errorCode)return localStorage.setItem("userInfos",p()(a.result)),void e(a.result.wxEnterpriseId);f.a.errorMsg(a),e({wxEnterpriseId:""})}).catch(function(a){e({wxEnterpriseId:""}),t.$message.error({duration:1e3,message:a.message})})})},getTipData:function(){var t=this;Object(g.a)("/haoban-manage3-web/is-wx-enterprise-secret-set",{}).then(function(e){var a=e.data;1!=a.errorCode?f.a.errorMsg(a):t.checkShow=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getCompanyData:function(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId};Object(g.a)("/haoban-manage3-web/wxEnterprise-detail",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.versionData=a.result,!1;f.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){var t=this;return r()(n.a.mark(function e(){var a;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return(a=t).getBindData(),e.next=4,a.toLogin();case 4:a.wxEnterpriseId=e.sent,a.getAppData(1),a.getHelpData(),a.getCompanyData(),a.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-92+"px";case 9:case"end":return e.stop()}},e,t)}))()},components:{vueOfficeHeader:u.a,setTip:d.a}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"index"}},[a("vue-office-header",{ref:"headerMenu",attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body border-box",staticStyle:{"min-height":"calc(100vh - 46px)"}},[a("div",{staticClass:"index-body flex flex-row"},[a("div",{staticClass:"index-body-left"},[a("div",{staticClass:"index-body-left_top border-box"},[a("div",{staticClass:"app-title font-16 color-303133 flex flex-space-between"},[a("span",{staticClass:"font-16 color-303133 font-w-600 line-h-32"},[t._v("已使用")]),t._v(" "),t.checkShow?t._e():a("set-tip",{attrs:{tipText:t.tipText}})],1),t._v(" "),a("ul",t._l(t.purchaseApp,function(e,o){return a("li",{key:o+"app",staticClass:"border-box",on:{click:function(a){t.toAppView(e)}}},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),t._v(" "),a("div",{staticClass:"app-cell-right flex flex-column flex-align-center flex-pack-center"},[a("div",{staticClass:"app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),t._v(" "),e.applicationPath?t._e():a("div",{staticClass:"app-info"},[a("span",{staticClass:"font-14 color-909399"},[t._v("里面为空~")])])]),t._v(" "),a("div",{staticClass:"app-cell-arrow"},[a("el-dropdown",{staticClass:"app-cell-dropdown",attrs:{trigger:"hover"}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-more el-icon--right",staticStyle:{cursor:"pointer"}})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{staticClass:"p-0"},[a("span",{on:{click:function(a){a.stopPropagation(),t.changeSwitch(e)}}},[t._v(t._s(1==e.openFlag?"停用":"启用"))])])],1)],1)],1)])])}))]),t._v(" "),t.noPurchaseApp.length?a("div",{staticClass:"bg-space"}):t._e(),t._v(" "),a("div",{class:["index-body-left_bottom border-box",t.noPurchaseApp.length?"bottom-0":"bottom-9999"]},[a("div",{staticClass:"app-title font-16 color-303133"},[t._v("已停用")]),t._v(" "),a("ul",t._l(t.noPurchaseApp,function(e,o){return a("li",{key:o+"appno",staticClass:"border-box"},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),t._v(" "),a("div",{staticClass:"app-cell-right"},[a("div",{staticClass:"app-name stop-app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),t._v(" "),a("div",{staticClass:"app-info stop-app-info"},[a("el-switch",{attrs:{"active-text":"","inactive-text":""},on:{change:function(a){t.changeAppSwitch(a,e)}},model:{value:e.openFlag,callback:function(a){t.$set(e,"openFlag",a)},expression:"item.openFlag"}})],1)])])])}))])]),t._v(" "),a("div",{staticClass:"index-body-right"},[a("div",{staticClass:"index-body-right_top border-box"},[a("div",{staticClass:"serve-info"},[a("div",{staticClass:"serve-date-info"},[a("div",{staticClass:"font-14 color-909399 p-t-10 m-b-13",staticStyle:{"font-weight":"300"}},[t._v(t._s(t._f("timeStampToYm")((new Date).getTime())))]),t._v(" "),a("div",{staticClass:"font-12 color-909399"},[t._v("农历"+t._s(t.getLunarDay((new Date).getFullYear(),(new Date).getMonth()+1,(new Date).getDate())))]),t._v(" "),a("div",{staticClass:"serve-date-day"},[a("div",{staticClass:"serve-date-day_inner "},[a("div",{staticClass:"color-fff font-26 p-t-10",staticStyle:{"letter-spacing":"2px"}},[t._v(t._s((new Date).getDate()))]),t._v(" "),a("div",{staticClass:"color-fff font-12"},[t._v(t._s(t.weeks[(new Date).getDay()]))])])])]),t._v(" "),a("div",{staticClass:"serve-version flex"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("企业")]),t._v(" "),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.versionData.corpName))])]),t._v(" "),a("div",{staticClass:"serve-date flex m-t-20"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("版本")]),t._v(" "),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.versionData.smallVersion))])]),t._v(" "),t._e()])]),t._v(" "),a("div",{staticClass:"bg-margin-10"}),t._v(" "),a("div",{staticClass:"index-body-right_bottom border-box"},[a("div",{staticClass:"help-title font-16 color-303133 font-w-600"},[t._v("帮助中心")]),t._v(" "),a("ul",{staticClass:"help-list m-t-15"},[t._l(t.helpList,function(e,o){return a("li",{key:o+"help",staticClass:"cursor-pointer font-14 color-606266",on:{click:function(a){t.toRedirect(e)}}},[t._v("\n "+t._s(e.helpTitle)+"\n ")])}),t._v(" "),a("li",{staticClass:"text-center li-more cursor-pointer",on:{click:t.goUdesk}},[t._v("查看更多")])],2)])])])])])],1)},staticRenderFns:[]};var w=a("VU/8")(v,m,!1,function(t){a("bxyn")},"data-v-09f41767",null);e.default=w.exports},bxyn:function(t,e){}});
\ No newline at end of file
webpackJsonp([85],{Z3Aa:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3E4D"),n=a("Ch4/"),o=a("PI0u"),r=a("P9l9"),i={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId,myCustomData:{searchFlag:!1},activeId:"1",loading:!1}},methods:{submit:Object(o.a)(function(t){this.loading=!0,this.setData(t)},500),setData:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId},o=void 0;"showFlag"!=t&&(a[t]=e.myCustomData[t]?1:0,o="/haoban-app-customer-web/customer/save-online-chat-setting","searchFlag"===t&&(o="/haoban-app-customer-web/customer/save-customer-setting")),Object(r.d)(o,a).then(function(t){var a=t.data;e.loading=!1,1!=a.errorCode?n.a.errorMsg(a):s.a.showmsg("保存成功","success")}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},changeAllowGuide:function(t){this.myCustomData.allowGuideMobile=t,this.myCustomData.allowGuideMessage=t,this.myCustomData.allowGuideOnlineChat=t},changeContact:function(){this.myCustomData.allowGuideMobile||this.myCustomData.allowGuideMessage||this.myCustomData.allowGuideOnlineChat||(this.myCustomData.allowGuideContact=!1)},getCustomerSet:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(r.d)("/haoban-app-customer-web/customer/find-customer-setting",a).then(function(t){var a=t.data;1!=a.errorCode?n.a.errorMsg(a):a.result&&(e.myCustomData.searchFlag=!!a.result.searchFlag)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){this.getCustomerSet(this.brandId)}},mounted:function(){this.$emit("showTab","13"),this.getCustomerSet(this.brandId)},components:{}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("el-checkbox",{model:{value:t.myCustomData.searchFlag,callback:function(e){t.$set(t.myCustomData,"searchFlag",e)},expression:"myCustomData.searchFlag"}},[t._v("允许全品牌搜索")]),t._v(" "),a("div",{staticClass:"m-t-46"},[a("el-button",{attrs:{type:"primary",loading:t.loading},on:{click:function(e){t.submit("searchFlag")}}},[t._v("保 存")])],1)],1)])},staticRenderFns:[]};var c=a("VU/8")(i,u,!1,function(t){a("o33O")},"data-v-026c9a96",null);e.default=c.exports},o33O:function(t,e){}});
\ No newline at end of file
webpackJsonp([9],{"O+1m":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("mvHQ"),o=a.n(r),n=a("3E4D"),l=a("Ch4/"),i=a("PI0u"),s=a("P9l9"),u={name:"unreview",data:function(){return{wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",auditName:localStorage.getItem("userInfos")&&JSON.parse(localStorage.getItem("userInfos")).staffDTO?JSON.parse(localStorage.getItem("userInfos")).staffDTO.staffName:"",filterValue:"",filterBrand:"",brandOptions:[],searchValue:"",loading:!1,tableData:[],options:[{value:"选项1",label:"黄金糕"}],currentPage:1,pageSize:20,total:0,showAdd:!1,ruleForm:{id:"",name:"",code:""}}},methods:{toNext:function(e){this.$router.push("/second?id="+e.id)},toCancel:function(){this.closeText(),this.$refs.ruleForm.resetFields()},handleClose:function(e){this.closeText(),this.$refs.ruleForm.resetFields()},submitForm:Object(i.a)(function(e){var t=this;t.$refs[e].validate(function(e){e&&t.postSave()})},300),postSave:function(){var e=this,t={categoryId:e.categoryId,materialType:1,materialId:e.ruleForm.materialId,materialTitle:e.ruleForm.materialTitle,materialContent:e.ruleForm.materialContent};Object(s.b)(e.ruleForm.materialId?"/haoban-manage3-web/material-edit":"/haoban-manage3-web/material-add",t).then(function(t){var a=t.data;1==a.errorCode?(n.a.showmsg("操作成功","success"),e.$refs.ruleForm.resetFields(),e.closeText()):l.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},handleAdd:function(e){e&&(this.ruleForm=JSON.parse(o()(e))),this.showAdd=!0},closeText:function(){this.ruleForm={id:"",name:"",code:""},this.showAdd=!1},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},handlDel:function(e,t){var a=this;a.$confirm("确认是否删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postApprove(t)}).catch(function(){})},postApprove:function(e){var t=this,a={auditId:e.id,auditName:t.auditName};Object(s.b)("/haoban-manage3-web/audit/audit",a).then(function(e){var a=e.data;if(1==a.errorCode)return n.a.showmsg("操作成功","success"),t.currentPage=1,void t.getTableList();l.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getTableList:function(e){var t=this;e&&(t.currentPage=1),t.loading=!0;var a={wxEnterpriseId:t.wxEnterpriseId,auditType:t.filterValue,auditStatus:"0",auditFlag:"0",search:t.searchValue,pageNum:t.currentPage,pageSize:t.pageSize,enterpriseId:t.filterBrand};Object(s.a)("/haoban-manage3-web/audit/find-page",a).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.result||[],void(t.total=a.result.totalCount);l.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.$emit("showTab",1),this.getTableList()},components:{}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"unreview-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 126px)"}},[a("div",{staticClass:"text-right m-b-20"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.handleAdd("")}}},[e._v("新增")])],1),e._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.auditType?a("span",[e._v("门店信息变更")]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.name||"--")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"line-h-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.createTime)))]),e._v(" "),a("div",{staticClass:"line-h-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.toNext(t.row)}}},[e._v("查看详情")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.handleAdd(t.row)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.handlDel(t.$index,t.row)}}},[e._v("删除")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])]),e._v(" "),a("el-dialog",{attrs:{title:e.ruleForm.id?"编辑模块":"新建模块",visible:e.showAdd,width:"600px","before-close":e.handleClose},on:{"update:visible":function(t){e.showAdd=t}}},[a("div",{},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"文本标题",prop:"materialTitle"}},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.ruleForm.id,callback:function(t){e.$set(e.ruleForm,"id",t)},expression:"ruleForm.id"}},e._l(e.options,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"code",prop:"materialContent"}},[a("el-input",{attrs:{placeholder:"请输入code"},model:{value:e.ruleForm.code,callback:function(t){e.$set(e.ruleForm,"code",t)},expression:"ruleForm.code"}})],1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.toCancel}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm("ruleForm")}}},[e._v("确定")])],1)])],1)},staticRenderFns:[]};var d=a("VU/8")(u,c,!1,function(e){a("kuC6")},"data-v-5b32d443",null);t.default=d.exports},kuC6:function(e,t){}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([87],{0:function(e,t,a){a("j1ja"),e.exports=a("NHnr")},"4qCZ":function(e,t){},"5tgt":function(e,t,a){e.exports=function(e,t){return function(n){a("Opzk")("./"+e+"/"+t+".vue").then(function(e){n(e)})}}},NHnr:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),r=(a("j1ja"),a("hKoQ")),p=a.n(r),s={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var i=a("VU/8")({name:"App",data:function(){return{}}},s,!1,function(e){a("eN28")},null,null).exports,c=a("lRwf"),u=a.n(c),m=a("pRNm"),d=a.n(m),l=a("5tgt"),h=a.n(l);u.a.use(d.a);var v=function(e){a.e(1).then(a.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var f,g=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:h()("login","index")},{path:"/index",name:"index",component:h()("index","index")},{path:"/contacts",name:"通讯录",redirect:"contactsList",component:h()("business","index"),children:[{path:"/contactsList",name:"通讯录",component:h()("business","contacts")},{path:"/syncLog",name:"通讯录日志",component:h()("business","syncLog")},{path:"/authMerchant",name:"授权商户",component:h()("business","authMerchant")}]},{path:"/enterprise",name:"企业设置",redirect:"enterpriseSet",component:h()("enterprise","index"),children:[{path:"/enterpriseSet",name:"企业信息",component:h()("enterprise","enterpriseSet")},{path:"/adminList",name:"企业信息",component:h()("enterprise","adminList")},{path:"/material",name:"素材库",component:h()("enterprise","material")}]},{path:"/enterpriseData",name:"企业数据",redirect:"enterpriseUseData",component:h()("enterpriseData","index"),children:[{path:"/enterpriseUseData",name:"好办使用详情",component:h()("enterpriseData","enterpriseUseData")},{path:"/activeDetail",name:"激活人员明细",component:h()("enterpriseData","activeDetail")},{path:"/loginDetail",name:"登录人员明细",component:h()("enterpriseData","loginDetail")},{path:"/areaLoginDetail",name:"区域登录人员明细",component:h()("enterpriseData","areaLoginDetail")}]},{path:"/overStore",name:"溢出门店",redirect:"unreview",component:h()("overstore","index"),children:[{path:"/overStoreList",name:"溢出门店",component:h()("overstore","overStoreList")}]},{path:"/apps",name:"企业应用",redirect:"mycustomer",component:h()("apps","index"),children:[{path:"/mycustomer",name:"我的顾客的",redirect:"/memberShowSet",component:h()("apps/customerApp","index"),children:[{path:"/memberShowSet",name:"会员展示设置",component:h()("apps/customerApp","memberShowSet")},{path:"/memberGroupSet",name:"会员分组设置",component:h()("apps/customerApp","memberGroupSet")},{path:"/memberSearchSet",name:"会员搜索设置",component:h()("apps/customerApp","memberSearchSet")},{path:"/memberDetailSet",name:"会员详情设置",component:h()("apps/customerApp","memberDetailSet")},{path:"/myCustomerList",name:"我的顾客列表",component:h()("apps/customerApp","myCustomerList")},{path:"/addGroupTemplate",name:"添加模板",component:h()("apps/customerApp","addGroupTemplate")},{path:"/storeRangeSet",name:"门店范围设置",component:h()("apps/customerApp","storeRangeSet")}]},{path:"/cloudDaily",name:"云日报",redirect:"/dailyRecord",component:h()("apps/cloudDaily","index"),children:[{path:"/dailyRecord",name:"云日报记录",component:h()("apps/cloudDaily","dailyRecord")},{path:"/dailyExport",name:"云日报导出",component:h()("apps/cloudDaily","dailyExport")},{path:"/dailyDetail",name:"日报详情",component:h()("apps/cloudDaily","dailyDetail")},{path:"/taskAssign",name:"任务下发设置",component:h()("apps/cloudDaily","taskAssign")},{path:"/systemReport",name:"系统报表",component:h()("apps/cloudDaily","systemReport")},{path:"/customReport",name:"自定义报表",component:h()("apps/cloudDaily","customReport")},{path:"/customReportSet",name:"自定义报表设置",component:h()("apps/cloudDaily","customReportSet")}]},{path:"/trafficTask",name:"话务任务",redirect:"/taskRecord",component:h()("apps/trafficTask","index"),children:[{path:"/taskRecord",name:"话务任务记录",component:h()("apps/trafficTask","taskRecord")},{path:"/taskView",name:"话务任务记录",component:h()("apps/trafficTask","taskView")},{path:"/taskDetail",name:"话务任务详情",component:h()("apps/trafficTask","taskDetail")},{path:"/taskViewDetail",name:"话务任务详情",component:h()("apps/trafficTask","taskViewDetail")},{path:"/trafficTaskSet",name:"话务任务设置",component:h()("apps/trafficTask","trafficTaskSet")},{path:"/badEvaluateSet",name:"不良评价设置",component:h()("apps/badEvaluate","badEvaluateSet")},{path:"/taskList",name:"会话任务列表",component:h()("apps/trafficTask","taskList")},{path:"/newSession",name:"新建会话任务",component:h()("apps/trafficTask","newSession")},{path:"/taskSessionSet",name:"会话任务设置",component:h()("apps/trafficTask","taskSessionSet")}]},{path:"/quota",name:"指标管理",redirect:"/monthList",component:h()("apps/quota","index"),children:[{path:"/monthList",name:"月指标列表",component:h()("apps/quota","monthList")},{path:"/storeMonthTask",name:"门店月指标",component:h()("apps/quota","storeMonthTask")},{path:"/salerMonthDetail",name:"导购月指标详情",component:h()("apps/quota","salerMonthDetail")},{path:"/companyDaySet",name:"商户日权重",component:h()("apps/quota","companyDaySet")},{path:"/monthTask",name:"月指标任务",component:h()("apps/quota","monthTask"),meta:{keepAlive:!0}},{path:"/monthTaskDetail",name:"月指标任务详情",component:h()("apps/quota","monthTaskDetail"),meta:{keepAlive:!0}}]},{path:"/cardList",name:"卡券赠送",redirect:"/cardList",component:h()("apps/card","index"),children:[{path:"/cardList",name:"卡券列表",component:h()("apps/card","cardList")},{path:"/cardRecord",name:"卡券记录",component:h()("apps/card","cardRecord")},{path:"/newCard",name:"新建卡券",component:h()("apps/card","newCard")}]},{path:"/protectCard",name:"内购券",redirect:"/cardTemplate",component:h()("apps/protectCard","index"),children:[{path:"/cardTemplate",name:"卡券模板",component:h()("apps/protectCard","cardTemplate")},{path:"/newCardTemp",name:"新建模板",component:h()("apps/protectCard","newCardTemp")},{path:"/cardStrategy",name:"卡券策略",component:h()("apps/protectCard","cardStrategy")},{path:"/newCardStrategy",name:"新建策略",component:h()("apps/protectCard","newCardStrategy")},{path:"/cardPut",name:"内购券投放",component:h()("apps/protectCard","cardPut")},{path:"/newCardPut",name:"新建补发",component:h()("apps/protectCard","newCardPut")},{path:"/cardPutRecord",name:"投放记录",component:h()("apps/protectCard","cardPutRecord")},{path:"/cardGetRecord",name:"领取记录",component:h()("apps/protectCard","cardGetRecord")}]},{path:"/shoppingCenter",name:"商品中心",redirect:"/goodsShowSet",component:h()("apps/shoppingCenter","index"),children:[{path:"/goodsShowSet",name:"商品展示设置",component:h()("apps/shoppingCenter","goodsShowSet")}]}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:h()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:h()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:h()("reviewCenter","unreview")},{path:"/reviewSet",name:"审核设置",component:h()("reviewCenter","reviewSet")}]},{path:"/gic-error",name:"gic跳转失败页",component:h()("errorPage","gic-error")},{path:"/403",name:"无权访问",component:v},{path:"/404",name:"error404",component:v},{path:"/500",name:"error500",component:v},{path:"*",redirect:"/404",hidden:!0}],D=new d.a({routes:g,scrollBehavior:function(){return{y:0}}}),S=a("zL8q"),w=a.n(S),k=a("Rf8U"),y=a.n(k),x=a("mtWM"),C=a.n(x),T=a("bOdI"),b=a.n(T),R=a("SJI6"),M=a.n(R);u.a.use(M.a);var A=new M.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px",addDepartment:[],editDepartment:[],delDepartment:[]},mutations:(f={},b()(f,"login",function(e,t){sessionStorage.token=t,e.token=t}),b()(f,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),b()(f,"title",function(e,t){e.title=t}),b()(f,"show",function(e,t){e.show=t}),b()(f,"saveAdd",function(e,t){e.addDepartment.push(t)}),b()(f,"saveEdit",function(e,t){e.editDepartment.push(t)}),b()(f,"saveDel",function(e,t){e.delDepartment.push(t)}),b()(f,"clearAdd",function(e){e.addDepartment=[]}),b()(f,"clearEdit",function(e){e.editDepartment=[]}),b()(f,"clearData",function(e){e.addDepartment=[],e.editDepartment=[],e.delDepartment=[]}),f),actions:{saveAddInfo:function(e,t){e.commit("saveAdd",t)},saveEditInfo:function(e,t){e.commit("saveEdit",t)},saveDelInfo:function(e,t){e.commit("saveDel",t)},clearAddData:function(e,t){e.commit("clearAdd")},clearEditData:function(e,t){e.commit("clearEdit")},clearTreeData:function(e,t){e.commit("clearData")}}}),L=(a("4qCZ"),a("tvR6"),a("uKUT"),a("Xcu2"),a("xtVA"),a("Q0Ca")),E=a("TUaa"),P=a.n(E),V=a("tyqE"),q=a.n(V),I=a("pRVe"),H=a.n(I),G=a("XsK6"),j=a.n(G),Y=a("QRL9"),F=a.n(Y),N=a("2Pnh"),O=a.n(N),U=a("l9mu"),J=a.n(U),X={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;O()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var a=t.width,n=t.height,o=a/592.28*841.89,r=n,p=0,s=592.28/a*n,i=t.toDataURL("image/jpeg",1),c=new J.a("","pt","a4");if(r<o)c.addImage(i,"JPEG",0,0,595.28,s);else for(;r>0;)c.addImage(i,"JPEG",0,p,595.28,s),p-=841.89,(r-=o)>0&&c.addPage();c.save(e+".pdf")})}}},z=a("/IwO"),K=a.n(z);p.a.polyfill(),Vue.use(K.a),K.a.initAMapApiLoader({key:"d53a58848be368a7398dc56d5670fe9c",plugin:["Autocomplete","PlaceSearch","Scale","OverView","Geocoder","ToolBar","MapType","PolyEditor","AMap.CircleEditor"],v:"1.4.4"}),Vue.use(X),Vue.use(j.a),Vue.use(F.a),Vue.use(H.a),Vue.use(q.a),Vue.use(P.a),Vue.config.productionTip=!1,Vue.use(w.a,{size:"large"}),Vue.use(y.a,C.a),Vue.axios.defaults.withCredentials=!0,o()(L.a).forEach(function(e){Vue.filter(e,L.a[e])}),D.beforeEach(function(e,t,a){window.axiosPromiseArr&&axiosPromiseArr.forEach(function(e,t){e.cancel(),delete axiosPromiseArr[t]});var n=window.location.origin;n.indexOf("localhost"),localStorage.getItem("userInfos"),"/"==e.path?a({path:"/login"}):a()}),new Vue({el:"#app",router:D,store:A,components:{App:i},template:"<App/>"})},Opzk:function(e,t,a){var n={"./apps/badEvaluate/badEvaluateDetail.vue":["Yz8m",0,77],"./apps/badEvaluate/badEvaluateRecord.vue":["DCIc",0,36],"./apps/badEvaluate/badEvaluateSet.vue":["moBL",0,56],"./apps/badEvaluate/index.vue":["AG22",0,33],"./apps/card/cardList.vue":["X5LE",0,43],"./apps/card/cardRecord.vue":["xDJN",0,18],"./apps/card/index.vue":["nV1L",0,60],"./apps/card/newCard.vue":["7/Zw",0,12],"./apps/cloudDaily/customReport.vue":["ak3k",0,51],"./apps/cloudDaily/customReportSet.vue":["LTPC",0,3],"./apps/cloudDaily/dailyDetail.vue":["JwJ7",0,21],"./apps/cloudDaily/dailyExport.vue":["H3Dc",0,25],"./apps/cloudDaily/dailyRecord.vue":["IuWw",0,46],"./apps/cloudDaily/index.vue":["4QyY",0,82],"./apps/cloudDaily/systemReport.vue":["J/6z",0,7],"./apps/cloudDaily/taskAssign.vue":["Hb/M",0,40],"./apps/cloudDaily/template/block.vue":["O3gZ",68],"./apps/cloudDaily/template/date-range.vue":["2WGr",39],"./apps/cloudDaily/template/image.vue":["8dpP",53],"./apps/cloudDaily/template/input.vue":["zHtI",50],"./apps/cloudDaily/template/select.vue":["rYZf",83],"./apps/customerApp/addGroupTemplate.vue":["vIlm",0,30],"./apps/customerApp/index.vue":["QHTa",0,74],"./apps/customerApp/memberDetailSet.vue":["F1Rz",0,80],"./apps/customerApp/memberGroupSet.vue":["JuNN",0,44],"./apps/customerApp/memberSearchSet.vue":["Z3Aa",0,85],"./apps/customerApp/memberShowSet.vue":["odfG",0,67],"./apps/customerApp/myCustomerList.vue":["9CCr",0,9],"./apps/customerApp/storeRangeSet.vue":["z3jf",0,10],"./apps/index.vue":["K1Vb",0,79],"./apps/protectCard/cardGetRecord.vue":["5GE8",0,59],"./apps/protectCard/cardPut.vue":["cD4x",0,75],"./apps/protectCard/cardPutRecord.vue":["dhLd",0,70],"./apps/protectCard/cardStrategy.vue":["rUvh",0,23],"./apps/protectCard/cardTemplate.vue":["c7iB",0,48],"./apps/protectCard/index.vue":["aWmL",0,38],"./apps/protectCard/newCardPut.vue":["9db3",0,13],"./apps/protectCard/newCardStrategy.vue":["8Rwt",0,11],"./apps/protectCard/newCardTemp.vue":["tF0P",0,45],"./apps/quota/companyDaySet.vue":["NiGE",0,76],"./apps/quota/index.vue":["qSX4",0,62],"./apps/quota/monthList.vue":["fAFA",0,37],"./apps/quota/monthTask.vue":["NpHY",0,73],"./apps/quota/monthTaskDetail.vue":["YKf6",0,63],"./apps/quota/salerMonthDetail.vue":["+qr5",0,52],"./apps/quota/storeMonthTask.vue":["qWC+",0,66],"./apps/shoppingCenter/goodsShowSet.vue":["XrL3",0,69],"./apps/shoppingCenter/index.vue":["FIFf",0,64],"./apps/trafficTask/index.vue":["FmZU",0,34],"./apps/trafficTask/newSession.vue":["upTI",0,47],"./apps/trafficTask/taskDetail.vue":["XrDD",0,20],"./apps/trafficTask/taskList.vue":["FMQe",0,72],"./apps/trafficTask/taskRecord.vue":["m+x7",0,41],"./apps/trafficTask/taskSessionSet.vue":["lPa5",0,57],"./apps/trafficTask/taskView.vue":["w2fd",0,28],"./apps/trafficTask/taskViewDetail.vue":["SBUJ",0,65],"./apps/trafficTask/trafficTaskSet.vue":["OUXi",0,35],"./business/authMerchant.vue":["mjMK",0,19],"./business/contacts.vue":["/W60",0,6],"./business/index.vue":["jPcV",0,71],"./business/orgStructSet.vue":["OI5V",0,4],"./business/recycle.vue":["K8Yn",0,49],"./business/syncLog.vue":["20P3",0,27],"./enterprise/adminList.vue":["zYBJ",0,55],"./enterprise/enterpriseSet.vue":["x5Fx",0,15],"./enterprise/index.vue":["m9dW",0,42],"./enterprise/material.vue":["q+Sm",0,2],"./enterpriseData/activeDetail.vue":["h9Ca",0,16],"./enterpriseData/areaLoginDetail.vue":["TLd+",0,17],"./enterpriseData/enterpriseUseData.vue":["i4c9",0,5],"./enterpriseData/index.vue":["CTf4",0,58],"./enterpriseData/loginDetail.vue":["kX6v",0,8],"./errorPage/403.vue":["6XGN",32],"./errorPage/404.vue":["AejC",31],"./errorPage/500.vue":["FskK",26],"./errorPage/gic-error.vue":["Q3j/",24],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,84],"./login/index.vue":["T+/8",0,29],"./overstore/index.vue":["Y55K",0,61],"./overstore/overStoreList.vue":["vuAV",0,78],"./reviewCenter/index.vue":["+lem",0,81],"./reviewCenter/reviewSet.vue":["6j9f",0,54],"./reviewCenter/reviewed.vue":["CLYF",0,22],"./reviewCenter/unreview.vue":["xCEU",0,14]};function o(e){var t=n[e];return t?Promise.all(t.slice(1).map(a.e)).then(function(){return a(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}o.keys=function(){return Object.keys(n)},o.id="Opzk",e.exports=o},Q0Ca:function(e,t,a){"use strict";t.a={dateFormat:function(e,t){if(e){e=10===e.toString().length?1e3*e:e;var a=new Date(e),n={"M+":a.getMonth()+1,"D+":a.getDate(),W:"日一二三四五六".charAt(a.getDay()),"h+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds(),"q+":Math.floor((a.getMonth()+3)/3),S:a.getMilliseconds()};for(var o in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+o+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?n[o]:("00"+n[o]).substr((""+n[o]).length)));return t}},formatTimeStamp:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=a<10?"0"+a:a,r=t.getHours()<10?"0"+t.getHours():t.getHours(),p=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),s=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"-"+o+"-"+n+" "+r+":"+p+":"+s}},timeStampToYm:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=a<10?"0"+a:a;return t.getFullYear()+"-"+n}},timeStampToYmd:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=a<10?"0"+a:a;return t.getFullYear()+"-"+o+"-"+n}},timeStampToHms:function(e){if(e){var t=new Date(e);return(t.getHours()<10?"0"+t.getHours():t.getHours())+":"+(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":"+(t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds())}},formatTimeYmdHms:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=a<10?"0"+a:a,r=t.getHours()<10?"0"+t.getHours():t.getHours(),p=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),s=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"."+o+"."+n+" "+r+":"+p+":"+s}},formatPhoneNum:function(e){return e?(e=e.toString()).substr(0,3)+"****"+e.substr(7,11):""},formatName:function(e){return e?"**"+(e=e.toString()).substr(e.length-1,e.length):""},timeStampSpace:function(e){if(e){var t=new Date,a=new Date(Number(e)).getTime()-t.getTime();if(a<0)return"";var n=a%864e5,o=n%36e5;return Math.floor(a/864e5)+"天"+Math.floor(n/36e5)+"小时"+Math.floor(o/6e4)+"分"}},formatTime:function(e){if(!e)return"00:00:00";var t=e/1e3,a=Math.floor(t/60/60/24);return(24*a+Math.floor(t/60/60)%24<10?"0"+(24*a+Math.floor(t/60/60)%24):24*a+Math.floor(t/60/60)%24)+":"+(Math.floor(t/60)%60<10?"0"+Math.floor(t/60)%60:Math.floor(t/60)%60)+":"+(Math.floor(t)%60<10?"0"+Math.floor(t)%60:Math.floor(t)%60)}}},SJI6:function(e,t){e.exports=Vuex},Xcu2:function(e,t){},eN28:function(e,t){},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},tvR6:function(e,t){},uKUT:function(e,t){},xtVA:function(e,t){}},[0]);
\ No newline at end of file
webpackJsonp([12],{"/NA0":function(e,t){},0:function(e,t,n){n("j1ja"),e.exports=n("NHnr")},"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(r){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){r(e)})}}},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("fZjL"),o=n.n(r),a=(n("j1ja"),n("hKoQ")),i=n.n(a),u={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var c=n("VU/8")({name:"App",data:function(){return{}}},u,!1,function(e){n("/NA0")},null,null).exports,s=n("lRwf"),f=n.n(s),g=n("pRNm"),l=n.n(g),m=n("5tgt"),d=n.n(m);f.a.use(l.a);var p=function(e){n.e(1).then(n.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var h,v=[{path:"/",name:"/",redirect:"index"},{path:"/login",name:"登录",component:d()("login","index")},{path:"/index",name:"审核中心",redirect:"unreview",component:d()("reviewCenter","index"),children:[{path:"/index",name:"模块",component:d()("reviewCenter","unreview")},{path:"/second",name:"限流",component:d()("reviewCenter","second")},{path:"/third",name:"审核设置",component:d()("reviewCenter","third")}]},{path:"/gic-error",name:"gic跳转失败页",component:d()("errorPage","gic-error")},{path:"/403",name:"无权访问",component:p},{path:"/404",name:"error404",component:p},{path:"/500",name:"error500",component:p},{path:"*",redirect:"/404",hidden:!0}],w=new l.a({routes:v,scrollBehavior:function(){return{y:0}}}),D=n("zL8q"),M=n.n(D),x=n("Rf8U"),S=n.n(x),A=n("mtWM"),E=n.n(A),H=n("bOdI"),k=n.n(H),C=n("SJI6"),R=n.n(C);f.a.use(R.a);var b=new R.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px",addDepartment:[],editDepartment:[],delDepartment:[]},mutations:(h={},k()(h,"login",function(e,t){sessionStorage.token=t,e.token=t}),k()(h,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),k()(h,"title",function(e,t){e.title=t}),k()(h,"show",function(e,t){e.show=t}),k()(h,"saveAdd",function(e,t){e.addDepartment.push(t)}),k()(h,"saveEdit",function(e,t){e.editDepartment.push(t)}),k()(h,"saveDel",function(e,t){e.delDepartment.push(t)}),k()(h,"clearAdd",function(e){e.addDepartment=[]}),k()(h,"clearEdit",function(e){e.editDepartment=[]}),k()(h,"clearData",function(e){e.addDepartment=[],e.editDepartment=[],e.delDepartment=[]}),h),actions:{saveAddInfo:function(e,t){e.commit("saveAdd",t)},saveEditInfo:function(e,t){e.commit("saveEdit",t)},saveDelInfo:function(e,t){e.commit("saveDel",t)},clearAddData:function(e,t){e.commit("clearAdd")},clearEditData:function(e,t){e.commit("clearEdit")},clearTreeData:function(e,t){e.commit("clearData")}}}),P=(n("4qCZ"),n("tvR6"),n("uKUT"),n("Xcu2"),n("xtVA"),{dateFormat:function(e,t){if(e){e=10===e.toString().length?1e3*e:e;var n=new Date(e),r={"M+":n.getMonth()+1,"D+":n.getDate(),W:"日一二三四五六".charAt(n.getDay()),"h+":n.getHours(),"m+":n.getMinutes(),"s+":n.getSeconds(),"q+":Math.floor((n.getMonth()+3)/3),S:n.getMilliseconds()};for(var o in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(n.getFullYear()+"").substr(4-RegExp.$1.length))),r)new RegExp("("+o+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?r[o]:("00"+r[o]).substr((""+r[o]).length)));return t}},formatTimeStamp:function(e){if(e){var t=new Date(e),n=t.getMonth()+1,r=t.getDate()<10?"0"+t.getDate():t.getDate(),o=n<10?"0"+n:n,a=t.getHours()<10?"0"+t.getHours():t.getHours(),i=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),u=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"-"+o+"-"+r+" "+a+":"+i+":"+u}},timeStampToYm:function(e){if(e){var t=new Date(e),n=t.getMonth()+1,r=n<10?"0"+n:n;return t.getFullYear()+"-"+r}},timeStampToYmd:function(e){if(e){var t=new Date(e),n=t.getMonth()+1,r=t.getDate()<10?"0"+t.getDate():t.getDate(),o=n<10?"0"+n:n;return t.getFullYear()+"-"+o+"-"+r}},timeStampToHms:function(e){if(e){var t=new Date(e);return(t.getHours()<10?"0"+t.getHours():t.getHours())+":"+(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":"+(t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds())}},formatTimeYmdHms:function(e){if(e){var t=new Date(e),n=t.getMonth()+1,r=t.getDate()<10?"0"+t.getDate():t.getDate(),o=n<10?"0"+n:n,a=t.getHours()<10?"0"+t.getHours():t.getHours(),i=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),u=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"."+o+"."+r+" "+a+":"+i+":"+u}},formatPhoneNum:function(e){return e?(e=e.toString()).substr(0,3)+"****"+e.substr(7,11):""},formatName:function(e){return e?"**"+(e=e.toString()).substr(e.length-1,e.length):""},timeStampSpace:function(e){if(e){var t=new Date,n=new Date(Number(e)).getTime()-t.getTime();if(n<0)return"";var r=n%864e5,o=r%36e5;return Math.floor(n/864e5)+"天"+Math.floor(r/36e5)+"小时"+Math.floor(o/6e4)+"分"}},formatTime:function(e){if(!e)return"00:00:00";var t=e/1e3,n=Math.floor(t/60/60/24);return(24*n+Math.floor(t/60/60)%24<10?"0"+(24*n+Math.floor(t/60/60)%24):24*n+Math.floor(t/60/60)%24)+":"+(Math.floor(t/60)%60<10?"0"+Math.floor(t/60)%60:Math.floor(t/60)%60)+":"+(Math.floor(t)%60<10?"0"+Math.floor(t)%60:Math.floor(t)%60)}});i.a.polyfill(),Vue.config.productionTip=!1,Vue.use(M.a,{size:"large"}),Vue.use(S.a,E.a),Vue.axios.defaults.withCredentials=!0,o()(P).forEach(function(e){Vue.filter(e,P[e])}),w.beforeEach(function(e,t,n){window.axiosPromiseArr&&axiosPromiseArr.forEach(function(e,t){e.cancel(),delete axiosPromiseArr[t]});var r=window.location.origin;r.indexOf("localhost"),localStorage.getItem("userInfos"),"/"==e.path?n({path:"/index"}):n()}),new Vue({el:"#app",router:w,store:b,components:{App:c},template:"<App/>"})},Opzk:function(e,t,n){var r={"./errorPage/403.vue":["6XGN",6],"./errorPage/404.vue":["AejC",7],"./errorPage/500.vue":["FskK",5],"./errorPage/gic-error.vue":["Q3j/",4],"./errorPage/index.vue":["ODjX",1],"./login/index.vue":["T+/8",0,2],"./reviewCenter/index.vue":["+lem",0,3],"./reviewCenter/second.vue":["O+1m",0,9],"./reviewCenter/third.vue":["HpNJ",0,8],"./reviewCenter/unreview.vue":["xCEU",0,10]};function o(e){var t=r[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}o.keys=function(){return Object.keys(r)},o.id="Opzk",e.exports=o},SJI6:function(e,t){e.exports=Vuex},Xcu2:function(e,t){},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},tvR6:function(e,t){},uKUT:function(e,t){},xtVA:function(e,t){}},[0]);
\ No newline at end of file
!function(e){var f=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],c[t]&&u.push(c[t][0]),c[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(f&&f(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var a={},c={88:0};function d(f){if(a[f])return a[f].exports;var c=a[f]={i:f,l:!1,exports:{}};return e[f].call(c.exports,c,c.exports,d),c.l=!0,c.exports}d.e=function(e){var f=c[e];if(0===f)return new Promise(function(e){e()});if(f)return f[2];var a=new Promise(function(a,d){f=c[e]=[a,d]});f[2]=a;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"7a358746227f528af6a5",1:"2fe1fea28b338647500e",2:"1ee388c2d99a13efc1ce",3:"e3e5cb80f2284b3190be",4:"d9188c5ef11d148a9172",5:"5eeecaa92e60cace8a1f",6:"3014e775749d7f5b55f5",7:"c7a7f149b9bda67ba206",8:"44ef777174215bae215b",9:"a62fb8970e3ef30127ce",10:"546b16617e8d45a97acd",11:"fce5fcc498c4ce97d798",12:"6858196070975fac87ef",13:"acdad5e4c434690dabb4",14:"0515ff16e22ad1985252",15:"5145c587ec0a653fd73e",16:"7400088166b56885fd23",17:"df7d17412a0cb4c4d42f",18:"09b98776fa678846481e",19:"f11c386818436323fde4",20:"e3adbfd3e776cf2e8f9f",21:"d78352462bc271cf6c69",22:"b775cd5a3407a1f4c844",23:"ed8ffa7851cf7b93d55d",24:"76079e07f55c773e8ebe",25:"755d295db713955f70d0",26:"033c6e723fba9da08a93",27:"8ae3986881568fb833a3",28:"8ce54b8a5169628d01fa",29:"9fc187d28f0558e31cb3",30:"a383e23152f401e14903",31:"a81d5594ab762bad1101",32:"18695c9f2b46cc400c85",33:"0a4442de53039502010e",34:"e1c92d68f0bd271d5f80",35:"ea6b99a3057b0b403906",36:"47f03b8472e95e8be943",37:"e3388332c83433feb21d",38:"c26f420ff1a672b85fee",39:"deafa9cdc10a89021017",40:"abdef089ceb3bd63a0c5",41:"0607550a2e5382357339",42:"649eb602c3c2bdb4bc57",43:"a447bba03751452b5565",44:"0906f80f7e95924674b9",45:"c94e711a21b4d65d30a8",46:"9e28416c142d058d99ce",47:"0401741d9e48cc3f8706",48:"77fa4dbb806cca2b4bbb",49:"5ed2afdca5e082bcd5b7",50:"1a8bef21670320094f7b",51:"63c76b027ea9deeab75d",52:"ba79cdf7f8524beba3e8",53:"76703df56e38ac027cc1",54:"7adecbdc09bf73921e73",55:"68e06904bb295863e369",56:"3ef8e1768cf748f5bf8d",57:"7d9334062856fbe3a1f1",58:"1a2afdbe94416be140fb",59:"ec266b89f6f61f3a6088",60:"bdbfd640dea49c35d168",61:"269f3510c533a0e67067",62:"03bed41d8e38604c1b54",63:"a698e6564f5d3cebf0f4",64:"1620250b23cfa763a9c3",65:"d41f2d2b941e095185d2",66:"6afd6ec06206d5b8a521",67:"0afabbdd1d7bb710d7e4",68:"5ff3f98baf8880c05da3",69:"6484079daa66aa1a9384",70:"37af3cee1717e313fd51",71:"8d17bb653be063ab471a",72:"ac26d9c97757be3fb0f6",73:"24e38b4db5635ab5479f",74:"ed219bdfce8bcaaba02d",75:"0046b7cfac5a91d4e35e",76:"189f705b050fd637351a",77:"7ac4f8a44031fa1b17f7",78:"f2456e2bd3974453d8e3",79:"cad7e7028f946d585b99",80:"1f635392ccbdf9f1e3dd",81:"e74908cd5cfe8fa29870",82:"60e8ef88a5631daceff9",83:"26ec5f0666918217e67d",84:"a6953ebd87c2db8ecfd9",85:"edc07c8d4e5f0e535386"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var f=c[e];0!==f&&(f&&f[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},d.m=e,d.c=a,d.d=function(e,f,a){d.o(e,f)||Object.defineProperty(e,f,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(f,"a",f),f},d.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var f,i,u,b=0,d=[];b<r.length;b++)i=r[b],t[i]&&d.push(t[i][0]),t[i]=0;for(f in c)Object.prototype.hasOwnProperty.call(c,f)&&(e[f]=c[f]);for(n&&n(r,c,a);d.length;)d.shift()();if(a)for(b=0;b<a.length;b++)u=o(o.s=a[b]);return u};var r={},t={13:0};function o(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,o),t.l=!0,t.exports}o.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,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"258c0dc8f9a0c39d1b3a",1:"80ec7107adf684998411",2:"6a514b3660ba50e795d6",3:"a86674ff854e150f17fa",4:"0b6ec94b090312be1b81",5:"16127872576e4b1a2c5d",6:"0cc90d579248bd729bc5",7:"43b6f1b174996571bc20",8:"106ff0c0388de1f25b91",9:"8e4a574a1fbcb4231cbf",10:"4b72d9acdb99481b662d"}[e]+".js";var f=setTimeout(i,12e4);function i(){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=i,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
\ 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