Newer
Older
smartwell_front / mock / well / well.js
const wellList = {
  rows: [
    {
      'bfzt': '0',
      'bfztName': '撤防',
      'communication': '3,4',
      'concenCode': '',
      'concenId': '',
      'deptName': '燃气集团总公司',
      'deptid': '24',
      'installHeight': '123',
      'devcode': '342021000001',
      'deviceName': '',
      'deviceType': '12',
      'wellTypeName': '开挖监测仪',
      'id': '1476131375777120257',
      'installDate': '2021-12-29',
      'modelId': '19',
      'modelName': 'BIRMM-RTU100N',
      'onlineState': '1',
      'onlineStateName': '在线',
      'position': 'test001位置',
      'ts': '2021-12-29',
      'valid': '1',
      'watchType': '燃气泄漏',
      'wellCode': 'test001',
      'wellId': '4453'
    },
    {
      'bfzt': '0',
      'bfztName': '撤防',
      'communication': '3,4',
      'concenCode': '',
      'concenId': '',
      'deptName': '燃气集团总公司',
      'deptid': '24',
      'installHeight': '123',
      'devcode': '342021000001',
      'deviceName': '',
      'deviceType': '12',
      'wellTypeName': '井盖状态监测仪',
      'id': '1476131375777120257',
      'installDate': '2021-12-29',
      'modelId': '19',
      'modelName': 'BIRMM-RTU100N',
      'onlineState': '1',
      'onlineStateName': '在线',
      'position': 'test001位置',
      'ts': '2021-12-29',
      'valid': '1',
      'watchType': '燃气泄漏',
      'wellCode': 'test001',
      'wellId': '4453'
    },
    {
      'bfzt': '0',
      'bfztName': '撤防',
      'communication': '3,4',
      'concenCode': '',
      'concenId': '',
      'deptName': '燃气集团总公司',
      'deptid': '24',
      'installHeight': '123',
      'devcode': '342021000001',
      'deviceName': '',
      'deviceType': '12',
      'wellTypeName': '液位监测仪',
      'id': '1476131375777120257',
      'installDate': '2021-12-29',
      'modelId': '19',
      'modelName': 'BIRMM-RTU100N',
      'onlineState': '1',
      'onlineStateName': '在线',
      'position': 'test001位置',
      'ts': '2021-12-29',
      'valid': '1',
      'watchType': '燃气泄漏',
      'wellCode': 'test001',
      'wellId': '4453'
    },
    {
      'bfzt': '0',
      'bfztName': '撤防',
      'communication': '3,4',
      'concenCode': '',
      'concenId': '',
      'deptName': '燃气集团总公司',
      'deptid': '24',
      'installHeight': '123',
      'devcode': '342021000001',
      'deviceName': '',
      'deviceType': '12',
      'wellTypeName': '燃气智能监测终端',
      'id': '1476131375777120257',
      'installDate': '2021-12-29',
      'modelId': '19',
      'modelName': 'BIRMM-RTU100N',
      'onlineState': '1',
      'onlineStateName': '在线',
      'position': 'test001位置',
      'ts': '2021-12-29',
      'valid': '1',
      'watchType': '燃气泄漏',
      'wellCode': 'test001',
      'wellId': '4453'
    },
    {
      'bfzt': '0',
      'bfztName': '撤防',
      'communication': '3,4',
      'concenCode': '',
      'concenId': '',
      'deptName': '燃气集团总公司',
      'deptid': '24',
      'installHeight': '123',
      'devcode': '342021000001',
      'deviceName': '',
      'deviceType': '12',
      'wellTypeName': '噪声记录仪',
      'id': '1476131375777120257',
      'installDate': '2021-12-29',
      'modelId': '19',
      'modelName': 'BIRMM-RTU100N',
      'onlineState': '1',
      'onlineStateName': '在线',
      'position': 'test001位置',
      'ts': '2021-12-29',
      'valid': '1',
      'watchType': '燃气泄漏',
      'wellCode': 'test001',
      'wellId': '4453'
    },
    {
      'bfzt': '0',
      'bfztName': '撤防',
      'communication': '3,4',
      'concenCode': '',
      'concenId': '',
      'deptName': '燃气集团总公司',
      'deptid': '24',
      'installHeight': '123',
      'devcode': '342021000001',
      'deviceName': '',
      'deviceType': '12',
      'wellTypeName': '有害气体监测仪',
      'id': '1476131375777120257',
      'installDate': '2021-12-29',
      'modelId': '19',
      'modelName': 'BIRMM-RTU100N',
      'onlineState': '1',
      'onlineStateName': '在线',
      'position': 'test001位置',
      'ts': '2021-12-29',
      'valid': '1',
      'watchType': '燃气泄漏',
      'wellCode': 'test001',
      'wellId': '4453'
    },
    {
      'bfzt': '0',
      'bfztName': '撤防',
      'communication': '3,4',
      'concenCode': '',
      'concenId': '',
      'deptName': '燃气集团总公司',
      'deptid': '24',
      'installHeight': '123',
      'devcode': '342021000001',
      'deviceName': '',
      'deviceType': '12',
      'wellTypeName': '温湿度监测仪',
      'id': '1476131375777120257',
      'installDate': '2021-12-29',
      'modelId': '19',
      'modelName': 'BIRMM-RTU100N',
      'onlineState': '1',
      'onlineStateName': '在线',
      'position': 'test001位置',
      'ts': '2021-12-29',
      'valid': '1',
      'watchType': '燃气泄漏',
      'wellCode': 'test001',
      'wellId': '4453'
    },
    {
      'bfzt': '0',
      'bfztName': '撤防',
      'communication': '3,4',
      'concenCode': '',
      'concenId': '',
      'deptName': '燃气集团总公司',
      'deptid': '24',
      'installHeight': '123',
      'devcode': '342021000001',
      'deviceName': '',
      'deviceType': '12',
      'wellTypeName': '井盖定位监测仪',
      'id': '1476131375777120257',
      'installDate': '2021-12-29',
      'modelId': '19',
      'modelName': 'BIRMM-RTU100N',
      'onlineState': '1',
      'onlineStateName': '在线',
      'position': 'test001位置',
      'ts': '2021-12-29',
      'valid': '1',
      'watchType': '燃气泄漏',
      'wellCode': 'test001',
      'wellId': '4453'
    },
    {
      'bfzt': '0',
      'bfztName': '撤防',
      'communication': '3,4',
      'concenCode': '',
      'concenId': '',
      'deptName': '燃气集团总公司',
      'deptid': '24',
      'installHeight': '123',
      'devcode': '342021000001',
      'deviceName': '',
      'deviceType': '12',
      'wellTypeName': '燃气智能终端(一体化)',
      'id': '1476131375777120257',
      'installDate': '2021-12-29',
      'modelId': '19',
      'modelName': 'BIRMM-RTU100N',
      'onlineState': '1',
      'onlineStateName': '在线',
      'position': 'test001位置',
      'ts': '2021-12-29',
      'valid': '1',
      'watchType': '燃气泄漏',
      'wellCode': 'test001',
      'wellId': '4453'
    },
    {
      'bfzt': '0',
      'bfztName': '撤防',
      'communication': '3,4',
      'concenCode': '',
      'concenId': '',
      'deptName': '燃气集团总公司',
      'deptid': '24',
      'installHeight': '123',
      'devcode': '342021000001',
      'deviceName': '',
      'deviceType': '12',
      'wellTypeName': '管盯',
      'id': '1476131375777120257',
      'installDate': '2021-12-29',
      'modelId': '19',
      'modelName': 'BIRMM-RTU100N',
      'onlineState': '1',
      'onlineStateName': '在线',
      'position': 'test001位置',
      'ts': '2021-12-29',
      'valid': '1',
      'watchType': '燃气泄漏',
      'wellCode': 'test001',
      'wellId': '4453'
    }
  ]
}

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