qltFwFdcqDz.js 1.19 KB
/*
 * @Description  : 房地产权_项目内多幢房屋信息的api文件
 * @Autor        : miaofang
 * @LastEditTime : 2023-05-17 10:50:59
 */
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))

class qltFwFdcqDz {
  /**
   * @description: 房地产权_项目内多幢房屋信息
   * @param {*} data
   * @author: renchao
   */
  async getQltFwFdcqDzList (data) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/QltFwFdcqDz/getDataPage",
      method: "post",
      data,
    });
  }
  /**
   * @description: 房地产权_项目内多幢房屋信息
   * @param {*} bsmSjsb
   * @author: renchao
   */
  async getQltFwFdcqDzById (bsmSjsb) {
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqDz/detail',
      method: 'get',
      params: {
        bsmSjsb: bsmSjsb
      }
    })
  }
  /**
   * @description: 修改房地产权_项目内多幢房屋信息
   * @param {*} data
   * @author: renchao
   */
  async updateQltFwFdcqDz (data) {
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqDz/edit',
      method: 'post',
      data
    })
  }
}
export default new qltFwFdcqDz();