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
17102c61
Commit
17102c61
authored
Oct 17, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'身份证上传'
parent
ffbb28a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
main.js
src/main.js
+2
-2
naturePerson.vue
src/pages/userBind/np/naturePerson.vue
+4
-4
No files found.
src/main.js
View file @
17102c61
...
...
@@ -58,8 +58,8 @@ import Jpush from './scripts/jpushService'
import
Jmessage
from
'./scripts/jmessageService'
//if (process.env.CONFIG_ENV === 'uat') {
//
const VConsole = require('vconsole')
//
new VConsole() // eslint-disable-line
const
VConsole
=
require
(
'vconsole'
)
new
VConsole
()
// eslint-disable-line
//}
Vue
.
use
(
componentInstall
)
...
...
src/pages/userBind/np/naturePerson.vue
View file @
17102c61
...
...
@@ -438,9 +438,9 @@ export default {
}
})
},
load_picture
(
check_id
)
{
load_picture
(
check_id
,
index
)
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'attachment_list_query'
let
url
=
process
.
env
.
basePath
+
'attachment_list_query'
+
'&index'
+
index
// 附件查询
let
param
=
{
check_id
:
check_id
,
}
...
...
@@ -646,7 +646,7 @@ export default {
},
// 图片保存
save_picture
(
list
)
{
alert
(
'上传列表 '
+
JSON
.
stringify
(
list
))
alert
(
'上传列表 '
+
JSON
.
stringify
(
list
))
let
vm
=
this
if
(
list
.
length
)
{
// hlsPopup.showLoading('图片上传请稍候')
...
...
@@ -771,7 +771,7 @@ export default {
}
else
{
if
(
ocrType
===
'idCard'
)
{
vm
.
idCardEditFlag
=
true
// 身份证图片状态已修改
type
===
'front'
?
(
vm
.
idCardFront
=
imgUrl
[
0
],
vm
.
idCardIdentify
(
imgUrl
[
0
]),
vm
.
idCardImgList
.
push
(
img
data
))
:
(
vm
.
idCardBack
=
imgUrl
[
0
],
vm
.
idCardImgList
.
push
(
imgdata
))
type
===
'front'
?
(
vm
.
idCardFront
=
imgUrl
[
0
],
vm
.
idCardIdentify
(
imgUrl
[
0
]),
vm
.
idCardImgList
.
push
(
img
Url
[
0
]))
:
(
vm
.
idCardBack
=
imgUrl
[
0
],
vm
.
idCardImgList
.
push
(
imgUrl
[
0
]
))
}
else
if
(
ocrType
===
'bankCard'
)
{
vm
.
bankImg
=
imgUrl
[
0
]
vm
.
bankCardIdentify
(
imgUrl
[
0
])
...
...
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