ZIneen 1 year ago
parent
commit
286dbea7bd
1 changed files with 8 additions and 0 deletions
  1. 8 0
      src/views/widgets/warningPanel/index.vue

+ 8 - 0
src/views/widgets/warningPanel/index.vue

@@ -213,6 +213,14 @@ export default {
           this.alarmTotal = res.result.total
           // this.pageInfo.total = res.result.total
           this.tableData = res.result.records
+          // = res.result.records.forEach((item) => {
+          //   item.alarmInfo = item.topic + "报警时间: " + item.createTime
+          // })
+          console.log("报警数据",  this.tableData)
+          this.tableData.forEach((item) => {
+            item.topic = item.topic + "  " + "报警时间: " + item.createTime
+          })
+          console.log("报警数据1111",  this.tableData)
         }
       })
     },