|
@@ -2,32 +2,6 @@
|
|
|
<a-table :columns="columns" :data-source="data" :pagination="false" :customRow="customRow">
|
|
|
<a slot="name" slot-scope="text">{{ text }}</a>
|
|
|
</a-table>
|
|
|
- <!--<el-table-->
|
|
|
- <!-- :data="tableData"-->
|
|
|
- <!-- stripe-->
|
|
|
- <!-- :header-row-style="{fontSize: '12px'}"-->
|
|
|
- <!-- :cell-style="{fontSize: '12px'}"-->
|
|
|
- <!-->-->
|
|
|
- <!-- <el-table-column-->
|
|
|
- <!-- prop="carPosition"-->
|
|
|
- <!-- label="车位" min-width="40">-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
- <!-- <el-table-column-->
|
|
|
- <!-- prop="owner"-->
|
|
|
- <!-- label="拥有者" min-width="60">-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
- <!-- <el-table-column-->
|
|
|
- <!-- prop="company"-->
|
|
|
- <!-- label="单位" min-width="100">-->
|
|
|
- <!-- <template #default="scope">-->
|
|
|
- <!-- <span >{{ scope.row.name }}</span>-->
|
|
|
- <!-- </template>-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
- <!-- <el-table-column-->
|
|
|
- <!-- prop="parkTime"-->
|
|
|
- <!-- label="停车时间" min-width="50">-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
- <!--</el-table>-->
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
@@ -80,7 +54,9 @@ export default {
|
|
|
methods: {
|
|
|
customRow(record, index) {
|
|
|
return {
|
|
|
- 'background-color': index%2===0 ? '#ffffff' : '#fafafa'
|
|
|
+ style: {
|
|
|
+ 'background-color': index%2===0 ? '#ffffff' : '#fafafa'
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|