8304ea81 by yuanbo

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

1 parent 82a60145
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
77 }) 76 })
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
90 }) 88 })
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 })
...@@ -142,30 +140,6 @@ export function selectCfdj (data) { ...@@ -142,30 +140,6 @@ export function selectCfdj (data) {
142 } 140 }
143 141
144 /** 142 /**
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 }
167
168 /**
169 * @description: 获取自然幢下其他户 143 * @description: 获取自然幢下其他户
170 * @param {*} data 144 * @param {*} data
171 * @author: renchao 145 * @author: renchao
......
...@@ -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 {
......
...@@ -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 {
......