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.8dd9f7ee.js

3 lines
22 KiB

9 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 c=e[a](i),s=c.value}catch(u){return void r(u)}c.done?t(s):Promise.resolve(s).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 c(e){n(i,o,a,c,s,"next",e)}function s(e){n(i,o,a,c,s,"throw",e)}c(void 0)}))}}},"262b":function(e,t,r){"use strict";r("e897")},"73f5":function(e,t,r){"use strict";r.d(t,"e",(function(){return a})),r.d(t,"j",(function(){return i})),r.d(t,"h",(function(){return c})),r.d(t,"a",(function(){return s})),r.d(t,"g",(function(){return u})),r.d(t,"b",(function(){return l})),r.d(t,"f",(function(){return d})),r.d(t,"c",(function(){return f})),r.d(t,"d",(function(){return h})),r.d(t,"i",(function(){return m}));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 c(e){return Object(o["b"])({url:n["a"].store.recycle,method:"get",params:e})}function s(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})}},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,pagination:e.pagination},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"),c=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个字符'}]}]"}]})],1),t("a-form-item",{attrs:{label:"商家用户名",labelCol:e.labelCol,wrapperCol:e.wrapperCol,extra:"商家后台登录<EFBFBD>
/*! 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:{},c=i.iterator||"@@iterator",s=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),c=new j(n||[]);return a(i,"_invoke",{value:_(e,r,c)}),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,c,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(S([])));y&&y!==t&&r.call(y,c)&&(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,c,s){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,c,s)}),(function(e){o("throw",e,c,s)})):t.resolve(d).then((function(e){l.value=e,c(l)}),(function(e){return o("throw",e,c,s)}))}s(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 c=C(i,r);if(c){if(c===h)continue;return c}}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 s=f(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.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[c];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,s,(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