Blame view

src/api/recordLog.js 1.15 KB
任超 committed
1 2 3
/*
 * @Description: 登薄日志
 * @Autor: renchao
任超 committed
4
 * @LastEditTime: 2023-03-02 13:45:53
任超 committed
5 6
 */
/* 引入请求文件 */
蔡俊立 committed
7
import request from '@/utils/request'
任超 committed
8
/* 引入配置文件 */
蔡俊立 committed
9
import SERVER from './config'
任超 committed
10 11 12 13 14
const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/RecordLog/'
/**
 * @description: 登簿日志分页
 * @author: renchao
 */
蔡俊立 committed
15 16
export function getRecordLogPage (data) {
  return request({
任超 committed
17
    url: urlHeader + 'getRecordLogPage',
蔡俊立 committed
18 19 20 21 22
    method: 'post',
    data
  })
}

任超 committed
23 24 25 26 27 28 29 30 31 32 33 34 35 36
/**
 * @description: 获取详情明细
 * @param {*} dbBsm
 * @author: renchao
 */
export function getDetail (dbBsm) {
  return request({
    url: urlHeader + 'getDetail',
    method: 'get',
    params: {
      dbBsm: dbBsm
    }
  })
}
任超 committed
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
/**
 * @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
    }
  })
}