首页 > 代码库 > el-table
el-table
<el-table :data="http://www.mamicode.com/inspectRecords" border highlight-current-row >
<el-table-column align="center" prop="inspectPersion" label="人" width="80"></el-table-column>
<el-table-column align="center" prop="inspectDate" label="时间" width="120"></el-table-column>
<el-table-column align="center" prop="recordDesc" label="描述" width="180"></el-table-column>
<el-table-column align="center" prop="startTime" label="开始时间" width="140"></el-table-column>
<el-table-column align="center" prop="endTime" label="结束时间" width="140"></el-table-column>
<el-table-column align="center" prop="inputTime" label="录入时间" width="120"></el-table-column>
<el-table-column align="center" prop="remark" label="备注" width="200"></el-table-column>
<el-table-column align="center" label="操作" width="120">
<template scope="scope">
<el-button type="text" size="small" @click="process(scope.$index, scope.row)">
审核
</el-button>
<el-button @click.native.prevent="trajectory(scope.$index, inspectRecords)" type="text" size="small">
轨迹
</el-button>
</template>
</el-table-column>
</el-table>
el-table