searchRecord.js
1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
* @Description: 干部查询
* @Autor:
* @LastEditTime: 2023-11-03 15:00:17
*/
/* 引入axios请求文件 */
import request from '@/utils/request'
/* 引入配置 */
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
const urlHeader = SERVER.SERVERAPI + '/rest/searchRecord'
/**
* @description: 获取列表
* @param {*}
* @author:
*/
export function getSearchRecordList (data) {
return request({
url: urlHeader + '/getList',
method: 'post',
data
})
}
/**
* @description: 新增
* @param {*} data
* @author:
*/
export function saveSearchRecord (data) {
return request({
url: urlHeader + '/search',
method: 'post',
data
})
}
/**
* @description: 编辑
* @param {*} id
* @author:
*/
export function editSearchRecord (id) {
return request({
url: urlHeader + '/' + id,
method: 'get'
})
}
/**
* @description: 财产登记情况
* @author: renchao
*/
export function djqk (data) {
return request({
url: urlHeader + '/djqk',
method: 'post',
data
})
}