NEZ-3351 feat:asset 列表页面增加 license status 列和查询条件
This commit is contained in:
@@ -67,16 +67,19 @@
|
||||
<span v-else>--</span>
|
||||
</div>
|
||||
</template>
|
||||
<span v-else-if="item.prop === 'dateIssued' || item.prop === 'dateExpires'">{{ scope.row[item.prop] ? momentTz(scope.row[item.prop] ) : '-'}}</span>
|
||||
<span v-else-if="item.prop === 'dateIssued' || item.prop === 'dateExpires'">
|
||||
<span v-if="scope.row[item.prop] == -1">{{$t('license.permanent')}}</span>
|
||||
<span v-else>{{ scope.row[item.prop] ? momentTz(scope.row[item.prop] ) : '-'}}</span>
|
||||
</span>
|
||||
<!-- status -->
|
||||
<template v-else-if="item.prop === 'status'">
|
||||
<div v-if="scope.row.status == 1">
|
||||
<i class="nz-icon nz-icon-import-success1" style="color:#8dcb4b;"></i>
|
||||
<span>{{$t('licenseMange.licensed')}}</span>
|
||||
</div>
|
||||
<div v-else-if="scope.row.status == 2">
|
||||
<div v-else-if="scope.row.status == 0">
|
||||
<i class="nz-icon nz-icon-stop" style="color:#bebebe;"></i>
|
||||
<span>{{ $t('licenseMange.notLicensed') }}</span>
|
||||
<span>{{$t('licenseMange.notLicensed')}}</span>
|
||||
</div>
|
||||
<div v-else>-</div>
|
||||
</template>
|
||||
@@ -194,7 +197,7 @@ export default {
|
||||
}, {
|
||||
label: this.$t('licenseMange.licenseStatus'),
|
||||
prop: 'status',
|
||||
minWidth: 200,
|
||||
minWidth: 150,
|
||||
show: true
|
||||
}, {
|
||||
label: this.$t('licenseMange.concurrency'),
|
||||
|
||||
Reference in New Issue
Block a user