lpb.js 1.22 KB
/*
 * @Description: 
 * @Autor: renchao
 * @LastEditTime: 2023-05-18 10:53:07
 */
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
const url = SERVER.SERVERAPI + '/rest/zhcx/lpcx/'
// 
/**
 * @description:楼盘查询- 根据条件进行列表查询
 * @param {*} data
 * @author: renchao
 */
export function getLpZrz (data) {
  return request({
    url: 'service-lpb/rest/zhcx/lpcx/getLpZrz',
    method: 'post',
    data: data
  })
}

/**
 * @description: 获取楼盘表
 * @param {*} zrzbsm
 * @author: renchao
 */
export function getLpb (zrzbsm) {
  return request({
    url: url + 'getLpb?scyclx=1&zrzbsm=' + zrzbsm,
    method: 'get'
  })
}
/**
 * @description: 获取楼盘表房屋用途,房屋性质右侧房屋用途统计数据
 * @param {*} zrzbsm
 * @author: renchao
 */
export function getLpbFwytAndQlxz (zrzbsm) {
  return request({
    url: url + 'getLpbFwytAndQlxz?scyclx=1&zrzbsm=' + zrzbsm,
    method: 'get'
  })
}
/**
 * @description: 获取楼盘表缺失项统计
 * @param {*} zrzbsm
 * @author: renchao
 */
export function getLpbQsxtj (zrzbsm) {
  return request({
    url: url + 'getLpbQsxtj?scyclx=1&zrzbsm=' + zrzbsm,
    method: 'get'
  })
}