tjfx.js 2.57 KB
/*
 * @Description: 信息备案
 * @Autor:
 * @LastEditTime: 2023-09-11 11:25:22
 */

import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))

/**
 * @description: cstj
 * @author:
 * @param params
 */
export function cstj (params) {
  return request({
    url: SERVER.SERVERAPI + '/rest/tjfx/xn/cstj?startAt='+params.startAt + '&endAt=' + params.endAt,
    method: 'post'
  })
}

/**
 * @description: exportCstj
 * @author:
 * @param params
 */
export function exportCstj (params) {
  return request({
    url: SERVER.SERVERAPI + '/rest/tjfx/xn/exportCstj?startAt='+params.startAt + '&endAt=' + params.endAt,
    method: 'post',
    responseType: 'blob'
  })
}

/**
 * @description: tjtj
 * @author:
 * @param data
 */
export function tjtj (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/tjfx/xn/tjtj',
    method: 'post',
    data
  })
}

/**
 * @description: exportTjtj
 * @author:
 * @param data
 */
export function exportTjtj (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/tjfx/xn/exportTjtj',
    method: 'post',
    data,
    responseType: 'blob'
  })
}

/**
 * @description: getDjlxStatistic
 * @author:
 * @param data
 */
export function getDjlxStatistic (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/tjfx/djqkfx/getDjlxStatistic',
    method: 'post',
    data
  })
}

/**
 * @description: getPrintBdcqzStatistic
 * @author:
 * @param data
 */
export function getPrintBdcqzStatistic (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/tjfx/djqkfx/getPrintBdcqzStatistic',
    method: 'post',
    data
  })
}

/**
 * @description: getSlryStatistic
 * @author:
 * @param data
 */
export function getSlryStatistic (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/tjfx/djqkfx/getSlryStatistic',
    method: 'post',
    data
  })
}

/**
 * @description: getAcceptMonthStatistic
 * @author:
 * @param data
 */
export function getAcceptMonthStatistic (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/tjfx/djqkfx/getAcceptMonthStatistic',
    method: 'post',
    data
  })
}

/**
 * @description: getAcceptDayStatistic
 * @author:
 * @param data
 */
export function getAcceptDayStatistic (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/tjfx/djqkfx/getAcceptDayStatistic',
    method: 'post',
    data
  })
}

/**
 * @description: getAcceptAreaStatistic
 * @author:
 * @param data
 */
export function getAcceptAreaStatistic (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/tjfx/djqkfx/getAcceptAreaStatistic',
    method: 'post',
    data
  })
}