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
1d84d157
Commit
1d84d157
authored
Nov 28, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'test'
parent
70991d5a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
naturePerson.vue
src/pages/userBind/np/naturePerson.vue
+5
-7
No files found.
src/pages/userBind/np/naturePerson.vue
View file @
1d84d157
...
@@ -662,6 +662,7 @@ export default {
...
@@ -662,6 +662,7 @@ export default {
})
})
},
},
load_picture
(
check_id
,
index
,
cdd_item
)
{
load_picture
(
check_id
,
index
,
cdd_item
)
{
alert
(
'load_picture'
)
let
vm
=
this
let
vm
=
this
let
url
=
let
url
=
process
.
env
.
basePath
+
'attachment_list_query'
+
'&index'
+
index
// 附件查询
process
.
env
.
basePath
+
'attachment_list_query'
+
'&index'
+
index
// 附件查询
...
@@ -686,7 +687,7 @@ export default {
...
@@ -686,7 +687,7 @@ export default {
vm
.
idCardFrontAttachmentId
=
res
.
lists
[
0
].
attachment_id
vm
.
idCardFrontAttachmentId
=
res
.
lists
[
0
].
attachment_id
break
break
case
'NP_ID_CARD_B'
:
// 承租人身份证背面
case
'NP_ID_CARD_B'
:
// 承租人身份证背面
alert
(
'背面 '
+
res
.
lists
[
0
].
url
)
alert
(
'背面 '
+
JSON
.
stringify
(
res
.
lists
)
)
vm
.
idCardBack
=
res
.
lists
[
0
].
url
vm
.
idCardBack
=
res
.
lists
[
0
].
url
vm
.
idCardBackAttachmentId
=
res
.
lists
[
0
].
attachment_id
vm
.
idCardBackAttachmentId
=
res
.
lists
[
0
].
attachment_id
break
break
...
@@ -717,6 +718,7 @@ export default {
...
@@ -717,6 +718,7 @@ export default {
}
}
},
},
loadItemList
()
{
loadItemList
()
{
alert
(
'loadItemList'
)
let
vm
=
this
let
vm
=
this
let
bpId
=
vm
.
from
let
bpId
=
vm
.
from
?
vm
.
$route
.
params
.
bp_id
?
vm
.
$route
.
params
.
bp_id
...
@@ -755,10 +757,10 @@ export default {
...
@@ -755,10 +757,10 @@ export default {
vm
.
cddItemList
.
push
(
item
)
vm
.
cddItemList
.
push
(
item
)
}
}
})
})
/*
// 查询图片
// 查询图片
listTemp
.
forEach
((
item
,
index
)
=>
{
listTemp
.
forEach
((
item
,
index
)
=>
{
vm
.
load_picture
(
item
.
check_id
,
index
,
item
.
cdd_item
)
vm
.
load_picture
(
item
.
check_id
,
index
,
item
.
cdd_item
)
})
*/
})
if
(
vm
.
idCardFrontEditFlag
)
{
if
(
vm
.
idCardFrontEditFlag
)
{
vm
.
delete_pic_to_ocr
(
vm
.
idCardFrontAttachmentId
)
// 先删除之前识别的图片
vm
.
delete_pic_to_ocr
(
vm
.
idCardFrontAttachmentId
)
// 先删除之前识别的图片
// 身份证正面图片已修改,重新上传
// 身份证正面图片已修改,重新上传
...
@@ -831,10 +833,6 @@ export default {
...
@@ -831,10 +833,6 @@ export default {
vm
.
save_picture
(
list
)
vm
.
save_picture
(
list
)
vm
.
idCardBackSpEditFlag
=
false
// 置为false,防止再次保存重复上传,只有重新识别才会重新上传
vm
.
idCardBackSpEditFlag
=
false
// 置为false,防止再次保存重复上传,只有重新识别才会重新上传
}
}
// 查询图片
listTemp
.
forEach
((
item
,
index
)
=>
{
vm
.
load_picture
(
item
.
check_id
,
index
,
item
.
cdd_item
)
})
}
}
})
})
},
},
...
...
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