(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-63144fe0"],{"4a78":function(t,n,a){"use strict";a.r(n);var e=function(){var t=this,n=t.$createElement,a=t._self._c||n;return a("div",{staticClass:"app-list"},[t._l(t.appList,(function(n,e){return[a("div",{key:e+"cate",staticClass:"m-b-20"},[a("h3",{staticClass:"page-title"},[t._v(t._s(n.applicationCategoryName||"--"))]),a("div",[t._l(n.applications,(function(n){return a("div",{key:n.applicationId,staticClass:"app-item"},[a("el-dropdown",{staticClass:"app-item-menu"},[a("i",{staticClass:"iconfont icongengduo1 menu-icon"}),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{nativeOn:{click:function(a){return t.toAppBack(n)}}},[t._v("进入")]),a("el-dropdown-item",{nativeOn:{click:function(a){return t.toAppDetail(n)}}},[t._v("应用详情")])],1)],1),a("div",{class:["app-logo",{"no-logo":!n.applicationLogo}]},[n.applicationLogo?a("img",{attrs:{src:n.applicationLogo,alt:""}}):t._e()]),a("div",{staticClass:"app-info"},[a("p",{staticClass:"app-name"},[t._v(t._s(n.applicationName))]),(new Date).getTime()-n.overTime>0?a("el-button",{staticClass:"to-buy",attrs:{type:"text"},on:{click:function(a){return t.toBuy(n)}}},[t._v("去订购 "),a("i",{staticClass:"iconfont iconjiantouxiangyou"})]):t._e()],1),(new Date).getTime()-n.overTime>0?a("span",{staticClass:"out-time-tip"},[t._v("已过期")]):t._e()],1)})),a("div",{staticClass:"to-app-center",on:{click:t.toAppCenter}},[t._v("\n          前往服务市场 "),a("i",{staticClass:"iconfont iconjiantouxiangyou"})])],2)])]}))],2)},o=[],i=a("8e83"),c=a("5937"),p=a("5b4e"),s=i["a"].getAppList,r=c["a"].getRoleMenu,u={name:"AppList",data:function(){return{appList:[]}},created:function(){this.getAppList(),this.$emit("showTab","/app-list")},methods:{getAppList:function(){var t=this;s().then((function(n){t.appList=n.result||[]}))},toAppBack:function(t){var n=this;if(!t.authType)return window.open("/haoban-4/#/app-auth?appId=".concat(t.appId),"_blank","noopener"),!1;var a={menuId:t.menuId,appType:2};r(a).then((function(a){if(!a.result||!a.result.length)return p["a"].showmsg("该应用您无权限操作，请联系超级管理员！","warning"),!1;n.$router.push("/apps?applicationId=".concat(t.menuId))})).catch((function(t){}))},toAppDetail:function(t){var n=t||{},a=n.appId,e=n.applicationId,o=n.menuId,i=n.authType;if(!i)return window.open("/haoban-4/#/app-auth?appId=".concat(a),"_blank","noopener"),!1;this.$router.push("/app-detail?applicationId=".concat(e,"&appId=").concat(a,"&menuId=").concat(o))},toBuy:function(t){var n=t||{},a=n.applicationId;window.open("/market/hb/product/server/".concat(a),"_blank","noopener")},toAppCenter:function(){window.open("/market/hb/product/allList","_blank","noopener")}}},l=u,d=(a("fde2"),a("2877")),f=Object(d["a"])(l,e,o,!1,null,"74699bd8",null);n["default"]=f.exports},5937:function(t,n,a){"use strict";var e=a("71f6"),o={getRoleMenu:"/list-staff-role-menu"};o=Object(e["a"])(o,"/hb-manage-web"),n["a"]=o},"5a5a":function(t,n,a){},"5b4e":function(t,n,a){"use strict";var e=a("5c96");n["a"]={showmsg:function(t,n){Object(e["Message"])({duration:1e3,message:t||"接口异常",type:n})}}},"71f6":function(t,n,a){"use strict";a.d(n,"a",(function(){return o}));a("ac6a"),a("456d");var e=a("b775");function o(t,n){t=t||{};var a=Object.keys(t);return a.forEach((function(a){var o=t[a];"string"===typeof o&&(o={url:o}),o.url="".concat(n).concat(o.url),t[a]=function(t,n){return Object(e["a"])(o,t,n)}})),t}},"8e83":function(t,n,a){"use strict";var e=a("71f6"),o={getAppList:"/app-category-list",getAppDetail:"/application-detail",getMarketAccount:"/get-account-info",refreshMarketAccount:"/refesh-account-info",addMarketAccount:{url:"/bind-service-account",method:"post",useFormData:!0,useIntercept:!1},postPhoneCode:{url:"/send-code",method:"post",useFormData:!0,useIntercept:!1},checkCode:{url:"/validate-code",method:"post",useFormData:!0,useIntercept:!1}};n["a"]=Object(e["a"])(o,"/hb-manage-web")},fde2:function(t,n,a){"use strict";var e=a("5a5a"),o=a.n(e);o.a}}]);