<el-table-column></el-table-column>要展示的数据来自后台返回的两个字段,用法如下:
<el-table-column
align="center"
label="巡检开始时间"
prop="startDate,startTime"
width="160px"
>
<template slot-scope="scope">
{{ scope.row.startDate }}/{{ scope.row.startTime }}
</template>
</el-table-column>
<el-table-column
align="center"
label="巡检结束时间"
prop="endDate,endTime"
width="160px"
>
<template slot-scope="scope">
{{ scope.row.endDate }}/{{ scope.row.endTime }}
</template>
</el-table-column>