This commit is contained in:
BianLzhaoMin 2025-12-30 09:58:21 +08:00
parent c08aa7939c
commit 6f3fa31cc7
2 changed files with 13 additions and 0 deletions

View File

@ -106,6 +106,10 @@ export const columnsList = [
t_label: '出入场状态',
t_slot: 'einStatus',
},
{
t_label: '红绿灯状态',
t_slot: 'lightStatus',
},
{
t_props: 'einTime',
t_label: '入场时间',

View File

@ -133,6 +133,15 @@
</el-tag>
</template>
<template slot="lightStatus" slot-scope="{ data }">
<el-tag size="mini" type="warning" v-if="data.lightStatus == 1">
黄灯
</el-tag>
<el-tag size="mini" type="success" v-if="data.lightStatus == 2">
绿灯
</el-tag>
</template>
<template slot="handle" slot-scope="{ data }">
<el-button
plain