/** * 管网专题 */ import request from '@/utils/request' import { getSignTimeStamp } from '@/utils/mathUtils' // 地震列表 export function getEarthquakeList(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ url: 'http://172.26.2.128:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD53_09,WD53_05,WD53_06,WD53_07,WD53_08,WD53_04', 'dimId': '330ADFB6E38049F5A9E0C46E6CCC304D', 'distinct': true, 'type': 1, 'conditionList': [ [ { 'condition': '3', 'key': 'WD53_04', 'indexDimValues': date } ] ], 'pageNo': null, 'pageSize': null, 'sign': sign, 'name': username, 'time': timestamp } }) } // 巡线轨迹列表 export function getRoutesData(date) { const { sign, username, timestamp } = getSignTimeStamp() return request({ url: 'http://172.26.2.128:9001/factdata/index/getData', method: 'post', data: { 'showField': 'WD60_03,WD60_04,WD60_05,WD60_06,WD60_08,WD60_09,WD60_10,WD60_11,WD60_12', 'dimId': '459DEBAD30C14366AA65C957BBA76B09', 'type': 1, 'conditionList': [ [ { 'condition': '3', 'key': 'WD60_04', 'indexDimValues': date } ] ], 'pageNo': null, 'pageSize': null, 'sign': sign, 'name': username, 'time': timestamp } }) }