search.js 1.96 KB
/*
 * @Description: 综合查询
 * @Autor: renchao
 * @LastEditTime: 2023-05-17 10:23:50
 */
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))


/**
 * @description: 根据条件进行列表查询
 * @param {*} data
 * @author: renchao
 */
export function getDjbBysearch (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/zhcx/search/qlxx/getDjbBysearch',
    method: 'post',
    data: data
  })
}
/**
 * @description: 进度查询列表
 * @param {*} data
 * @author: renchao
 */
export function getJdcxBysearch (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/zhcx/search/getJdcxBysearch',
    method: 'post',
    data
  })
}

//  导出数据-进度查询
export function exportJdcxExcel (params) {
  return request({
      url: SERVER.SERVERAPI + '/rest/zhcx/search/exportJdcxExcel',
      method: 'post',
      params, 
      responseType: 'blob'
  })
}    

//  导出数据-登记簿查询
export function exportdjbcxExcel (params) {
  return request({
      url: SERVER.SERVERAPI + '/rest/zhcx/search/exportdjbcxExcel',
      method: 'post',
      params, 
      responseType: 'blob'
  })
}    


/**
 * @description: 证书领取查询
 * @param {*} data
 * @author: renchao
 */
export function getBdcqzReceiveList (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/zhcx/search/getBdcqzReceiveList',
    method: 'post',
    data
  })
}

/**
 * @description: 在建工程抵押查询
 * @param {*} data
 * @author: renchao
 */
export function getZjgcdyList (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/zhcx/search/getZjgcdyList',
    method: 'post',
    data
  })
}

/**
 * @description:楼盘查询- 根据bsmSlsq查询自然幢标识码
 * @param {*} data
 * @author: renchao
 */
export function getZrzbsmList(bsm) {
  return request({
    url: SERVER.SERVERAPI + "/rest/zhcx/search/getZrzbsmList?bsmSlsq=" + bsm,
    method: "post",
    data: bsm,
  });
}