(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d21ef25"],{d872:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"outmain ba_f"},[e._m(0),a("el-form",{ref:"form",attrs:{model:e.form,"label-width":"180px"}},[a("el-form-item",{attrs:{label:"站点ID"}},[a("div",[e._v(e._s(e.form.id))])]),a("el-form-item",{attrs:{label:"服务类型"}},[a("div",[e._v(e._s(e.form.service_type))])]),a("el-form-item",{attrs:{label:"授权状态"}},[a("div",[a("el-tag",{directives:[{name:"show",rawName:"v-show",value:"1"==e.form.status,expression:"form.status=='1'"}],attrs:{type:"success"}},[e._v("已授权")]),a("el-tag",{directives:[{name:"show",rawName:"v-show",value:"2"==e.form.status,expression:"form.status=='2'"}],attrs:{type:"danger"}},[e._v("未授权")]),a("el-tag",{directives:[{name:"show",rawName:"v-show",value:"3"==e.form.status,expression:"form.status=='3'"}],attrs:{type:"info"}},[e._v("已到期")])],1)]),a("el-form-item",{attrs:{label:"可创建账号数量"}},["2"==e.form.account_type?a("div",[e._v(e._s(e.form.account_number))]):e._e(),"1"==e.form.account_type?a("div",[e._v("无限")]):e._e()]),a("el-form-item",{attrs:{label:"网站URL"}},[a("el-input",{staticClass:"elinputs",attrs:{"auto-complete":"off",placeholder:"网站url",disabled:""},model:{value:e.form.domain_url,callback:function(t){e.$set(e.form,"domain_url",t)},expression:"form.domain_url"}})],1),a("el-form-item",{attrs:{label:"站点IP"}},[a("el-input",{staticClass:"elinputs",attrs:{"auto-complete":"off",placeholder:"站点IP",disabled:""},model:{value:e.form.ip_address,callback:function(t){e.$set(e.form,"ip_address",t)},expression:"form.ip_address"}})],1),a("el-form-item",{attrs:{label:"授权码"}},[a("el-input",{staticClass:"elinputs",attrs:{"auto-complete":"off",placeholder:"授权码",disabled:""},model:{value:e.form.auth_code,callback:function(t){e.$set(e.form,"auth_code",t)},expression:"form.auth_code"}}),a("div",{staticClass:"yb_margin lh16"},[e._v("温馨提示:如授权码失效,请将网站域名以及站点ID提交给客服;请保护好您的授权码,避免泄露")])],1),a("el-form-item",{attrs:{label:"到期时间"}},["2"==e.form.time_type?a("el-input",{staticClass:"elinputs",attrs:{"auto-complete":"off",placeholder:"到期时间",disabled:""},model:{value:e.form.time_end,callback:function(t){e.$set(e.form,"time_end",t)},expression:"form.time_end"}}):e._e(),"1"==e.form.time_type?a("el-input",{staticClass:"elinputs",attrs:{"auto-complete":"off",placeholder:"无限",disabled:""}}):e._e()],1)],1)],1)])},r=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"shuju_title mar_b20"},[a("div",{staticClass:"shuju_title_text"},[a("span",[e._v("授权详情")])])])}],o=(a("96cf"),a("1da1")),i=a("294d"),l={created:function(){this.bus.$emit("loading",!0),this.init()},data:function(){return{form:{account_number:"",account_type:"",service_type:"",auth_code:"",domain_url:"",id:"",ip_address:"",status:"",time_end:"",time_type:""}}},methods:{init:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(i["l"])();case 2:a=t.sent,s=a.data,e.form2=e.form,e.form=Object.assign(e.form2,s),e.bus.$emit("loading",!1);case 7:case"end":return t.stop()}}),t)})))()}}},n=l,m=a("2877"),u=Object(m["a"])(n,s,r,!1,null,null,null);t["default"]=u.exports}}]);