(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-146adb58"],{"0b56":function(t,e,n){"use strict";n("59ce")},"2b4b":function(t,e,n){"use strict";var a={name:"",props:{dataType:{type:Number,default:1}},data:function(){return{activeTab:this.$route.path}},computed:{tabList:function(){return[{label:"一号通管理",name:"/admin/setting/sms/sms_config/index"},{label:"一号通配置",name:"/admin/setting/system_config_sms"}]}},methods:{onClickTab:function(t){t!=this.$route.path&&this.$router.push(t)}}},s=(n("0b56"),n("2877")),i=Object(s.a)(a,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"flex-y-center mb-16 mt--14px"},t._l(t.tabList,(function(n,a){return e("div",{key:a,staticClass:"page-tab-item",class:{"active-tab":n.name==t.activeTab},on:{click:function(e){return t.onClickTab(n.name)}}},[t._v(t._s(n.label))])})),0)])}),[],!1,null,"5bf9919a",null);e.a=i.exports},"59ce":function(t,e,n){},ecf7:function(t,e,n){"use strict";n.r(e);var a=n("b6bd"),s={name:"smsConfig",components:{navTab:n("2b4b").a},created:function(){window.addEventListener("message",this.handleConfig)},beforeDestroy:function(){window.removeEventListener("message",this.handleConfig)},methods:{handleConfig:function(t){var e=!1;t.data.accessKey&&t.data.secretKey&&!1===e&&(e=!0,Object(a.a)({url:"notify/sms/config",method:"POST",data:{sms_account:t.data.accessKey,sms_token:t.data.secretKey}}).then((function(t){})))}}},i=n("2877"),c=Object(i.a)(s,(function(){var t=this._self._c;return t("div",[t("keep-alive",[t("navTab")],1),t("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[t("iframe",{staticStyle:{width:"100%",height:"calc(100vh - 200px)"},attrs:{src:"https://api.crmeb.com?token=AF37D4579721672220B08CA872586943",frameborder:"0"}})])],1)}),[],!1,null,null,null);e.default=c.exports}}]);