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.
158 lines
3.1 KiB
158 lines
3.1 KiB
2 years ago
|
import request from '@/utils/request'
|
||
|
|
||
|
export default {
|
||
|
|
||
|
// 查询分页列表
|
||
|
listPage: function(params) {
|
||
|
return request({
|
||
|
url: '/v1/projectinformation/listPage',
|
||
|
method: 'post',
|
||
|
data: params,
|
||
|
headers: {
|
||
|
'Content-Type': 'application/json'
|
||
|
}
|
||
|
})
|
||
|
},
|
||
|
|
||
|
// 获取贷款行
|
||
|
getLoanbankinformation: function(data) {
|
||
|
return request({
|
||
|
url: '/v1/loanbankinformation/list',
|
||
|
data,
|
||
|
method: 'post',
|
||
|
params: data,
|
||
|
})
|
||
|
},
|
||
|
|
||
|
// 获取贷款行
|
||
|
getUserListByOrg: function() {
|
||
|
return request({
|
||
|
url: '/v1/sysorganization/getUserListByOrg/100',
|
||
|
method: 'get',
|
||
|
})
|
||
|
},
|
||
|
|
||
|
|
||
|
// 获取项目单位
|
||
|
getEnterpriseinformation: function(data) {
|
||
|
return request({
|
||
|
|
||
|
url: '/v1/enterpriseinformation/list',
|
||
|
data,
|
||
|
method: 'post',
|
||
|
params: data,
|
||
|
})
|
||
|
},
|
||
|
// 获取行业字典信息
|
||
|
getIndustrydictionary: function(data) {
|
||
|
return request({
|
||
|
|
||
|
url: '/v1/industrydictionary/list',
|
||
|
data,
|
||
|
method: 'post',
|
||
|
params: data,
|
||
|
})
|
||
|
},
|
||
|
|
||
|
// 获取类型字典信息
|
||
|
getProjtypedictionary: function(data) {
|
||
|
return request({
|
||
|
|
||
|
url: '/v1/projtypedictionary/list',
|
||
|
data,
|
||
|
method: 'post',
|
||
|
params: data,
|
||
|
})
|
||
|
},
|
||
|
|
||
|
// 获取 状态字典信息
|
||
|
getProjtypedstated: function(data) {
|
||
|
return request({
|
||
|
|
||
|
url: '/projectstatedictionary/listAll',
|
||
|
data,
|
||
|
method: 'get',
|
||
|
params: data,
|
||
|
})
|
||
|
},
|
||
|
|
||
|
saveInfo: function(data) {
|
||
|
return request({
|
||
|
url: '/v1/projectinformation/save',
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
});
|
||
|
},
|
||
|
|
||
|
addInfo: function(data) {
|
||
|
return request({
|
||
|
url: '/v1/projectinformation/save',
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
});
|
||
|
},
|
||
|
|
||
|
fetchBySid: function(sid) {
|
||
|
return request({
|
||
|
|
||
|
url: '/v1/projectinformation/getEnterpriseBySid/' + sid
|
||
|
})
|
||
|
},
|
||
|
|
||
|
|
||
|
getInfoBySid: function(sid) {
|
||
|
return request({
|
||
|
|
||
|
url: '/v1/projectinformation/getProjectBySid/' + sid
|
||
|
})
|
||
|
},
|
||
|
|
||
|
updateData: function(data) {
|
||
|
return request({
|
||
|
url: '/v1/projectinformation/update',
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
});
|
||
|
},
|
||
|
// 选择可用的仓库信息
|
||
|
selectStoreHouse: function() {
|
||
|
return request({
|
||
|
url: '/v1/projectinformation/selectStoreHouse',
|
||
|
method: 'get',
|
||
|
});
|
||
|
},
|
||
|
|
||
|
delBySids: function(sid) {
|
||
|
return request({
|
||
|
url: '/v1/projectinformation/delete/' + sid,
|
||
|
method: 'delete'
|
||
|
})
|
||
|
},
|
||
|
getStorehouseBySid: function(sid) {
|
||
|
return request({
|
||
|
url: '/v1/projectinformation/getStorehouseBySid/' + sid,
|
||
|
method: 'get'
|
||
|
})
|
||
|
},
|
||
|
selectStoreHouseSid: function(sid) {
|
||
|
return request({
|
||
|
url: '/v1/storehouseproject/selectStoreBySid/' + sid,
|
||
|
method: 'post'
|
||
|
})
|
||
|
},
|
||
|
// 获取所有贷款行名称
|
||
|
getBankName: function() {
|
||
|
return request({
|
||
|
url: '/v1/projectinformation/getBankName',
|
||
|
method: 'get',
|
||
|
});
|
||
|
},
|
||
|
// 获取所有项目类型名称
|
||
|
getProjectType: function() {
|
||
|
return request({
|
||
|
url: '/v1/projectinformation/getProjectType',
|
||
|
method: 'get',
|
||
|
});
|
||
|
},
|
||
|
}
|