抽取search.js,修改所有引用文件
Showing
6 changed files
with
69 additions
and
58 deletions
src/api/search.js
0 → 100644
1 | /* | ||
2 | * @Description: 综合查询 | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-17 10:23:50 | ||
5 | */ | ||
6 | import request from '@/utils/request' | ||
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | ||
8 | |||
9 | |||
10 | /** | ||
11 | * @description: 根据条件进行列表查询 | ||
12 | * @param {*} data | ||
13 | * @author: renchao | ||
14 | */ | ||
15 | export function getDjbBysearch (data) { | ||
16 | return request({ | ||
17 | url: SERVER.SERVERAPI + '/rest/zhcx/search/qlxx/getDjbBysearch', | ||
18 | method: 'post', | ||
19 | data: data | ||
20 | }) | ||
21 | } | ||
22 | /** | ||
23 | * @description: 进度查询列表 | ||
24 | * @param {*} data | ||
25 | * @author: renchao | ||
26 | */ | ||
27 | export function getJdcxBysearch (data) { | ||
28 | return request({ | ||
29 | url: SERVER.SERVERAPI + '/rest/zhcx/search/getJdcxBysearch', | ||
30 | method: 'post', | ||
31 | data | ||
32 | }) | ||
33 | } | ||
34 | |||
35 | /** | ||
36 | * @description: 证书领取查询 | ||
37 | * @param {*} data | ||
38 | * @author: renchao | ||
39 | */ | ||
40 | export function getBdcqzReceiveList (data) { | ||
41 | return request({ | ||
42 | url: SERVER.SERVERAPI + '/rest/zhcx/search/getBdcqzReceiveList', | ||
43 | method: 'post', | ||
44 | data | ||
45 | }) | ||
46 | } | ||
47 | |||
48 | /** | ||
49 | * @description: 在建工程抵押查询 | ||
50 | * @param {*} data | ||
51 | * @author: renchao | ||
52 | */ | ||
53 | export function getZjgcdyList (data) { | ||
54 | return request({ | ||
55 | url: SERVER.SERVERAPI + '/rest/zhcx/search/getZjgcdyList', | ||
56 | method: 'post', | ||
57 | data | ||
58 | }) | ||
59 | } | ||
60 | |||
61 | |||
62 |
... | @@ -8,19 +8,6 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap | ... | @@ -8,19 +8,6 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap |
8 | 8 | ||
9 | 9 | ||
10 | /** | 10 | /** |
11 | * @description: 根据条件进行列表查询 | ||
12 | * @param {*} data | ||
13 | * @author: renchao | ||
14 | */ | ||
15 | export function getDjbBysearch (data) { | ||
16 | return request({ | ||
17 | url: SERVER.SERVERAPI + '/rest/zhcx/search/qlxx/getDjbBysearch', | ||
18 | method: 'post', | ||
19 | data: data | ||
20 | }) | ||
21 | } | ||
22 | |||
23 | /** | ||
24 | * @description: 获取登记封面 | 11 | * @description: 获取登记封面 |
25 | * @param {*} qlbsm | 12 | * @param {*} qlbsm |
26 | * @author: renchao | 13 | * @author: renchao |
... | @@ -192,44 +179,6 @@ export function getCfdjList (data) { | ... | @@ -192,44 +179,6 @@ export function getCfdjList (data) { |
192 | data | 179 | data |
193 | }) | 180 | }) |
194 | } | 181 | } |
195 | /** | ||
196 | * @description: 进度查询列表 | ||
197 | * @param {*} data | ||
198 | * @author: renchao | ||
199 | */ | ||
200 | export function getJdcxBysearch (data) { | ||
201 | return request({ | ||
202 | url: SERVER.SERVERAPI + '/rest/zhcx/search/getJdcxBysearch', | ||
203 | method: 'post', | ||
204 | data | ||
205 | }) | ||
206 | } | ||
207 | |||
208 | /** | ||
209 | * @description: 证书领取查询 | ||
210 | * @param {*} data | ||
211 | * @author: renchao | ||
212 | */ | ||
213 | export function getBdcqzReceiveList (data) { | ||
214 | return request({ | ||
215 | url: SERVER.SERVERAPI + '/rest/zhcx/search/getBdcqzReceiveList', | ||
216 | method: 'post', | ||
217 | data | ||
218 | }) | ||
219 | } | ||
220 | |||
221 | /** | ||
222 | * @description: 在建工程抵押查询 | ||
223 | * @param {*} data | ||
224 | * @author: renchao | ||
225 | */ | ||
226 | export function getZjgcdyList (data) { | ||
227 | return request({ | ||
228 | url: SERVER.SERVERAPI + '/rest/zhcx/search/getZjgcdyList', | ||
229 | method: 'post', | ||
230 | data | ||
231 | }) | ||
232 | } | ||
233 | 182 | ||
234 | // 数据上报推送查询 | 183 | // 数据上报推送查询 |
235 | export function getSjsbPushList (data) { | 184 | export function getSjsbPushList (data) { | ... | ... |
... | @@ -42,7 +42,7 @@ | ... | @@ -42,7 +42,7 @@ |
42 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width100"> | 42 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width100"> |
43 | </el-input> | 43 | </el-input> |
44 | </el-form-item> | 44 | </el-form-item> |
45 | </el-col> | 45 | </el-col> |
46 | </el-row> | 46 | </el-row> |
47 | <el-row> | 47 | <el-row> |
48 | <el-col :span="5"> | 48 | <el-col :span="5"> |
... | @@ -92,7 +92,7 @@ | ... | @@ -92,7 +92,7 @@ |
92 | import { mapGetters } from "vuex"; | 92 | import { mapGetters } from "vuex"; |
93 | import table from "@/utils/mixin/table"; | 93 | import table from "@/utils/mixin/table"; |
94 | import { datas, sendThis } from "./djbcxdata"; | 94 | import { datas, sendThis } from "./djbcxdata"; |
95 | import { getDjbBysearch } from "@/api/zhcx.js"; | 95 | import { getDjbBysearch } from "@/api/search.js"; |
96 | 96 | ||
97 | export default { | 97 | export default { |
98 | name: "djbcx", | 98 | name: "djbcx", | ... | ... |
... | @@ -83,7 +83,7 @@ | ... | @@ -83,7 +83,7 @@ |
83 | import { mapGetters } from 'vuex' | 83 | import { mapGetters } from 'vuex' |
84 | import table from "@/utils/mixin/table"; | 84 | import table from "@/utils/mixin/table"; |
85 | import { datas, sendThis } from "./jdcxdata"; | 85 | import { datas, sendThis } from "./jdcxdata"; |
86 | import { getJdcxBysearch } from "@/api/zhcx.js" | 86 | import { getJdcxBysearch } from "@/api/search.js" |
87 | export default { | 87 | export default { |
88 | name: "jdcx", | 88 | name: "jdcx", |
89 | components: {}, | 89 | components: {}, | ... | ... |
... | @@ -50,8 +50,8 @@ | ... | @@ -50,8 +50,8 @@ |
50 | <script> | 50 | <script> |
51 | import table from "@/utils/mixin/table"; | 51 | import table from "@/utils/mixin/table"; |
52 | import { datas, sendThis } from "./zslqcx"; | 52 | import { datas, sendThis } from "./zslqcx"; |
53 | import { getBdcqzReceiveList } from "@/api/zhcx" | 53 | import { getBdcqzReceiveList } from "@/api/search.js" |
54 | import { bdcqzPreview } from "@/api/bdcqz" | 54 | import { bdcqzPreview } from "@/api/bdcqz.js" |
55 | export default { | 55 | export default { |
56 | components: {}, | 56 | components: {}, |
57 | mixins: [table], | 57 | mixins: [table], | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-06-19 13:32:04 | 4 | * @LastEditTime: 2023-06-19 13:32:04 |
5 | --> | 5 | --> |
... | @@ -48,7 +48,7 @@ | ... | @@ -48,7 +48,7 @@ |
48 | <script> | 48 | <script> |
49 | import table from "@/utils/mixin/table"; | 49 | import table from "@/utils/mixin/table"; |
50 | import { datas, sendThis } from "./zxgcdycx"; | 50 | import { datas, sendThis } from "./zxgcdycx"; |
51 | import { getZjgcdyList } from "@/api/zhcx" | 51 | import { getZjgcdyList } from "@/api/search.js" |
52 | export default { | 52 | export default { |
53 | components: {}, | 53 | components: {}, |
54 | mixins: [table], | 54 | mixins: [table], | ... | ... |
-
Please register or sign in to post a comment