|
@ -5,7 +5,6 @@ export default { |
|
|
// 查询分页列表
|
|
|
// 查询分页列表
|
|
|
listPage: function(params) { |
|
|
listPage: function(params) { |
|
|
return request({ |
|
|
return request({ |
|
|
baseURL: '/api/crm', |
|
|
|
|
|
url: '/v1/projectinformation/listPage', |
|
|
url: '/v1/projectinformation/listPage', |
|
|
method: 'post', |
|
|
method: 'post', |
|
|
data: params, |
|
|
data: params, |
|
@ -18,7 +17,6 @@ export default { |
|
|
// 获取贷款行
|
|
|
// 获取贷款行
|
|
|
getLoanbankinformation: function(data) { |
|
|
getLoanbankinformation: function(data) { |
|
|
return request({ |
|
|
return request({ |
|
|
baseURL: '/api/crm', |
|
|
|
|
|
url: '/v1/loanbankinformation/list', |
|
|
url: '/v1/loanbankinformation/list', |
|
|
data, |
|
|
data, |
|
|
method: 'post', |
|
|
method: 'post', |
|
@ -29,7 +27,6 @@ export default { |
|
|
// 获取贷款行
|
|
|
// 获取贷款行
|
|
|
getUserListByOrg: function() { |
|
|
getUserListByOrg: function() { |
|
|
return request({ |
|
|
return request({ |
|
|
baseURL: '/api/portal', |
|
|
|
|
|
url: '/v1/sysorganization/getUserListByOrg/100', |
|
|
url: '/v1/sysorganization/getUserListByOrg/100', |
|
|
method: 'get', |
|
|
method: 'get', |
|
|
}) |
|
|
}) |
|
@ -39,7 +36,7 @@ export default { |
|
|
// 获取项目单位
|
|
|
// 获取项目单位
|
|
|
getEnterpriseinformation: function(data) { |
|
|
getEnterpriseinformation: function(data) { |
|
|
return request({ |
|
|
return request({ |
|
|
baseURL: '/api/crm', |
|
|
|
|
|
url: '/v1/enterpriseinformation/list', |
|
|
url: '/v1/enterpriseinformation/list', |
|
|
data, |
|
|
data, |
|
|
method: 'post', |
|
|
method: 'post', |
|
@ -49,7 +46,7 @@ export default { |
|
|
// 获取行业字典信息
|
|
|
// 获取行业字典信息
|
|
|
getIndustrydictionary: function(data) { |
|
|
getIndustrydictionary: function(data) { |
|
|
return request({ |
|
|
return request({ |
|
|
baseURL: '/api/crm', |
|
|
|
|
|
url: '/v1/industrydictionary/list', |
|
|
url: '/v1/industrydictionary/list', |
|
|
data, |
|
|
data, |
|
|
method: 'post', |
|
|
method: 'post', |
|
@ -60,7 +57,7 @@ export default { |
|
|
// 获取类型字典信息
|
|
|
// 获取类型字典信息
|
|
|
getProjtypedictionary: function(data) { |
|
|
getProjtypedictionary: function(data) { |
|
|
return request({ |
|
|
return request({ |
|
|
baseURL: '/api/crm', |
|
|
|
|
|
url: '/v1/projtypedictionary/list', |
|
|
url: '/v1/projtypedictionary/list', |
|
|
data, |
|
|
data, |
|
|
method: 'post', |
|
|
method: 'post', |
|
@ -71,7 +68,7 @@ export default { |
|
|
// 获取 状态字典信息
|
|
|
// 获取 状态字典信息
|
|
|
getProjtypedstated: function(data) { |
|
|
getProjtypedstated: function(data) { |
|
|
return request({ |
|
|
return request({ |
|
|
baseURL: '/api/crm', |
|
|
|
|
|
url: '/projectstatedictionary/listAll', |
|
|
url: '/projectstatedictionary/listAll', |
|
|
data, |
|
|
data, |
|
|
method: 'get', |
|
|
method: 'get', |
|
@ -81,7 +78,6 @@ export default { |
|
|
|
|
|
|
|
|
saveInfo: function(data) { |
|
|
saveInfo: function(data) { |
|
|
return request({ |
|
|
return request({ |
|
|
baseURL: "/api/crm", |
|
|
|
|
|
url: '/v1/projectinformation/save', |
|
|
url: '/v1/projectinformation/save', |
|
|
method: 'post', |
|
|
method: 'post', |
|
|
data: data |
|
|
data: data |
|
@ -90,7 +86,6 @@ export default { |
|
|
|
|
|
|
|
|
addInfo: function(data) { |
|
|
addInfo: function(data) { |
|
|
return request({ |
|
|
return request({ |
|
|
baseURL: "/api/crm", |
|
|
|
|
|
url: '/v1/projectinformation/save', |
|
|
url: '/v1/projectinformation/save', |
|
|
method: 'post', |
|
|
method: 'post', |
|
|
data: data |
|
|
data: data |
|
@ -99,7 +94,7 @@ export default { |
|
|
|
|
|
|
|
|
fetchBySid: function(sid) { |
|
|
fetchBySid: function(sid) { |
|
|
return request({ |
|
|
return request({ |
|
|
baseURL: '/api/crm', |
|
|
|
|
|
url: '/v1/projectinformation/getEnterpriseBySid/' + sid |
|
|
url: '/v1/projectinformation/getEnterpriseBySid/' + sid |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
@ -107,14 +102,13 @@ export default { |
|
|
|
|
|
|
|
|
getInfoBySid: function(sid) { |
|
|
getInfoBySid: function(sid) { |
|
|
return request({ |
|
|
return request({ |
|
|
baseURL: '/api/crm', |
|
|
|
|
|
url: '/v1/projectinformation/getProjectBySid/' + sid |
|
|
url: '/v1/projectinformation/getProjectBySid/' + sid |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
updateData: function(data) { |
|
|
updateData: function(data) { |
|
|
return request({ |
|
|
return request({ |
|
|
baseURL: "/api/crm", |
|
|
|
|
|
url: '/v1/projectinformation/update', |
|
|
url: '/v1/projectinformation/update', |
|
|
method: 'post', |
|
|
method: 'post', |
|
|
data: data |
|
|
data: data |
|
@ -123,41 +117,40 @@ export default { |
|
|
// 选择可用的仓库信息
|
|
|
// 选择可用的仓库信息
|
|
|
selectStoreHouse: function() { |
|
|
selectStoreHouse: function() { |
|
|
return request({ |
|
|
return request({ |
|
|
url: '/crm/v1/projectinformation/selectStoreHouse', |
|
|
url: '/v1/projectinformation/selectStoreHouse', |
|
|
method: 'get', |
|
|
method: 'get', |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
delBySids: function(sid) { |
|
|
delBySids: function(sid) { |
|
|
return request({ |
|
|
return request({ |
|
|
baseURL: '/api/crm', |
|
|
|
|
|
url: '/v1/projectinformation/delete/' + sid, |
|
|
url: '/v1/projectinformation/delete/' + sid, |
|
|
method: 'delete' |
|
|
method: 'delete' |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
getStorehouseBySid: function(sid) { |
|
|
getStorehouseBySid: function(sid) { |
|
|
return request({ |
|
|
return request({ |
|
|
url: '/crm/v1/projectinformation/getStorehouseBySid/' + sid, |
|
|
url: '/v1/projectinformation/getStorehouseBySid/' + sid, |
|
|
method: 'get' |
|
|
method: 'get' |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
selectStoreHouseSid: function(sid) { |
|
|
selectStoreHouseSid: function(sid) { |
|
|
return request({ |
|
|
return request({ |
|
|
url: '/crm/v1/storehouseproject/selectStoreBySid/' + sid, |
|
|
url: '/v1/storehouseproject/selectStoreBySid/' + sid, |
|
|
method: 'post' |
|
|
method: 'post' |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
// 获取所有贷款行名称
|
|
|
// 获取所有贷款行名称
|
|
|
getBankName: function() { |
|
|
getBankName: function() { |
|
|
return request({ |
|
|
return request({ |
|
|
url: '/crm/v1/projectinformation/getBankName', |
|
|
url: '/v1/projectinformation/getBankName', |
|
|
method: 'get', |
|
|
method: 'get', |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
// 获取所有项目类型名称
|
|
|
// 获取所有项目类型名称
|
|
|
getProjectType: function() { |
|
|
getProjectType: function() { |
|
|
return request({ |
|
|
return request({ |
|
|
url: '/crm/v1/projectinformation/getProjectType', |
|
|
url: '/v1/projectinformation/getProjectType', |
|
|
method: 'get', |
|
|
method: 'get', |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|