xxba.js 1.33 KB
/*
 * @Description: 信息备案
 * @Autor:
 * @LastEditTime: 2023-09-08 09:27:58
 */

import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))

/**
 * @description: 添加银行
 * @param {*} data
 * @author:
 */
export function addYh (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sys/company/addYh',
    method: 'post',
    data
  })
}
/**
 * @description: 添加企业
 * @param {*} data
 * @author:
 */
export function addQy (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sys/company/addQy',
    method: 'post',
    data
  })
}

/**
 * @description: 查询企业列表
 * @author:
 * @param data
 */
export function queryQyByPage (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sys/company/queryQyByPage',
    method: 'post',
    data
  })
}

/**
 * @description: 查询银行列表
 * @author:
 * @param data
 */
export function queryYhByPage (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sys/company/queryYhByPage',
    method: 'post',
    data
  })
}

/**
 * @description: 删除列表
 * @param {*} companyBsm
 * @author: renchao
 */
export function remove (companyBsm) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sys/company/remove',
    method: 'get',
    params: {
      companyBsm: companyBsm
    }
  })
}