抽取search.js,修改所有引用文件
Showing
6 changed files
with
142 additions
and
133 deletions
src/api/workflow/search.js
0 → 100644
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 | /** | ||
12 | * @description: 待办箱列表查询接口 | ||
13 | * @param {*} data | ||
14 | * @author: renchao | ||
15 | */ | ||
16 | export function searchTaskToDo (data) { | ||
17 | return request({ | ||
18 | url: SERVER.SERVERAPI + '/rest/workBox/search/searchTaskToDo', | ||
19 | method: 'post', | ||
20 | data | ||
21 | }) | ||
22 | } | ||
23 | |||
24 | /** | ||
25 | * @description: 已办箱列表查询接口 | ||
26 | * @param {*} data | ||
27 | * @author: renchao | ||
28 | */ | ||
29 | export function searchTaskDone (data) { | ||
30 | return request({ | ||
31 | url: SERVER.SERVERAPI + '/rest/workBox/search/searchTaskDone', | ||
32 | method: 'post', | ||
33 | data | ||
34 | }) | ||
35 | } |
... | @@ -65,39 +65,37 @@ export function getNextNode (bsmSqyw) { | ... | @@ -65,39 +65,37 @@ export function getNextNode (bsmSqyw) { |
65 | } | 65 | } |
66 | 66 | ||
67 | /** | 67 | /** |
68 | * @description: 业务办理-选择单元-根据条件进行列表查询-国有建设用地使用权、房屋所有权(首次登记) | 68 | * @description: 业务办理-业务申请-添加收藏业务 |
69 | * @param {*} data | 69 | * @param {*} bsmSqyw |
70 | * @author: renchao | 70 | * @author: renchao |
71 | */ | 71 | */ |
72 | export function selectScBdcdy (data) { | 72 | export function addCollectBiz (bsmSqyw) { |
73 | return request({ | 73 | return request({ |
74 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectScBdcdy', | 74 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/addCollectBiz?bsmSqyw=' + bsmSqyw, |
75 | method: 'post', | 75 | method: 'post' |
76 | data | 76 | }) |
77 | }) | ||
78 | } | 77 | } |
79 | 78 | ||
80 | /** | 79 | /** |
81 | * @description: 待办箱列表查询接口 | 80 | * @description: 业务办理-业务申请-取消收藏业务 |
82 | * @param {*} data | 81 | * @param {*} bsmSqyw |
83 | * @author: renchao | 82 | * @author: renchao |
84 | */ | 83 | */ |
85 | export function searchTaskToDo (data) { | 84 | export function deleteCollectBiz (bsmSqyw) { |
86 | return request({ | 85 | return request({ |
87 | url: SERVER.SERVERAPI + '/rest/workBox/search/searchTaskToDo', | 86 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/deleteCollectBiz?bsmSqyw=' + bsmSqyw, |
88 | method: 'post', | 87 | method: 'post' |
89 | data | 88 | }) |
90 | }) | ||
91 | } | 89 | } |
92 | 90 | ||
93 | /** | 91 | /** |
94 | * @description: 已办箱列表查询接口 | 92 | * @description: 业务办理-选择单元-根据条件进行列表查询-国有建设用地使用权、房屋所有权(首次登记) |
95 | * @param {*} data | 93 | * @param {*} data |
96 | * @author: renchao | 94 | * @author: renchao |
97 | */ | 95 | */ |
98 | export function searchTaskDone (data) { | 96 | export function selectScBdcdy (data) { |
99 | return request({ | 97 | return request({ |
100 | url: SERVER.SERVERAPI + '/rest/workBox/search/searchTaskDone', | 98 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectScBdcdy', |
101 | method: 'post', | 99 | method: 'post', |
102 | data | 100 | data |
103 | }) | 101 | }) |
... | @@ -108,11 +106,11 @@ export function searchTaskDone (data) { | ... | @@ -108,11 +106,11 @@ export function searchTaskDone (data) { |
108 | * @author: renchao | 106 | * @author: renchao |
109 | */ | 107 | */ |
110 | export function selectQlxx (data) { | 108 | export function selectQlxx (data) { |
111 | return request({ | 109 | return request({ |
112 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectQlxx', | 110 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectQlxx', |
113 | method: 'post', | 111 | method: 'post', |
114 | data | 112 | data |
115 | }) | 113 | }) |
116 | } | 114 | } |
117 | 115 | ||
118 | /** | 116 | /** |
... | @@ -121,11 +119,11 @@ export function selectQlxx (data) { | ... | @@ -121,11 +119,11 @@ export function selectQlxx (data) { |
121 | * @author: renchao | 119 | * @author: renchao |
122 | */ | 120 | */ |
123 | export function selectDiyaq (data) { | 121 | export function selectDiyaq (data) { |
124 | return request({ | 122 | return request({ |
125 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectDiyaq', | 123 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectDiyaq', |
126 | method: 'post', | 124 | method: 'post', |
127 | data | 125 | data |
128 | }) | 126 | }) |
129 | } | 127 | } |
130 | 128 | ||
131 | /** | 129 | /** |
... | @@ -134,35 +132,11 @@ export function selectDiyaq (data) { | ... | @@ -134,35 +132,11 @@ export function selectDiyaq (data) { |
134 | * @author: renchao | 132 | * @author: renchao |
135 | */ | 133 | */ |
136 | export function selectCfdj (data) { | 134 | export function selectCfdj (data) { |
137 | return request({ | 135 | return request({ |
138 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectCfdj', | 136 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectCfdj', |
139 | method: 'post', | 137 | method: 'post', |
140 | data | 138 | data |
141 | }) | 139 | }) |
142 | } | ||
143 | |||
144 | /** | ||
145 | * @description: 业务办理-业务申请-添加收藏业务 | ||
146 | * @param {*} bsmSqyw | ||
147 | * @author: renchao | ||
148 | */ | ||
149 | export function addCollectBiz (bsmSqyw) { | ||
150 | return request({ | ||
151 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/addCollectBiz?bsmSqyw=' + bsmSqyw, | ||
152 | method: 'post' | ||
153 | }) | ||
154 | } | ||
155 | |||
156 | /** | ||
157 | * @description: 业务办理-业务申请-取消收藏业务 | ||
158 | * @param {*} bsmSqyw | ||
159 | * @author: renchao | ||
160 | */ | ||
161 | export function deleteCollectBiz (bsmSqyw) { | ||
162 | return request({ | ||
163 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/deleteCollectBiz?bsmSqyw=' + bsmSqyw, | ||
164 | method: 'post' | ||
165 | }) | ||
166 | } | 140 | } |
167 | 141 | ||
168 | /** | 142 | /** |
... | @@ -171,11 +145,11 @@ export function deleteCollectBiz (bsmSqyw) { | ... | @@ -171,11 +145,11 @@ export function deleteCollectBiz (bsmSqyw) { |
171 | * @author: renchao | 145 | * @author: renchao |
172 | */ | 146 | */ |
173 | export function selectOtherH (data) { | 147 | export function selectOtherH (data) { |
174 | return request({ | 148 | return request({ |
175 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectOtherH', | 149 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectOtherH', |
176 | method: 'post', | 150 | method: 'post', |
177 | data | 151 | data |
178 | }) | 152 | }) |
179 | } | 153 | } |
180 | 154 | ||
181 | /** | 155 | /** |
... | @@ -184,11 +158,11 @@ export function selectOtherH (data) { | ... | @@ -184,11 +158,11 @@ export function selectOtherH (data) { |
184 | * @author: renchao | 158 | * @author: renchao |
185 | */ | 159 | */ |
186 | export function selectNydsyqQlxx (data) { | 160 | export function selectNydsyqQlxx (data) { |
187 | return request({ | 161 | return request({ |
188 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectNydsyqQlxx', | 162 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectNydsyqQlxx', |
189 | method: 'post', | 163 | method: 'post', |
190 | data | 164 | data |
191 | }) | 165 | }) |
192 | } | 166 | } |
193 | 167 | ||
194 | 168 | ||
... | @@ -198,33 +172,33 @@ export function selectNydsyqQlxx (data) { | ... | @@ -198,33 +172,33 @@ export function selectNydsyqQlxx (data) { |
198 | * @author: renchao | 172 | * @author: renchao |
199 | */ | 173 | */ |
200 | export function selectZdjbxx (data) { | 174 | export function selectZdjbxx (data) { |
201 | return request({ | 175 | return request({ |
202 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZdjbxx', | 176 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZdjbxx', |
203 | method: 'post', | 177 | method: 'post', |
204 | data | 178 | data |
205 | }) | 179 | }) |
206 | } | 180 | } |
207 | 181 | ||
208 | /* | 182 | /* |
209 | 业务办理-选择单元-查询宗地基本信息 | 183 | 业务办理-选择单元-查询宗地基本信息 |
210 | */ | 184 | */ |
211 | export function selectZdjbxxSplitMergeLast (data) { | 185 | export function selectZdjbxxSplitMergeLast (data) { |
212 | return request({ | 186 | return request({ |
213 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZdjbxxSplitMergeLast', | 187 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZdjbxxSplitMergeLast', |
214 | method: 'post', | 188 | method: 'post', |
215 | data | 189 | data |
216 | }) | 190 | }) |
217 | } | 191 | } |
218 | 192 | ||
219 | /* | 193 | /* |
220 | 业务办理-选择单元-查询自然幢信息 | 194 | 业务办理-选择单元-查询自然幢信息 |
221 | */ | 195 | */ |
222 | export function selectZrz (data) { | 196 | export function selectZrz (data) { |
223 | return request({ | 197 | return request({ |
224 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZrzQjdc', | 198 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZrzQjdc', |
225 | method: 'post', | 199 | method: 'post', |
226 | data | 200 | data |
227 | }) | 201 | }) |
228 | } | 202 | } |
229 | 203 | ||
230 | /** | 204 | /** |
... | @@ -233,11 +207,11 @@ export function selectZrz (data) { | ... | @@ -233,11 +207,11 @@ export function selectZrz (data) { |
233 | * @author: renchao | 207 | * @author: renchao |
234 | */ | 208 | */ |
235 | export function selectDz (data) { | 209 | export function selectDz (data) { |
236 | return request({ | 210 | return request({ |
237 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectDz', | 211 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectDz', |
238 | method: 'post', | 212 | method: 'post', |
239 | data | 213 | data |
240 | }) | 214 | }) |
241 | } | 215 | } |
242 | 216 | ||
243 | 217 | ||
... | @@ -245,11 +219,11 @@ export function selectDz (data) { | ... | @@ -245,11 +219,11 @@ export function selectDz (data) { |
245 | 业务办理-选择单元-查询户信息 | 219 | 业务办理-选择单元-查询户信息 |
246 | */ | 220 | */ |
247 | export function selectH (data) { | 221 | export function selectH (data) { |
248 | return request({ | 222 | return request({ |
249 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectH', | 223 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectH', |
250 | method: 'post', | 224 | method: 'post', |
251 | data | 225 | data |
252 | }) | 226 | }) |
253 | } | 227 | } |
254 | 228 | ||
255 | /** | 229 | /** |
... | @@ -271,22 +245,22 @@ export function selectTdsyqQlxx (data) { | ... | @@ -271,22 +245,22 @@ export function selectTdsyqQlxx (data) { |
271 | * @author: renchao | 245 | * @author: renchao |
272 | */ | 246 | */ |
273 | export function selectJsydQlxx (data) { | 247 | export function selectJsydQlxx (data) { |
274 | return request({ | 248 | return request({ |
275 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectJsydQlxx', | 249 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectJsydQlxx', |
276 | method: 'post', | 250 | method: 'post', |
277 | data | 251 | data |
278 | }) | 252 | }) |
279 | } | 253 | } |
280 | 254 | ||
281 | /* | 255 | /* |
282 | 业务办理-选择单元-查询建设用地、宅基地信息 | 256 | 业务办理-选择单元-查询建设用地、宅基地信息 |
283 | */ | 257 | */ |
284 | export function selectJsydQlxxSplitMergeBefore (data) { | 258 | export function selectJsydQlxxSplitMergeBefore (data) { |
285 | return request({ | 259 | return request({ |
286 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectJsydQlxxSplitMergeBefore', | 260 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectJsydQlxxSplitMergeBefore', |
287 | method: 'post', | 261 | method: 'post', |
288 | data | 262 | data |
289 | }) | 263 | }) |
290 | } | 264 | } |
291 | 265 | ||
292 | /** | 266 | /** |
... | @@ -295,11 +269,11 @@ export function selectJsydQlxxSplitMergeBefore (data) { | ... | @@ -295,11 +269,11 @@ export function selectJsydQlxxSplitMergeBefore (data) { |
295 | * @returns {*} | 269 | * @returns {*} |
296 | */ | 270 | */ |
297 | export function selectFwsyq (data) { | 271 | export function selectFwsyq (data) { |
298 | return request({ | 272 | return request({ |
299 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectFwsyqQlxx', | 273 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectFwsyqQlxx', |
300 | method: 'post', | 274 | method: 'post', |
301 | data | 275 | data |
302 | }) | 276 | }) |
303 | } | 277 | } |
304 | /** | 278 | /** |
305 | * 业务办理-预告登记-选择权利信息-根据条件进行列表查询 | 279 | * 业务办理-预告登记-选择权利信息-根据条件进行列表查询 |
... | @@ -307,11 +281,11 @@ export function selectFwsyq (data) { | ... | @@ -307,11 +281,11 @@ export function selectFwsyq (data) { |
307 | * @returns {*} | 281 | * @returns {*} |
308 | */ | 282 | */ |
309 | export function selectYgdj100 (data) { | 283 | export function selectYgdj100 (data) { |
310 | return request({ | 284 | return request({ |
311 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdj100', | 285 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdj100', |
312 | method: 'post', | 286 | method: 'post', |
313 | data | 287 | data |
314 | }) | 288 | }) |
315 | } | 289 | } |
316 | /** | 290 | /** |
317 | * 业务办理-预告登记-选择权利信息-根据条件进行列表查询 | 291 | * 业务办理-预告登记-选择权利信息-根据条件进行列表查询 |
... | @@ -319,11 +293,11 @@ export function selectYgdj100 (data) { | ... | @@ -319,11 +293,11 @@ export function selectYgdj100 (data) { |
319 | * @returns {*} | 293 | * @returns {*} |
320 | */ | 294 | */ |
321 | export function selectYgdj200 (data) { | 295 | export function selectYgdj200 (data) { |
322 | return request({ | 296 | return request({ |
323 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdj200', | 297 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdj200', |
324 | method: 'post', | 298 | method: 'post', |
325 | data | 299 | data |
326 | }) | 300 | }) |
327 | } | 301 | } |
328 | /** | 302 | /** |
329 | * 业务办理-预告抵押登记-选择权利信息-根据条件进行列表查询 | 303 | * 业务办理-预告抵押登记-选择权利信息-根据条件进行列表查询 |
... | @@ -331,11 +305,11 @@ export function selectYgdj200 (data) { | ... | @@ -331,11 +305,11 @@ export function selectYgdj200 (data) { |
331 | * @returns {*} | 305 | * @returns {*} |
332 | */ | 306 | */ |
333 | export function selectYgdy (data) { | 307 | export function selectYgdy (data) { |
334 | return request({ | 308 | return request({ |
335 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdy', | 309 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdy', |
336 | method: 'post', | 310 | method: 'post', |
337 | data | 311 | data |
338 | }) | 312 | }) |
339 | } | 313 | } |
340 | /** | 314 | /** |
341 | * 根据自然幢查询房屋信息 | 315 | * 根据自然幢查询房屋信息 |
... | @@ -343,9 +317,9 @@ export function selectYgdy (data) { | ... | @@ -343,9 +317,9 @@ export function selectYgdy (data) { |
343 | * @returns {*} | 317 | * @returns {*} |
344 | */ | 318 | */ |
345 | export function selectHQjdc (data) { | 319 | export function selectHQjdc (data) { |
346 | return request({ | 320 | return request({ |
347 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectHQjdc', | 321 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectHQjdc', |
348 | method: 'post', | 322 | method: 'post', |
349 | data | 323 | data |
350 | }) | 324 | }) |
351 | } | 325 | } | ... | ... |
... | @@ -13,7 +13,7 @@ | ... | @@ -13,7 +13,7 @@ |
13 | <script> | 13 | <script> |
14 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; | 14 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; |
15 | import { loadTreeData, getNode } from "./djbFrameData.js"; | 15 | import { loadTreeData, getNode } from "./djbFrameData.js"; |
16 | import { searchTaskToDo } from "@/api/ywbl"; | 16 | import { searchTaskToDo } from "@/api/workflow/search.js"; |
17 | import { | 17 | import { |
18 | leftMenu | 18 | leftMenu |
19 | } from "@/api/workFlow.js"; | 19 | } from "@/api/workFlow.js"; | ... | ... |
... | @@ -104,7 +104,7 @@ | ... | @@ -104,7 +104,7 @@ |
104 | import table from "@/utils/mixin/table"; | 104 | import table from "@/utils/mixin/table"; |
105 | import searchMin from "../components/mixin/index"; | 105 | import searchMin from "../components/mixin/index"; |
106 | import { datas, sendThis } from "./dbxdata"; | 106 | import { datas, sendThis } from "./dbxdata"; |
107 | import { searchTaskToDo } from "@/api/ywbl"; | 107 | import { searchTaskToDo } from "@/api/workflow/search.js"; |
108 | import { judgeUserTaskPermission, deleteFlow, claimTask } from "@/api/workFlow.js"; | 108 | import { judgeUserTaskPermission, deleteFlow, claimTask } from "@/api/workFlow.js"; |
109 | import { log } from 'bpmn-js-token-simulation'; | 109 | import { log } from 'bpmn-js-token-simulation'; |
110 | export default { | 110 | export default { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-13 16:31:05 | 4 | * @LastEditTime: 2023-07-13 16:31:05 |
5 | --> | 5 | --> |
... | @@ -130,7 +130,7 @@ | ... | @@ -130,7 +130,7 @@ |
130 | import searchMin from "../components/mixin/index"; | 130 | import searchMin from "../components/mixin/index"; |
131 | import table from "@/utils/mixin/table"; | 131 | import table from "@/utils/mixin/table"; |
132 | import { datas, sendThis } from "./ybxdata"; | 132 | import { datas, sendThis } from "./ybxdata"; |
133 | import { searchTaskDone } from "@/api/ywbl"; | 133 | import { searchTaskDone } from "@/api/workflow/search.js"; |
134 | import searchBox from "../components/search.vue"; | 134 | import searchBox from "../components/search.vue"; |
135 | export default { | 135 | export default { |
136 | name: "ybx", | 136 | name: "ybx", | ... | ... |
... | @@ -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" | 94 | import { getCollectBiz, getleftMenu, getNextNode, getRepairBiz, getTogetherBiz, addCollectBiz, deleteCollectBiz } from "@/api/ywbl.js" |
95 | export default { | 95 | export default { |
96 | data () { | 96 | data () { |
97 | return { | 97 | return { | ... | ... |
-
Please register or sign in to post a comment