const { page, size, listOrder } = params

const datas = [
  {
    alarmTime: '2021-11-09 13:39:30',
    id: '1',
    alarmType: '1',
    alarmPerson: '张三'
  },
  {
    alarmTime: '2021-11-09 13:39:30',
    id: '2',
    alarmType: '2',
    alarmPerson: '李四'
  },
  {
    alarmTime: '2021-11-09 13:39:30',
    id: '3',
    alarmType: '1',
    alarmPerson: '王五'
  }
]
let content = datas.map((data, index) => {
  data.number = index + 1
  return data
})
mockJson = {
  code: 20000,
  msg: '获取列表成功',
  data: {
    total: 3,
    content: content
  }
}
