sqcx.js 1.68 KB
/*
 * @Description: 
 * @Autor: renchao
 * @LastEditTime: 2023-05-16 14:05:25
 */
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/**
 * @description: 获取申请查询列表
 * @param {*} data
 * @author: renchao
 */
export function getSqcxPage (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getSqcxPage',
    method: 'post',
    data
  })
}

/**
 * @description: 新增申请查询家庭房产信息
 * @param {*} data
 * @author: renchao
 */
export function addJtfcCxjgXx (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/addJtfcCxjgXx',
    method: 'post',
    data
  })
}

/**
 * @description: 新增申请查询房屋明细信息
 * @param {*} data
 * @author: renchao
 */
export function addFwmxCxjgXx (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/addFwmxCxjgXx',
    method: 'post',
    data
  })
}

/**
 * @description: 获取申请查询记录详细信息
 * @param {*} params
 * @author: renchao
 */
export function getJtfcInfo (params) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getJtfcInfo/',
    method: 'get',
    params
  })
}

/**
 * @description: 获取房屋明细记录详细信息
 * @param {*} params
 * @author: renchao
 */
export function getFwmxInfo (params) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getFwmxInfo/',
    method: 'get',
    params
  })
}

/**
 * @description: 打印家庭房产
 * @param {*} data
 * @author: renchao
 */
export function printJtcfInfo (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/printJtcfInfo/',
    method: 'post',
    data
  })
}