business.js
1.28 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
import request from '@/utils/request'
import SERVER from './config'
class business {
// 宗海空间属性
async getZhK105ById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/ZhK105/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//用海状况
async getKtfZhYhzkById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KtfZhYhzk/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
// 宗海空间属性-修改
async updateZhK105 (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/ZhK105/edit',
method: 'post',
data
})
}
//修改用海状况
async updateKtfZhYhzk (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KtfZhYhzk/edit',
method: 'post',
data
})
}
// 非结构化文档
async getFjF100ById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/FjF100/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//非结构化文档-修改
async updateFjF100 (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/FjF100/edit',
method: 'post',
data
})
}
}
export default new business()