work.js
2.2 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/*
* @Description :工作台数据相关api文件
* @Autor : miaofang
* @LastEditTime : 2023-05-17 10:53:31
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class work {
/**
* @description: 登记类型总量
* @param {*} data
* @author: renchao
*/
async getDjlxtotal (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/getDjlxtotal',
method: 'post',
data
})
}
/**
* @description: 登记业务量
* @param {*} data
* @author: renchao
*/
async getdjywltotal (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/getdjywltotal',
method: 'post',
data
})
}
/**
* @description: 省厅汇交-区县接入
* @param {*} data
* @author: renchao
*/
async getsthjqxjrtotal (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/getsthjqxjrtotal',
method: 'post',
data
})
}
/**
* @description: 地图区县总量统计,code区县编码,汉中为:A20
* @param {*} code
* @author: renchao
*/
async mapViews (code) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/mapViews',
method: 'get',
params: {
code: code
}
})
}
/**
* @description: 数据趋势
* @param {*} code
* @author: renchao
*/
async dataTrend (code) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/dataTrend',
method: 'get',
params: {
code: code
}
})
}
/**
* @description: 新建国有房屋信息
* @param {*} code
* @author: renchao
*/
async addhousetotal (code) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/addhousetotal',
method: 'get',
params: {
code: code
}
})
}
/**
* @description: 地图区县成功失败统计,code区县编码,汉中为:A20
* @param {*} code
* @author: renchao
*/
async submitViews (code) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/submitViews',
method: 'get',
params: {
code: code
}
})
}
}
export default new work()