Commit 4606d604 by liang ce

注销账户修改

parent d173615e
.title[data-v-99e06596]{font-weight:700;margin-top:20px;margin-bottom:20px}.searchBox button[data-v-99e06596]{margin-left:10px}
\ No newline at end of file
.title[data-v-2853fec8]{font-weight:700;margin-top:20px;margin-bottom:20px}.searchBox button[data-v-2853fec8]{margin-left:10px}
\ No newline at end of file
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta http-equiv=Pragma content=no-cache><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><title>mingpay</title><link href=css/chunk-13ec64c5.52ec5803.css rel=prefetch><link href=css/chunk-28723f13.90e02cb9.css rel=prefetch><link href=css/chunk-331ae0d2.f532e316.css rel=prefetch><link href=css/chunk-3599003e.1a62b51d.css rel=prefetch><link href=css/chunk-3f3336d0.33fb771c.css rel=prefetch><link href=css/chunk-42323b98.64f24c7d.css rel=prefetch><link href=css/chunk-49a19ba8.67939e51.css rel=prefetch><link href=css/chunk-4ba7f26b.8079c706.css rel=prefetch><link href=css/chunk-5095efbe.58f409ad.css rel=prefetch><link href=css/chunk-570f9528.289dca7b.css rel=prefetch><link href=css/chunk-58a22374.bf3cd3b1.css rel=prefetch><link href=css/chunk-6658342b.d8c3d9b5.css rel=prefetch><link href=css/chunk-6cec962d.698e1e67.css rel=prefetch><link href=css/chunk-7026f433.625e47b3.css rel=prefetch><link href=css/chunk-90b83a0c.23b21a79.css rel=prefetch><link href=css/chunk-a0a95438.3fbca111.css rel=prefetch><link href=css/chunk-d04df21a.6f8b801f.css rel=prefetch><link href=css/chunk-dd9fcb10.6109af67.css rel=prefetch><link href=css/chunk-edd53178.611b074a.css rel=prefetch><link href=css/chunk-edd5b888.7ba8d7af.css rel=prefetch><link href=css/chunk-fb6b8140.5661c4ec.css rel=prefetch><link href=js/chunk-13ec64c5.feb2838f.js rel=prefetch><link href=js/chunk-28723f13.a258c368.js rel=prefetch><link href=js/chunk-2d0bd16e.de89ee9c.js rel=prefetch><link href=js/chunk-331ae0d2.432b46f5.js rel=prefetch><link href=js/chunk-3599003e.77d9b8d9.js rel=prefetch><link href=js/chunk-3f3336d0.f22a8e38.js rel=prefetch><link href=js/chunk-42323b98.ca0331ff.js rel=prefetch><link href=js/chunk-49a19ba8.c9a5f78f.js rel=prefetch><link href=js/chunk-4ba7f26b.1ce70aaf.js rel=prefetch><link href=js/chunk-5095efbe.ae3a92ac.js rel=prefetch><link href=js/chunk-570f9528.101eb842.js rel=prefetch><link href=js/chunk-58a22374.ed08740f.js rel=prefetch><link href=js/chunk-6658342b.c9f90e1d.js rel=prefetch><link href=js/chunk-6cec962d.8347aa7f.js rel=prefetch><link href=js/chunk-7026f433.7fa23e7c.js rel=prefetch><link href=js/chunk-90b83a0c.e3338d42.js rel=prefetch><link href=js/chunk-a0a95438.2299ce8a.js rel=prefetch><link href=js/chunk-b788ccac.1c9e8d29.js rel=prefetch><link href=js/chunk-d04df21a.4097ae13.js rel=prefetch><link href=js/chunk-dd9fcb10.a5087450.js rel=prefetch><link href=js/chunk-edd53178.1e85550d.js rel=prefetch><link href=js/chunk-edd5b888.bf1fe3a3.js rel=prefetch><link href=js/chunk-fb6b8140.64b0f1cf.js rel=prefetch><link href=css/app.2887c0b5.css rel=preload as=style><link href=css/chunk-vendors.abc56c7c.css rel=preload as=style><link href=js/app.68671163.js rel=preload as=script><link href=js/chunk-vendors.5f733cf2.js rel=preload as=script><link href=css/chunk-vendors.abc56c7c.css rel=stylesheet><link href=css/app.2887c0b5.css rel=stylesheet></head><body><noscript><strong>We're sorry but mingpay doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.5f733cf2.js></script><script src=js/app.68671163.js></script></body></html> <!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta http-equiv=Pragma content=no-cache><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><title>mingpay</title><link href=css/chunk-13ec64c5.52ec5803.css rel=prefetch><link href=css/chunk-28723f13.90e02cb9.css rel=prefetch><link href=css/chunk-3599003e.1a62b51d.css rel=prefetch><link href=css/chunk-3f3336d0.33fb771c.css rel=prefetch><link href=css/chunk-42323b98.64f24c7d.css rel=prefetch><link href=css/chunk-49a19ba8.67939e51.css rel=prefetch><link href=css/chunk-4ba7f26b.8079c706.css rel=prefetch><link href=css/chunk-5095efbe.58f409ad.css rel=prefetch><link href=css/chunk-56890f8c.b58ddb49.css rel=prefetch><link href=css/chunk-570f9528.289dca7b.css rel=prefetch><link href=css/chunk-58a22374.bf3cd3b1.css rel=prefetch><link href=css/chunk-6658342b.d8c3d9b5.css rel=prefetch><link href=css/chunk-6cec962d.698e1e67.css rel=prefetch><link href=css/chunk-7026f433.625e47b3.css rel=prefetch><link href=css/chunk-90b83a0c.23b21a79.css rel=prefetch><link href=css/chunk-a0a95438.3fbca111.css rel=prefetch><link href=css/chunk-d04df21a.6f8b801f.css rel=prefetch><link href=css/chunk-dd9fcb10.6109af67.css rel=prefetch><link href=css/chunk-edd53178.611b074a.css rel=prefetch><link href=css/chunk-edd5b888.7ba8d7af.css rel=prefetch><link href=css/chunk-fb6b8140.5661c4ec.css rel=prefetch><link href=js/chunk-13ec64c5.feb2838f.js rel=prefetch><link href=js/chunk-28723f13.a258c368.js rel=prefetch><link href=js/chunk-2d0bd16e.de89ee9c.js rel=prefetch><link href=js/chunk-3599003e.77d9b8d9.js rel=prefetch><link href=js/chunk-3f3336d0.f22a8e38.js rel=prefetch><link href=js/chunk-42323b98.ca0331ff.js rel=prefetch><link href=js/chunk-49a19ba8.c9a5f78f.js rel=prefetch><link href=js/chunk-4ba7f26b.1ce70aaf.js rel=prefetch><link href=js/chunk-5095efbe.ae3a92ac.js rel=prefetch><link href=js/chunk-56890f8c.5b0cfe4d.js rel=prefetch><link href=js/chunk-570f9528.101eb842.js rel=prefetch><link href=js/chunk-58a22374.ed08740f.js rel=prefetch><link href=js/chunk-6658342b.c9f90e1d.js rel=prefetch><link href=js/chunk-6cec962d.8347aa7f.js rel=prefetch><link href=js/chunk-7026f433.7fa23e7c.js rel=prefetch><link href=js/chunk-90b83a0c.e3338d42.js rel=prefetch><link href=js/chunk-a0a95438.2299ce8a.js rel=prefetch><link href=js/chunk-b788ccac.1c9e8d29.js rel=prefetch><link href=js/chunk-d04df21a.4097ae13.js rel=prefetch><link href=js/chunk-dd9fcb10.a5087450.js rel=prefetch><link href=js/chunk-edd53178.1e85550d.js rel=prefetch><link href=js/chunk-edd5b888.bf1fe3a3.js rel=prefetch><link href=js/chunk-fb6b8140.64b0f1cf.js rel=prefetch><link href=css/app.2887c0b5.css rel=preload as=style><link href=css/chunk-vendors.abc56c7c.css rel=preload as=style><link href=js/app.2d064d1f.js rel=preload as=script><link href=js/chunk-vendors.5f733cf2.js rel=preload as=script><link href=css/chunk-vendors.abc56c7c.css rel=stylesheet><link href=css/app.2887c0b5.css rel=stylesheet></head><body><noscript><strong>We're sorry but mingpay doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.5f733cf2.js></script><script src=js/app.2d064d1f.js></script></body></html>
\ No newline at end of file \ No newline at end of file
(function(e){function t(t){for(var a,c,s=t[0],i=t[1],u=t[2],d=0,f=[];d<s.length;d++)c=s[d],o[c]&&f.push(o[c][0]),o[c]=0;for(a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a]);l&&l(t);while(f.length)f.shift()();return r.push.apply(r,u||[]),n()}function n(){for(var e,t=0;t<r.length;t++){for(var n=r[t],a=!0,c=1;c<n.length;c++){var s=n[c];0!==o[s]&&(a=!1)}a&&(r.splice(t--,1),e=i(i.s=n[0]))}return e}var a={},c={app:0},o={app:0},r=[];function s(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-13ec64c5":"feb2838f","chunk-28723f13":"a258c368","chunk-2d0bd16e":"de89ee9c","chunk-331ae0d2":"432b46f5","chunk-3599003e":"77d9b8d9","chunk-3f3336d0":"f22a8e38","chunk-42323b98":"ca0331ff","chunk-49a19ba8":"c9a5f78f","chunk-4ba7f26b":"1ce70aaf","chunk-5095efbe":"ae3a92ac","chunk-570f9528":"101eb842","chunk-58a22374":"ed08740f","chunk-6658342b":"c9f90e1d","chunk-6cec962d":"8347aa7f","chunk-7026f433":"7fa23e7c","chunk-90b83a0c":"e3338d42","chunk-a0a95438":"2299ce8a","chunk-b788ccac":"1c9e8d29","chunk-d04df21a":"4097ae13","chunk-dd9fcb10":"a5087450","chunk-edd53178":"1e85550d","chunk-edd5b888":"bf1fe3a3","chunk-fb6b8140":"64b0f1cf"}[e]+".js"}function i(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.e=function(e){var t=[],n={"chunk-13ec64c5":1,"chunk-28723f13":1,"chunk-331ae0d2":1,"chunk-3599003e":1,"chunk-3f3336d0":1,"chunk-42323b98":1,"chunk-49a19ba8":1,"chunk-4ba7f26b":1,"chunk-5095efbe":1,"chunk-570f9528":1,"chunk-58a22374":1,"chunk-6658342b":1,"chunk-6cec962d":1,"chunk-7026f433":1,"chunk-90b83a0c":1,"chunk-a0a95438":1,"chunk-d04df21a":1,"chunk-dd9fcb10":1,"chunk-edd53178":1,"chunk-edd5b888":1,"chunk-fb6b8140":1};c[e]?t.push(c[e]):0!==c[e]&&n[e]&&t.push(c[e]=new Promise(function(t,n){for(var a="css/"+({}[e]||e)+"."+{"chunk-13ec64c5":"52ec5803","chunk-28723f13":"90e02cb9","chunk-2d0bd16e":"31d6cfe0","chunk-331ae0d2":"f532e316","chunk-3599003e":"1a62b51d","chunk-3f3336d0":"33fb771c","chunk-42323b98":"64f24c7d","chunk-49a19ba8":"67939e51","chunk-4ba7f26b":"8079c706","chunk-5095efbe":"58f409ad","chunk-570f9528":"289dca7b","chunk-58a22374":"bf3cd3b1","chunk-6658342b":"d8c3d9b5","chunk-6cec962d":"698e1e67","chunk-7026f433":"625e47b3","chunk-90b83a0c":"23b21a79","chunk-a0a95438":"3fbca111","chunk-b788ccac":"31d6cfe0","chunk-d04df21a":"6f8b801f","chunk-dd9fcb10":"6109af67","chunk-edd53178":"611b074a","chunk-edd5b888":"7ba8d7af","chunk-fb6b8140":"5661c4ec"}[e]+".css",o=i.p+a,r=document.getElementsByTagName("link"),s=0;s<r.length;s++){var u=r[s],d=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(d===a||d===o))return t()}var f=document.getElementsByTagName("style");for(s=0;s<f.length;s++){u=f[s],d=u.getAttribute("data-href");if(d===a||d===o)return t()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=t,l.onerror=function(t){var a=t&&t.target&&t.target.src||o,r=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");r.code="CSS_CHUNK_LOAD_FAILED",r.request=a,delete c[e],l.parentNode.removeChild(l),n(r)},l.href=o;var h=document.getElementsByTagName("head")[0];h.appendChild(l)}).then(function(){c[e]=0}));var a=o[e];if(0!==a)if(a)t.push(a[2]);else{var r=new Promise(function(t,n){a=o[e]=[t,n]});t.push(a[2]=r);var u,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.src=s(e),u=function(t){d.onerror=d.onload=null,clearTimeout(f);var n=o[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src,r=new Error("Loading chunk "+e+" failed.\n("+a+": "+c+")");r.type=a,r.request=c,n[1](r)}o[e]=void 0}};var f=setTimeout(function(){u({type:"timeout",target:d})},12e4);d.onerror=d.onload=u,document.head.appendChild(d)}return Promise.all(t)},i.m=e,i.c=a,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],d=u.push.bind(u);u.push=t,u=u.slice();for(var f=0;f<u.length;f++)t(u[f]);var l=d;r.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"3d0e":function(e,t,n){},"41cb":function(e,t,n){"use strict";var a=n("2b0e"),c=n("8c4f"),o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-layout",{attrs:{id:"components-layout-demo-top-side"}},[a("a-layout-header",{staticClass:"header"},[a("div",{staticClass:"logo"},[a("img",{attrs:{src:n("cf05")}})]),a("a-menu",{style:{lineHeight:"64px"},attrs:{theme:"light",mode:"horizontal",defaultSelectedKeys:[e.defaultSelectedKeys]},on:{click:e.routerPush}},[a("a-menu-item",{key:"accountManagement"},[e._v("支付管理")]),a("a-menu-item",{key:"classificationOfDishes"},[e._v("食堂管理")])],1)],1),a("a-layout-content",{staticStyle:{padding:"16px 50px 0px 50px"}},[a("router-view")],1),a("a-layout-footer",{staticStyle:{"text-align":"center"}},[e._v("\n mingwork后台管理系统\n ")])],1)},r=[],s=(n("7f7f"),n("28a5"),{name:"home",components:{},data:function(){return{title:[],defaultSelectedKeys:"accountManagement"}},created:function(){this.title=this.$route.meta.title?this.$route.meta.title.split("/"):"",this.defaultSelectedKeys=this.$route.matched[2].name?this.$route.matched[2].name:""},watch:{$route:function(e,t){this.title=e.meta.title.split("/"),this.defaultSelectedKeys=this.$route.matched[1].name?this.$route.matched[1].name:""}},computed:{},methods:{routerPush:function(e){this.$router.push({name:e.key})}},mounted:function(){}}),i=s,u=(n("7db4"),n("2877")),d=Object(u["a"])(i,o,r,!1,null,null,null),f=d.exports;a["a"].use(c["a"]);t["a"]=new c["a"]({routes:[{path:"/",redirect:"/dashboard"},{path:"/home",name:"home",component:f,children:[{path:"/dashboard",name:"dashboard",component:function(e){return n.e("chunk-dd9fcb10").then(function(){var t=[n("63f0")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/canteenManagementHome",name:"canteenManagementHome",component:function(e){return n.e("chunk-4ba7f26b").then(function(){var t=[n("22af")];e.apply(null,t)}.bind(this)).catch(n.oe)},children:[{path:"/classificationOfDishes",name:"classificationOfDishes",meta:{title:"食堂管理/菜品分类"},component:function(e){return n.e("chunk-6658342b").then(function(){var t=[n("e531")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/menuManagement",name:"menuManagement",meta:{title:"食堂管理/菜单管理"},component:function(e){return n.e("chunk-3599003e").then(function(){var t=[n("1159")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/consumptionOrder",name:"consumptionOrder",meta:{title:"食堂管理/消费订单"},component:function(e){return n.e("chunk-edd53178").then(function(){var t=[n("776a")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/consumptionStatistics",name:"consumptionStatistics",meta:{title:"食堂管理/消费统计"},component:function(e){return n.e("chunk-331ae0d2").then(function(){var t=[n("e112")];e.apply(null,t)}.bind(this)).catch(n.oe)}}]},{path:"/paymentManagementHome",name:"paymentManagementHome",component:function(e){return n.e("chunk-570f9528").then(function(){var t=[n("6445")];e.apply(null,t)}.bind(this)).catch(n.oe)},children:[{path:"/accountManagement",name:"accountManagement",meta:{title:"支付管理/账户中心"},component:function(e){return n.e("chunk-90b83a0c").then(function(){var t=[n("217e")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/cashierManagement",name:"cashierManagement",meta:{title:"支付管理/设置收银员"},component:function(e){return n.e("chunk-28723f13").then(function(){var t=[n("67f4")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/SetAdministrators",name:"SetAdministrators",meta:{title:"支付管理/设置管理员"},component:function(e){return n.e("chunk-fb6b8140").then(function(){var t=[n("d79d")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/allowancePayment",name:"allowancePayment",meta:{title:"支付管理/津贴发放"},component:function(e){return n.e("chunk-a0a95438").then(function(){var t=[n("7ae4")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/operationLog",name:"operationLog",meta:{title:"支付管理/操作日志"},component:function(e){return n.e("chunk-b788ccac").then(function(){var t=[n("8607")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/rechargeRecord",name:"rechargeRecord",meta:{title:"支付管理/充值记录"},component:function(e){return n.e("chunk-7026f433").then(function(){var t=[n("4be4")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/recordsOfConsumption",name:"recordsOfConsumption",meta:{title:"支付管理/消费记录"},component:function(e){return n.e("chunk-58a22374").then(function(){var t=[n("9274")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/systemReconciliation",name:"systemReconciliation",meta:{title:"支付管理/系统对账"},component:function(e){return n.e("chunk-13ec64c5").then(function(){var t=[n("948a")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/viewAllowances",name:"viewAllowances",meta:{title:"支付管理/账户中心/查看津贴"},component:function(e){return n.e("chunk-6cec962d").then(function(){var t=[n("b2ca")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/allowanceDetails",name:"allowanceDetails",meta:{title:"支付管理/津贴发放/津贴详情"},component:function(e){return n.e("chunk-edd5b888").then(function(){var t=[n("7e42")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/paymentManagementSetting",name:"paymentManagementSetting",meta:{title:"支付管理/设置中心"},component:function(e){return n.e("chunk-3f3336d0").then(function(){var t=[n("7aeb")];e.apply(null,t)}.bind(this)).catch(n.oe)}}]},{path:"/visitorManagementHome",name:"visitorManagementHome",component:function(e){return n.e("chunk-5095efbe").then(function(){var t=[n("3c25")];e.apply(null,t)}.bind(this)).catch(n.oe)},children:[{path:"/historicalVisitors",name:"historicalVisitors",meta:{title:"食堂管理/菜品分类"},component:function(e){return n.e("chunk-49a19ba8").then(function(){var t=[n("2aad")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/visitorSetting",name:"visitorSetting",meta:{title:"食堂管理/菜单管理"},component:function(e){return n.e("chunk-2d0bd16e").then(function(){var t=[n("2b08")];e.apply(null,t)}.bind(this)).catch(n.oe)}}]}]},{path:"/noPermission",name:"noPermission",component:function(e){return n.e("chunk-d04df21a").then(function(){var t=[n("f186")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/configError",name:"configError",component:function(e){return n.e("chunk-42323b98").then(function(){var t=[n("38e7")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/*",redirect:"/accountManagement"}]})},4678:function(e,t,n){var a={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-SG":"cdab","./en-SG.js":"cdab","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-nz":"6f50","./en-nz.js":"6f50","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-tw":"90ea","./zh-tw.js":"90ea"};function c(e){var t=o(e);return n(t)}function o(e){var t=a[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}c.keys=function(){return Object.keys(a)},c.resolve=o,e.exports=c,c.id="4678"},"56d7":function(e,t,n){"use strict";n.r(t);n("7f7f"),n("cadf"),n("551c"),n("f751"),n("097d");var a=n("2b0e"),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a-locale-provider",{attrs:{locale:e.zh_CN}},[n("div",{attrs:{id:"app"}},[n("router-view")],1)])},o=[],r=n("677e"),s=n.n(r),i=n("c1df"),u=n.n(i);n("5c3a");u.a.locale("zh-cn");var d={data:function(){return{zh_CN:s.a}}},f=d,l=(n("7c55"),n("2877")),h=Object(l["a"])(f,c,o,!1,null,null,null),m=h.exports,p=n("41cb"),b=n("2f62");a["a"].use(b["a"]);var g=new b["a"].Store({state:{},mutations:{},actions:{}}),k=n("98c5"),j=n("39ab"),y=n("681b"),v=n("d49c"),I=n("55f1"),S=n("a071"),w=n("160c"),_=n("8592"),P=n("2fc4"),z=n("0c63"),x=n("5efb"),O=n("b558"),C=n("0020"),A=n("0bb7"),M=n("7571"),T=n("a79d"),E=n("a600"),D=n("ed3b"),U=n("3af3"),$=n("9839"),B=n("f64c"),F=n("de1b"),L=(n("202f"),n("da71"));n("aede");a["a"].use(k["a"]),a["a"].use(j["a"]),a["a"].use(y["a"]),a["a"].use(v["a"]),a["a"].use(I["a"]),a["a"].use(S["a"]),a["a"].use(w["a"]),a["a"].use(_["a"]),a["a"].use(P["a"]),a["a"].use(z["a"]),a["a"].use(x["a"]),a["a"].use(O["a"]),a["a"].use(C["a"]),a["a"].use(A["a"]),a["a"].use(M["a"]),a["a"].use(T["a"]),a["a"].use(E["a"]),a["a"].use(D["a"]),a["a"].use(U["a"]),a["a"].use($["b"]),a["a"].use(O["a"].TextArea),a["a"].use(B["a"]),a["a"].use(F["a"]),a["a"].config.productionTip=!1,a["a"].prototype.$confirm=D["a"].confirm,a["a"].prototype.$message=B["a"],p["a"].beforeEach(function(e,t,n){"noPermission"===e.name||"configError"===e.name?n():sessionStorage.getItem("isFirstAction")?n():(e.redirectedFrom.substr(1)!==localStorage.getItem("orgId")&&(localStorage.clear(),localStorage.setItem("orgId",e.redirectedFrom.substr(1))),L["a"].ddconfig().then(function(e){"no"===e&&n({name:"configError"})}).then(function(){L["a"].ddready("ddpermission").then(function(e){n("noPermission"===e?{name:"noPermission"}:{name:"accountManagement"})}).catch(function(e){console.log("ddpermission",e)})}).catch(function(e){console.log(e,"登录失败")}))}),new a["a"]({router:p["a"],store:g,render:function(e){return e(m)}}).$mount("#app")},"5c48":function(e,t,n){},"7c55":function(e,t,n){"use strict";var a=n("5c48"),c=n.n(a);c.a},"7db4":function(e,t,n){"use strict";var a=n("3d0e"),c=n.n(a);c.a},"9f82":function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"c",function(){return h}),n.d(t,"b",function(){return f});var a=n("2c18"),c=n("41cb"),o=n("7f43"),r=n.n(o),s=n("4328"),i=n.n(s),u=r.a.create(),d="https://gateway.mingwork.com";function f(){return new Promise(function(e,t){a["runtime"].permission.requestAuthCode({corpId:localStorage.getItem("orgId"),onSuccess:function(t){var n=i.a.stringify({code:t.code,orgId:localStorage.getItem("orgId")});return u.post("".concat(d,"/mingpay/v1/skipAuth/getUserInfoByCode?").concat(n)).then(function(t){0===t.data.resultCode?e("press"):40003===t.data.resultCode&&e(t.data.resultCode)}).catch(function(e){console.log(e)})},onFail:function(e){console.log(e)}})})}function l(){return new Promise(function(e,t){a["runtime"].permission.requestAuthCode({corpId:localStorage.getItem("orgId"),onSuccess:function(t){var n=i.a.stringify({code:t.code,orgId:localStorage.getItem("orgId")});return u.post("".concat(d,"/mingpay/v1/skipAuth/getUserInfoByCode?").concat(n)).then(function(t){if(0===t.data.resultCode){var n=t.data.data.mingUserId,a=i.a.stringify({username:n,password:n,scope:"server",grant_type:"password"});u.post("".concat(d,"/auth/oauth/token"),a,{headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8",Authorization:"Basic bWluZ3BheS13ZWI6bWluZ3BheS13ZWI="}}).then(function(t){localStorage.setItem("access_token_".concat(localStorage.getItem("orgId")),t.data.access_token),localStorage.setItem("refresh_token_".concat(localStorage.getItem("orgId")),t.data.refresh_token),localStorage.setItem("expires_in_".concat(localStorage.getItem("orgId")),1e3*t.data.expires_in),localStorage.setItem("start_time_".concat(localStorage.getItem("orgId")),(new Date).getTime()),e("ok")}).catch(function(){})}else 40003===t.data.resultCode&&e(t.data.resultCode)}).catch(function(e){console.log(e)})},onFail:function(e){console.log(e)}})})}function h(){var e=i.a.stringify({refresh_token:localStorage.getItem("refresh_token"),grant_type:"refresh_token"});return new Promise(function(t,n){u.post("".concat(d,"/auth/oauth/token"),e,{headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8",Authorization:"Basic bWluZ3BheS13ZWI6bWluZ3BheS13ZWI="}}).then(function(e){localStorage.setItem("access_token_".concat(localStorage.getItem("orgId")),e.data.access_token),localStorage.setItem("refresh_token_localStorage.getItem('orgId')",e.data.refresh_token),localStorage.setItem("expires_in_localStorage.getItem('orgId')",1e3*e.data.expires_in),localStorage.setItem("start_time_localStorage.getItem('orgId')",(new Date).getTime()),t("ok")}).catch(function(e){console.log("refreshToken",e),t(e)})})}u.interceptors.response.use(function(e){return Promise.resolve(e)},function(e){return new Promise(function(t,n){e&&401===e.response.status&&401===e.response.data.code?h():e&&426===e.response.status&&1===e.response.data.code&&l().then(function(e){40003===e&&c["a"].push({path:"/noPermission"})})})})},aede:function(e,t,n){},cf05:function(e,t,n){e.exports=n.p+"img/logo.513bf7ab.png"},da71:function(e,t,n){"use strict";n.d(t,"a",function(){return d});n("a481");var a=n("2c18"),c=n("7f43"),o=n.n(c),r=n("4328"),s=n.n(r),i=n("9f82"),u="https://gateway.mingwork.com",d={ddconfig:function(){var e=s.a.stringify({url:location.href.replace(window.location.hash,""),orgId:localStorage.getItem("orgId")});return o.a.post("".concat(u,"/mingpay/v1/skipAuth/getJsAuthenticationParameter?").concat(e)).then(function(e){var t=e.data.data.timeStamp,n=e.data.data.nonceStr,c=e.data.data.signature,o=e.data.data.agentId;a["config"]({agentId:o,corpId:localStorage.getItem("orgId"),timeStamp:t,nonceStr:n,signature:c,type:0,jsApiList:["biz.contact.choose","biz.contact.complexPicker"]}),sessionStorage.setItem("isFirstAction",!0),a["error"](function(e){return console.log("dd error: "+JSON.stringify(e)),"no"})})},ddready:function(e){return new Promise(function(t,n){a["ready"](function(){return t(d[e]())})})},ddpermission:function(){return new Promise(function(e,t){Object(i["b"])().then(function(t){if(40003===t)e("noPermission");else{var n=(new Date).getTime()-localStorage.getItem("start_time_".concat(localStorage.getItem("orgId")))<localStorage.getItem("expires_in_".concat(localStorage.getItem("orgId")))-3e5;localStorage.getItem("access_token_".concat(localStorage.getItem("orgId")))&&n?e("ok"):localStorage.getItem("refresh_token")?Object(i["c"])().then(function(t){"ok"===t&&e("ok")}):Object(i["a"])().then(function(t){e("noPermission"===t?"noPermission":"ok")})}})})},ddchooseOne:function(){return new Promise(function(e,t){a["biz"].contact.choose({multiple:!1,users:[],corpId:localStorage.getItem("orgId"),max:1,onSuccess:function(t){return e(t)},onFail:function(e){return t(e)}})})},ddchoose:function(){return new Promise(function(e,t){a["biz"].contact.complexPicker({title:"人员选择",corpId:localStorage.getItem("orgId"),multiple:!0,limitTips:"超出了",maxUsers:1e3,pickedUsers:[],pickedDepartments:[],disabledUsers:[],disabledDepartments:[],requiredUsers:[],requiredDepartments:[],appId:localStorage.getItem("agentId"),permissionType:"GLOBAL",responseUserOnly:!1,startWithDepartmentId:-1,onSuccess:function(t){return e(t)},onFail:function(e){return t(e)}})})}}}}); (function(e){function t(t){for(var a,c,s=t[0],i=t[1],u=t[2],d=0,f=[];d<s.length;d++)c=s[d],o[c]&&f.push(o[c][0]),o[c]=0;for(a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a]);l&&l(t);while(f.length)f.shift()();return r.push.apply(r,u||[]),n()}function n(){for(var e,t=0;t<r.length;t++){for(var n=r[t],a=!0,c=1;c<n.length;c++){var s=n[c];0!==o[s]&&(a=!1)}a&&(r.splice(t--,1),e=i(i.s=n[0]))}return e}var a={},c={app:0},o={app:0},r=[];function s(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-13ec64c5":"feb2838f","chunk-28723f13":"a258c368","chunk-2d0bd16e":"de89ee9c","chunk-3599003e":"77d9b8d9","chunk-3f3336d0":"f22a8e38","chunk-42323b98":"ca0331ff","chunk-49a19ba8":"c9a5f78f","chunk-4ba7f26b":"1ce70aaf","chunk-5095efbe":"ae3a92ac","chunk-56890f8c":"5b0cfe4d","chunk-570f9528":"101eb842","chunk-58a22374":"ed08740f","chunk-6658342b":"c9f90e1d","chunk-6cec962d":"8347aa7f","chunk-7026f433":"7fa23e7c","chunk-90b83a0c":"e3338d42","chunk-a0a95438":"2299ce8a","chunk-b788ccac":"1c9e8d29","chunk-d04df21a":"4097ae13","chunk-dd9fcb10":"a5087450","chunk-edd53178":"1e85550d","chunk-edd5b888":"bf1fe3a3","chunk-fb6b8140":"64b0f1cf"}[e]+".js"}function i(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.e=function(e){var t=[],n={"chunk-13ec64c5":1,"chunk-28723f13":1,"chunk-3599003e":1,"chunk-3f3336d0":1,"chunk-42323b98":1,"chunk-49a19ba8":1,"chunk-4ba7f26b":1,"chunk-5095efbe":1,"chunk-56890f8c":1,"chunk-570f9528":1,"chunk-58a22374":1,"chunk-6658342b":1,"chunk-6cec962d":1,"chunk-7026f433":1,"chunk-90b83a0c":1,"chunk-a0a95438":1,"chunk-d04df21a":1,"chunk-dd9fcb10":1,"chunk-edd53178":1,"chunk-edd5b888":1,"chunk-fb6b8140":1};c[e]?t.push(c[e]):0!==c[e]&&n[e]&&t.push(c[e]=new Promise(function(t,n){for(var a="css/"+({}[e]||e)+"."+{"chunk-13ec64c5":"52ec5803","chunk-28723f13":"90e02cb9","chunk-2d0bd16e":"31d6cfe0","chunk-3599003e":"1a62b51d","chunk-3f3336d0":"33fb771c","chunk-42323b98":"64f24c7d","chunk-49a19ba8":"67939e51","chunk-4ba7f26b":"8079c706","chunk-5095efbe":"58f409ad","chunk-56890f8c":"b58ddb49","chunk-570f9528":"289dca7b","chunk-58a22374":"bf3cd3b1","chunk-6658342b":"d8c3d9b5","chunk-6cec962d":"698e1e67","chunk-7026f433":"625e47b3","chunk-90b83a0c":"23b21a79","chunk-a0a95438":"3fbca111","chunk-b788ccac":"31d6cfe0","chunk-d04df21a":"6f8b801f","chunk-dd9fcb10":"6109af67","chunk-edd53178":"611b074a","chunk-edd5b888":"7ba8d7af","chunk-fb6b8140":"5661c4ec"}[e]+".css",o=i.p+a,r=document.getElementsByTagName("link"),s=0;s<r.length;s++){var u=r[s],d=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(d===a||d===o))return t()}var f=document.getElementsByTagName("style");for(s=0;s<f.length;s++){u=f[s],d=u.getAttribute("data-href");if(d===a||d===o)return t()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=t,l.onerror=function(t){var a=t&&t.target&&t.target.src||o,r=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");r.code="CSS_CHUNK_LOAD_FAILED",r.request=a,delete c[e],l.parentNode.removeChild(l),n(r)},l.href=o;var h=document.getElementsByTagName("head")[0];h.appendChild(l)}).then(function(){c[e]=0}));var a=o[e];if(0!==a)if(a)t.push(a[2]);else{var r=new Promise(function(t,n){a=o[e]=[t,n]});t.push(a[2]=r);var u,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.src=s(e),u=function(t){d.onerror=d.onload=null,clearTimeout(f);var n=o[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src,r=new Error("Loading chunk "+e+" failed.\n("+a+": "+c+")");r.type=a,r.request=c,n[1](r)}o[e]=void 0}};var f=setTimeout(function(){u({type:"timeout",target:d})},12e4);d.onerror=d.onload=u,document.head.appendChild(d)}return Promise.all(t)},i.m=e,i.c=a,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],d=u.push.bind(u);u.push=t,u=u.slice();for(var f=0;f<u.length;f++)t(u[f]);var l=d;r.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"3d0e":function(e,t,n){},"41cb":function(e,t,n){"use strict";var a=n("2b0e"),c=n("8c4f"),o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-layout",{attrs:{id:"components-layout-demo-top-side"}},[a("a-layout-header",{staticClass:"header"},[a("div",{staticClass:"logo"},[a("img",{attrs:{src:n("cf05")}})]),a("a-menu",{style:{lineHeight:"64px"},attrs:{theme:"light",mode:"horizontal",defaultSelectedKeys:[e.defaultSelectedKeys]},on:{click:e.routerPush}},[a("a-menu-item",{key:"accountManagement"},[e._v("支付管理")]),a("a-menu-item",{key:"classificationOfDishes"},[e._v("食堂管理")])],1)],1),a("a-layout-content",{staticStyle:{padding:"16px 50px 0px 50px"}},[a("router-view")],1),a("a-layout-footer",{staticStyle:{"text-align":"center"}},[e._v("\n mingwork后台管理系统\n ")])],1)},r=[],s=(n("7f7f"),n("28a5"),{name:"home",components:{},data:function(){return{title:[],defaultSelectedKeys:"accountManagement"}},created:function(){this.title=this.$route.meta.title?this.$route.meta.title.split("/"):"",this.defaultSelectedKeys=this.$route.matched[2].name?this.$route.matched[2].name:""},watch:{$route:function(e,t){this.title=e.meta.title.split("/"),this.defaultSelectedKeys=this.$route.matched[1].name?this.$route.matched[1].name:""}},computed:{},methods:{routerPush:function(e){this.$router.push({name:e.key})}},mounted:function(){}}),i=s,u=(n("7db4"),n("2877")),d=Object(u["a"])(i,o,r,!1,null,null,null),f=d.exports;a["a"].use(c["a"]);t["a"]=new c["a"]({routes:[{path:"/",redirect:"/dashboard"},{path:"/home",name:"home",component:f,children:[{path:"/dashboard",name:"dashboard",component:function(e){return n.e("chunk-dd9fcb10").then(function(){var t=[n("63f0")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/canteenManagementHome",name:"canteenManagementHome",component:function(e){return n.e("chunk-4ba7f26b").then(function(){var t=[n("22af")];e.apply(null,t)}.bind(this)).catch(n.oe)},children:[{path:"/classificationOfDishes",name:"classificationOfDishes",meta:{title:"食堂管理/菜品分类"},component:function(e){return n.e("chunk-6658342b").then(function(){var t=[n("e531")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/menuManagement",name:"menuManagement",meta:{title:"食堂管理/菜单管理"},component:function(e){return n.e("chunk-3599003e").then(function(){var t=[n("1159")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/consumptionOrder",name:"consumptionOrder",meta:{title:"食堂管理/消费订单"},component:function(e){return n.e("chunk-edd53178").then(function(){var t=[n("776a")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/consumptionStatistics",name:"consumptionStatistics",meta:{title:"食堂管理/消费统计"},component:function(e){return n.e("chunk-56890f8c").then(function(){var t=[n("e112")];e.apply(null,t)}.bind(this)).catch(n.oe)}}]},{path:"/paymentManagementHome",name:"paymentManagementHome",component:function(e){return n.e("chunk-570f9528").then(function(){var t=[n("6445")];e.apply(null,t)}.bind(this)).catch(n.oe)},children:[{path:"/accountManagement",name:"accountManagement",meta:{title:"支付管理/账户中心"},component:function(e){return n.e("chunk-90b83a0c").then(function(){var t=[n("217e")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/cashierManagement",name:"cashierManagement",meta:{title:"支付管理/设置收银员"},component:function(e){return n.e("chunk-28723f13").then(function(){var t=[n("67f4")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/SetAdministrators",name:"SetAdministrators",meta:{title:"支付管理/设置管理员"},component:function(e){return n.e("chunk-fb6b8140").then(function(){var t=[n("d79d")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/allowancePayment",name:"allowancePayment",meta:{title:"支付管理/津贴发放"},component:function(e){return n.e("chunk-a0a95438").then(function(){var t=[n("7ae4")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/operationLog",name:"operationLog",meta:{title:"支付管理/操作日志"},component:function(e){return n.e("chunk-b788ccac").then(function(){var t=[n("8607")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/rechargeRecord",name:"rechargeRecord",meta:{title:"支付管理/充值记录"},component:function(e){return n.e("chunk-7026f433").then(function(){var t=[n("4be4")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/recordsOfConsumption",name:"recordsOfConsumption",meta:{title:"支付管理/消费记录"},component:function(e){return n.e("chunk-58a22374").then(function(){var t=[n("9274")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/systemReconciliation",name:"systemReconciliation",meta:{title:"支付管理/系统对账"},component:function(e){return n.e("chunk-13ec64c5").then(function(){var t=[n("948a")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/viewAllowances",name:"viewAllowances",meta:{title:"支付管理/账户中心/查看津贴"},component:function(e){return n.e("chunk-6cec962d").then(function(){var t=[n("b2ca")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/allowanceDetails",name:"allowanceDetails",meta:{title:"支付管理/津贴发放/津贴详情"},component:function(e){return n.e("chunk-edd5b888").then(function(){var t=[n("7e42")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/paymentManagementSetting",name:"paymentManagementSetting",meta:{title:"支付管理/设置中心"},component:function(e){return n.e("chunk-3f3336d0").then(function(){var t=[n("7aeb")];e.apply(null,t)}.bind(this)).catch(n.oe)}}]},{path:"/visitorManagementHome",name:"visitorManagementHome",component:function(e){return n.e("chunk-5095efbe").then(function(){var t=[n("3c25")];e.apply(null,t)}.bind(this)).catch(n.oe)},children:[{path:"/historicalVisitors",name:"historicalVisitors",meta:{title:"食堂管理/菜品分类"},component:function(e){return n.e("chunk-49a19ba8").then(function(){var t=[n("2aad")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/visitorSetting",name:"visitorSetting",meta:{title:"食堂管理/菜单管理"},component:function(e){return n.e("chunk-2d0bd16e").then(function(){var t=[n("2b08")];e.apply(null,t)}.bind(this)).catch(n.oe)}}]}]},{path:"/noPermission",name:"noPermission",component:function(e){return n.e("chunk-d04df21a").then(function(){var t=[n("f186")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/configError",name:"configError",component:function(e){return n.e("chunk-42323b98").then(function(){var t=[n("38e7")];e.apply(null,t)}.bind(this)).catch(n.oe)}},{path:"/*",redirect:"/accountManagement"}]})},4678:function(e,t,n){var a={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-SG":"cdab","./en-SG.js":"cdab","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-nz":"6f50","./en-nz.js":"6f50","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-tw":"90ea","./zh-tw.js":"90ea"};function c(e){var t=o(e);return n(t)}function o(e){var t=a[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}c.keys=function(){return Object.keys(a)},c.resolve=o,e.exports=c,c.id="4678"},"56d7":function(e,t,n){"use strict";n.r(t);n("7f7f"),n("cadf"),n("551c"),n("f751"),n("097d");var a=n("2b0e"),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a-locale-provider",{attrs:{locale:e.zh_CN}},[n("div",{attrs:{id:"app"}},[n("router-view")],1)])},o=[],r=n("677e"),s=n.n(r),i=n("c1df"),u=n.n(i);n("5c3a");u.a.locale("zh-cn");var d={data:function(){return{zh_CN:s.a}}},f=d,l=(n("7c55"),n("2877")),h=Object(l["a"])(f,c,o,!1,null,null,null),m=h.exports,p=n("41cb"),b=n("2f62");a["a"].use(b["a"]);var g=new b["a"].Store({state:{},mutations:{},actions:{}}),k=n("98c5"),j=n("39ab"),y=n("681b"),v=n("d49c"),I=n("55f1"),S=n("a071"),w=n("160c"),_=n("8592"),P=n("2fc4"),z=n("0c63"),x=n("5efb"),O=n("b558"),C=n("0020"),A=n("0bb7"),M=n("7571"),T=n("a79d"),E=n("a600"),D=n("ed3b"),U=n("3af3"),$=n("9839"),B=n("f64c"),F=n("de1b"),L=(n("202f"),n("da71"));n("aede");a["a"].use(k["a"]),a["a"].use(j["a"]),a["a"].use(y["a"]),a["a"].use(v["a"]),a["a"].use(I["a"]),a["a"].use(S["a"]),a["a"].use(w["a"]),a["a"].use(_["a"]),a["a"].use(P["a"]),a["a"].use(z["a"]),a["a"].use(x["a"]),a["a"].use(O["a"]),a["a"].use(C["a"]),a["a"].use(A["a"]),a["a"].use(M["a"]),a["a"].use(T["a"]),a["a"].use(E["a"]),a["a"].use(D["a"]),a["a"].use(U["a"]),a["a"].use($["b"]),a["a"].use(O["a"].TextArea),a["a"].use(B["a"]),a["a"].use(F["a"]),a["a"].config.productionTip=!1,a["a"].prototype.$confirm=D["a"].confirm,a["a"].prototype.$message=B["a"],p["a"].beforeEach(function(e,t,n){"noPermission"===e.name||"configError"===e.name?n():sessionStorage.getItem("isFirstAction")?n():(e.redirectedFrom.substr(1)!==localStorage.getItem("orgId")&&(localStorage.clear(),localStorage.setItem("orgId",e.redirectedFrom.substr(1))),L["a"].ddconfig().then(function(e){"no"===e&&n({name:"configError"})}).then(function(){L["a"].ddready("ddpermission").then(function(e){n("noPermission"===e?{name:"noPermission"}:{name:"accountManagement"})}).catch(function(e){console.log("ddpermission",e)})}).catch(function(e){console.log(e,"登录失败")}))}),new a["a"]({router:p["a"],store:g,render:function(e){return e(m)}}).$mount("#app")},"5c48":function(e,t,n){},"7c55":function(e,t,n){"use strict";var a=n("5c48"),c=n.n(a);c.a},"7db4":function(e,t,n){"use strict";var a=n("3d0e"),c=n.n(a);c.a},"9f82":function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"c",function(){return h}),n.d(t,"b",function(){return f});var a=n("2c18"),c=n("41cb"),o=n("7f43"),r=n.n(o),s=n("4328"),i=n.n(s),u=r.a.create(),d="https://gateway.mingwork.com";function f(){return new Promise(function(e,t){a["runtime"].permission.requestAuthCode({corpId:localStorage.getItem("orgId"),onSuccess:function(t){var n=i.a.stringify({code:t.code,orgId:localStorage.getItem("orgId")});return u.post("".concat(d,"/mingpay/v1/skipAuth/getUserInfoByCode?").concat(n)).then(function(t){0===t.data.resultCode?e("press"):40003===t.data.resultCode&&e(t.data.resultCode)}).catch(function(e){console.log(e)})},onFail:function(e){console.log(e)}})})}function l(){return new Promise(function(e,t){a["runtime"].permission.requestAuthCode({corpId:localStorage.getItem("orgId"),onSuccess:function(t){var n=i.a.stringify({code:t.code,orgId:localStorage.getItem("orgId")});return u.post("".concat(d,"/mingpay/v1/skipAuth/getUserInfoByCode?").concat(n)).then(function(t){if(0===t.data.resultCode){var n=t.data.data.mingUserId,a=i.a.stringify({username:n,password:n,scope:"server",grant_type:"password"});u.post("".concat(d,"/auth/oauth/token"),a,{headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8",Authorization:"Basic bWluZ3BheS13ZWI6bWluZ3BheS13ZWI="}}).then(function(t){localStorage.setItem("access_token_".concat(localStorage.getItem("orgId")),t.data.access_token),localStorage.setItem("refresh_token_".concat(localStorage.getItem("orgId")),t.data.refresh_token),localStorage.setItem("expires_in_".concat(localStorage.getItem("orgId")),1e3*t.data.expires_in),localStorage.setItem("start_time_".concat(localStorage.getItem("orgId")),(new Date).getTime()),e("ok")}).catch(function(){})}else 40003===t.data.resultCode&&e(t.data.resultCode)}).catch(function(e){console.log(e)})},onFail:function(e){console.log(e)}})})}function h(){var e=i.a.stringify({refresh_token:localStorage.getItem("refresh_token"),grant_type:"refresh_token"});return new Promise(function(t,n){u.post("".concat(d,"/auth/oauth/token"),e,{headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8",Authorization:"Basic bWluZ3BheS13ZWI6bWluZ3BheS13ZWI="}}).then(function(e){localStorage.setItem("access_token_".concat(localStorage.getItem("orgId")),e.data.access_token),localStorage.setItem("refresh_token_localStorage.getItem('orgId')",e.data.refresh_token),localStorage.setItem("expires_in_localStorage.getItem('orgId')",1e3*e.data.expires_in),localStorage.setItem("start_time_localStorage.getItem('orgId')",(new Date).getTime()),t("ok")}).catch(function(e){console.log("refreshToken",e),t(e)})})}u.interceptors.response.use(function(e){return Promise.resolve(e)},function(e){return new Promise(function(t,n){e&&401===e.response.status&&401===e.response.data.code?h():e&&426===e.response.status&&1===e.response.data.code&&l().then(function(e){40003===e&&c["a"].push({path:"/noPermission"})})})})},aede:function(e,t,n){},cf05:function(e,t,n){e.exports=n.p+"img/logo.513bf7ab.png"},da71:function(e,t,n){"use strict";n.d(t,"a",function(){return d});n("a481");var a=n("2c18"),c=n("7f43"),o=n.n(c),r=n("4328"),s=n.n(r),i=n("9f82"),u="https://gateway.mingwork.com",d={ddconfig:function(){var e=s.a.stringify({url:location.href.replace(window.location.hash,""),orgId:localStorage.getItem("orgId")});return o.a.post("".concat(u,"/mingpay/v1/skipAuth/getJsAuthenticationParameter?").concat(e)).then(function(e){var t=e.data.data.timeStamp,n=e.data.data.nonceStr,c=e.data.data.signature,o=e.data.data.agentId;a["config"]({agentId:o,corpId:localStorage.getItem("orgId"),timeStamp:t,nonceStr:n,signature:c,type:0,jsApiList:["biz.contact.choose","biz.contact.complexPicker"]}),sessionStorage.setItem("isFirstAction",!0),a["error"](function(e){return console.log("dd error: "+JSON.stringify(e)),"no"})})},ddready:function(e){return new Promise(function(t,n){a["ready"](function(){return t(d[e]())})})},ddpermission:function(){return new Promise(function(e,t){Object(i["b"])().then(function(t){if(40003===t)e("noPermission");else{var n=(new Date).getTime()-localStorage.getItem("start_time_".concat(localStorage.getItem("orgId")))<localStorage.getItem("expires_in_".concat(localStorage.getItem("orgId")))-3e5;localStorage.getItem("access_token_".concat(localStorage.getItem("orgId")))&&n?e("ok"):localStorage.getItem("refresh_token")?Object(i["c"])().then(function(t){"ok"===t&&e("ok")}):Object(i["a"])().then(function(t){e("noPermission"===t?"noPermission":"ok")})}})})},ddchooseOne:function(){return new Promise(function(e,t){a["biz"].contact.choose({multiple:!1,users:[],corpId:localStorage.getItem("orgId"),max:1,onSuccess:function(t){return e(t)},onFail:function(e){return t(e)}})})},ddchoose:function(){return new Promise(function(e,t){a["biz"].contact.complexPicker({title:"人员选择",corpId:localStorage.getItem("orgId"),multiple:!0,limitTips:"超出了",maxUsers:1e3,pickedUsers:[],pickedDepartments:[],disabledUsers:[],disabledDepartments:[],requiredUsers:[],requiredDepartments:[],appId:localStorage.getItem("agentId"),permissionType:"GLOBAL",responseUserOnly:!1,startWithDepartmentId:-1,onSuccess:function(t){return e(t)},onFail:function(e){return t(e)}})})}}}});
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-331ae0d2"],{"0d5e":function(t,e,a){"use strict";a.d(e,"a",function(){return d});var n,o=a("7f43"),r=a.n(o),c=a("4328"),i=a.n(c),s=a("9f82"),u=a("f64c"),l="https://gateway.mingwork.com";r.a.interceptors.request.use(function(t){var e=(new Date).getTime()-localStorage.getItem("start_time_".concat(localStorage.getItem("orgId")))<localStorage.getItem("expires_in")-3e5;return e?(t.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token_".concat(localStorage.getItem("orgId")))),t):new Promise(function(t,e){Object(s["c"])().then(function(t){console.log("res",t)}).catch(function(t){console.log(t)})})},function(t){return n.close(),Promise.reject(t)}),r.a.interceptors.response.use(function(t){return Promise.resolve(t)},function(t){return new Promise(function(e,a){if(console.log(t),t&&t.response)switch(t.response.status){case 401:u["a"].error("网络异常请重试"),Object(s["c"])().then(function(a){console.log("refreshToken1",a),e(t)});break;case 426:u["a"].error("网络异常请重试"),Object(s["a"])().then(function(a){e(t)});break;case 504:u["a"].error("系统异常"),e(t);break;case 500:u["a"].error("系统繁忙"),e(t);break;default:u["a"].error("未知问题"),e(t),a(new Error(t))}else u["a"].error("未知问题"),e(t)})});var d={post:function(t,e){return new Promise(function(a,n){var o=void 0===e?"":e;r.a.post("".concat(l).concat(t),o,{headers:{"Content-Type":"application/json; charset=UTF-8"}}).then(function(t){return a(t)})})},get:function(t,e){return new Promise(function(a,n){var o=void 0===e?"":i.a.stringify(e);r.a.get("".concat(l).concat(t,"?").concat(o)).then(function(t){return a(t)})})}}},"13f6":function(t,e,a){},3846:function(t,e,a){a("9e1e")&&"g"!=/./g.flags&&a("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:a("0bfb")})},"6b54":function(t,e,a){"use strict";a("3846");var n=a("cb7c"),o=a("0bfb"),r=a("9e1e"),c="toString",i=/./[c],s=function(t){a("2aba")(RegExp.prototype,c,t,!0)};a("79e5")(function(){return"/a/b"!=i.call({source:"a",flags:"b"})})?s(function(){var t=n(this);return"/".concat(t.source,"/","flags"in t?t.flags:!r&&t instanceof RegExp?o.call(t):void 0)}):i.name!=c&&s(function(){return i.call(this)})},e112:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"consumptionStatistics"},[a("div",{staticClass:"searchBox"},[a("a-date-picker",{attrs:{disabledDate:t.disabledStartDate,format:"YYYY-MM-DD",placeholder:"开始日期"},on:{change:t.onChangeStartValue,openChange:t.handleStartOpenChange},model:{value:t.startValue,callback:function(e){t.startValue=e},expression:"startValue"}}),t._v("\n ~\n "),a("a-date-picker",{attrs:{disabledDate:t.disabledEndDate,format:"YYYY-MM-DD",placeholder:"结束日期",open:t.endOpen},on:{change:t.onChangeEndValue,openChange:t.handleEndOpenChange},model:{value:t.endValue,callback:function(e){t.endValue=e},expression:"endValue"}}),a("a-button",{attrs:{type:"primary"},on:{click:t.getStatisticalProductPage}},[t._v("查询")])],1),a("div",{staticClass:"title"},[t._v("账单汇总")]),a("a-table",{attrs:{columns:t.columns,dataSource:t.dataSource,rowKey:"productId",pagination:t.pagination},on:{change:t.handleTableChange},scopedSlots:t._u([{key:"productIcon",fn:function(t){return a("span",{},[a("img",{staticStyle:{width:"100px"},attrs:{src:t,alt:""}})])}}])},[a("span",{attrs:{slot:"productName"},slot:"productName"}),a("span",{attrs:{slot:"productStatisticalQuantity"},slot:"productStatisticalQuantity"})])],1)},o=[],r=(a("6b54"),a("0d5e")),c=a("c1df"),i=a.n(c),s={name:"consumptionStatistics",data:function(){return{startTime:"",endTime:"",startValue:null,endValue:null,endOpen:!1,pagination:{current:1,defaultCurrent:10,defaultPageSize:10,hideOnSinglePage:!0,total:0},columns:[{title:"产品图",dataIndex:"productIcon",scopedSlots:{customRender:"productIcon"}},{title:"菜名",dataIndex:"productName"},{title:"售出(份数)",dataIndex:"productStatisticalQuantity"}],dataSource:[]}},created:function(){var t=new Date,e=t.getFullYear(),a=t.getMonth()+1,n=new Date(e,a,0).getDate().toString().length>1?new Date(e,a,0).getDate():"0"+new Date(e,a,0).getDate();this.startTime="".concat(e,"-").concat(a.toString().length>1?a:"0"+a,"-01"),this.endTime="".concat(e,"-").concat(a.toString().length>1?a:"0"+a,"-").concat(n),this.startValue=this.moment("".concat(e,"-").concat(a.toString().length>1?a:"0"+a,"-01"),"YYYY-MM-DD"),this.endValue=this.moment("".concat(e,"-").concat(a.toString().length>1?a:"0"+a,"-").concat(n),"YYYY-MM-DD"),this.getStatisticalProductPage()},methods:{moment:i.a,disabledStartDate:function(t){var e=this.endValue;return!(!t||!e)&&(t.valueOf()>e.valueOf()||t.valueOf()>=i()().endOf("day").valueOf())},disabledEndDate:function(t){var e=this.startValue;return!(!t||!e)&&(e.valueOf()>t.valueOf()||t.valueOf()>i()().endOf("day").valueOf())},handleStartOpenChange:function(t){t||(this.endOpen=!0)},handleEndOpenChange:function(t){this.endOpen=t},onChangeStartValue:function(t,e){this.startTime=e},onChangeEndValue:function(t,e){this.endTime=e},getStatisticalProductPage:function(){var t=this,e={startTime:this.startTime,endTime:this.endTime,pageNumber:10,currentPage:this.pagination.current};r["a"].post("/mingpay/v1/isv/order/statistical_product_page",e).then(function(e){0===e.data.resultCode?(t.dataSource=e.data.data.list,t.pagination.total=e.data.data.total):t.$message.error(e.data.message)})},handleTableChange:function(t,e,a){this.pagination.current=t.current,this.getStatisticalProductPage()}}},u=s,l=(a("f7f0"),a("2877")),d=Object(l["a"])(u,n,o,!1,null,"99e06596",null);e["default"]=d.exports},f7f0:function(t,e,a){"use strict";var n=a("13f6"),o=a.n(n);o.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-56890f8c"],{"0d5e":function(t,e,a){"use strict";a.d(e,"a",function(){return d});var n,o=a("7f43"),r=a.n(o),c=a("4328"),i=a.n(c),s=a("9f82"),u=a("f64c"),l="https://gateway.mingwork.com";r.a.interceptors.request.use(function(t){var e=(new Date).getTime()-localStorage.getItem("start_time_".concat(localStorage.getItem("orgId")))<localStorage.getItem("expires_in")-3e5;return e?(t.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token_".concat(localStorage.getItem("orgId")))),t):new Promise(function(t,e){Object(s["c"])().then(function(t){console.log("res",t)}).catch(function(t){console.log(t)})})},function(t){return n.close(),Promise.reject(t)}),r.a.interceptors.response.use(function(t){return Promise.resolve(t)},function(t){return new Promise(function(e,a){if(console.log(t),t&&t.response)switch(t.response.status){case 401:u["a"].error("网络异常请重试"),Object(s["c"])().then(function(a){console.log("refreshToken1",a),e(t)});break;case 426:u["a"].error("网络异常请重试"),Object(s["a"])().then(function(a){e(t)});break;case 504:u["a"].error("系统异常"),e(t);break;case 500:u["a"].error("系统繁忙"),e(t);break;default:u["a"].error("未知问题"),e(t),a(new Error(t))}else u["a"].error("未知问题"),e(t)})});var d={post:function(t,e){return new Promise(function(a,n){var o=void 0===e?"":e;r.a.post("".concat(l).concat(t),o,{headers:{"Content-Type":"application/json; charset=UTF-8"}}).then(function(t){return a(t)})})},get:function(t,e){return new Promise(function(a,n){var o=void 0===e?"":i.a.stringify(e);r.a.get("".concat(l).concat(t,"?").concat(o)).then(function(t){return a(t)})})}}},3846:function(t,e,a){a("9e1e")&&"g"!=/./g.flags&&a("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:a("0bfb")})},"5eee":function(t,e,a){"use strict";var n=a("84af"),o=a.n(n);o.a},"6b54":function(t,e,a){"use strict";a("3846");var n=a("cb7c"),o=a("0bfb"),r=a("9e1e"),c="toString",i=/./[c],s=function(t){a("2aba")(RegExp.prototype,c,t,!0)};a("79e5")(function(){return"/a/b"!=i.call({source:"a",flags:"b"})})?s(function(){var t=n(this);return"/".concat(t.source,"/","flags"in t?t.flags:!r&&t instanceof RegExp?o.call(t):void 0)}):i.name!=c&&s(function(){return i.call(this)})},"84af":function(t,e,a){},e112:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"consumptionStatistics"},[a("div",{staticClass:"searchBox"},[a("a-date-picker",{attrs:{disabledDate:t.disabledStartDate,format:"YYYY-MM-DD",placeholder:"开始日期"},on:{change:t.onChangeStartValue,openChange:t.handleStartOpenChange},model:{value:t.startValue,callback:function(e){t.startValue=e},expression:"startValue"}}),t._v("\n ~\n "),a("a-date-picker",{attrs:{disabledDate:t.disabledEndDate,format:"YYYY-MM-DD",placeholder:"结束日期",open:t.endOpen},on:{change:t.onChangeEndValue,openChange:t.handleEndOpenChange},model:{value:t.endValue,callback:function(e){t.endValue=e},expression:"endValue"}}),a("a-button",{attrs:{type:"primary"},on:{click:t.getStatisticalProductPage}},[t._v("查询")])],1),a("div",{staticClass:"title"},[t._v("账单汇总")]),a("a-table",{attrs:{columns:t.columns,dataSource:t.dataSource,rowKey:"productId",pagination:t.pagination},on:{change:t.handleTableChange},scopedSlots:t._u([{key:"productIcon",fn:function(t){return a("span",{},[a("img",{staticStyle:{width:"100px"},attrs:{src:t,alt:""}})])}}])},[a("span",{attrs:{slot:"productName"},slot:"productName"}),a("span",{attrs:{slot:"productStatisticalQuantity"},slot:"productStatisticalQuantity"})])],1)},o=[],r=(a("6b54"),a("0d5e")),c=a("c1df"),i=a.n(c),s={name:"consumptionStatistics",data:function(){return{startTime:"",endTime:"",startValue:null,endValue:null,endOpen:!1,pagination:{current:1,defaultCurrent:10,defaultPageSize:10,hideOnSinglePage:!0,total:0},columns:[{title:"产品图",dataIndex:"productIcon",scopedSlots:{customRender:"productIcon"}},{title:"菜名",dataIndex:"productName"},{title:"售出(份数)",dataIndex:"productStatisticalQuantity"}],dataSource:[]}},created:function(){var t=new Date,e=t.getFullYear(),a=t.getMonth()+1,n=new Date(e,a,0).getDate().toString().length>1?new Date(e,a,0).getDate():"0"+new Date(e,a,0).getDate();this.startTime="".concat(e,"-").concat(a.toString().length>1?a:"0"+a,"-01"),this.endTime="".concat(e,"-").concat(a.toString().length>1?a:"0"+a,"-").concat(n),this.startValue=this.moment("".concat(e,"-").concat(a.toString().length>1?a:"0"+a,"-01"),"YYYY-MM-DD"),this.endValue=this.moment("".concat(e,"-").concat(a.toString().length>1?a:"0"+a,"-").concat(n),"YYYY-MM-DD"),this.getStatisticalProductPage()},methods:{moment:i.a,disabledStartDate:function(t){var e=this.endValue;return!(!t||!e)&&(t.valueOf()>e.valueOf()||t.valueOf()>=i()().endOf("day").valueOf())},disabledEndDate:function(t){var e=this.startValue;return!(!t||!e)&&(e.valueOf()>t.valueOf()||t.valueOf()>i()().endOf("day").valueOf())},handleStartOpenChange:function(t){t||(this.endOpen=!0)},handleEndOpenChange:function(t){this.endOpen=t},onChangeStartValue:function(t,e){this.startTime=e},onChangeEndValue:function(t,e){this.endTime=e},getStatisticalProductPage:function(){var t=this,e={startTime:"".concat(this.startTime," 00:00:00"),endTime:"".concat(this.endTime," 23:59:59"),pageNumber:10,currentPage:this.pagination.current};r["a"].post("/mingpay/v1/isv/order/statistical_product_page",e).then(function(e){0===e.data.resultCode?(t.dataSource=e.data.data.list,t.pagination.total=e.data.data.total):t.$message.error(e.data.message)})},handleTableChange:function(t,e,a){this.pagination.current=t.current,this.getStatisticalProductPage()}}},u=s,l=(a("5eee"),a("2877")),d=Object(l["a"])(u,n,o,!1,null,"2853fec8",null);e["default"]=d.exports}}]);
\ No newline at end of file
...@@ -111,8 +111,8 @@ export default { ...@@ -111,8 +111,8 @@ export default {
}, },
getStatisticalProductPage () { getStatisticalProductPage () {
let SubsidyListData = { let SubsidyListData = {
startTime: this.startTime, startTime: `${this.startTime} 00:00:00`,
endTime: this.endTime, endTime: `${this.endTime} 23:59:59`,
pageNumber: 10, pageNumber: 10,
currentPage: this.pagination.current currentPage: this.pagination.current
} }
......
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