FastBee/docker/data/nginx/vue/static/js/chunk-649363d3.acc76a92.js

1 line
8.1 KiB
JavaScript
Raw Normal View History

2025-07-07 09:21:15 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-649363d3"],{"57a9":function(e,t,s){},b06d0:function(e,t,s){"use strict";s("57a9")},dee6:function(e,t,s){e.exports=s.p+"static/img/logo-no-word-blue.a4ad8541.png"},ff2b:function(e,t,s){e.exports=s.p+"static/img/cover.791b154f.png"},ffd2:function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"license-wrap"},[e._m(0),s("pre",{staticClass:"introduce-text"},[e._v("FastBee物联网平台授权认证")]),e._m(1),s("div",{staticClass:"box-wrap"},[s("div",{staticClass:"form-box"},[e._m(2),e.visible&&!e.isUpload?s("div",{staticClass:"fixed-message",class:e.messageClass},[e._v("提示: "+e._s(e.message))]):e._e(),e.visible&&e.isUpload?s("div",{staticClass:"fixed-message",class:e.messageClass},[e._v("提示: "+e._s(e.installMessage))]):e._e(),e.visible&&e.isUpload?s("div",{staticClass:"fixed-message",staticStyle:{color:"#000","margin-top":"80px","font-size":"14px"}},[e._v("服务器信息: "+e._s(e.serverList))]):e._e(),s("el-form",{ref:"form",attrs:{model:e.form,"label-width":"0px",rules:e.rules}},[e.isUpload?e._e():s("el-row",{staticStyle:{"margin-top":"100px",display:"flex"}},[s("el-form-item",{attrs:{label:"",prop:"fileName"}},[s("el-input",{staticStyle:{width:"250px"},attrs:{placeholder:"请上传.lic文件",disabled:"",readonly:""},model:{value:e.form.fileName,callback:function(t){e.$set(e.form,"fileName",t)},expression:"form.fileName"}})],1),s("el-form-item",{attrs:{label:""}},[s("el-upload",{attrs:{action:e.uploadImgUrl,"on-change":e.handleChange,"on-success":e.handleSuccess,"on-error":e.handleError,"show-file-list":!1,"before-upload":e.handleBeforeUpload,accept:".lic"}},[s("el-button",{staticStyle:{"margin-left":"10px"},attrs:{size:"small",type:"primary",icon:"el-icon-plus"}},[e._v("上传许可文件")])],1)],1)],1)],1),e.isUpload?e._e():s("el-button",{staticStyle:{"margin-top":"20px"},attrs:{size:"small",type:"primary",plain:!0,disabled:e.isShowNextBtn},on:{click:e.nextStep}},[e._v(" 下一步 "),s("i",{staticClass:"el-icon-right"})]),e.isUpload?s("el-form",{ref:"installForm",staticClass:"form-wrap",attrs:{model:e.installForm,"label-width":"0px",rules:e.installRules}},[s("el-form-item",{attrs:{label:"",prop:"type"}},[s("el-select",{staticStyle:{width:"280px"},attrs:{placeholder:"请选择授权类型",clearable:!0},on:{change:e.handleTypeChange},model:{value:e.installForm.type,callback:function(t){e.$set(e.installForm,"type",t)},expression:"installForm.type"}},e._l(e.options,(function(e){return s("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),s("el-form-item",{attrs:{label:"",prop:"subject"}},[s("el-input",{staticStyle:{width:"280px"},attrs:{placeholder:"请输入证书名称"},model:{value:e.installForm.subject,callback:function(t){e.$set(e.installForm,"subject",t)},expression:"installForm.subject"}})],1),2===e.installForm.type?s("el-form-item",{attrs:{label:"",prop:"company"}},[s("el-input",{staticStyle:{width:"280px"},attrs:{placeholder:"请输入公司名称"},model:{value:e.installForm.company,callback:function(t){e.$set(e.installForm,"company",t)},expression:"installForm.company"}})],1):e._e(),s("div",{staticStyle:{display:"flex","justify-content":"space-between"}},[s("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.startInstallation}},[e._v("开始安装")]),s("el-button",{attrs:{size:"small",type:"primary",plain:!0},on:{click:e.returnStep}},[e._v("上一步")])],1)],1):e._e()],1),s("el-dialog",{attrs:{title:"提示",visible:e.dialogVisible,"append-to-body":"",width:"300px"},on:{"update:visible":function(t){e.dialogVisible=t}}},[s("div",[e._v("安装成功,三秒后跳转登录页...")]),s("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{attrs:{type:"primary"},on:{click:e.redirectToLogin}},[e._v("确认")])],1)])],1)])},l=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"logo-wrap"},[i("img",{staticClass:"icon",attrs:{src:s("dee6")}}),i("span",{staticClass:"text"}