Browse Source

分析报表 说明书更新记录 时间显示格式修改

fujunwen 4 years ago
parent
commit
bd3e3ca0c3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/analysis/SpecificationUpdateRecord.vue

+ 2 - 2
src/views/analysis/SpecificationUpdateRecord.vue

@@ -148,9 +148,9 @@ export default {
             let text = _.find(this.incidentList, (o) => {return o.id === item.objtype}).name
             item.evenType = text;
             if (item.objtype === 0 || item.objtype === 2) {
-              item.time = moment.unix(item.changedate / 1000).format('YYYY-MM-DD')
+              item.time = moment.unix(item.changedate / 1000).format('YYYY.MM.DD')
             } else {
-              item.time = moment.unix(item.changedate / 1000).format('YYYY-MM-DD HH-mm')
+              item.time = moment.unix(item.changedate / 1000).format('YYYY.MM.DD HH:mm')
             }
             return
           })