djfDjGd.js 862 Bytes
/*
 * @Description  :登记归档信息-业务api文件
 * @Autor        : miaofang
 * @LastEditTime : 2023-05-17 16:38:51
 */
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))

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