searchRecord.js 1.04 KB
/*
 * @Description: 干部查询
 * @Autor:
 * @LastEditTime: 2023-11-03 15:00:17
 */
/* 引入axios请求文件 */
import request from '@/utils/request'
/* 引入配置 */
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
const urlHeader = SERVER.SERVERAPI + '/rest/searchRecord'

/**
 * @description: 获取列表
 * @param {*}
 * @author:
 */
export function getSearchRecordList (data) {
  return request({
    url: urlHeader + '/getList',
    method: 'post',
    data
  })
}

/**
 * @description: 新增
 * @param {*} data
 * @author:
 */
export function saveSearchRecord (data) {
  return request({
    url: urlHeader + '/search',
    method: 'post',
    data
  })
}


/**
 * @description: 编辑
 * @param {*} id
 * @author:
 */
export function editSearchRecord (id) {
  return request({
    url: urlHeader + '/' + id,
    method: 'get'
  })
}

/**
 * @description: 财产登记情况
 * @author: renchao
 */

export function djqk (data) {
  return request({
    url: urlHeader + '/djqk',
    method: 'post',
    data
  })
}