You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
1.6 KiB
76 lines
1.6 KiB
import request from '@/utils/request'
|
|
|
|
export default {
|
|
|
|
// 选择可用的项目
|
|
projectinformation: function() {
|
|
return request({
|
|
url: '/crm/v1/projectinformation/listAll ',
|
|
method: 'get',
|
|
});
|
|
},
|
|
// 组织结构
|
|
sysorganization: function(sid) {
|
|
return request({
|
|
url: '/portal/v1/sysorganization/userList/'+sid,
|
|
method: 'get',
|
|
});
|
|
},
|
|
|
|
// 组织结构
|
|
associationUserList: function(sid) {
|
|
return request({
|
|
url: '/portal/v1/sysorganization/associationUserList/'+sid,
|
|
method: 'get',
|
|
});
|
|
},
|
|
|
|
getUserByType: function(id) {
|
|
return request({
|
|
url: '/crm/userproject/getUserByType/'+ id,
|
|
method: 'get'
|
|
})
|
|
},
|
|
getUserProjectBySid: function(sid) {
|
|
return request({
|
|
url: '/crm/userproject/getUserProjectBySid/'+ sid,
|
|
method: 'get'
|
|
})
|
|
},
|
|
// 人员关联项目
|
|
userprojectSave: function(data) {
|
|
return request({
|
|
url: '/crm/userproject/save',
|
|
method: 'post',
|
|
data: data
|
|
});
|
|
},
|
|
|
|
// 人员取消关联项目
|
|
usercancellation: function(data) {
|
|
return request({
|
|
url: '/crm/userproject/cancellation',
|
|
method: 'post',
|
|
data: data
|
|
});
|
|
},
|
|
|
|
// 消息模版
|
|
templateMessage: function(sid) {
|
|
return request({
|
|
url: '/crm/v1/TemplateMessage/listAll/'+ sid,
|
|
method: 'get',
|
|
});
|
|
},
|
|
|
|
|
|
// 保存 个人 能接受到的模版
|
|
saveProjectTemplate: function(data) {
|
|
return request({
|
|
url: '/crm/v1/ProjectTemplate/save',
|
|
method: 'post',
|
|
data: data
|
|
});
|
|
},
|
|
|
|
}
|
|
|