Blame view

src/api/zttGyQlr.js 873 Bytes
xiaomiao committed
1
/*
yuanbo committed
2
 * @Description  :权利人 -- 业务表单的api文件
xiaomiao committed
3
 * @Autor        : miaofang
yuanbo committed
4
 * @LastEditTime : 2023-05-17 10:57:52
xiaomiao committed
5
 */
yangwei committed
6
import request from "@/utils/request";
7
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
yangwei committed
8 9

class zttGyQlr {
yuanbo committed
10 11 12 13 14
  /**
   * @description: 权利人 -- 业务表单
   * @param {*} bsmSjsb
   * @author: renchao
   */
15
  async getZttGyQlrById (bsmSjsb) {
yangwei committed
16 17 18 19 20 21 22 23
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/ZttGyQlr/detail",
      method: "get",
      params: {
        bsmSjsb: bsmSjsb,
      },
    });
  }
yuanbo committed
24 25 26 27 28
  /**
   * @description: 权利人 -- 业务表单修改
   * @param {*} data
   * @author: renchao
   */
29
  async updateZttGyQlr (data) {
yangwei committed
30 31 32 33 34 35 36 37
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/ZttGyQlr/edit",
      method: "post",
      data,
    });
  }
}
export default new zttGyQlr();