ee6f7de1 by yuanbo

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

1 parent deb2c47b
/*
* @Description: 综合查询
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:23:50
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/**
* @description: 根据条件进行列表查询
* @param {*} data
* @author: renchao
*/
export function getDjbBysearch (data) {
return request({
url: SERVER.SERVERAPI + '/rest/zhcx/search/qlxx/getDjbBysearch',
method: 'post',
data: data
})
}
/**
* @description: 进度查询列表
* @param {*} data
* @author: renchao
*/
export function getJdcxBysearch (data) {
return request({
url: SERVER.SERVERAPI + '/rest/zhcx/search/getJdcxBysearch',
method: 'post',
data
})
}
/**
* @description: 证书领取查询
* @param {*} data
* @author: renchao
*/
export function getBdcqzReceiveList (data) {
return request({
url: SERVER.SERVERAPI + '/rest/zhcx/search/getBdcqzReceiveList',
method: 'post',
data
})
}
/**
* @description: 在建工程抵押查询
* @param {*} data
* @author: renchao
*/
export function getZjgcdyList (data) {
return request({
url: SERVER.SERVERAPI + '/rest/zhcx/search/getZjgcdyList',
method: 'post',
data
})
}
......@@ -8,19 +8,6 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap
/**
* @description: 根据条件进行列表查询
* @param {*} data
* @author: renchao
*/
export function getDjbBysearch (data) {
return request({
url: SERVER.SERVERAPI + '/rest/zhcx/search/qlxx/getDjbBysearch',
method: 'post',
data: data
})
}
/**
* @description: 获取登记封面
* @param {*} qlbsm
* @author: renchao
......@@ -192,44 +179,6 @@ export function getCfdjList (data) {
data
})
}
/**
* @description: 进度查询列表
* @param {*} data
* @author: renchao
*/
export function getJdcxBysearch (data) {
return request({
url: SERVER.SERVERAPI + '/rest/zhcx/search/getJdcxBysearch',
method: 'post',
data
})
}
/**
* @description: 证书领取查询
* @param {*} data
* @author: renchao
*/
export function getBdcqzReceiveList (data) {
return request({
url: SERVER.SERVERAPI + '/rest/zhcx/search/getBdcqzReceiveList',
method: 'post',
data
})
}
/**
* @description: 在建工程抵押查询
* @param {*} data
* @author: renchao
*/
export function getZjgcdyList (data) {
return request({
url: SERVER.SERVERAPI + '/rest/zhcx/search/getZjgcdyList',
method: 'post',
data
})
}
// 数据上报推送查询
export function getSjsbPushList (data) {
......
......@@ -92,7 +92,7 @@
import { mapGetters } from "vuex";
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./djbcxdata";
import { getDjbBysearch } from "@/api/zhcx.js";
import { getDjbBysearch } from "@/api/search.js";
export default {
name: "djbcx",
......
......@@ -83,7 +83,7 @@
import { mapGetters } from 'vuex'
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./jdcxdata";
import { getJdcxBysearch } from "@/api/zhcx.js"
import { getJdcxBysearch } from "@/api/search.js"
export default {
name: "jdcx",
components: {},
......
......@@ -50,8 +50,8 @@
<script>
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./zslqcx";
import { getBdcqzReceiveList } from "@/api/zhcx"
import { bdcqzPreview } from "@/api/bdcqz"
import { getBdcqzReceiveList } from "@/api/search.js"
import { bdcqzPreview } from "@/api/bdcqz.js"
export default {
components: {},
mixins: [table],
......
......@@ -48,7 +48,7 @@
<script>
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./zxgcdycx";
import { getZjgcdyList } from "@/api/zhcx"
import { getZjgcdyList } from "@/api/search.js"
export default {
components: {},
mixins: [table],
......