djfDjGd.js 869 Bytes
/*
 * @Description  :登记归档信息模块api文件
 * @Autor        : miaofang
 * @LastEditTime : 2023-05-17 10:27:04
 */
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))

class djfDjGd {
  /**
   * @description: 登记归档信息-业务表单
   * @param {*} bsmSjsb
   * @author: renchao
   */
  async getDjfDjGdById (bsmSjsb) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/DjfDjGd/detail",
      method: "get",
      params: {
        bsmSjsb: bsmSjsb,
      },
    });
  }
  /**
   * @description: 登记归档信息-业务-修改
   * @param {*} data
   * @author: renchao
   */
  async updateDjfDjGd (data) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/DjfDjGd/edit",
      method: "put",
      data,
    });
  }
}
export default new djfDjGd();