businessApply.js 1.92 KB
/*
 * @Description: 业务办理
 * @Autor: renchao
 * @LastEditTime: 2023-07-19 14:53:41
 */

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

/**
 * @description: 业务办理-获取收藏业务集合
 * @author: renchao
 */
export function getCollectBiz () {
  return request({
    url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getCollectBiz',
    method: 'post'
  })
}
/**
 * @description: 业务办理-获取左侧菜单
 * @author: renchao
 */
export function getleftMenu () {
  return request({
    url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getleftMenu',
    method: 'post'
  })
}
/**
 * @description: 登记簿补录
 * @author: renchao
 */
export function getRepairBiz () {
  return request({
    url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getRepairBiz',
    method: 'post'
  })
}

/**
 * @description: 一并申请业务
 * @author: renchao
 */
export function getTogetherBiz () {
  return request({
    url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getTogetherBiz',
    method: 'post'
  })
}

/**
 * @description: 业务办理-获取下个节点内容
 * @param {*} bsmSqyw
 * @author: renchao
 */
export function getNextNode (bsmSqyw) {
  return request({
    url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getNextNode?parentid=' + bsmSqyw,
    method: 'post'
  })
}

/**
 * @description: 业务办理-业务申请-添加收藏业务
 * @param {*} bsmSqyw
 * @author: renchao
 */
export function addCollectBiz (bsmSqyw) {
  return request({
    url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/addCollectBiz?bsmSqyw=' + bsmSqyw,
    method: 'post'
  })
}

/**
 * @description: 业务办理-业务申请-取消收藏业务
 * @param {*} bsmSqyw
 * @author: renchao
 */
export function deleteCollectBiz (bsmSqyw) {
  return request({
    url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/deleteCollectBiz?bsmSqyw=' + bsmSqyw,
    method: 'post'
  })
}