This commit is contained in:
parent
c08aa7939c
commit
6f3fa31cc7
|
|
@ -106,6 +106,10 @@ export const columnsList = [
|
|||
t_label: '出入场状态',
|
||||
t_slot: 'einStatus',
|
||||
},
|
||||
{
|
||||
t_label: '红绿灯状态',
|
||||
t_slot: 'lightStatus',
|
||||
},
|
||||
{
|
||||
t_props: 'einTime',
|
||||
t_label: '入场时间',
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue