recordLog.js 1.22 KB
/*
 * @Description: 登薄日志
 * @Autor: renchao
 * @LastEditTime: 2023-03-02 13:45:53
 */
/* 引入请求文件 */
import request from '@/utils/request'
/* 引入配置文件 */
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/RecordLog/'
/**
 * @description: 登簿日志分页
 * @param {*} data
 * @author: renchao
 */
export function getRecordLogPage (data) {
  return request({
    url: urlHeader + 'getRecordLogPage',
    method: 'post',
    data
  })
}

/**
 * @description: 获取详情明细
 * @param {*} dbBsm
 * @author: renchao
 */
export function getDetail (dbBsm) {
  return request({
    url: urlHeader + 'getDetail',
    method: 'get',
    params: {
      dbBsm: dbBsm
    }
  })
}
/**
 * @description: 详情页面编辑
 * @param {*} data
 * @author: renchao
 */
export function edit (data) {
  return request({
    url: urlHeader + 'edit',
    method: 'post',
    data
  })
}
/**
 * @description: 登薄日志重新生成报文
 * @param {*} dbBsm
 * @author: renchao
 */
export function regenerateDbXml (dbBsm) {
  return request({
    url: urlHeader + 'regenerateDbXml',
    method: 'get',
    params: {
      dbBsm: dbBsm
    }
  })
}