Blame view

src/api/businessApply.js 1.92 KB
1 2 3
/*
 * @Description: 业务办理
 * @Autor: renchao
4
 * @LastEditTime: 2023-07-19 14:53:41
5 6 7 8 9 10 11 12 13 14
 */

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

/**
 * @description: 业务办理-获取收藏业务集合
 * @author: renchao
 */
export function getCollectBiz () {
15 16 17 18
  return request({
    url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getCollectBiz',
    method: 'post'
  })
19 20 21 22 23 24
}
/**
 * @description: 业务办理-获取左侧菜单
 * @author: renchao
 */
export function getleftMenu () {
25 26 27 28
  return request({
    url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getleftMenu',
    method: 'post'
  })
29 30 31 32 33
}
/**
 * @description: 登记簿补录
 * @author: renchao
 */
34
export function getRepairBiz () {
35 36
  return request({
    url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getRepairBiz',
37
    method: 'post'
38 39 40 41 42 43 44 45
  })
}

/**
 * @description: 一并申请业务
 * @author: renchao
 */
export function getTogetherBiz () {
46 47 48 49 50
  return request({
    url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getTogetherBiz',
    method: 'post'
  })
}
51 52 53 54 55 56 57

/**
 * @description: 业务办理-获取下个节点内容
 * @param {*} bsmSqyw
 * @author: renchao
 */
export function getNextNode (bsmSqyw) {
58 59 60 61
  return request({
    url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getNextNode?parentid=' + bsmSqyw,
    method: 'post'
  })
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
}

/**
 * @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'
  })
}