app.d27adabe0e4d37fb8b27.js 133 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(e,t,n){e.exports=n("56d7")},"028b":function(e,t,n){"use strict";var a=n("3f4d"),o=n.n(a);o.a},"186a":function(e,t,n){"use strict";var a=n("9df4"),o=n.n(a);o.a},"18f0":function(e,t,n){"use strict";n.r(t);var a=n("e017"),o=n.n(a),r=n("21a1"),i=n.n(r),c=new o.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" id="icon-link"><path d="M115.625 127.937H.063V12.375h57.781v12.374H12.438v90.813h90.813V70.156h12.374z" /><path d="M116.426 2.821l8.753 8.753-56.734 56.734-8.753-8.745z" /><path d="M127.893 37.982h-12.375V12.375H88.706V0h39.187z" /></symbol>'});i.a.add(c);t["default"]=c},"196b":function(e,t,n){"use strict";var a=n("6456"),o=n.n(a);o.a},2395:function(e,t,n){},"27dd":function(e,t,n){"use strict";var a=n("50f8"),o=n.n(a);o.a},"2a3d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),o=n.n(a),r=n("21a1"),i=n.n(r),c=new o.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" id="icon-password"><path d="M108.8 44.322H89.6v-5.36c0-9.04-3.308-24.163-25.6-24.163-23.145 0-25.6 16.881-25.6 24.162v5.361H19.2v-5.36C19.2 15.281 36.798 0 64 0c27.202 0 44.8 15.281 44.8 38.961v5.361zm-32 39.356c0-5.44-5.763-9.832-12.8-9.832-7.037 0-12.8 4.392-12.8 9.832 0 3.682 2.567 6.808 6.407 8.477v11.205c0 2.718 2.875 4.962 6.4 4.962 3.524 0 6.4-2.244 6.4-4.962V92.155c3.833-1.669 6.393-4.795 6.393-8.477zM128 64v49.201c0 8.158-8.645 14.799-19.2 14.799H19.2C8.651 128 0 121.359 0 113.201V64c0-8.153 8.645-14.799 19.2-14.799h89.6c10.555 0 19.2 6.646 19.2 14.799z" /></symbol>'});i.a.add(c);t["default"]=c},"30c3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),o=n.n(a),r=n("21a1"),i=n.n(r),c=new o.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" id="icon-example"><path d="M96.258 57.462h31.421C124.794 27.323 100.426 2.956 70.287.07v31.422a32.856 32.856 0 0 1 25.971 25.97zm-38.796-25.97V.07C27.323 2.956 2.956 27.323.07 57.462h31.422a32.856 32.856 0 0 1 25.97-25.97zm12.825 64.766v31.421c30.46-2.885 54.507-27.253 57.713-57.712H96.579c-2.886 13.466-13.146 23.726-26.292 26.291zM31.492 70.287H.07c2.886 30.46 27.253 54.507 57.713 57.713V96.579c-13.466-2.886-23.726-13.146-26.291-26.292z" /></symbol>'});i.a.add(c);t["default"]=c},"365c":function(e,t,n){"use strict";n.d(t,"O",(function(){return o})),n.d(t,"Y",(function(){return r})),n.d(t,"s",(function(){return i})),n.d(t,"N",(function(){return c})),n.d(t,"v",(function(){return l})),n.d(t,"rb",(function(){return u})),n.d(t,"X",(function(){return s})),n.d(t,"Z",(function(){return d})),n.d(t,"kc",(function(){return m})),n.d(t,"hc",(function(){return h})),n.d(t,"Tb",(function(){return p})),n.d(t,"gc",(function(){return f})),n.d(t,"ic",(function(){return b})),n.d(t,"jc",(function(){return g})),n.d(t,"a",(function(){return v})),n.d(t,"dc",(function(){return w})),n.d(t,"cc",(function(){return k})),n.d(t,"ec",(function(){return y})),n.d(t,"pc",(function(){return O})),n.d(t,"qc",(function(){return _})),n.d(t,"r",(function(){return P})),n.d(t,"d",(function(){return x})),n.d(t,"b",(function(){return S})),n.d(t,"c",(function(){return j})),n.d(t,"e",(function(){return E})),n.d(t,"l",(function(){return V})),n.d(t,"j",(function(){return C})),n.d(t,"k",(function(){return L})),n.d(t,"m",(function(){return T})),n.d(t,"cb",(function(){return A})),n.d(t,"ab",(function(){return D})),n.d(t,"bb",(function(){return $})),n.d(t,"db",(function(){return M})),n.d(t,"hb",(function(){return I})),n.d(t,"fb",(function(){return z})),n.d(t,"gb",(function(){return H})),n.d(t,"ib",(function(){return B})),n.d(t,"V",(function(){return R})),n.d(t,"T",(function(){return N})),n.d(t,"U",(function(){return U})),n.d(t,"W",(function(){return F})),n.d(t,"kb",(function(){return W})),n.d(t,"Hb",(function(){return q})),n.d(t,"Jb",(function(){return G})),n.d(t,"Kb",(function(){return J})),n.d(t,"p",(function(){return K})),n.d(t,"n",(function(){return Y})),n.d(t,"fc",(function(){return Z})),n.d(t,"o",(function(){return X})),n.d(t,"pb",(function(){return Q})),n.d(t,"nb",(function(){return ee})),n.d(t,"ob",(function(){return te})),n.d(t,"qb",(function(){return ne})),n.d(t,"lb",(function(){return ae})),n.d(t,"mb",(function(){return oe})),n.d(t,"h",(function(){return re})),n.d(t,"i",(function(){return ie})),n.d(t,"jb",(function(){return ce})),n.d(t,"Ib",(function(){return le})),n.d(t,"B",(function(){return ue})),n.d(t,"z",(function(){return se})),n.d(t,"A",(function(){return de})),n.d(t,"C",(function(){return me})),n.d(t,"x",(function(){return he})),n.d(t,"g",(function(){return pe})),n.d(t,"R",(function(){return fe})),n.d(t,"P",(function(){return be})),n.d(t,"Q",(function(){return ge})),n.d(t,"S",(function(){return ve})),n.d(t,"wb",(function(){return we})),n.d(t,"ub",(function(){return ke})),n.d(t,"vb",(function(){return ye})),n.d(t,"xb",(function(){return Oe})),n.d(t,"eb",(function(){return _e})),n.d(t,"Zb",(function(){return Pe})),n.d(t,"nc",(function(){return xe})),n.d(t,"Fb",(function(){return Se})),n.d(t,"Db",(function(){return je})),n.d(t,"Eb",(function(){return Ee})),n.d(t,"Gb",(function(){return Ve})),n.d(t,"rc",(function(){return Ce})),n.d(t,"sb",(function(){return Le})),n.d(t,"tb",(function(){return Te})),n.d(t,"q",(function(){return Ae})),n.d(t,"w",(function(){return De})),n.d(t,"y",(function(){return $e})),n.d(t,"t",(function(){return Me})),n.d(t,"u",(function(){return Ie})),n.d(t,"D",(function(){return ze})),n.d(t,"E",(function(){return He})),n.d(t,"f",(function(){return Be})),n.d(t,"K",(function(){return Re})),n.d(t,"I",(function(){return Ne})),n.d(t,"J",(function(){return Ue})),n.d(t,"L",(function(){return Fe})),n.d(t,"H",(function(){return We})),n.d(t,"F",(function(){return qe})),n.d(t,"G",(function(){return Ge})),n.d(t,"M",(function(){return Je})),n.d(t,"bc",(function(){return Ke})),n.d(t,"ac",(function(){return Ye})),n.d(t,"sc",(function(){return Ze})),n.d(t,"Ab",(function(){return Xe})),n.d(t,"yb",(function(){return Qe})),n.d(t,"zb",(function(){return et})),n.d(t,"Cb",(function(){return tt})),n.d(t,"Bb",(function(){return nt})),n.d(t,"lc",(function(){return at})),n.d(t,"mc",(function(){return ot})),n.d(t,"Ub",(function(){return rt})),n.d(t,"Wb",(function(){return it})),n.d(t,"Xb",(function(){return ct})),n.d(t,"Vb",(function(){return lt})),n.d(t,"Yb",(function(){return ut})),n.d(t,"Ob",(function(){return st})),n.d(t,"Pb",(function(){return dt})),n.d(t,"Lb",(function(){return mt})),n.d(t,"Mb",(function(){return ht})),n.d(t,"Nb",(function(){return pt})),n.d(t,"Qb",(function(){return ft})),n.d(t,"Rb",(function(){return bt})),n.d(t,"Sb",(function(){return gt})),n.d(t,"oc",(function(){return vt}));var a=n("b775");function o(e){return Object(a["b"])({url:"/index/index",method:"get",params:e})}function r(e){return Object(a["b"])({url:"/member/index",method:"get",params:e})}function i(e){return Object(a["b"])({url:"/member/detail-list",method:"get",params:e})}function c(e){return Object(a["b"])({url:"/member/info",method:"get",params:e})}function l(e){return Object(a["b"])({url:"/member/fee-list",method:"get",params:e})}function u(e){return Object(a["b"])({url:"/member/set-password",method:"post",data:e})}function s(e){return Object(a["b"])({url:"/member/detail",method:"get",params:e})}function d(e){return Object(a["b"])({url:"/member/delete",method:"delete",params:e})}function m(e,t){return Object(a["b"])({url:"/member/update",method:"put",params:e,data:t})}function h(e){return Object(a["b"])({url:"/member-group/create",method:"post",data:e})}function p(e){return Object(a["b"])({url:"/member/customer-service-reminder",method:"post",data:e})}function f(e){return Object(a["b"])({url:"/member-group/delete",method:"delete",params:e})}function b(e){return Object(a["b"])({url:"/member-group/index",method:"get",params:e})}function g(e,t){return Object(a["b"])({url:"/member-group/update",method:"put",params:e,data:t})}function v(e,t){return Object(a["b"])({url:"/withdraw-account/update",method:"put",params:e,data:t})}function w(e){return Object(a["b"])({url:"/kyc/index",method:"get",params:e})}function k(e){return Object(a["b"])({url:"/kyc/create",method:"post",data:e})}function y(e,t){return Object(a["b"])({url:"/kyc/update",method:"put",params:e,data:t})}function O(e){return Object(a["b"])({url:"/wallet/change-type",method:"get",params:e})}function _(e){return Object(a["b"])({url:"/wallet/flow",method:"get",params:e})}function P(e){return Object(a["b"])({url:"/member/create-virtual-account",method:"post",data:e})}function x(e){return Object(a["b"])({url:"/activity/index",method:"get",params:e})}function S(e){return Object(a["b"])({url:"/activity/create",method:"post",data:e})}function j(e){return Object(a["b"])({url:"/activity/delete",method:"delete",params:e})}function E(e,t){return Object(a["b"])({url:"/activity/update",method:"put",params:e,data:t})}function V(e){return Object(a["b"])({url:"/banner/index",method:"get",params:e})}function C(e){return Object(a["b"])({url:"/banner/create",method:"post",data:e})}function L(e){return Object(a["b"])({url:"/banner/delete",method:"delete",params:e})}function T(e,t){return Object(a["b"])({url:"/banner/update",method:"put",params:e,data:t})}function A(e){return Object(a["b"])({url:"/notice/index",method:"get",params:e})}function D(e){return Object(a["b"])({url:"/notice/create",method:"post",data:e})}function $(e){return Object(a["b"])({url:"/notice/delete",method:"delete",params:e})}function M(e,t){return Object(a["b"])({url:"/notice/update",method:"put",params:e,data:t})}function I(e){return Object(a["b"])({url:"/popup/index",method:"get",params:e})}function z(e){return Object(a["b"])({url:"/popup/create",method:"post",data:e})}function H(e){return Object(a["b"])({url:"/popup/delete",method:"delete",params:e})}function B(e,t){return Object(a["b"])({url:"/popup/update",method:"put",params:e,data:t})}function R(e){return Object(a["b"])({url:"/marquee/index",method:"get",params:e})}function N(e){return Object(a["b"])({url:"/marquee/create",method:"post",data:e})}function U(e){return Object(a["b"])({url:"/marquee/delete",method:"delete",params:e})}function F(e,t){return Object(a["b"])({url:"/marquee/update",method:"put",params:e,data:t})}function W(e){return Object(a["b"])({url:"/recharge/index",method:"get",params:e})}function q(e){return Object(a["b"])({url:"/withdraw/index",method:"get",params:e})}function G(e,t){return Object(a["b"])({url:"/withdraw/update",method:"put",params:e,data:t})}function J(e,t){return Object(a["b"])({url:"/withdraw/update-info",method:"put",params:e,data:t})}function K(e){return Object(a["b"])({url:"/common-dic/update2",method:"post",data:e})}function Y(e){return Object(a["b"])({url:"/trxfee-log/index",method:"get",params:e})}function Z(e){return Object(a["b"])({url:"/member/log",method:"get",params:e})}function X(e){return Object(a["b"])({url:"/common-dic/index2",method:"get",params:e})}function Q(e){return Object(a["b"])({url:"/recharge-scale/index",method:"get",params:e})}function ee(e){return Object(a["b"])({url:"/recharge-scale/create",method:"post",data:e})}function te(e){return Object(a["b"])({url:"/recharge-scale/delete",method:"delete",params:e})}function ne(e,t){return Object(a["b"])({url:"/recharge-scale/update",method:"put",params:e,data:t})}function ae(e){return Object(a["b"])({url:"/recharge-rule/index",method:"get",params:e})}function oe(e,t){return Object(a["b"])({url:"/recharge-rule/update",method:"put",params:e,data:t})}function re(e){return Object(a["b"])({url:"/appversion/create",method:"post",data:e})}function ie(e){return Object(a["b"])({url:"/appversion/index",method:"get",params:e})}function ce(e){return Object(a["b"])({url:"/member/problem-index",method:"get",params:e})}function le(e){return Object(a["b"])({url:"/member/withdraw-tip",method:"get",params:e})}function ue(e){return Object(a["b"])({url:"/financial-product/index",method:"get",params:e})}function se(e){return Object(a["b"])({url:"/financial-product/create",method:"post",data:e})}function de(e){return Object(a["b"])({url:"/financial-product/delete",method:"delete",params:e})}function me(e,t){return Object(a["b"])({url:"/financial-product/update",method:"put",params:e,data:t})}function he(e){return Object(a["b"])({url:"/financial-flow/index",method:"get",params:e})}function pe(e){return Object(a["b"])({url:"/soccer-league/allLeague",method:"get",params:e})}function fe(e){return Object(a["b"])({url:"/soccer-league/index",method:"get",params:e})}function be(e){return Object(a["b"])({url:"/soccer-league/create",method:"post",data:e})}function ge(e){return Object(a["b"])({url:"/soccer-league/delete",method:"delete",params:e})}function ve(e,t){return Object(a["b"])({url:"/soccer-league/update",method:"put",params:e,data:t})}function we(e){return Object(a["b"])({url:"/soccer-sport-team/index",method:"get",params:e})}function ke(e){return Object(a["b"])({url:"/soccer-sport-team/create",method:"post",data:e})}function ye(e){return Object(a["b"])({url:"/soccer-sport-team/delete",method:"delete",params:e})}function Oe(e,t){return Object(a["b"])({url:"/soccer-sport-team/update",method:"put",params:e,data:t})}function _e(e){return Object(a["b"])({url:"/order/index",method:"get",params:e})}function Pe(e){return Object(a["b"])({url:"/sport/index",method:"get",params:e})}function xe(e,t){return Object(a["b"])({url:"/sport/update",method:"put",params:e,data:t})}function Se(e){return Object(a["b"])({url:"/wallet-type/index",method:"get",params:e})}function je(e){return Object(a["b"])({url:"/wallet-type/create",method:"post",data:e})}function Ee(e){return Object(a["b"])({url:"/wallet-type/delete",method:"delete",params:e})}function Ve(e,t){return Object(a["b"])({url:"/wallet-type/update",method:"put",params:e,data:t})}function Ce(e){return Object(a["b"])({url:"/wallet/member",method:"get",params:e})}function Le(e){return Object(a["b"])({url:"/report/site-daily",method:"get",params:e})}function Te(e){return Object(a["b"])({url:"/report/site-monthly",method:"get",params:e})}function Ae(e){return Object(a["b"])({url:"/report/country-site-daily",method:"get",params:e})}function De(e){return Object(a["b"])({url:"/report/financial-daily",method:"get",params:e})}function $e(e){return Object(a["b"])({url:"/report/financial-monthly",method:"get",params:e})}function Me(e){return Object(a["b"])({url:"/report/exchange-daily",method:"get",params:e})}function Ie(e){return Object(a["b"])({url:"/report/exchange-monthly",method:"get",params:e})}function ze(e){return Object(a["b"])({url:"/report/futures-daily",method:"get",params:e})}function He(e){return Object(a["b"])({url:"/report/futures-monthly",method:"get",params:e})}function Be(e){return Object(a["b"])({url:"/game-type/all",method:"get",params:e})}function Re(e){return Object(a["b"])({url:"/game-type/index",method:"get",params:e})}function Ne(e){return Object(a["b"])({url:"/game-type/create",method:"post",data:e})}function Ue(e){return Object(a["b"])({url:"/game-type/delete",method:"delete",params:e})}function Fe(e,t){return Object(a["b"])({url:"/game-type/update",method:"put",params:e,data:t})}function We(e){return Object(a["b"])({url:"/game/index",method:"get",params:e})}function qe(e){return Object(a["b"])({url:"/game/create",method:"post",data:e})}function Ge(e){return Object(a["b"])({url:"/game/delete",method:"delete",params:e})}function Je(e,t){return Object(a["b"])({url:"/game/update",method:"put",params:e,data:t})}function Ke(e,t){return Object(a["b"])({url:"/recharge-coin/index",method:"get",params:e,data:t})}function Ye(e){return Object(a["b"])({url:"/withdrawal-agreement/index",method:"get",params:e})}function Ze(e,t){return Object(a["b"])({url:"/withdrawal-agreement/update",method:"put",params:e,data:t})}function Xe(e){return Object(a["b"])({url:"/telegram/index",method:"get",params:e})}function Qe(e){return Object(a["b"])({url:"/telegram/create",method:"post",data:e})}function et(e){return Object(a["b"])({url:"/telegram/delete",method:"delete",params:e})}function tt(e,t){return Object(a["b"])({url:"/telegram/update",method:"put",params:e,data:t})}function nt(e){return Object(a["b"])({url:"/telegram/send",method:"post",data:e})}function at(e){return Object(a["b"])({url:"/spread/index",method:"get",params:e})}function ot(e,t){return Object(a["b"])({url:"/spread/update",method:"put",params:e,data:t})}function rt(e){return Object(a["b"])({url:"/spread/analyze",method:"get",params:e})}function it(e){return Object(a["b"])({url:"/spread/log",method:"get",params:e})}function ct(e){return Object(a["b"])({url:"/spread/log-detail",method:"get",params:e})}function lt(e){return Object(a["b"])({url:"/spread/channel",method:"get",params:e})}function ut(e){return Object(a["b"])({url:"/spread/statistics",method:"get",params:e})}function st(e){return Object(a["b"])({url:"/contract1x-order/cancel-close",method:"POST",data:e})}function dt(e){return Object(a["b"])({url:"/contract1x-order/close-all",method:"POST",data:e})}function mt(e){return Object(a["b"])({url:"/contract1x-order/close",method:"POST",data:e})}function ht(e){return Object(a["b"])({url:"/contract1x-control/create",method:"POST",data:e})}function pt(e){return Object(a["b"])({url:"/contract1x-control/update?id="+e.id,method:"PUT",data:e})}function ft(e){return Object(a["b"])({url:"/forex-contract-order/close",method:"POST",data:e})}function bt(e){return Object(a["b"])({url:"/forex-contract-order/close-all",method:"POST",data:e})}function gt(e){return Object(a["b"])({url:"forex-contract-order/cancel-close",method:"POST",data:e})}function vt(e){return Object(a["b"])({url:"withdraw/update-info?id="+e.id,method:"PUT",data:e})}},"3f31":function(e,t,n){},"3f4d":function(e,t,n){},4360:function(e,t,n){"use strict";var a=n("2b0e"),o=n("2f62"),r={sidebar:function(e){return e.app.sidebar},device:function(e){return e.app.device},token:function(e){return e.user.token},avatar:function(e){return e.user.avatar},name:function(e){return e.user.token},visitedViews:function(e){return e.tagsView.visitedViews},cachedViews:function(e){return e.tagsView.cachedViews}},i=r,c=n("a78e"),l=n.n(c),u={sidebar:{opened:!l.a.get("sidebarStatus")||!!+l.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop"},s={TOGGLE_SIDEBAR:function(e){e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1,e.sidebar.opened?l.a.set("sidebarStatus",1):l.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(e,t){l.a.set("sidebarStatus",0),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t}},d={toggleSideBar:function(e){var t=e.commit;t("TOGGLE_SIDEBAR")},closeSideBar:function(e,t){var n=e.commit,a=t.withoutAnimation;n("CLOSE_SIDEBAR",a)},toggleDevice:function(e,t){var n=e.commit;n("TOGGLE_DEVICE",t)}},m={namespaced:!0,state:u,mutations:s,actions:d},h=n("83d6"),p=n.n(h),f=p.a.showSettings,b=p.a.fixedHeader,g=p.a.sidebarLogo,v=p.a.tagsView,w={showSettings:f,fixedHeader:b,sidebarLogo:g,tagsView:v},k={CHANGE_SETTING:function(e,t){var n=t.key,a=t.value;e.hasOwnProperty(n)&&(e[n]=a)}},y={changeSetting:function(e,t){var n=e.commit;n("CHANGE_SETTING",t)}},O={namespaced:!0,state:w,mutations:k,actions:y},_=(n("b0c0"),n("d3b7"),n("c24f")),P=n("5f87"),x=n("a18c"),S=n("b893"),j=n("8fa2"),E=function(){return{token:Object(P["a"])(),name:"",avatar:"",nav:null}},V=E(),C={RESET_STATE:function(e){Object.assign(e,E())},SET_TOKEN:function(e,t){e.token=t},SET_NAME:function(e,t){e.name=t},SET_AVATAR:function(e,t){e.avatar=t},SET_NAV:function(e,t){e.nav=t}},L={login:function(e,t){var n=e.commit;return new Promise((function(e,a){Object(_["n"])(t).then((function(t){if(200===t.code){var a=t.data;n("SET_TOKEN",a),Object(P["c"])(a)}e(t)})).catch((function(e){a(e)}))}))},setNavigation:function(e){var t=e.dispatch,n=e.commit;e.state;return new Promise((function(e,a){Object(_["z"])().then((function(o){if(200===(null===o||void 0===o?void 0:o.code)){var r=Object(S["c"])(o.data,x["a"]);n("SET_NAV",o.data),e(r)}else t("logout"),a()}))}))},getInfo:function(e){var t=e.commit,n=e.state;return new Promise((function(e,a){Object(_["k"])(n.token).then((function(n){var o=n.data;if(!o)return a("Verification failed, please Login again.");var r=o.name,i=o.avatar;t("SET_NAME",r),t("SET_AVATAR",i),e(o)})).catch((function(e){a(e)}))}))},logout:function(e){var t=e.commit;e.state;return new Promise((function(e,n){Object(P["b"])(),t("RESET_STATE"),x["b"].push({path:"/login"})}))},resetToken:function(e){var t=e.commit;return new Promise((function(e){Object(P["b"])(),t("RESET_STATE"),e()}))},changePwd:function(e,t){var n=e.commit;return new Promise((function(e,a){Object(j["b"])("/site/up-pwd",t).then((function(t){if(200===t.code){var a=t.data;n("SET_TOKEN",a),Object(P["c"])(a),e(t)}e(t)})).catch((function(e){a(e)}))}))}},T={namespaced:!0,state:V,mutations:C,actions:L},A=(n("4de4"),n("caad"),n("c975"),n("fb6a"),n("45fc"),n("a434"),n("2532"),n("ddb0"),n("2909")),D=n("3835"),$=n("b85c"),M={visitedViews:[],cachedViews:[]},I={ADD_VISITED_VIEW:function(e,t){e.visitedViews.some((function(e){return e.fullPath===t.fullPath}))||e.visitedViews.push(Object.assign({},t,{title:t.meta.title||"no-name"}))},ADD_CACHED_VIEW:function(e,t){e.cachedViews.includes(t.name)||t.meta.noCache||e.cachedViews.push(t.name)},DEL_VISITED_VIEW:function(e,t){var n,a=Object($["a"])(e.visitedViews.entries());try{for(a.s();!(n=a.n()).done;){var o=Object(D["a"])(n.value,2),r=o[0],i=o[1];if(i.fullPath===t.fullPath){e.visitedViews.splice(r,1);break}}}catch(c){a.e(c)}finally{a.f()}},DEL_CACHED_VIEW:function(e,t){var n=e.cachedViews.indexOf(t.name);n>-1&&e.cachedViews.splice(n,1)},DEL_OTHERS_VISITED_VIEWS:function(e,t){e.visitedViews=e.visitedViews.filter((function(e){return e.meta.affix||e.fullPath===t.fullPath}))},DEL_OTHERS_CACHED_VIEWS:function(e,t){var n=e.cachedViews.indexOf(t.name);e.cachedViews=n>-1?e.cachedViews.slice(n,n+1):[]},DEL_ALL_VISITED_VIEWS:function(e){var t=e.visitedViews.filter((function(e){return e.meta.affix}));e.visitedViews=t},DEL_ALL_CACHED_VIEWS:function(e){e.cachedViews=[]},UPDATE_VISITED_VIEW:function(e,t){var n,a=Object($["a"])(e.visitedViews);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(o.fullPath===t.fullPath){o=Object.assign(o,t);break}}}catch(r){a.e(r)}finally{a.f()}}},z={addView:function(e,t){var n=e.dispatch;n("addVisitedView",t),n("addCachedView",t)},addVisitedView:function(e,t){var n=e.commit;n("ADD_VISITED_VIEW",t)},addCachedView:function(e,t){var n=e.commit;n("ADD_CACHED_VIEW",t)},delView:function(e,t){var n=e.dispatch,a=e.state;return new Promise((function(e){n("delVisitedView",t),n("delCachedView",t),e({visitedViews:Object(A["a"])(a.visitedViews),cachedViews:Object(A["a"])(a.cachedViews)})}))},delVisitedView:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_VISITED_VIEW",t),e(Object(A["a"])(a.visitedViews))}))},delCachedView:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_CACHED_VIEW",t),e(Object(A["a"])(a.cachedViews))}))},delOthersViews:function(e,t){var n=e.dispatch,a=e.state;return new Promise((function(e){n("delOthersVisitedViews",t),n("delOthersCachedViews",t),e({visitedViews:Object(A["a"])(a.visitedViews),cachedViews:Object(A["a"])(a.cachedViews)})}))},delOthersVisitedViews:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_OTHERS_VISITED_VIEWS",t),e(Object(A["a"])(a.visitedViews))}))},delOthersCachedViews:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_OTHERS_CACHED_VIEWS",t),e(Object(A["a"])(a.cachedViews))}))},delAllViews:function(e,t){var n=e.dispatch,a=e.state;return new Promise((function(e){n("delAllVisitedViews",t),n("delAllCachedViews",t),e({visitedViews:Object(A["a"])(a.visitedViews),cachedViews:Object(A["a"])(a.cachedViews)})}))},delAllVisitedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_VISITED_VIEWS"),e(Object(A["a"])(n.visitedViews))}))},delAllCachedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_CACHED_VIEWS"),e(Object(A["a"])(n.cachedViews))}))},updateVisitedView:function(e,t){var n=e.commit;n("UPDATE_VISITED_VIEW",t)}},H={namespaced:!0,state:M,mutations:I,actions:z},B=n("71bb"),R={namespaced:!0,state:{pageSize:localStorage.getItem("pageSize")?parseInt(localStorage.getItem("pageSize")):20,fields:localStorage.getItem("fields")?JSON.parse(localStorage.getItem("fields")):{},enum:{},staff:{}},mutations:{UPDATE_PAGE_SIZE:function(e,t){e.pageSize=t,localStorage.setItem("pageSize",t)},UPDATE_FIELDS:function(e,t){e.fields[t.key]=t.value,localStorage.setItem("fields",JSON.stringify(e.fields))},SET_ENUM:function(e,t){e.enum=t},SET_STAFF:function(e,t){e.staff=t}},actions:{updataPageSize:function(e,t){var n=e.commit;n("UPDATE_PAGE_SIZE",t)},updateFields:function(e,t){var n=e.commit;n("UPDATE_FIELDS",t),Object(_["saveField"])({params:JSON.stringify(t)}).then((function(e){console.log(e)}))},getEnum:function(e){var t=e.commit;return new Promise((function(e,n){Object(B["c"])().then((function(a){200===a.code?(t("SET_ENUM",a.data),e(a.data)):n(a.message)}))}))},getStaff:function(e){var t=e.commit;return new Promise((function(e,n){Object(B["b"])().then((function(a){200===a.code?(t("SET_STAFF",a.data),e(a.data)):n(a.message)}))}))}}},N=R;a["default"].use(o["a"]);var U=new o["a"].Store({modules:{app:m,settings:O,user:T,tagsView:H,attr:N},getters:i});t["a"]=U},"47f1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),o=n.n(a),r=n("21a1"),i=n.n(r),c=new o.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" id="icon-table"><path d="M.006.064h127.988v31.104H.006V.064zm0 38.016h38.396v41.472H.006V38.08zm0 48.384h38.396v41.472H.006V86.464zM44.802 38.08h38.396v41.472H44.802V38.08zm0 48.384h38.396v41.472H44.802V86.464zM89.598 38.08h38.396v41.472H89.598zm0 48.384h38.396v41.472H89.598z" /><path d="M.006.064h127.988v31.104H.006V.064zm0 38.016h38.396v41.472H.006V38.08zm0 48.384h38.396v41.472H.006V86.464zM44.802 38.08h38.396v41.472H44.802V38.08zm0 48.384h38.396v41.472H44.802V86.464zM89.598 38.08h38.396v41.472H89.598zm0 48.384h38.396v41.472H89.598z" /></symbol>'});i.a.add(c);t["default"]=c},"4df5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),o=n.n(a),r=n("21a1"),i=n.n(r),c=new o.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 64" id="icon-eye"><path d="M127.072 7.994c1.37-2.208.914-5.152-.914-6.87-2.056-1.717-4.797-1.226-6.396.982-.229.245-25.586 32.382-55.74 32.382-29.24 0-55.74-32.382-55.968-32.627-1.6-1.963-4.57-2.208-6.397-.49C-.17 3.086-.399 6.275 1.2 8.238c.457.736 5.94 7.36 14.62 14.72L4.17 35.96c-1.828 1.963-1.6 5.152.228 6.87.457.98 1.6 1.471 2.742 1.471s2.284-.49 3.198-1.472l12.564-13.983c5.94 4.416 13.021 8.587 20.788 11.53l-4.797 17.418c-.685 2.699.686 5.397 3.198 6.133h1.37c2.057 0 3.884-1.472 4.341-3.68L52.6 42.83c3.655.736 7.538 1.227 11.422 1.227 3.883 0 7.767-.49 11.422-1.227l4.797 17.173c.457 2.208 2.513 3.68 4.34 3.68.457 0 .914 0 1.143-.246 2.513-.736 3.883-3.434 3.198-6.133l-4.797-17.172c7.767-2.944 14.848-7.114 20.788-11.53l12.336 13.738c.913.981 2.056 1.472 3.198 1.472s2.284-.49 3.198-1.472c1.828-1.963 1.828-4.906.228-6.87l-11.65-13.001c9.366-7.36 14.849-14.474 14.849-14.474z" /></symbol>'});i.a.add(c);t["default"]=c},"50f8":function(e,t,n){},"51ff":function(e,t,n){var a={"./dashboard.svg":"f782","./example.svg":"30c3","./eye-open.svg":"d7ec","./eye.svg":"4df5","./form.svg":"eb1b","./link.svg":"18f0","./nested.svg":"dcf8","./password.svg":"2a3d","./right.svg":"9a71","./table.svg":"47f1","./tree.svg":"93cd","./user.svg":"b3b5"};function o(e){var t=r(e);return n(t)}function r(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}o.keys=function(){return Object.keys(a)},o.resolve=r,e.exports=o,o.id="51ff"},"56d7":function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d");var a=n("2b0e"),o=(n("f5df1"),n("5c96")),r=n.n(o),i=(n("0fae"),n("df45")),c=n.n(i),l=(n("b20f"),n("313e")),u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},s=[],d={name:"App",mounted:function(){},methods:{}},m=d,h=(n("7c55"),n("2877")),p=Object(h["a"])(m,u,s,!1,null,null,null),f=p.exports,b=n("4360"),g=n("a18c"),v=(n("a9e3"),n("d3b7"),n("ac1f"),n("25f0"),n("5319"),n("1276"),function(e){var t=0;try{e=Number(e);var n=e.toString().toUpperCase();if(2===n.split("E").length){var a=!1;2===n.split(".").length&&(n=n.split(".")[1],0!==parseInt(n.split("E")[0])&&(a=!0));var o=n.split("E");a&&(t=o[0].length),t-=parseInt(o[1])}else 2===n.split(".").length&&0!==parseInt(n.split(".")[1])&&(t=n.split(".")[1].length)}catch(r){throw r}finally{return(isNaN(t)||t<0)&&(t=0),t}}),w=function(e){e=Number(e);var t=e,n=v(e),a=e.toString().toUpperCase();return t=2===a.split("E").length?Math.round(e*Math.pow(10,n)):Number(a.replace(".","")),t},k=function(e,t,n,a){var o=0;switch(e){case"add":o=t+n;break;case"sub":o=t-n;break;case"div":o=t/n;break;case"mul":o=t*n;break}return Math.abs(a-o)>1?o:a},y={accAdd:function(e,t){var n,a,o;e=Number(e),t=Number(t);try{n=v(e)+1}catch(i){n=0}try{a=v(t)+1}catch(i){a=0}o=Math.pow(10,Math.max(n,a));var r=(this.accMul(e,o)+this.accMul(t,o))/o;return k("add",e,t,r)},accSub:function(e,t){var n,a,o;e=Number(e),t=Number(t);try{n=v(e)+1}catch(i){n=0}try{a=v(t)+1}catch(i){a=0}o=Math.pow(10,Math.max(n,a));var r=Number((this.accMul(e,o)-this.accMul(t,o))/o);return k("sub",e,t,r)},accDiv:function(e,t){e=Number(e),t=Number(t);var n,a,o=0,r=0;try{o=v(e)}catch(c){}try{r=v(t)}catch(c){}n=w(e),a=w(t);var i=this.accMul(n/a,Math.pow(10,r-o));return k("div",e,t,i)},accMul:function(e,t){e=Number(e),t=Number(t);var n=0,a=e.toString(),o=t.toString();try{n+=v(a)}catch(i){}try{n+=v(o)}catch(i){}var r=w(a)*w(o)/Math.pow(10,n);return k("mul",e,t,r)}},O=(n("be35"),n("d81d"),n("ddb0"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isExternal?n("div",e._g({staticClass:"svg-external-icon svg-icon",style:e.styleExternalIcon},e.$listeners)):n("svg",e._g({class:e.svgClass,attrs:{"aria-hidden":"true"}},e.$listeners),[n("use",{attrs:{"xlink:href":e.iconName}})])}),_=[],P=n("61f7"),x={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal:function(){return Object(P["a"])(this.iconClass)},iconName:function(){return"#icon-".concat(this.iconClass)},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"},styleExternalIcon:function(){return{mask:"url(".concat(this.iconClass,") no-repeat 50% 50%"),"-webkit-mask":"url(".concat(this.iconClass,") no-repeat 50% 50%")}}}},S=x,j=(n("68fa"),Object(h["a"])(S,O,_,!1,null,"f9f7fefc",null)),E=j.exports;a["default"].component("svg-icon",E);var V=n("51ff"),C=function(e){return e.keys().map(e)};C(V);n("c975"),n("96cf");var L=n("1da1"),T=n("323e"),A=n.n(T),D=(n("a5d8"),n("5f87")),$=(n("99af"),n("83d6")),M=n.n($),I=M.a.title||"Vue Admin Template";function z(e){return e?"".concat(e," - ").concat(I):"".concat(I)}A.a.configure({showSpinner:!1});var H=["/login","/404","/googleBind"];g["b"].beforeEach(function(){var e=Object(L["a"])(regeneratorRuntime.mark((function e(t,n,a){var r,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(A.a.start(),document.title=z(t.meta.title),r=Object(D["a"])(),!r){e.next=31;break}if("/login"!==t.path){e.next=9;break}a({path:"/"}),A.a.done(),e.next=29;break;case 9:if(i=b["a"].state.user.nav,!i){e.next=14;break}a(),e.next=29;break;case 14:return e.prev=14,e.next=17,b["a"].dispatch("user/setNavigation");case 17:return e.next=19,b["a"].dispatch("attr/getEnum");case 19:return e.next=21,b["a"].dispatch("attr/getStaff");case 21:a(),e.next=29;break;case 24:e.prev=24,e.t0=e["catch"](14),o["Message"].error(e.t0||"Has Error"),a("/login?redirect=".concat(t.path)),A.a.done();case 29:e.next=32;break;case 31:-1!==H.indexOf(t.path)?a():(a("/login?redirect=".concat(t.path)),A.a.done());case 32:case"end":return e.stop()}}),e,null,[[14,24]])})));return function(t,n,a){return e.apply(this,arguments)}}()),g["b"].afterEach((function(){A.a.done()}));var B=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ym-table"},[n("div",{staticClass:"table-opts"},[e.tableOptsJudge("add")?n("el-button",{attrs:{type:"primary",icon:"el-icon-plus",size:"small"},on:{click:e.handleAddRowItem}},[e._v("新增")]):e._e(),e.tableOptsJudge("import")?n("Excel2Table",{attrs:{options:e.tableOpts.import,apis:e.apis},on:{callback:e.handleTableImportCallback}}):e._e(),e.tableOptsJudge("download")?n("a",{staticClass:"el-button el-button--small",attrs:{href:e.comDownloadUrl,download:""}},[n("i",{staticClass:"el-icon-download"}),e._v(" 模板下载 ")]):e._e(),e.tableOptsJudge("export")?n("Table2Excel",{ref:"table2Excel",attrs:{"thead-map":e.tableOpts.export.theadMap,"thead-props":e.tableOpts.export.theadProps,"base-api":e.tableOpts.export.baseApi,"data-name":e.tableOpts.export.dataName,"tfoot-data":e.tableOpts.export.tfootData},on:{click:function(t){return e.handleExport()}}}):e._e(),e.tableOptsJudge("batchDelete")?n("el-tooltip",{attrs:{"popper-class":"button-del-tooltip",disabled:e.delTooltipAble,effect:"dark",content:"请选择要删除的数据",placement:"top"}},[e.selection?n("el-button",{attrs:{icon:"el-icon-delete",size:"small",loading:e.batchDeleteLoading,disabled:e.deleteLoading},on:{click:function(t){return t.stopPropagation(),e.handleBatchDelete()}}},[e._v("批量删除")]):e._e()],1):e._e(),e._t("table-opts"),n("div",{staticClass:"table-opts-right"},[e._t("table-opts-right")],2)],2),e.alertTip?n("el-alert",{attrs:{type:"warning","show-icon":"",title:e.alertTip,closable:!1}}):e._e(),e.columns.length>0?n("el-table",e._g(e._b({directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],ref:"table",staticStyle:{width:"100%"},attrs:{id:"listTable","element-loading-text":"Loading","highlight-current-row":"",stripe:"",height:"100%",data:e.listData},on:{"selection-change":e.handleSelectionChange}},"el-table",e.$attrs,!1),e.$listeners),[e.selection?n("el-table-column",{attrs:{type:"selection",width:"60",fixed:"left",align:"center"}}):e._e(),e._l(e.columns,(function(t,a){return n("el-table-column",{key:a,attrs:{label:t.label,prop:t.prop,width:t.image?"100px":t.width,"max-width":"300px",align:t.align||"center"},scopedSlots:e._u([{key:"default",fn:function(a){var o=a.row;return t.children?void 0:[e._t(t.prop,[n("div",{style:{"text-align":t.align||"center"},on:{mouseover:function(t){return t.stopPropagation(),e.handleMouseOver(t)}}},[n("el-tooltip",{attrs:{disabled:!e.showOverflowTooltip,"popper-class":"ym-table-tooltip",placement:"top",effect:"dark"}},[n("div",{staticClass:"ym-table-tooltip-content",attrs:{slot:"content"},domProps:{innerHTML:e._s(t.method?t.method(o):o[t.prop])},slot:"content"}),t.html?n("div",{domProps:{innerHTML:e._s(t.method?t.method(o):o[t.prop])}}):t.image?n("div",[0===e.imageUrl(o[t.prop]).length?n("span",[e._v("--")]):n("el-image",{staticStyle:{width:"80px",height:"80px"},attrs:{"scroll-container":"#listTable .el-table__body-wrapper",lazy:!0,src:e.imageUrl(o[t.prop])[0],"preview-src-list":e.imageUrl(o[t.prop])}})],1):t.method?n("p",[e._v(" "+e._s(t.method(o))+" ")]):t.options?n("p",[e._v(" "+e._s(e.renderOptions(o[t.prop],t.options))+" ")]):n("p",[e._v(e._s(e.dealWithValue(o[t.prop]||"--")))])])],1)],{row:o})]}}],null,!0)},[n("template",{slot:"header"},[n("span",{domProps:{innerHTML:e._s(t.label)}})]),t.children?e._l(t.children,(function(o){return n("el-table-column",{key:o.prop+a,attrs:{width:o.width||o.image?"100px":"","show-overflow-tooltip":!0,align:o.align||"center"},scopedSlots:e._u([{key:"default",fn:function(a){var r=a.row;return[e._t(o.prop,[n("div",{style:{"text-align":o.align||"center"},on:{mouseover:function(t){return t.stopPropagation(),e.handleMouseOver(t)}}},[n("el-tooltip",{attrs:{disabled:!e.showOverflowTooltip,"popper-class":"ym-table-tooltip",placement:"top",effect:"dark"}},[n("div",{staticClass:"ym-table-tooltip-content",attrs:{slot:"content"},domProps:{innerHTML:e._s(t.method?t.method(r):r[o.prop])},slot:"content"}),o.html?n("p",{domProps:{innerHTML:e._s(r[o.prop])}}):o.image?n("div",[0===e.imageUrl(r[o.prop]).length?n("span",[e._v("--")]):n("el-image",{staticStyle:{width:"80px",height:"80px"},attrs:{"scroll-container":"#listTable .el-table__body-wrapper",lazy:!0,src:e.imageUrl(r[o.prop])[0],"preview-src-list":e.imageUrl(r[o.prop])}})],1):o.method?n("p",[e._v(" "+e._s(o.method(r))+" ")]):o.options?n("p",[e._v(" "+e._s(e.renderOptions(r[o.prop],o.options))+" ")]):n("p",[e._v(e._s(e.dealWithValue(r[o.prop]||"--")))])])],1)],{row:r})]}}],null,!0)},[n("template",{slot:"header"},[n("span",{domProps:{innerHTML:e._s(o.label)}})])],2)})):e._e()],2)})),e.tableRowsActions&&e.tableRowsActions.length?n("el-table-column",{attrs:{label:"操作",fixed:"right",align:"center",width:e.actionsWidth?e.actionsWidth:80*e.tableRowsActions.length},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return e._l(e.tableRowsActions,(function(t){return!t.vIF||t.vIF(a)?n("el-button",{key:t.key,class:t.class,style:t.style,attrs:{type:t.type||"text",icon:t.icon,size:"small",disabled:t.disabled},on:{click:function(n){t.method?t.method(a):e.handleTableRowOpt(t.key,a)}}},[e._v(" "+e._s(t.label)+" ")]):e._e()}))}}],null,!1,3551848927)}):e._e()],2):e._e(),0===e.columns.length?n("el-alert",{staticStyle:{height:"100%"},attrs:{title:"无表格配置数据",type:"warning",center:"",closable:!1,"show-icon":""}}):e._e(),n("div",{staticStyle:{display:"flex","justify-content":"space-between"}},[n("div",[e._t("table-buttom-opts")],2),e.columns.length>0?n("el-pagination",{attrs:{background:"",layout:"total, prev, pager, next, jumper","current-page":e.page,"page-size":e.pageSize,"page-sizes":[15,30,45,60],total:e.totalPage},on:{"update:currentPage":function(t){e.page=t},"update:current-page":function(t){e.page=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}):e._e()],1),n("TableDetail",{ref:"tableDetail",attrs:{"detail-format":e.detailFormat,"detail-data":e.selectRow},model:{value:e.tableDetailDrawerVisible,callback:function(t){e.tableDetailDrawerVisible=t},expression:"tableDetailDrawerVisible"}}),n("TableEditor",{ref:"tableEditor",attrs:{"edit-form":e.editForm,"edit-data":e.selectRow,config:e.editConfig,apis:e.apiParams},on:{callback:e.handleTableEditorCallback},model:{value:e.tableEditorDrawerVisible,callback:function(t){e.tableEditorDrawerVisible=t},expression:"tableEditorDrawerVisible"}})],1)},R=[],N=(n("7db0"),n("4160"),n("caad"),n("a15b"),n("a434"),n("b64b"),n("2532"),n("159b"),n("ade3")),U=n("b85c"),F=n("53ca"),W=n("b775"),q=function(){return n.e("chunk-2d2167b4").then(n.bind(null,"c33a"))},G=function(){return n.e("chunk-6d267922").then(n.bind(null,"40d8"))},J=function(){return n.e("chunk-b47277d0").then(n.bind(null,"2948"))},K={name:"YMTable",components:{TableDetail:J,TableEditor:G,Table2Excel:q},props:{tableOptions:{type:Object,default:function(){return{export:{show:!1,theadMap:{type:Array,default:function(){return[]}},theadProps:{type:Array,default:function(){}},tableData:{type:Array,default:function(){return[]}},tfootData:{type:Array,default:function(){return[]}},dataName:{type:String,default:"excel.xlsx"}}}}},selection:{type:Boolean,default:!1},index:{type:Boolean,default:!0},rowsActions:{type:Array,default:function(){return[]}},actionsWidth:{type:Number,default:null},columns:{type:Array,default:function(){return[]}},editForm:{type:Array,default:function(){return[]}},editConfig:{type:Object,default:function(){return{title:"",addTip:"",editTip:"",size:""}}},refreshToOne:{type:Boolean,default:!1},detailFormat:{type:Array,default:function(){return[]}},apis:{type:Object,default:function(){}},alertTip:{type:String,default:""}},data:function(){return{showOverflowTooltip:!1,tableOpts:Object.assign({},{hideAll:!1,add:{show:!1},batchDelete:{show:!1},import:{show:!1},export:{show:!1},download:{show:!1,url:"/static/template.xlsx"}},this.tableOptions),tableRowsActions:[],apiParams:Object.assign({},{list:{url:"",params:{},dataParam:"data"},preivew:{},import:{},edit:{}},this.apis),selectionList:[],page:0,pageSize:15,totalPage:0,isExport:!1,listData:[],listLoading:!1,tableDetailDrawerVisible:!1,tableEditorDrawerVisible:!1,selectRow:{},batchDeleteLoading:!1,deleteLoading:!1,searchParams:{}}},computed:{delTooltipAble:function(){return!!this.selectionList.length},formatImageUrl:function(){var e=this;return function(t){if(!t)return[];if("[]"===String(t))return"";if(String(t).indexOf("http")>-1)return t;if(!t)return[];"/"!==t.charAt(0)&&(t="/".concat(t));var n=e.apiParams.imgApi||Object({NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_BASE_IMG;return"".concat(n).concat(t)}},imageUrl:function(){var e=this;return function(t){if(!t)return[];if(String(t).includes("[]"))return[];if(Array.isArray(t))return t.map((function(t){return e.formatImageUrl(t)}))||[];if(String(t).includes("[")&&String(t).includes("]")&&!String(t).includes("[]")){if(!t)return[];var n=JSON.parse(t);if(!Array.isArray(n))return[];var a=n.map((function(t){return"object"===Object(F["a"])(t)?e.formatImageUrl(t.url):e.formatImageUrl(t)}));return a}if(String(t).includes('""')){var o=t.replace('""',"");return e.imageUrl(o)}var r=String(t).split(",");r.includes("")&&r.splice(r.indexOf(""),1);var i=r.map((function(t){return e.formatImageUrl(String(t).includes("[]")?"":t)}))||[];return i}},comDownloadUrl:function(){var e,t,n=(null===(e=this.tableOpts)||void 0===e||null===(t=e.download)||void 0===t?void 0:t.prefix)||(void 0!==Object({NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_BASE_DOWNLOAD?Object({NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_BASE_DOWNLOAD:Object({NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_BASE_PREFIX);return console.log("🚀 下载地址:",n+this.tableOpts.download.url),n+this.tableOpts.download.url},tableOptsJudge:function(){var e=this;return function(t){return e.tableOpts[t].show&&!e.tableOptions.hideAll}},renderOptions:function(){return function(e,t){var n;return t&&t.length&&(null===(n=t.find((function(t){return"string"===typeof e?String(t.value)===String(e):"number"===typeof e?Number(t.value)===Number(e):t.value===e})))||void 0===n?void 0:n.label)||e}},dealWithValue:function(){return function(e){return"number"===typeof e?parseFloat(Math.round(e*Math.pow(10,2))/Math.pow(10,2)):e}}},watch:{listData:{handler:function(e){var t=this;e&&this.$refs.table&&this.$nextTick((function(){t.$refs.table.doLayout(),t.$refs.table.bodyWrapper.scrollTop=0}))}}},created:function(){var e,t,n,a;console.log("$slots",this.$slots),this._dealWidthRowsActions(),(null===(e=this.apiParams)||void 0===e||null===(t=e.list)||void 0===t?void 0:t.url)&&[void 0,!0].includes(null===(n=this.apiParams)||void 0===n||null===(a=n.list)||void 0===a?void 0:a.init)&&this.getList()},methods:{handleTableMouseOver:function(e){console.table("🚀 handleTableMouseOver row:",e)},handleMouseOver:function(e){var t,n,a,o,r,i,c=null===(t=e.fromElement)||void 0===t||null===(n=t.childNodes[0])||void 0===n||null===(a=n.childNodes[0])||void 0===a?void 0:a.clientHeight,l=null===(o=e.fromElement)||void 0===o||null===(r=o.childNodes[0])||void 0===r||null===(i=r.childNodes[0])||void 0===i?void 0:i.scrollHeight;this.showOverflowTooltip=c<l},_dealWidthRowsActions:function(){var e=this;if(this.rowsActions.length){var t,n=Object(U["a"])(this.rowsActions);try{var a=function(){var n=t.value;e.tableRowsActions.length?e.tableRowsActions=e.tableRowsActions.map((function(e){return e.key===n.key?Object.assign({},e,n):e})):e.tableRowsActions=e.rowsActions};for(n.s();!(t=n.n()).done;)a()}catch(o){n.e(o)}finally{n.f()}}},indexMethod:function(e){var t=this.pageSize,n=this.page;return t*(n-1)+e+1},handleSelectionChange:function(e){this.selectionList=e.map((function(e){return e.id}))},handleExport:function(){this.isExport=!0,this.getList()},handleTableEditorCallback:function(e,t){console.table("🚀 新增编辑后返回的参数:",e,t),e&&!this.refreshToOne||(this.searchParams.page=0),this.searchParams.page=0,this.getList(this.searchParams)},handleTableImportCallback:function(e){this.handleCurrentChange(0)},handleSizeChange:function(e){this.pageSize=e,this.handleCurrentChange(0)},handleCurrentChange:function(e){console.table("🚀 当前页码:",e),this.page=e,this.getList(Object.assign({},this.searchParams,{page:e}))},_returnListData:function(e){if(!this.apiParams.list.dataParam)return e.data;var t=this.apiParams.list.dataParam.split(".");return t.forEach((function(t){e=e[t]})),e},_returnResponse:function(e){if(!this.apiParams.list.resultParam)return e;var t=this.apiParams.list.resultParam.split(".");return t.forEach((function(t){e=e[t]})),e},getList:function(e){var t=this;return new Promise((function(n,a){t.listLoading=!0,e&&Object.keys(e).length>0?t.searchParams=e:Object.assign({},e,{page:t.page||0}),t._getList(e).then((function(e){t.listLoading=!1;var a=t._returnResponse(e),o=t._returnListData(e);t.apiParams.list.callback&&t.apiParams.list.callback(e),t.isExport?(console.log("🚀 导出数据:",o),t.isExport=!1,t.$refs.table2Excel.exportToExcel(o)):(t.listData=o,console.log(a,"response"),(null===a||void 0===a?void 0:a.listTotalCount)?t.totalPage=Number(a.listTotalCount):t.totalPage=a.total,n(e))})).catch((function(e){t.isExport=!1,t.listLoading=!1,a(e)}))}))},_getList:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(null===e||void 0===e?void 0:e.page)&&(this.page=e.page),console.log("🚀 查询列表参数:",e);var t,n=this.apiParams.list,a=n.url,o=n.params,r=void 0===o?{}:o,i=n.method,c=n.pageSize,l=void 0===c?"pageSize":c,u=n.page,s=void 0===u?"page":u,d={method:i||"GET",url:a};(e&&Object.keys(e).length&&Object.assign(r,e),"post"===String(i).toLocaleLowerCase())?Object.assign(d,{data:r}):(Object.assign(r,this.isExport?this.searchParams:{},(t={},Object(N["a"])(t,s,this.isExport?0:this.page),Object(N["a"])(t,l,this.isExport?99999:this.pageSize),t)),Object.assign(d,{params:r}));return d.params.page=d.params.page-1,console.log(d,"reqParams"),new Promise((function(e,t){e(Object(W["b"])(d))}))},handleBatchDelete:function(){if(!this.delTooltipAble)return!1;this._optDelete("batchDelete",this.selectionList)},_optDelete:function(e,t){var n,a=this;this.$confirm("delete"===e?"确定删除该条数据吗?":'数据删除后不可恢复,是否确认删除所选<b style="color:red;">'.concat(null===(n=this.selectionList)||void 0===n?void 0:n.length,"</b>条数据?"),"温馨提示",{type:"warning",dangerouslyUseHTMLString:!0}).then((function(){var n="delete"===e?t.id:a.selectionList.join(",");if(a.$listeners["delete"])a.$emit("delete",n);else{var o=a.apiParams[e],r=null===o||void 0===o?void 0:o.params,i="";if((null===o||void 0===o?void 0:o.additionParams)&&o.additionParams.length&&(i=null===o||void 0===o?void 0:o.additionParams.map((function(e){return t[e]})).join("/"),i="/"+i),(null===o||void 0===o?void 0:o.additionParam)&&(i="?".concat(null===o||void 0===o?void 0:o.additionParam,"=").concat(t[null===o||void 0===o?void 0:o.additionParam])),!(null===o||void 0===o?void 0:o.url))return void a.$message.error("url参数缺失!");var c={url:(null===o||void 0===o?void 0:o.url)+i,method:(null===o||void 0===o?void 0:o.method)||"delete"};c=Object.assign({},c,{data:Object(N["a"])({},r||"id",n)}),"batchDelete"===e&&(a.batchDeleteLoading=!0),a.deleteLoading=!0,Object(W["b"])(c).then((function(){var t;a.deleteLoading=!1,a.batchDeleteLoading=!1,a.$message({type:"success",message:"删除成功"});var n=a.listData.length,o="delete"===e?0:null===(t=a.selectionList)||void 0===t?void 0:t.length;n-o>0?a.handleCurrentChange(0):a.page>=1?a.handleCurrentChange(a.page-1):a.handleCurrentChange(0)})).finally((function(){a.deleteLoading=!1,a.batchDeleteLoading=!1}))}}))},handleTableRowOpt:function(e,t){console.log("🚀 表格当前操作行:",e,t),this.selectRow=JSON.parse(JSON.stringify(t)),"edit"===e?this.tableEditorDrawerVisible=!0:"delete"===e?this._optDelete("delete",t):"detail"===e?this.tableDetailDrawerVisible=!0:"copy"===e?(this.selectRow.id="",this.tableEditorDrawerVisible=!0):console.log("🚀 表格操作行:",t)},handleAddRowItem:function(){var e,t,n,a;(null===(e=this.tableOpts)||void 0===e||null===(t=e.add)||void 0===t?void 0:t.method)?null===(n=this.tableOpts)||void 0===n||null===(a=n.add)||void 0===a||a.method():(this.selectRow={},this.tableEditorDrawerVisible=!0)}}},Y=K,Z=(n("8213"),n("e3ee"),Object(h["a"])(Y,B,R,!1,null,"3f0f7454",null)),X=Z.exports,Q=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ym-table-search",attrs:{id:"ym-table-search"}},[n("div",{staticClass:"main-content"},[n("el-form",{ref:"form",attrs:{model:e.form,"label-width":"78px",inline:!1,size:"small"}},[n("el-row",[e._l(e.renderSearchForm,(function(t,a){return n("el-col",{key:a,attrs:{xs:6,sm:6,md:6,lg:6,xl:6}},[n("el-form-item",{attrs:{label:t.label,prop:t.prop,required:t.required}},["input"===t.type?n("el-input",{attrs:{placeholder:t.placeholder||"请输入"+t.label,clearable:!0},model:{value:e.form[t.prop],callback:function(n){e.$set(e.form,t.prop,n)},expression:"form[item.prop]"}}):e._e(),"select"===t.type?n("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:t.placeholder||"请选择"+t.label,clearable:!0},model:{value:e.form[t.prop],callback:function(n){e.$set(e.form,t.prop,n)},expression:"form[item.prop]"}},e._l(t.options,(function(e){return n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1):e._e(),e.isDateType(t.type)?n("el-date-picker",{staticStyle:{width:"100%"},attrs:{"value-format":t.valueFormat||e.dateValueFormat(t.type),format:t.format,type:t.type,placeholder:t.placeholder||"请选择"+t.label,"start-placeholder":t.startPlaceholder||"开始日期","end-placeholder":t.endPlaceholder||"结束日期",clearable:!0},model:{value:e.form[t.prop],callback:function(n){e.$set(e.form,t.prop,n)},expression:"form[item.prop]"}}):e._e(),"cascader"===t.type?n("el-cascader",{ref:"areaCascader",refInFor:!0,staticStyle:{width:"100%"},attrs:{options:t.options||e.areaOptions,clearable:"",filterable:"",props:Object.assign({expandTrigger:"hover",checkStrictly:!0,label:"label",value:"value",children:"children"},t.props)},on:{change:function(n){return e.onAreaChange(n,t.prop)}},model:{value:e.form[t.prop],callback:function(n){e.$set(e.form,t.prop,n)},expression:"form[item.prop]"}}):e._e()],1)],1)})),e.renderSearchForm.length?n("el-col",{staticClass:"opts-item",attrs:{span:6}},[n("el-form-item",{staticClass:"opts-item-btns",class:{"flex-start":1===e.renderSearchForm.length}},[n("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:e.onSubmit}},[e._v("查询")]),e.renderSearchForm.length>1?n("el-button",{on:{click:e.onReset}},[e._v("重置")]):e._e(),e.searchForm.length>6?n("el-button",{staticClass:"dropdown-arrow",attrs:{type:"text"},on:{click:function(t){e.dropdownAction=!e.dropdownAction}}},[e._v(" "+e._s(e.dropdownAction?"收起":"展开")+" "),n("i",{staticClass:"el-icon-d-arrow-right",class:{active:e.dropdownAction}})]):e._e()],1)],1):e._e()],2)],1)],1),n("div",{staticClass:"extra-content"},[e._t("extra")],2)])},ee=[],te=(n("4de4"),n("2909")),ne=n("5530"),ae={name:"YMTableSearch",inject:["reload"],props:{searchForm:{type:Array,default:function(){return[]}},loading:{type:Boolean,default:!1}},data:function(){return{initFlag:!0,dropdownAction:!1,form:{},areaOptions:[],areaListProp:"",searchHeight:0,optsCols:24,cancalDebounce:null}},computed:{actionCols:function(){return this.optsCols},isDateType:function(){return function(e){return-1!=="year/month/date/dates/months/years/week/datetime/datetimerange/daterange/monthrange".indexOf(e)}},dateValueFormat:function(){return function(e){var t={year:"yyyy",month:"yyyy-MM",date:"yyyy-MM-dd",dates:"yyyy-MM-dd",months:"yyyy-MM",years:"yyyy",week:"yyyy-ww",datetime:"yyyy-MM-dd HH:mm:ss",datetimerange:"yyyy-MM-dd HH:mm:ss",daterange:"yyyy-MM-dd"};return t[e]}},searchFormNum:function(){return this.renderSearchForm.length},colSpan:function(){if(!this.renderSearchForm)return this.$message.warning("请配置查询表单"),24;var e=3-this.searchFormNum%3;return 8*e},renderSearchForm:function(){var e=this;return this.searchForm.filter((function(t,n){return e.dropdownAction||n<7?Object(ne["a"])({},t):void 0}))}},created:function(){this.initData();var e=this.renderSearchForm.find((function(e){return e.isArea}));e&&(console.log("🚀 获取区域数据……"),this.areaList(e)),this.cancalDebounce=this.debounce(this.getWindowInfo,500),window.addEventListener("resize",this.cancalDebounce),this.getWindowInfo()},beforeDestroy:function(){window.removeEventListener("resize",this.cancalDebounce)},methods:{getWindowInfo:function(){var e=document.body.getBoundingClientRect(),t=e.width;this.optsCols=t<768?this.freeSpace(2):t>=768&&t<1920?this.freeSpace(3):this.freeSpace(4),this.initFlag?this.initFlag=!1:console.log("刷新")},freeSpace:function(e){var t=this.renderSearchForm.length,n=t%e,a=24/e,o=24-n*a;return o},debounce:function(e,t){var n;return function(){n&&clearTimeout(n),n=setTimeout((function(){e()}),t)}},initData:function(){this.form=Object.assign.apply(Object,[{}].concat(Object(te["a"])(this.searchForm.map((function(e){return Object(N["a"])({},e.prop,e.default||"")})))))},onSubmit:function(){var e=Object.assign({},this.form,{page:1});this.$emit("submit",e)},resetFields:function(){console.log("🚀 重置查询"),this.$refs.form.resetFields()},onReset:function(){this.resetFields(),this.onSubmit()},areaList:function(e){var t=this,n=e.isArea;[!0,1,2,3,4,5].includes(n)?Object(W["b"])({url:"/lv/area_list",method:"get",params:{type:!0===n?4:n}}).then((function(a){[!0,4].includes(n)?t.areaOptions=t.areaOptions.concat(a.data[0].children):[1,2,3].includes(n)&&(t.areaOptions=t.areaOptions.concat(a.data),[1,3].includes(n)&&(t.cascaderProps=Object.assign({},t.cascaderProps,{label:"name",value:"id"}))),(null===e||void 0===e?void 0:e.areaOptions)&&(t.areaOptions=[].concat(Object(te["a"])(null===e||void 0===e?void 0:e.areaOptions),Object(te["a"])(t.areaOptions)))})):this.$message.error("请设置isArea为1/2/3/4/5/true")},onAreaChange:function(e,t){console.log("🚀 区域变化值:",e,t),this.form[t]=e},getAreaValue:function(){if(this.$refs.areaCascader)return this.$refs.areaCascader[0].getCheckedNodes()}}},oe=ae,re=(n("ba7f"),Object(h["a"])(oe,Q,ee,!1,null,"3cd9a1e4",null)),ie=re.exports,ce=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{display:"inline",padding:"0 10px 0 0"}},[n("el-upload",{ref:"upload",staticClass:"upload-btn",attrs:{action:e.uploadUrl,headers:e.uploadHeaders,"on-success":e.handleAvatarSuccess,"on-error":e.handleAvatarError,"on-progress":e.controlUploadProcess,"show-file-list":!1,accept:".xlsx, .xls","list-type":"text"}},[n("el-button",{attrs:{size:"small",loading:e.uploadLoading}},[n("span",[e._v("导入")])])],1),n("el-dialog",{attrs:{title:"预览",visible:e.dialogVisible,"close-on-click-modal":!1,width:"80%"},on:{"update:visible":function(t){e.dialogVisible=t},closed:function(t){return e.conctrolDialogClosed(!1)}}},[n("el-row",[n("el-col",{staticClass:"alert-tip",attrs:{span:24,offset:0}},[e._v(" "+e._s(e.options.tip)+" ")]),n("el-col",{staticStyle:{height:"50vh"},attrs:{span:24,offset:0}},[n("el-table",{ref:"previewTable",staticStyle:{width:"100%"},attrs:{data:e.listData,border:"",stripe:"",height:"100%"}},e._l(e.columns,(function(t){return n("el-table-column",{key:t.prop,attrs:{label:t.label,width:t.image?t.width||"110px":t.width,align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){var o=a.row;return t.children?void 0:[t.image?n("span",[e.imageUrl(o[t.prop]).length?n("el-image",{staticStyle:{width:"80px",height:"80px"},attrs:{fit:"fill",lazy:!0,src:e.imageUrl(o[t.prop])[0],"preview-src-list":e.imageUrl(o[t.prop])}}):e._e()],1):n("span",[e._v(e._s(o[t.prop]))])]}}],null,!0)},[t.children?e._l(t.children,(function(t){return n("el-table-column",{key:t.prop,attrs:{label:t.label,width:t.image?t.width||"110px":t.width,align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){return[t.image?n("span",[e.imageUrl(e.row[t.prop]).length?n("el-image",{staticStyle:{width:"80px",height:"80px"},attrs:{fit:"fill",lazy:!0,src:e.imageUrl(e.row[t.prop])[0],"preview-src-list":e.imageUrl(e.row[t.prop])}}):e._e()],1):n("span",[e._v(e._s(a.row[t.prop]))])]}}],null,!0)},[n("template",{slot:"header"},[n("div",[t.required?n("i",{staticClass:"ym-icon-required"},[e._v("*")]):e._e(),n("span",{domProps:{innerHTML:e._s(t.label)}})])])],2)})):n("template",{slot:"header"},[n("div",[t.required?n("i",{staticClass:"ym-icon-required"},[e._v("*")]):e._e(),n("span",{domProps:{innerHTML:e._s(t.label)}})])])],2)})),1)],1)],1),n("span",{attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{size:"small",disabled:e.importLoading},on:{click:function(t){e.dialogVisible=!1}}},[e._v("取消导入")]),n("el-button",{attrs:{size:"small",loading:e.importLoading,type:"primary"},on:{click:e.handleOnConfirm}},[e._v("确认导入")])],1)],1)],1)},le=[],ue={name:"YMTableImport",props:{options:{type:Object,default:function(){return{}}},apis:{type:Object,default:function(){return{preivew:{url:""},import:{url:""}}}}},data:function(){var e,t,n,a,o;return{dialogVisible:!1,uploadLoading:!1,importLoading:!1,uploadUrl:Object({NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_BASE_API+((null===(e=this.apis)||void 0===e||null===(t=e.preview)||void 0===t?void 0:t.url)||(null===(n=this.apis)||void 0===n||null===(a=n.import)||void 0===a?void 0:a.url)),uploadHeaders:{"X-Token":this.$store.state.user.token},columns:null===(o=this.options)||void 0===o?void 0:o.columns,listData:[],previewKey:""}},computed:{formatImageUrl:function(){return function(e){if(!e)return[];if("[]"===String(e))return"";if(String(e).indexOf("http")>-1)return e;var t=Object({NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_BASE_IMG;return e?("/"!==e.charAt(0)&&(e="/".concat(e)),"".concat(t).concat(e)):""}},imageUrl:function(){var e=this;return function(t){if(t){if(String(t).includes("[]"))return[];if(Array.isArray(t))return t.map((function(t){return e.formatImageUrl(t)}))||[];if(String(t).includes("[")&&String(t).includes("]")&&!String(t).includes("[]")){if(!t)return[];var n=JSON.parse(t),a=n.map((function(t){return"object"===Object(F["a"])(t)?e.formatImageUrl(t.url):e.formatImageUrl(t)}));return console.log("🚀 表格显示的图片:",a),t}if(String(t).includes('""')){var o=t.replace('""',"");return e.imageUrl(o)}var r=String(t).split(",");r.includes("")&&r.splice(r.indexOf(""),1);var i=r.map((function(t){return e.formatImageUrl(String(t).includes("[]")?"":t)}))||[];return i}return[]}}},created:function(){console.log("🚀 导入表格参数:",this.apis)},methods:{controlUploadState:function(e){this.uploadLoading=e},controlUploadProcess:function(e){this.uploadLoading=e.percent>0},conctrolDialogClosed:function(){this.dialogVisible||(this.uploadLoading=!1,this.importLoading=!1)},_returnResponse:function(e,t,n){if(!t)return e;var a=t.split(".");return a.forEach((function(t){e=e[t]})),"dataParam"===n?Array.isArray(e)?e:(this.$message({message:"dataParam参数错误,请检查!",type:"error"}),!1):e},handleAvatarError:function(){this.uploadLoading=!1,this.$message({message:"上传失败",type:"error"})},handleAvatarSuccess:function(e,t){var n,a=this;if(console.log("🚀 上传成功:",e,t),[0,1e4].includes(e.code))if(this.uploadLoading=!1,null===(n=this.apis)||void 0===n?void 0:n.preview){var o,r,i=this._returnResponse(e,null===(o=this.apis.preview)||void 0===o?void 0:o.dataParam,"dataParam");if(!i)return!1;if(this.previewKey=this._returnResponse(e,null===(r=this.apis.preview)||void 0===r?void 0:r.keyParam,"keyParam"),!this.previewKey)return this.$message({message:"keyParam参数错误,请检查!",type:"error"}),!1;this.dialogVisible=!0,this.listData=i,this.$refs.previewTable&&this.$nextTick((function(){a.$refs.previewTable.doLayout()}))}else this.$message({message:"导入成功",type:"success"}),this.$emit("callback",e);else this.uploadLoading=!1,this.$message({message:e.message,type:"error"})},handlePreview:function(){0!==this.columns.length?this.dialogVisible=!0:this.$message.warning("请先设置导入的字段")},handleOnConfirm:function(){var e,t,n=this;this.importLoading=!0,Object(W["b"])({url:null===(e=this.apis)||void 0===e||null===(t=e.import)||void 0===t?void 0:t.url,method:"post",data:{key:this.previewKey}}).then((function(e){n.$message({message:"导入成功",type:"success"}),n.importLoading=!1,n.dialogVisible=!1,n.$emit("callback",e)})).catch((function(){n.importLoading=!1}))}}},se=ue,de=(n("a903"),Object(h["a"])(se,ce,le,!1,null,"124da41b",null)),me=de.exports,he=n("f2d9");a["default"].prototype.$echarts=l,a["default"].component("downloadExcel",he["a"]),a["default"].component("YMTable",X),a["default"].component("YMTableSearch",ie),a["default"].component("Excel2Table",me),a["default"].prototype.cal=y,a["default"].use(c.a),a["default"].use(r.a),a["default"].config.productionTip=!1,new a["default"]({el:"#app",router:g["b"],store:b["a"],cal:y,render:function(e){return e(f)}})},"5f87":function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return l}));var a=n("a78e"),o=n.n(a),r="wms_token";function i(){return o.a.get(r)?JSON.parse(o.a.get(r)):null}function c(e){return JSON.stringify(o.a.set(r,e))}function l(){return o.a.remove(r)}},"61f7":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"e",(function(){return i})),n.d(t,"f",(function(){return c})),n.d(t,"b",(function(){return l}));n("c975"),n("498a");function a(e){return/^(https?:|mailto:|tel:)/.test(e)}function o(e,t,n){t&&(/^[0-9]*$/.test(t)&&n(),n(new Error("请输入数字"))),n()}function r(e,t,n){t&&(/^([1-9]\d+|[1-9])$/.test(t)&&n(),n(new Error("请输入整数"))),n()}function i(e,t,n){t&&(/^(([1-9]\d+|[0-9])\.([0-9]{1,4})$)|^([1-9]\d+|[1-9])$/.test(t)&&n(),n(new Error("请输入整数或小数"))),n()}function c(e,t,n){t?/^1[3456789]\d{9}$/.test(t)?n():n(new Error("请输入正确格式的手机号码")):n()}function l(e,t,n){var a=/^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/;if(!t)return n();a.test(t)?n():n(new Error("请输入正确的邮箱格式"))}},"61fe":function(e,t,n){},6456:function(e,t,n){},"68fa":function(e,t,n){"use strict";var a=n("eae4"),o=n.n(a);o.a},"6b31":function(e,t,n){"use strict";var a=n("d346"),o=n.n(a);o.a},"71bb":function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return c}));var a=n("b775");function o(){return Object(a["b"])({url:"/common/provinces/index",method:"get"})}function r(){return Object(a["b"])({url:"/employee/list",method:"get"})}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t={key:"lang,problem_type,change_type,manage_rate,platform_trx_account"};return e&&(t={key:e}),Object(a["b"])({url:"common/enum/params",method:"get",params:t})}function c(){return Object(a["b"])({url:"/site/flush-cache",method:"post"})}},"739d":function(e,t,n){},"7c55":function(e,t,n){"use strict";var a=n("2395"),o=n.n(a);o.a},8213:function(e,t,n){"use strict";var a=n("61fe"),o=n.n(a);o.a},"83d6":function(e,t){e.exports={title:"后台管理系统",fixedHeader:!0,sidebarLogo:!1,tagsView:!0}},"87d9":function(e,t,n){},"8fa2":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var a=n("b775"),o=n("b893");function r(e,t){var n=Object(o["e"])(t);return Object(a["b"])({url:e+n,method:"get"})}function i(e,t){return Object(a["b"])({url:e,method:"post",data:t})}},9342:function(e,t,n){},"93cd":function(e,t,n){"use strict";n.r(t);var a=n("e017"),o=n.n(a),r=n("21a1"),i=n.n(r),c=new o.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" id="icon-tree"><path d="M126.713 90.023c.858.985 1.287 2.134 1.287 3.447v29.553c0 1.423-.429 2.6-1.287 3.53-.858.93-1.907 1.395-3.146 1.395H97.824c-1.145 0-2.146-.465-3.004-1.395-.858-.93-1.287-2.107-1.287-3.53V93.47c0-.875.19-1.696.572-2.462.382-.766.906-1.368 1.573-1.806a3.84 3.84 0 0 1 2.146-.657h9.725V69.007a3.84 3.84 0 0 0-.43-1.806 3.569 3.569 0 0 0-1.143-1.313 2.714 2.714 0 0 0-1.573-.492h-36.47v23.149h9.725c1.144 0 2.145.492 3.004 1.478.858.985 1.287 2.134 1.287 3.447v29.553c0 .876-.191 1.696-.573 2.463-.38.766-.905 1.368-1.573 1.806a3.84 3.84 0 0 1-2.145.656H51.915a3.84 3.84 0 0 1-2.145-.656c-.668-.438-1.216-1.04-1.645-1.806a4.96 4.96 0 0 1-.644-2.463V93.47c0-1.313.43-2.462 1.288-3.447.858-.986 1.907-1.478 3.146-1.478h9.582v-23.15h-37.9c-.953 0-1.74.356-2.359 1.068-.62.711-.93 1.56-.93 2.544v19.538h9.726c1.239 0 2.264.492 3.074 1.478.81.985 1.216 2.134 1.216 3.447v29.553c0 1.423-.405 2.6-1.216 3.53-.81.93-1.835 1.395-3.074 1.395H4.29c-.476 0-.93-.082-1.358-.246a4.1 4.1 0 0 1-1.144-.657 4.658 4.658 0 0 1-.93-1.067 5.186 5.186 0 0 1-.643-1.395 5.566 5.566 0 0 1-.215-1.56V93.47c0-.437.048-.875.143-1.313a3.95 3.95 0 0 1 .429-1.15c.19-.328.429-.656.715-.984.286-.329.572-.602.858-.821.286-.22.62-.383 1.001-.493.382-.11.763-.164 1.144-.164h9.726V61.619c0-.985.31-1.833.93-2.544.619-.712 1.358-1.068 2.216-1.068h44.335V39.62h-9.582c-1.24 0-2.288-.492-3.146-1.477a5.09 5.09 0 0 1-1.287-3.448V5.14c0-1.423.429-2.627 1.287-3.612.858-.985 1.907-1.477 3.146-1.477h25.743c.763 0 1.478.246 2.145.739a5.17 5.17 0 0 1 1.573 1.888c.382.766.573 1.587.573 2.462v29.553c0 1.313-.43 2.463-1.287 3.448-.859.985-1.86 1.477-3.004 1.477h-9.725v18.389h42.762c.954 0 1.74.355 2.36 1.067.62.711.93 1.56.93 2.545v26.925h9.582c1.239 0 2.288.492 3.146 1.478z" /></symbol>'});i.a.add(c);t["default"]=c},9874:function(e,t,n){},"9a71":function(e,t,n){"use strict";n.r(t);var a=n("e017"),o=n.n(a),r=n("21a1"),i=n.n(r),c=new o.a({id:"icon-right",use:"icon-right-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="icon-right"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }\n</style></defs><path d="M294.4 908.8 684.8 512 294.4 115.2c-25.6-25.6-25.6-70.4 0-96 25.6-25.6 70.4-25.6 96 0L832 460.8c12.8 12.8 19.2 32 19.2 51.2S844.8 544 832 563.2l-441.6 441.6c-25.6 25.6-70.4 25.6-96 0C262.4 979.2 262.4 934.4 294.4 908.8z" p-id="3425" /></symbol>'});i.a.add(c);t["default"]=c},"9c98":function(e,t,n){},"9df4":function(e,t,n){},a11d:function(e,t,n){},a18c:function(e,t,n){"use strict";n.d(t,"a",(function(){return qe}));n("99af"),n("d3b7");var a,o,r=n("2b0e"),i=n("8c4f"),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-wrapper",class:e.classObj},["mobile"===e.device&&e.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),n("sidebar",{staticClass:"sidebar-container"}),n("div",{staticClass:"main-container"},[n("div",{class:{"fixed-header":e.fixedHeader}},[n("navbar"),e.needTagsView?n("tags-view"):e._e()],1),n("div",{staticStyle:{height:"80px"}}),n("app-main")],1)],1)},l=[],u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navbar"},[n("hamburger",{staticClass:"hamburger-container",attrs:{"is-active":e.sidebar.opened},on:{toggleClick:e.toggleSideBar}}),n("a",{staticClass:"go",on:{click:function(t){return e.$router.go(-1)}}},[e._v("返回")]),n("breadcrumb",{staticClass:"breadcrumb-container"}),n("div",{staticClass:"right-menu"},["代收代付"==e.role?n("div",{staticStyle:{float:"left"}},[n("span",{on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.$router.push("/collectionPayment/collectionOrder")}}},[e._v(" 代收订单("),n("em",{staticStyle:{color:"red","font-size":"large"}},[e._v(e._s(e.daishouCount))]),e._v(") ")]),n("span",{on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.$router.push("/collectionPayment/paymentOrder")}}},[e._v(" 代付订单("),n("em",{staticStyle:{color:"red","font-size":"large"}},[e._v(e._s(e.daifuCount))]),e._v(") ")])]):n("div",{staticStyle:{float:"left"}},[e.shouldRenderContent?n("span",{on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.$router.push("/financialmanagement/rechargetrading")}}},[e._v(" 充值审核("),n("em",{staticStyle:{color:"red","font-size":"large"}},[e._v(e._s(e.rcount))]),e._v(") ")]):e._e(),e.shouldRenderContent?n("span",{on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.$router.push("/financialmanagement/withdrawdeposit")}}},[e._v(" 提现审核("),n("em",{staticStyle:{color:"red","font-size":"large"}},[e._v(e._s(e.wcount))]),e._v(") ")]):e._e(),1===this.$store.state.user.token.employee.role_id||44===this.$store.state.user.token.employee.role_id||1===this.$store.state.user.token.employee.kyc_enable?n("span",{on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.$router.push("/member/authorization")}}},[e._v(" 认证审核("),n("em",{staticStyle:{color:"red","font-size":"large"}},[e._v(e._s(e.kycCount))]),e._v(") ")]):e._e()]),n("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:"https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif?imageView2/1/w/80/h/80"}}),e.name?n("span",[e._v(e._s(e.name.employee.username))]):e._e(),n("i",{staticClass:"el-icon-caret-bottom"})]),n("el-dropdown-menu",{staticClass:"user-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[n("el-dropdown-item",{nativeOn:{click:function(t){e.dialogVisible=!0}}},[n("span",{staticStyle:{display:"block"}},[e._v("修改密码")])]),n("el-dropdown-item",{nativeOn:{click:function(t){return e.clearCache(t)}}},[n("span",{staticStyle:{display:"block"}},[e._v("清空缓存")])]),n("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(t){return e.logout(t)}}},[n("span",{staticStyle:{display:"block"}},[e._v("退出登录")])])],1)],1)],1),n("el-dialog",{attrs:{title:"修改密码",visible:e.dialogVisible,width:"600px","before-close":e.handleClose,"close-on-click-modal":!1,"append-to-body":""},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("div",{staticClass:"form-box"},[n("el-form",{ref:"form",attrs:{rules:e.rules,model:e.form,"label-width":"109px"}},[n("el-form-item",{attrs:{label:"原密码",prop:"password"}},[n("el-input",{attrs:{type:"password"},model:{value:e.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}})],1),n("el-form-item",{attrs:{label:"密码",prop:"new_password"}},[n("el-input",{attrs:{type:"password"},model:{value:e.form.new_password,callback:function(t){e.$set(e.form,"new_password",t)},expression:"form.new_password"}})],1),n("el-form-item",{attrs:{label:"确认密码",prop:"new_password_repeat"}},[n("el-input",{attrs:{type:"password"},model:{value:e.form.new_password_repeat,callback:function(t){e.$set(e.form,"new_password_repeat",t)},expression:"form.new_password_repeat"}})],1)],1)],1),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:e.handleClose}},[e._v("取 消")]),n("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:function(t){return e.onSubmit()}}},[e._v("确 定")])],1)])],1)},s=[],d=(n("b0c0"),n("96cf"),n("1da1")),m=n("5530"),h=n("2f62"),p=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,(function(t,a){return n("el-breadcrumb-item",{key:t.path},["noRedirect"===t.redirect||a==e.levelList.length-1?n("span",{staticClass:"no-redirect"},[e._v(e._s(t.meta.title))]):n("a",{on:{click:function(n){return n.preventDefault(),e.handleLink(t)}}},[e._v(e._s(t.meta.title))])])})),1)],1)},f=[],b=(n("4de4"),n("498a"),n("bd11")),g=n.n(b),v={data:function(){return{levelList:null}},watch:{$route:function(){this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var e=this.$route.matched.filter((function(e){return e.meta&&e.meta.title}));e[0];this.levelList=e.filter((function(e){return e.meta&&e.meta.title&&!1!==e.meta.breadcrumb})),console.log(this.levelList)},isDashboard:function(e){var t=e&&e.name;return!!t&&t.trim().toLocaleLowerCase()==="Dashboard".toLocaleLowerCase()},pathCompile:function(e){var t=this.$route.params,n=g.a.compile(e);return n(t)},handleLink:function(e){var t=e.redirect,n=e.path;t?this.$router.push(t):this.$router.push(this.pathCompile(n))}}},w=v,k=(n("196b"),n("2877")),y=Object(k["a"])(w,p,f,!1,null,"71040cc4",null),O=y.exports,_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{padding:"0 15px"},on:{click:e.toggleClick}},[n("svg",{staticClass:"hamburger",class:{"is-active":e.isActive},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"}},[n("path",{attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"}})])])},P=[],x={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},S=x,j=(n("186a"),Object(k["a"])(S,_,P,!1,null,"49e15297",null)),E=j.exports,V=n("71bb"),C=n("365c"),L=(n("6cd5"),{components:{Breadcrumb:O,Hamburger:E},computed:Object(m["a"])({shouldRenderContent:function(){var e=this.$store.state.user.token.employee,t=e.role_id,n=e.flow_notice_enable;return 1===t||1===n||44===t}},Object(h["b"])(["sidebar","avatar","name"])),data:function(){var e=this,t=function(t,n,a){n?n.length<6||n.length>20?a(new Error("密码长度为6-20位")):(""!==e.form.new_password_repeat&&e.$refs.form.validateField("new_password_repeat"),a()):a(new Error("请输入新密码"))},n=function(t,n,a){n?n!==e.form.new_password?a(new Error("两次输入密码不一致!")):a():a(new Error("请再次输入密码"))};return{tip:0,wcount:0,rcount:0,kycCount:0,daishouCount:0,daifuCount:0,role:"",loading:!1,dialogVisible:!1,form:{username:"",password:"",new_password:"",new_password_repeat:""},rules:{password:[{required:!0,message:"请输入原密码",trigger:"blur"}],new_password:[{required:!0,validator:t,trigger:"blur"}],new_password_repeat:[{required:!0,validator:n,trigger:"blur"}]}}},mounted:function(){var e=this;this.getWithDrawInit();var t=10;setInterval((function(){e.getWithDraw()}),1e3*t)},methods:{getWithDrawInit:function(){var e=this;Object(C["Ib"])().then((function(t){200===t.code?(e.tip=parseInt(t.data.tip),e.wcount=parseInt(t.data.tip_withdraw),e.rcount=parseInt(t.data.tip_recharge),e.kycCount=parseInt(t.data.tip_kyc),e.daishouCount=parseInt(t.data.daishou_count),e.daifuCount=parseInt(t.data.daifu_count),e.role=t.data.role):e.$message.error(t.message)}))},getWithDraw:function(){var e=this;Object(C["Ib"])().then((function(t){if(200===t.code){if(1===parseInt(t.data.open)&&(1===e.$store.state.user.token.employee.role_id||44===e.$store.state.user.token.employee.role_id||1===e.$store.state.user.token.employee.kyc_enable)&&t.data.last_time>localStorage.getItem("last_time")){var n=parseInt(t.data.tip)-parseInt(t.data.tip_kyc);if(n>0){localStorage.setItem("last_time",t.data.last_time);var a=new Audio("wtip.mp3"),o=new Audio("wtip.mp3"),r=new Audio("wtip.mp3");a.onended=function(){o.play()},o.onended=function(){r.play()},a.play()}}}else e.$message.error(t.message);e.tip=t.data.tip,e.wcount=t.data.tip_withdraw,e.rcount=t.data.tip_recharge,e.kycCount=t.data.tip_kyc,e.daishouCount=parseInt(t.data.daishou_count),e.daifuCount=parseInt(t.data.daifu_count),e.role=t.data.role}))},toggleSideBar:function(){this.$store.dispatch("app/toggleSideBar")},logout:function(){var e=this;return Object(d["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch("user/logout");case 2:e.$router.push("/login?redirect=".concat(e.$route.fullPath));case 3:case"end":return t.stop()}}),t)})))()},clearCache:function(){var e=this;Object(V["a"])().then((function(t){200===t.code?e.$message.success("操作成功!"):e.$message.error(t.message)}))},handleClose:function(){this.$refs["form"].resetFields(),this.dialogVisible=!1},onSubmit:function(){var e=this;this.$refs["form"].validate((function(t){if(!t)return console.log("error submit!!"),!1;e.form.username=e.name.employee.username,e.loading=!0,e.$store.dispatch("user/changePwd",e.form).then((function(t){200===t.code?(e.dialogVisible=!1,e.$refs["form"].resetFields(),e.$message.success("修改成功!")):e.$message.error(t.message),e.loading=!1})).catch((function(){e.loading=!1,console.log("error submit!!")}))}))}}}),T=L,A=(n("27dd"),Object(k["a"])(T,u,s,!1,null,"4adbcf3c",null)),D=A.exports,$=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"has-logo":e.showLogo}},[e.showLogo?n("logo",{attrs:{collapse:e.isCollapse}}):e._e(),n("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[n("el-menu",{attrs:{"default-active":e.activeMenu,collapse:e.isCollapse,"background-color":e.variables.menuBg,"text-color":e.variables.menuText,"unique-opened":!1,"active-text-color":e.variables.menuActiveText,"collapse-transition":!1,mode:"vertical"}},e._l(e.routes,(function(e){return n("sidebar-item",{key:e.path,attrs:{item:e,"base-path":e.path}})})),1)],1)],1)},M=[],I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sidebar-logo-container",class:{collapse:e.collapse}},[n("transition",{attrs:{name:"sidebarLogoFade"}},[e.collapse?n("router-link",{key:"collapse",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):n("h1",{staticClass:"sidebar-title"},[e._v(e._s(e.title)+" ")])]):n("router-link",{key:"expand",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):e._e(),n("h1",{staticClass:"sidebar-title"},[e._v(e._s(e.title)+" ")])])],1)],1)},z=[],H={name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0}},data:function(){return{title:"Vue Admin Template",logo:"https://wpimg.wallstcn.com/69a1c46c-eb1c-4b46-8bd4-e9e686ef5251.png"}}},B=H,R=(n("6b31"),Object(k["a"])(B,I,z,!1,null,"5bb1c0e2",null)),N=R.exports,U=function(){var e=this,t=e.$createElement,n=e._self._c||t;return!e.item.hidden&&e.item.permission?n("div",[!e.hasOneShowingChild(e.item.children,e.item)||e.onlyOneChild.children&&!e.onlyOneChild.noShowingChildren||e.item.alwaysShow?n("el-submenu",{ref:"subMenu",attrs:{index:e.resolvePath(e.item.path),"popper-append-to-body":""}},[n("template",{slot:"title"},[e.item.meta?n("item",{attrs:{icon:e.item.meta&&e.item.meta.icon,title:e.item.meta.title}}):e._e()],1),e._l(e.item.children,(function(t){return n("sidebar-item",{key:t.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:t,"base-path":e.resolvePath(t.path)}})}))],2):[e.onlyOneChild.meta?n("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[n("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta&&e.item.meta.icon,title:e.onlyOneChild.meta.title}})],1)],1):e._e()]],2):e._e()},F=[],W=n("df7c"),q=n.n(W),G=n("61f7"),J=(n("caad"),n("2532"),{name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,a=n.icon,o=n.title,r=[];return a&&(a.includes("el-icon")?r.push(e("i",{class:[a,"sub-el-icon"]})):r.push(e("svg-icon",{attrs:{"icon-class":a}}))),o&&r.push(e("span",{slot:"title"},[o])),r}}),K=J,Y=(n("bf4f"),Object(k["a"])(K,a,o,!1,null,"18eeea00",null)),Z=Y.exports,X=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.type,e._b({tag:"component"},"component",e.linkProps(e.to),!1),[e._t("default")],2)},Q=[],ee={props:{to:{type:String,required:!0}},computed:{isExternal:function(){return Object(G["a"])(this.to)},type:function(){return this.isExternal?"a":"router-link"}},methods:{linkProps:function(e){return this.isExternal?{href:e,target:"_blank",rel:"noopener"}:{to:e}}}},te=ee,ne=Object(k["a"])(te,X,Q,!1,null,null,null),ae=ne.exports,oe={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var e=this,t=this.$refs.subMenu;if(t){var n=t.handleMouseleave;t.handleMouseleave=function(t){"mobile"!==e.device&&n(t)}}}}},re={name:"SidebarItem",components:{Item:Z,AppLink:ae},mixins:[oe],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{hasOneShowingChild:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,a=t.filter((function(t){return!t.hidden&&(e.onlyOneChild=t,!0)}));return 1===a.length||0===a.length&&(this.onlyOneChild=Object(m["a"])(Object(m["a"])({},n),{},{path:"",noShowingChildren:!0}),!0)},resolvePath:function(e){return Object(G["a"])(e)?e:Object(G["a"])(this.basePath)?this.basePath:q.a.resolve(this.basePath,e)}}},ie=re,ce=Object(k["a"])(ie,U,F,!1,null,null,null),le=ce.exports,ue=n("cf1e"),se=n.n(ue),de={components:{SidebarItem:le,Logo:N},computed:Object(m["a"])(Object(m["a"])({},Object(h["b"])(["sidebar"])),{},{routes:function(){return this.$router.options.routes},activeMenu:function(){var e=this.$route,t=e.meta,n=e.path;return t.activeMenu?t.activeMenu:n},showLogo:function(){return this.$store.state.settings.sidebarLogo},variables:function(){return se.a},isCollapse:function(){return!this.sidebar.opened}})},me=de,he=Object(k["a"])(me,$,M,!1,null,null,null),pe=he.exports,fe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"app-main"},[n("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[n("keep-alive",{attrs:{include:e.cachedViews}},[n("router-view",{key:e.key,attrs:{include:e.cachedViews}})],1)],1)],1)},be=[],ge=(n("c975"),{name:"AppMain",data:function(){return{includeList:["internationalPage","internationaldetailPage","shopeeListPage","ShopeeDetailSingle","ShopeeDetailSub","CustomerPage","CustomerDetailPage","StockPage"]}},computed:{cachedViews:function(){var e=this.$store.state.tagsView.cachedViews,t=[];for(var n in e)this.includeList.indexOf(e[n])>=0&&t.push(e[n]);return t},key:function(){return this.$route.fullPath}}}),ve=ge,we=(n("ccdd"),n("028b"),Object(k["a"])(ve,fe,be,!1,null,"00e09a4f",null)),ke=we.exports,ye=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tags-view-container",attrs:{id:"tags-view-container"}},[n("scroll-pane",{ref:"scrollPane",staticClass:"tags-view-wrapper",on:{scroll:e.handleScroll}},e._l(e.visitedViews,(function(t){return n("router-link",{key:t.fullPath,ref:"tag",refInFor:!0,staticClass:"tags-view-item",class:e.isActive(t)?"active":"",attrs:{to:{path:t.path,query:t.query,fullPath:t.fullPath},tag:"span"},nativeOn:{mouseup:function(n){if("button"in n&&1!==n.button)return null;!e.isAffix(t)&&e.closeSelectedTag(t)},contextmenu:function(n){return n.preventDefault(),e.openMenu(t,n)}}},[e._v(" "+e._s(t.title)+" "),e.isAffix(t)?e._e():n("span",{staticClass:"el-icon-close",on:{click:function(n){return n.preventDefault(),n.stopPropagation(),e.closeSelectedTag(t)}}})])})),1)],1)},Oe=[],_e=(n("4160"),n("fb6a"),n("45fc"),n("ac1f"),n("5319"),n("159b"),n("b85c")),Pe=n("2909"),xe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-scrollbar",{ref:"scrollContainer",staticClass:"scroll-container",attrs:{vertical:!1},nativeOn:{wheel:function(t){return t.preventDefault(),e.handleScroll(t)}}},[e._t("default")],2)},Se=[],je=(n("c740"),4),Ee={name:"ScrollPane",data:function(){return{left:0}},computed:{scrollWrapper:function(){return this.$refs.scrollContainer.$refs.wrap}},mounted:function(){this.scrollWrapper.addEventListener("scroll",this.emitScroll,!0)},beforeDestroy:function(){this.scrollWrapper.removeEventListener("scroll",this.emitScroll)},methods:{handleScroll:function(e){var t=e.wheelDelta||40*-e.deltaY,n=this.scrollWrapper;n.scrollLeft=n.scrollLeft+t/4},emitScroll:function(){this.$emit("scroll")},moveToTarget:function(e){var t=this.$refs.scrollContainer.$el,n=t.offsetWidth,a=this.scrollWrapper,o=this.$parent.$refs.tag,r=null,i=null;if(o.length>0&&(r=o[0],i=o[o.length-1]),r===e)a.scrollLeft=0;else if(i===e)a.scrollLeft=a.scrollWidth-n;else{var c=o.findIndex((function(t){return t===e})),l=o[c-1],u=o[c+1],s=u.$el.offsetLeft+u.$el.offsetWidth+je,d=l.$el.offsetLeft-je;s>a.scrollLeft+n?a.scrollLeft=s-n:d<a.scrollLeft&&(a.scrollLeft=d)}}}},Ve=Ee,Ce=(n("c4d7"),Object(k["a"])(Ve,xe,Se,!1,null,"41421bb2",null)),Le=Ce.exports,Te={components:{ScrollPane:Le},data:function(){return{visible:!1,top:0,left:0,selectedTag:{},affixTags:[]}},computed:{visitedViews:function(){return this.$store.state.tagsView.visitedViews},routes:function(){return this.$store.state.permission.routes}},watch:{$route:function(){this.addTags(),this.moveToCurrentTag()},visible:function(e){e?document.body.addEventListener("click",this.closeMenu):document.body.removeEventListener("click",this.closeMenu)}},mounted:function(){this.initTags(),this.addTags()},methods:{isActive:function(e){return e.fullPath===this.$route.fullPath},isAffix:function(e){return e.meta&&e.meta.affix},filterAffixTags:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",a=[];return e.forEach((function(e){if(e.meta&&e.meta.affix){var o=q.a.resolve(n,e.path);a.push({fullPath:o,path:o,name:e.name,meta:Object(m["a"])({},e.meta)})}if(e.children){var r=t.filterAffixTags(e.children,e.path);r.length>=1&&(a=[].concat(Object(Pe["a"])(a),Object(Pe["a"])(r)))}})),a},initTags:function(){this.$store.dispatch("tagsView/addVisitedView",{fullPath:"/dashboard",path:"/dashboard",name:"Dashboard",meta:{title:"首页",icon:"dashboard",affix:!0}})},addTags:function(){var e=this.$route.name;return e&&this.$store.dispatch("tagsView/addView",this.$route),!1},moveToCurrentTag:function(){var e=this,t=this.$refs.tag;this.$nextTick((function(){var n,a=Object(_e["a"])(t);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(o.to.path===e.$route.path){e.$refs.scrollPane.moveToTarget(o),o.to.fullPath!==e.$route.fullPath&&e.$store.dispatch("tagsView/updateVisitedView",e.$route);break}}}catch(r){a.e(r)}finally{a.f()}}))},refreshSelectedTag:function(e){var t=this;this.$store.dispatch("tagsView/delCachedView",e).then((function(){var n=e.fullPath;t.$nextTick((function(){t.$router.replace({path:"/redirect"+n})}))}))},closeSelectedTag:function(e){var t=this;this.$store.dispatch("tagsView/delView",e).then((function(n){var a=n.visitedViews;t.isActive(e)&&t.toLastView(a,e)}))},closeOthersTags:function(){var e=this;this.$router.push(this.selectedTag),this.$store.dispatch("tagsView/delOthersViews",this.selectedTag).then((function(){e.moveToCurrentTag()}))},closeAllTags:function(e){var t=this;this.$store.dispatch("tagsView/delAllViews").then((function(n){var a=n.visitedViews;t.affixTags.some((function(t){return t.path===e.path}))||t.toLastView(a,e)}))},toLastView:function(e,t){var n=e.slice(-1)[0];n?this.$router.push(n.fullPath):"Dashboard"===t.name?this.$router.replace({path:"/redirect"+t.fullPath}):this.$router.push("/")},openMenu:function(e,t){var n=105,a=this.$el.getBoundingClientRect().left,o=this.$el.offsetWidth,r=o-n,i=t.clientX-a+15;this.left=i>r?r:i,this.top=t.clientY,this.visible=!0,this.selectedTag=e},closeMenu:function(){this.visible=!1},handleScroll:function(){this.closeMenu()}}},Ae=Te,De=(n("c48c"),n("cfaa"),Object(k["a"])(Ae,ye,Oe,!1,null,"abd7e9a2",null)),$e=De.exports,Me=n("4360"),Ie=document,ze=Ie.body,He=992,Be={watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&Me["a"].dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){var e=this.$_isMobile();e&&(Me["a"].dispatch("app/toggleDevice","mobile"),Me["a"].dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){var e=ze.getBoundingClientRect();return e.width-1<He},$_resizeHandler:function(){if(!document.hidden){var e=this.$_isMobile();Me["a"].dispatch("app/toggleDevice",e?"mobile":"desktop"),e&&Me["a"].dispatch("app/closeSideBar",{withoutAnimation:!0})}}}},Re=(n("8fa2"),n("c466"),{name:"Layout",components:{Navbar:D,Sidebar:pe,AppMain:ke,TagsView:$e},mixins:[Be],computed:{sidebar:function(){return this.$store.state.app.sidebar},device:function(){return this.$store.state.app.device},fixedHeader:function(){return this.$store.state.settings.fixedHeader},classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}},needTagsView:function(){return this.$store.state.settings.tagsView}},mounted:function(){},destroyed:function(){},methods:{handleClickOutside:function(){this.$store.dispatch("app/closeSideBar",{withoutAnimation:!1})}}}),Ne=Re,Ue=(n("c075"),Object(k["a"])(Ne,c,l,!1,null,"50b727c8",null)),Fe=Ue.exports;r["default"].use(i["a"]);var We=[{path:"/login",component:function(){return n.e("chunk-2f387e17").then(n.bind(null,"9ed6"))},hidden:!0,permission:!0},{path:"/404",component:function(){return n.e("chunk-76cea4de").then(n.bind(null,"8cdb"))},hidden:!0,permission:!0},{path:"/googleBind",component:function(){return Promise.all([n.e("chunk-140484fa"),n.e("chunk-ceab6080")]).then(n.bind(null,"6807"))},hidden:!0,permission:!0},{path:"/",component:Fe,redirect:"/dashboard",children:[{path:"dashboard",name:"index",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-2d9f2b5c")]).then(n.bind(null,"9406"))},meta:{title:"首页",icon:"dashboard",affix:!0},permission:!0}],permission:!0},{path:"*",redirect:"/404",hidden:!0,permission:!0}],qe=[{path:"/member",name:"Member",component:Fe,redirect:"/member/member-list",meta:{title:"用户管理",icon:"el-icon-user-solid"},alwaysShow:!0,children:[{path:"member-list",name:"memberListPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-0c3bb405")]).then(n.bind(null,"ec07"))},meta:{title:"用户列表",icon:""}},{path:"member-bank",name:"memberBank",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-3cd3bab2")]).then(n.bind(null,"e5c9"))},meta:{title:"用户银行",icon:""}},{path:"recharge-list",name:"rechargeListPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-06eb2a48")]).then(n.bind(null,"b3e1"))},meta:{title:"充值列表",icon:""},hidden:!0},{path:"subgroup",name:"subgroup",component:function(){return n.e("chunk-a5c96d9a").then(n.bind(null,"839d"))},meta:{title:"用户分组",icon:""}},{path:"authorization",name:"authorization",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-2d0db809"),n.e("chunk-28ebf57c")]).then(n.bind(null,"7dc5"))},meta:{title:"用户认证/User Authentication",icon:""}},{path:"moneybag",name:"moneybag",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-122c98fd")]).then(n.bind(null,"a4fa"))},meta:{title:"用户钱包流",icon:""}},{path:"update-withdraw",name:"updateWithdrawPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-43beda56")]).then(n.bind(null,"51fd"))},meta:{title:"用户详情",icon:""},hidden:!0},{path:"meberPurse",name:"meberPurse",component:function(){return n.e("chunk-04200bf1").then(n.bind(null,"d853"))},meta:{title:"用户钱包",icon:""},hidden:!0},{path:"member-detail",name:"memberDetailPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-16400782")]).then(n.bind(null,"d21c"))},meta:{title:"用户详情",icon:""},hidden:!0},{path:"locusList",name:"locusList",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-52a10967")]).then(n.bind(null,"add2"))},meta:{title:"活动轨迹",icon:""},hidden:!0},{path:"detail-list",name:"detailListPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-171c39cc")]).then(n.bind(null,"e535"))},meta:{title:"用户下级详情",icon:""},hidden:!0},{path:"orderlist",name:"orderlist",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9dad3872")]).then(n.bind(null,"9140"))},meta:{title:"用户订单",icon:""}},{path:"fee-list",name:"feeListPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-3830991d")]).then(n.bind(null,"c997"))},meta:{title:"用户流水列表",icon:""},hidden:!0},{path:"cashFlow-list",name:"cashFlowListPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-06d60304")]).then(n.bind(null,"4828"))},meta:{title:"资金流水",icon:""}},{path:"withdrawalAgreement",name:"withdrawalAgreement",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-1658b771")]).then(n.bind(null,"c13a"))},meta:{title:"提现协议",icon:""}}]},{path:"/trail-member",name:"TrailMember",component:Fe,redirect:"/trail-member/trail-member-list",meta:{title:"试玩用户管理",icon:"el-icon-user-solid"},alwaysShow:!0,children:[{path:"member-list",name:"trailMemberListPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-52d3c5b1")]).then(n.bind(null,"4315"))},meta:{title:"试玩用户列表",icon:""}},{path:"money-flow",name:"trailMoneyFlow",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-505261bd")]).then(n.bind(null,"9918"))},meta:{title:"试玩用户钱包流",icon:""}},{path:"football-order",name:"trail-football-order",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-0bbe68d7")]).then(n.bind(null,"816a"))},meta:{title:"试玩用户足球订单",icon:""}},{path:"point-control",name:"trailPointControl",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-eee844ae")]).then(n.bind(null,"d44a"))},meta:{title:"试玩用户点控列表",icon:""}},{path:"option-order",name:"trail-option-order",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-110f6383")]).then(n.bind(null,"fceb"))},meta:{title:"试玩用户期权订单",icon:""}},{path:"transfer",name:"trailTransfer",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-0c5cb5fa")]).then(n.bind(null,"ffa8"))},meta:{title:"试玩用户划转日志",icon:""}},{path:"flashcash",name:"trailFlashcash",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-3e95f5bd")]).then(n.bind(null,"0673"))},meta:{title:"试玩用户闪兑日志",icon:""}},{path:"regulation",name:"trailRegulation",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-47d25880")]).then(n.bind(null,"fb61"))},meta:{title:"试玩用户调节记录",icon:""}}]},{path:"/currencies",name:"currencies",component:Fe,redirect:"/currencies/index",meta:{title:"币种管理",icon:"el-icon-s-custom"},alwaysShow:!0,children:[{path:"currenciesIndex",name:"currenciesIndex",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-4a184478")]).then(n.bind(null,"cb34"))},meta:{title:"提现列表",icon:""}},{path:"currenciesmanagement",name:"currenciesManagement",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-15ae83c8")]).then(n.bind(null,"7f57"))},meta:{title:"币种管理",icon:""}},{path:"forex-index",name:"forex-index",component:function(){return n.e("chunk-782c9368").then(n.bind(null,"a3c6"))},meta:{title:"外汇币种管理",icon:""}}]},{path:"/fabi",name:"fabi",component:Fe,redirect:"/fabi",meta:{title:"法币交易",icon:"el-icon-bank-card"},alwaysShow:!0,children:[{path:"list",name:"fabiList",component:function(){return n.e("chunk-26ffc5ed").then(n.bind(null,"87e2"))},meta:{title:"法币列表",icon:""}},{path:"passageList",name:"passageList",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-7e7a1160")]).then(n.bind(null,"6b02"))},meta:{title:"通道列表",icon:""}},{path:"buyList",name:"buyList",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-5e5bdd68")]).then(n.bind(null,"82f8"))},meta:{title:"充值列表",icon:""}},{path:"sellList",name:"sellList",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-882bcbcc")]).then(n.bind(null,"5f00"))},meta:{title:"提现列表",icon:""}}]},{path:"/collectionPayment",name:"collectionPayment",component:Fe,redirect:"/collectionPayment",meta:{title:"代收代付",icon:"el-icon-s-management"},alwaysShow:!0,children:[{path:"collectionOrder",name:"collectionOrder",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-14bb0a82")]).then(n.bind(null,"fe44"))},meta:{title:"代收订单",icon:""}},{path:"paymentOrder",name:"paymentOrder",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-97316c4c")]).then(n.bind(null,"9e99"))},meta:{title:"代付订单",icon:""}},{path:"account",name:"account",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-2b211c87")]).then(n.bind(null,"410a"))},meta:{title:"账号管理",icon:""}},{path:"store",name:"store",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-8bef4314")]).then(n.bind(null,"a855"))},meta:{title:"商户管理",icon:""}},{path:"stateManagement",name:"stateManagement",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-5d9a0ba6")]).then(n.bind(null,"1ac2"))},meta:{title:"状态管理",icon:""}}]},{path:"/financialmanagement",name:"financialmanagement",component:Fe,redirect:"/financialmanagement/subCommissionRecord",meta:{title:"财务管理",icon:"el-icon-s-marketing"},alwaysShow:!0,children:[{path:"subCommissionRecord",name:"subCommissionRecord",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9a644c66")]).then(n.bind(null,"869c"))},meta:{title:"分佣记录",icon:""}},{path:"transfer",name:"transfer",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-bd3afa98")]).then(n.bind(null,"112d"))},meta:{title:"划转日志",icon:""}},{path:"flashcash",name:"flashcash",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-45116908")]).then(n.bind(null,"0e40"))},meta:{title:"闪兑日志",icon:""}},{path:"withdrawdeposit",name:"withdrawdeposit",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-140484fa"),n.e("chunk-382c9b22")]).then(n.bind(null,"b669"))},meta:{title:"提现交易",icon:""}},{path:"rechargetrading",name:"rechargetrading",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-6e6a7771")]).then(n.bind(null,"22b2"))},meta:{title:"充值记录",icon:""}},{path:"regulation",name:"regulation",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-4d27a77e")]).then(n.bind(null,"449a"))},meta:{title:"调节记录",icon:""}}]},{path:"/forex",name:"forex",component:Fe,redirect:"/forex/index",meta:{title:"外汇",icon:"el-icon-tickets"},alwaysShow:!0,children:[{path:"foreign",name:"foreign",component:function(){return n.e("chunk-8946a280").then(n.bind(null,"6005"))},meta:{title:" 外汇合约",icon:""}},{path:"forex-option",name:"forex-option",component:function(){return n.e("chunk-6d3ae540").then(n.bind(null,"6425"))},meta:{title:" 外汇期权规则配置",icon:""}},{path:"/forex/user-control",name:"forex-user-control",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-2d0db809"),n.e("chunk-5238a06f"),n.e("chunk-30d6c890")]).then(n.bind(null,"8e70"))},meta:{title:"外汇用户控制管理",icon:""}},{path:"forexFullControl",name:"forexFullControl",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-49f297fb")]).then(n.bind(null,"f1de"))},meta:{title:"全控列表",icon:""}}]},{path:"/xianhuo",name:"xianhuo",component:Fe,redirect:"/xianhuo/index",meta:{title:"现货",icon:"el-icon-tickets"},alwaysShow:!0,children:[{path:"spot",name:"spot",component:function(){return n.e("chunk-35e8608e").then(n.bind(null,"0b0f"))},meta:{title:" 现货列表",icon:""}},{path:"contract1x",name:"contract1x",component:function(){return n.e("chunk-36614ca6").then(n.bind(null,"8080"))},meta:{title:" 加密现货全控",icon:""}}]},{path:"/contract",name:"contract",component:Fe,redirect:"/contract/index",meta:{title:"合约",icon:"el-icon-tickets"},alwaysShow:!0,children:[{path:"contractIndex",name:"contractIndex",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-0cdadfc7")]).then(n.bind(null,"7ffa"))},meta:{title:"合约列表",icon:""}},{path:"pointControl",name:"pointControl",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-1747aa06")]).then(n.bind(null,"e0c0"))},meta:{title:"点控列表",icon:""}},{path:"totalControl",name:"totalControl",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-3fd6b9e0")]).then(n.bind(null,"64dd"))},meta:{title:"全控列表",icon:""}}]},{path:"/option",name:"option",component:Fe,redirect:"/option/coin/index",meta:{title:"期权币种管理",icon:"el-icon-s-custom"},alwaysShow:!0,children:[{path:"/option/coin",name:"option-coin",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-2d0db809"),n.e("chunk-5238a06f"),n.e("chunk-7a272290")]).then(n.bind(null,"d44d"))},meta:{title:"期权币种管理",icon:""}},{path:"/option/control",name:"option-control",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-2d0db809"),n.e("chunk-5238a06f"),n.e("chunk-3c4c6922")]).then(n.bind(null,"fd6e"))},meta:{title:"期权控制管理",icon:""}},{path:"/option/rule",name:"option-rule",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-2d0db809"),n.e("chunk-5238a06f"),n.e("chunk-2a8d35a7")]).then(n.bind(null,"77d5"))},meta:{title:"期权规则管理",icon:""}},{path:"/option/statistics",name:"option-statistics",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-2d0db809"),n.e("chunk-5238a06f"),n.e("chunk-1d312542")]).then(n.bind(null,"418d"))},meta:{title:"下单统计",icon:""}},{path:"option-order",name:"option-order",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-2cb0c0bc")]).then(n.bind(null,"82b4"))},meta:{title:"期权订单",icon:""}}]},{path:"/lhc",name:"Lhc",component:Fe,redirect:"/lhc/index",meta:{title:"六合彩游戏",icon:"el-icon-s-custom"},alwaysShow:!0,children:[{path:"/game",name:"LhcGame",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-2d0db809"),n.e("chunk-5238a06f"),n.e("chunk-468e5843")]).then(n.bind(null,"e20e"))},meta:{title:"六合彩游戏",icon:""}},{path:"order",name:"LhcOrder",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-3e29fe30")]).then(n.bind(null,"567f"))},meta:{title:"六合彩订单",icon:""}}]},{path:"/football",name:"football",component:Fe,redirect:"/football",meta:{title:"足球",icon:"el-icon-basketball"},alwaysShow:!0,children:[{path:"/football/schedule",name:"football-schedule",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-1a6ec6f0")]).then(n.bind(null,"93a6"))},meta:{title:"赛程",icon:""}},{path:"/football/order",name:"football-order",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-318b83df")]).then(n.bind(null,"e72e"))},meta:{title:"订单",icon:""}},{path:"/football/task",name:"football-task",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-2d0db809"),n.e("chunk-8f1d21b4")]).then(n.bind(null,"8f0e"))},meta:{title:"足球任务列表",icon:""}},{path:"/football/taskMember",name:"football-task-member",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-cbb7575a")]).then(n.bind(null,"d73a"))},meta:{title:"足球任务邀请情况列表",icon:""}},{path:"/football/taskOrder",name:"football-task-order",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-4739305f")]).then(n.bind(null,"168c"))},meta:{title:"足球任务订单列表",icon:""}}]},{path:"/adolesce",name:"adolesce",component:Fe,redirect:"/adolesce/index",meta:{title:"成长学院",icon:"el-icon-notebook-2"},alwaysShow:!0,children:[{path:"adolesceIndex",name:"adolesceIndex",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-2d0db809"),n.e("chunk-5238a06f"),n.e("chunk-6a40134b")]).then(n.bind(null,"f77e"))},meta:{title:"成长学院列表",icon:""}},{path:"courseItemize",name:"courseItemize",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-7ca06cd6")]).then(n.bind(null,"aced"))},meta:{title:"教程分类",icon:""}}]},{path:"/wellnessCenters",name:"wellnessCenters",component:Fe,redirect:"/wellnessCenters/wellnessList",meta:{title:"福利中心",icon:"el-icon-news"},alwaysShow:!0,children:[{path:"wellnessList",name:"wellnessList",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-407d36e4")]).then(n.bind(null,"20d5"))},meta:{title:"注册认证任务",icon:""}},{path:"newbieTask",name:"newbieTask",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-c3f2c724")]).then(n.bind(null,"367d"))},meta:{title:"新手任务",icon:""}},{path:"challengeList",name:"challengeList",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-3773dc37")]).then(n.bind(null,"b7ea"))},meta:{title:"新手任务",icon:""}},{path:"taskMemberIndex",name:"taskMemberIndex",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-32f62ca9")]).then(n.bind(null,"ca59"))},meta:{title:"任务奖励记录",icon:""}}]},{path:"/invitation",name:"invitation",component:Fe,redirect:"/invitation/brokerage",meta:{title:"邀请设置",icon:"el-icon-message"},alwaysShow:!0,children:[{path:"brokerage",name:"brokerage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-3177a48a")]).then(n.bind(null,"37be"))},meta:{title:"搜续费分佣",icon:""}},{path:"relationship",name:"relationship",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-5e80ba96")]).then(n.bind(null,"3005"))},meta:{title:"邀请关系",icon:""}}]},{path:"/agent",name:"Agent",component:Fe,redirect:"/agent/agent-list",meta:{title:"代理管理",icon:"el-icon-data-analysis"},alwaysShow:!0,children:[{path:"agent-list",name:"agentListPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-3ef98de4")]).then(n.bind(null,"c452"))},meta:{title:"代理列表",icon:""}},{path:"subordinate-list",name:"subordinateListPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-aeb8a746")]).then(n.bind(null,"ab48"))},meta:{title:"下级好友",icon:""}},{path:"teamMember",name:"teamMember",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-7b3fa424")]).then(n.bind(null,"a710"))},meta:{title:"组员",icon:""}},{path:"subAgentList",name:"subAgentList",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-5401a21a")]).then(n.bind(null,"d1d0"))},meta:{title:"组长",icon:""}},{path:"agent-info",name:"agentInfo",component:function(){return n.e("chunk-a3b778fe").then(n.bind(null,"8a14"))},meta:{title:"代理详情",icon:""}}]},{path:"/financial",name:"Financial",component:Fe,redirect:"/financial/product-list",meta:{title:"理财产品",icon:"el-icon-data-analysis"},alwaysShow:!0,children:[{path:"product-list",name:"financialProductListPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-2d0db809"),n.e("chunk-5238a06f"),n.e("chunk-1deeb3d4")]).then(n.bind(null,"0ec8"))},meta:{title:"理财产品",icon:""}},{path:"flow-list",name:"financialFlowListPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-1254b728")]).then(n.bind(null,"1d23"))},meta:{title:"理财持有",icon:""}}]},{path:"/statistics",name:"Statistics",component:Fe,redirect:"/statistics/daily-report",meta:{title:"统计报表",icon:"el-icon-s-data"},alwaysShow:!0,children:[{path:"daily-report",name:"dailyReportPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-49ec92e6")]).then(n.bind(null,"3e81"))},meta:{title:"日报表",icon:""}},{path:"monthly-report",name:"monthlyReportPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-b782d60c")]).then(n.bind(null,"28f6"))},meta:{title:"月报表",icon:""}},{path:"country-daily-report",name:"countryDailyReportPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-7a0b6d73")]).then(n.bind(null,"5ca2"))},meta:{title:"国家日报表",icon:""}},{path:"financial-daily",name:"financialDailyReportPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-274e603e")]).then(n.bind(null,"5b59"))},meta:{title:"理财日报",icon:""}},{path:"financial-monthly",name:"financialMonthlyReportPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-6e6ea5f2")]).then(n.bind(null,"3255"))},meta:{title:"理财月报",icon:""}},{path:"exchange-daily",name:"exchangeDailyReportPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-64d2f7ee")]).then(n.bind(null,"896f"))},meta:{title:"闪兑日报",icon:""}},{path:"exchange-monthly",name:"exchangeMonthlyReportPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-a4025942")]).then(n.bind(null,"d517"))},meta:{title:"闪兑月报",icon:""}},{path:"futures-daily",name:"futuresDailyReportPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-eb7dfc5e")]).then(n.bind(null,"d01f"))},meta:{title:"合约日报",icon:""}},{path:"futures-monthly",name:"futuresMonthlyReportPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-555cb8e1")]).then(n.bind(null,"eac1"))},meta:{title:"合约月报",icon:""}}]},{path:"/soccer",name:"Soccer",component:Fe,redirect:"/soccer/league-list",meta:{title:"足球",icon:"el-icon-football"},alwaysShow:!0,hidden:!0,children:[{path:"league-list",name:"leagueListPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-93730e12")]).then(n.bind(null,"da6d"))},meta:{title:"联赛配置",icon:""}},{path:"sports-team-list",name:"sportsTeamListPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-0bd2cd38")]).then(n.bind(null,"6e13"))},meta:{title:"球队配置",icon:""}},{path:"order-list",name:"orderListPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-1706f362")]).then(n.bind(null,"67fa"))},meta:{title:"订单列表",icon:""}},{path:"tournament-list",name:"tournamentListPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-7d95f1d2")]).then(n.bind(null,"c551"))},meta:{title:"赛事列表",icon:""}}]},{path:"/spread",name:"Spread",component:Fe,redirect:"/spread/apply",meta:{title:"KOL",icon:""},alwaysShow:!0,hidden:!1,children:[{path:"/spread/apply",name:"spreadApply",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-61eeabf4")]).then(n.bind(null,"ce53"))},meta:{title:"KOL申请列表",icon:""}},{path:"/spread/code",name:"KolList",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-8735ac0a")]).then(n.bind(null,"7c6e"))},meta:{title:"KOL列表",icon:""}},{path:"/spread/vip-level-rule",name:"spreadVipLevelRule",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-2d0db809"),n.e("chunk-5238a06f"),n.e("chunk-2082574e")]).then(n.bind(null,"268e"))},meta:{title:"KOL佣金设置",icon:""}},{path:"/spread/child",name:"Child",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-50c7bf24")]).then(n.bind(null,"7e2c"))},meta:{title:"下级成员",icon:""}},{path:"/spread/analyze",name:"Analyze",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-689139ee")]).then(n.bind(null,"96f7"))},meta:{title:"数据分析",icon:""}},{path:"/spread/order",name:"order",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-b48fa310")]).then(n.bind(null,"0b07"))},meta:{title:"订单列表",icon:""}}]},{path:"/game-settings",name:"GameSettings",component:Fe,redirect:"/game-settings/game-list",meta:{title:"游戏",icon:"el-icon-football"},alwaysShow:!0,hidden:!0,children:[{path:"game-type-list",name:"gameType",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-67e5d574")]).then(n.bind(null,"c074"))},meta:{title:"游戏类型配置",icon:""}},{path:"game-list",name:"game",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-256c2b74")]).then(n.bind(null,"3b6a"))},meta:{title:"游戏配置",icon:""}}]},{path:"/set",name:"Set",component:Fe,redirect:"/banner/banner-list",meta:{title:"配置管理",icon:"el-icon-s-help"},alwaysShow:!0,children:[{path:"base-set",name:"BaseSetPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-2d0db809"),n.e("chunk-5d3bfa6e")]).then(n.bind(null,"9e11"))},meta:{title:"基础设置",icon:""}},{path:"withdrawal-fee",name:"WithdrawalFeeSetPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-13cae92d")]).then(n.bind(null,"6616"))},meta:{title:"提现手续费配置",icon:""}},{path:"wallet-type",name:"walletTypePage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-5e661ba6")]).then(n.bind(null,"38a0"))},meta:{title:"钱包类型配置",icon:""}},{path:"backend-set",name:"BackendSetPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-3b020431")]).then(n.bind(null,"9390"))},meta:{title:"管理后台配置",icon:""}},{path:"team-set",name:"teamSetPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-769cbfcd")]).then(n.bind(null,"d5ac"))},meta:{title:"分销阈值配置",icon:""}},{path:"recharge-scale",name:"rechargeScalePage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-5439b414")]).then(n.bind(null,"8ea5"))},meta:{title:"充值比例列表",icon:""}},{path:"recharge-set",name:"rechargeSetPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-6b517ec6")]).then(n.bind(null,"6acd"))},meta:{title:"充值阈值配置",icon:""}},{path:"withdraw-set",name:"withdrawSetPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-6176e95e")]).then(n.bind(null,"986f"))},meta:{title:"提现阈值配置",icon:""}},{path:"register-set",name:"registerSetPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-ef08ab98")]).then(n.bind(null,"6813"))},meta:{title:"注册赠送配置",icon:""}},{path:"recharge-rule",name:"rechargeRulePage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-5238a06f"),n.e("chunk-57601c73")]).then(n.bind(null,"31a1"))},meta:{title:"充值规则列表",icon:""}},{path:"banner-list",name:"bannerListPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-2d0db809"),n.e("chunk-266ad93d"),n.e("chunk-318f7c5f")]).then(n.bind(null,"f3f9"))},meta:{title:"轮播图列表",icon:""}},{path:"activity-list",name:"activityListPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-5238a06f"),n.e("chunk-2d163306")]).then(n.bind(null,"9d19"))},meta:{title:"活动列表",icon:""}},{path:"footer",name:"footer",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-2d0db809"),n.e("chunk-5238a06f"),n.e("chunk-6bf5c4ee")]).then(n.bind(null,"8126"))},meta:{title:"PC端底部设置",icon:""}},{path:"appversion",name:"appversionListPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-5238a06f"),n.e("chunk-70e9a728")]).then(n.bind(null,"814b"))},meta:{title:"APP版本列表",icon:""}}]},{path:"/Platform",name:"Platform",component:Fe,redirect:"/platform/list",meta:{title:"内容管理",icon:"el-icon-s-platform"},children:[{path:"popup",name:"popup",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-5238a06f"),n.e("chunk-a186b4c8")]).then(n.bind(null,"64c3"))},meta:{title:"首页弹窗",icon:""}},{path:"notice-list",name:"noticeListPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-5238a06f"),n.e("chunk-aa451f3c")]).then(n.bind(null,"4e0e"))},meta:{title:"通知列表",icon:""}},{path:"marquee-list",name:"marqueeListPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-0df94a9a")]).then(n.bind(null,"82e5"))},meta:{title:"跑马灯列表",icon:""}},{path:"/problem/list",name:"problemListPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-f6ac2c6a")]).then(n.bind(null,"86dd"))},meta:{title:"问题列表",icon:""}},{path:"telegram",name:"Telegram",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-2d0db809"),n.e("chunk-266ad93d"),n.e("chunk-2be10634")]).then(n.bind(null,"5204"))},meta:{title:"Telegram机器人",icon:""}}]},{path:"/Activities",name:"Activities",component:Fe,redirect:"/Activities/latest",meta:{title:"金融管理",icon:"el-icon-notebook-2"},children:[{path:"finance",name:"finance",component:function(){return n.e("chunk-1bcc6b62").then(n.bind(null,"b0ff"))},meta:{title:"理财管理",icon:""}},{path:"order",name:"order",component:function(){return n.e("chunk-0ebfbd96").then(n.bind(null,"9d61"))},meta:{title:" 理财订单",icon:""}}]},{path:"/system",name:"System",component:Fe,redirect:"/system/list",meta:{title:"系统权限配置",icon:"el-icon-user-solid"},children:[{path:"list",name:"userPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-2fd86535")]).then(n.bind(null,"20f8"))},meta:{title:"后台用户列表",icon:""}},{path:"role",name:"rolePage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-798a912b")]).then(n.bind(null,"ecf1"))},meta:{title:"角色管理",icon:""}},{path:"operationLog",name:"operationLog",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-ba450fa6")]).then(n.bind(null,"e13c"))},meta:{title:"操作日志",icon:""}},{path:"functionalPermissions",name:"functionalPermissions",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-9e9c9b90"),n.e("chunk-69218076")]).then(n.bind(null,"bdaa"))},meta:{title:"功能权限",icon:""}},{path:"menu",name:"menuPage",component:function(){return Promise.all([n.e("chunk-commons"),n.e("chunk-99a54dba")]).then(n.bind(null,"235a"))},meta:{title:"菜单管理",icon:""}}]}],Ge=function(){return new i["a"]({scrollBehavior:function(){return{y:0}},routes:[].concat(We,qe)})},Je=Ge();t["b"]=Je},a903:function(e,t,n){"use strict";var a=n("a11d"),o=n.n(a);o.a},b20f:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},b3b5:function(e,t,n){"use strict";n.r(t);var a=n("e017"),o=n.n(a),r=n("21a1"),i=n.n(r),c=new o.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 130 130" id="icon-user"><path d="M63.444 64.996c20.633 0 37.359-14.308 37.359-31.953 0-17.649-16.726-31.952-37.359-31.952-20.631 0-37.36 14.303-37.358 31.952 0 17.645 16.727 31.953 37.359 31.953zM80.57 75.65H49.434c-26.652 0-48.26 18.477-48.26 41.27v2.664c0 9.316 21.608 9.325 48.26 9.325H80.57c26.649 0 48.256-.344 48.256-9.325v-2.663c0-22.794-21.605-41.271-48.256-41.271z" stroke="#979797" /></symbol>'});i.a.add(c);t["default"]=c},b775:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));n("4160"),n("d3b7"),n("159b");var a=n("5530"),o=n("bc3a"),r=n.n(o),i=n("5f87"),c=n("4360"),l=n("5c96"),u=window.global.baseUrl,s=!1,d=[],m=r.a.create({baseURL:u});m.interceptors.response.use((function(e){return 200===e.status?e.data:Promise.reject(new Error(e.data.message||"Service Error"))}));var h=function(e){var t=Object(i["a"])(),n={headers:{"X-Api-Key":t?t.access_token:""},baseURL:u},o=Object(a["a"])(Object(a["a"])({},e),n);return r.a.request(o).then((function(t){return p(t,e)})).catch((function(e){return console.log("axios request error:",e)}))};function p(e,t){if(e){if(401!==e.data.code)return e.data;if(401===e.data.code){s||f();var n=new Promise((function(e){g((function(){e(h(t))}))}));return n}}}function f(){s=!0;var e=Object(i["a"])(),t={refresh_token:e.refresh_token,access_token:e.access_token,group:"pc"};r.a.request({baseURL:u,url:"/site/refresh",method:"POST",data:t}).then((function(e){200===e.data.code?(Object(i["c"])(e.data.data),b()):(c["a"].dispatch("user/logout"),Object(l["Message"])({message:"身份认证过期,请重新登录",type:"error"})),s=!1}))}function b(){d.forEach((function(e){e()})),d=[]}function g(e){d.push(e)}t["b"]=h},b893:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return c}));n("4160"),n("caad"),n("c975"),n("a15b"),n("b0c0"),n("b64b"),n("ac1f"),n("2532"),n("466d"),n("5319"),n("1276"),n("159b"),n("4360"),n("5c96"),n("a18c");function a(e,t){Object.keys(e).forEach((function(n){e[n]=t[n]||e[n]}))}function o(e){if(!e)return"";var t="?";for(var n in e)t+=n+"=",t+=e[n]+"&";return t=t.substring(0,t.length-1),t}function r(e,t){for(var n=0;n<e.length;n++)for(var a=0;a<t.length;a++)e[n].name!==t[a].name||t[a].permission||(t[a].permission=!0,e[n].icon&&(t[a].meta.icon=e[n].icon),t[a].meta.title=e[n].label,e[n].buttons&&(t[a].meta.buttons=e[n].buttons),e[n].children&&e[n].children.length>0&&(t[a].children=r(e[n].children,t[a].children)));return t}function i(){var e,t,n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],a=window.global.baseUrl.indexOf("http");-1===a?(e="/adminapi/v1/common/file/images",t="/adminapi/v1/common/file/files"):(e="/common/file/images",t="/common/file/files");var o=n?e:t;return-1!==a?window.global.baseUrl+o:o}function c(){var e,t=window.global.baseUrl.indexOf("http");e=-1===t?"/adminapi/v1/common/file/files":"/common/file/files";var n=e;return-1!==t?window.global.baseUrl+n:n}},ba7f:function(e,t,n){"use strict";var a=n("9c98"),o=n.n(a);o.a},be35:function(e,t,n){},bf4f:function(e,t,n){"use strict";var a=n("9874"),o=n.n(a);o.a},c075:function(e,t,n){"use strict";var a=n("3f31"),o=n.n(a);o.a},c24f:function(e,t,n){"use strict";n.d(t,"f",(function(){return o})),n.d(t,"n",(function(){return r})),n.d(t,"m",(function(){return i})),n.d(t,"k",(function(){return c})),n.d(t,"z",(function(){return l})),n.d(t,"y",(function(){return u})),n.d(t,"e",(function(){return s})),n.d(t,"s",(function(){return d})),n.d(t,"t",(function(){return m})),n.d(t,"o",(function(){return h})),n.d(t,"u",(function(){return p})),n.d(t,"d",(function(){return f})),n.d(t,"x",(function(){return b})),n.d(t,"c",(function(){return g})),n.d(t,"b",(function(){return v})),n.d(t,"j",(function(){return w})),n.d(t,"g",(function(){return k})),n.d(t,"l",(function(){return y})),n.d(t,"w",(function(){return O})),n.d(t,"i",(function(){return _})),n.d(t,"q",(function(){return P})),n.d(t,"p",(function(){return x})),n.d(t,"a",(function(){return S})),n.d(t,"v",(function(){return j})),n.d(t,"h",(function(){return E}));var a=n("b775");function o(e){return Object(a["a"])({url:"/site/login-pre",method:"get",params:e})}function r(e){return Object(a["a"])({url:"/site/login",method:"post",data:e})}function i(e){return Object(a["a"])({url:"/site/save-google-secret",method:"post",data:e})}function c(e){return Object(a["a"])({url:"/site/login",method:"post",data:e})}function l(){return Object(a["b"])({url:"/auth-role/menus",method:"get"})}function u(e){return Object(a["b"])({url:"/employee/index",method:"get",params:e})}function s(e){return Object(a["b"])({url:"/employee/agent",method:"get",params:e})}function d(e){return Object(a["b"])({url:"/employee/sub-agent",method:"get",params:e})}function m(e){return Object(a["b"])({url:"/employee/team-member",method:"get",params:e})}function h(e,t){return Object(a["b"])({url:"/employee/toggle-promote",method:"put",urlParams:e,data:t})}function p(e){return Object(a["b"])({url:"/employee/children",method:"get",params:e})}function f(e){return Object(a["b"])({url:"/employee/agent-detail",method:"get",params:e})}function b(e){return Object(a["b"])({url:"/employee/gcreate",method:"get",params:e})}function g(e){return Object(a["b"])({url:"/employee/create",method:"post",data:e})}function v(e){return Object(a["b"])({url:"/employee/create-sub",method:"post",data:e})}function w(e,t){return Object(a["b"])({url:"/employee/agent-update",method:"put",params:e,data:t})}function k(e,t){return Object(a["b"])({url:"/employee/change-parent",method:"put",params:e,data:t})}function y(e){return Object(a["b"])({url:"/employee/gupdate",method:"get",params:e})}function O(e,t){return Object(a["b"])({url:"/employee/update",method:"put",params:e,data:t})}function _(e){return Object(a["b"])({url:"/employee/delete",method:"delete",params:e})}function P(e){return Object(a["b"])({url:"/auth-role/index",method:"get",params:e})}function x(e){return Object(a["b"])({url:"/auth-role/gupdate",method:"get",params:e})}function S(e){return Object(a["b"])({url:"/auth-role/create",method:"post",data:e})}function j(e,t){return Object(a["b"])({url:"/auth-role/update",method:"put",params:e,data:t})}function E(e){return Object(a["b"])({url:"/auth-role/delete",method:"delete",params:e})}},c2dc:function(e,t,n){},c466:function(e,t,n){"use strict";function a(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=parseInt(e);if(!n)return"";var a=new Date(1e3*n),o=a.getFullYear()+"-",r=(a.getMonth()+1<10?"0"+(a.getMonth()+1):a.getMonth()+1)+"-",i=a.getDate()<10?"0"+a.getDate():a.getDate();if(t){var c=(a.getHours()<10?"0"+a.getHours():a.getHours())+":",l=(a.getMinutes()<10?"0"+a.getMinutes():a.getMinutes())+":",u=a.getSeconds()<10?"0"+a.getSeconds():a.getSeconds();return o+r+i+" "+c+l+u}return o+r+i}n.d(t,"a",(function(){return a}))},c48c:function(e,t,n){"use strict";var a=n("739d"),o=n.n(a);o.a},c4d7:function(e,t,n){"use strict";var a=n("87d9"),o=n.n(a);o.a},ccdd:function(e,t,n){"use strict";var a=n("9342"),o=n.n(a);o.a},cf1e:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},cfaa:function(e,t,n){"use strict";var a=n("e1eb"),o=n.n(a);o.a},d346:function(e,t,n){},d7ec:function(e,t,n){"use strict";n.r(t);var a=n("e017"),o=n.n(a),r=n("21a1"),i=n.n(r),c=new o.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-eye-open"><defs><style></style></defs><path d="M512 128q69.675 0 135.51 21.163t115.498 54.997 93.483 74.837 73.685 82.006 51.67 74.837 32.17 54.827L1024 512q-2.347 4.992-6.315 13.483T998.87 560.17t-31.658 51.669-44.331 59.99-56.832 64.34-69.504 60.16-82.347 51.5-94.848 34.687T512 896q-69.675 0-135.51-21.163t-115.498-54.826-93.483-74.326-73.685-81.493-51.67-74.496-32.17-54.997L0 513.707q2.347-4.992 6.315-13.483t18.816-34.816 31.658-51.84 44.331-60.33 56.832-64.683 69.504-60.331 82.347-51.84 94.848-34.816T512 128.085zm0 85.333q-46.677 0-91.648 12.331t-81.152 31.83-70.656 47.146-59.648 54.485-48.853 57.686-37.675 52.821-26.325 43.99q12.33 21.674 26.325 43.52t37.675 52.351 48.853 57.003 59.648 53.845T339.2 767.02t81.152 31.488T512 810.667t91.648-12.331 81.152-31.659 70.656-46.848 59.648-54.186 48.853-57.344 37.675-52.651T927.957 512q-12.33-21.675-26.325-43.648t-37.675-52.65-48.853-57.345-59.648-54.186-70.656-46.848-81.152-31.659T512 213.334zm0 128q70.656 0 120.661 50.006T682.667 512 632.66 632.661 512 682.667 391.339 632.66 341.333 512t50.006-120.661T512 341.333zm0 85.334q-35.328 0-60.33 25.002T426.666 512t25.002 60.33T512 597.334t60.33-25.002T597.334 512t-25.002-60.33T512 426.666z" /></symbol>'});i.a.add(c);t["default"]=c},dcf8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),o=n.n(a),r=n("21a1"),i=n.n(r),c=new o.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" id="icon-nested"><path d="M.002 9.2c0 5.044 3.58 9.133 7.998 9.133 4.417 0 7.997-4.089 7.997-9.133 0-5.043-3.58-9.132-7.997-9.132S.002 4.157.002 9.2zM31.997.066h95.981V18.33H31.997V.066zm0 45.669c0 5.044 3.58 9.132 7.998 9.132 4.417 0 7.997-4.088 7.997-9.132 0-3.263-1.524-6.278-3.998-7.91-2.475-1.63-5.524-1.63-7.998 0-2.475 1.632-4 4.647-4 7.91zM63.992 36.6h63.986v18.265H63.992V36.6zm-31.995 82.2c0 5.043 3.58 9.132 7.998 9.132 4.417 0 7.997-4.089 7.997-9.132 0-5.044-3.58-9.133-7.997-9.133s-7.998 4.089-7.998 9.133zm31.995-9.131h63.986v18.265H63.992V109.67zm0-27.404c0 5.044 3.58 9.133 7.998 9.133 4.417 0 7.997-4.089 7.997-9.133 0-3.263-1.524-6.277-3.998-7.909-2.475-1.631-5.524-1.631-7.998 0-2.475 1.632-4 4.646-4 7.91zm31.995-9.13h31.991V91.4H95.987V73.135z" /></symbol>'});i.a.add(c);t["default"]=c},e1eb:function(e,t,n){},e3ee:function(e,t,n){"use strict";var a=n("c2dc"),o=n.n(a);o.a},eae4:function(e,t,n){},eb1b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),o=n.n(a),r=n("21a1"),i=n.n(r),c=new o.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" id="icon-form"><path d="M84.068 23.784c-1.02 0-1.877-.32-2.572-.96a8.588 8.588 0 0 1-1.738-2.237 11.524 11.524 0 0 1-1.042-2.621c-.232-.895-.348-1.641-.348-2.238V0h.278c.834 0 1.622.085 2.363.256.742.17 1.645.575 2.711 1.214 1.066.64 2.363 1.535 3.892 2.686 1.53 1.15 3.453 2.664 5.77 4.54 2.502 2.045 4.494 3.771 5.977 5.178 1.483 1.406 2.618 2.6 3.406 3.58.787.98 1.274 1.812 1.46 2.494.185.682.277 1.278.277 1.79v2.046H84.068zM127.3 84.01c.278.682.464 1.535.556 2.558.093 1.023-.37 2.003-1.39 2.94-.463.427-.88.832-1.25 1.215-.372.384-.696.704-.974.96a6.69 6.69 0 0 1-.973.767l-11.816-10.741a44.331 44.331 0 0 0 1.877-1.535 31.028 31.028 0 0 1 1.737-1.406c1.112-.938 2.317-1.343 3.615-1.215 1.297.128 2.363.405 3.197.83.927.427 1.923 1.173 2.989 2.239 1.065 1.065 1.876 2.195 2.432 3.388zM78.23 95.902c2.038 0 3.752-.511 5.143-1.534l-26.969 25.83H18.037c-1.761 0-3.684-.47-5.77-1.407a24.549 24.549 0 0 1-5.838-3.709 21.373 21.373 0 0 1-4.518-5.306c-1.204-2.003-1.807-4.07-1.807-6.202V16.495c0-1.79.44-3.665 1.32-5.626A18.41 18.41 0 0 1 5.04 5.562a21.798 21.798 0 0 1 5.213-3.964C12.198.533 14.237 0 16.37 0h53.24v15.984c0 1.62.278 3.367.834 5.242a16.704 16.704 0 0 0 2.572 5.179c1.159 1.577 2.665 2.898 4.518 3.964 1.853 1.066 4.078 1.598 6.673 1.598h20.295v42.325L85.458 92.45c1.02-1.364 1.529-2.856 1.529-4.476 0-2.216-.857-4.113-2.572-5.69-1.714-1.577-3.776-2.366-6.186-2.366H26.1c-2.409 0-4.448.789-6.116 2.366-1.668 1.577-2.502 3.474-2.502 5.69 0 2.217.834 4.092 2.502 5.626 1.668 1.535 3.707 2.302 6.117 2.302h52.13zM26.1 47.951c-2.41 0-4.449.789-6.117 2.366-1.668 1.577-2.502 3.473-2.502 5.69 0 2.216.834 4.092 2.502 5.626 1.668 1.534 3.707 2.302 6.117 2.302h52.13c2.409 0 4.47-.768 6.185-2.302 1.715-1.534 2.572-3.41 2.572-5.626 0-2.217-.857-4.113-2.572-5.69-1.714-1.577-3.776-2.366-6.186-2.366H26.1zm52.407 64.063l1.807-1.663 3.476-3.196a479.75 479.75 0 0 0 4.587-4.284 500.757 500.757 0 0 1 5.004-4.667c3.985-3.666 8.48-7.758 13.485-12.276l11.677 10.741-13.485 12.404-5.004 4.603-4.587 4.22a179.46 179.46 0 0 0-3.267 3.068c-.88.853-1.367 1.322-1.46 1.407-.463.341-.973.703-1.529 1.087-.556.383-1.112.703-1.668.959-.556.256-1.413.575-2.572.959a83.5 83.5 0 0 1-3.545 1.087 72.2 72.2 0 0 1-3.475.895c-1.112.256-1.946.426-2.502.511-1.112.17-1.854.043-2.224-.383-.371-.426-.464-1.151-.278-2.174.092-.511.278-1.279.556-2.302.278-1.023.602-2.067.973-3.132l1.042-3.005c.325-.938.58-1.577.765-1.918a10.157 10.157 0 0 1 2.224-2.941z" /></symbol>'});i.a.add(c);t["default"]=c},f782:function(e,t,n){"use strict";n.r(t);var a=n("e017"),o=n.n(a),r=n("21a1"),i=n.n(r),c=new o.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 100" id="icon-dashboard"><path d="M27.429 63.638c0-2.508-.893-4.65-2.679-6.424-1.786-1.775-3.94-2.662-6.464-2.662-2.524 0-4.679.887-6.465 2.662-1.785 1.774-2.678 3.916-2.678 6.424 0 2.508.893 4.65 2.678 6.424 1.786 1.775 3.94 2.662 6.465 2.662 2.524 0 4.678-.887 6.464-2.662 1.786-1.775 2.679-3.916 2.679-6.424zm13.714-31.801c0-2.508-.893-4.65-2.679-6.424-1.785-1.775-3.94-2.662-6.464-2.662-2.524 0-4.679.887-6.464 2.662-1.786 1.774-2.679 3.916-2.679 6.424 0 2.508.893 4.65 2.679 6.424 1.785 1.774 3.94 2.662 6.464 2.662 2.524 0 4.679-.888 6.464-2.662 1.786-1.775 2.679-3.916 2.679-6.424zM71.714 65.98l7.215-27.116c.285-1.23.107-2.378-.536-3.443-.643-1.064-1.56-1.762-2.75-2.094-1.19-.33-2.333-.177-3.429.462-1.095.639-1.81 1.573-2.143 2.804l-7.214 27.116c-2.857.237-5.405 1.266-7.643 3.088-2.238 1.822-3.738 4.152-4.5 6.992-.952 3.644-.476 7.098 1.429 10.364 1.905 3.265 4.69 5.37 8.357 6.317 3.667.947 7.143.474 10.429-1.42 3.285-1.892 5.404-4.66 6.357-8.305.762-2.84.619-5.607-.429-8.305-1.047-2.697-2.762-4.85-5.143-6.46zm47.143-2.342c0-2.508-.893-4.65-2.678-6.424-1.786-1.775-3.94-2.662-6.465-2.662-2.524 0-4.678.887-6.464 2.662-1.786 1.774-2.679 3.916-2.679 6.424 0 2.508.893 4.65 2.679 6.424 1.786 1.775 3.94 2.662 6.464 2.662 2.524 0 4.679-.887 6.465-2.662 1.785-1.775 2.678-3.916 2.678-6.424zm-45.714-45.43c0-2.509-.893-4.65-2.679-6.425C68.68 10.01 66.524 9.122 64 9.122c-2.524 0-4.679.887-6.464 2.661-1.786 1.775-2.679 3.916-2.679 6.425 0 2.508.893 4.65 2.679 6.424 1.785 1.774 3.94 2.662 6.464 2.662 2.524 0 4.679-.888 6.464-2.662 1.786-1.775 2.679-3.916 2.679-6.424zm32 13.629c0-2.508-.893-4.65-2.679-6.424-1.785-1.775-3.94-2.662-6.464-2.662-2.524 0-4.679.887-6.464 2.662-1.786 1.774-2.679 3.916-2.679 6.424 0 2.508.893 4.65 2.679 6.424 1.785 1.774 3.94 2.662 6.464 2.662 2.524 0 4.679-.888 6.464-2.662 1.786-1.775 2.679-3.916 2.679-6.424zM128 63.638c0 12.351-3.357 23.78-10.071 34.286-.905 1.372-2.19 2.058-3.858 2.058H13.93c-1.667 0-2.953-.686-3.858-2.058C3.357 87.465 0 76.037 0 63.638c0-8.613 1.69-16.847 5.071-24.703C8.452 31.08 13 24.312 18.714 18.634c5.715-5.68 12.524-10.199 20.429-13.559C47.048 1.715 55.333.035 64 .035c8.667 0 16.952 1.68 24.857 5.04 7.905 3.36 14.714 7.88 20.429 13.559 5.714 5.678 10.262 12.446 13.643 20.301 3.38 7.856 5.071 16.09 5.071 24.703z" /></symbol>'});i.a.add(c);t["default"]=c}},[[0,"runtime","chunk-elementUI","chunk-libs"]]]);