text: import request from '@/utils/request'
  
  /**
   * 查询逻辑
   * @param {*} data
   */
  export function getDataByIdApi (query) {
    return request({
      url: '/api/v1/org/position/id',
      method: 'post',
      data: query
    })
  }
  
  /**
   * 查询逻辑
   * @param {*} data
   */
  export function getListApi (query) {
    return request({
      url: '/api/v1/org/position/list',
      method: 'post',
      data: query
    })
  }
  
  /**
   * 更新api
   * @param {*} data
   */
  export function updateApi (data) {
    return request({
      url: '/api/v1/org/position/save',
      method: 'post',
      data
    })
  }
  
  /**
   * 插入api
   * @param {*} data
   */
  export function insertApi (data) {
    return request({
      url: '/api/v1/org/position/insert',
      method: 'post',
      data
    })
  }
  
  /**
   * 导出逻辑，全部导出
   * @param {*} data
   */
  export function exportAllApi (data) {
    return request({
      url: '/api/v1/org/position/export_all',
      method: 'post',
      data,
      responseType: 'arraybuffer'
    })
  }
  
  /**
   * 导出逻辑，部分导出
   * @param {*} data
   */
  export function exportSelectionApi (data) {
    return request({
      url: '/api/v1/org/position/export_selection',
      method: 'post',
      data,
      responseType: 'arraybuffer'
    })
  }
  
  /**
   * 删除逻辑
   * @param {*} data
   */
  export function deleteApi (data) {
    return request({
      url: '/api/v1/org/position/delete',
      method: 'post',
      data
    })
  }
  
  /**
   * 启用逻辑
   * @param {*} data
   */
  export function enableApi (data) {
    return request({
      url: '/api/v1/org/position/enable',
      method: 'post',
      data
    })
  }
  