qlfQlDyaq.js 1.06 KB
/*
 * @Description  :抵押权api文件
 * @Autor        : miaofang
 * @LastEditTime : 2023-05-17 10:44:04
 */
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))

class qlfQlDyaq {
  /**
   * @description: 抵押权登记
   * @param {*} data
   * @author: renchao
   */
  async getQlfQlDyaqList (data) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyaq/getDataPage",
      method: "post",
      data,
    });
  }
  /**
   * @description: 抵押权
   * @param {*} bsmSjsb
   * @author: renchao
   */
  async getQlfQlDyaqById (bsmSjsb) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyaq/detail",
      method: "get",
      params: {
        bsmSjsb: bsmSjsb,
      },
    });
  }
  /**
   * @description: 抵押权-修改
   * @param {*} data
   * @author: renchao
   */
  async updateQlfQlDyaq (data) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyaq/edit",
      method: "post",
      data,
    });
  }
}
export default new qlfQlDyaq();