module.exports = [ // mock get all routes form server { url: 'overview/alarmNow', type: 'get', response: _ => { return { 'code': 200, 'message': 'success', 'data': [ { 'wellId': 1, 'wellCode': 'E32TFW3R3', 'devcode': '4120180421', 'position': '长安街55号', 'alarmId': 1, 'alarmContent': '井盖开启', 'latGaode': 39.9, 'lngGaode': 116.4, 'alarmTime': '2019-03-20 10:55:00', 'jobStatus': '处理中' }, { 'wellId': 1, 'wellCode': 'E32TFW3R3', 'devcode': '11201804212', 'position': '长安街55号', 'alarmId': 1, 'alarmContent': '水位超限', 'latGaode': 39.9, 'lngGaode': 116.4, 'alarmTime': '2019-03-20 10:55:00', 'jobStatus': '待处理' }, { 'wellId': 3, 'wellCode': 'E32TFW3R1', 'devcode': '11201804574', 'position': '长安街55号', 'alarmId': 1, 'alarmContent': '水位超限', 'latGaode': '39.917787', 'lngGaode': '116.411291', 'alarmTime': '2019-03-20 10:55:00', 'jobStatus': '待处理' }, { 'wellId': 4, 'wellCode': 'E32TFW3Rx', 'devcode': '11201904574', 'position': '长安街55号', 'alarmId': 1, 'alarmContent': '水位超限', 'latGaode': '39.917797', 'lngGaode': '116.411371', 'alarmTime': '2019-03-20 10:55:00', 'jobStatus': '待处理' } ] } } }, { url: 'overview/wellInfo', type: 'get', response: _ => { return { 'code': 200, 'message': 'success', 'data': { 'id': 1, 'wellCode': 'N51F131', 'wellName': '宋郎路中压A闸1', 'wellType': '1', 'wellTypeName': '雨水井', 'deptid': '3', 'deptName': '第一分公司', 'deep': 0.0, 'position': '宋郎路', 'coordinateX': '39.899999999', 'coordinateY': '116.70000000', 'latBaidu': '39.901694', 'lngBaidu': '116.709315', 'latGaode': '39.906869', 'lngGaode': '116.36899', 'photos': '', 'notes': '', 'bfzt': '1', 'bfztName': '布防', 'area': '', 'staff': '', 'tel': '', 'valid': '1', 'ts': '2018-12-27 00:00:00', 'watchData': [ { 'type': '2', 'typeName': '液位', 'value': '21', 'logtime': '2018-12-27 00:00:00' }, { 'type': '1', 'typeName': '井盖', 'value': '正常', 'logtime': '2018-12-27 00:00:00' } ] } } } }, { url: 'overview/alarmsByWell', type: 'get', response: _ => { return { 'code': 200, 'message': '成功', 'data': { 'id': 1, 'wellCode': 'FE23Q32', 'deptId': '24', 'deptName': '第一分公司', 'position': '长安街55号', 'wellTypeName': '雨水井', 'alarmList': [ { 'devcode': '412018202100', 'alarmId': 1, 'alarmContent': '井盖开启', 'alarmTime': '2019-03-20 10:55:00' }, { 'devcode': '312018202100', 'alarmId': 2, 'alarmContent': '液位超限', 'alarmTime': '2019-03-20 10:55:00' } ] } } } }, { url: 'well/info', type: 'get', response: _ => { return { 'code': 200, 'message': 'success', 'data': { 'id': 1, 'wellCode': 'N51F131', 'wellName': '宋郎路中压A闸1', 'wellType': '3', 'wellTypeName': '雨水井', 'deptid': '3', 'deptName': '第一分公司', 'deep': 0.5, 'position': '宋郎路', 'coordinateX': '39.899999999', 'coordinateY': '116.70000000', 'latBaidu': '39.901694', 'lngBaidu': '116.709315', 'latGaode': '39.901694', 'lngGaode': '116.709315', 'photos': '', 'notes': '110000', 'bfzt': '1', 'bfztName': '布防', 'qu': '110000', 'area': '110000', 'responseDept': '', 'responseDeptName': '', 'tel': '', 'valid': '1', 'ts': '2018-12-27 00:00:00' } } } }, { url: 'sys/dict/code/sluicewellType', type: 'get', response: _ => { return { 'code': 200, 'message': 'success', 'data': [ { 'value': '1', 'name': '雨水井' }, { 'value': '2', 'name': '污水井' }, { 'value': '3', 'name': '燃气井' }, { 'value': '4', 'name': '热力井' }, { 'value': '5', 'name': '电力井' } ] } } }, { url: 'overview/wellList', type: 'get', response: _ => { return { 'code': 200, 'message': 'success', 'data': [ { 'id': 1, 'wellCode': 'N51F131', 'wellName': '宋郎路中压A闸1', 'wellType': '1', 'deptid': '24', 'deep': 0.0, 'position': '宋郎路', 'coordinateX': '39.899999999', 'coordinateY': '116.70000000', 'latBaidu': '39.901694', 'lngBaidu': '116.409315', 'responseDept': '25', 'latGaode': '39.9', 'lngGaode': '116.4', 'photos': 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100;', 'notes': '', 'area': '110000', 'qu': '110000', 'staff': '', 'tel': '', 'valid': '1', 'ts': '2018-12-27 00:00:00' }, { 'id': 2, 'wellCode': 'N51F132', 'wellName': '宋郎路中压A闸1', 'wellTypeName': '雨水井', 'wellType': '2', 'deptid': '3', 'deptName': '一分公司', 'deep': 0.0, 'position': '宋郎路', 'coordinateX': '39.899999999', 'coordinateY': '116.70000000', 'latBaidu': '39.901694', 'lngBaidu': '116.709315', 'latGaode': '39.9014', 'lngGaode': '116.409315', 'photos': '', 'notes': '', 'bfzt': '0', 'bfztName': '撤防', 'area': '', 'staff': '', 'tel': '', 'valid': '1', 'deviceCount': 3, 'ts': '2018-12-27 00:00:00' }, { 'id': 3, 'wellCode': 'N51F133', 'wellName': '宋郎路中压A闸1', 'wellTypeName': '雨水井', 'wellType': '3', 'deptid': '3', 'deptName': '一分公司', 'deep': 0.0, 'position': '宋郎路', 'coordinateX': '39.899999999', 'coordinateY': '116.70000000', 'latBaidu': '39.901694', 'lngBaidu': '116.709315', 'latGaode': '39.90127', 'lngGaode': '116.409315', 'photos': '', 'notes': '', 'bfzt': '1', 'bfztName': '布防', 'area': '', 'staff': '', 'tel': '', 'valid': '1', 'deviceCount': 3, 'ts': '2018-12-27 00:00:00' }, { 'id': 4, 'wellCode': 'N51F133', 'wellName': '宋郎路中压A闸1', 'wellTypeName': '雨水井', 'wellType': '3', 'deptid': '3', 'deptName': '一分公司', 'deep': 0.0, 'position': '宋郎路', 'coordinateX': '39.899999999', 'coordinateY': '116.70000000', 'latBaidu': '39.901694', 'lngBaidu': '116.709315', 'latGaode': '39.90124', 'lngGaode': '116.409315', 'photos': '', 'notes': '', 'bfzt': '1', 'bfztName': '布防', 'area': '', 'staff': '', 'tel': '', 'valid': '1', 'deviceCount': 3, 'ts': '2018-12-27 00:00:00' }, { 'id': 5, 'wellCode': 'N51F135', 'wellName': '宋郎路中压A闸1', 'wellTypeName': '雨水井', 'wellType': '3', 'deptid': '3', 'deptName': '一分公司', 'deep': 0.0, 'position': '宋郎路', 'coordinateX': '39.899999999', 'coordinateY': '116.70000000', 'latBaidu': '39.901694', 'lngBaidu': '116.709315', 'latGaode': '39.90135', 'lngGaode': '116.409315', 'photos': '', 'notes': '', 'bfzt': '1', 'bfztName': '布防', 'area': '', 'staff': '', 'tel': '', 'valid': '1', 'deviceCount': 3, 'ts': '2018-12-27 00:00:00' }, { 'id': 6, 'wellCode': 'N51F136', 'wellName': '宋郎路中压A闸1', 'wellTypeName': '雨水井', 'wellType': '3', 'deptid': '3', 'deptName': '一分公司', 'deep': 0.0, 'position': '宋郎路', 'coordinateX': '39.899999999', 'coordinateY': '116.70000000', 'latBaidu': '39.901694', 'lngBaidu': '116.709315', 'latGaode': '39.90140', 'lngGaode': '116.449315', 'photos': '', 'notes': '', 'bfzt': '1', 'bfztName': '布防', 'area': '', 'staff': '', 'tel': '', 'valid': '1', 'deviceCount': 3, 'ts': '2018-12-27 00:00:00' }, { 'id': 7, 'wellCode': 'N51F137', 'wellName': '宋郎路中压A闸1', 'wellTypeName': '雨水井', 'wellType': '3', 'deptid': '3', 'deptName': '一分公司', 'deep': 0.0, 'position': '宋郎路', 'coordinateX': '39.899999999', 'coordinateY': '116.70000000', 'latBaidu': '39.901694', 'lngBaidu': '116.709315', 'latGaode': '39.90179', 'lngGaode': '116.419315', 'photos': '', 'notes': '', 'bfzt': '1', 'bfztName': '布防', 'area': '', 'staff': '', 'tel': '', 'valid': '1', 'deviceCount': 3, 'ts': '2018-12-27 00:00:00' }, { 'id': 8, 'wellCode': 'N51F138', 'wellName': '宋郎路中压A闸1', 'wellTypeName': '雨水井', 'wellType': '3', 'deptid': '3', 'deptName': '一分公司', 'deep': 0.0, 'position': '宋郎路', 'coordinateX': '39.899999999', 'coordinateY': '116.70000000', 'latBaidu': '39.901694', 'lngBaidu': '116.709315', 'latGaode': '39.91169', 'lngGaode': '116.429315', 'photos': '', 'notes': '', 'bfzt': '1', 'bfztName': '布防', 'area': '', 'staff': '', 'tel': '', 'valid': '1', 'deviceCount': 3, 'ts': '2018-12-27 00:00:00' }, { 'id': 9, 'wellCode': 'N51F139', 'wellName': '宋郎路中压A闸1', 'wellTypeName': '雨水井', 'wellType': '3', 'deptid': '3', 'deptName': '一分公司', 'deep': 0.0, 'position': '宋郎路', 'coordinateX': '39.899999999', 'coordinateY': '116.70000000', 'latBaidu': '39.901694', 'lngBaidu': '116.709315', 'latGaode': '39.901594', 'lngGaode': '116.439315', 'photos': '', 'notes': '', 'bfzt': '1', 'bfztName': '布防', 'area': '', 'staff': '', 'tel': '', 'valid': '1', 'deviceCount': 3, 'ts': '2018-12-27 00:00:00' }, { 'id': 10, 'wellCode': 'N51F1310', 'wellName': '宋郎路中压A闸1', 'wellTypeName': '雨水井', 'wellType': '3', 'deptid': '3', 'deptName': '一分公司', 'deep': 0.0, 'position': '宋郎路', 'coordinateX': '39.899999999', 'coordinateY': '116.70000000', 'latBaidu': '39.901694', 'lngBaidu': '116.709315', 'latGaode': '39.902694', 'lngGaode': '116.429315', 'photos': '', 'notes': '', 'bfzt': '1', 'bfztName': '布防', 'area': '', 'staff': '', 'tel': '', 'valid': '1', 'deviceCount': 3, 'ts': '2018-12-27 00:00:00' } ] } } } ]