sqcx.js 1.38 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'))
// 获取申请查询列表
export function getSqcxPage (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getSqcxPage',
    method: 'post',
    data
  })
}

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

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

// 获取申请查询记录详细信息
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
  })
}

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