NEZ-1849 feat :alert message列表页面 增加 acknowledge 状态及按钮

This commit is contained in:
likexuan
2022-05-07 19:01:42 +08:00
parent 616d24c724
commit dd5ffafe82
2 changed files with 15 additions and 3 deletions

View File

@@ -90,7 +90,7 @@
{{$t(stateOptions.find(state=>state.value == scope.row['state']).label)}}
</span>
</span>
<span v-else-if="item.prop === 'id'"><i :style="{'font-size':'12px','margin-right':'5px'}" class="nz-icon nz-icon-circle" :class="scope.row.ack == 1 ? 'blues' : 'gray'"></i>{{scope.row[item.prop]}}</span>
<span v-else-if="item.prop === 'id'" class="id-alert"><span :style="{'font-size':'12px','margin-right':'5px'}" class="id-alertMessage" :class="{'gray-bg': scope.row.ack == 0, 'blue-bg': scope.row.ack == 1}"></span>{{scope.row[item.prop]}}</span>
<span v-else-if="scope.row[item.prop]">{{scope.row[item.prop]}}</span>
<template v-else>-</template>
</template>