🔨 添加 SN.
This commit is contained in:
@@ -41,6 +41,11 @@ import java.util.List;
|
||||
@AllArgsConstructor
|
||||
public class HostSpecExtraModel implements GenericsDataModel {
|
||||
|
||||
/**
|
||||
* sn
|
||||
*/
|
||||
private String sn;
|
||||
|
||||
/**
|
||||
* 系统名称
|
||||
*/
|
||||
|
||||
@@ -33,6 +33,7 @@ export interface HostLabelExtraSettingModel {
|
||||
|
||||
// 标签规格模型
|
||||
export interface HostSpecExtraModel {
|
||||
sn: string;
|
||||
osName: string;
|
||||
cpuCore: number;
|
||||
cpuFrequency: number;
|
||||
|
||||
@@ -2,6 +2,15 @@
|
||||
<a-spin :loading="loading">
|
||||
<!-- 表单 -->
|
||||
<a-descriptions :column="1" bordered>
|
||||
<!-- SN -->
|
||||
<a-descriptions-item label="SN" :span="2">
|
||||
<a-input v-if="editing"
|
||||
v-model="formModel.sn"
|
||||
class="input"
|
||||
size="mini"
|
||||
allow-clear />
|
||||
<span v-else class="text">{{ formModel.sn }}</span>
|
||||
</a-descriptions-item>
|
||||
<!-- 系统名称 -->
|
||||
<a-descriptions-item label="系统名称" :span="2">
|
||||
<a-input v-if="editing"
|
||||
|
||||
Reference in New Issue
Block a user