SysDjbFieldDO.js 1.17 KB
/*
 * @Description: 字典接口
 * @Autor: renchao
 * @LastEditTime: 2023-05-16 16:06:51
 */
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))

/**
 * @description: 获取登记簿全部字段
 * @author: renchao
 */
 export function getFieldList (params) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sys/SysDjbFieldDO/getFieldList',
    method: 'get',
    params
  })
}
/**
 * @description: 获取登记簿打印字段
 * @author: renchao
 */
 export function getFieldListByQlxx (params) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sys/SysDjbFieldDO/getFieldListByQlxx',
    method: 'get',
    params
  })
}
/**
 * @description: 保存登记簿打印字段
 * @param {*} data
 * @author: renchao
 */
 export function save (bsmMb,data) {
  return request({
    url: SERVER.SERVERAPI + `/rest/sys/SysDjbFieldDO/save/${bsmMb}`,
    method: 'post',
    data
  })
}

/**
 * @description: 获取登记簿打印字段
 * @author: renchao
 */
//  export function getQllxList () {
//   return request({
//     url: SERVER.SERVERAPI + '/rest/sys/SysDjbFieldDO/getQllxList',
//     method: 'get'
//   })
// }