qlfQlNydsyq.js 1.17 KB
/*
 * @Description  :农用地使用权(非林地)的api文件
 * @Autor        : miaofang
 * @LastEditTime : 2023-05-17 10:46:08
 */
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))

class qlfQlNydsyq {
  /**
   * @description: 农用地使用权(非林地)
   * @param {*} data
   * @author: renchao
   */
  async getQlfQlNydsyqByConditon (data) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/QlfQlNydsyq/getDataPage",
      method: "post",
      data,
    });
  }
  /**
   * @description: 农用地使用权(非林地)
   * @param {*} bsmSjsb
   * @author: renchao
   */
  async getQlfQlNydsyqByID (bsmSjsb) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/QlfQlNydsyq/detail",
      method: "get",
      params: {
        bsmSjsb: bsmSjsb,
      },
    });
  }
  /**
   * @description: 修改农用地使用权(非林地)
   * @param {*} data
   * @author: renchao
   */
  async updateQlfQlNydsyq (data) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/QlfQlNydsyq/edit",
      method: "post",
      data,
    });
  }
}
export default new qlfQlNydsyq();