zhouwx
3 天以前 dcddf912c4262bb129ed8d131bedb8fdace1c51d
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
import request from '@/utils/request'
 
// 获取专家列表
export function getExpertsList(params) {
  return request({
    url: '/system/expert_info/list',
    method: 'get',
    params: params
  })
}
 
// 获取专家列表
export function delExpert(id) {
  return request({
    url: '/expert/info/del/'+id,
    method: 'get'
  })
}
 
// 提交表单
export function addExpertInfo(data) {
  return request({
    url: '/system/expert_info/add',
    method: 'post',
    data: data
  })
}
 
// 提交表单
export function modExpertInfo(data) {
  return request({
    url: '/system/expert_info/mod',
    method: 'put',
    data: data
  })
}
 
// 上传
export function uploadFile(data) {
  return request({
    url: '/system/common/uploadFile',
    method: 'post',
    data: data
  })
}
 
// 分页获取专家类型
export function getExpertTypes() {
  return request({
    url: '/system/expert_classify/tree',
    method: 'get',
  })
}
 
// 添加专家类型
export function addType(data) {
  return request({
    url: '/system/expert_classify/add',
    method: 'post',
    data: data
  })
}
 
// 修改专家类型
export function updateType(data) {
  return request({
    url: '/system/expert_classify/mod',
    method: 'put',
    data: data
  })
}
 
// 删除专家类型
export function delExpertType(id) {
  return request({
    url: '/system/expert_classify/del/'+id,
    method: 'delete'
  })
}
 
// 根据id获取专家信息
export function getInfo(id) {
  return request({
    url: '/system/expert_info/detail/'+id,
    method: 'get'
  })
}
 
// 评定
export function changeApprove(data) {
  return request({
    url: '/system/expert_info/changeApprove',
    method: 'post',
    data: data
  })
}