(function(e){function t(t){for(var r,o,c=t[0],u=t[1],s=t[2],l=0,d=[];l0?Object(u["d"])(e.menuList,n.user.userInfo.access):Object(u["d"])(f["a"],n.user.userInfo.access)},errorCount:function(e){return e.errorList.length}},mutations:{setBreadCrumb:function(e,t){e.breadCrumbList=Object(u["b"])(t,e.homeRoute)},updateMenuList:function(e,t){c["a"].addRoutes(t),e.menuList=t},setHomeRoute:function(e,t){e.homeRoute=Object(u["c"])(t,"home")},setTagNavList:function(e,t){var n=[];n=t?Object(d["a"])(t):Object(u["h"])()||[],n[0]&&"home"!==n[0].name&&n.shift();var r=n.findIndex((function(e){return"home"===e.name}));if(r>0){var o=n.splice(r,1)[0];n.unshift(o)}e.tagNavList=n,Object(u["o"])(Object(d["a"])(n))},closeTag:function(e,t){var n=e.tagNavList.filter((function(e){return Object(u["l"])(e,t)}));t=n[0]?n[0]:null,t&&h(e,t)},addTag:function(e,t){var n=t.route,r=t.type,o=void 0===r?"unshift":r,a=Object(u["g"])(n);Object(u["m"])(e.tagNavList,a)||("push"===o?e.tagNavList.push(a):"home"===a.name?e.tagNavList.unshift(a):e.tagNavList.splice(1,0,a),Object(u["o"])(Object(d["a"])(e.tagNavList)))},setLocal:function(e,t){Object(u["k"])("local",t),e.local=t},addError:function(e,t){e.errorList.push(t)}}};o.a.use(a["a"]);t["a"]=new a["a"].Store({state:{},mutations:{},actions:{},modules:{user:l,app:m}})},"56d7":function(e,t,n){"use strict";n.r(t);n("6762"),n("2fdb"),n("cadf"),n("551c"),n("f751"),n("097d");var r=n("8bbf"),o=n.n(r),a=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},i=[],c={name:"App"},u=c,s=(n("35ee"),n("2877")),l=Object(s["a"])(u,a,i,!1,null,null,null),d=l.exports,f=n("a18c"),h=n("4360"),m=n("f825"),p=n.n(m),g=n("a925"),b=n("c276"),v={home:"首页",login:"登录",system_setting:"系统配置",menu_setting:"菜单维护",user_setting:"用户管理",auth_setting:"权限管理",logs:"操作日志",apps_setting:"应用接入",apps_group:"应用分组",apps_list:"应用列表",interface_setting:"接口设置",interface_group:"接口分组",interface_list:"接口列表",add_button:"新增",find_button:"查询",refresh_button:"刷新",delete_button:"删除",edit_button:"编辑",open_choose:"启用",close_choose:"禁用",show_choose:"显示",hide_choose:"隐藏",interface_request:"请求参数",interface_response:"返回参数",user_center:"个人中心",wiki_list:"文档中心",wiki_error:"错误码",wiki_calculation:"算法详解",wiki_login:"文档登录"},y={home:"首頁",login:"登錄",system_setting:"系統配置",menu_setting:"菜單維護",user_setting:"用戶管理",auth_setting:"權限管理",logs:"操作日誌",apps_setting:"應用接入",apps_group:"應用分組",apps_list:"應用列表",interface_setting:"接口設置",interface_group:"接口分組",interface_list:"接口列表",add_button:"新增",find_button:"查詢",refresh_button:"刷新",delete_button:"刪除",edit_button:"編輯",open_choose:"啟用",close_choose:"禁用",show_choose:"顯示",hide_choose:"隱藏",interface_request:"請求參數",interface_response:"返回參數",user_center:"個人中心",wiki_list:"文檔中心",wiki_error:"錯誤碼",wiki_calculation:"算法詳解",wiki_login:"文檔登錄"},w={home:"Home",login:"Login",system_setting:"System Setting",menu_setting:"Menu Setting",user_setting:"User Setting",auth_setting:"Auth Setting",logs:"Logs",apps_setting:"Apps Setting",apps_group:"Apps Group",apps_list:"Apps List",interface_setting:"Interface Setting",interface_group:"Interface Group",interface_list:"Interface List",add_button:"Add",find_button:"Find",refresh_button:"Refresh",delete_button:"Delete",edit_button:"Edit",open_choose:"Open",close_choose:"Close",show_choose:"Show",hide_choose:"Hide",interface_request:"Request Params",interface_response:"Response Params",user_center:"User Center",wiki_list:"Wiki Center",wiki_error:"Wiki Error",wiki_calculation:"Wiki Calculation",wiki_login:"Wiki Login"},k=n("d528"),O=n("d8bf"),_=n("b450");o.a.use(g["a"]);var j=navigator.language,L=("zh-CN"===j||"en-US"===j)&&j,S=L||Object(b["j"])("local")||"zh-CN";o.a.config.lang=S,o.a.locale=function(){};var C={"zh-CN":Object.assign(k["a"],v),"zh-TW":Object.assign(_["a"],y),"en-US":Object.assign(O["a"],w)},N=new g["a"]({locale:S,messages:C}),T=N,I=n("f121"),x=(n("28a5"),n("90de")),A={inserted:function(e,t,n){var r=document.querySelector(t.value.trigger);r.style.cursor="move";var o=document.querySelector(t.value.body),a=0,i=0,c=0,u=0,s=!1,l=function(e){var t=/\(.*\)/.exec(o.style.transform);if(t){t=t[0].slice(1,t[0].length-1);var n=t.split("px, ");c=parseFloat(n[0]),u=parseFloat(n[1].split("px")[0])}a=e.pageX,i=e.pageY,s=!0},d=function(e){var t=e.pageX-a+c,n=e.pageY-i+u;s&&(o.style.transform="translate(".concat(t,"px, ").concat(n,"px)"))},f=function(e){s=!1};Object(x["h"])(r,"mousedown",l),Object(x["h"])(document,"mousemove",d),Object(x["h"])(document,"mouseup",f)},update:function(e,t,n){if(t.value.recover){var r=document.querySelector(t.value.body);r.style.transform=""}}},M={inserted:function(e,t,n){h["a"].dispatch("getUserInfo").then((function(n){var r=e.parentNode;n.access&&!n.access.includes("admin/"+t.value)&&r.removeChild(e),r.childNodes&&0===r.childNodes.length&&r.parentNode.removeChild(r)}))}},B={draggable:A,has:M},z=B,P=function(e){e.directive("draggable",z.draggable),e.directive("clipboard",z.clipboard),e.directive("highlight",z.highlight),e.directive("has",z.has)},E=P,F=n("785b");n("ca62"),n("33ec");o.a.use(p.a,{i18n:function(e,t){return T.t(e,t)}}),o.a.config.productionTip=!1,o.a.prototype.$config=I["a"],E(o.a),o.a.directive("clickOutside",F["directive"]),o.a.prototype.hasRule=function(e){return new Promise((function(t,n){try{h["a"].dispatch("getUserInfo").then((function(n){t(n.access&&n.access.includes("admin/"+e))}))}catch(r){n(r)}}))},new o.a({el:"#app",router:f["a"],i18n:T,store:h["a"],render:function(e){return e(d)}})},5869:function(e,t,n){"use strict";var r=function(){var e=this,t=e._self._c;return t("div",{class:e.classes,style:e.styles,on:{click:e.back}},[e._t("default",(function(){return[t("div",{class:e.innerClasses},[t("i",{staticClass:"ivu-icon ivu-icon-ios-arrow-up"})])]}))],2)},o=[],a=n("ade3"),i=(n("c5f6"),n("c276")),c=n("90de"),u="ivu-back-top",s={name:"ABackTop",props:{height:{type:Number,default:400},bottom:{type:Number,default:30},right:{type:Number,default:30},duration:{type:Number,default:1e3},container:{type:null,default:window}},data:function(){return{backTop:!1}},mounted:function(){Object(c["h"])(this.containerEle,"scroll",this.handleScroll),Object(c["h"])(this.containerEle,"resize",this.handleScroll)},beforeDestroy:function(){Object(c["g"])(this.containerEle,"scroll",this.handleScroll),Object(c["g"])(this.containerEle,"resize",this.handleScroll)},computed:{classes:function(){return["".concat(u),Object(a["a"])({},"".concat(u,"-show"),this.backTop)]},styles:function(){return{bottom:"".concat(this.bottom,"px"),right:"".concat(this.right,"px")}},innerClasses:function(){return"".concat(u,"-inner")},containerEle:function(){return this.container===window?window:document.querySelector(this.container)}},methods:{handleScroll:function(){this.backTop=this.containerEle.scrollTop>=this.height},back:function(){var e="string"===typeof this.container?this.containerEle:document.documentElement||document.body,t=e.scrollTop;Object(i["n"])(this.containerEle,t,0,this.duration),this.$emit("on-click")}}},l=s,d=n("2877"),f=Object(d["a"])(l,r,o,!1,null,null,null),h=f.exports;t["a"]=h},"62b6":function(e,t,n){"use strict";n("e553")},"66df":function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n("d4ec"),o=n("bee2"),a=n("f121"),i=n("bc3a"),c=n.n(i),u=n("f825"),s=n.n(u),l=n("c276"),d=n("a18c"),f=a["a"].baseUrl.pro+"admin/",h=function(){function e(t){Object(r["a"])(this,e),this.baseUrl=t}return Object(o["a"])(e,[{key:"interceptors",value:function(e){e.interceptors.request.use((function(e){return e}),(function(e){return Promise.reject(e)})),e.interceptors.response.use((function(e){var t=e.data,n=e.status;if(t.code<0)throw-14===t.code?(Object(l["q"])(""),d["a"].push({name:"login"})):s.a.Message.error(t.msg),new Error(t.msg);return{data:t,status:n}}),(function(e){return Promise.reject(e)}))}},{key:"request",value:function(e){var t=c.a.create(),n=Object(l["i"])();return e=!1===n?Object.assign({baseURL:this.baseUrl,headers:{}},e):Object.assign({baseURL:this.baseUrl,headers:{"Api-Auth":n}},e),this.interceptors(t),t(e)}}])}(),m=new h(f);t["b"]=m},"7a3c":function(e,t,n){},"7c53":function(e,t,n){},"89e4":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));var r=function(e){return function(){return n("0351")("./".concat(e,".vue"))}},o=n("f1bd"),a=function(){var e=sessionStorage.getItem("dynamicRouter");return e?i(JSON.parse(e)):[]},i=function e(t){var n=[];return t&&t.filter((function(t){if(1===t.show){var a={};a.path=t.router,a.name=t.title,a.meta={icon:t.icon,title:t.title,hideInMenu:!1},""===t.component?a.component=o["a"]:("interface/request"!==t.component&&"interface/response"!==t.component||(a.meta.hideInMenu=!0),a.component=r(t.component)),t.children&&t.children.length&&(a.children=e(t.children)),n.push(a)}})),n}},"8bbf":function(e,t){e.exports=Vue},"90de":function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"i",(function(){return u})),n.d(t,"b",(function(){return s})),n.d(t,"h",(function(){return l})),n.d(t,"g",(function(){return d})),n.d(t,"f",(function(){return f}));n("456d"),n("a481");var r=n("2909"),o=(n("ac6a"),n("4f7f"),n("5df3"),n("1c4c"),n("6b54"),function(e,t){if(e.length&&t){var n=-1,r=e.length;while(++n-1}))},u=function(e,t){for(var n=0;n>0},W:function(){var e,t=c.z(),r=364+c.L()-t,o=(new Date(n.getFullYear()+"/1/1").getDay()||7)-1;return r<=2&&(n.getDay()||7)-1<=2-r?1:t<=2&&o>=4&&t>=6-o?(e=new Date(n.getFullYear()-1+"/12/31"),date("W",Math.round(e.getTime()/1e3))):1+(o<=3?(t+o)/7:(t-(7-o))/7)>>0},F:function(){return i[c.n()]},m:function(){return r(c.n(),2)},M:function(){return c.F().substr(0,3)},n:function(){return n.getMonth()+1},t:function(){var e;return 2===(e=n.getMonth()+1)?28+c.L():1&e&&e<8||!(1&e)&&e>7?31:30},L:function(){var e=c.Y();return 3&e||!(e%100)&&e%400?0:1},Y:function(){return n.getFullYear()},y:function(){return(n.getFullYear()+"").slice(2)},a:function(){return n.getHours()>11?"pm":"am"},A:function(){return c.a().toUpperCase()},B:function(){var e=60*(n.getTimezoneOffset()+60),t=3600*n.getHours()+60*n.getMinutes()+n.getSeconds()+e,r=Math.floor(t/86.4);return r>1e3&&(r-=1e3),r<0&&(r+=1e3),1===String(r).length&&(r="00"+r),2===String(r).length&&(r="0"+r),r},g:function(){return n.getHours()%12||12},G:function(){return n.getHours()},h:function(){return r(c.g(),2)},H:function(){return r(n.getHours(),2)},i:function(){return r(n.getMinutes(),2)},s:function(){return r(n.getSeconds(),2)},O:function(){var e=r(Math.abs(n.getTimezoneOffset()/60*100),4);return e=n.getTimezoneOffset()>0?"-"+e:"+"+e,e},P:function(){var e=c.O();return e.substr(0,3)+":"+e.substr(3,2)},c:function(){return c.Y()+"-"+c.m()+"-"+c.d()+"T"+c.h()+":"+c.i()+":"+c.s()+c.P()},U:function(){return Math.round(n.getTime()/1e3)}},u=/[\\]?([a-zA-Z])/g;return e.replace(u,(function(e,t){var n="";return n=e!==t?t:c[t]?c[t]():t,n}))},l=function(){return document.addEventListener?function(e,t,n){e&&t&&n&&e.addEventListener(t,n,!1)}:function(e,t,n){e&&t&&n&&e.attachEvent("on"+t,n)}}(),d=function(){return document.removeEventListener?function(e,t,n){e&&t&&e.removeEventListener(t,n,!1)}:function(e,t,n){e&&t&&e.detachEvent("on"+t,n)}}(),f=function(e,t){var n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&(0===n.length&&0===r.length||!n.some((function(n){return e[n]!=t[n]})))}},"98f5":function(e,t,n){e.exports=n.p+"img/default-img.d0f4064f.jpg"},a18c:function(e,t,n){"use strict";n.d(t,"b",(function(){return m}));n("7f7f");var r=n("8bbf"),o=n.n(r),a=n("8c4f"),i=n("ddb9"),c=n("4360"),u=n("f825"),s=n.n(u),l=n("c276"),d=n("90de");o.a.use(a["a"]);var f=function(){return new a["a"]({routes:i["a"]})},h=f();function m(){var e=f();h.matcher=e.matcher}h.beforeEach((function(e,t,n){s.a.LoadingBar.start();var r=Object(l["i"])();-1===e.name.indexOf("wiki_")?r||"login"===e.name?r||"login"!==e.name?r&&"login"===e.name?n({name:"home"}):c["a"].dispatch("getUserInfo").then((function(t){e.meta&&e.meta.access?Object(d["i"])(e.meta.access,t.access)?n():n({replace:!0,name:"error_401"}):n()})).catch((function(){Object(l["q"])(""),n({name:"login"})})):n():n({name:"login"}):r||"wiki_login"===e.name?(r||"wiki_login"!==e.name)&&r&&"wiki_login"===e.name?n({name:"wiki_list"}):n():n({name:"wiki_login"})})),h.afterEach((function(e){Object(l["p"])(e,h.app),s.a.LoadingBar.finish(),window.scrollTo(0,0)})),t["a"]=h},aab5:function(e,t,n){},c24f:function(e,t,n){"use strict";n.d(t,"h",(function(){return o})),n.d(t,"g",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"i",(function(){return c})),n.d(t,"e",(function(){return u})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"c",(function(){return f})),n.d(t,"j",(function(){return h}));var r=n("66df"),o=function(e){var t=e.username,n=e.password,o={username:t,password:n};return r["b"].request({url:"Login/index",data:o,method:"post"})},a=function(e){return r["b"].request({url:"User/getUsers",method:"get",params:e})},i=function(){return r["b"].request({url:"Login/getUserInfo",method:"get"})},c=function(){return r["b"].request({url:"Login/logout",method:"get"})},u=function(e){return r["b"].request({url:"User/index",method:"get",params:e})},s=function(e,t){return r["b"].request({url:"User/changeStatus",method:"get",params:{status:e,id:t}})},l=function(e){return r["b"].request({url:"User/add",method:"post",data:e})},d=function(e){return r["b"].request({url:"User/edit",method:"post",data:e})},f=function(e){return r["b"].request({url:"User/del",method:"get",params:{id:e}})},h=function(e){return r["b"].request({url:"User/own",method:"post",data:e})}},c276:function(e,t,n){"use strict";n.d(t,"q",(function(){return f})),n.d(t,"i",(function(){return h})),n.d(t,"d",(function(){return g})),n.d(t,"b",(function(){return b})),n.d(t,"g",(function(){return v})),n.d(t,"r",(function(){return y})),n.d(t,"o",(function(){return w})),n.d(t,"h",(function(){return k})),n.d(t,"c",(function(){return O})),n.d(t,"e",(function(){return _})),n.d(t,"f",(function(){return j})),n.d(t,"a",(function(){return S})),n.d(t,"l",(function(){return C})),n.d(t,"m",(function(){return N})),n.d(t,"k",(function(){return T})),n.d(t,"j",(function(){return I})),n.d(t,"n",(function(){return x})),n.d(t,"p",(function(){return A}));n("8e6e"),n("456d"),n("ac6a"),n("28a5"),n("20d6"),n("a481"),n("6762"),n("2fdb");var r=n("2909"),o=n("ade3"),a=(n("7f7f"),n("f121")),i=n("90de");function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t=0||i.push({name:n,path:o,meta:a}),i},j=function(e,t){var n={};if(2===e.length)n=O(e);else{var r=e.findIndex((function(e){return C(e,t)}));n=r===e.length-1?e[e.length-2]:e[r+1]}return n},L=function(e,t){var n=-1;while(++n1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500,o=arguments.length>4?arguments[4]:void 0;window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var a=Math.abs(t-n),i=Math.ceil(a/r*50),c=function t(n,r,a){if(n!==r){var i=n+a>r?r:n+a;n>r&&(i=n-a1?t("collapsed-menu",{key:"drop-menu-".concat(n.name),attrs:{"hide-title":"","root-icon-size":e.rootIconSize,"icon-size":e.iconSize,theme:e.theme,"parent-item":n},on:{"on-click":e.handleSelect}}):t("Tooltip",{key:"drop-menu-".concat(n.name),attrs:{transfer:"",content:e.showTitle(n.children&&n.children[0]?n.children[0]:n),placement:"right"}},[t("a",{staticClass:"drop-menu-a",style:{textAlign:"center"},on:{click:function(t){e.handleSelect(e.getNameOrHref(n,!0))}}},[t("common-icon",{attrs:{size:e.rootIconSize,color:e.textColor,type:n.icon||n.children&&n.children[0].icon}})],1)])]}))],2)],2)},u=[],s=(n("c5f6"),function(){var e=this,t=e._self._c;return t("Submenu",{attrs:{name:"".concat(e.parentName)}},[t("template",{slot:"title"},[t("common-icon",{attrs:{type:e.parentItem.icon||""}}),t("span",[e._v(e._s(e.showTitle(e.parentItem)))])],1),e._l(e.children,(function(n){return[n.children&&1===n.children.length?[e.showChildren(n)?t("side-menu-item",{key:"menu-".concat(n.name),attrs:{"parent-item":n}}):t("menu-item",{key:"menu-".concat(n.children[0].name),attrs:{name:e.getNameOrHref(n,!0)}},[t("common-icon",{attrs:{type:n.children[0].icon||""}}),t("span",[e._v(e._s(e.showTitle(n.children[0])))])],1)]:[e.showChildren(n)?t("side-menu-item",{key:"menu-".concat(n.name),attrs:{"parent-item":n}}):t("menu-item",{key:"menu-".concat(n.name),attrs:{name:e.getNameOrHref(n)}},[t("common-icon",{attrs:{type:n.icon||""}}),t("span",[e._v(e._s(e.showTitle(n)))])],1)]]}))],2)}),l=[],d=n("cb21"),f=n("c276"),h={components:{CommonIcon:d["a"]},methods:{showTitle:function(e){return Object(f["r"])(e,this)},showChildren:function(e){return e.children&&(e.children.length>1||e.meta&&e.meta.showAlways)},getNameOrHref:function(e,t){return e.href?"isTurnByHref_".concat(e.href):t?e.children[0].name:e.name}}},m={props:{parentItem:{type:Object,default:function(){}},theme:String,iconSize:Number},computed:{parentName:function(){return this.parentItem.name},children:function(){return this.parentItem.children},textColor:function(){return"dark"===this.theme?"#fff":"#495060"}}},p={name:"SideMenuItem",mixins:[h,m]},g=p,b=n("2877"),v=Object(b["a"])(g,s,l,!1,null,null,null),y=v.exports,w=function(){var e=this,t=e._self._c;return t("Dropdown",{ref:"dropdown",class:e.hideTitle?"":"collased-menu-dropdown",attrs:{transfer:e.hideTitle,placement:e.placement},on:{"on-click":e.handleClick}},[t("a",{staticClass:"drop-menu-a",style:{textAlign:e.hideTitle?"":"left"},attrs:{type:"text"},on:{mouseover:function(t){return e.handleMousemove(t,e.children)}}},[t("common-icon",{attrs:{size:e.rootIconSize,color:e.textColor,type:e.parentItem.icon}}),e.hideTitle?e._e():t("span",{staticClass:"menu-title"},[e._v(e._s(e.showTitle(e.parentItem)))]),e.hideTitle?e._e():t("Icon",{staticStyle:{float:"right"},attrs:{type:"ios-arrow-forward",size:16}})],1),t("DropdownMenu",{ref:"dropdown",attrs:{slot:"list"},slot:"list"},[e._l(e.children,(function(n){return[e.showChildren(n)?t("collapsed-menu",{key:"drop-".concat(n.name),attrs:{"icon-size":e.iconSize,"parent-item":n}}):t("DropdownItem",{key:"drop-".concat(n.name),attrs:{name:n.name}},[t("common-icon",{attrs:{size:e.iconSize,type:n.icon}}),t("span",{staticClass:"menu-title"},[e._v(e._s(e.showTitle(n)))])],1)]}))],2)],1)},k=[],O={name:"CollapsedMenu",mixins:[h,m],props:{hideTitle:{type:Boolean,default:!1},rootIconSize:{type:Number,default:16}},data:function(){return{placement:"right-end"}},methods:{handleClick:function(e){this.$emit("on-click",e)},handleMousemove:function(e,t){var n=e.pageY,r=38*t.length,o=n+r0?this.tagBodyLeft=Math.min(0,this.tagBodyLeft+e):t-this.tagBodyLeft&&e.offsetLeft+e.offsetWidth<-this.tagBodyLeft+t?this.tagBodyLeft=Math.min(0,t-e.offsetWidth-e.offsetLeft-this.outerPadding):this.tagBodyLeft=-(e.offsetLeft-(t-this.outerPadding-e.offsetWidth))},getTagElementByRoute:function(e){var t=this;this.$nextTick((function(){t.refsTag=t.$refs.tagsPageOpened,t.refsTag.forEach((function(n,r){if(Object(f["l"])(e,n.$attrs["data-route-item"])){var o=t.refsTag[r].$el;t.moveToView(o)}}))}))},contextMenu:function(e,t){if("home"!==e.name){this.visible=!0;var n=this.$el.getBoundingClientRect().left;this.contextMenuLeft=t.clientX-n+10,this.contextMenuTop=t.clientY-64}},closeMenu:function(){this.visible=!1}},watch:{$route:function(e){this.getTagElementByRoute(e)},visible:function(e){e?document.body.addEventListener("click",this.closeMenu):document.body.removeEventListener("click",this.closeMenu)}},mounted:function(){var e=this;setTimeout((function(){e.getTagElementByRoute(e.$route)}),200)}},ae=oe,ie=(n("62b6"),Object(b["a"])(ae,K,ee,!1,null,null,null)),ce=ie.exports,ue=ce,se=function(){var e=this,t=e._self._c;return t("div",{staticClass:"user-avator-dropdown"},[t("Dropdown",{on:{"on-click":e.handleClick}},[t("Badge",[t("Avatar",{attrs:{src:e.userAvator}})],1),t("Icon",{attrs:{size:18,type:"md-arrow-dropdown"}}),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[t("DropdownItem",{attrs:{name:"user_center"}},[e._v("个人中心")]),t("DropdownItem",{attrs:{name:"logout"}},[e._v("退出登录")])],1)],1)],1)},le=[],de=(n("3daa"),n("2f62"));function fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function he(e){for(var t=1;t-1?window.open(n.split("_")[1]):this.$router.push({name:n,params:r,query:o})},handleCollapsedChange:function(e){this.collapsed=e},handleCloseTag:function(e,t,n){"others"!==t&&("all"===t?this.turnToPage("home"):Object(f["l"])(this.$route,n)&&this.closeTag(n)),this.setTagNavList(e)},handleClick:function(e){this.turnToPage(e)}}),watch:{$route:function(e){var t=e.name,n=e.query,r=e.params,o=e.meta;this.addTag({route:{name:t,query:n,params:r,meta:o},type:"push"}),this.setBreadCrumb(e),this.setTagNavList(Object(f["e"])(this.tagNavList,e)),this.$refs.sideMenu.updateOpenName(e.name)}},mounted:function(){var e=this;this.setTagNavList(),this.setHomeRoute(Be["a"]);var t=this.$route,n=t.name,r=t.params,o=t.query,a=t.meta;this.addTag({route:{name:n,params:r,query:o,meta:a}}),this.setBreadCrumb(this.$route),this.setLocal(this.$i18n.locale),this.tagNavList.find((function(t){return t.name===e.$route.name}))||this.$router.push({name:"home"})}},He=Ue,We=Object(b["a"])(He,r,o,!1,null,null,null),Ge=We.exports;t["a"]=Ge},fde4:function(e,t,n){"use strict";n("aab5")}});