60c4e560 by yuanbo

抽取businessApply.js,修改所有引用文件

1 parent 8304ea81
1 /*
2 * @Description: 业务办理
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:13:24
5 */
6
7 import request from '@/utils/request'
8 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
9
10 /**
11 * @description: 业务办理-获取收藏业务集合
12 * @author: renchao
13 */
14 export function getCollectBiz () {
15 return request({
16 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getCollectBiz',
17 method: 'post'
18 })
19 }
20
21
22 /**
23 * @description: 业务办理-获取左侧菜单
24 * @author: renchao
25 */
26 export function getleftMenu () {
27 return request({
28 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getleftMenu',
29 method: 'post'
30 })
31 }
32
33 /**
34 * @description: 登记簿补录
35 * @author: renchao
36 */
37 export function getRepairBiz () {
38 return request({
39 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getRepairBiz',
40 method: 'post'
41 })
42 }
43
44 /**
45 * @description: 一并申请业务
46 * @author: renchao
47 */
48 export function getTogetherBiz () {
49 return request({
50 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getTogetherBiz',
51 method: 'post'
52 })
53 }
54
55 /**
56 * @description: 业务办理-获取下个节点内容
57 * @param {*} bsmSqyw
58 * @author: renchao
59 */
60 export function getNextNode (bsmSqyw) {
61 return request({
62 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getNextNode?parentid=' + bsmSqyw,
63 method: 'post'
64 })
65 }
66
67 /**
68 * @description: 业务办理-业务申请-添加收藏业务
69 * @param {*} bsmSqyw
70 * @author: renchao
71 */
72 export function addCollectBiz (bsmSqyw) {
73 return request({
74 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/addCollectBiz?bsmSqyw=' + bsmSqyw,
75 method: 'post'
76 })
77 }
78
79 /**
80 * @description: 业务办理-业务申请-取消收藏业务
81 * @param {*} bsmSqyw
82 * @author: renchao
83 */
84 export function deleteCollectBiz (bsmSqyw) {
85 return request({
86 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/deleteCollectBiz?bsmSqyw=' + bsmSqyw,
87 method: 'post'
88 })
89 }
...@@ -43,18 +43,6 @@ export function selectCfdj (data) { ...@@ -43,18 +43,6 @@ export function selectCfdj (data) {
43 } 43 }
44 44
45 /** 45 /**
46 * @description: 业务办理-业务申请-添加收藏业务
47 * @param {*} bsmSqyw
48 * @author: renchao
49 */
50 export function deleteCollectBiz (bsmSqyw) {
51 return request({
52 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/deleteCollectBiz?bsmSqyw=' + bsmSqyw,
53 method: 'post'
54 })
55 }
56
57 /**
58 * @description: 选择补录权利信息 46 * @description: 选择补录权利信息
59 * @param {*} data 47 * @param {*} data
60 * @author: renchao 48 * @author: renchao
......
...@@ -8,87 +8,6 @@ import request from '@/utils/request' ...@@ -8,87 +8,6 @@ import request from '@/utils/request'
8 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 8 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
9 9
10 /** 10 /**
11 * @description: 业务办理-获取收藏业务集合
12 * @author: renchao
13 */
14 export function getCollectBiz () {
15 return request({
16 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getCollectBiz',
17 method: 'post'
18 })
19 }
20
21
22 /**
23 * @description: 业务办理-获取左侧菜单
24 * @author: renchao
25 */
26 export function getleftMenu () {
27 return request({
28 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getleftMenu',
29 method: 'post'
30 })
31 }
32
33 /**
34 * @description: 登记簿补录
35 * @author: renchao
36 */
37 export function getRepairBiz () {
38 return request({
39 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getRepairBiz',
40 method: 'post'
41 })
42 }
43
44 /**
45 * @description: 一并申请业务
46 * @author: renchao
47 */
48 export function getTogetherBiz () {
49 return request({
50 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getTogetherBiz',
51 method: 'post'
52 })
53 }
54
55 /**
56 * @description: 业务办理-获取下个节点内容
57 * @param {*} bsmSqyw
58 * @author: renchao
59 */
60 export function getNextNode (bsmSqyw) {
61 return request({
62 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getNextNode?parentid=' + bsmSqyw,
63 method: 'post'
64 })
65 }
66
67 /**
68 * @description: 业务办理-业务申请-添加收藏业务
69 * @param {*} bsmSqyw
70 * @author: renchao
71 */
72 export function addCollectBiz (bsmSqyw) {
73 return request({
74 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/addCollectBiz?bsmSqyw=' + bsmSqyw,
75 method: 'post'
76 })
77 }
78
79 /**
80 * @description: 业务办理-业务申请-取消收藏业务
81 * @param {*} bsmSqyw
82 * @author: renchao
83 */
84 export function deleteCollectBiz (bsmSqyw) {
85 return request({
86 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/deleteCollectBiz?bsmSqyw=' + bsmSqyw,
87 method: 'post'
88 })
89 }
90
91 /**
92 * @description: 业务办理-选择单元-根据条件进行列表查询-国有建设用地使用权、房屋所有权(首次登记) 11 * @description: 业务办理-选择单元-根据条件进行列表查询-国有建设用地使用权、房屋所有权(首次登记)
93 * @param {*} data 12 * @param {*} data
94 * @author: renchao 13 * @author: renchao
......
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
91 </div> 91 </div>
92 </template> 92 </template>
93 <script> 93 <script>
94 import { getCollectBiz, getleftMenu, getNextNode, getRepairBiz, getTogetherBiz, addCollectBiz, deleteCollectBiz } from "@/api/ywbl.js" 94 import { getCollectBiz, getleftMenu, getNextNode, getRepairBiz, getTogetherBiz, addCollectBiz, deleteCollectBiz } from "@/api/businessApply.js"
95 export default { 95 export default {
96 data () { 96 data () {
97 return { 97 return {
......