Blame view

src/api/ywbl.js 6.52 KB
1
import request from '@/utils/request'
任超 committed
2
import SERVER from './config'
3
/*
任超 committed
4
业务办理-获取收藏业务集合
5
*/
任超 committed
6
export function getCollectBiz () {
任超 committed
7
    return request({
任超 committed
8
        url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getCollectBiz',
任超 committed
9
        method: 'post'
任超 committed
10 11 12
    })
}

13
/*
任超 committed
14 15 16 17
业务办理-获取左侧菜单
*/
export function getleftMenu () {
    return request({
任超 committed
18
        url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getleftMenu',
任超 committed
19
        method: 'post'
任超 committed
20 21
    })
}
22
/*
任超 committed
23 24
业务办理-获取下个节点内容
*/
任超 committed
25
export function getNextNode (bsmSqyw) {
任超 committed
26
    return request({
任超 committed
27
        url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getNextNode?parentid=' + bsmSqyw,
任超 committed
28
        method: 'post'
任超 committed
29 30 31
    })
}

32
/*
jiaozeping@pashanhoo.com committed
33
业务办理-选择单元-根据条件进行列表查询-国有建设用地使用权、房屋所有权(首次登记)
任超 committed
34
*/
任超 committed
35
export function selectScBdcdy (data) {
36
    return request({
任超 committed
37
        url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectScBdcdy',
38
        method: 'post',
任超 committed
39
        data
40 41
    })
}
任超 committed
42

43
// /*
jiaozeping@pashanhoo.com committed
44 45 46 47 48 49
// 业务办理-选择单元-根据条件进行列表查询-房屋所有权
// */
// export function selectFwsyq (data) {
//     return request({
//         url: 'ywbl/ywsq/selectFwsyq',
//         method: 'post',
任超 committed
50
//         data
jiaozeping@pashanhoo.com committed
51 52 53
//         showLoading: true
//     })
// }
任超 committed
54

liangyifan committed
55
// 待办箱列表查询接口
任超 committed
56
export function searchTaskToDo (data) {
liangyifan committed
57
    return request({
任超 committed
58
        url: SERVER.SERVERAPI + '/rest/workBox/search/searchTaskToDo',
liangyifan committed
59
        method: 'post',
任超 committed
60
        data
liangyifan committed
61 62
    })
}
蔡俊立 committed
63
// 待办箱/不动产单元删除接口
任超 committed
64
export function deleteFlow (data) {
liangyifan committed
65
    return request({
蔡俊立 committed
66
        url: SERVER.SERVERAPI + '/rest/business/workFlow/deleteFlow',
liangyifan committed
67
        method: 'post',
任超 committed
68
        data
liangyifan committed
69 70
    })
}
71
/*
任超 committed
72 73
业务办理-发起业务申请流程
*/
任超 committed
74
export function startBusinessFlow (data) {
任超 committed
75
    return request({
任超 committed
76
        url: SERVER.SERVERAPI + '/rest/business/workFlow/startBusinessFlow',
任超 committed
77
        method: 'post',
任超 committed
78
        data
任超 committed
79
    })
80
}
81
/*
蔡俊立 committed
82 83
已办箱列表查询接口
*/
任超 committed
84
export function searchTaskDone (data) {
蔡俊立 committed
85
    return request({
任超 committed
86
        url: SERVER.SERVERAPI + '/rest/workBox/search/searchTaskDone',
蔡俊立 committed
87
        method: 'post',
任超 committed
88
        data
蔡俊立 committed
89 90
    })
}
91
/*
蔡俊立 committed
92 93
业务办理-选择权利信息-根据条件进行列表查询
*/
任超 committed
94
export function selectQlxx (data) {
蔡俊立 committed
95
    return request({
任超 committed
96
        url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectQlxx',
蔡俊立 committed
97
        method: 'post',
任超 committed
98
        data
蔡俊立 committed
99 100
    })
}
101
/*
蔡俊立 committed
102 103
业务办理-选择抵押权信息-根据条件进行列表查询
*/
任超 committed
104
export function selectDiyaq (data) {
蔡俊立 committed
105
    return request({
任超 committed
106
        url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectDiyaq',
蔡俊立 committed
107
        method: 'post',
任超 committed
108
        data
蔡俊立 committed
109 110
    })
}
111
/*
蔡俊立 committed
112 113
业务办理-选择查封信息-根据条件进行列表查询
*/
任超 committed
114
export function selectCfdj (data) {
蔡俊立 committed
115
    return request({
任超 committed
116
        url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectCfdj',
蔡俊立 committed
117
        method: 'post',
任超 committed
118
        data
蔡俊立 committed
119 120
    })
}
121
/*
任超 committed
122 123 124 125
业务办理-业务申请-添加收藏业务
*/
export function addCollectBiz (bsmSqyw) {
    return request({
任超 committed
126
        url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/addCollectBiz?bsmSqyw=' + bsmSqyw,
任超 committed
127 128 129
        method: 'post'
    })
}
130
/*
任超 committed
131 132 133 134
业务办理-业务申请-添加收藏业务
*/
export function deleteCollectBiz (bsmSqyw) {
    return request({
任超 committed
135
        url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/deleteCollectBiz?bsmSqyw=' + bsmSqyw,
任超 committed
136 137
        method: 'post'
    })
任超 committed
138 139
}
// 国有建设用地使用权/房屋使用权 -选择不动产单元
任超 committed
140
export function choiceBdcdy (data) {
任超 committed
141
    return request({
蔡俊立 committed
142
        url: SERVER.SERVERAPI + '/rest/business/workFlow/choiceBdcdy',
任超 committed
143
        method: 'post',
任超 committed
144
        data
任超 committed
145 146 147 148
    })
}

