lpb.js 1.63 KB
/*
 * @Description:
 * @Autor: renchao
 * @LastEditTime: 2023-07-11 09:51: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: "service-lpb/rest/zhcx/lpcx/getLpb?scyclx=0&zrzbsm=" + zrzbsm,
    method: "get",
  });
}
/**
 * @description: 获取楼盘表房屋用途,房屋性质右侧房屋用途统计数据
 * @param {*} zrzbsm
 * @author: renchao
 */
export function getLpbFwytAndQlxz(zrzbsm) {
  return request({
    url:
      "service-lpb/rest/zhcx/lpcx/getLpbFwytAndQlxz?scyclx=0&zrzbsm=" +
      zrzbsm,
    method: "get",
  });
}
/**
 * @description: 获取楼盘表缺失项统计
 * @param {*} zrzbsm
 * @author: renchao
 */
export function getLpbQsxtj(zrzbsm) {
  return request({
    url: "service-lpb/rest/zhcx/lpcx/getLpbQsxtj?scyclx=0&zrzbsm=" + zrzbsm,
    method: "get",
  });
}

/**
 * @description: 楼盘表 获取单元状态统计数据
 * @param {*} data
 * zrzbsm 自然幢标识码
 * scyclx 实测预测类型   0预测,1实测
 * @return {*}
 */
export function getLpbTj(zrzbsm) {
  return request({
    url: "service-lpb/rest/zhcx/lpcx/getLpbTj?scyclx=0&zrzbsm=" + zrzbsm,
    method: "get",
  });
}