| | |
| | | > |
| | | </div> |
| | | |
| | | <el-dialog title="激活SmartAI" :visible.sync="dialogVisible" width="40%"> |
| | | <el-dialog title="激活SmartAI" :visible.sync="dialogVisible" width="750px" :show-close="false" :close-on-click-modal="false" :close-on-press-escape="false"> |
| | | <div class="ver"><span class="ver-text">版本:</span>{{ version }}</div> |
| | | <div class="ver"> |
| | | <span class="ver-text">状态:</span>{{ versionState }} |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | showFreeVersion: true, |
| | | showFreeVersion: false, |
| | | dialogVisible: false, |
| | | version: "SmartAI试用版", |
| | | versionState: "尚未激活", |
| | | secrectKey: "", |
| | | input2: "", |
| | | input4: "", |
| | | input3: "", |
| | | input5: "", |
| | | }; |
| | | }, |
| | | mounted() { |
| | | getSN().then((res) => { |
| | | this.showFreeVersion = res.data.sn == ""; |
| | | this.showFreeVersion = res.data.sn !== ""; |
| | | }); |
| | | }, |
| | | methods: { |
| | |
| | | window.parent.postMessage({ msg: `toVindicate?menu=系统信息` }, "*"); |
| | | }, |
| | | gotoActive() { |
| | | this.showFreeVersion = false; |
| | | // this.showFreeVersion = false; |
| | | this.dialogVisible = true; |
| | | }, |
| | | uploadKey(params) { |
| | |
| | | } |
| | | } |
| | | .warn-tag { |
| | | width: 35%; |
| | | width: 640px; |
| | | text-align: left; |
| | | box-sizing: border-box; |
| | | padding: 0 25px; |
| | |
| | | display: flex; |
| | | justify-content: space-between; |
| | | top: 55px; |
| | | left: calc(50% - 17.5%); |
| | | left: calc(50% - 320px); |
| | | line-height: 45px; |
| | | border-radius: 5px; |
| | | .go-to { |