work.js
1.55 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
import request from '@/utils/request'
import SERVER from './config'
class work {
// 登记类型总量
async getDjlxtotal (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/getDjlxtotal',
method: 'post',
data
})
}
// 登记业务量
async getdjywltotal (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/getdjywltotal',
method: 'post',
data
})
}
// 省厅汇交-区县接入
async getsthjqxjrtotal (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/getsthjqxjrtotal',
method: 'post',
data
})
}
// 地图区县总量统计,code区县编码,汉中为:A20
async mapViews (code) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/mapViews',
method: 'get',
params: {
code: code
}
})
}
// 数据趋势
async dataTrend (code) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/dataTrend',
method: 'get',
params: {
code: code
}
})
}
// 新建国有房屋信息
async addhousetotal (code) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/addhousetotal',
method: 'get',
params: {
code: code
}
})
}
// 地图区县成功失败统计,code区县编码,汉中为:A20
async submitViews (code) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/submitViews',
method: 'get',
params: {
code: code
}
})
}
}
export default new work()