Blame view

src/api/lpcx.js 1.68 KB
1
/*
2
 * @Description: 楼盘表查询
3
 * @Autor: renchao
4
 * @LastEditTime: 2023-09-12 10:25:47
5
 */
yangwei committed
6 7 8 9 10
import request from "@/utils/request";
let SERVER = window.config
  ? window.config
  : JSON.parse(localStorage.getItem("ApiUrl"));
const url = SERVER.SERVERAPI + "/rest/zhcx/lpcx/";
11 12 13 14 15
/**
 * @description:楼盘查询- 根据条件进行列表查询
 * @param {*} data
 * @author: renchao
 */
16
export function getLpZrz (data) {
jiaozeping@pashanhoo.com committed
17
  return request({
yangwei committed
18
    url: "service-lpb/rest/zhcx/lpcx/getLpZrz",
yangwei committed
19 20 21
    method: "post",
    data: data,
  });
jiaozeping@pashanhoo.com committed
22 23
}

24 25 26 27 28
/**
 * @description: 获取楼盘表
 * @param {*} zrzbsm
 * @author: renchao
 */
29
export function getLpb (zrzbsm,lx) {
jiaozeping@pashanhoo.com committed
30
  return request({
31
    url: "service-lpb/rest/zhcx/lpcx/getLpb",
yangwei committed
32
    method: "get",
33 34 35 36
    params: {
        zrzbsm:zrzbsm,
        scyclx:lx,
    },
yangwei committed
37
  });
38
}
39 40 41 42 43
/**
 * @description: 获取楼盘表房屋用途,房屋性质右侧房屋用途统计数据
 * @param {*} zrzbsm
 * @author: renchao
 */
44
export function getLpbFwytAndQlxz (zrzbsm) {
45
  return request({
yangwei committed
46
    url:
yangwei committed
47
      "service-lpb/rest/zhcx/lpcx/getLpbFwytAndQlxz?scyclx=0&zrzbsm=" +
yangwei committed
48 49 50
      zrzbsm,
    method: "get",
  });
jiaozeping@pashanhoo.com committed
51
}
52 53 54 55 56
/**
 * @description: 获取楼盘表缺失项统计
 * @param {*} zrzbsm
 * @author: renchao
 */
57
export function getLpbQsxtj (zrzbsm) {
58
  return request({
yangwei committed
59
    url: "service-lpb/rest/zhcx/lpcx/getLpbQsxtj?scyclx=0&zrzbsm=" + zrzbsm,
yangwei committed
60 61
    method: "get",
  });
62 63
}

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