tjfx.js 1.14 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'
  })
}