Commit 17058123 authored by 王建文's avatar 王建文

新增融资方案上传附件

parent 84ab3184
......@@ -598,6 +598,9 @@ export default {
// ocr识别入口
ocrShow (desc, id, code) {
let vm = this
if(!id){
hlsPopup.showLongCenter('请先保存基本信息')
}
hlsPopup.showActionSheet({
titleText: '请选择照片',
buttonArray: ['拍照', '从相册取'],
......@@ -774,6 +777,36 @@ export default {
})
}
},
getMiningLicenseList () {
let vm = this
let url = process.env.basePath + 'bp_mining_license_query'
let param = {
project_id: vm.project_id,
}
vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.miningCheckId = res.lists[0].check_id
vm.getAttachmentList(vm.reportCheckId, 'mining')
}
})
},
getFinancialStatementsList () {
let vm = this
let url = process.env.basePath + 'bp_financial_statements_query'
let param = {
project_id: vm.project_id,
}
vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.reportCheckId = res.lists[0].check_id
vm.getAttachmentList(vm.reportCheckId, 'report')
}
})
},
// 还款周期查询
repayPeriod () {
let vm = this
......@@ -850,6 +883,8 @@ export default {
if (res.result === 'S') {
hlsPopup.showLongCenter('基本信息保存成功')
vm.project_id=res.project_id
vm.getMiningLicenseList()
vm.getFinancialStatementsList()
} else {
hlsPopup.showLongCenter(res.message)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment