qlfQlZxdj.js 1.08 KB
/*
 * @Description  : 注销登记的api文件
 * @Autor        : miaofang
 * @LastEditTime : 2023-05-17 10:48:11
 */
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))

class qlfQlZxdj {
  /**
   * @description: 注销登记
   * @param {*} data
   * @author: renchao
   */
  async getQlfQlZxdjList (data) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/QlfQlZxdj/getDataPage",
      method: "post",
      data,
    });
  }
  /**
   * @description: 注销登记信息
   * @param {*} bsmSjsb
   * @author: renchao
   */
  async getQlfQlZxdjById (bsmSjsb) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/QlfQlZxdj/detail",
      method: "get",
      params: {
        bsmSjsb: bsmSjsb,
      },
    });
  }
  /**
   * @description: 注销登记信息-修改
   * @param {*} data
   * @author: renchao
   */
  async updateQlfQlZxdj (data) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/QlfQlZxdj/edit",
      method: "post",
      data,
    });
  }
}
export default new qlfQlZxdj();