feat:添加时间轴

This commit is contained in:
zhangyu
2022-03-31 19:07:46 +08:00
parent f42e4b90bf
commit 67b74fef67
10 changed files with 198 additions and 21 deletions

View File

@@ -86,7 +86,7 @@
</span>
</template>
<span v-else-if="item.prop === 'state'">
<span class="alert-message-state" :class="{'green-bg': scope.row['state'] == 3, 'red-bg': scope.row['state'] == 1,'yellow-bg': scope.row['state'] == 2}">
<span class="alert-message-state" :class="{'gray-bg': scope.row['state'] == 3, 'red-bg': scope.row['state'] == 1,'yellow-bg': scope.row['state'] == 2}">
{{$t(stateOptions.find(state=>state.value == scope.row['state']).label)}}
</span>
</span>