Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xugong
hls-xcmg-vue-app
Commits
15b03870
Commit
15b03870
authored
Jan 03, 2020
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'fujian'
parent
8107611c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
77 additions
and
67 deletions
+77
-67
accessory-info.vue
src/pages/userBindNew/np/accessory-info.vue
+21
-2
bankInfo.vue
src/pages/userBindNew/org/bankInfo.vue
+0
-26
enclosure.vue
src/pages/userBindNew/org/enclosure.vue
+56
-39
No files found.
src/pages/userBindNew/np/accessory-info.vue
View file @
15b03870
...
@@ -451,15 +451,34 @@ export default {
...
@@ -451,15 +451,34 @@ export default {
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
$router
.
push
({
/*
vm.$router.push({
name: 'NPBankInfo',
name: 'NPBankInfo',
})
})*/
vm
.
attachmentCheck
()
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
})
})
}
}
},
},
attachmentCheck
(){
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_attachment_check'
let
param
=
{
bp_id
:
window
.
localStorage
.
getItem
(
'bp_id'
),
}
vm
.
hlsPopup
.
showLoading
(
'正在校验数据'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
$router
.
push
({
name
:
'NPBankInfo'
,
})
}
else
{
hlsPopup
.
showError
(
res
.
message
)
}
})
},
getHouseInfo
()
{
getHouseInfo
()
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_house_info_query'
let
url
=
process
.
env
.
basePath
+
'bp_house_info_query'
...
...
src/pages/userBindNew/org/bankInfo.vue
View file @
15b03870
...
@@ -304,32 +304,6 @@ export default {
...
@@ -304,32 +304,6 @@ export default {
}
}
},
},
})
})
// this.hlsPopup.showConfirm({
// title: '提示',
// content: '您确认提交吗?',
// onConfirm: data => {
// if (data) {
// let url = $config.basePath + 'bp_bind_submit'
// let param = {
// master: {
// bp_id: this.$route.params.bp_id,
// company_id: '2145',
// },
// }
// let vm = this
// vm.hlsPopup.showLoading('请稍候')
// this.hlsHttp.post(url, param).then(function (res) {
// vm.hlsPopup.hideLoading()
// if (res.result === 'S') {
// vm.hlsPopup.showSuccess('提交成功')
// vm.$router.push({
// name: 'MyInfo',
// })
// }
// })
// }
// },
// })
},
},
// 获取个人认证url
// 获取个人认证url
getNpCertificationUrl
()
{
getNpCertificationUrl
()
{
...
...
src/pages/userBindNew/org/enclosure.vue
View file @
15b03870
...
@@ -414,6 +414,9 @@ export default {
...
@@ -414,6 +414,9 @@ export default {
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
next
(
vm
=>
{
if
(
from
.
name
===
'Invoice'
)
{
if
(
from
.
name
===
'Invoice'
)
{
vm
.
carImg
=
''
,
vm
.
houseImg
=
''
,
vm
.
propertyImg
=
''
,
// 不动产识别图片
vm
.
propertyInfo
=
{
// 不动产证
vm
.
propertyInfo
=
{
// 不动产证
bp_id
:
vm
.
$route
.
params
.
bp_id
,
bp_id
:
vm
.
$route
.
params
.
bp_id
,
right_person
:
''
,
right_person
:
''
,
...
@@ -516,7 +519,7 @@ export default {
...
@@ -516,7 +519,7 @@ export default {
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
Object
.
assign
(
vm
.
hauseInfo
,
res
.
info
)
Object
.
assign
(
vm
.
hauseInfo
,
res
.
info
)
//vm.hauseInfo = res.info
//
vm.hauseInfo = res.info
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
...
@@ -561,67 +564,81 @@ export default {
...
@@ -561,67 +564,81 @@ export default {
})
})
},
},
// 行驶证信息保存
// 行驶证信息保存
saveCarInfo
()
{
async
saveCarInfo
()
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_vehicleLicense_save'
let
url
=
process
.
env
.
basePath
+
'bp_vehicleLicense_save'
let
param
=
{
let
param
=
{
master
:
vm
.
carInfo
,
master
:
vm
.
carInfo
,
}
}
hlsPopup
.
showLoading
(
'请稍候'
)
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
let
res
=
await
vm
.
$post
(
url
,
param
)
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
$router
.
push
({
vm
.
hlsPopup
.
hideLoading
()
name
:
'BankInfo'
,
return
true
params
:
{
bp_id
:
vm
.
bp_id
,
},
})
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
})
},
},
// 不动产信息保存
// 不动产信息保存
savePropertyInfo
()
{
async
savePropertyInfo
()
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_real_estate_save'
let
url
=
process
.
env
.
basePath
+
'bp_real_estate_save'
let
param
=
{
let
param
=
{
master
:
vm
.
propertyInfo
,
master
:
vm
.
propertyInfo
,
}
}
// hlsPopup.showLoading('请稍候')
let
res
=
await
vm
.
$post
(
url
,
param
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
// vm.hlsPopup.hideLoading()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
return
true
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
})
},
},
// 房产证信息保存
// 房产证信息保存
saveHouseInfo
()
{
async
saveHouseInfo
()
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_house_info_save'
let
url
=
process
.
env
.
basePath
+
'bp_house_info_save'
// vm.hauseInfo.regist_date.substr(0, 10
)
let
isSaveCar
=
await
vm
.
saveCarInfo
(
)
console
.
log
(
'regist_date'
,
vm
.
hauseInfo
.
regist_date
)
let
isSaveEstate
=
await
vm
.
savePropertyInfo
(
)
let
param
=
{
let
param
=
{
/*master: {
...vm.hauseInfo,
regist_date: vm.hauseInfo.regist_date.substr(0, 10),
},*/
master
:
vm
.
hauseInfo
,
master
:
vm
.
hauseInfo
,
}
}
//
hlsPopup.showLoading('请稍候')
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
//
vm.hlsPopup.hideLoading()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
saveCarInfo
()
/* vm.$router.push({
name: 'BankInfo',
params: {
bp_id: vm.bp_id,
},
})*/
vm
.
attachmentCheck
()
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
})
})
},
},
attachmentCheck
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_attachment_check'
let
param
=
{
bp_id
:
vm
.
bp_id
,
}
vm
.
hlsPopup
.
showLoading
(
'正在校验数据'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
$router
.
push
({
name
:
'BankInfo'
,
params
:
{
bp_id
:
vm
.
bp_id
,
},
})
}
else
{
hlsPopup
.
showError
(
res
.
message
)
}
})
},
verified
()
{
verified
()
{
let
vm
=
this
let
vm
=
this
if
(
vm
.
isUploadHouse
)
{
if
(
vm
.
isUploadHouse
)
{
...
@@ -678,7 +695,7 @@ export default {
...
@@ -678,7 +695,7 @@ export default {
vm
.
save_picture
(
list
)
vm
.
save_picture
(
list
)
vm
.
isUploadProperty
=
false
// 置为false,防止再次保存重复上传,只有重新识别才会重新上传
vm
.
isUploadProperty
=
false
// 置为false,防止再次保存重复上传,只有重新识别才会重新上传
}
}
vm
.
savePropertyInfo
()
//
vm.savePropertyInfo()
vm
.
saveHouseInfo
()
vm
.
saveHouseInfo
()
},
},
// 房产证/车辆证识别
// 房产证/车辆证识别
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment