businessApply.js
1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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: 业务办理
 * @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'
  })
}