Blame view

src/api/lpcx.js 1.65 KB
1
/*
2
 * @Description: 楼盘表查询
3
 * @Autor: renchao
4
 * @LastEditTime: 2023-07-19 15:00:43
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) {
jiaozeping@pashanhoo.com committed
30
  return request({
yangwei committed
31
    url: "service-lpb/rest/zhcx/lpcx/getLpb?scyclx=0&zrzbsm=" + zrzbsm,
yangwei committed
32 33
    method: "get",
  });
34
}
35 36 37 38 39
/**
 * @description: 获取楼盘表房屋用途,房屋性质右侧房屋用途统计数据
 * @param {*} zrzbsm
 * @author: renchao
 */
40
export function getLpbFwytAndQlxz (zrzbsm) {
41
  return request({
yangwei committed
42
    url:
yangwei committed
43
      "service-lpb/rest/zhcx/lpcx/getLpbFwytAndQlxz?scyclx=0&zrzbsm=" +
yangwei committed
44 45 46
      zrzbsm,
    method: "get",
  });
jiaozeping@pashanhoo.com committed
47
}
48 49 50 51 52
/**
 * @description: 获取楼盘表缺失项统计
 * @param {*} zrzbsm
 * @author: renchao
 */
53
export function getLpbQsxtj (zrzbsm) {
54
  return request({
yangwei committed
55
    url: "service-lpb/rest/zhcx/lpcx/getLpbQsxtj?scyclx=0&zrzbsm=" + zrzbsm,
yangwei committed
56 57
    method: "get",
  });
58 59
}

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