<el-table-column prop="报案注销时间" label="报案注销时间" width="170" :formatter="dateFormat"></el-table-column>
//表格中修改时间格式
dateFormat(row, column, cellValue, index) {
const daterc = row[column.property]
if (daterc != null) {
const dateMat = new Date(parseInt(daterc.replace("/Date(", "").replace(")/", ""), 10));
const year = dateMat.getFullYear();
const month = dateMat.getMonth() + 1;
const day = dateMat.getDate();
const hh = dateMat.getHours();
const mm = dateMat.getMinutes();
const ss = dateMat.getSeconds();
const timeFormat = year + "/" + month + "/" + day + " " + hh + ":" + mm + ":" + ss;
return timeFormat;
}
},