/**
 * 供需接口
 */
import request from '@/utils/request'
import { getSignTimeStamp } from '@/utils/mathUtils'
import Vue from 'vue'

// 高后果区
export function getHighConsequence() {
  const baseConfig = Vue.prototype.baseConfig // 注意该行应放在export里面，否则获取不到值
  const { sign, username, timestamp } = getSignTimeStamp()
  return request({
    url: baseConfig.biUrl + '/factdata/index/getData',
    method: 'post',
    data: {
      'showField': 'WD01_03,WD02_04,WD58_03,DES01,DES02,DES03,DES04,DES04,DES05,DES06,DES07,DES08,DES09,DES10,DES11,DES12,DL01',
      'indexId': '12E543420D824445B74D25B4E8DE1A5F',
      'type': 0,
      'pageNo': null,
      'pageSize': null,
      'sign': sign,
      'name': username,
      'time': timestamp
    }
  })
}
