sbbwcx.js 1.26 KB
import request from '@/utils/request'
import SERVER from './config'

// 区县上报分页
export function getXml (bizMsgid) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sjsb/DataReport/getXml',
    method: 'get',
    params: {
      businessId: bizMsgid
    }
  })
}

// 区县上报分页
export function getAreaReportPage (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sjsb/DataReport/getAreaReportPage',
    method: 'post',
    data
  })
}


// 接入数据上报分页
export function getReceiveDataReportPage (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sjsb/DataReport/getReceiveDataReportPage',
    method: 'post',
    data
  })
}

// 数据上报分页
export function getDataReportPage (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sjsb/DataReport/getDataReportPage',
    method: 'post',
    data
  })
}

// 数据上报分页
export function getDetail (params) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sjsb/DataReport/getDetail',
    method: 'get',
    params
  })
}

// 结果
export function getReceiveDataReportResult (bsmReport) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sjsb/DataReport/getReceiveDataReportResult',
    method: 'get',
    params: {
      bsmReport: bsmReport
    }
  })
}