Newer
Older
smartwell_front / mock / systemConfig / tenantConfig.js
const alarmTenantList = [
  {
    'tenentId': '4324324234',
    'tenantName': '项目名称一',
    'communication': '联通移动NB,电信NB,联通移动NB,电信NB',
    'coordinateType': 'WGS84,BD09,GCJ02',
    'isJobGenerate': '是',
    'isAppPush': '是',
    'isMessagePush': '是',
    'alarmPushType': '报警推送规则一',
    'alarmPushTypeName': '报警推送规则名称一'
  },
  {
    'tenentId': '5674324234',
    'tenantName': '项目名称二',
    'communication': '3G,4G',
    'coordinateType': 'WGS84,BD09,GCJ02',
    'isJobGenerate': '是',
    'isAppPush': '是',
    'isMessagePush': '是',
    'alarmPushType': '报警推送规则二',
    'alarmPushTypeName': '报警推送规则名称二'
  }

]
module.exports = [
  // mock get all routes form server
  {
    url: '/tenantConfig/list',
    type: 'get',
    response: _ => {
      return {
        code: 200,
        data: alarmTenantList,
        message: '请求成功',
        success: true
      }
    }
  }
]