|
|
@@ -66,13 +66,13 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column sortable show-overflow-tooltip prop="CreateOn" align="center" label="创建时间" width="120">
|
|
|
+ <el-table-column sortable show-overflow-tooltip prop="CreateOn" align="center" label="创建时间">
|
|
|
<template slot-scope="scope">
|
|
|
<div>{{dateFun(scope.row.CreateOn)}}</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column sortable show-overflow-tooltip prop="ModifiedOn" align="center" label="完成时间" width="120">
|
|
|
+ <el-table-column sortable show-overflow-tooltip prop="ModifiedOn" align="center" label="完成时间">
|
|
|
<template slot-scope="scope">
|
|
|
<div>{{dateFun(scope.row.ModifiedOn)}}</div>
|
|
|
</template>
|
|
|
@@ -155,6 +155,10 @@
|
|
|
dateFun:function(){
|
|
|
return function(item){
|
|
|
// var myDate = new Date(item);
|
|
|
+ console.log(item, '33333')
|
|
|
+ if (item == '0001-01-01T00:00:00Z') {
|
|
|
+ return '--'
|
|
|
+ }
|
|
|
return util.formatDate('year',item)
|
|
|
}
|
|
|
},
|