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