init
This commit is contained in:
76
front/src/api/customer.js
Normal file
76
front/src/api/customer.js
Normal file
@@ -0,0 +1,76 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export default {
|
||||
|
||||
//获取客户信息列表
|
||||
GetCustomerList(param) {
|
||||
return request({
|
||||
url: `/Customer/GetCustomerList`,
|
||||
method: 'post',
|
||||
data: param
|
||||
})
|
||||
},
|
||||
|
||||
//添加客户信息
|
||||
AddCustomerInfo(param) {
|
||||
return request({
|
||||
url: `/Customer/AddCustomerInfo`,
|
||||
method: 'post',
|
||||
data: param
|
||||
})
|
||||
},
|
||||
|
||||
GetProjectInfoList(param) {
|
||||
return request({
|
||||
url: `/Project/GetProjectInfoList`,
|
||||
method: 'post',
|
||||
data: param
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
AddProjectInfo(param) {
|
||||
return request({
|
||||
url: `/Project/AddProjectInfo`,
|
||||
method: 'post',
|
||||
data: param
|
||||
})
|
||||
},
|
||||
|
||||
UpdateProjectInfo(param) {
|
||||
return request({
|
||||
url: `/Project/updateProjectInfo`,
|
||||
method: 'post',
|
||||
data: param
|
||||
})
|
||||
},
|
||||
|
||||
//添加客户联系人
|
||||
AddCustomerMemberInfo(param) {
|
||||
return request({
|
||||
url: `/Customer/AddCustomerMemberInfo`,
|
||||
method: 'post',
|
||||
data: param
|
||||
})
|
||||
},
|
||||
|
||||
GetCustomerMemberList(param) {
|
||||
return request({
|
||||
url: `/Customer/GetCustomerMemberList`,
|
||||
method: 'post',
|
||||
data: param
|
||||
})
|
||||
},
|
||||
|
||||
GetCustomerInfo(param) {
|
||||
return request({
|
||||
url: `/Customer/GetCustomerInfo`,
|
||||
method: 'post',
|
||||
data: param
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user