refactor(系统设置): 调整license信息字段位置

This commit is contained in:
shiziyuan9527 2023-01-03 14:08:56 +08:00 committed by 刘瑞斌
parent 0ef3306614
commit c97ef5cda3
1 changed files with 8 additions and 9 deletions

View File

@ -8,6 +8,10 @@
<div class="license-content"> <div class="license-content">
<div v-if="license.status !== 'Fail'"> <div v-if="license.status !== 'Fail'">
<table> <table>
<tr v-if="license.serialNo">
<th>{{ $t('license.serial_num') }}</th>
<td>{{ license.serialNo }}</td>
</tr>
<tr> <tr>
<th>{{ $t('license.corporation') }}</th> <th>{{ $t('license.corporation') }}</th>
<td>{{ license.corporation }}</td> <td>{{ license.corporation }}</td>
@ -37,14 +41,6 @@
<th>{{ $t('license.count') }}</th> <th>{{ $t('license.count') }}</th>
<td>{{ license.count }}</td> <td>{{ license.count }}</td>
</tr> </tr>
<tr v-if="license.serialNo">
<th>{{ $t('license.serial_num') }}</th>
<td>{{ license.serialNo }}</td>
</tr>
<tr v-if="license.remark">
<th>{{ $t('license.remark') }}</th>
<td>{{ license.remark }}</td>
</tr>
<tr> <tr>
<th>{{ $t('license.status') }}</th> <th>{{ $t('license.status') }}</th>
<td> <td>
@ -57,6 +53,10 @@
<label class="ms-license-label" v-else>{{ $t('license.invalid') }}</label> <label class="ms-license-label" v-else>{{ $t('license.invalid') }}</label>
</td> </td>
</tr> </tr>
<tr v-if="license.remark">
<th>{{ $t('license.remark') }}</th>
<td>{{ license.remark }}</td>
</tr>
</table> </table>
</div> </div>
<el-link type="primary" class="license-update" @click="create()" :disabled="disabled"> <el-link type="primary" class="license-update" @click="create()" :disabled="disabled">
@ -148,7 +148,6 @@ export default {
.license-container { .license-container {
margin: auto; margin: auto;
height: 400px;
position: relative; position: relative;
} }