searchRecord.js 690 Bytes
/*
 * @Description: 干部查询
 * @Autor:
 * @LastEditTime:
 */
/* 引入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
  })
}