+
- {{ $t('licenseMange.notLicensed') }}
+ {{$t('licenseMange.notLicensed')}}
-
@@ -194,7 +197,7 @@ export default {
}, {
label: this.$t('licenseMange.licenseStatus'),
prop: 'status',
- minWidth: 200,
+ minWidth: 150,
show: true
}, {
label: this.$t('licenseMange.concurrency'),
diff --git a/nezha-fronted/src/components/page/asset/asset.vue b/nezha-fronted/src/components/page/asset/asset.vue
index 80dda68c8..b8d59862d 100644
--- a/nezha-fronted/src/components/page/asset/asset.vue
+++ b/nezha-fronted/src/components/page/asset/asset.vue
@@ -336,6 +336,12 @@ export default {
type: 'input',
label: 'comment',
disabled: false
+ }, {
+ name: this.$t('licenseMange.licenseStatus'),
+ type: 'select',
+ label: 'licenseStatus',
+ readonly: true,
+ disabled: false
}]
},
@@ -997,6 +1003,22 @@ export default {
},
jsonKey: 'val'
},
+ licenseStatus: {
+ target: this.searchLabel,
+ isSearchInput: true,
+ propertyName: 'licenseStatus',
+ type: 'string',
+ defaultJson: {
+ disabled: false,
+ label: 'licenseStatus',
+ name: 'licenseStatus',
+ readonly: true,
+ type: 'select',
+ val: '',
+ listStr: 'licenseStatus'
+ },
+ jsonKey: 'valnum'
+ },
dcIds: { target: this.searchCheckBox, propertyName: 'dcIds', type: 'string', target2: this.selectValue, type2: 'array' },
typeIds: { target: this.searchCheckBox, propertyName: 'typeIds', type: 'string', target2: this.selectValue, type2: 'array' },
ping: { target: this.searchCheckBox, propertyName: 'ping', type: 'string', target2: this.selectValue, type2: 'array' },