webpackJsonp([14],{EpjD:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t("P9l9"),c={name:"entrance",data:function(){return{requestProject:"gic-authcenter",entranceList:[]}},mounted:function(){this.getUserInfo()},methods:{getUserInfo:function(){var e=this,n={requestProject:this.requestProject};Object(r.b)("/gic-authcenter/loginuser",n).then(function(n){var r=n.data;if(0==r.errorCode){e.entranceList=[];var c=[];(r.result.menuTree?r.result.menuTree:[]).forEach(function(e){1==e.isShow&&(""!=e.iconUrl?e.iconUrlNew=t("gbs+")("./"+e.iconUrl+".png"):e.iconUrlNew=t("Ajpb"),c.push(e))});for(var i=0;i<c.length;i+=4)e.entranceList.push(c.slice(i,i+4))}else e.$message.error(r.message)}).catch(function(e){console.log(e)})},entranceDic:function(e){var n=e.nodeChildren[0].nodeChildren?e.nodeChildren[0].nodeChildren[0].uri:e.nodeChildren[0].uri;this.$router.push({path:n,query:{code:e.code,name:e.menuName,icon:e.iconUrl}})}}},i={render:function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"my-index"},[t("h2",[e._v("运维平台快捷入口")]),e._v(" "),t("div",{staticClass:"entrance-wrap"},e._l(e.entranceList,function(n,r){return t("ul",{key:r,staticClass:"clearfix"},e._l(n,function(n){return t("li",{key:n.id,staticClass:"fl",on:{click:function(t){return e.entranceDic(n)}}},[t("div",{staticClass:"img"},[t("img",{attrs:{src:n.iconUrlNew,alt:"图片"}})]),e._v(" "),t("p",[e._v(e._s(n.menuName))])])}),0)}),0)])},staticRenderFns:[]};var s=t("VU/8")(c,i,!1,function(e){t("Gc4l")},"data-v-5f250a98",null);n.default=s.exports},Gc4l:function(e,n){}});
//# sourceMappingURL=14.a4291429e5d860792093.1557996053771.js.map