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.
228 lines
4.4 KiB
228 lines
4.4 KiB
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',
|
|
});
|
|
},
|
|
|
|
// 获取项目进度
|
|
getNodeByProjectSid: function(data) {
|
|
return request({
|
|
url: '/v1/projectphase/getNodeByProjectSid',
|
|
method: 'get',
|
|
params: data
|
|
});
|
|
},
|
|
|
|
// 修改项目进度
|
|
updatePhase: function(data) {
|
|
return request({
|
|
url: '/v1/projectinformation/updatePhase',
|
|
method: 'post',
|
|
data: data
|
|
});
|
|
},
|
|
|
|
// 保存用还信记录
|
|
saveCreditRecord: function(data) {
|
|
return request({
|
|
url: '/v1/projectcreditbalance/save',
|
|
method: 'post',
|
|
data: data
|
|
});
|
|
},
|
|
|
|
// 保存项目报告
|
|
saveProjectReport: function(data) {
|
|
return request({
|
|
url: '/v1/ProjectFiles/save',
|
|
method: 'post',
|
|
data: data
|
|
});
|
|
},
|
|
|
|
|
|
|
|
|
|
// 查询商享通所有仓库
|
|
getSxtWarehouses: function(data) {
|
|
return request({
|
|
url: '/v1/projectinformation/warehouseList',
|
|
method: 'post',
|
|
data: data
|
|
});
|
|
},
|
|
|
|
// 初始化项目管理商享通仓库
|
|
initProjectWarehouses: function(data) {
|
|
return request({
|
|
url: '/v1/projectinformation/getWarehouseBySid/' + data,
|
|
method: 'get',
|
|
});
|
|
},
|
|
|
|
// 保存项目管理商享通仓库
|
|
saveSxtWarehouses: function(data) {
|
|
return request({
|
|
url: '/v1/projectinformation/saveSxt',
|
|
method: 'post',
|
|
data: data
|
|
});
|
|
},
|
|
|
|
|
|
|
|
}
|
|
|