占线板序号

This commit is contained in:
dong 2023-01-18 09:44:02 +08:00
parent d921acf107
commit f61f80d5c2

View File

@ -179,11 +179,11 @@
:default-sort="{prop: 'startTime', order: 'ascending'}" :default-sort="{prop: 'startTime', order: 'ascending'}"
border border
> >
<el-table-column width="50" label="序号" align="center"> <el-table-column width="50" label="序号" align="center" type="index">
<template slot-scope="scope"> <!-- <template slot-scope="scope"> -->
<!--:style="{ background: scope.$index? '#f00':'#ff0' }" --> <!--:style="{ background: scope.$index? '#f00':'#ff0' }" -->
<div>{{ scope.$index }}</div> <!-- <div>{{ scope.$index }}</div> -->
</template> <!-- </template> -->
</el-table-column> </el-table-column>
<el-table-column property="date" label="注意确认" /> <el-table-column property="date" label="注意确认" />
<el-table-column property="tripNumber" label="车次" /> <el-table-column property="tripNumber" label="车次" />