|
|
@ -13,15 +13,15 @@ |
|
|
|
<div>{{ scope.row.hisTime | parseTime }}</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="位置" align="center" width="160"> |
|
|
|
<el-table-column label="位置" align="center" width="120"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div>{{ scope.row.doorName }}</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="inOrOut" label="说明" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-tag v-if="scope.row.inOrOut===0">进门</el-tag> |
|
|
|
<el-tag v-if="scope.row.inOrOut===1" type="warning">出门</el-tag> |
|
|
|
<el-tag v-if="scope.row.inOrOut===0">{{ scope.row.userName }}_进门_{{ scope.row.action }}</el-tag> |
|
|
|
<el-tag v-if="scope.row.inOrOut===1" type="warning">{{ scope.row.userName }}_出门_{{ scope.row.action }}</el-tag> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|