You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong/public/admin/js/store.c3f1a051.js

3 lines
22 KiB

10 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["store"],{"1da1":function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));r("d3b7");function n(e,t,r,n,o,a,i){try{var s=e[a](i),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var i=e.apply(t,r);function s(e){n(i,o,a,s,c,"next",e)}function c(e){n(i,o,a,s,c,"throw",e)}s(void 0)}))}}},"262b":function(e,t,r){"use strict";r("e897")},"73f5":function(e,t,r){"use strict";r.d(t,"f",(function(){return a})),r.d(t,"k",(function(){return i})),r.d(t,"i",(function(){return s})),r.d(t,"a",(function(){return c})),r.d(t,"h",(function(){return u})),r.d(t,"b",(function(){return l})),r.d(t,"g",(function(){return d})),r.d(t,"c",(function(){return f})),r.d(t,"e",(function(){return h})),r.d(t,"j",(function(){return m})),r.d(t,"d",(function(){return p}));var n=r("f6ae"),o=r("b775");function a(e){return Object(o["b"])({url:n["a"].store.list,method:"get",params:e})}function i(e){var t=e.storeId;return Object(o["b"])({url:n["a"].store.superLogin,method:"get",params:{storeId:t}})}function s(e){return Object(o["b"])({url:n["a"].store.recycle,method:"get",params:e})}function c(e){return Object(o["b"])({url:n["a"].store.add,method:"post",data:e})}function u(e){return Object(o["b"])({url:n["a"].store.recovery,method:"post",data:e})}function l(e){return Object(o["b"])({url:n["a"].store.delete,method:"post",data:e})}function d(e){return Object(o["b"])({url:n["a"].store.move,method:"post",data:e})}function f(e){return Object(o["b"])({url:n["a"].store.module.dataList,method:"post",data:e})}function h(e){return Object(o["b"])({url:n["a"].store.module.getStorePlatform,method:"get",params:e})}function m(e){return Object(o["b"])({url:n["a"].store.module.setStorePlatform,method:"post",data:e})}function p(e){return Object(o["b"])({url:n["a"].store.module.getGoodsList,method:"get",params:e})}},bb50:function(e,t,r){"use strict";r.r(t);r("b0c0");var n=function(){var e=this,t=e._self._c;return t("a-card",{attrs:{bordered:!1}},[t("content-header",{attrs:{title:"商城列表"}}),t("div",{staticClass:"table-operator"},[t("a-button",{attrs:{type:"primary",icon:"plus"},on:{click:function(t){return e.$refs.createModal.show()}}},[e._v("新增")])],1),t("s-table",{ref:"table",attrs:{size:"default",rowKey:"store_id",columns:e.columns,data:e.loadData,showPagination:"auto",pageSize:15},scopedSlots:e._u([{key:"action",fn:function(r,n){return t("span",{staticClass:"actions"},[t("a",{on:{click:function(t){return e.getPlatFormItem(n)}}},[e._v("数据授权")]),t("a",{on:{click:function(t){return e.handleInto(n)}}},[e._v("进入商城")]),t("a",{on:{click:function(t){return e.handleDelete(n)}}},[e._v("删除")]),t("a",{on:{click:function(t){return e.handleModule(n)}}},[e._v("功能模块")])])}}])}),t("create-form",{ref:"createModal",on:{handleSubmit:e.handleRefresh}}),t("ModuleForm",{ref:"ModuleForm",on:{handleSubmit:e.handleRefresh}}),t("a-modal",{attrs:{title:"数据授权"},on:{ok:e.handleOk},model:{value:e.open,callback:function(t){e.open=t},expression:"open"}},[t("div",[t("a-checkbox-group",{attrs:{value:e.checkedList},on:{change:e.onChange}},[t("a-row",[t("a-col",{attrs:{span:24}},e._l(e.checkList,(function(r,n){return t("a-checkbox",{key:n,attrs:{value:r.id}},[e._v(" "+e._s(r.name)+" ")])})),1)],1)],1)],1)])],1)},o=[],a=(r("d3b7"),r("159b"),r("b64b"),r("d81d"),r("73f5")),i=r("2af9"),s=function(){var e=this,t=e._self._c;return t("a-modal",{attrs:{title:"新增商城",width:720,visible:e.visible,confirmLoading:e.confirmLoading,maskClosable:!1},on:{ok:e.handleSubmit,cancel:e.handleCancel}},[t("a-spin",{attrs:{spinning:e.confirmLoading}},[t("a-form",{attrs:{form:e.form}},[t("a-form-item",{attrs:{label:"商城名称",labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[t("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["store_name",{rules:[{required:!0,min:3,message:"请输入至少3个字符"}]}],expression:"['store_name', {rules: [{required: true, min: 3, message: '请输入至少3
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
o=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(I){l=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),s=new j(n||[]);return a(i,"_invoke",{value:_(e,r,s)}),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(I){return{type:"throw",arg:I}}}e.wrap=d;var h={};function m(){}function p(){}function v(){}var b={};l(b,s,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(S([])));y&&y!==t&&r.call(y,s)&&(b=y);var w=v.prototype=m.prototype=Object.create(b);function k(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function o(a,i,s,c){var u=f(e[a],e,i);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==Object(n["a"])(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,s,c)}),(function(e){o("throw",e,s,c)})):t.resolve(d).then((function(e){l.value=e,s(l)}),(function(e){return o("throw",e,s,c)}))}c(u.arg)}var i;a(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function _(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return D()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=C(i,r);if(s){if(s===h)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=f(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function C(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator["return"]&&(t.method="return",t.arg=void 0,C(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var o=f(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,h;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function S(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:D}}function D(){return{value:void 0,done:!0}}return p.prototype=v,a(w,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:p,configurable:!0}),p.displayName=l(v,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,l(e,u,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},k(x.prototype),l(x.prototype,c,(function(){return this})),e.AsyncIterator=x,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new x(d(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.val