码迷,mamicode.com
首页 > 其他好文 > 详细

el-table

时间:2017-06-27 17:40:28      阅读:197      评论:0      收藏:0      [点我收藏+]

标签:highlight   template   cto   label   art   inpu   star   ati   row   

<el-table :data="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

标签:highlight   template   cto   label   art   inpu   star   ati   row   

原文地址:http://www.cnblogs.com/yl514/p/7086221.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!