Skip to content

Commit 15707b7

Browse files
authored
新增字段动态关系管理 (#12)
* “新增字段关系” * “新增字段关系修改提示”
1 parent a305da7 commit 15707b7

File tree

3 files changed

+1007
-2
lines changed

3 files changed

+1007
-2
lines changed

src/api/personnel/fieldRelation.js

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
import request from '@/utils/request'
2+
3+
// 字段动态关系列表(完成)
4+
export function relationList(params) {
5+
return request({
6+
url: '/api/fieldrelation/list',
7+
method: 'get',
8+
params
9+
})
10+
}
11+
// 添加字段动态关系(完成)
12+
export function relationAdd(data) {
13+
return request({
14+
url: '/api/fieldrelation/add',
15+
method: 'post',
16+
data
17+
})
18+
}
19+
// 更新字段动态关系 (完成)
20+
export function relationUp(data) {
21+
return request({
22+
url: '/api/fieldrelation/update',
23+
method: 'post',
24+
data
25+
})
26+
}
27+
// 删除字段动态关系(完成)
28+
export function relationDel(data) {
29+
return request({
30+
url: '/api/fieldrelation/delete',
31+
method: 'post',
32+
data
33+
})
34+
}
35+

0 commit comments

Comments
 (0)