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) {
export function addCollectBiz (bsmSqyw) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectScBdcdy',
method: 'post',
data
url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/addCollectBiz?bsmSqyw=' + bsmSqyw,
method: 'post'
})
}
/**
* @description: 待办箱列表查询接口
* @param {*} data
* @description: 业务办理-业务申请-取消收藏业务
* @param {*} bsmSqyw
* @author: renchao
*/
export function searchTaskToDo (data) {
export function deleteCollectBiz (bsmSqyw) {
return request({
url: SERVER.SERVERAPI + '/rest/workBox/search/searchTaskToDo',
method: 'post',
data
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
})
......@@ -142,30 +140,6 @@ export function selectCfdj (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'
})
}
/**
* @description: 获取自然幢下其他户
* @param {*} data
* @author: renchao
......
......@@ -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 {
......
......@@ -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 {
......