Commit d173615e by liang ce

注销账户修改

parent a64957f2
.searchBox[data-v-44d3b28a]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:15px}.searchBox>input[data-v-44d3b28a]{margin-right:20px;max-width:180px}.operationTable a[data-v-44d3b28a]{margin-right:8px}.searchUserMessage[data-v-44d3b28a]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:12px;padding:8px 8px;padding-right:20px;border:1px solid #ccc;margin-bottom:15px;border-radius:8px;position:relative}.searchUserMessage img[data-v-44d3b28a]{width:32px;height:32px;border-radius:50%;margin-bottom:8px}.positionDiv[data-v-44d3b28a]{height:12px;width:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-left:1px solid #ccc;border-top:1px solid #ccc;position:absolute;top:-7px;left:30px;background:#fff;z-index:99}.clearUserMessage[data-v-44d3b28a]{position:absolute;right:10px}.userListBox[data-v-44d3b28a]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-flow:wrap;flex-flow:wrap}.userListBox>div[data-v-44d3b28a]{margin:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.userListBox>div>img[data-v-44d3b28a]{display:block;text-align:center}.choosePeople[data-v-44d3b28a]{line-height:32px;width:120px;margin-right:20px;padding-left:11px;height:32px;border:1px solid #d9d9d9;border-radius:4px;color:#bfbfbf;cursor:pointer}.choosePeople[data-v-44d3b28a]:hover{border:1px solid #1890ff}.deptModel[data-v-44d3b28a]{background:#f2f0f0;margin:5px 0;margin-right:5px;padding:2px 4px;border-radius:3px;line-height:2}.ant-table-tbody>tr:hover .deptModel[data-v-44d3b28a]{background:#caeeff}.ant-popover-inner-content>p[data-v-44d3b28a]{margin:0}
\ No newline at end of file
.searchBox[data-v-107795b5]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:15px}.searchBox>input[data-v-107795b5]{margin-right:20px;max-width:180px}.operationTable a[data-v-107795b5]{margin-right:8px}.searchUserMessage[data-v-107795b5]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:12px;padding:8px 8px;padding-right:20px;border:1px solid #ccc;margin-bottom:15px;border-radius:8px;position:relative}.searchUserMessage img[data-v-107795b5]{width:32px;height:32px;border-radius:50%;margin-bottom:8px}.positionDiv[data-v-107795b5]{height:12px;width:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-left:1px solid #ccc;border-top:1px solid #ccc;position:absolute;top:-7px;left:30px;background:#fff;z-index:99}.clearUserMessage[data-v-107795b5]{position:absolute;right:10px}.userListBox[data-v-107795b5]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-flow:wrap;flex-flow:wrap}.userListBox>div[data-v-107795b5]{margin:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.userListBox>div>img[data-v-107795b5]{display:block;text-align:center}.choosePeople[data-v-107795b5]{line-height:32px;width:120px;margin-right:20px;padding-left:11px;height:32px;border:1px solid #d9d9d9;border-radius:4px;color:#bfbfbf;cursor:pointer}.choosePeople[data-v-107795b5]:hover{border:1px solid #1890ff}.deptModel[data-v-107795b5]{background:#f2f0f0;margin:5px 0;margin-right:5px;padding:2px 4px;border-radius:3px;line-height:2}.ant-table-tbody>tr:hover .deptModel[data-v-107795b5]{background:#caeeff}.ant-popover-inner-content>p[data-v-107795b5]{margin:0}
\ 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-98cae23e.c8a20405.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-98cae23e.3f3d1b94.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.90dd40fb.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.90dd40fb.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-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>
\ 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-98cae23e":"3f3d1b94","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-98cae23e":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-98cae23e":"c8a20405","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-98cae23e").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-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)}})})}}}});
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-98cae23e"],{"0d5e":function(e,t,a){"use strict";a.d(t,"a",function(){return l});var r,s=a("7f43"),n=a.n(s),o=a("4328"),c=a.n(o),i=a("9f82"),u=a("f64c"),d="https://gateway.mingwork.com";n.a.interceptors.request.use(function(e){var t=(new Date).getTime()-localStorage.getItem("start_time_".concat(localStorage.getItem("orgId")))<localStorage.getItem("expires_in")-3e5;return t?(e.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token_".concat(localStorage.getItem("orgId")))),e):new Promise(function(e,t){Object(i["c"])().then(function(e){console.log("res",e)}).catch(function(e){console.log(e)})})},function(e){return r.close(),Promise.reject(e)}),n.a.interceptors.response.use(function(e){return Promise.resolve(e)},function(e){return new Promise(function(t,a){if(console.log(e),e&&e.response)switch(e.response.status){case 401:u["a"].error("网络异常请重试"),Object(i["c"])().then(function(a){console.log("refreshToken1",a),t(e)});break;case 426:u["a"].error("网络异常请重试"),Object(i["a"])().then(function(a){t(e)});break;case 504:u["a"].error("系统异常"),t(e);break;case 500:u["a"].error("系统繁忙"),t(e);break;default:u["a"].error("未知问题"),t(e),a(new Error(e))}else u["a"].error("未知问题"),t(e)})});var l={post:function(e,t){return new Promise(function(a,r){var s=void 0===t?"":t;n.a.post("".concat(d).concat(e),s,{headers:{"Content-Type":"application/json; charset=UTF-8"}}).then(function(e){return a(e)})})},get:function(e,t){return new Promise(function(a,r){var s=void 0===t?"":c.a.stringify(t);n.a.get("".concat(d).concat(e,"?").concat(s)).then(function(e){return a(e)})})}}},"217e":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("a-spin",{attrs:{spinning:e.spinning}},[r("div",{staticClass:"AccountManagement"},[r("div",{staticClass:"searchBox"},[r("div",{staticClass:"choosePeople",staticStyle:{width:"120px"},on:{click:e.choosePeople}},[e._v("选择成员")]),r("a-input",{staticStyle:{width:"120px"},attrs:{placeholder:"输入卡号"},model:{value:e.searchSource.cardNum,callback:function(t){e.$set(e.searchSource,"cardNum",t)},expression:"searchSource.cardNum"}}),r("a-select",{staticStyle:{width:"120px","margin-right":"20px"},attrs:{placeholder:"卡片状态",allowClear:!0},on:{change:e.selectHandleChangeCard}},[r("a-select-option",{attrs:{value:"ACTIVE"}},[e._v("已绑卡")]),r("a-select-option",{attrs:{value:"NOT_EXIST"}},[e._v("未绑卡")]),r("a-select-option",{attrs:{value:"UNACTIVE"}},[e._v("已冻结")])],1),r("a-select",{staticStyle:{width:"120px","margin-right":"20px"},attrs:{placeholder:"账户状态",defaultValue:"ACTIVE",allowClear:!0},on:{change:e.selectHandleChangeAccount}},[r("a-select-option",{attrs:{value:"ACTIVE"}},[e._v("正常")]),r("a-select-option",{attrs:{value:"LOG_OFF"}},[e._v("已注销")]),r("a-select-option",{attrs:{value:"SETTLEMENT"}},[e._v("已结现")])],1),r("a-button",{attrs:{type:"primary"},on:{click:function(t){return e.search()}}},[e._v("查询")])],1),e.alreadyChoose.users.length>0||e.alreadyChoose.departments.length>0?r("div",{staticClass:"searchUserMessage"},[r("div",{staticClass:"positionDiv"}),r("div",{staticClass:"clearUserMessage"},[r("a",{attrs:{href:"javascript:;"},on:{click:e.clearUserMessage}},[e._v("清除")])]),r("div",{staticClass:"userListBox"},[e._l(e.alreadyChoose.users,function(t){return r("div",{key:t.emplId},[t.avatar?r("img",{attrs:{src:t.avatar,alt:t.name}}):r("img",{attrs:{src:e.avatarCanvasFn(t.name),alt:t.name}}),r("span",[e._v(e._s(t.name))])])}),e._l(e.alreadyChoose.departments,function(t){return r("div",{key:t.id},[r("img",{attrs:{src:a("55c4"),alt:t.name}}),r("span",[e._v(e._s(t.name))])])})],2)]):e._e(),r("a-table",{attrs:{columns:e.columns,dataSource:e.accountList,size:"default",rowKey:"ddUserId",pagination:e.pagination},on:{change:e.handleTableChange},scopedSlots:e._u([{key:"departmentNameList",fn:function(t,a){return r("span",{},[t&&t.length>0?r("div",e._l(t,function(t,s){return r("a-popover",{key:s},[r("template",{slot:"content"},[r("p",[e._v(e._s(a.parentSysDeptNameList[s]))])]),r("span",{staticClass:"deptModel"},[e._v(e._s(t))])],2)}),1):e._e()])}},{key:"realityBalance",fn:function(t){return r("span",{},[e._v("\n "+e._s(t.toFixed(2))+"\n ")])}},{key:"cardNo",fn:function(t){return r("span",{},[e._v("\n "+e._s(t)+"\n ")])}},{key:"cardStatus",fn:function(e,t){return r("span",{},[t.cardNo&&"UNACTIVE"!==e?r("a-badge",{attrs:{status:"success",text:"已绑卡"}}):t.cardNo&&"UNACTIVE"===e?r("a-badge",{attrs:{status:"error",text:"已冻结"}}):r("a-badge",{attrs:{status:"default",text:"未绑卡"}})],1)}},{key:"status",fn:function(t){return r("span",{},[t===e.MINGPAY_ACCOUNT_STATUS.ACTIVE?r("a-badge",{attrs:{status:"success",text:"正常"}}):t===e.MINGPAY_ACCOUNT_STATUS.SETTLEMENT?r("a-badge",{attrs:{status:"error",text:"已结现"}}):r("a-badge",{attrs:{status:"error",text:"已注销"}})],1)}},{key:"action",fn:function(t,a,s){return r("span",{staticClass:"operationTable"},[r("a",{attrs:{href:"javascript:;"},on:{click:function(t){return e.ToViewAllowances(a)}}},[e._v("查看津贴")]),a.status===e.MINGPAY_ACCOUNT_STATUS.ACTIVE?r("a",{attrs:{href:"javascript:;"},on:{click:function(t){return e.showModal(a.ddUserId,a.name,s)}}},[e._v("充值")]):r("a",{staticStyle:{color:"#cccccc"},attrs:{href:"javascript:;"}},[e._v("充值")]),a.status===e.MINGPAY_ACCOUNT_STATUS.ACTIVE?r("a-dropdown",[r("a",{staticClass:"ant-dropdown-link",attrs:{href:"javascript:;"}},[e._v("\n 更多操作 "),r("a-icon",{attrs:{type:"down"}})],1),r("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},[a.cardStatus===e.MINGPAY_ACCOUNT_STATUS.ACTIVE&&a.cardNo?r("a-menu-item",[r("a",{attrs:{href:"javascript:;"},on:{click:function(t){return e.showConfirm(a.ddUserId,1,s)}}},[e._v("冻结实体卡")])]):e._e(),a.cardStatus===e.MINGPAY_ACCOUNT_STATUS.UNACTIVE&&a.cardNo?r("a-menu-item",[r("a",{attrs:{href:"javascript:;"},on:{click:function(t){return e.showConfirm(a.ddUserId,2,s)}}},[e._v("解冻实体卡")])]):e._e(),a.cardNo?r("a-menu-item",[r("a",{attrs:{href:"javascript:;"},on:{click:function(t){return e.confimBindSure(a.ddUserId,s)}}},[e._v("解绑实体卡")])]):r("a-menu-item",[r("a",{attrs:{href:"javascript:;"},on:{click:function(t){return e.changeVisible2(a.ddUserId,s)}}},[e._v("绑定实体卡")])]),a.status!=e.MINGPAY_ACCOUNT_STATUS.LOG_OFF?r("a-menu-item",[r("a",{attrs:{href:"javascript:;"},on:{click:function(t){return e.showConfirm(a.ddUserId,3,s)}}},[e._v("注销并结现")])]):e._e()],1)],1):a.status===e.MINGPAY_ACCOUNT_STATUS.LOG_OFF?r("a-dropdown",[r("a",{staticClass:"ant-dropdown-link",attrs:{href:"javascript:;"}},[e._v("\n 更多操作 "),r("a-icon",{attrs:{type:"down"}})],1),r("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},[r("a-menu-item",[r("a",{attrs:{href:"javascript:;"},on:{click:function(t){return e.showConfirm(a.ddUserId,4,s)}}},[e._v("结现")])])],1)],1):r("a-dropdown",[r("a",{staticStyle:{color:"#cccccc"}},[e._v("\n 更多操作 "),r("a-icon",{attrs:{type:"down"}})],1)])],1)}}])},[r("span",{attrs:{slot:"name"},slot:"name"},[e._v("姓名")])]),r("a-modal",{attrs:{title:"绑定实体卡"},on:{ok:function(t){return e.cardOperation(2)}},model:{value:e.visible2,callback:function(t){e.visible2=t},expression:"visible2"}},[r("a-form",{attrs:{form:e.updateBindCardStatusForm}},[r("a-form-item",{attrs:{label:"实体卡号","label-col":{span:5},"wrapper-col":{span:12}}},[r("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["cardNo",{rules:[{required:!0,message:"请填写正确的实体卡号!"},{validator:e.bindCardNum}]}],expression:"['cardNo', {rules: [{ required: true, message: '请填写正确的实体卡号!' }, {validator: bindCardNum}]}]"}]})],1)],1)],1),r("a-modal",{attrs:{title:"现金充值"},on:{ok:function(t){return e.internalRecharge()}},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[r("a-form",{attrs:{form:e.form}},[r("a-form-item",{attrs:{label:"充值金额","label-col":{span:5},"wrapper-col":{span:12}}},[r("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["orderPrice",{rules:[{required:!0,message:"充值金额不能为空"},{validator:e.rechargeNum}]}],expression:"['orderPrice',{rules: [{required: true, message: '充值金额不能为空'}, {validator: rechargeNum}]}]"}]})],1),r("a-form-item",{attrs:{label:"备注","label-col":{span:5},"wrapper-col":{span:12}}},[r("a-textarea",{directives:[{name:"decorator",rawName:"v-decorator",value:["remark",{rules:[{required:!0,message:"备注不能为空"}]}],expression:"['remark', {rules: [{ required: true, message: '备注不能为空' }]}]"}]})],1)],1)],1)],1)])},s=[],n=a("da71"),o=a("0d5e"),c=a("2957"),i={name:"accountManagement",components:{},data:function(){return{spinning:!1,visible:!1,visible2:!1,formLayout:"horizontal",form:this.$form.createForm(this),updateBindCardStatusForm:this.$form.createForm(this),MINGPAY_ACCOUNT_STATUS:c["a"],data:[],pagination:{current:1,defaultCurrent:10,defaultPageSize:10,hideOnSinglePage:!0,total:0},columns:[{title:"成员",dataIndex:"name",width:"90px"},{title:"部门",dataIndex:"departmentNameList",scopedSlots:{customRender:"departmentNameList"},width:"15%"},{title:"余额",dataIndex:"realityBalance",scopedSlots:{customRender:"realityBalance"}},{title:"卡号",dataIndex:"cardNo",scopedSlots:{customRender:"cardNo"}},{title:"实体卡状态",dataIndex:"cardStatus",scopedSlots:{customRender:"cardStatus"}},{title:"账户状态",dataIndex:"status",scopedSlots:{customRender:"status"}},{title:"操作",key:"a",dataIndex:"action",scopedSlots:{customRender:"action"}}],accountList:[],rechargeData:{ddUserId:"",username:"",orderPrice:"",remark:""},alreadyChoose:{departments:[],users:[]},selsctUserId:"",selsctIndex:0,searchSource:{ddchoosePeople:{userIdList:[],departmentIdList:[]},UserMessage:{avatar:"",emplId:"",name:""},cardNum:"",cardStatus:"",accountStatus:"ACTIVE"}}},watch:{},computed:{},created:function(){this.queryAccountList()},methods:{queryAccountList:function(){var e=this,t=this,a={currentPage:this.pagination.current,pageNumber:this.pagination.defaultPageSize,ddDeptIds:this.searchSource.ddchoosePeople.departmentIdList,ddUserIds:this.searchSource.ddchoosePeople.userIdList,status:this.searchSource.accountStatus,cardNo:this.searchSource.cardNum,cardStatus:this.searchSource.cardStatus};o["a"].get("/mingpay/v1/isv/account/queryAccountList",a).then(function(e){t.accountList=e.data.data.recordList,t.pagination.total=parseInt(e.data.data.totalCount)}).catch(function(t){e.$message.error("网络异常请重试"),console.log(t)})},selectHandleChangeCard:function(e){this.searchSource.cardStatus=e},selectHandleChangeAccount:function(e){this.searchSource.accountStatus=e},choosePeople:function(){var e=this,t=this;n["a"].ddready("ddchoose").then(function(a){var r=[],s=[];a.departments.map(function(e,t){s.push(e.id)}),a.users.map(function(e,t){r.push(e.emplId)}),e.alreadyChoose={departments:a.departments,users:a.users},e.searchSource.ddchoosePeople.departmentIdList=s,e.searchSource.ddchoosePeople.userIdList=r,t.queryAccountList()})},rechargeNum:function(e,t,a){var r=/^\d+\.?\d{0,2}$/;!r.test(t)||parseFloat(t)>1e4?a("请输入正确的金额,最多保留小数点后两位,充值金额最多为一万元"):a()},clearUserMessage:function(){this.alreadyChoose={departments:[],users:[]},this.searchSource.ddchoosePeople={userIdList:[],departmentIdList:[]}},avatarCanvasFn:function(e){var t=document.createElement("canvas"),a=t.getContext("2d"),r=this.getPixelRatio(a);return t.style.width="40px",t.style.height="40px",t.width=40*r,t.height=40*r,a.scale(r,r),a.fillStyle="#1890ff",a.fillRect(0,0,40,40),a.fillStyle="#ffffff",a.font="12px Arial",a.textAlign="center",a.fillText(e,20,25),t.toDataURL()},getPixelRatio:function(e){var t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},bindCardNum:function(e,t,a){var r=/^[0-9a-zA-Z]*$/;r.test(t)?a():a("实体卡卡号必须由数字和字母组成")},changeVisible2:function(e,t){this.visible2=!this.visible2,this.selsctUserId=e,this.selsctIndex=t},handleTableChange:function(e,t,a){this.pagination.current=e.current,this.queryAccountList()},departmentNameListToStr:function(e){var t="";return 0!==e.length&&e.map(function(e){t="".concat(t).concat(e,",")}),t=t.substring(0,t.length-1),t},ToViewAllowances:function(e){this.$router.push({name:"viewAllowances",params:{ddUserId:e.ddUserId}})},internalRecharge:function(){var e=this;console.log(this.form.getFieldsValue().orderPrice||this.form.getFieldsValue().remark),this.form.getFieldsValue().orderPrice?this.form.getFieldsValue().remark?(this.spinning=!this.spinning,this.visible=!1,this.rechargeData.orderPrice=this.form.getFieldsValue().orderPrice,this.rechargeData.remark=this.form.getFieldsValue().remark,o["a"].post("/mingpay/v1/isv/charge/charge",this.rechargeData).then(function(t){0===t.data.resultCode?(e.form.resetFields(),e.$message.success(t.data.data.message),e.spinning=!e.spinning,e.queryAccountList()):(e.spinning=!e.spinning,e.$message.error(t.data.message))}).catch(function(t){console.log(t),e.spinning=!e.spinning,e.$message.error("充值失败")})):this.$message.error("备注不能为空"):this.$message.error("金额不能为空")},showModal:function(e,t,a){this.rechargeData.ddUserId=e,this.rechargeData.username=t,this.selsctIndex=a,this.visible=!0},accountOperation:function(e,t,a,r){var s,n=this;3===e?(s={ddUserId:t,accountStatus:a},o["a"].post("/mingpay/v1/isv/account/logOff_and_settlement",s).then(function(e){0===e.data.resultCode&&(n.queryAccountList(),n.$message.success("操作成功"))}).catch(function(){n.$message.error("操作失败")})):(s={ddUserId:t,cardStatus:a},o["a"].get("/mingpay/v1/isv/account/update_card_status",s).then(function(e){0===e.data.resultCode&&(n.queryAccountList(),n.$message.success("操作成功"))}).catch(function(){n.$message.error("操作失败")}))},confimBindSure:function(e,t){this.selsctUserId=e,this.selsctIndex=t;var a=this;this.$confirm({title:"确认要对该账户实体卡解除绑定么?",content:"解除绑定后,该实体卡将不能付款",okText:"确定",cancelText:"取消",onOk:function(){a.cardOperation(1)}})},showConfirm:function(e,t,a){var r="",s="",n="",o=this;switch(t){case 1:r="确认要对该账户实体卡进行冻结操作么?",s="冻结后二维码可使用付款,实体卡片不能付款,若想再次使用实体卡请先解冻",n=c["a"].UNACTIVE,"";break;case 2:r="确认要对该账户实体卡进行解冻操作么?",s="解冻后二维码与实体卡片均可正常使用",n=c["a"].ACTIVE,"";break;case 3:r="确认要对该账户进行注销并结现操作么?",s="用户余额请线下当面结算完,注销并结现后,该账户资金将被清空,账户不可再次激活",n=c["a"].SETTLEMENT,"";break;case 4:r="确认要对该账户进行结现操作么?",s="用户余额请线下当面结算完,确认结现后,该账户资金将被清空,账户不可再次激活",n=c["a"].SETTLEMENT,"";break}this.$confirm({title:r,content:s,okText:"确定",cancelText:"取消",onOk:function(){o.accountOperation(t,e,n,a)}})},cardOperation:function(e){var t=this,a="";this.updateBindCardStatusForm.getFieldsValue().cardNo;2===e?a={cardNo:this.updateBindCardStatusForm.getFieldsValue().cardNo,ddUserId:this.selsctUserId}:1===e&&(a={cardNo:"",ddUserId:this.selsctUserId}),o["a"].get("/mingpay/v1/isv/account/update_bind_card_status",a).then(function(e){0===e.data.resultCode?(t.queryAccountList(),t.visible2=!1,t.updateBindCardStatusForm.resetFields(),t.$message.success("操作成功")):10010009===e.data.resultCode?t.$message.error("该卡片已被占用"):t.$message.error(e.data.message)}).catch(function(e){t.$message.error("网络异常请重试"),console.log(e)})},search:function(){this.pagination.current=1,this.queryAccountList()}},mounted:function(){}},u=i,d=(a("529a"),a("2877")),l=Object(d["a"])(u,r,s,!1,null,"107795b5",null);t["default"]=l.exports},2957:function(e,t,a){"use strict";a.d(t,"a",function(){return r}),a.d(t,"b",function(){return s}),a.d(t,"c",function(){return n}),a.d(t,"d",function(){return o});var r={ACTIVE:"ACTIVE",UNACTIVE:"UNACTIVE",LOG_OFF:"LOG_OFF",WITHDRAW:"WITHDRAW",SETTLEMENT:"SETTLEMENT"},s={WAITING_PERMIT:"WAITING_PERMIT",SUCCESS:"SUCCESS",FAILED:"FAILED",WAITING_PAYMENT:"WAITING_PAYMENT"},n={SUCCESS:"SUCCESS",WAITING_PERMIT:"WAITING_PERMIT",REFUND_SUCCESS:"REFUND_SUCCESS"},o={SUCCESS:"SUCCESS",WAITING_PERMIT:"WAITING_PERMIT",REFUSE_PERMIT:"REFUSE_PERMIT"}},"529a":function(e,t,a){"use strict";var r=a("b302"),s=a.n(r);s.a},"55c4":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAAAXNSR0IArs4c6QAAA6VJREFUWAnNWF1IVFEQ/q5ptv1oFpWaSETYD2UUhZY9ZERBUVRERD+v9RBFVBQRSD/4UipRbz1kEQX9IQjSU0QPhWWUZRmhlIGWJWVtpuaq2zf33LN7V+/u3pW1HDjcc+fMmfl2Zs6cuQuMEDJiwnHLPxpvUQg/NnLfPI5Ma4iaT9aoh4FKzMUDbDN6ZMENuQNy1p+OLhQRwE4qTXGjmDJeAroOD07jqNEabU9kIBf8yWjHCSo5RBDjoilzXDfwm/wypKEYB4w/jjJkhgciXuhEBWXyw22OkV+NsdgczjvOQIr9ufChioayYjQWTbwZCViHIqNuoOBgIMoTNcMAQttupmeWDvRMgl41n5ITKhzx9oTdTJZpQ2zZKBSISsx45YTNzKBpvnUIAgvB0Kgj2jjk0xFQ6XIip8mDWTpEQY+oOjG0I+rSdoiYlAOxaZHyiFTMerSR57ZYYcsc4MomoNOnNCUnArMvAl87tWpXTy/r8xSpwMojUrZjACEmMicAJY+B9FI16r4AaR5Xxu1CKeaVQY4Cou4Ou8C/m1u26VCT5AKLmXKnAbsWqG1Th55dpm0NRG7RmKiqAchOBY4sBz7+BG6+Ad63x6RCC5u2YwKSxbyYMVHvByrfATmTgRo2AA+bgLzpwbVa3rcdViIHuY6zECCOEgOZuxcC2+cDDd+CK739wKJ0NTS3IBvYcAN49llzIjwNVi6S9gh/E3IiiAeWyl8A558EXh0nVTsc2c5MP0y4roHsWQysngmIB7zsKsprgcPLeOatG+Mlj+895s1BXhASrr1LgNTXwP0PzvZtXHGCdXzBchaFStYwIan4LiVL17I/YOnbnwc0e4H2bqB4FcOTAWzlGTj3CGjtAI4VRFGqlk3bqo5IjxmFunuBS8/V8PWpjqqNvZfwJFwGa7SU6aYfineH6oUXlSzbKjTS6Nazx4xQXT1JwPEVSm0i4fczxdLHK56HWuRdhoRF5DK4Ju9RyGs22RQaZQrePtWHwpPMdTYsYajxOzCGBn3MkWuvgKeMrIQkgb+6i966ypypbgF66C2xL2si1/IrjEJhG7iMfYYZjaDzRkwboFr+sgj4471UpnsRUaySVZuQlp8e1q/D+Kw2Py9sBoKh0cwR0TwLGAlREtZz1qyxxfGpPiccvvwGe0RbVZ6p4CtrZVwo4gdWaI7Y7QnqSVjJI3aGg6VriCR7RYfocvCE1hreI1pCnupo/8ePcDsYmQ/j3xIDTf239797rQ4ooJV58gAAAABJRU5ErkJggg=="},b302:function(e,t,a){}}]); (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-90b83a0c"],{"0d5e":function(e,t,a){"use strict";a.d(t,"a",function(){return l});var r,s=a("7f43"),n=a.n(s),o=a("4328"),c=a.n(o),i=a("9f82"),u=a("f64c"),d="https://gateway.mingwork.com";n.a.interceptors.request.use(function(e){var t=(new Date).getTime()-localStorage.getItem("start_time_".concat(localStorage.getItem("orgId")))<localStorage.getItem("expires_in")-3e5;return t?(e.headers["Authorization"]="Bearer ".concat(localStorage.getItem("access_token_".concat(localStorage.getItem("orgId")))),e):new Promise(function(e,t){Object(i["c"])().then(function(e){console.log("res",e)}).catch(function(e){console.log(e)})})},function(e){return r.close(),Promise.reject(e)}),n.a.interceptors.response.use(function(e){return Promise.resolve(e)},function(e){return new Promise(function(t,a){if(console.log(e),e&&e.response)switch(e.response.status){case 401:u["a"].error("网络异常请重试"),Object(i["c"])().then(function(a){console.log("refreshToken1",a),t(e)});break;case 426:u["a"].error("网络异常请重试"),Object(i["a"])().then(function(a){t(e)});break;case 504:u["a"].error("系统异常"),t(e);break;case 500:u["a"].error("系统繁忙"),t(e);break;default:u["a"].error("未知问题"),t(e),a(new Error(e))}else u["a"].error("未知问题"),t(e)})});var l={post:function(e,t){return new Promise(function(a,r){var s=void 0===t?"":t;n.a.post("".concat(d).concat(e),s,{headers:{"Content-Type":"application/json; charset=UTF-8"}}).then(function(e){return a(e)})})},get:function(e,t){return new Promise(function(a,r){var s=void 0===t?"":c.a.stringify(t);n.a.get("".concat(d).concat(e,"?").concat(s)).then(function(e){return a(e)})})}}},"217e":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("a-spin",{attrs:{spinning:e.spinning}},[r("div",{staticClass:"AccountManagement"},[r("div",{staticClass:"searchBox"},[r("div",{staticClass:"choosePeople",staticStyle:{width:"120px"},on:{click:e.choosePeople}},[e._v("选择成员")]),r("a-input",{staticStyle:{width:"120px"},attrs:{placeholder:"输入卡号"},model:{value:e.searchSource.cardNum,callback:function(t){e.$set(e.searchSource,"cardNum",t)},expression:"searchSource.cardNum"}}),r("a-select",{staticStyle:{width:"120px","margin-right":"20px"},attrs:{placeholder:"卡片状态",allowClear:!0},on:{change:e.selectHandleChangeCard}},[r("a-select-option",{attrs:{value:"ACTIVE"}},[e._v("已绑卡")]),r("a-select-option",{attrs:{value:"NOT_EXIST"}},[e._v("未绑卡")]),r("a-select-option",{attrs:{value:"UNACTIVE"}},[e._v("已冻结")])],1),r("a-select",{staticStyle:{width:"120px","margin-right":"20px"},attrs:{placeholder:"账户状态",defaultValue:"ACTIVE",allowClear:!0},on:{change:e.selectHandleChangeAccount}},[r("a-select-option",{attrs:{value:"ACTIVE"}},[e._v("正常")]),r("a-select-option",{attrs:{value:"LOG_OFF"}},[e._v("已注销")]),r("a-select-option",{attrs:{value:"SETTLEMENT"}},[e._v("已结现")])],1),r("a-button",{attrs:{type:"primary"},on:{click:function(t){return e.search()}}},[e._v("查询")])],1),e.alreadyChoose.users.length>0||e.alreadyChoose.departments.length>0?r("div",{staticClass:"searchUserMessage"},[r("div",{staticClass:"positionDiv"}),r("div",{staticClass:"clearUserMessage"},[r("a",{attrs:{href:"javascript:;"},on:{click:e.clearUserMessage}},[e._v("清除")])]),r("div",{staticClass:"userListBox"},[e._l(e.alreadyChoose.users,function(t){return r("div",{key:t.emplId},[t.avatar?r("img",{attrs:{src:t.avatar,alt:t.name}}):r("img",{attrs:{src:e.avatarCanvasFn(t.name),alt:t.name}}),r("span",[e._v(e._s(t.name))])])}),e._l(e.alreadyChoose.departments,function(t){return r("div",{key:t.id},[r("img",{attrs:{src:a("55c4"),alt:t.name}}),r("span",[e._v(e._s(t.name))])])})],2)]):e._e(),r("a-table",{attrs:{columns:e.columns,dataSource:e.accountList,size:"default",rowKey:"ddUserId",pagination:e.pagination},on:{change:e.handleTableChange},scopedSlots:e._u([{key:"departmentNameList",fn:function(t,a){return r("span",{},[t&&t.length>0?r("div",e._l(t,function(t,s){return r("a-popover",{key:s},[r("template",{slot:"content"},[r("p",[e._v(e._s(a.parentSysDeptNameList[s]))])]),r("span",{staticClass:"deptModel"},[e._v(e._s(t))])],2)}),1):e._e()])}},{key:"realityBalance",fn:function(t){return r("span",{},[e._v("\n "+e._s(t.toFixed(2))+"\n ")])}},{key:"cardNo",fn:function(t){return r("span",{},[e._v("\n "+e._s(t)+"\n ")])}},{key:"cardStatus",fn:function(e,t){return r("span",{},[t.cardNo&&"UNACTIVE"!==e?r("a-badge",{attrs:{status:"success",text:"已绑卡"}}):t.cardNo&&"UNACTIVE"===e?r("a-badge",{attrs:{status:"error",text:"已冻结"}}):r("a-badge",{attrs:{status:"default",text:"未绑卡"}})],1)}},{key:"status",fn:function(t){return r("span",{},[t===e.MINGPAY_ACCOUNT_STATUS.ACTIVE?r("a-badge",{attrs:{status:"success",text:"正常"}}):t===e.MINGPAY_ACCOUNT_STATUS.SETTLEMENT?r("a-badge",{attrs:{status:"error",text:"已结现"}}):r("a-badge",{attrs:{status:"error",text:"已注销"}})],1)}},{key:"action",fn:function(t,a,s){return r("span",{staticClass:"operationTable"},[r("a",{attrs:{href:"javascript:;"},on:{click:function(t){return e.ToViewAllowances(a)}}},[e._v("查看津贴")]),a.status===e.MINGPAY_ACCOUNT_STATUS.ACTIVE?r("a",{attrs:{href:"javascript:;"},on:{click:function(t){return e.showModal(a.ddUserId,a.name,s)}}},[e._v("充值")]):r("a",{staticStyle:{color:"#cccccc"},attrs:{href:"javascript:;"}},[e._v("充值")]),a.status===e.MINGPAY_ACCOUNT_STATUS.ACTIVE?r("a-dropdown",[r("a",{staticClass:"ant-dropdown-link",attrs:{href:"javascript:;"}},[e._v("\n 更多操作 "),r("a-icon",{attrs:{type:"down"}})],1),r("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},[a.cardStatus===e.MINGPAY_ACCOUNT_STATUS.ACTIVE&&a.cardNo?r("a-menu-item",[r("a",{attrs:{href:"javascript:;"},on:{click:function(t){return e.showConfirm(a.ddUserId,1,s)}}},[e._v("冻结实体卡")])]):e._e(),a.cardStatus===e.MINGPAY_ACCOUNT_STATUS.UNACTIVE&&a.cardNo?r("a-menu-item",[r("a",{attrs:{href:"javascript:;"},on:{click:function(t){return e.showConfirm(a.ddUserId,2,s)}}},[e._v("解冻实体卡")])]):e._e(),a.cardNo?r("a-menu-item",[r("a",{attrs:{href:"javascript:;"},on:{click:function(t){return e.confimBindSure(a.ddUserId,s)}}},[e._v("解绑实体卡")])]):r("a-menu-item",[r("a",{attrs:{href:"javascript:;"},on:{click:function(t){return e.changeVisible2(a.ddUserId,s)}}},[e._v("绑定实体卡")])]),a.status!=e.MINGPAY_ACCOUNT_STATUS.LOG_OFF?r("a-menu-item",[r("a",{attrs:{href:"javascript:;"},on:{click:function(t){return e.showConfirm(a.ddUserId,3,s)}}},[e._v("注销并结现")])]):e._e()],1)],1):a.status===e.MINGPAY_ACCOUNT_STATUS.LOG_OFF?r("a-dropdown",[r("a",{staticClass:"ant-dropdown-link",attrs:{href:"javascript:;"}},[e._v("\n 更多操作 "),r("a-icon",{attrs:{type:"down"}})],1),r("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},[r("a-menu-item",[r("a",{attrs:{href:"javascript:;"},on:{click:function(t){return e.showConfirm(a.ddUserId,4,s)}}},[e._v("结现")])])],1)],1):r("a-dropdown",[r("a",{staticStyle:{color:"#cccccc"}},[e._v("\n 更多操作 "),r("a-icon",{attrs:{type:"down"}})],1)])],1)}}])},[r("span",{attrs:{slot:"name"},slot:"name"},[e._v("姓名")])]),r("a-modal",{attrs:{title:"绑定实体卡"},on:{ok:function(t){return e.cardOperation(2)}},model:{value:e.visible2,callback:function(t){e.visible2=t},expression:"visible2"}},[r("a-form",{attrs:{form:e.updateBindCardStatusForm}},[r("a-form-item",{attrs:{label:"实体卡号","label-col":{span:5},"wrapper-col":{span:12}}},[r("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["cardNo",{rules:[{required:!0,message:"请填写正确的实体卡号!"},{validator:e.bindCardNum}]}],expression:"['cardNo', {rules: [{ required: true, message: '请填写正确的实体卡号!' }, {validator: bindCardNum}]}]"}]})],1)],1)],1),r("a-modal",{attrs:{title:"现金充值"},on:{ok:function(t){return e.internalRecharge()}},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[r("a-form",{attrs:{form:e.form}},[r("a-form-item",{attrs:{label:"充值金额","label-col":{span:5},"wrapper-col":{span:12}}},[r("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["orderPrice",{rules:[{required:!0,message:"充值金额不能为空"},{validator:e.rechargeNum}]}],expression:"['orderPrice',{rules: [{required: true, message: '充值金额不能为空'}, {validator: rechargeNum}]}]"}]})],1),r("a-form-item",{attrs:{label:"备注","label-col":{span:5},"wrapper-col":{span:12}}},[r("a-textarea",{directives:[{name:"decorator",rawName:"v-decorator",value:["remark",{rules:[{required:!0,message:"备注不能为空"}]}],expression:"['remark', {rules: [{ required: true, message: '备注不能为空' }]}]"}]})],1)],1)],1)],1)])},s=[],n=a("da71"),o=a("0d5e"),c=a("2957"),i={name:"accountManagement",components:{},data:function(){return{spinning:!1,visible:!1,visible2:!1,formLayout:"horizontal",form:this.$form.createForm(this),updateBindCardStatusForm:this.$form.createForm(this),MINGPAY_ACCOUNT_STATUS:c["a"],data:[],pagination:{current:1,defaultCurrent:10,defaultPageSize:10,hideOnSinglePage:!0,total:0},columns:[{title:"成员",dataIndex:"name",width:"90px"},{title:"部门",dataIndex:"departmentNameList",scopedSlots:{customRender:"departmentNameList"},width:"15%"},{title:"余额",dataIndex:"realityBalance",scopedSlots:{customRender:"realityBalance"}},{title:"卡号",dataIndex:"cardNo",scopedSlots:{customRender:"cardNo"}},{title:"实体卡状态",dataIndex:"cardStatus",scopedSlots:{customRender:"cardStatus"}},{title:"账户状态",dataIndex:"status",scopedSlots:{customRender:"status"}},{title:"操作",key:"a",dataIndex:"action",scopedSlots:{customRender:"action"}}],accountList:[],rechargeData:{ddUserId:"",username:"",orderPrice:"",remark:""},alreadyChoose:{departments:[],users:[]},selsctUserId:"",selsctIndex:0,searchSource:{ddchoosePeople:{userIdList:[],departmentIdList:[]},UserMessage:{avatar:"",emplId:"",name:""},cardNum:"",cardStatus:"",accountStatus:"ACTIVE"}}},watch:{},computed:{},created:function(){this.queryAccountList()},methods:{queryAccountList:function(){var e=this,t=this,a={currentPage:this.pagination.current,pageNumber:this.pagination.defaultPageSize,ddDeptIds:this.searchSource.ddchoosePeople.departmentIdList,ddUserIds:this.searchSource.ddchoosePeople.userIdList,status:this.searchSource.accountStatus,cardNo:this.searchSource.cardNum,cardStatus:this.searchSource.cardStatus};o["a"].get("/mingpay/v1/isv/account/queryAccountList",a).then(function(e){t.accountList=e.data.data.recordList,t.pagination.total=parseInt(e.data.data.totalCount)}).catch(function(t){e.$message.error("网络异常请重试"),console.log(t)})},selectHandleChangeCard:function(e){this.searchSource.cardStatus=e},selectHandleChangeAccount:function(e){this.searchSource.accountStatus=e},choosePeople:function(){var e=this,t=this;n["a"].ddready("ddchoose").then(function(a){var r=[],s=[];a.departments.map(function(e,t){s.push(e.id)}),a.users.map(function(e,t){r.push(e.emplId)}),e.alreadyChoose={departments:a.departments,users:a.users},e.searchSource.ddchoosePeople.departmentIdList=s,e.searchSource.ddchoosePeople.userIdList=r,t.queryAccountList()})},rechargeNum:function(e,t,a){var r=/^\d+\.?\d{0,2}$/;!r.test(t)||parseFloat(t)>1e4?a("请输入正确的金额,最多保留小数点后两位,充值金额最多为一万元"):a()},clearUserMessage:function(){this.alreadyChoose={departments:[],users:[]},this.searchSource.ddchoosePeople={userIdList:[],departmentIdList:[]}},avatarCanvasFn:function(e){var t=document.createElement("canvas"),a=t.getContext("2d"),r=this.getPixelRatio(a);return t.style.width="40px",t.style.height="40px",t.width=40*r,t.height=40*r,a.scale(r,r),a.fillStyle="#1890ff",a.fillRect(0,0,40,40),a.fillStyle="#ffffff",a.font="12px Arial",a.textAlign="center",a.fillText(e,20,25),t.toDataURL()},getPixelRatio:function(e){var t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},bindCardNum:function(e,t,a){var r=/^[0-9a-zA-Z]*$/;r.test(t)?a():a("实体卡卡号必须由数字和字母组成")},changeVisible2:function(e,t){this.visible2=!this.visible2,this.selsctUserId=e,this.selsctIndex=t},handleTableChange:function(e,t,a){this.pagination.current=e.current,this.queryAccountList()},departmentNameListToStr:function(e){var t="";return 0!==e.length&&e.map(function(e){t="".concat(t).concat(e,",")}),t=t.substring(0,t.length-1),t},ToViewAllowances:function(e){this.$router.push({name:"viewAllowances",params:{ddUserId:e.ddUserId}})},internalRecharge:function(){var e=this;console.log(this.form.getFieldsValue().orderPrice||this.form.getFieldsValue().remark),this.form.getFieldsValue().orderPrice?this.form.getFieldsValue().remark?(this.spinning=!this.spinning,this.visible=!1,this.rechargeData.orderPrice=this.form.getFieldsValue().orderPrice,this.rechargeData.remark=this.form.getFieldsValue().remark,o["a"].post("/mingpay/v1/isv/charge/charge",this.rechargeData).then(function(t){0===t.data.resultCode?(e.form.resetFields(),e.$message.success(t.data.data.message),e.spinning=!e.spinning,e.queryAccountList()):(e.spinning=!e.spinning,e.$message.error(t.data.message))}).catch(function(t){console.log(t),e.spinning=!e.spinning,e.$message.error("充值失败")})):this.$message.error("备注不能为空"):this.$message.error("金额不能为空")},showModal:function(e,t,a){this.rechargeData.ddUserId=e,this.rechargeData.username=t,this.selsctIndex=a,this.visible=!0},accountOperation:function(e,t,a,r){var s,n=this;3===e||4===e?(s={ddUserId:t,accountStatus:a},o["a"].post("/mingpay/v1/isv/account/logOff_and_settlement",s).then(function(e){0===e.data.resultCode&&(n.queryAccountList(),n.$message.success("操作成功"))}).catch(function(){n.$message.error("操作失败")})):(s={ddUserId:t,cardStatus:a},o["a"].get("/mingpay/v1/isv/account/update_card_status",s).then(function(e){0===e.data.resultCode&&(n.queryAccountList(),n.$message.success("操作成功"))}).catch(function(){n.$message.error("操作失败")}))},confimBindSure:function(e,t){this.selsctUserId=e,this.selsctIndex=t;var a=this;this.$confirm({title:"确认要对该账户实体卡解除绑定么?",content:"解除绑定后,该实体卡将不能付款",okText:"确定",cancelText:"取消",onOk:function(){a.cardOperation(1)}})},showConfirm:function(e,t,a){var r="",s="",n="",o=this;switch(t){case 1:r="确认要对该账户实体卡进行冻结操作么?",s="冻结后二维码可使用付款,实体卡片不能付款,若想再次使用实体卡请先解冻",n=c["a"].UNACTIVE,"";break;case 2:r="确认要对该账户实体卡进行解冻操作么?",s="解冻后二维码与实体卡片均可正常使用",n=c["a"].ACTIVE,"";break;case 3:r="确认要对该账户进行注销并结现操作么?",s="用户余额请线下当面结算完,注销并结现后,该账户资金将被清空,账户不可再次激活",n=c["a"].SETTLEMENT,"";break;case 4:r="确认要对该账户进行结现操作么?",s="用户余额请线下当面结算完,确认结现后,该账户资金将被清空,账户不可再次激活",n=c["a"].SETTLEMENT,"";break}this.$confirm({title:r,content:s,okText:"确定",cancelText:"取消",onOk:function(){o.accountOperation(t,e,n,a)}})},cardOperation:function(e){var t=this,a="";this.updateBindCardStatusForm.getFieldsValue().cardNo;2===e?a={cardNo:this.updateBindCardStatusForm.getFieldsValue().cardNo,ddUserId:this.selsctUserId}:1===e&&(a={cardNo:"",ddUserId:this.selsctUserId}),o["a"].get("/mingpay/v1/isv/account/update_bind_card_status",a).then(function(e){0===e.data.resultCode?(t.queryAccountList(),t.visible2=!1,t.updateBindCardStatusForm.resetFields(),t.$message.success("操作成功")):10010009===e.data.resultCode?t.$message.error("该卡片已被占用"):t.$message.error(e.data.message)}).catch(function(e){t.$message.error("网络异常请重试"),console.log(e)})},search:function(){this.pagination.current=1,this.queryAccountList()}},mounted:function(){}},u=i,d=(a("76bd"),a("2877")),l=Object(d["a"])(u,r,s,!1,null,"44d3b28a",null);t["default"]=l.exports},2957:function(e,t,a){"use strict";a.d(t,"a",function(){return r}),a.d(t,"b",function(){return s}),a.d(t,"c",function(){return n}),a.d(t,"d",function(){return o});var r={ACTIVE:"ACTIVE",UNACTIVE:"UNACTIVE",LOG_OFF:"LOG_OFF",WITHDRAW:"WITHDRAW",SETTLEMENT:"SETTLEMENT"},s={WAITING_PERMIT:"WAITING_PERMIT",SUCCESS:"SUCCESS",FAILED:"FAILED",WAITING_PAYMENT:"WAITING_PAYMENT"},n={SUCCESS:"SUCCESS",WAITING_PERMIT:"WAITING_PERMIT",REFUND_SUCCESS:"REFUND_SUCCESS"},o={SUCCESS:"SUCCESS",WAITING_PERMIT:"WAITING_PERMIT",REFUSE_PERMIT:"REFUSE_PERMIT"}},"4ac4":function(e,t,a){},"55c4":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAAAXNSR0IArs4c6QAAA6VJREFUWAnNWF1IVFEQ/q5ptv1oFpWaSETYD2UUhZY9ZERBUVRERD+v9RBFVBQRSD/4UipRbz1kEQX9IQjSU0QPhWWUZRmhlIGWJWVtpuaq2zf33LN7V+/u3pW1HDjcc+fMmfl2Zs6cuQuMEDJiwnHLPxpvUQg/NnLfPI5Ma4iaT9aoh4FKzMUDbDN6ZMENuQNy1p+OLhQRwE4qTXGjmDJeAroOD07jqNEabU9kIBf8yWjHCSo5RBDjoilzXDfwm/wypKEYB4w/jjJkhgciXuhEBWXyw22OkV+NsdgczjvOQIr9ufChioayYjQWTbwZCViHIqNuoOBgIMoTNcMAQttupmeWDvRMgl41n5ITKhzx9oTdTJZpQ2zZKBSISsx45YTNzKBpvnUIAgvB0Kgj2jjk0xFQ6XIip8mDWTpEQY+oOjG0I+rSdoiYlAOxaZHyiFTMerSR57ZYYcsc4MomoNOnNCUnArMvAl87tWpXTy/r8xSpwMojUrZjACEmMicAJY+B9FI16r4AaR5Xxu1CKeaVQY4Cou4Ou8C/m1u26VCT5AKLmXKnAbsWqG1Th55dpm0NRG7RmKiqAchOBY4sBz7+BG6+Ad63x6RCC5u2YwKSxbyYMVHvByrfATmTgRo2AA+bgLzpwbVa3rcdViIHuY6zECCOEgOZuxcC2+cDDd+CK739wKJ0NTS3IBvYcAN49llzIjwNVi6S9gh/E3IiiAeWyl8A558EXh0nVTsc2c5MP0y4roHsWQysngmIB7zsKsprgcPLeOatG+Mlj+895s1BXhASrr1LgNTXwP0PzvZtXHGCdXzBchaFStYwIan4LiVL17I/YOnbnwc0e4H2bqB4FcOTAWzlGTj3CGjtAI4VRFGqlk3bqo5IjxmFunuBS8/V8PWpjqqNvZfwJFwGa7SU6aYfineH6oUXlSzbKjTS6Nazx4xQXT1JwPEVSm0i4fczxdLHK56HWuRdhoRF5DK4Ju9RyGs22RQaZQrePtWHwpPMdTYsYajxOzCGBn3MkWuvgKeMrIQkgb+6i966ypypbgF66C2xL2si1/IrjEJhG7iMfYYZjaDzRkwboFr+sgj4471UpnsRUaySVZuQlp8e1q/D+Kw2Py9sBoKh0cwR0TwLGAlREtZz1qyxxfGpPiccvvwGe0RbVZ6p4CtrZVwo4gdWaI7Y7QnqSVjJI3aGg6VriCR7RYfocvCE1hreI1pCnupo/8ePcDsYmQ/j3xIDTf239797rQ4ooJV58gAAAABJRU5ErkJggg=="},"76bd":function(e,t,a){"use strict";var r=a("4ac4"),s=a.n(r);s.a}}]);
\ No newline at end of file \ No newline at end of file
...@@ -387,7 +387,7 @@ export default { ...@@ -387,7 +387,7 @@ export default {
// 账户操作和卡片操作 // 账户操作和卡片操作
accountOperation (type, userId, status, index) { accountOperation (type, userId, status, index) {
let accountOperationData let accountOperationData
if (type === 3) { if (type === 3 || type === 4) {
accountOperationData = { accountOperationData = {
ddUserId: userId, ddUserId: userId,
accountStatus: status accountStatus: status
......
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