refactor(系统设置): 更新license信息字段
This commit is contained in:
parent
9a27ac79d5
commit
bf45160521
|
@ -509,6 +509,8 @@ const message = {
|
|||
invalid: 'invalid',
|
||||
count_warning: 'The number of system users has exceeded the license limit. Please contact the staff as soon as possible.',
|
||||
expired: 'expired',
|
||||
serial_num: 'serial number',
|
||||
remark: 'remark',
|
||||
},
|
||||
workstation: {
|
||||
sync: 'Synchronize',
|
||||
|
|
|
@ -513,6 +513,8 @@ const message = {
|
|||
invalid: '无效',
|
||||
count_warning: '系统用户数已超过license限制数量,请尽快联系工作人员。',
|
||||
expired: '已过期',
|
||||
serial_num: '序列号',
|
||||
remark: '备注',
|
||||
},
|
||||
workstation: {
|
||||
sync: '同步',
|
||||
|
|
|
@ -512,6 +512,8 @@ const message = {
|
|||
invalid: '無效',
|
||||
count_warning: '系統用戶數已超過license限制數量,請盡快聯繫工作人員。',
|
||||
expired: '已過期',
|
||||
serial_num: '序列號',
|
||||
remark: '備註',
|
||||
},
|
||||
workstation: {
|
||||
sync: '同步',
|
||||
|
|
|
@ -30,4 +30,12 @@ public class LicenseInfoDTO implements Serializable {
|
|||
* 授权数量
|
||||
*/
|
||||
private int count;
|
||||
/**
|
||||
* 序列号
|
||||
*/
|
||||
private String serialNo;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
}
|
||||
|
|
|
@ -37,6 +37,14 @@
|
|||
<th>{{ $t('license.count') }}</th>
|
||||
<td>{{ license.count }}</td>
|
||||
</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>
|
||||
<th>{{ $t('license.status') }}</th>
|
||||
<td>
|
||||
|
@ -108,6 +116,8 @@ export default {
|
|||
this.license.licenseVersion = value.license.licenseVersion;
|
||||
this.license.licenseCount = value.license.licenseCount;
|
||||
this.license.status = value.status;
|
||||
this.license.serialNo = value.license.serialNo;
|
||||
this.license.remark = value.license.remark;
|
||||
saveLicense(value.status);
|
||||
if (hasLicense()) {
|
||||
getModuleList()
|
||||
|
|
Loading…
Reference in New Issue