// 申请列表删除
任超 committed
149
export function deleteBdcdy (data) {
任超 committed
150
    return request({
蔡俊立 committed
151
        url: SERVER.SERVERAPI + '/rest/business/workFlow/deleteBdcdy',
蔡俊立 committed
152
        method: 'post',
任超 committed
153
        data
任超 committed
154
    })
蔡俊立 committed
155 156 157
}

// 获取自然幢下其他户
任超 committed
158
export function selectOtherH (data) {
蔡俊立 committed
159
    return request({
蔡俊立 committed
160
        url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectOtherH',
蔡俊立 committed
161
        method: 'post',
任超 committed
162
        data
蔡俊立 committed
163
    })
蔡俊立 committed
164 165 166
}

// 认领任务
任超 committed
167
export function claimTask (bsmSlsq, bestepid) {
蔡俊立 committed
168 169 170 171 172 173 174
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/claimTask?bsmSlsq=' + bsmSlsq + '&bestepid=' + bestepid,
        method: 'get',
    })
}

// 取消认领任务
任超 committed
175
export function unClaimTask (bsmSlsq, bestepid) {
蔡俊立 committed
176 177 178 179
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/unClaimTask?bsmSlsq=' + bsmSlsq + '&bestepid=' + bestepid,
        method: 'get',
    })
任超 committed
180 181 182 183 184 185 186 187 188 189 190
}

// 业务办理-选择农用地信息-根据条件进行列表查询
export function selectNydsyqQlxx (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectNydsyqQlxx',
        method: 'post',
        data
    })
}

191
/*
任超 committed
192 193 194 195 196 197 198 199 200
业务办理-选择单元-查询宗地基本信息
*/
export function selectZdjbxx (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZdjbxx',
        method: 'post',
        data
    })
}
201
/*
任超 committed
202 203 204 205 206 207 208 209 210 211
业务办理-选择单元-查询自然幢信息
*/
export function selectZrz (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZrz',
        method: 'post',
        data
    })
}

212
/*
任超 committed
213 214 215 216 217 218 219 220
业务办理-选择单元-查询户信息
*/
export function selectH (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectH',
        method: 'post',
        data
    })
221 222
}

223
/*
224 225 226 227 228 229 230 231
业务办理-选择单元-查询建设用地、宅基地信息
*/
export function selectJsydQlxx (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectJsydQlxx',
        method: 'post',
        data
    })
232 233 234 235 236 237 238 239 240 241 242 243 244 245
}

/**
 * 业务办理-选择权利信息-根据条件进行列表查询
 * @param data
 * @returns {*}
 */
export function selectFwsyq (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectFwsyq',
    method: 'post',
    data
  })
}
246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269
/**
 * 业务办理-预告登记-选择权利信息-根据条件进行列表查询
 * @param data
 * @returns {*}
 */
export function selectYgdj100 (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdj100',
    method: 'post',
    data
  })
}
/**
 * 业务办理-预告登记-选择权利信息-根据条件进行列表查询
 * @param data
 * @returns {*}
 */
export function selectYgdj200 (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdj200',
    method: 'post',
    data
  })
}
270 271 272 273 274 275 276 277 278 279 280 281
/**
 * 业务办理-预告抵押登记-选择权利信息-根据条件进行列表查询
 * @param data
 * @returns {*}
 */
export function selectYgdy (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdy',
    method: 'post',
    data
  })
}