Commit ea6019d7 by 黑潮

update: 修改分页样式

parent 4b1fe286
<!DOCTYPE html><html lang=cn><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/welfare/favicon2.ico><link href=//at.alicdn.com/t/font_1434755_up9fc92yhi.css rel=stylesheet><link rel=stylesheet type=text/css href=//at.alicdn.com/t/font_2349215_1s8bd0r1t2ri.css><title>福利中心</title><link href=/welfare/css/card-package.57482441.css rel=prefetch><link href=/welfare/css/card-package~gic-card.06e52b24.css rel=prefetch><link href=/welfare/css/chunk-001d874e.04a03d4f.css rel=prefetch><link href=/welfare/css/chunk-0a638264.90df7b8c.css rel=prefetch><link href=/welfare/css/chunk-0beca480.ad69aaca.css rel=prefetch><link href=/welfare/css/chunk-247c4cc7.ad01b3e2.css rel=prefetch><link href=/welfare/css/chunk-256597ba.fa1d3569.css rel=prefetch><link href=/welfare/css/chunk-447f9844.f11404c0.css rel=prefetch><link href=/welfare/css/chunk-538ce912.ee4b8a2b.css rel=prefetch><link href=/welfare/css/chunk-593e752c.8f300845.css rel=prefetch><link href=/welfare/css/chunk-5e077bbb.282cdb77.css rel=prefetch><link href=/welfare/css/chunk-62df7e69.5ce8e788.css rel=prefetch><link href=/welfare/css/chunk-7b01ce79.3d1e4d18.css rel=prefetch><link href=/welfare/css/chunk-a7320cc8.a794f702.css rel=prefetch><link href=/welfare/css/gic-card.29bbb42d.css rel=prefetch><link href=/welfare/js/card-package.d590f9e0.js rel=prefetch><link href=/welfare/js/card-package~gic-card.a6bcd1b5.js rel=prefetch><link href=/welfare/js/chunk-001d874e.36e2e9fb.js rel=prefetch><link href=/welfare/js/chunk-0a638264.a774293e.js rel=prefetch><link href=/welfare/js/chunk-0beca480.0bc15a4c.js rel=prefetch><link href=/welfare/js/chunk-0d4ebdfa.b7f84933.js rel=prefetch><link href=/welfare/js/chunk-247c4cc7.c862e6ef.js rel=prefetch><link href=/welfare/js/chunk-256597ba.298364a2.js rel=prefetch><link href=/welfare/js/chunk-447f9844.24b27267.js rel=prefetch><link href=/welfare/js/chunk-538ce912.aded1175.js rel=prefetch><link href=/welfare/js/chunk-593e752c.ac0fc2e4.js rel=prefetch><link href=/welfare/js/chunk-5e077bbb.55ea07ed.js rel=prefetch><link href=/welfare/js/chunk-6287d3af.815a5a4b.js rel=prefetch><link href=/welfare/js/chunk-62df7e69.370d94b4.js rel=prefetch><link href=/welfare/js/chunk-7b01ce79.39f06618.js rel=prefetch><link href=/welfare/js/chunk-a7320cc8.b97617d4.js rel=prefetch><link href=/welfare/js/chunk-db6a8f34.c80271f2.js rel=prefetch><link href=/welfare/js/gic-card.c2304766.js rel=prefetch><link href=/welfare/css/app.e51f9e2a.css rel=preload as=style><link href=/welfare/js/app.0c3ded43.js rel=preload as=script><link href=/welfare/js/chunk-vendors.e3f6565f.js rel=preload as=script><link href=/welfare/css/app.e51f9e2a.css rel=stylesheet></head><body class=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script>(function() { <!DOCTYPE html><html lang=cn><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/welfare/favicon2.ico><link href=//at.alicdn.com/t/font_1434755_up9fc92yhi.css rel=stylesheet><link rel=stylesheet type=text/css href=//at.alicdn.com/t/font_2349215_1s8bd0r1t2ri.css><title>福利中心</title><link href=/welfare/css/card-package.57482441.css rel=prefetch><link href=/welfare/css/card-package~gic-card.06e52b24.css rel=prefetch><link href=/welfare/css/chunk-001d874e.04a03d4f.css rel=prefetch><link href=/welfare/css/chunk-0a638264.90df7b8c.css rel=prefetch><link href=/welfare/css/chunk-0beca480.ad69aaca.css rel=prefetch><link href=/welfare/css/chunk-247c4cc7.ad01b3e2.css rel=prefetch><link href=/welfare/css/chunk-256597ba.fa1d3569.css rel=prefetch><link href=/welfare/css/chunk-447f9844.f11404c0.css rel=prefetch><link href=/welfare/css/chunk-538ce912.ee4b8a2b.css rel=prefetch><link href=/welfare/css/chunk-593e752c.8f300845.css rel=prefetch><link href=/welfare/css/chunk-5e077bbb.282cdb77.css rel=prefetch><link href=/welfare/css/chunk-62df7e69.5ce8e788.css rel=prefetch><link href=/welfare/css/chunk-7b01ce79.3d1e4d18.css rel=prefetch><link href=/welfare/css/chunk-a7320cc8.a794f702.css rel=prefetch><link href=/welfare/css/gic-card.29bbb42d.css rel=prefetch><link href=/welfare/js/card-package.d590f9e0.js rel=prefetch><link href=/welfare/js/card-package~gic-card.a6bcd1b5.js rel=prefetch><link href=/welfare/js/chunk-001d874e.36e2e9fb.js rel=prefetch><link href=/welfare/js/chunk-0a638264.a774293e.js rel=prefetch><link href=/welfare/js/chunk-0beca480.0bc15a4c.js rel=prefetch><link href=/welfare/js/chunk-0d4ebdfa.b7f84933.js rel=prefetch><link href=/welfare/js/chunk-247c4cc7.c862e6ef.js rel=prefetch><link href=/welfare/js/chunk-256597ba.298364a2.js rel=prefetch><link href=/welfare/js/chunk-447f9844.483b1bc9.js rel=prefetch><link href=/welfare/js/chunk-538ce912.aded1175.js rel=prefetch><link href=/welfare/js/chunk-593e752c.ac0fc2e4.js rel=prefetch><link href=/welfare/js/chunk-5e077bbb.55ea07ed.js rel=prefetch><link href=/welfare/js/chunk-6287d3af.815a5a4b.js rel=prefetch><link href=/welfare/js/chunk-62df7e69.370d94b4.js rel=prefetch><link href=/welfare/js/chunk-7b01ce79.39f06618.js rel=prefetch><link href=/welfare/js/chunk-a7320cc8.b97617d4.js rel=prefetch><link href=/welfare/js/chunk-db6a8f34.c80271f2.js rel=prefetch><link href=/welfare/js/gic-card.b591f626.js rel=prefetch><link href=/welfare/css/app.e51f9e2a.css rel=preload as=style><link href=/welfare/js/app.f61b7c56.js rel=preload as=script><link href=/welfare/js/chunk-vendors.e3f6565f.js rel=preload as=script><link href=/welfare/css/app.e51f9e2a.css rel=stylesheet></head><body class=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script>(function() {
var host = window.location.host; var host = window.location.host;
document.write('<script src="//'+ (host == 'ideal.demogic.com' ? host : 'four.gicdev.com') + '/component-library/static/import-component.js?timestrap='+ new Date().getTime() +'"><\/script>') document.write('<script src="//'+ (host == 'ideal.demogic.com' ? host : 'four.gicdev.com') + '/component-library/static/import-component.js?timestrap='+ new Date().getTime() +'"><\/script>')
})()</script><script src=/welfare/js/chunk-vendors.e3f6565f.js></script><script src=/welfare/js/app.0c3ded43.js></script></body></html> })()</script><script src=/welfare/js/chunk-vendors.e3f6565f.js></script><script src=/welfare/js/app.f61b7c56.js></script></body></html>
\ No newline at end of file \ No newline at end of file
(function(e){function t(t){for(var r,a,o=t[0],s=t[1],u=t[2],l=0,d=[];l<o.length;l++)a=o[l],Object.prototype.hasOwnProperty.call(i,a)&&i[a]&&d.push(i[a][0]),i[a]=0;for(r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r]);p&&p(t);while(d.length)d.shift()();return c.push.apply(c,u||[]),n()}function n(){for(var e,t=0;t<c.length;t++){for(var n=c[t],r=!0,a=1;a<n.length;a++){var o=n[a];0!==i[o]&&(r=!1)}r&&(c.splice(t--,1),e=s(s.s=n[0]))}return e}var r={},a={app:0},i={app:0},c=[];function o(e){return s.p+"js/"+({"card-package~gic-card":"card-package~gic-card","card-package":"card-package","gic-card":"gic-card"}[e]||e)+"."+{"card-package~gic-card":"a6bcd1b5","card-package":"d590f9e0","gic-card":"c2304766","chunk-001d874e":"36e2e9fb","chunk-0a638264":"a774293e","chunk-0beca480":"0bc15a4c","chunk-0d4ebdfa":"b7f84933","chunk-247c4cc7":"c862e6ef","chunk-256597ba":"298364a2","chunk-447f9844":"24b27267","chunk-538ce912":"aded1175","chunk-593e752c":"ac0fc2e4","chunk-5e077bbb":"55ea07ed","chunk-6287d3af":"815a5a4b","chunk-62df7e69":"370d94b4","chunk-7b01ce79":"39f06618","chunk-a7320cc8":"b97617d4","chunk-db6a8f34":"c80271f2"}[e]+".js"}function s(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,s),n.l=!0,n.exports}s.e=function(e){var t=[],n={"card-package~gic-card":1,"card-package":1,"gic-card":1,"chunk-001d874e":1,"chunk-0a638264":1,"chunk-0beca480":1,"chunk-247c4cc7":1,"chunk-256597ba":1,"chunk-447f9844":1,"chunk-538ce912":1,"chunk-593e752c":1,"chunk-5e077bbb":1,"chunk-62df7e69":1,"chunk-7b01ce79":1,"chunk-a7320cc8":1};a[e]?t.push(a[e]):0!==a[e]&&n[e]&&t.push(a[e]=new Promise((function(t,n){for(var r="css/"+({"card-package~gic-card":"card-package~gic-card","card-package":"card-package","gic-card":"gic-card"}[e]||e)+"."+{"card-package~gic-card":"06e52b24","card-package":"57482441","gic-card":"29bbb42d","chunk-001d874e":"04a03d4f","chunk-0a638264":"90df7b8c","chunk-0beca480":"ad69aaca","chunk-0d4ebdfa":"31d6cfe0","chunk-247c4cc7":"ad01b3e2","chunk-256597ba":"fa1d3569","chunk-447f9844":"f11404c0","chunk-538ce912":"ee4b8a2b","chunk-593e752c":"8f300845","chunk-5e077bbb":"282cdb77","chunk-6287d3af":"31d6cfe0","chunk-62df7e69":"5ce8e788","chunk-7b01ce79":"3d1e4d18","chunk-a7320cc8":"a794f702","chunk-db6a8f34":"31d6cfe0"}[e]+".css",i=s.p+r,c=document.getElementsByTagName("link"),o=0;o<c.length;o++){var u=c[o],l=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(l===r||l===i))return t()}var d=document.getElementsByTagName("style");for(o=0;o<d.length;o++){u=d[o],l=u.getAttribute("data-href");if(l===r||l===i)return t()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.onload=t,p.onerror=function(t){var r=t&&t.target&&t.target.src||i,c=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=r,delete a[e],p.parentNode.removeChild(p),n(c)},p.href=i;var f=document.getElementsByTagName("head")[0];f.appendChild(p)})).then((function(){a[e]=0})));var r=i[e];if(0!==r)if(r)t.push(r[2]);else{var c=new Promise((function(t,n){r=i[e]=[t,n]}));t.push(r[2]=c);var u,l=document.createElement("script");l.charset="utf-8",l.timeout=120,s.nc&&l.setAttribute("nonce",s.nc),l.src=o(e);var d=new Error;u=function(t){l.onerror=l.onload=null,clearTimeout(p);var n=i[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;d.message="Loading chunk "+e+" failed.\n("+r+": "+a+")",d.name="ChunkLoadError",d.type=r,d.request=a,n[1](d)}i[e]=void 0}};var p=setTimeout((function(){u({type:"timeout",target:l})}),12e4);l.onerror=l.onload=u,document.head.appendChild(l)}return Promise.all(t)},s.m=e,s.c=r,s.d=function(e,t,n){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},s.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)s.d(n,r,function(t){return e[t]}.bind(null,r));return n},s.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="/welfare/",s.oe=function(e){throw e};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],l=u.push.bind(u);u.push=t,u=u.slice();for(var d=0;d<u.length;d++)t(u[d]);var p=l;c.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"0ae1":function(e,t,n){e.exports=n.p+"img/app.ab4c23ff.svg"},"1f99":function(e,t,n){},2072:function(e,t,n){"use strict";n("8e6e"),n("ac6a"),n("456d");var r=n("ade3"),a=n("71f6"),i=n("f121");function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s={getDelivery:{url:"/delivery-order/get-page-list",method:"post"},getPerformanceList:{url:"/order/get-page-list",method:"post"},getApplicationList:"/stock/application-list",getRefund:{url:"/refund-order/get-page-list",method:"post"},exportRefundData:{url:"/refund-order/order-export",method:"post"},exportDeliveryData:{url:"/delivery-order/order-export",method:"post"},exportPerformanceData:{url:"/order/order-export",method:"post"},getLogisticsInfo:{url:"/logistics/get-logistics-info",method:"post"},handleRefundOrder:{url:"/refund-order/process-refund-order",method:"post",useFormData:!0},getDeliveryDetail:{url:"/delivery-order/get-delivery-detail",method:"post",useFormData:!0},delivering:{url:"/delivery-order/delivering",method:"post"},closeOrder:{url:"/delivery-order/close",method:"post",useFormData:!0},getLogisticsCompany:"/logistics/get-company"};s=Object(a["a"])(s,i["f"]),t["a"]=o({},s)},2934:function(e,t,n){"use strict";n.d(t,"b",(function(){return d}));n("8e6e"),n("ac6a"),n("456d");var r=n("ade3"),a=n("71f6"),i=n("f121");function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s={loginUserMenu:"/login-user-menu",loginUserMenuOfApp:"/login-user-menu-of-app"},u={getSubappList:"/area/member-cards",getAppList:"/stock/application-list",getStockList:{url:"/stock/stock-list",method:"post",useFormData:!0},getStockActivityStatistics:"/stock/activity-statistics",getRelationId:"/gift/get-gift-id",virtualUploadLog:{url:"/gift/vir-card-log-page",method:"post"},virtualErrorPage:"/gift/vir-card-error-page",getWelfareAppList:"/gift/get-welfare-application-list"},l={getAppInfo:{url:"/enterprise-serve-info",alertError:!1},getMallShopList:"/outer/all-mall-shop",activityList:"/activity/list-marketing-page",getActivityInfo:"/activity/get-marketing-activity"};u=Object(a["a"])(u,i["f"]),s=Object(a["a"])(s,i["b"]),l=Object(a["a"])(l,i["d"]),t["a"]=o(o(o({},s),l),u);var d=i["d"]+"/upload/upload-image"},4360:function(e,t,n){"use strict";n("96cf");var r=n("1da1"),a=(n("7514"),n("20d6"),n("8bbf")),i=n.n(a),c=n("5880"),o=n.n(c),s=n("cf45");i.a.use(o.a),t["a"]=new o.a.Store({state:{logisticsCompany:[],lock:!1,loading:!1,defaultAreaId:"",currentAreaName:"",currentAreaId:"",deleteFlag:!1,areaSubList:[],moduleCode:"welfare",project:"",menu:{},extraHideLeft:"",mainHeight:0,routePath:[],showCornerCanUseApp:!1},mutations:{setLogisticsCompany:function(e,t){e.logisticsCompany=t},updateShowCornerCanUseApp:function(e,t){e.showCornerCanUseApp=t},updateRoutePath:function(e,t){e.routePath=t},updateMainHeight:function(e,t){e.mainHeight=t},updateLock:function(e,t){e.lock=t},updateAreaName:function(e,t){var n=t.areaId,r=t.areaName,a=e.areaSubList.findIndex((function(e){return e.areaId===n}));-1!==a&&(e.areaSubList[a].areaName=r,e.currentAreaId===n&&(e.currentAreaName=r))},setSubAppList:function(e,t){e.areaSubList=t},setDefaultSubAppId:function(e,t){},setCurrentSubApp:function(e,t){var n=e.areaSubList.find((function(e){return e.areaId===t}))||{};Object(s["b"])(e.moduleCode,"set",t),e.currentAreaId=n.areaId||"",e.currentAreaName=n.areaName||"",e.deleteFlag=n.deleteFlag||!1},setProject:function(e,t){e.project=t||""},updateExtraHideLeft:function(e,t){e.extraHideLeft=t||""}},actions:{setDefaultAppId:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.commit("setDefaultSubAppId",n);case 1:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}()},plugins:[]})},"48ad":function(e,t,n){},"4c57":function(e,t,n){e.exports=n.p+"img/w-real-gifts.a8edb5c6.svg"},"4df3":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAIAAAC2BqGFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyVpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ2MCwgMjAyMC8wNS8xMi0xNjowNDoxNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zL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QlCDfgzvF8s/HSzYERSMT8CY49F1+YPzetdAbl7/dc0WvTYkGL7h9Y8SuDN1176fVcR2T2KDC0hNBiOkuFlsg0NeAhvpzNskxk5ZSoe5gXNIqk7XDfzpZtJQWVeQjxaIwPj/Ida0Flrs2Dhhh5FuXawVoc5yK6FDYMuiqrRc+1w+6eC5fQeAuVhkFHSS6xy0tj7lJVUdODsknQRUE702+bUJameB9Bgxd0rBl0mhVlc6OzMdBZRiRuahMjIFptDwyZoOdtjNrdJ9GOgRI25dTNgIb05NAjDb6A4H0C3d0m8gsf2g/QjDLaxVfU3KkibmLpsQHQGHeW8v8vsNgP0AXtOOhGXinVAGhKOg4act1q58h1V9AQ/XQ13rjn1KySDJoewduXlk4t26PL8hhAl9JBV8fh0bvLoy79ExwI6P3IDJUp0F0BvSfVx8INyQatG0cxJsydL3PX/29bxjE49ZqVfGKlo4UXqcg1z7V2b1HTQKXSsrQnzXD33tELbgSUG+np8T8BBgDkYWVuSY7fQAAAAABJRU5ErkJggg=="},"56d7":function(e,t,n){"use strict";n.r(t);n("7f7f"),n("ac6a"),n("456d"),n("cadf"),n("551c"),n("f751"),n("097d"),n("1f99"),n("88ed"),n("6861");var r=n("5f72"),a=n("cebe"),i=n.n(a),c=n("8bbf"),o=n.n(c),s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dm-reset",attrs:{id:"app"}},[n("router-view")],1)},u=[],l=(n("28a5"),n("96cf"),n("1da1")),d=n("2072"),p=d["a"].getLogisticsCompany,f={name:"App",data:function(){return{isRouterAlive:!0}},mounted:function(){this.getLogisticsCompany(),this.$store.commit("updateMainHeight",document.body.offsetHeight-180)},methods:{getLogisticsCompany:function(){var e=Object(l["a"])(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:t=e.sent,n=t.result,this.$store.commit("setLogisticsCompany",n||[]);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},watch:{$route:{handler:function(e){e.path.split("/")[1]&&this.$store.commit("setProject",window.location.pathname.split("/")[2])},deep:!0,immediate:!0}}},h=f,g=n("2877"),m=Object(g["a"])(h,s,u,!1,null,null,null),b=m.exports,v=n("a18c"),y=n("d046"),k=(n("6c7b"),n("c5f6"),n("ed08")),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"¥",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=Number(e);return isNaN(a)?e:"".concat(r?t:"").concat(Object(k["d"])(a,n))},O={amountFormat:w},j={computed:{currentAreaId:function(){return this.$store.state.currentAreaId},currentAreaIds:function(){return this.$store.state.currentAreaId?[this.$store.state.currentAreaId]:[]},currentAreaDelete:function(){return this.$store.state.delete_flag}}},C=n("4360"),A=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("dm-perm-button",{attrs:{"perm-tip":e.permTip,"perm-tip-placement":e.permTipPlacement,size:e.size,type:e.type,plain:e.plain,round:e.round,loading:e.loading,disabled:e.disabled,icon:e.icon,autofocus:e.autofocus,"native-type":e.nativeType},nativeOn:{click:function(t){return e.handleClick(t)}}},[e._t("default")],2)},S=[],x={name:"MkButton",props:{effect:{type:String,default:"dark"},delayTimes:{type:Number,default:300},permTipPlacement:{type:String,default:"top"},size:String,type:String,plain:{type:Boolean,default:!1},round:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},icon:String,autofocus:{type:Boolean,default:!1},nativeType:{type:String,default:"button"},option:{type:Object,default:function(){return{}}}},data:function(){return{permTip:"",disabled:!1}},mounted:function(){return this.option.perm?(this.permTip="您无该操作权限,请联系超管!",void(this.disabled=!0)):this.option.deleteFlag?(this.disabled=!0,void(this.permTip=this.option.deleteRemark||"域已被删除")):void 0},methods:{handleClick:function(){this.disabled||this.$emit("click")}}},I=x,P=Object(g["a"])(I,A,S,!1,null,null,null),L=P.exports,D=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"member-info",style:"height:"+e.height+"px"},[r("dm-preview-img",{staticClass:"img",attrs:{img:e.memberImage||n("4df3"),width:e.width,height:e.height}}),r("p",{class:e.hidePhone?"pt10":""},[e._v(e._s(e.memberName||"--"))]),e.hidePhone?e._e():r("p",{class:e.memberPhone?"":"hide"},[e._v(e._s(e.showPhoneTip?"手机号码:":"")+e._s(e.memberPhone||"--"))])],1)},N=[],E={name:"Memberinfo",props:{memberName:{type:String},memberImage:{type:String},memberPhone:{type:String},showPhoneTip:{type:Boolean,default:!1},width:{type:[String,Number],default:40},height:{type:[String,Number],default:40},hidePhone:{type:Boolean,default:!1}},data:function(){return{}}},M=E,U=(n("58a4"),Object(g["a"])(M,D,N,!1,null,"6ab16bb4",null)),R=U.exports,z=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-image",{attrs:{src:e.src,fit:e.fit,lazy:e.lazy,"scroll-container":e.scrollContainer,"preview-src-list":e.previewSrcList,"z-index":e.zIndex},on:{click:e.viewClick},scopedSlots:e._u([{key:"error",fn:function(){return[e._t("error")]},proxy:!0}],null,!0)})},B=[],F={name:"DmElImageView",props:{src:String,fit:String,lazy:Boolean,scrollContainer:{},previewSrcList:{type:Array,default:function(){return[]}},zIndex:{type:Number,default:2e3}},methods:{viewClick:function(){this.$emit("click"),document.body.style=""}}},G=F,V=Object(g["a"])(G,z,B,!1,null,null,null),T=V.exports,Y={gicCardFormAdd:"gicCardFormAdd",gicCardFormCopy:"gicCardFormCopy",gicCardFormInfo:"gicCardFormInfo",gicCardFormEdit:"gicCardFormEdit",gicCardFormDel:"gicCardFormDel",gicCardGroupBtn:"gicCardGroupBtn",gicCardMemberGetExport:"gicCardMemberGetExport",gicCardGiveLogExport:"gicCardGiveLogExport",gicCardGroupSendForm:"gicCardGroupSendForm",gicCardGroupSendInfo:"gicCardGroupSendInfo",gicCardGroupSendInfoLog:"gicCardGroupSendInfoLog",gicCardStopGroupSend:"gicCardStopGroupSend",gicCardSyncStock:"gicCardSyncStock",gicCardDestory:"gicCardDestory",gicCardDestoryExport:"gicCardDestoryExport",gicAddPackage:"gicAddPackage",gicEditPackage:"gicEditPackage",gicDeletePackage:"gicDeletePackage",gicSyncStockPack:"gicSyncStockPack",gicAdjustStockPack:"gicAdjustStockPack",gicCardShelfLogExportBtn:"gicCardShelfLogExportBtn"},H=(n("a481"),n("5df3"),n("b775")),_="",Q=[],Z=[],W={},J=X();function X(){var e=window.location.origin;return(e.indexOf("localhost")>=0||e.indexOf("192.168")>=0)&&(e="https://four.gicdev.com"),e}function q(){return Object(H["a"])({url:"/gic-auth-web/get-login-user-info"})}function $(){var e=Object(H["a"])({url:"/gic-auth-web/login-user-menu"}).then((function(e){Z=te(e.result||[])})),t=Object(H["a"])({url:"/gic-auth-web/login-user-operation-item"}).then((function(e){W=ne(e.result||[])}));return Promise.all([e,t])}function K(e){return ee.apply(this,arguments)}function ee(){return ee=Object(l["a"])(regeneratorRuntime.mark((function e(t){var n,r,a,i,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n="",e.next=3,Object(H["a"])({url:"/gic-auth-web/get-app-by-code"},{menuCode:t}).then((function(e){n=e.result}));case 3:return r={menu:["/gic-auth-web/login-user-menu-of-app","/gic-auth-web/login-collaborator-menu-of-app"],opera:["/gic-auth-web/login-user-operation-item-of-app","/gic-auth-web/login-collaborator-operation-item"]},a=0,e.next=7,Object(H["a"])({url:"/application-center-web/business/cooperation-application/find-list"}).then((function(e){var t=e.result||[];t.some((function(e){return e.applicationId==n}))&&(a=1)}));case 7:return i=Object(H["a"])({url:r.menu[a]},{appId:n}).then((function(e){Z=te(e.result||[]),C["a"].commit("updateRoutePath",e.result?e.result[0].children:[])})),c=Object(H["a"])({url:r.opera[a]},{appId:n}).then((function(e){W=ne(e.result||[])})),e.abrupt("return",Promise.all([i,c]));case 10:case"end":return e.stop()}}),e)}))),ee.apply(this,arguments)}function te(e){var t=[];return e.forEach((function(e){e.projectUrlForWeb==_&&e.menuUrl&&t.push(e.menuUrl),Array.isArray(e.children)&&(t=t.concat(te(e.children)))})),t}function ne(e){var t={};return e.forEach((function(e){t[e.menuCode]=!0})),t}function re(e){var t=[];return e.forEach((function(e){Array.isArray(e.children)&&(t=t.concat(re(e.children))),t.push(e.path)})),t}function ae(e,t,n){var r=Z.some((function(t){return t.indexOf("/#")>=0?t=="/#".concat(e.path):t==e.path}));if(r)return Object.assign(i.a.defaults.headers.common,{route:e.path}),n();Q.some((function(t){return t==e.path}))||0==Z.length?window.location.href="".concat(J,"/damo-system/no-access"):(Object.assign(i.a.defaults.headers.common,{route:Z[0]}),n(Z[0]))}function ie(e){return!!W[e]}var ce=function(e){var t=e.projectPath,n=e.isApp,r=e.writeRoute,a=e.router,c=e.routes,s=e.createApp,u=e.menuCode,d=o.a.prototype.$loading({lock:!0,customClass:"medium"});_=t,window.addEventListener("load",Object(l["a"])(regeneratorRuntime.mark((function e(){var o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(o=window.location.pathname,-1!=o.indexOf("/login")){e.next=11;break}return e.next=4,q().then((function(e){var n=e.result||{},r=n.enterpriseId;Object.assign(i.a.defaults.headers.common,{sign:r,project:t.replace(/^\//,""),route:o.replace(t,"")})}));case 4:if(!n){e.next=9;break}return e.next=7,K(u);case 7:e.next=11;break;case 9:return e.next=11,$();case 11:Array.isArray(r)&&(Z=Z.concat(r)),Array.isArray(c)&&(Q=re(c)),a.beforeEach(ae),"function"==typeof s&&(d.close(),s());case 15:case"end":return e.stop()}}),e)}))))};i.a.defaults.withCredentials=!0,o.a.prototype.axios=i.a,o.a.config.productionTip=!1,Object.keys(O).map((function(e){return o.a.filter(e,O[e])})),o.a.mixin(j),o.a.component("mk-button",L),o.a.component(T.name,T),o.a.component("member-info",R),o.a.prototype.axios.interceptors.request.use((function(e){return e.headers["isControl"]=!0,e})),o.a.prototype.$tips=Object(k["b"])(r["Message"],1500),o.a.prototype.$itemCode=Y,o.a.prototype.$itemPerm=ie,o.a.config.devtools=!1,window.Promise.prototype.finally=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))},ce({router:v["a"],routes:y["a"],projectPath:"/welfare",writeRoute:["/index"],menuCode:"welfare",isApp:!0,createApp:function(){new o.a({router:v["a"],store:C["a"],render:function(e){return e(b)}}).$mount("#app")}})},5880:function(e,t){e.exports=Vuex},"58a4":function(e,t,n){"use strict";n("ee74")},"5f59":function(e,t,n){"use strict";n("48ad")},"5f72":function(e,t){e.exports=ELEMENT},6389:function(e,t){e.exports=VueRouter},6861:function(e,t,n){},"71f6":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n("ac6a"),n("456d");var r=n("b775");function a(e,t){e=e||{};var n=Object.keys(e);return n.forEach((function(n){var a=e[n];"string"===typeof a&&(a={url:a}),a.url="".concat(t).concat(a.url),e[n]=function(e,t){return Object(r["a"])(a,e,t)}})),e}},"87d1":function(e,t,n){"use strict";n("f8f5")},"88ed":function(e,t,n){},"8bbf":function(e,t){e.exports=Vue},"903e":function(e,t,n){e.exports=n.p+"img/w-gic-card.d0646eb3.svg"},a18c:function(e,t,n){"use strict";var r=n("6389"),a=n.n(r),i=n("d046"),c=new a.a({mode:"history",base:"/welfare/",routes:i["a"],scrollBehavior:function(e,t,n){if(n&&e.meta.keepAlive)return n;document.documentElement.scrollTop=0}});t["a"]=c},b775:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));n("a481"),n("ac6a"),n("456d");var r=n("cebe"),a=n.n(r),i=n("4328"),c=n.n(i),o=n("5f72"),s=n("f121");a.a.defaults.baseURL=s["e"];var u=function(e,t,n){if(t=Object.assign({},t),e=Object.assign({},e),e.rest){delete e.rest;var r=e.url;Object.keys(n).map((function(e){r=r.replace("{".concat(e,"}"),n[e])})),e.url=r}var i=void 0===e.alertError||e.alertError;delete e.alertError;var u={url:"",params:"",data:"",method:"get",useFormData:!1,useIntercept:!0,headers:{}};if(u=Object.assign(u,e),e.export)u.params=t.listParams,u.data=t.excel;else if(e.file){var l=new FormData;Object.keys(t).forEach((function(e){l.append(e,t[e])})),u.data=l}else switch(u.useFormData&&(t=c.a.stringify(t)),u.method.toLowerCase()){case"get":u.params=t;break;case"post":u.data=t;break;default:u.data=t;break}return new Promise((function(e,t){a()(u).then((function(n){var r=n.data;if("6666"==r.code){var a=window.location.origin;(a.indexOf("localhost")>=0||a.indexOf("192.168")>=0)&&(a="https://four.gicdev.com"),window.location.href="".concat(a,"/damo-system/login")}if(u.useIntercept&&r.code!=s["a"])return i&&Object(o["Message"])({message:(r.message||"数据加载失败").slice(0,300),type:"warning"}),t(r);e(r)})).catch((function(e){Object(o["Message"])({message:(e.response.data.message||"数据加载失败").slice(0,300),type:"warning"}),t(e)}))}))}},bf71:function(e,t,n){e.exports=n.p+"img/more.1d0456f8.svg"},cebe:function(e,t){e.exports=axios},cf45:function(e,t,n){"use strict";n.d(t,"e",(function(){return f})),n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return g})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return b}));n("8e6e"),n("ac6a"),n("456d"),n("c5f6"),n("20d6"),n("28a5"),n("6762"),n("2fdb");var r=n("ade3"),a=n("8bbf"),i=n.n(a),c=n("4360"),o=n("f121"),s=n("4328"),u=n.n(s);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=o["c"],f=function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},c=a.title,o=void 0===c?"":c,s=a.confirmButtonText,u=void 0===s?"确认":s,l=a.cancelButtonText,p=void 0===l?"取消":l;i.a.prototype.$confirm(e,o,{confirmButtonText:u,cancelButtonText:p}).then((function(){t&&t(n)})).catch((function(e){r&&r(d(d({},n),{},{action:e}))}))},h=function(e){var t=e.config,n=e.listParams,r=e.fieldList,a=e.path,i=e.pathName,o=e.query,s={},l=d({},t),f=r.filter((function(e){return t.fields.includes(e.value)}))||[],h=u.a.stringify(o);return l.sensKeys=f.filter((function(e){return e.sensKey})).map((function(e){return e.value})),l.fieldKeys=f.map((function(e){return e.value})),l.fieldNames=f.map((function(e){return e.label})),l.dataUrl="".concat(p.api,"/welfare").concat(a).concat(h?"?"+h:""),l.dataContent=i,delete l.fields,s.excel=l,"wechat"==c["a"].state.project?n.wechatId=c["a"].state.currentAreaId:n.memberCardId=c["a"].state.currentAreaId,s.listParams=n,s},g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"get",n=arguments.length>2?arguments[2]:void 0,r=window.localStorage.getItem("welfare-ct-id")||"{}";if(r=JSON.parse(r),"get"===t)return r[e];"set"===t&&(r[e]=n,window.localStorage.setItem("welfare-ct-id",JSON.stringify(r)))},m=function(e,t){var n=e?new Date(e):new Date;return 1==t&&(n.setHours(0),n.setMinutes(0),n.setSeconds(0),n.setMilliseconds(0)),2==t&&(n.setHours(23),n.setMinutes(59),n.setSeconds(59),n.setMilliseconds(999)),n.getTime()},b=function(e){isNaN(e)||(e=Number(e));var t=new Date(e),n=t.getHours();n<10&&(n="0"+n);var r=t.getMinutes();r<10&&(r="0"+r);var a=t.getSeconds();return a<10&&(a="0"+a),n+":"+r+":"+a}},d046:function(e,t,n){"use strict";n.d(t,"a",(function(){return H}));var r=n("2909"),a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("dm-layout",{class:{"hide-left":!e.showLeft},attrs:{"is-app":"","first-menu-code":e.menuCode,"force-show-aside":e.showLeft}},[n("div",{attrs:{slot:"maside"},slot:"maside"},[e.project.includes("card")?n("el-dropdown",{staticClass:"m-title",attrs:{"hide-on-click":!1}},[n("div",{staticClass:"el-dropdown-link"},[n("div",[n("p",{staticClass:"ellipsis"},[e._v(e._s(e.currentAreaName||"未选择域"))]),n("i",{staticClass:"el-icon-arrow-down el-icon--right"})])]),n("el-dropdown-menu",{staticClass:"m-title-menu",attrs:{slot:"dropdown"},slot:"dropdown"},e._l(e.areaSubList,(function(t,r){return n("el-dropdown-item",{key:t.areaId+"-"+r,class:{checked:t.areaId===e.currentAreaId}},[n("dl",{on:{click:function(n){return e.setCurrentApp(t)}}},[n("dd",[n("span",[e._v(e._s(t.areaName))]),t.deleteFlag?n("el-tag",{staticClass:"ml5",attrs:{effect:"plain",type:"info"}},[e._v("已删除")]):e._e()],1)]),n("i",{staticClass:"el-icon-check select-icon"})])})),1)],1):e._e(),n("aside-menu",{ref:"asideMenu"})],1),n("div",{attrs:{slot:"bread"},slot:"bread"},[e.appListVisible&&0!==e.appList.length?n("div",{staticClass:"app-list__wrapper",staticStyle:{position:"absolute"}},[n("span",[e._v("当前福利支持以下应用使用:")]),n("ul",{staticClass:"app-list"},e._l(e.appList,(function(t,r){return n("li",{key:r,on:{click:function(n){return e.goLink(t)}}},[n("img",{attrs:{src:t.iconUrl,draggable:"false"}}),n("span",{staticClass:"ellipsis-100",attrs:{title:t.appName}},[e._v(e._s(t.appName))])])})),0)]):e._e(),n("app-info",{attrs:{code:e.moduleCode}})],1)]),n("el-dialog",{attrs:{visible:e.noAreaWarnVisible&&e.project.includes("card"),"append-to-body":"",width:"500px","close-on-press-escape":!1,"close-on-click-modal":!0,"show-close":!1,"lock-scroll":""}},[n("div",{staticClass:"text-center"},[n("p",{staticClass:"gray02 fz16",staticStyle:{display:"flex","justify-content":"center","align-items":"center"}},[n("i",{staticClass:"el-icon-warning fz30 mr5 warning-color"}),e._v("暂无资源权限")]),n("p",{staticClass:"fz13 gray03 mt20"},[e._v("没有资源权限,如:可操作的会员卡、服务号等,请联系管理员进行配置")])]),n("span",{attrs:{slot:"footer"},slot:"footer"},[n("div",{staticClass:"text-center pb20"},[n("el-button",{on:{click:function(t){return e.$router.push("/index")}}},[e._v("返回首页")])],1)])]),n("switch-page")],1)},i=[],c=(n("8e6e"),n("ac6a"),n("456d"),n("ade3")),o=(n("6762"),n("2fdb"),n("96cf"),n("1da1")),s=(n("28a5"),n("5880")),u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-menu",{ref:"asideMenu",attrs:{"default-active":e.activeIndex},on:{select:e.handleSelect}},[e._l(e.menu,(function(t){return[0!=t.isShow&&Array.isArray(t.children)&&t.children.filter((function(e){return e.isShow})).length>0?n("el-submenu",{key:t.menuId,attrs:{"popper-class":"dm-menu-submenu",index:""+t.menuId}},[n("template",{slot:"title"},[n("i",{class:["menu-icon",t.iconUrl]}),n("span",{staticClass:"menu-text"},[e._v(e._s(t.menuName))])]),e._l(t.children,(function(r){return[0!=r.isShow?n("el-menu-item",{key:r.menuId,attrs:{index:t.menuId+"-"+r.menuId}},[n("i",{class:["menu-icon",r.iconUrl]}),n("span",{staticClass:"menu-text",attrs:{slot:"title"},slot:"title"},[e._v(e._s(r.menuName))])]):e._e()]}))],2):0!=t.isShow?n("el-menu-item",{key:t.menuId,attrs:{index:""+t.menuId}},[n("i",{class:["menu-icon",t.iconUrl]}),n("span",{staticClass:"menu-text",attrs:{slot:"title"},slot:"title"},[e._v(e._s(t.menuName))])]):e._e()]}))],2)},l=[];n("7514"),n("a481");function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){Object(c["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={name:"AsideMenu",data:function(){return{menuFlat:[],parentdIds:[],activeIndex:""}},methods:{flat:function(e){var t=this;e.forEach((function(e){t.menuFlat.push(e),Array.isArray(e.children)&&e.children.length>0&&t.flat(e.children)}))},handleSelect:function(e){var t=this,n=window.location.pathname;n=n.split("/")[1],n="/".concat(n);var r=e.split("-"),a=r.length>1?r[1]:r[0],i=this.menuFlat.filter((function(e){return e.menuId==a}))[0]||{},c=i.menuUrl||"",o=i.projectUrlForWeb;if(r.length>1){var s=i.children||[];s[0]&&s[0].menuUrl&&(c=s[0].menuUrl,o=s[0].projectUrlForWeb)}this.menu.map((function(e){Array.isArray(e.children)&&e.children.length>0&&e.menuId!=r[0]&&e.children.some((function(e){return e.isShow}))&&t.$refs.asideMenu.close("".concat(e.menuId))})),n===o?this.$router.push(c.replace("/#","")):window.location.href="".concat(o).concat(c)},getActiveIndex:function(){var e=this,t=this.menu.find((function(t){if(!t.children||!t.children.filter((function(e){return e.isShow})).length)return t.menuUrl===e.$route.path||t.menuUrl===e.$route.meta.path;var n=t.children.find((function(t){return t.menuUrl===e.$route.path||t.menuUrl===e.$route.meta.path}));return!!n||void 0}));if(t)if(t.children&&t.children.filter((function(e){return e.isShow})).length){var n=t.children.find((function(t){return t.menuUrl===e.$route.path||t.menuUrl===e.$route.meta.path}));this.activeIndex="".concat(t.menuId,"-").concat(n.menuId)}else this.activeIndex="".concat(t.menuId)}},computed:p(p({},Object(s["mapState"])(["routePath","menuCode","project"])),{},{menu:function(){var e=this.project;if(""==e||"index"==e)return[];var t=e.includes("card")?"card":"gift",n=this.routePath.filter((function(e){return e.menuCode.includes(t)}));return n||[]}}),watch:{menu:{handler:function(){this.flat(this.menu.slice()),this.getActiveIndex()},deep:!0,immediate:!0},"$route.path":{handler:function(){this.getActiveIndex()}}}},h=f,g=n("2877"),m=Object(g["a"])(h,u,l,!1,null,null,null),b=m.exports,v=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.visible?r("div",{staticClass:"switch-page"},[r("el-popover",{attrs:{placement:"left-end","open-delay":"200",width:"143",trigger:"hover","popper-class":"sw-page-pop"}},[r("div",[r("ul",{staticClass:"toggle"},[r("li",{directives:[{name:"show",rawName:"v-show",value:!e.project.includes("gift"),expression:"!project.includes('gift')"}]},[r("router-link",{attrs:{to:"/gift-manage/real-gift"}},[r("img",{attrs:{src:n("4c57"),width:"16"}}),e._v("礼品")])],1),r("li",{directives:[{name:"show",rawName:"v-show",value:!e.project.includes("card"),expression:"!project.includes('card')"}]},[r("router-link",{attrs:{to:"/gic-card/list"}},[r("img",{attrs:{src:n("903e"),width:"16"}}),e._v("卡券")])],1)])]),r("div",{staticClass:"s-icon mb10",attrs:{slot:"reference"},slot:"reference"},[r("img",{attrs:{src:n("bf71"),width:"30",height:"30"}})])]),r("transition",{attrs:{name:"slide-fade"}},[e.showCanUseApp?r("div",{staticClass:"page-pop"},[r("div",{staticClass:"pl15",staticStyle:{position:"relative"}},[r("div",{staticClass:"text-right",staticStyle:{position:"absolute",right:"0"}},[r("i",{staticClass:"el-dialog__close el-icon el-icon-close mr10 cursor",on:{click:e.close}})]),r("div",{staticClass:"tip-title"},[e._v("提示")]),r("div",{staticClass:"tips"},[e._v("当前福利支持在以下应用使用")]),r("ul",{staticClass:"app-list"},[e._l(e.appList,(function(t,n){return r("li",{key:n,on:{click:function(n){return e.goLink(t)}}},[r("div",[r("img",{attrs:{src:t.iconUrl,draggable:"false"}}),r("p",{staticClass:"ellipsis-100",attrs:{title:t.appName}},[e._v(e._s(t.appName))])])])})),0==e.appList.length?r("div",{staticClass:"empty_block"}):e._e()],2)])]):e._e()]),r("el-popover",{attrs:{"open-delay":"200",placement:"left-end",width:"365",trigger:"hover","popper-class":"sw-page-pop"}},[r("div",{staticClass:"pl15"},[r("div",{staticClass:"tips"},[e._v("当前福利支持在以下应用使用")]),r("ul",{staticClass:"app-list"},[e._l(e.appList,(function(t,n){return r("li",{key:n,on:{click:function(n){return e.goLink(t)}}},[r("div",[r("img",{attrs:{src:t.iconUrl,draggable:"false"}}),r("p",{staticClass:"ellipsis-100",attrs:{title:t.appName}},[e._v(e._s(t.appName))])])])})),0==e.appList.length?r("div",{staticClass:"empty_block"}):e._e()],2)]),r("div",{staticClass:"s-icon",attrs:{slot:"reference"},slot:"reference"},[r("img",{attrs:{src:n("0ae1"),width:"30",height:"30"}})])])],1):e._e()},y=[],k=n("2934"),w=k["a"].getWelfareAppList,O={name:"SwitchPage",data:function(){return{showCanUseApp:!1,appList:[]}},mounted:function(){this.getAppList()},methods:{close:function(){this.showCanUseApp=!1,this.$store.commit("updateShowCornerCanUseApp",!1)},getAppList:function(){var e=this;w().then((function(t){e.appList=t.result||[]}))},goLink:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:localStorage.setItem("appApplicationId",t.applicationId),window.open(t.authorizeUrl,"_blank","noopener");case 2:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},computed:{project:function(){return this.$store.state.project},showCornerCanUseApp:function(){return this.$store.state.showCornerCanUseApp},visible:function(){var e=this,t=["/gic-card/list","/card-package/list","/gift-manage/real-gift","/gift-manage/virtual-gift"];return t=[],t.some((function(t){return t.indexOf(e.$route.path)>-1}))}},watch:{showCornerCanUseApp:function(e){e&&(this.showCanUseApp=!0)}}},j=O,C=(n("5f59"),n("87d1"),Object(g["a"])(j,v,y,!1,null,"73c793a0",null)),A=C.exports,S=n("ed08"),x=n("cf45");function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){Object(c["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var L=k["a"].getSubappList,D=k["a"].getWelfareAppList,N={name:"Layout",components:{asideMenu:b,switchPage:A},data:function(){return{noAreaWarnVisible:!1,appList:[]}},mounted:function(){this.init(),this.getAppList()},methods:{goLink:function(e){localStorage.setItem("appApplicationId",e.applicationId),window.open(e.authorizeUrl,"_blank","noopener")},getAppList:function(){var e=this;D().then((function(t){e.appList=t.result||[]}))},handleSubApp:function(e){var t=e.type,n=e.areaId,r=e.reason;this.addSubResVisible=!0,this.$refs.addSubRes.setData({type:t,areaId:n,reason:r})},addSubApp:function(){this.subAppDialogVisible=!0},setCurrentApp:function(e){var t=e.areaId;this.$router.push("/"+this.$route.path.split("/")[1]),this.$store.commit("setCurrentSubApp",t)},init:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t,n,r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.moduleCode,e.next=3,L();case 3:if(n=e.sent,this.$store.commit("setSubAppList",n.result.result||[]),!this.areaSubList.length){e.next=20;break}if(e.prev=6,r=this.$route.query.areaId||"",!r||!this.areaSubList.map((function(e){return e.areaId})).includes(r)){e.next=11;break}return this.$store.commit("setCurrentSubApp",r),e.abrupt("return");case 11:a=Object(x["b"])(t),a&&this.areaSubList.some((function(e){return e.areaId==a}))?this.$store.commit("setCurrentSubApp",a):this.$store.commit("setCurrentSubApp",this.areaSubList[0].areaId),e.next=18;break;case 15:e.prev=15,e.t0=e["catch"](6),this.$store.commit("setCurrentSubApp",this.areaSubList[0].areaId);case 18:e.next=21;break;case 20:this.noAreaWarnVisible=!0;case 21:case"end":return e.stop()}}),e,this,[[6,15]])})));function t(){return e.apply(this,arguments)}return t}()},computed:P(P({},Object(s["mapState"])(["default_areaId","currentAreaName","currentAreaId","areaSubList","project","menu","extraHideLeft","appInfo","lock","moduleCode"])),{},{showLeft:function(){return!(""==this.project||"index"==this.project)},appListVisible:function(){var e=this,t=["/gic-card/list","/card-package/list","/gift-manage/real-gift","/gift-manage/virtual-gift"];return t.some((function(t){return t.indexOf(e.$route.path)>-1}))}}),watch:{currentAreaId:function(e,t){Object(S["h"])()}}},E=N,M=(n("f71d"),Object(g["a"])(E,a,i,!1,null,"06977648",null)),U=M.exports,R=[{path:"/gic-card",component:U,redirect:"/gic-card/list",children:[{path:"list",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"ea75"))}},{path:"member-get",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"3d96"))},meta:{path:"/gic-card/list"}},{path:"stock-list",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"7e3b"))},meta:{path:"/gic-card/list"}},{path:"stock-upload-list",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"ac7c"))}},{path:"send-list",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"6106"))}},{path:"add",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"b2c7"))},meta:{type:"add",path:"/gic-card/list"}},{path:"edit",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"b2c7"))},meta:{type:"edit",path:"/gic-card/list"}},{path:"copy",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"b2c7"))},meta:{type:"copy",path:"/gic-card/list"}},{path:"info",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"903ea"))},meta:{type:"info",path:"/gic-card/list"}},{path:"info-edit",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"903ea"))},meta:{type:"edit",path:"/gic-card/list"}},{path:"destory-list",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"e2d0"))}}]}],z=[{path:"/card-package",component:U,redirect:"/card-package/list",children:[{path:"list",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("card-package")]).then(n.bind(null,"3c64"))}},{path:"add",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("card-package")]).then(n.bind(null,"0c0e"))},meta:{type:"add",path:"/card-package/list"}},{path:"edit",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("card-package")]).then(n.bind(null,"0c0e"))},meta:{type:"edit",path:"/card-package/list"}},{path:"send-list",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("card-package")]).then(n.bind(null,"b79b"))}},{path:"stock-list",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("card-package")]).then(n.bind(null,"af2d"))},meta:{path:"/card-package/list"}}]}],B=[{path:"/gift-manage",component:U,redirect:"/gift-manage/real-gift",children:[{path:"real-gift",component:function(){return n.e("chunk-256597ba").then(n.bind(null,"e6de"))}},{path:"real-gift-detail",component:function(){return n.e("chunk-0beca480").then(n.bind(null,"ffec"))},meta:{path:"/gift-manage/real-gift"}},{path:"real-stock-list",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"e9f5"))},meta:{path:"/gift-manage/list"}}]}],F=[{path:"/gift-manage",component:U,redirect:"/gift-manage/virtual-gift",children:[{path:"virtual-gift",component:function(){return n.e("chunk-538ce912").then(n.bind(null,"f011"))}},{path:"virtual-gift-detail",component:function(){return n.e("chunk-62df7e69").then(n.bind(null,"a0f2"))},meta:{path:"/gift-manage/virtual-gift"}},{path:"virtual-stock-list",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"1672"))},meta:{path:"/gift-manage/list"}}]}],G=[{path:"/gift-manage",component:U,redirect:"/gift-manage/stock-record",children:[{path:"stock-record",component:function(){return n.e("chunk-447f9844").then(n.bind(null,"bf73"))}}]},{path:"/setting",component:U,redirect:"/setting/sales-return-setting",children:[{path:"sales-return-setting",component:function(){return n.e("chunk-6287d3af").then(n.bind(null,"fa56"))}},{path:"address-lib-list",component:function(){return n.e("chunk-0d4ebdfa").then(n.bind(null,"48c3"))}},{path:"address-lib-add",component:function(){return n.e("chunk-001d874e").then(n.bind(null,"f283"))},meta:{type:"add",path:"/setting/address-lib-list"}},{path:"address-lib-edit",component:function(){return n.e("chunk-001d874e").then(n.bind(null,"f283"))},meta:{type:"edit",path:"/setting/address-lib-list"}},{path:"pickup-list",component:function(){return n.e("chunk-593e752c").then(n.bind(null,"e54f"))}},{path:"pickup-add",component:function(){return n.e("chunk-5e077bbb").then(n.bind(null,"1420"))},meta:{type:"add",path:"/setting/pickup-list"}},{path:"pickup-edit",component:function(){return n.e("chunk-5e077bbb").then(n.bind(null,"1420"))},meta:{type:"edit",path:"/setting/pickup-list"}}]},{path:"/card-setting",component:U,redirect:"/setting/sales-return-setting",children:[{path:"custom",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"a0f4"))}}]}],V=[{path:"/gift-performance",component:U,redirect:"//gift-performance/delivery",children:[{path:"delivery",component:function(){return n.e("chunk-a7320cc8").then(n.bind(null,"1e5b"))}},{path:"delivery-detail",component:function(){return n.e("chunk-7b01ce79").then(n.bind(null,"de2d"))},meta:{path:"/gift-performance/delivery"}},{path:"refund",component:function(){return n.e("chunk-0a638264").then(n.bind(null,"7211"))}},{path:"record",component:function(){return n.e("chunk-db6a8f34").then(n.bind(null,"0035"))}}]}],T=[].concat(Object(r["a"])(R),Object(r["a"])(z),Object(r["a"])(B),Object(r["a"])(F),Object(r["a"])(G),Object(r["a"])(V)),Y=[{path:"/",component:U,redirect:"/gic-card/list",children:[{path:"/index",component:function(){return n.e("chunk-247c4cc7").then(n.bind(null,"1e4b"))}}]},{path:"*",redirect:"/index"}],H=[].concat(Y,Object(r["a"])(T))},ed08:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"g",(function(){return p})),n.d(t,"h",(function(){return f})),n.d(t,"c",(function(){return h})),n.d(t,"f",(function(){return g}));n("8e6e"),n("2909"),n("5df3"),n("4f7f"),n("34ef"),n("28a5"),n("386d"),n("4917"),n("3b2b");var r=n("ade3"),a=(n("53ca"),n("456d"),n("ac6a"),n("a481"),n("6b54"),n("a18c"));function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var o=function(e,t){var n,r=t||200;return function(){var t=this,a=arguments;n&&clearTimeout(n),n=setTimeout((function(){n=null,e.apply(t,a)}),r)}},s=function(e,t){var n=null,r=new Date;return function(){var a=new Date,i=a-r,c=arguments,o=this;i>=t?(n&&clearTimeout(n),e.apply(o,c),r=a):n||(n=setTimeout((function(){e.apply(o,c),r=new Date}),t-i))}},u=function(e){return e*=1,e<10?"0"+e:e},l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd-HH-mm-ss",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e)return n?{y:"",h:""}:"";"number"!==typeof e&&"string"!==typeof e||(e=new Date(e));try{if("string"===typeof e)return n?{y:e,h:""}:e;var r=t.indexOf("yyyy")>=0?u(e.getFullYear()):"",a=t.indexOf("MM")>=0?"-"+u(e.getMonth()+1):"",i=t.indexOf("dd")>=0?"-"+u(e.getDate()):"",c=t.indexOf("HH")>=0?" "+u(e.getHours()):"",o=t.indexOf("mm")>=0?":"+u(e.getMinutes()):"",s=t.indexOf("ss")>=0?":"+u(e.getSeconds()):"";return n?{y:r+a+i,h:c+o+s}:r+a+i+c+o+s}catch(l){return n?{y:e,h:""}:e}},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;try{t>0&&(e=e.toFixed(t))}catch(a){return e}var n=e.toString(),r=n.indexOf(".")>-1?/(\d)(?=(\d{3})+\.)/g:/(\d)(?=(?:\d{3})+$)/g;return n.replace(r,"$1,")},p=function(e){return e?'<p class="cell-time">'.concat(l(e,"yyyy-MM-dd-HH-mm-ss",!0).y,'</p>\n <p class="cell-time">').concat(l(e,"yyyy-MM-dd-HH-mm-ss",!0).h,"</p>\n "):"--"},f=function(){var e=a["a"].app._route,t=c({},e.query);delete t.areaId;var n=c(c({},t),{},{timestamp:(new Date).getTime()});a["a"].push({path:e.fullPath,query:n})},h=function(e){return JSON.parse(JSON.stringify(e))},g=function(e){return""===e||null==e}},ee74:function(e,t,n){},f121:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return o})),n.d(t,"f",(function(){return s}));var r="0000";function a(){var e=window.location.origin;return(e.indexOf("localhost")>=0||e.indexOf("192.168")>=0)&&(e="https://four.gicdev.com"),e}t["c"]={api:window.location.protocol+"//"+window.location.host||""};var i=a(),c=("four.gicdev.com"===window.location.host||window.location.origin,"/api-marketing"),o="/gic-auth-web",s="/api-welfare"},f71d:function(e,t,n){"use strict";n("ffc5")},f8f5:function(e,t,n){},ffc5:function(e,t,n){}}); (function(e){function t(t){for(var r,a,o=t[0],s=t[1],u=t[2],l=0,d=[];l<o.length;l++)a=o[l],Object.prototype.hasOwnProperty.call(i,a)&&i[a]&&d.push(i[a][0]),i[a]=0;for(r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r]);p&&p(t);while(d.length)d.shift()();return c.push.apply(c,u||[]),n()}function n(){for(var e,t=0;t<c.length;t++){for(var n=c[t],r=!0,a=1;a<n.length;a++){var o=n[a];0!==i[o]&&(r=!1)}r&&(c.splice(t--,1),e=s(s.s=n[0]))}return e}var r={},a={app:0},i={app:0},c=[];function o(e){return s.p+"js/"+({"card-package~gic-card":"card-package~gic-card","card-package":"card-package","gic-card":"gic-card"}[e]||e)+"."+{"card-package~gic-card":"a6bcd1b5","card-package":"d590f9e0","gic-card":"b591f626","chunk-001d874e":"36e2e9fb","chunk-0a638264":"a774293e","chunk-0beca480":"0bc15a4c","chunk-0d4ebdfa":"b7f84933","chunk-247c4cc7":"c862e6ef","chunk-256597ba":"298364a2","chunk-447f9844":"483b1bc9","chunk-538ce912":"aded1175","chunk-593e752c":"ac0fc2e4","chunk-5e077bbb":"55ea07ed","chunk-6287d3af":"815a5a4b","chunk-62df7e69":"370d94b4","chunk-7b01ce79":"39f06618","chunk-a7320cc8":"b97617d4","chunk-db6a8f34":"c80271f2"}[e]+".js"}function s(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,s),n.l=!0,n.exports}s.e=function(e){var t=[],n={"card-package~gic-card":1,"card-package":1,"gic-card":1,"chunk-001d874e":1,"chunk-0a638264":1,"chunk-0beca480":1,"chunk-247c4cc7":1,"chunk-256597ba":1,"chunk-447f9844":1,"chunk-538ce912":1,"chunk-593e752c":1,"chunk-5e077bbb":1,"chunk-62df7e69":1,"chunk-7b01ce79":1,"chunk-a7320cc8":1};a[e]?t.push(a[e]):0!==a[e]&&n[e]&&t.push(a[e]=new Promise((function(t,n){for(var r="css/"+({"card-package~gic-card":"card-package~gic-card","card-package":"card-package","gic-card":"gic-card"}[e]||e)+"."+{"card-package~gic-card":"06e52b24","card-package":"57482441","gic-card":"29bbb42d","chunk-001d874e":"04a03d4f","chunk-0a638264":"90df7b8c","chunk-0beca480":"ad69aaca","chunk-0d4ebdfa":"31d6cfe0","chunk-247c4cc7":"ad01b3e2","chunk-256597ba":"fa1d3569","chunk-447f9844":"f11404c0","chunk-538ce912":"ee4b8a2b","chunk-593e752c":"8f300845","chunk-5e077bbb":"282cdb77","chunk-6287d3af":"31d6cfe0","chunk-62df7e69":"5ce8e788","chunk-7b01ce79":"3d1e4d18","chunk-a7320cc8":"a794f702","chunk-db6a8f34":"31d6cfe0"}[e]+".css",i=s.p+r,c=document.getElementsByTagName("link"),o=0;o<c.length;o++){var u=c[o],l=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(l===r||l===i))return t()}var d=document.getElementsByTagName("style");for(o=0;o<d.length;o++){u=d[o],l=u.getAttribute("data-href");if(l===r||l===i)return t()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.onload=t,p.onerror=function(t){var r=t&&t.target&&t.target.src||i,c=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=r,delete a[e],p.parentNode.removeChild(p),n(c)},p.href=i;var f=document.getElementsByTagName("head")[0];f.appendChild(p)})).then((function(){a[e]=0})));var r=i[e];if(0!==r)if(r)t.push(r[2]);else{var c=new Promise((function(t,n){r=i[e]=[t,n]}));t.push(r[2]=c);var u,l=document.createElement("script");l.charset="utf-8",l.timeout=120,s.nc&&l.setAttribute("nonce",s.nc),l.src=o(e);var d=new Error;u=function(t){l.onerror=l.onload=null,clearTimeout(p);var n=i[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;d.message="Loading chunk "+e+" failed.\n("+r+": "+a+")",d.name="ChunkLoadError",d.type=r,d.request=a,n[1](d)}i[e]=void 0}};var p=setTimeout((function(){u({type:"timeout",target:l})}),12e4);l.onerror=l.onload=u,document.head.appendChild(l)}return Promise.all(t)},s.m=e,s.c=r,s.d=function(e,t,n){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},s.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)s.d(n,r,function(t){return e[t]}.bind(null,r));return n},s.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="/welfare/",s.oe=function(e){throw e};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],l=u.push.bind(u);u.push=t,u=u.slice();for(var d=0;d<u.length;d++)t(u[d]);var p=l;c.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"0ae1":function(e,t,n){e.exports=n.p+"img/app.ab4c23ff.svg"},"1f99":function(e,t,n){},2072:function(e,t,n){"use strict";n("8e6e"),n("ac6a"),n("456d");var r=n("ade3"),a=n("71f6"),i=n("f121");function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s={getDelivery:{url:"/delivery-order/get-page-list",method:"post"},getPerformanceList:{url:"/order/get-page-list",method:"post"},getApplicationList:"/stock/application-list",getRefund:{url:"/refund-order/get-page-list",method:"post"},exportRefundData:{url:"/refund-order/order-export",method:"post"},exportDeliveryData:{url:"/delivery-order/order-export",method:"post"},exportPerformanceData:{url:"/order/order-export",method:"post"},getLogisticsInfo:{url:"/logistics/get-logistics-info",method:"post"},handleRefundOrder:{url:"/refund-order/process-refund-order",method:"post",useFormData:!0},getDeliveryDetail:{url:"/delivery-order/get-delivery-detail",method:"post",useFormData:!0},delivering:{url:"/delivery-order/delivering",method:"post"},closeOrder:{url:"/delivery-order/close",method:"post",useFormData:!0},getLogisticsCompany:"/logistics/get-company"};s=Object(a["a"])(s,i["f"]),t["a"]=o({},s)},2934:function(e,t,n){"use strict";n.d(t,"b",(function(){return d}));n("8e6e"),n("ac6a"),n("456d");var r=n("ade3"),a=n("71f6"),i=n("f121");function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s={loginUserMenu:"/login-user-menu",loginUserMenuOfApp:"/login-user-menu-of-app"},u={getSubappList:"/area/member-cards",getAppList:"/stock/application-list",getStockList:{url:"/stock/stock-list",method:"post",useFormData:!0},getStockActivityStatistics:"/stock/activity-statistics",getRelationId:"/gift/get-gift-id",virtualUploadLog:{url:"/gift/vir-card-log-page",method:"post"},virtualErrorPage:"/gift/vir-card-error-page",getWelfareAppList:"/gift/get-welfare-application-list"},l={getAppInfo:{url:"/enterprise-serve-info",alertError:!1},getMallShopList:"/outer/all-mall-shop",activityList:"/activity/list-marketing-page",getActivityInfo:"/activity/get-marketing-activity"};u=Object(a["a"])(u,i["f"]),s=Object(a["a"])(s,i["b"]),l=Object(a["a"])(l,i["d"]),t["a"]=o(o(o({},s),l),u);var d=i["d"]+"/upload/upload-image"},4360:function(e,t,n){"use strict";n("96cf");var r=n("1da1"),a=(n("7514"),n("20d6"),n("8bbf")),i=n.n(a),c=n("5880"),o=n.n(c),s=n("cf45");i.a.use(o.a),t["a"]=new o.a.Store({state:{logisticsCompany:[],lock:!1,loading:!1,defaultAreaId:"",currentAreaName:"",currentAreaId:"",deleteFlag:!1,areaSubList:[],moduleCode:"welfare",project:"",menu:{},extraHideLeft:"",mainHeight:0,routePath:[],showCornerCanUseApp:!1},mutations:{setLogisticsCompany:function(e,t){e.logisticsCompany=t},updateShowCornerCanUseApp:function(e,t){e.showCornerCanUseApp=t},updateRoutePath:function(e,t){e.routePath=t},updateMainHeight:function(e,t){e.mainHeight=t},updateLock:function(e,t){e.lock=t},updateAreaName:function(e,t){var n=t.areaId,r=t.areaName,a=e.areaSubList.findIndex((function(e){return e.areaId===n}));-1!==a&&(e.areaSubList[a].areaName=r,e.currentAreaId===n&&(e.currentAreaName=r))},setSubAppList:function(e,t){e.areaSubList=t},setDefaultSubAppId:function(e,t){},setCurrentSubApp:function(e,t){var n=e.areaSubList.find((function(e){return e.areaId===t}))||{};Object(s["b"])(e.moduleCode,"set",t),e.currentAreaId=n.areaId||"",e.currentAreaName=n.areaName||"",e.deleteFlag=n.deleteFlag||!1},setProject:function(e,t){e.project=t||""},updateExtraHideLeft:function(e,t){e.extraHideLeft=t||""}},actions:{setDefaultAppId:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.commit("setDefaultSubAppId",n);case 1:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}()},plugins:[]})},"48ad":function(e,t,n){},"4c57":function(e,t,n){e.exports=n.p+"img/w-real-gifts.a8edb5c6.svg"},"4df3":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAI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5ErkJggg=="},"56d7":function(e,t,n){"use strict";n.r(t);n("7f7f"),n("ac6a"),n("456d"),n("cadf"),n("551c"),n("f751"),n("097d"),n("1f99"),n("88ed"),n("6861");var r=n("5f72"),a=n("cebe"),i=n.n(a),c=n("8bbf"),o=n.n(c),s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dm-reset",attrs:{id:"app"}},[n("router-view")],1)},u=[],l=(n("28a5"),n("96cf"),n("1da1")),d=n("2072"),p=d["a"].getLogisticsCompany,f={name:"App",data:function(){return{isRouterAlive:!0}},mounted:function(){this.getLogisticsCompany(),this.$store.commit("updateMainHeight",document.body.offsetHeight-180)},methods:{getLogisticsCompany:function(){var e=Object(l["a"])(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:t=e.sent,n=t.result,this.$store.commit("setLogisticsCompany",n||[]);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},watch:{$route:{handler:function(e){e.path.split("/")[1]&&this.$store.commit("setProject",window.location.pathname.split("/")[2])},deep:!0,immediate:!0}}},h=f,g=n("2877"),m=Object(g["a"])(h,s,u,!1,null,null,null),b=m.exports,v=n("a18c"),y=n("d046"),k=(n("6c7b"),n("c5f6"),n("ed08")),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"¥",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=Number(e);return isNaN(a)?e:"".concat(r?t:"").concat(Object(k["d"])(a,n))},O={amountFormat:w},j={computed:{currentAreaId:function(){return this.$store.state.currentAreaId},currentAreaIds:function(){return this.$store.state.currentAreaId?[this.$store.state.currentAreaId]:[]},currentAreaDelete:function(){return this.$store.state.delete_flag}}},C=n("4360"),A=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("dm-perm-button",{attrs:{"perm-tip":e.permTip,"perm-tip-placement":e.permTipPlacement,size:e.size,type:e.type,plain:e.plain,round:e.round,loading:e.loading,disabled:e.disabled,icon:e.icon,autofocus:e.autofocus,"native-type":e.nativeType},nativeOn:{click:function(t){return e.handleClick(t)}}},[e._t("default")],2)},S=[],x={name:"MkButton",props:{effect:{type:String,default:"dark"},delayTimes:{type:Number,default:300},permTipPlacement:{type:String,default:"top"},size:String,type:String,plain:{type:Boolean,default:!1},round:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},icon:String,autofocus:{type:Boolean,default:!1},nativeType:{type:String,default:"button"},option:{type:Object,default:function(){return{}}}},data:function(){return{permTip:"",disabled:!1}},mounted:function(){return this.option.perm?(this.permTip="您无该操作权限,请联系超管!",void(this.disabled=!0)):this.option.deleteFlag?(this.disabled=!0,void(this.permTip=this.option.deleteRemark||"域已被删除")):void 0},methods:{handleClick:function(){this.disabled||this.$emit("click")}}},I=x,P=Object(g["a"])(I,A,S,!1,null,null,null),L=P.exports,D=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"member-info",style:"height:"+e.height+"px"},[r("dm-preview-img",{staticClass:"img",attrs:{img:e.memberImage||n("4df3"),width:e.width,height:e.height}}),r("p",{class:e.hidePhone?"pt10":""},[e._v(e._s(e.memberName||"--"))]),e.hidePhone?e._e():r("p",{class:e.memberPhone?"":"hide"},[e._v(e._s(e.showPhoneTip?"手机号码:":"")+e._s(e.memberPhone||"--"))])],1)},N=[],E={name:"Memberinfo",props:{memberName:{type:String},memberImage:{type:String},memberPhone:{type:String},showPhoneTip:{type:Boolean,default:!1},width:{type:[String,Number],default:40},height:{type:[String,Number],default:40},hidePhone:{type:Boolean,default:!1}},data:function(){return{}}},M=E,U=(n("58a4"),Object(g["a"])(M,D,N,!1,null,"6ab16bb4",null)),R=U.exports,z=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-image",{attrs:{src:e.src,fit:e.fit,lazy:e.lazy,"scroll-container":e.scrollContainer,"preview-src-list":e.previewSrcList,"z-index":e.zIndex},on:{click:e.viewClick},scopedSlots:e._u([{key:"error",fn:function(){return[e._t("error")]},proxy:!0}],null,!0)})},B=[],F={name:"DmElImageView",props:{src:String,fit:String,lazy:Boolean,scrollContainer:{},previewSrcList:{type:Array,default:function(){return[]}},zIndex:{type:Number,default:2e3}},methods:{viewClick:function(){this.$emit("click"),document.body.style=""}}},G=F,V=Object(g["a"])(G,z,B,!1,null,null,null),T=V.exports,Y={gicCardFormAdd:"gicCardFormAdd",gicCardFormCopy:"gicCardFormCopy",gicCardFormInfo:"gicCardFormInfo",gicCardFormEdit:"gicCardFormEdit",gicCardFormDel:"gicCardFormDel",gicCardGroupBtn:"gicCardGroupBtn",gicCardMemberGetExport:"gicCardMemberGetExport",gicCardGiveLogExport:"gicCardGiveLogExport",gicCardGroupSendForm:"gicCardGroupSendForm",gicCardGroupSendInfo:"gicCardGroupSendInfo",gicCardGroupSendInfoLog:"gicCardGroupSendInfoLog",gicCardStopGroupSend:"gicCardStopGroupSend",gicCardSyncStock:"gicCardSyncStock",gicCardDestory:"gicCardDestory",gicCardDestoryExport:"gicCardDestoryExport",gicAddPackage:"gicAddPackage",gicEditPackage:"gicEditPackage",gicDeletePackage:"gicDeletePackage",gicSyncStockPack:"gicSyncStockPack",gicAdjustStockPack:"gicAdjustStockPack",gicCardShelfLogExportBtn:"gicCardShelfLogExportBtn"},H=(n("a481"),n("5df3"),n("b775")),_="",Q=[],Z=[],W={},J=X();function X(){var e=window.location.origin;return(e.indexOf("localhost")>=0||e.indexOf("192.168")>=0)&&(e="https://four.gicdev.com"),e}function q(){return Object(H["a"])({url:"/gic-auth-web/get-login-user-info"})}function $(){var e=Object(H["a"])({url:"/gic-auth-web/login-user-menu"}).then((function(e){Z=te(e.result||[])})),t=Object(H["a"])({url:"/gic-auth-web/login-user-operation-item"}).then((function(e){W=ne(e.result||[])}));return Promise.all([e,t])}function K(e){return ee.apply(this,arguments)}function ee(){return ee=Object(l["a"])(regeneratorRuntime.mark((function e(t){var n,r,a,i,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n="",e.next=3,Object(H["a"])({url:"/gic-auth-web/get-app-by-code"},{menuCode:t}).then((function(e){n=e.result}));case 3:return r={menu:["/gic-auth-web/login-user-menu-of-app","/gic-auth-web/login-collaborator-menu-of-app"],opera:["/gic-auth-web/login-user-operation-item-of-app","/gic-auth-web/login-collaborator-operation-item"]},a=0,e.next=7,Object(H["a"])({url:"/application-center-web/business/cooperation-application/find-list"}).then((function(e){var t=e.result||[];t.some((function(e){return e.applicationId==n}))&&(a=1)}));case 7:return i=Object(H["a"])({url:r.menu[a]},{appId:n}).then((function(e){Z=te(e.result||[]),C["a"].commit("updateRoutePath",e.result?e.result[0].children:[])})),c=Object(H["a"])({url:r.opera[a]},{appId:n}).then((function(e){W=ne(e.result||[])})),e.abrupt("return",Promise.all([i,c]));case 10:case"end":return e.stop()}}),e)}))),ee.apply(this,arguments)}function te(e){var t=[];return e.forEach((function(e){e.projectUrlForWeb==_&&e.menuUrl&&t.push(e.menuUrl),Array.isArray(e.children)&&(t=t.concat(te(e.children)))})),t}function ne(e){var t={};return e.forEach((function(e){t[e.menuCode]=!0})),t}function re(e){var t=[];return e.forEach((function(e){Array.isArray(e.children)&&(t=t.concat(re(e.children))),t.push(e.path)})),t}function ae(e,t,n){var r=Z.some((function(t){return t.indexOf("/#")>=0?t=="/#".concat(e.path):t==e.path}));if(r)return Object.assign(i.a.defaults.headers.common,{route:e.path}),n();Q.some((function(t){return t==e.path}))||0==Z.length?window.location.href="".concat(J,"/damo-system/no-access"):(Object.assign(i.a.defaults.headers.common,{route:Z[0]}),n(Z[0]))}function ie(e){return!!W[e]}var ce=function(e){var t=e.projectPath,n=e.isApp,r=e.writeRoute,a=e.router,c=e.routes,s=e.createApp,u=e.menuCode,d=o.a.prototype.$loading({lock:!0,customClass:"medium"});_=t,window.addEventListener("load",Object(l["a"])(regeneratorRuntime.mark((function e(){var o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(o=window.location.pathname,-1!=o.indexOf("/login")){e.next=11;break}return e.next=4,q().then((function(e){var n=e.result||{},r=n.enterpriseId;Object.assign(i.a.defaults.headers.common,{sign:r,project:t.replace(/^\//,""),route:o.replace(t,"")})}));case 4:if(!n){e.next=9;break}return e.next=7,K(u);case 7:e.next=11;break;case 9:return e.next=11,$();case 11:Array.isArray(r)&&(Z=Z.concat(r)),Array.isArray(c)&&(Q=re(c)),a.beforeEach(ae),"function"==typeof s&&(d.close(),s());case 15:case"end":return e.stop()}}),e)}))))};i.a.defaults.withCredentials=!0,o.a.prototype.axios=i.a,o.a.config.productionTip=!1,Object.keys(O).map((function(e){return o.a.filter(e,O[e])})),o.a.mixin(j),o.a.component("mk-button",L),o.a.component(T.name,T),o.a.component("member-info",R),o.a.prototype.axios.interceptors.request.use((function(e){return e.headers["isControl"]=!0,e})),o.a.prototype.$tips=Object(k["b"])(r["Message"],1500),o.a.prototype.$itemCode=Y,o.a.prototype.$itemPerm=ie,o.a.config.devtools=!1,window.Promise.prototype.finally=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))},ce({router:v["a"],routes:y["a"],projectPath:"/welfare",writeRoute:["/index"],menuCode:"welfare",isApp:!0,createApp:function(){new o.a({router:v["a"],store:C["a"],render:function(e){return e(b)}}).$mount("#app")}})},5880:function(e,t){e.exports=Vuex},"58a4":function(e,t,n){"use strict";n("ee74")},"5f59":function(e,t,n){"use strict";n("48ad")},"5f72":function(e,t){e.exports=ELEMENT},6389:function(e,t){e.exports=VueRouter},6861:function(e,t,n){},"71f6":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n("ac6a"),n("456d");var r=n("b775");function a(e,t){e=e||{};var n=Object.keys(e);return n.forEach((function(n){var a=e[n];"string"===typeof a&&(a={url:a}),a.url="".concat(t).concat(a.url),e[n]=function(e,t){return Object(r["a"])(a,e,t)}})),e}},"87d1":function(e,t,n){"use strict";n("f8f5")},"88ed":function(e,t,n){},"8bbf":function(e,t){e.exports=Vue},"903e":function(e,t,n){e.exports=n.p+"img/w-gic-card.d0646eb3.svg"},a18c:function(e,t,n){"use strict";var r=n("6389"),a=n.n(r),i=n("d046"),c=new a.a({mode:"history",base:"/welfare/",routes:i["a"],scrollBehavior:function(e,t,n){if(n&&e.meta.keepAlive)return n;document.documentElement.scrollTop=0}});t["a"]=c},b775:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));n("a481"),n("ac6a"),n("456d");var r=n("cebe"),a=n.n(r),i=n("4328"),c=n.n(i),o=n("5f72"),s=n("f121");a.a.defaults.baseURL=s["e"];var u=function(e,t,n){if(t=Object.assign({},t),e=Object.assign({},e),e.rest){delete e.rest;var r=e.url;Object.keys(n).map((function(e){r=r.replace("{".concat(e,"}"),n[e])})),e.url=r}var i=void 0===e.alertError||e.alertError;delete e.alertError;var u={url:"",params:"",data:"",method:"get",useFormData:!1,useIntercept:!0,headers:{}};if(u=Object.assign(u,e),e.export)u.params=t.listParams,u.data=t.excel;else if(e.file){var l=new FormData;Object.keys(t).forEach((function(e){l.append(e,t[e])})),u.data=l}else switch(u.useFormData&&(t=c.a.stringify(t)),u.method.toLowerCase()){case"get":u.params=t;break;case"post":u.data=t;break;default:u.data=t;break}return new Promise((function(e,t){a()(u).then((function(n){var r=n.data;if("6666"==r.code){var a=window.location.origin;(a.indexOf("localhost")>=0||a.indexOf("192.168")>=0)&&(a="https://four.gicdev.com"),window.location.href="".concat(a,"/damo-system/login")}if(u.useIntercept&&r.code!=s["a"])return i&&Object(o["Message"])({message:(r.message||"数据加载失败").slice(0,300),type:"warning"}),t(r);e(r)})).catch((function(e){Object(o["Message"])({message:(e.response.data.message||"数据加载失败").slice(0,300),type:"warning"}),t(e)}))}))}},bf71:function(e,t,n){e.exports=n.p+"img/more.1d0456f8.svg"},cebe:function(e,t){e.exports=axios},cf45:function(e,t,n){"use strict";n.d(t,"e",(function(){return f})),n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return g})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return b}));n("8e6e"),n("ac6a"),n("456d"),n("c5f6"),n("20d6"),n("28a5"),n("6762"),n("2fdb");var r=n("ade3"),a=n("8bbf"),i=n.n(a),c=n("4360"),o=n("f121"),s=n("4328"),u=n.n(s);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=o["c"],f=function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},c=a.title,o=void 0===c?"":c,s=a.confirmButtonText,u=void 0===s?"确认":s,l=a.cancelButtonText,p=void 0===l?"取消":l;i.a.prototype.$confirm(e,o,{confirmButtonText:u,cancelButtonText:p}).then((function(){t&&t(n)})).catch((function(e){r&&r(d(d({},n),{},{action:e}))}))},h=function(e){var t=e.config,n=e.listParams,r=e.fieldList,a=e.path,i=e.pathName,o=e.query,s={},l=d({},t),f=r.filter((function(e){return t.fields.includes(e.value)}))||[],h=u.a.stringify(o);return l.sensKeys=f.filter((function(e){return e.sensKey})).map((function(e){return e.value})),l.fieldKeys=f.map((function(e){return e.value})),l.fieldNames=f.map((function(e){return e.label})),l.dataUrl="".concat(p.api,"/welfare").concat(a).concat(h?"?"+h:""),l.dataContent=i,delete l.fields,s.excel=l,"wechat"==c["a"].state.project?n.wechatId=c["a"].state.currentAreaId:n.memberCardId=c["a"].state.currentAreaId,s.listParams=n,s},g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"get",n=arguments.length>2?arguments[2]:void 0,r=window.localStorage.getItem("welfare-ct-id")||"{}";if(r=JSON.parse(r),"get"===t)return r[e];"set"===t&&(r[e]=n,window.localStorage.setItem("welfare-ct-id",JSON.stringify(r)))},m=function(e,t){var n=e?new Date(e):new Date;return 1==t&&(n.setHours(0),n.setMinutes(0),n.setSeconds(0),n.setMilliseconds(0)),2==t&&(n.setHours(23),n.setMinutes(59),n.setSeconds(59),n.setMilliseconds(999)),n.getTime()},b=function(e){isNaN(e)||(e=Number(e));var t=new Date(e),n=t.getHours();n<10&&(n="0"+n);var r=t.getMinutes();r<10&&(r="0"+r);var a=t.getSeconds();return a<10&&(a="0"+a),n+":"+r+":"+a}},d046:function(e,t,n){"use strict";n.d(t,"a",(function(){return H}));var r=n("2909"),a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("dm-layout",{class:{"hide-left":!e.showLeft},attrs:{"is-app":"","first-menu-code":e.menuCode,"force-show-aside":e.showLeft}},[n("div",{attrs:{slot:"maside"},slot:"maside"},[e.project.includes("card")?n("el-dropdown",{staticClass:"m-title",attrs:{"hide-on-click":!1}},[n("div",{staticClass:"el-dropdown-link"},[n("div",[n("p",{staticClass:"ellipsis"},[e._v(e._s(e.currentAreaName||"未选择域"))]),n("i",{staticClass:"el-icon-arrow-down el-icon--right"})])]),n("el-dropdown-menu",{staticClass:"m-title-menu",attrs:{slot:"dropdown"},slot:"dropdown"},e._l(e.areaSubList,(function(t,r){return n("el-dropdown-item",{key:t.areaId+"-"+r,class:{checked:t.areaId===e.currentAreaId}},[n("dl",{on:{click:function(n){return e.setCurrentApp(t)}}},[n("dd",[n("span",[e._v(e._s(t.areaName))]),t.deleteFlag?n("el-tag",{staticClass:"ml5",attrs:{effect:"plain",type:"info"}},[e._v("已删除")]):e._e()],1)]),n("i",{staticClass:"el-icon-check select-icon"})])})),1)],1):e._e(),n("aside-menu",{ref:"asideMenu"})],1),n("div",{attrs:{slot:"bread"},slot:"bread"},[e.appListVisible&&0!==e.appList.length?n("div",{staticClass:"app-list__wrapper",staticStyle:{position:"absolute"}},[n("span",[e._v("当前福利支持以下应用使用:")]),n("ul",{staticClass:"app-list"},e._l(e.appList,(function(t,r){return n("li",{key:r,on:{click:function(n){return e.goLink(t)}}},[n("img",{attrs:{src:t.iconUrl,draggable:"false"}}),n("span",{staticClass:"ellipsis-100",attrs:{title:t.appName}},[e._v(e._s(t.appName))])])})),0)]):e._e(),n("app-info",{attrs:{code:e.moduleCode}})],1)]),n("el-dialog",{attrs:{visible:e.noAreaWarnVisible&&e.project.includes("card"),"append-to-body":"",width:"500px","close-on-press-escape":!1,"close-on-click-modal":!0,"show-close":!1,"lock-scroll":""}},[n("div",{staticClass:"text-center"},[n("p",{staticClass:"gray02 fz16",staticStyle:{display:"flex","justify-content":"center","align-items":"center"}},[n("i",{staticClass:"el-icon-warning fz30 mr5 warning-color"}),e._v("暂无资源权限")]),n("p",{staticClass:"fz13 gray03 mt20"},[e._v("没有资源权限,如:可操作的会员卡、服务号等,请联系管理员进行配置")])]),n("span",{attrs:{slot:"footer"},slot:"footer"},[n("div",{staticClass:"text-center pb20"},[n("el-button",{on:{click:function(t){return e.$router.push("/index")}}},[e._v("返回首页")])],1)])]),n("switch-page")],1)},i=[],c=(n("8e6e"),n("ac6a"),n("456d"),n("ade3")),o=(n("6762"),n("2fdb"),n("96cf"),n("1da1")),s=(n("28a5"),n("5880")),u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-menu",{ref:"asideMenu",attrs:{"default-active":e.activeIndex},on:{select:e.handleSelect}},[e._l(e.menu,(function(t){return[0!=t.isShow&&Array.isArray(t.children)&&t.children.filter((function(e){return e.isShow})).length>0?n("el-submenu",{key:t.menuId,attrs:{"popper-class":"dm-menu-submenu",index:""+t.menuId}},[n("template",{slot:"title"},[n("i",{class:["menu-icon",t.iconUrl]}),n("span",{staticClass:"menu-text"},[e._v(e._s(t.menuName))])]),e._l(t.children,(function(r){return[0!=r.isShow?n("el-menu-item",{key:r.menuId,attrs:{index:t.menuId+"-"+r.menuId}},[n("i",{class:["menu-icon",r.iconUrl]}),n("span",{staticClass:"menu-text",attrs:{slot:"title"},slot:"title"},[e._v(e._s(r.menuName))])]):e._e()]}))],2):0!=t.isShow?n("el-menu-item",{key:t.menuId,attrs:{index:""+t.menuId}},[n("i",{class:["menu-icon",t.iconUrl]}),n("span",{staticClass:"menu-text",attrs:{slot:"title"},slot:"title"},[e._v(e._s(t.menuName))])]):e._e()]}))],2)},l=[];n("7514"),n("a481");function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){Object(c["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={name:"AsideMenu",data:function(){return{menuFlat:[],parentdIds:[],activeIndex:""}},methods:{flat:function(e){var t=this;e.forEach((function(e){t.menuFlat.push(e),Array.isArray(e.children)&&e.children.length>0&&t.flat(e.children)}))},handleSelect:function(e){var t=this,n=window.location.pathname;n=n.split("/")[1],n="/".concat(n);var r=e.split("-"),a=r.length>1?r[1]:r[0],i=this.menuFlat.filter((function(e){return e.menuId==a}))[0]||{},c=i.menuUrl||"",o=i.projectUrlForWeb;if(r.length>1){var s=i.children||[];s[0]&&s[0].menuUrl&&(c=s[0].menuUrl,o=s[0].projectUrlForWeb)}this.menu.map((function(e){Array.isArray(e.children)&&e.children.length>0&&e.menuId!=r[0]&&e.children.some((function(e){return e.isShow}))&&t.$refs.asideMenu.close("".concat(e.menuId))})),n===o?this.$router.push(c.replace("/#","")):window.location.href="".concat(o).concat(c)},getActiveIndex:function(){var e=this,t=this.menu.find((function(t){if(!t.children||!t.children.filter((function(e){return e.isShow})).length)return t.menuUrl===e.$route.path||t.menuUrl===e.$route.meta.path;var n=t.children.find((function(t){return t.menuUrl===e.$route.path||t.menuUrl===e.$route.meta.path}));return!!n||void 0}));if(t)if(t.children&&t.children.filter((function(e){return e.isShow})).length){var n=t.children.find((function(t){return t.menuUrl===e.$route.path||t.menuUrl===e.$route.meta.path}));this.activeIndex="".concat(t.menuId,"-").concat(n.menuId)}else this.activeIndex="".concat(t.menuId)}},computed:p(p({},Object(s["mapState"])(["routePath","menuCode","project"])),{},{menu:function(){var e=this.project;if(""==e||"index"==e)return[];var t=e.includes("card")?"card":"gift",n=this.routePath.filter((function(e){return e.menuCode.includes(t)}));return n||[]}}),watch:{menu:{handler:function(){this.flat(this.menu.slice()),this.getActiveIndex()},deep:!0,immediate:!0},"$route.path":{handler:function(){this.getActiveIndex()}}}},h=f,g=n("2877"),m=Object(g["a"])(h,u,l,!1,null,null,null),b=m.exports,v=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.visible?r("div",{staticClass:"switch-page"},[r("el-popover",{attrs:{placement:"left-end","open-delay":"200",width:"143",trigger:"hover","popper-class":"sw-page-pop"}},[r("div",[r("ul",{staticClass:"toggle"},[r("li",{directives:[{name:"show",rawName:"v-show",value:!e.project.includes("gift"),expression:"!project.includes('gift')"}]},[r("router-link",{attrs:{to:"/gift-manage/real-gift"}},[r("img",{attrs:{src:n("4c57"),width:"16"}}),e._v("礼品")])],1),r("li",{directives:[{name:"show",rawName:"v-show",value:!e.project.includes("card"),expression:"!project.includes('card')"}]},[r("router-link",{attrs:{to:"/gic-card/list"}},[r("img",{attrs:{src:n("903e"),width:"16"}}),e._v("卡券")])],1)])]),r("div",{staticClass:"s-icon mb10",attrs:{slot:"reference"},slot:"reference"},[r("img",{attrs:{src:n("bf71"),width:"30",height:"30"}})])]),r("transition",{attrs:{name:"slide-fade"}},[e.showCanUseApp?r("div",{staticClass:"page-pop"},[r("div",{staticClass:"pl15",staticStyle:{position:"relative"}},[r("div",{staticClass:"text-right",staticStyle:{position:"absolute",right:"0"}},[r("i",{staticClass:"el-dialog__close el-icon el-icon-close mr10 cursor",on:{click:e.close}})]),r("div",{staticClass:"tip-title"},[e._v("提示")]),r("div",{staticClass:"tips"},[e._v("当前福利支持在以下应用使用")]),r("ul",{staticClass:"app-list"},[e._l(e.appList,(function(t,n){return r("li",{key:n,on:{click:function(n){return e.goLink(t)}}},[r("div",[r("img",{attrs:{src:t.iconUrl,draggable:"false"}}),r("p",{staticClass:"ellipsis-100",attrs:{title:t.appName}},[e._v(e._s(t.appName))])])])})),0==e.appList.length?r("div",{staticClass:"empty_block"}):e._e()],2)])]):e._e()]),r("el-popover",{attrs:{"open-delay":"200",placement:"left-end",width:"365",trigger:"hover","popper-class":"sw-page-pop"}},[r("div",{staticClass:"pl15"},[r("div",{staticClass:"tips"},[e._v("当前福利支持在以下应用使用")]),r("ul",{staticClass:"app-list"},[e._l(e.appList,(function(t,n){return r("li",{key:n,on:{click:function(n){return e.goLink(t)}}},[r("div",[r("img",{attrs:{src:t.iconUrl,draggable:"false"}}),r("p",{staticClass:"ellipsis-100",attrs:{title:t.appName}},[e._v(e._s(t.appName))])])])})),0==e.appList.length?r("div",{staticClass:"empty_block"}):e._e()],2)]),r("div",{staticClass:"s-icon",attrs:{slot:"reference"},slot:"reference"},[r("img",{attrs:{src:n("0ae1"),width:"30",height:"30"}})])])],1):e._e()},y=[],k=n("2934"),w=k["a"].getWelfareAppList,O={name:"SwitchPage",data:function(){return{showCanUseApp:!1,appList:[]}},mounted:function(){this.getAppList()},methods:{close:function(){this.showCanUseApp=!1,this.$store.commit("updateShowCornerCanUseApp",!1)},getAppList:function(){var e=this;w().then((function(t){e.appList=t.result||[]}))},goLink:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:localStorage.setItem("appApplicationId",t.applicationId),window.open(t.authorizeUrl,"_blank","noopener");case 2:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},computed:{project:function(){return this.$store.state.project},showCornerCanUseApp:function(){return this.$store.state.showCornerCanUseApp},visible:function(){var e=this,t=["/gic-card/list","/card-package/list","/gift-manage/real-gift","/gift-manage/virtual-gift"];return t=[],t.some((function(t){return t.indexOf(e.$route.path)>-1}))}},watch:{showCornerCanUseApp:function(e){e&&(this.showCanUseApp=!0)}}},j=O,C=(n("5f59"),n("87d1"),Object(g["a"])(j,v,y,!1,null,"73c793a0",null)),A=C.exports,S=n("ed08"),x=n("cf45");function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){Object(c["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var L=k["a"].getSubappList,D=k["a"].getWelfareAppList,N={name:"Layout",components:{asideMenu:b,switchPage:A},data:function(){return{noAreaWarnVisible:!1,appList:[]}},mounted:function(){this.init(),this.getAppList()},methods:{goLink:function(e){localStorage.setItem("appApplicationId",e.applicationId),window.open(e.authorizeUrl,"_blank","noopener")},getAppList:function(){var e=this;D().then((function(t){e.appList=t.result||[]}))},handleSubApp:function(e){var t=e.type,n=e.areaId,r=e.reason;this.addSubResVisible=!0,this.$refs.addSubRes.setData({type:t,areaId:n,reason:r})},addSubApp:function(){this.subAppDialogVisible=!0},setCurrentApp:function(e){var t=e.areaId;this.$router.push("/"+this.$route.path.split("/")[1]),this.$store.commit("setCurrentSubApp",t)},init:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t,n,r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.moduleCode,e.next=3,L();case 3:if(n=e.sent,this.$store.commit("setSubAppList",n.result.result||[]),!this.areaSubList.length){e.next=20;break}if(e.prev=6,r=this.$route.query.areaId||"",!r||!this.areaSubList.map((function(e){return e.areaId})).includes(r)){e.next=11;break}return this.$store.commit("setCurrentSubApp",r),e.abrupt("return");case 11:a=Object(x["b"])(t),a&&this.areaSubList.some((function(e){return e.areaId==a}))?this.$store.commit("setCurrentSubApp",a):this.$store.commit("setCurrentSubApp",this.areaSubList[0].areaId),e.next=18;break;case 15:e.prev=15,e.t0=e["catch"](6),this.$store.commit("setCurrentSubApp",this.areaSubList[0].areaId);case 18:e.next=21;break;case 20:this.noAreaWarnVisible=!0;case 21:case"end":return e.stop()}}),e,this,[[6,15]])})));function t(){return e.apply(this,arguments)}return t}()},computed:P(P({},Object(s["mapState"])(["default_areaId","currentAreaName","currentAreaId","areaSubList","project","menu","extraHideLeft","appInfo","lock","moduleCode"])),{},{showLeft:function(){return!(""==this.project||"index"==this.project)},appListVisible:function(){var e=this,t=["/gic-card/list","/card-package/list","/gift-manage/real-gift","/gift-manage/virtual-gift"];return t.some((function(t){return t.indexOf(e.$route.path)>-1}))}}),watch:{currentAreaId:function(e,t){Object(S["h"])()}}},E=N,M=(n("f71d"),Object(g["a"])(E,a,i,!1,null,"06977648",null)),U=M.exports,R=[{path:"/gic-card",component:U,redirect:"/gic-card/list",children:[{path:"list",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"ea75"))}},{path:"member-get",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"3d96"))},meta:{path:"/gic-card/list"}},{path:"stock-list",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"7e3b"))},meta:{path:"/gic-card/list"}},{path:"stock-upload-list",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"ac7c"))}},{path:"send-list",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"6106"))}},{path:"add",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"b2c7"))},meta:{type:"add",path:"/gic-card/list"}},{path:"edit",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"b2c7"))},meta:{type:"edit",path:"/gic-card/list"}},{path:"copy",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"b2c7"))},meta:{type:"copy",path:"/gic-card/list"}},{path:"info",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"903ea"))},meta:{type:"info",path:"/gic-card/list"}},{path:"info-edit",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"903ea"))},meta:{type:"edit",path:"/gic-card/list"}},{path:"destory-list",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"e2d0"))}}]}],z=[{path:"/card-package",component:U,redirect:"/card-package/list",children:[{path:"list",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("card-package")]).then(n.bind(null,"3c64"))}},{path:"add",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("card-package")]).then(n.bind(null,"0c0e"))},meta:{type:"add",path:"/card-package/list"}},{path:"edit",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("card-package")]).then(n.bind(null,"0c0e"))},meta:{type:"edit",path:"/card-package/list"}},{path:"send-list",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("card-package")]).then(n.bind(null,"b79b"))}},{path:"stock-list",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("card-package")]).then(n.bind(null,"af2d"))},meta:{path:"/card-package/list"}}]}],B=[{path:"/gift-manage",component:U,redirect:"/gift-manage/real-gift",children:[{path:"real-gift",component:function(){return n.e("chunk-256597ba").then(n.bind(null,"e6de"))}},{path:"real-gift-detail",component:function(){return n.e("chunk-0beca480").then(n.bind(null,"ffec"))},meta:{path:"/gift-manage/real-gift"}},{path:"real-stock-list",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"e9f5"))},meta:{path:"/gift-manage/list"}}]}],F=[{path:"/gift-manage",component:U,redirect:"/gift-manage/virtual-gift",children:[{path:"virtual-gift",component:function(){return n.e("chunk-538ce912").then(n.bind(null,"f011"))}},{path:"virtual-gift-detail",component:function(){return n.e("chunk-62df7e69").then(n.bind(null,"a0f2"))},meta:{path:"/gift-manage/virtual-gift"}},{path:"virtual-stock-list",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"1672"))},meta:{path:"/gift-manage/list"}}]}],G=[{path:"/gift-manage",component:U,redirect:"/gift-manage/stock-record",children:[{path:"stock-record",component:function(){return n.e("chunk-447f9844").then(n.bind(null,"bf73"))}}]},{path:"/setting",component:U,redirect:"/setting/sales-return-setting",children:[{path:"sales-return-setting",component:function(){return n.e("chunk-6287d3af").then(n.bind(null,"fa56"))}},{path:"address-lib-list",component:function(){return n.e("chunk-0d4ebdfa").then(n.bind(null,"48c3"))}},{path:"address-lib-add",component:function(){return n.e("chunk-001d874e").then(n.bind(null,"f283"))},meta:{type:"add",path:"/setting/address-lib-list"}},{path:"address-lib-edit",component:function(){return n.e("chunk-001d874e").then(n.bind(null,"f283"))},meta:{type:"edit",path:"/setting/address-lib-list"}},{path:"pickup-list",component:function(){return n.e("chunk-593e752c").then(n.bind(null,"e54f"))}},{path:"pickup-add",component:function(){return n.e("chunk-5e077bbb").then(n.bind(null,"1420"))},meta:{type:"add",path:"/setting/pickup-list"}},{path:"pickup-edit",component:function(){return n.e("chunk-5e077bbb").then(n.bind(null,"1420"))},meta:{type:"edit",path:"/setting/pickup-list"}}]},{path:"/card-setting",component:U,redirect:"/setting/sales-return-setting",children:[{path:"custom",component:function(){return Promise.all([n.e("card-package~gic-card"),n.e("gic-card")]).then(n.bind(null,"a0f4"))}}]}],V=[{path:"/gift-performance",component:U,redirect:"//gift-performance/delivery",children:[{path:"delivery",component:function(){return n.e("chunk-a7320cc8").then(n.bind(null,"1e5b"))}},{path:"delivery-detail",component:function(){return n.e("chunk-7b01ce79").then(n.bind(null,"de2d"))},meta:{path:"/gift-performance/delivery"}},{path:"refund",component:function(){return n.e("chunk-0a638264").then(n.bind(null,"7211"))}},{path:"record",component:function(){return n.e("chunk-db6a8f34").then(n.bind(null,"0035"))}}]}],T=[].concat(Object(r["a"])(R),Object(r["a"])(z),Object(r["a"])(B),Object(r["a"])(F),Object(r["a"])(G),Object(r["a"])(V)),Y=[{path:"/",component:U,redirect:"/gic-card/list",children:[{path:"/index",component:function(){return n.e("chunk-247c4cc7").then(n.bind(null,"1e4b"))}}]},{path:"*",redirect:"/index"}],H=[].concat(Y,Object(r["a"])(T))},ed08:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"g",(function(){return p})),n.d(t,"h",(function(){return f})),n.d(t,"c",(function(){return h})),n.d(t,"f",(function(){return g}));n("8e6e"),n("2909"),n("5df3"),n("4f7f"),n("34ef"),n("28a5"),n("386d"),n("4917"),n("3b2b");var r=n("ade3"),a=(n("53ca"),n("456d"),n("ac6a"),n("a481"),n("6b54"),n("a18c"));function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var o=function(e,t){var n,r=t||200;return function(){var t=this,a=arguments;n&&clearTimeout(n),n=setTimeout((function(){n=null,e.apply(t,a)}),r)}},s=function(e,t){var n=null,r=new Date;return function(){var a=new Date,i=a-r,c=arguments,o=this;i>=t?(n&&clearTimeout(n),e.apply(o,c),r=a):n||(n=setTimeout((function(){e.apply(o,c),r=new Date}),t-i))}},u=function(e){return e*=1,e<10?"0"+e:e},l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd-HH-mm-ss",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e)return n?{y:"",h:""}:"";"number"!==typeof e&&"string"!==typeof e||(e=new Date(e));try{if("string"===typeof e)return n?{y:e,h:""}:e;var r=t.indexOf("yyyy")>=0?u(e.getFullYear()):"",a=t.indexOf("MM")>=0?"-"+u(e.getMonth()+1):"",i=t.indexOf("dd")>=0?"-"+u(e.getDate()):"",c=t.indexOf("HH")>=0?" "+u(e.getHours()):"",o=t.indexOf("mm")>=0?":"+u(e.getMinutes()):"",s=t.indexOf("ss")>=0?":"+u(e.getSeconds()):"";return n?{y:r+a+i,h:c+o+s}:r+a+i+c+o+s}catch(l){return n?{y:e,h:""}:e}},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;try{t>0&&(e=e.toFixed(t))}catch(a){return e}var n=e.toString(),r=n.indexOf(".")>-1?/(\d)(?=(\d{3})+\.)/g:/(\d)(?=(?:\d{3})+$)/g;return n.replace(r,"$1,")},p=function(e){return e?'<p class="cell-time">'.concat(l(e,"yyyy-MM-dd-HH-mm-ss",!0).y,'</p>\n <p class="cell-time">').concat(l(e,"yyyy-MM-dd-HH-mm-ss",!0).h,"</p>\n "):"--"},f=function(){var e=a["a"].app._route,t=c({},e.query);delete t.areaId;var n=c(c({},t),{},{timestamp:(new Date).getTime()});a["a"].push({path:e.fullPath,query:n})},h=function(e){return JSON.parse(JSON.stringify(e))},g=function(e){return""===e||null==e}},ee74:function(e,t,n){},f121:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return o})),n.d(t,"f",(function(){return s}));var r="0000";function a(){var e=window.location.origin;return(e.indexOf("localhost")>=0||e.indexOf("192.168")>=0)&&(e="https://four.gicdev.com"),e}t["c"]={api:window.location.protocol+"//"+window.location.host||""};var i=a(),c=("four.gicdev.com"===window.location.host||window.location.origin,"/api-marketing"),o="/gic-auth-web",s="/api-welfare"},f71d:function(e,t,n){"use strict";n("ffc5")},f8f5:function(e,t,n){},ffc5:function(e,t,n){}});
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-447f9844"],{"9fdf":function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"p20"},[a("div",{staticClass:"pb20 clearfix flex-center"},[a("el-input",{staticClass:"mr10 w260",attrs:{clearable:"",placeholder:"请输入福利id"},on:{change:t.refresh},model:{value:t.listParams.search,callback:function(e){t.$set(t.listParams,"search",e)},expression:"listParams.search"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),a("el-input",{staticClass:"mr10 w260",attrs:{clearable:"",placeholder:"请输入操作人姓名"},on:{change:t.refresh},model:{value:t.listParams.creatorName,callback:function(e){t.$set(t.listParams,"creatorName",e)},expression:"listParams.creatorName"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),a("el-date-picker",{staticClass:"w350 mr10",attrs:{type:"daterange","range-separator":"~","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.refresh},model:{value:t.dateTime,callback:function(e){t.dateTime=e},expression:"dateTime"}})],1),a("el-table",{staticStyle:{width:"100%"},attrs:{"tooltip-effect":"dark",data:t.tableList}},[a("el-table-column",{attrs:{label:"上传时间",prop:"createTime","min-width":"200px"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{domProps:{innerHTML:t._s(t.listTime(e.row.createTime))}})]}}])}),a("el-table-column",{attrs:{prop:"creatorName",label:"操作人","min-width":"180px"}}),a("el-table-column",{attrs:{prop:"fileName",label:"文件名称","min-width":"200px"}}),a("el-table-column",{attrs:{prop:"giftName",label:"福利名称","min-width":"150px"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.goDetail(e.row)}}},[t._v(t._s(e.row.giftName||"--"))])]}}])}),a("el-table-column",{attrs:{label:"上传结果","min-width":"180px"},scopedSlots:t._u([{key:"default",fn:function(e){return[1===e.row.statusFlag?a("div",[t._v("\n 成功 "),a("span",{staticClass:"success-color"},[t._v(t._s(e.row.successNum))]),t._v(" 条,失败 "),a("span",{staticClass:"danger-color"},[t._v(t._s(e.row.errorNum))]),t._v(" 条\n ")]):0===e.row.statusFlag?a("div",{staticClass:"state-point state-point-loading"},[t._v("上传中")]):a("div",{staticClass:"state-point state-point-error"},[t._v("上传失败")])]}}])}),a("el-table-column",{attrs:{label:"操作",width:"130px"},scopedSlots:t._u([{key:"default",fn:function(e){return[2===e.row.statusFlag?a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.uploadReview(e.row)}}},[t._v("重新上传")]):t._e(),1===e.row.statusFlag&&0!==e.row.errorNum?a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.showDetail(e.row)}}},[t._v("查看失败原因")]):t._e()]}}])})],1),a("div",{staticClass:"clearfix"},[t.tableList.length?a("dm-pagination",{staticClass:"fr mb0",attrs:{background:"","current-page":t.listParams.currentPage,"page-sizes":[20,40,60,80],"page-size":t.listParams.pageSize,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}}):t._e()],1),a("detail",{attrs:{"dialog-visible":t.dialogVisible,id:t.uploadLogId},on:{"update:dialogVisible":function(e){t.dialogVisible=e},"update:dialog-visible":function(e){t.dialogVisible=e}}})],1)},r=[],s=(a("8e6e"),a("ac6a"),a("456d"),a("ade3")),n=(a("c5f6"),a("fab6")),l=a("ed08"),o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:"查看详情",visible:t.dialogVisible,width:"500px"},on:{"update:visible":function(e){t.dialogVisible=e},closed:t.closed}},[a("div",[a("el-table",{staticClass:"el-table-list-mini-empty",attrs:{"tooltip-effect":"dark",data:t.tableList,"max-height":"450px"}},[a("el-table-column",{attrs:{prop:"errorMsg",label:"错误信息"}})],1),a("div",{staticClass:"clearfix"},[t.tableList.length?a("dm-pagination",{staticClass:"fr mb0",attrs:{small:"",background:"","current-page":t.listParams.currentPage,"page-sizes":[20,40,60,80],"page-size":t.listParams.pageSize,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}}):t._e()],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.closed}},[t._v("关 闭")])],1)])},c=[],u=a("2934");function d(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,i)}return a}function p(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?d(Object(a),!0).forEach((function(e){Object(s["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var g=u["a"].virtualErrorPage,f={name:"StockUploadRecordDetail",mixins:[n["c"]],props:{id:{type:[String,Number],required:!0},dialogVisible:{type:Boolean,default:!1}},data:function(){return{loading:!0,listParams:{id:"",key:"",currentPage:1,pageSize:20},total:0,tableList:[]}},methods:{closed:function(){this.$emit("update:dialogVisible",!1),this.loading=!1,this.tableList=[],this.listParams.currentPage=1,this.listParams.pageSize=20},getTableList:function(){var t=this,e=p(p({},this.listParams),{},{id:this.id});this.loading=!0,g(e).then((function(e){t.loading=!1;var a=e.result;t.tableList=a.result||[],t.total=a.totalCount,0===t.tableList.length&&1!==t.listParams.currentPage&&(t.listParams.currentPage-=1,t.getTableList())})).catch((function(){t.loading=!1}))}},watch:{dialogVisible:function(t){t&&this.getTableList()}}},h=f,m=a("2877"),b=Object(m["a"])(h,o,c,!1,null,null,null),v=b.exports;function P(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,i)}return a}function y(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?P(Object(a),!0).forEach((function(e){Object(s["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):P(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var w=u["a"].virtualUploadLog,O={name:"StockRecord",components:{Detail:v},mixins:[n["c"],n["a"]],props:{type:{type:[Number,String],required:!0},queryParams:{type:Object,default:function(){}}},data:function(){return{loading:!1,dateTime:[new Date-6048e5,new Date],listParams:{source:this.type,search:"",creatorName:"",startTime:"",endTime:"",currentPage:1,pageSize:20},listParams2:{currentPage:1,pageSize:20},total:0,tableList:[],dialogVisible:!1,totalError:"",uploadLogId:""}},mounted:function(){this.getTableList()},methods:{listTime:l["g"],getTableList:function(){var t=this;if(!this.loading){this.formatterTimeFunc("startTime","endTime","yyyy-MM-dd","dateTime"),this.loading=!0;var e=y(y({},this.listParams),this.queryParams);w(e).then((function(e){t.loading=!1;var a=e.result;t.tableList=a.result||[],t.total=a.totalCount,0===t.tableList.length&&1!==t.listParams.currentPage&&(t.listParams.currentPage-=1,t.getTableList())})).finally((function(){t.loading=!1}))}},showDetail:function(t){var e=t.uploadLogId;this.uploadLogId=e,this.dialogVisible=!0},goDetail:function(t){0===t.source?this.$router.push({path:"/gift-manage/virtual-gift-detail",query:{giftId:t.giftId}}):this.$router.push({path:"/gic-card/info",query:{id:t.giftId}})},uploadReview:function(t){0===t.source?this.$router.push({path:"/gift-manage/virtual-gift",query:{giftId:t.giftId}}):this.$router.push({path:"/gic-card/list",query:{couponId:t.giftId}})}}},_=O,x=(a("cc18"),Object(m["a"])(_,i,r,!1,null,"6051396c",null));e["a"]=x.exports},addc:function(t,e,a){},bf73:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("stock-record",{attrs:{type:"0"}})},r=[],s=a("9fdf"),n={name:"StockRecord",components:{stockRecord:s["a"]},created:function(){this.$emit("updateBread",[{breadName:"福利中心",breadPath:"/index"},{breadName:"库存上传记录"}])}},l=n,o=a("2877"),c=Object(o["a"])(l,i,r,!1,null,null,null);e["default"]=c.exports},cc18:function(t,e,a){"use strict";a("addc")},fab6:function(t,e,a){"use strict";a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return s})),a.d(e,"b",(function(){return n}));var i=a("ed08"),r={methods:{refresh:function(){this.listParams.currentPage=1,this.getTableList()},handleSizeChange:function(t){this.listParams.currentPage=1,this.listParams.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.listParams.currentPage=t,this.getTableList()}}},s={methods:{formatterTimeFunc:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"startTime",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"endTime",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"yyyy-MM-dd",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"dateTime";this[r]?(this.listParams[t]=Object(i["e"])(this[r][0],a),this.listParams[e]=Object(i["e"])(this[r][1],a)):this.listParams[t]=this.listParams[e]=""}}},n={methods:{mainHeight:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.$store.state.mainHeight-52-t}}}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-447f9844"],{"9fdf":function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"p20"},[a("div",{staticClass:"pb20 clearfix flex-center"},[a("el-input",{staticClass:"mr10 w260",attrs:{clearable:"",placeholder:"请输入福利id"},on:{change:t.refresh},model:{value:t.listParams.search,callback:function(e){t.$set(t.listParams,"search",e)},expression:"listParams.search"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),a("el-input",{staticClass:"mr10 w260",attrs:{clearable:"",placeholder:"请输入操作人姓名"},on:{change:t.refresh},model:{value:t.listParams.creatorName,callback:function(e){t.$set(t.listParams,"creatorName",e)},expression:"listParams.creatorName"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),a("el-date-picker",{staticClass:"w350 mr10",attrs:{type:"daterange","range-separator":"~","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.refresh},model:{value:t.dateTime,callback:function(e){t.dateTime=e},expression:"dateTime"}})],1),a("el-table",{staticStyle:{width:"100%"},attrs:{"tooltip-effect":"dark",data:t.tableList}},[a("el-table-column",{attrs:{label:"上传时间",prop:"createTime","min-width":"200px"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{domProps:{innerHTML:t._s(t.listTime(e.row.createTime))}})]}}])}),a("el-table-column",{attrs:{prop:"creatorName",label:"操作人","min-width":"180px"}}),a("el-table-column",{attrs:{prop:"fileName",label:"文件名称","min-width":"200px"}}),a("el-table-column",{attrs:{prop:"giftName",label:"福利名称","min-width":"150px"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.goDetail(e.row)}}},[t._v(t._s(e.row.giftName||"--"))])]}}])}),a("el-table-column",{attrs:{label:"上传结果","min-width":"180px"},scopedSlots:t._u([{key:"default",fn:function(e){return[1===e.row.statusFlag?a("div",[t._v("\n 成功 "),a("span",{staticClass:"success-color"},[t._v(t._s(e.row.successNum))]),t._v(" 条,失败 "),a("span",{staticClass:"danger-color"},[t._v(t._s(e.row.errorNum))]),t._v(" 条\n ")]):0===e.row.statusFlag?a("div",{staticClass:"state-point state-point-loading"},[t._v("上传中")]):a("div",{staticClass:"state-point state-point-error"},[t._v("上传失败")])]}}])}),a("el-table-column",{attrs:{label:"操作",width:"130px"},scopedSlots:t._u([{key:"default",fn:function(e){return[2===e.row.statusFlag?a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.uploadReview(e.row)}}},[t._v("重新上传")]):t._e(),1===e.row.statusFlag&&0!==e.row.errorNum?a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.showDetail(e.row)}}},[t._v("查看失败原因")]):t._e()]}}])})],1),a("div",{staticClass:"clearfix"},[t.tableList.length?a("dm-pagination",{staticClass:"fr mb0",attrs:{background:"","current-page":t.listParams.currentPage,"page-sizes":[20,40,60,80],"page-size":t.listParams.pageSize,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}}):t._e()],1),a("detail",{attrs:{"dialog-visible":t.dialogVisible,id:t.uploadLogId},on:{"update:dialogVisible":function(e){t.dialogVisible=e},"update:dialog-visible":function(e){t.dialogVisible=e}}})],1)},r=[],s=(a("8e6e"),a("ac6a"),a("456d"),a("ade3")),n=(a("c5f6"),a("fab6")),l=a("ed08"),o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:"查看详情",visible:t.dialogVisible,width:"500px"},on:{"update:visible":function(e){t.dialogVisible=e},closed:t.closed}},[a("div",[a("el-table",{staticClass:"el-table-list-mini-empty",attrs:{"tooltip-effect":"dark",data:t.tableList,"max-height":"450px"}},[a("el-table-column",{attrs:{prop:"errorMsg",label:"错误信息"}})],1),a("div",{staticClass:"clearfix"},[t.tableList.length?a("dm-pagination",{staticClass:"fr mb0",attrs:{small:"",background:"","current-page":t.listParams.currentPage,"page-size":t.listParams.pageSize,layout:"prev, pager, next",total:t.total},on:{"current-change":t.handleCurrentChange}}):t._e()],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.closed}},[t._v("关 闭")])],1)])},c=[],u=a("2934");function d(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,i)}return a}function p(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?d(Object(a),!0).forEach((function(e){Object(s["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var g=u["a"].virtualErrorPage,f={name:"StockUploadRecordDetail",mixins:[n["c"]],props:{id:{type:[String,Number],required:!0},dialogVisible:{type:Boolean,default:!1}},data:function(){return{loading:!0,listParams:{id:"",key:"",currentPage:1,pageSize:20},total:0,tableList:[]}},methods:{closed:function(){this.$emit("update:dialogVisible",!1),this.loading=!1,this.tableList=[],this.listParams.currentPage=1,this.listParams.pageSize=20},getTableList:function(){var t=this,e=p(p({},this.listParams),{},{id:this.id});this.loading=!0,g(e).then((function(e){t.loading=!1;var a=e.result;t.tableList=a.result||[],t.total=a.totalCount,0===t.tableList.length&&1!==t.listParams.currentPage&&(t.listParams.currentPage-=1,t.getTableList())})).catch((function(){t.loading=!1}))}},watch:{dialogVisible:function(t){t&&this.getTableList()}}},h=f,m=a("2877"),b=Object(m["a"])(h,o,c,!1,null,null,null),v=b.exports;function P(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,i)}return a}function y(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?P(Object(a),!0).forEach((function(e){Object(s["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):P(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var w=u["a"].virtualUploadLog,O={name:"StockRecord",components:{Detail:v},mixins:[n["c"],n["a"]],props:{type:{type:[Number,String],required:!0},queryParams:{type:Object,default:function(){}}},data:function(){return{loading:!1,dateTime:[new Date-6048e5,new Date],listParams:{source:this.type,search:"",creatorName:"",startTime:"",endTime:"",currentPage:1,pageSize:20},listParams2:{currentPage:1,pageSize:20},total:0,tableList:[],dialogVisible:!1,totalError:"",uploadLogId:""}},mounted:function(){this.getTableList()},methods:{listTime:l["g"],getTableList:function(){var t=this;if(!this.loading){this.formatterTimeFunc("startTime","endTime","yyyy-MM-dd","dateTime"),this.loading=!0;var e=y(y({},this.listParams),this.queryParams);w(e).then((function(e){t.loading=!1;var a=e.result;t.tableList=a.result||[],t.total=a.totalCount,0===t.tableList.length&&1!==t.listParams.currentPage&&(t.listParams.currentPage-=1,t.getTableList())})).finally((function(){t.loading=!1}))}},showDetail:function(t){var e=t.uploadLogId;this.uploadLogId=e,this.dialogVisible=!0},goDetail:function(t){0===t.source?this.$router.push({path:"/gift-manage/virtual-gift-detail",query:{giftId:t.giftId}}):this.$router.push({path:"/gic-card/info",query:{id:t.giftId}})},uploadReview:function(t){0===t.source?this.$router.push({path:"/gift-manage/virtual-gift",query:{giftId:t.giftId}}):this.$router.push({path:"/gic-card/list",query:{couponId:t.giftId}})}}},_=O,x=(a("cc18"),Object(m["a"])(_,i,r,!1,null,"6051396c",null));e["a"]=x.exports},addc:function(t,e,a){},bf73:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("stock-record",{attrs:{type:"0"}})},r=[],s=a("9fdf"),n={name:"StockRecord",components:{stockRecord:s["a"]},created:function(){this.$emit("updateBread",[{breadName:"福利中心",breadPath:"/index"},{breadName:"库存上传记录"}])}},l=n,o=a("2877"),c=Object(o["a"])(l,i,r,!1,null,null,null);e["default"]=c.exports},cc18:function(t,e,a){"use strict";a("addc")},fab6:function(t,e,a){"use strict";a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return s})),a.d(e,"b",(function(){return n}));var i=a("ed08"),r={methods:{refresh:function(){this.listParams.currentPage=1,this.getTableList()},handleSizeChange:function(t){this.listParams.currentPage=1,this.listParams.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.listParams.currentPage=t,this.getTableList()}}},s={methods:{formatterTimeFunc:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"startTime",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"endTime",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"yyyy-MM-dd",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"dateTime";this[r]?(this.listParams[t]=Object(i["e"])(this[r][0],a),this.listParams[e]=Object(i["e"])(this[r][1],a)):this.listParams[t]=this.listParams[e]=""}}},n={methods:{mainHeight:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.$store.state.mainHeight-52-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.
...@@ -18,12 +18,10 @@ ...@@ -18,12 +18,10 @@
class="fr mb0" class="fr mb0"
v-if="tableList.length" v-if="tableList.length"
background background
@size-change="handleSizeChange"
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
:current-page="listParams.currentPage" :current-page="listParams.currentPage"
:page-sizes="[20, 40, 60, 80]"
:page-size="listParams.pageSize" :page-size="listParams.pageSize"
layout="total, sizes, prev, pager, next" layout="prev, pager, next"
:total="total"></dm-pagination> :total="total"></dm-pagination>
</div> </div>
</div> </div>
......
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