<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2c4cdb01","chunk-3ef0f450","chunk-59a65348"],{"06c5":function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));r("a630"),r("fb6a"),r("b0c0"),r("d3b7"),r("ac1f"),r("25f0"),r("3ca3");var n=r("6b75");function a(t,e){if(t){if("string"==typeof t)return Object(n["a"])(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&amp;&amp;t.constructor&amp;&amp;(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n["a"])(t,e):void 0}}},2909:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r("6b75");function a(t){if(Array.isArray(t))return Object(n["a"])(t)}r("a4d3"),r("e01a"),r("d28b"),r("a630"),r("d3b7"),r("3ca3"),r("ddb0");function o(t){if("undefined"!=typeof Symbol&amp;&amp;null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}var i=r("06c5");function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(t){return a(t)||o(t)||Object(i["a"])(t)||u()}},"66f0":function(t,e,r){"use strict";r.d(e,"A",(function(){return a})),r.d(e,"B",(function(){return o})),r.d(e,"v",(function(){return i})),r.d(e,"G",(function(){return u})),r.d(e,"b",(function(){return c})),r.d(e,"p",(function(){return d})),r.d(e,"m",(function(){return m})),r.d(e,"O",(function(){return l})),r.d(e,"I",(function(){return p})),r.d(e,"P",(function(){return s})),r.d(e,"a",(function(){return f})),r.d(e,"o",(function(){return h})),r.d(e,"M",(function(){return b})),r.d(e,"H",(function(){return g})),r.d(e,"x",(function(){return y})),r.d(e,"w",(function(){return v})),r.d(e,"n",(function(){return j})),r.d(e,"J",(function(){return O})),r.d(e,"N",(function(){return S})),r.d(e,"y",(function(){return w})),r.d(e,"j",(function(){return U})),r.d(e,"f",(function(){return C})),r.d(e,"h",(function(){return A})),r.d(e,"g",(function(){return P})),r.d(e,"i",(function(){return x})),r.d(e,"s",(function(){return L})),r.d(e,"q",(function(){return F})),r.d(e,"r",(function(){return G})),r.d(e,"F",(function(){return I})),r.d(e,"z",(function(){return N})),r.d(e,"u",(function(){return E})),r.d(e,"l",(function(){return k})),r.d(e,"d",(function(){return q})),r.d(e,"c",(function(){return D})),r.d(e,"e",(function(){return T})),r.d(e,"C",(function(){return $})),r.d(e,"k",(function(){return K})),r.d(e,"K",(function(){return M})),r.d(e,"t",(function(){return R})),r.d(e,"L",(function(){return _})),r.d(e,"E",(function(){return J})),r.d(e,"D",(function(){return V}));var n=r("b775");function a(t){return Object(n["a"])({url:"/api/admin/communityShop/page",method:"get",params:t})}function o(t){return Object(n["a"])({url:"/api/admin/communityShopProduct/page",method:"get",params:t})}function i(t){return Object(n["a"])({url:"/api/admin/goodsCategory/editQueryCategory",method:"get",params:t})}function u(t){return Object(n["a"])({url:"/api/admin/productPromoteOrder/page",method:"get",params:t})}function c(t){return Object(n["a"])({url:"/api/admin/communityShop/add",method:"post",data:t})}function d(t){return Object(n["a"])({url:"/api/admin/communityShop/edit",method:"post",data:t})}function m(t){return Object(n["a"])({url:"/api/admin/communityShop/"+t.id,method:"delete"})}function l(t){return Object(n["a"])({url:"/api/admin/communityShop/verify",method:"get",params:t})}function p(t){return Object(n["a"])({url:"/api/admin/goodsCategory/queryCategorys",method:"get",params:t})}function s(t){return Object(n["a"])({url:"/api/admin/communityShop/verify_no",method:"post",data:t})}function f(t){return Object(n["a"])({url:"/api/admin/communityShopProduct/addNewProduct",method:"post",data:t})}function h(t){return Object(n["a"])({url:"/api/admin/communityShopProduct/editNewProduct",method:"post",data:t})}function b(t){return Object(n["a"])({url:"/api/admin/communityShopEmployee/page",method:"get",params:t})}function g(t){return Object(n["a"])({url:"/api/admin/communityShopEmployeeUpload/page",method:"get",params:t})}function y(t){return Object(n["a"])({url:"/api/admin/communityShop/isUsePoint",method:"post",data:t})}function v(t){return Object(n["a"])({url:"/api/admin/communityShopCustomerServiceStaff/getShopCustomerServiceStaffList",method:"get",params:t})}function j(t){return Object(n["a"])({url:"/api/admin/communityShop/distributionCustomerServiceStaff",method:"post",data:t})}function O(t){return Object(n["a"])({url:"/api/admin/communityShop/refreshAudit",method:"get",params:t})}function S(t){return Object(n["a"])({url:"/api/admin/communityShop/shopUpDownShelf",method:"post",data:t})}function w(t){return Object(n["a"])({url:"/api/admin/communityShop/mchReportList",method:"get",params:t})}function U(t){return Object(n["a"])({url:"/api/admin/communityShop/switchMch/"+t.id+"/"+t.xfMchId,method:"post"})}function C(t){return Object(n["a"])({url:"/api/admin/communityShop/export",method:"get",responseType:"blob",params:t})}function A(t){return Object(n["a"])({url:"/api/admin/communityShopProduct/export",method:"get",responseType:"blob",params:t})}function P(t){return Object(n["a"])({url:"/api/admin/communityShopProduct/productClose",method:"post",params:t})}function x(t){return Object(n["a"])({url:"/api/admin/communityShopProduct/productOpen",method:"post",params:t})}function L(t){return Object(n["a"])({url:"/api/admin/gallery/page",method:"get",params:t})}function F(t){return Object(n["a"])({url:"/api/admin/gallery/add",method:"post",data:t})}function G(t){return Object(n["a"])({url:"/api/admin/gallery/"+t.id,method:"DELETE"})}function I(t){return Object(n["a"])({url:"/api/admin/communityShopProduct/productCustomerAnalysis",method:"get",params:t})}function N(t){return Object(n["a"])({url:"/api/admin/communityShopProduct/pageShopOrderEvaluate",method:"get",params:t})}function E(t){return Object(n["a"])({url:"/api/admin/communityShopProduct/getFlowDetail",method:"get",params:t})}function k(t){return Object(n["a"])({url:"/api/admin/communityShopProduct/dataAnalysisExport",method:"get",responseType:"blob",params:t})}function q(t){return Object(n["a"])({url:"/api/admin/cashIncreaseIntegrate/searchAll",method:"get",params:t})}function D(t){return Object(n["a"])({url:"/api/admin/cashIncreaseIntegrate/add",method:"post",data:t})}function T(t){return Object(n["a"])({url:"/api/admin/cashIncreaseIntegrate/update",method:"post",data:t})}function $(t){return Object(n["a"])({url:"/api/admin/communityShop/preferredShop",method:"PUT",params:t})}function K(t){return Object(n["a"])({url:"/api/admin/communityShop/top",method:"PUT",params:t})}function M(t){return Object(n["a"])({url:"/api/admin/communityShop/selectDetail",method:"get",params:t})}function R(t){return Object(n["a"])({url:"/api/admin/communityShop/getDataSummary",method:"get",params:t})}function _(t){return Object(n["a"])({url:"/api/admin/communityShop/setActivityLabel",method:"post",data:t})}function J(t){return Object(n["a"])({url:"/api/admin/productActivityRelation/setActivityLabel",method:"post",data:t})}function V(t){return Object(n["a"])({url:"/api/admin/productActivityRelation/productActivityList",method:"get",params:t})}},"6b75":function(t,e,r){"use strict";function n(t,e){(null==e||e&gt;t.length)&amp;&amp;(e=t.length);for(var r=0,n=Array(e);r&lt;e;r++)n[r]=t[r];return n}r.d(e,"a",(function(){return n}))},"88bc":function(t,e,r){(function(e){var r=1/0,n=9007199254740991,a="[object Arguments]",o="[object Function]",i="[object GeneratorFunction]",u="[object Symbol]",c="object"==typeof e&amp;&amp;e&amp;&amp;e.Object===Object&amp;&amp;e,d="object"==typeof self&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,m=c||d||Function("return this")();function l(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}function p(t,e){var r=-1,n=t?t.length:0,a=Array(n);while(++r&lt;n)a[r]=e(t[r],r,t);return a}function s(t,e){var r=-1,n=e.length,a=t.length;while(++r&lt;n)t[a+r]=e[r];return t}var f=Object.prototype,h=f.hasOwnProperty,b=f.toString,g=m.Symbol,y=f.propertyIsEnumerable,v=g?g.isConcatSpreadable:void 0,j=Math.max;function O(t,e,r,n,a){var o=-1,i=t.length;r||(r=C),a||(a=[]);while(++o&lt;i){var u=t[o];e&gt;0&amp;&amp;r(u)?e&gt;1?O(u,e-1,r,n,a):s(a,u):n||(a[a.length]=u)}return a}function S(t,e){return t=Object(t),w(t,e,(function(e,r){return r in t}))}function w(t,e,r){var n=-1,a=e.length,o={};while(++n&lt;a){var i=e[n],u=t[i];r(u,i)&amp;&amp;(o[i]=u)}return o}function U(t,e){return e=j(void 0===e?t.length-1:e,0),function(){var r=arguments,n=-1,a=j(r.length-e,0),o=Array(a);while(++n&lt;a)o[n]=r[e+n];n=-1;var i=Array(e+1);while(++n&lt;e)i[n]=r[n];return i[e]=o,l(t,this,i)}}function C(t){return x(t)||P(t)||!!(v&amp;&amp;t&amp;&amp;t[v])}function A(t){if("string"==typeof t||k(t))return t;var e=t+"";return"0"==e&amp;&amp;1/t==-r?"-0":e}function P(t){return F(t)&amp;&amp;h.call(t,"callee")&amp;&amp;(!y.call(t,"callee")||b.call(t)==a)}var x=Array.isArray;function L(t){return null!=t&amp;&amp;I(t.length)&amp;&amp;!G(t)}function F(t){return E(t)&amp;&amp;L(t)}function G(t){var e=N(t)?b.call(t):"";return e==o||e==i}function I(t){return"number"==typeof t&amp;&amp;t&gt;-1&amp;&amp;t%1==0&amp;&amp;t&lt;=n}function N(t){var e=typeof t;return!!t&amp;&amp;("object"==e||"function"==e)}function E(t){return!!t&amp;&amp;"object"==typeof t}function k(t){return"symbol"==typeof t||E(t)&amp;&amp;b.call(t)==u}var q=U((function(t,e){return null==t?{}:S(t,p(O(e,1),A))}));t.exports=q}).call(this,r("c8ba"))},ac3b:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t._self._c;return e("a-modal",{attrs:{title:0==t.modalOpera?"æ–°å¢ž":"ç¼–è¾‘",width:600,visible:t.visible,confirmLoading:t.confirmLoading},on:{ok:t.handleSubmit,cancel:t.handleCancel}},[e("a-spin",{attrs:{spinning:t.confirmLoading}},[e("a-form",{attrs:{form:t.form}},[e("a-form-item",{attrs:{label:"å›¾ç‰‡åç§°",labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["name",{rules:[{required:!0,message:"è¯·è¾“å…¥å›¾ç‰‡åç§°"}]}],expression:"['name', { rules: [{ required: true, message: 'è¯·è¾“å…¥å›¾ç‰‡åç§°' }] }]"}],attrs:{placeholder:"è¯·è¾“å…¥å›¾ç‰‡åç§°",maxLength:30}})],1),e("a-form-item",{attrs:{label:"å›¾ç‰‡å…³é”®å­—",labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["pictureKeyword",{rules:[{required:!0,message:"è¯·è¾“å…¥å›¾ç‰‡å…³é”®å­—"}]}],expression:"['pictureKeyword', { rules: [{ required: true, message: 'è¯·è¾“å…¥å›¾ç‰‡å…³é”®å­—' }] }]"}],attrs:{placeholder:"è¯·è¾“å…¥å›¾ç‰‡å…³é”®å­—",maxLength:50}})],1),e("a-form-item",{attrs:{label:"ä¸Šä¼&nbsp;å›¾ç‰‡",labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[e("a-input",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"},{name:"decorator",rawName:"v-decorator",value:["pictureUrl",{rules:[{required:!0,message:"è¯·ä¸Šä¼&nbsp;å›¾ç‰‡"}]}],expression:"['pictureUrl', {rules: [{required: true, message: 'è¯·ä¸Šä¼&nbsp;å›¾ç‰‡'}]}]"}],attrs:{placeholder:"è¯·ä¸Šä¼&nbsp;å›¾ç‰‡"}}),e("a-upload",{staticClass:"avatar-uploader",attrs:{multiple:0==t.modalOpera,name:"files","list-type":"picture-card","file-list":t.imageUrl,remove:t.handleRemove,accept:".jpg,.png,.jpeg,.gif","before-upload":t.beforeUpload}},[0==t.modalOpera&amp;&amp;t.imageUrl.length&lt;50||1==t.modalOpera&amp;&amp;t.imageUrl.length&lt;1?e("div",[e("a-icon",{attrs:{type:"plus"}}),e("div",{staticClass:"ant-upload-text"},[t._v(" ä¸Šä¼&nbsp; ")])],1):t._e()])],1)],1)],1)],1)},a=[],o=r("2909"),i=(r("99af"),r("d81d"),r("fb6a"),r("a434"),r("b0c0"),r("d3b7"),r("4360")),u=r("66f0"),c=r("ca00"),d=r("88bc"),m=r.n(d),l={data:function(){return{labelCol:{xs:{span:24},sm:{span:5}},wrapperCol:{xs:{span:24},sm:{span:16}},modalOpera:0,visible:!1,confirmLoading:!1,roles:[],form:this.$form.createForm(this),curGroup:{},headers:{Authorization:i["a"].getters.token},imageUrl:""}},created:function(){},methods:{add:function(){this.imageUrl=[],this.modal(0)},edit:function(t){var e=this;this.curGroup=t,this.imageUrl=t.pictureUrl?t.pictureUrl.split(",").map((function(t,e){return{uid:Date.now()+e,name:"image.png",url:t}})):[],this.modal(1),setTimeout((function(){e.form.setFieldsValue(m()(t,"name","pictureKeyword")),e.form.setFieldsValue({pictureUrl:t.pictureUrl})}),500)},modal:function(t){this.modalOpera=t,this.visible=!0,this.form.resetFields()},handleRemove:function(t){var e=this.imageUrl.indexOf(t),r=this.imageUrl.slice();r.splice(e,1),this.imageUrl=r,this.form.setFieldsValue({pictureUrl:""})},beforeUpload:function(t){var e=this;return new Promise((function(r,n){var a="image/jpeg"===t.type||"image/png"===t.type;if(!a)return e.$message.error("æ‚¨åªèƒ½ä¸Šä¼&nbsp;JPGã€PNGæ&nbsp;¼å¼çš„å›¾ç‰‡!"),n(!1);var i=t.size/1024/1024&lt;10;if(!i)return e.$message.error("å›¾ç‰‡å¤§å°å¿…é¡»å°äºŽ10MB!"),n(!1);if(50==e.imageUrl.length){e.$message.warn("åªèƒ½ä¸Šä¼&nbsp;50ä¸ªæ–‡ä»¶");var u=e.imageUrl.slice();u.splice(-1,1),e.imageUrl=u}else e.imageUrl=[].concat(Object(o["a"])(e.imageUrl),[t]),e.form.setFieldsValue({pictureUrl:"123"});return n(!1)}))},handleSubmit:function(){var t=this,e=this.form.validateFields,r=this;e((function(e,n){if(!e){t.confirmLoading=!0;var a=new FormData;if(a.append("name",n.name),a.append("pictureKeyword",n.pictureKeyword),1==r.modalOpera)return a.append("id",r.curGroup.id),void(t.imageUrl[0].url?Object(c["getImageFileFromUrl"])(r.curGroup.pictureUrl,r.curGroup.pictureName).then((function(t){a.append("file",t),a.append("pictureUrl",r.curGroup.pictureUrl),a.append("pictureName",r.curGroup.pictureName),r.addGoods(a)})):(r.imageUrl.map((function(t){a.append("file",t)})),r.addGoods(a)));r.imageUrl.map((function(t){a.append("file",t)})),r.addGoods(a)}}))},addGoods:function(t){var e=this;Object(u["q"])(t).then((function(t){e.$notification.success({message:"æ“ä½œæˆåŠŸï¼"}),e.$emit("ok"),e.handleCancel()})).catch((function(t){e.confirmLoading=!1}))},handleCancel:function(){this.visible=!1,this.confirmLoading=!1}}},p=l,s=r("2877"),f=Object(s["a"])(p,n,a,!1,null,null,null);e["default"]=f.exports}}]);</pre></body></html>