(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7214d428"],{"1b3b":function(t,e,i){"use strict";i.r(e);var r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("el-tabs",{on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[i("el-tab-pane",{attrs:{label:"权限服务",name:"first"}},[i("i-frame",{ref:"authorityDruid",attrs:{src:t.authorityDruid},on:{refresh:t.authorityRefresh}})],1),i("el-tab-pane",{attrs:{label:"文件服务",name:"second"}},[i("i-frame",{ref:"fileDruid",attrs:{src:t.fileDruid},on:{refresh:t.fileRefresh}})],1),i("el-tab-pane",{attrs:{label:"消息服务",name:"third"}},[i("i-frame",{ref:"msgsDruid",attrs:{src:t.msgsDruid},on:{refresh:t.msgsRefresh}})],1)],1)},n=[],s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],style:"height:"+t.height},[i("div",{staticClass:"app-container",staticStyle:{width:"100%",height:"100%"}},[i("el-row",{staticStyle:{margin:"5px 0"}},[i("el-input",{staticStyle:{width:"50%"},attrs:{placeholder:t.$t("common.pleaseInputUrl")},model:{value:t.url,callback:function(e){t.url=e},expression:"url"}}),t._v(" "),i("el-button",{attrs:{type:"success",plain:""},on:{click:t.refresh}},[t._v(t._s(t.$t("table.refresh")))]),i("el-button",{attrs:{type:"info",plain:""},on:{click:t.openInNewPage}},[t._v(t._s(t.$t("table.openInNewPage")))])],1),i("iframe",{staticStyle:{width:"100%",height:"91%"},attrs:{src:t.src,frameborder:"no",scrolling:"auto"}})],1)])},a=[],l={props:{src:{type:String,required:!0}},data:function(){return{height:document.documentElement.clientHeight-87.7+"px",loading:!0,url:this.src}},mounted:function(){var t=this;setTimeout((function(){t.loading=!1}),500),window.onresize=function(){t.height=document.documentElement.clientHeight-87.7+"px"}},methods:{refresh:function(){this.$emit("refresh",this.url)},openInNewPage:function(){window.open(this.url,"_blank")}}},o=l,u=(i("ff99"),i("2877")),c=Object(u["a"])(o,s,a,!1,null,"2a7ebac5",null),d=c.exports,h=i("83d6"),f={components:{iFrame:d},data:function(){return{authorityDruid:"",fileDruid:"",msgsDruid:"",activeName:"first"}},computed:{},mounted:function(){var t=this;setTimeout((function(){t.$notify.info({title:t.$t("common.tips"),message:t.$t("tips.iframeGrant"),duration:5e3})}),1e3),this.authorityDruid=this.druidUrl("authority"),this.$refs.authorityDruid.url=this.authorityDruid,this.fileDruid=this.druidUrl("file"),this.$refs.fileDruid.url=this.fileDruid,this.msgsDruid=this.druidUrl("msgs"),this.$refs.msgsDruid.url=this.msgsDruid},methods:{authorityRefresh:function(t){this.authorityDruid=t},fileRefresh:function(t){this.fileDruid=t},msgsRefresh:function(t){this.msgsDruid=t},handleClick:function(t,e){console.log(t,e)},druidUrl:function(t){return h["druid"][t]?h["druid"][t]["production"]:t}}},m=f,p=Object(u["a"])(m,r,n,!1,null,null,null);e["default"]=p.exports},"78df":function(t,e,i){},"83d6":function(t,e){t.exports={title:"cereshop",springBootAdminUrl:"",swaggerUrl:"",zipkinUrl:"",kibanaUrl:"",socialLoginUrl:""}},ff99:function(t,e,i){"use strict";var r=i("78df"),n=i.n(r);n.a}}]);