You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong/public/admin/js/cloud.e7212c27.js

1 lines
3.0 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["cloud"],{2217:function(a,t,s){},a1b9:function(a,t,s){"use strict";s("2217")},da27:function(a,t,s){"use strict";s.r(t);s("b0c0");var i=function(){var a=this,t=a._self._c;return t("a-card",{attrs:{bordered:!1}},[t("content-header",{attrs:{title:"授权信息"}}),t("a-spin",{attrs:{spinning:a.isLoading}},[a.authorize?t("div",{staticClass:"message"},[t("a-alert",{attrs:{type:a.authorize.authStatus?"success":"error",message:a.authorize.message,banner:""}})],1):a._e(),a.authorize?t("div",{staticClass:"authorize"},[t("p",{staticClass:"info-item"},[t("span",{staticClass:"label"},[a._v("用户名称:")]),t("span",{staticClass:"value"},[a._v(a._s(a.authorize.name))])]),t("p",{staticClass:"info-item"},[t("span",{staticClass:"label"},[a._v("联系方式:")]),t("span",{staticClass:"value"},[a._v(a._s(a.authorize.contact))])]),t("p",{staticClass:"info-item"},[t("span",{staticClass:"label"},[a._v("授权时间:")]),t("span",{staticClass:"value"},[a._v(a._s(a.authorize.authorizeTime))])]),t("p",{staticClass:"info-item"},[t("span",{staticClass:"label"},[a._v("到期时间:")]),t("span",{staticClass:"value"},[a._v(a._s(a.authorize.expirationTime))])]),t("p",{staticClass:"info-item"},[t("span",{staticClass:"label"},[a._v("授权文件:")]),t("span",{staticClass:"value"},[t("a-tag",{attrs:{color:a.authorize.licenseStatus?"":"red"}},[a._v(a._s(a.authorize.licenseStatus?"正常":"异常"))])],1)]),t("a-divider",{attrs:{orientation:"left"}},[a._v("账户信息")]),t("p",{staticClass:"info-item"},[t("span",{staticClass:"label"},[a._v("UserKey:")]),t("span",{staticClass:"value"},[t("a-tag",[a._v(a._s(a.authorize.userKey))])],1)]),t("p",{staticClass:"info-item"},[t("span",{staticClass:"label"},[a._v("注册时间:")]),t("span",{staticClass:"value"},[a._v(a._s(a.authorize.registerTime))])]),t("p",{staticClass:"info-item"},[t("span",{staticClass:"label"},[a._v("账户状态:")]),t("span",{staticClass:"value"},[t("a-tag",{attrs:{color:a.authorize.accountStatus?"":"red"}},[a._v(a._s(a.authorize.accountStatus?"正常":"禁用"))])],1)]),t("p",{staticClass:"info-item"},[t("span",{staticClass:"label"},[a._v("授权域名:")]),t("span",{staticClass:"value"},[a.authorize.accountDomains&&a.authorize.accountDomains.length?t("div",a._l(a.authorize.accountDomains,(function(s,i){return t("a-tag",{key:i},[a._v(a._s(s))])})),1):t("div",[a._v("无")])])])],1):a._e()])],1)},e=[],n=(s("d3b7"),s("f6ae")),o=s("b775");function l(){return Object(o["b"])({url:n["a"].cloud.authorize.info,method:"get"})}var r=s("2af9"),c={components:{ContentHeader:r["a"]},data:function(){return{isLoading:!1,authorize:void 0}},created:function(){var a=this;this.$nextTick((function(){a.getAuthorizeInfo()}))},methods:{getAuthorizeInfo:function(){var a=this;this.isLoading=!0,l().then((function(t){return a.authorize=t.data.authorize})).finally((function(){return a.isLoading=!1}))}}},u=c,v=(s("a1b9"),s("2877")),p=Object(v["a"])(u,i,e,!1,null,"36b20d24",null);t["default"]=p.exports}}]);