8304ea81 by yuanbo

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

1 parent 82a60145
/*
* @Description: 待办已办箱
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:13:24
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/**
* @description: 待办箱列表查询接口
* @param {*} data
* @author: renchao
*/
export function searchTaskToDo (data) {
return request({
url: SERVER.SERVERAPI + '/rest/workBox/search/searchTaskToDo',
method: 'post',
data
})
}
/**
* @description: 已办箱列表查询接口
* @param {*} data
* @author: renchao
*/
export function searchTaskDone (data) {
return request({
url: SERVER.SERVERAPI + '/rest/workBox/search/searchTaskDone',
method: 'post',
data
})
}
......@@ -65,39 +65,37 @@ export function getNextNode (bsmSqyw) {
}
/**
* @description: 业务办理-选择单元-根据条件进行列表查询-国有建设用地使用权、房屋所有权(首次登记)
* @param {*} data
* @description: 业务办理-业务申请-添加收藏业务
* @param {*} bsmSqyw
* @author: renchao
*/
export function selectScBdcdy (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectScBdcdy',
method: 'post',
data
})
export function addCollectBiz (bsmSqyw) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/addCollectBiz?bsmSqyw=' + bsmSqyw,
method: 'post'
})
}
/**
* @description: 待办箱列表查询接口
* @param {*} data
* @description: 业务办理-业务申请-取消收藏业务
* @param {*} bsmSqyw
* @author: renchao
*/
export function searchTaskToDo (data) {
return request({
url: SERVER.SERVERAPI + '/rest/workBox/search/searchTaskToDo',
method: 'post',
data
})
export function deleteCollectBiz (bsmSqyw) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/deleteCollectBiz?bsmSqyw=' + bsmSqyw,
method: 'post'
})
}
/**
* @description: 已办箱列表查询接口
* @description: 业务办理-选择单元-根据条件进行列表查询-国有建设用地使用权、房屋所有权(首次登记)
* @param {*} data
* @author: renchao
*/
export function searchTaskDone (data) {
export function selectScBdcdy (data) {
return request({
url: SERVER.SERVERAPI + '/rest/workBox/search/searchTaskDone',
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectScBdcdy',
method: 'post',
data
})
......@@ -108,11 +106,11 @@ export function searchTaskDone (data) {
* @author: renchao
*/
export function selectQlxx (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectQlxx',
method: 'post',
data
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectQlxx',
method: 'post',
data
})
}
/**
......@@ -121,11 +119,11 @@ export function selectQlxx (data) {
* @author: renchao
*/
export function selectDiyaq (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectDiyaq',
method: 'post',
data
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectDiyaq',
method: 'post',
data
})
}
/**
......@@ -134,35 +132,11 @@ export function selectDiyaq (data) {
* @author: renchao
*/
export function selectCfdj (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectCfdj',
method: 'post',
data
})
}
/**
* @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'
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectCfdj',
method: 'post',
data
})
}
/**
......@@ -171,11 +145,11 @@ export function deleteCollectBiz (bsmSqyw) {
* @author: renchao
*/
export function selectOtherH (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectOtherH',
method: 'post',
data
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectOtherH',
method: 'post',
data
})
}
/**
......@@ -184,11 +158,11 @@ export function selectOtherH (data) {
* @author: renchao
*/
export function selectNydsyqQlxx (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectNydsyqQlxx',
method: 'post',
data
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectNydsyqQlxx',
method: 'post',
data
})
}
......@@ -198,33 +172,33 @@ export function selectNydsyqQlxx (data) {
* @author: renchao
*/
export function selectZdjbxx (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZdjbxx',
method: 'post',
data
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZdjbxx',
method: 'post',
data
})
}
/*
业务办理-选择单元-查询宗地基本信息
*/
export function selectZdjbxxSplitMergeLast (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZdjbxxSplitMergeLast',
method: 'post',
data
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZdjbxxSplitMergeLast',
method: 'post',
data
})
}
/*
业务办理-选择单元-查询自然幢信息
*/
export function selectZrz (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZrzQjdc',
method: 'post',
data
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZrzQjdc',
method: 'post',
data
})
}
/**
......@@ -233,11 +207,11 @@ export function selectZrz (data) {
* @author: renchao
*/
export function selectDz (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectDz',
method: 'post',
data
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectDz',
method: 'post',
data
})
}
......@@ -245,11 +219,11 @@ export function selectDz (data) {
业务办理-选择单元-查询户信息
*/
export function selectH (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectH',
method: 'post',
data
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectH',
method: 'post',
data
})
}
/**
......@@ -271,22 +245,22 @@ export function selectTdsyqQlxx (data) {
* @author: renchao
*/
export function selectJsydQlxx (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectJsydQlxx',
method: 'post',
data
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectJsydQlxx',
method: 'post',
data
})
}
/*
业务办理-选择单元-查询建设用地、宅基地信息
*/
export function selectJsydQlxxSplitMergeBefore (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectJsydQlxxSplitMergeBefore',
method: 'post',
data
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectJsydQlxxSplitMergeBefore',
method: 'post',
data
})
}
/**
......@@ -295,11 +269,11 @@ export function selectJsydQlxxSplitMergeBefore (data) {
* @returns {*}
*/
export function selectFwsyq (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectFwsyqQlxx',
method: 'post',
data
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectFwsyqQlxx',
method: 'post',
data
})
}
/**
* 业务办理-预告登记-选择权利信息-根据条件进行列表查询
......@@ -307,11 +281,11 @@ export function selectFwsyq (data) {
* @returns {*}
*/
export function selectYgdj100 (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdj100',
method: 'post',
data
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdj100',
method: 'post',
data
})
}
/**
* 业务办理-预告登记-选择权利信息-根据条件进行列表查询
......@@ -319,11 +293,11 @@ export function selectYgdj100 (data) {
* @returns {*}
*/
export function selectYgdj200 (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdj200',
method: 'post',
data
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdj200',
method: 'post',
data
})
}
/**
* 业务办理-预告抵押登记-选择权利信息-根据条件进行列表查询
......@@ -331,11 +305,11 @@ export function selectYgdj200 (data) {
* @returns {*}
*/
export function selectYgdy (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdy',
method: 'post',
data
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdy',
method: 'post',
data
})
}
/**
* 根据自然幢查询房屋信息
......@@ -343,9 +317,9 @@ export function selectYgdy (data) {
* @returns {*}
*/
export function selectHQjdc (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectHQjdc',
method: 'post',
data
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectHQjdc',
method: 'post',
data
})
}
......
......@@ -13,7 +13,7 @@
<script>
import { getBdcqljqtsx } from "@/api/djbDetail.js";
import { loadTreeData, getNode } from "./djbFrameData.js";
import { searchTaskToDo } from "@/api/ywbl";
import { searchTaskToDo } from "@/api/workflow/search.js";
import {
leftMenu
} from "@/api/workFlow.js";
......
......@@ -104,7 +104,7 @@
import table from "@/utils/mixin/table";
import searchMin from "../components/mixin/index";
import { datas, sendThis } from "./dbxdata";
import { searchTaskToDo } from "@/api/ywbl";
import { searchTaskToDo } from "@/api/workflow/search.js";
import { judgeUserTaskPermission, deleteFlow, claimTask } from "@/api/workFlow.js";
import { log } from 'bpmn-js-token-simulation';
export default {
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-13 16:31:05
-->
......@@ -130,7 +130,7 @@
import searchMin from "../components/mixin/index";
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./ybxdata";
import { searchTaskDone } from "@/api/ywbl";
import { searchTaskDone } from "@/api/workflow/search.js";
import searchBox from "../components/search.vue";
export default {
name: "ybx",
......
......@@ -91,7 +91,7 @@
</div>
</template>
<script>
import { getCollectBiz, getleftMenu, getNextNode, getRepairBiz, getTogetherBiz, addCollectBiz, deleteCollectBiz } from "@/api/ywbl"
import { getCollectBiz, getleftMenu, getNextNode, getRepairBiz, getTogetherBiz, addCollectBiz, deleteCollectBiz } from "@/api/ywbl.js"
export default {
data () {
return {
......