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
70991d5a
Commit
70991d5a
authored
Nov 27, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'附件更新'
parent
db0143d4
Pipeline
#3934
canceled with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
7 deletions
+14
-7
uat.env.js
config/uat.env.js
+1
-1
naturePerson.vue
src/pages/userBind/np/naturePerson.vue
+7
-4
enterprise.vue
src/pages/userBind/org/enterprise.vue
+6
-2
No files found.
config/uat.env.js
View file @
70991d5a
...
@@ -10,5 +10,5 @@ module.exports = {
...
@@ -10,5 +10,5 @@ module.exports = {
filePath
:
'"http://180.104.121.66:8088/r/api/app/fileViewSvc?sysName=XCMG_DEV&apiName=file_view&"'
,
filePath
:
'"http://180.104.121.66:8088/r/api/app/fileViewSvc?sysName=XCMG_DEV&apiName=file_view&"'
,
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
appId
:
'"com.xcmg.app"'
,
appId
:
'"com.xcmg.app"'
,
currentVersion
:
'"1.0.
5
"'
currentVersion
:
'"1.0.
6
"'
}
}
src/pages/userBind/np/naturePerson.vue
View file @
70991d5a
...
@@ -680,14 +680,13 @@ export default {
...
@@ -680,14 +680,13 @@ export default {
'&access_token='
+
'&access_token='
+
window
.
localStorage
.
access_token
window
.
localStorage
.
access_token
})
})
alert
(
JSON
.
stringify
(
res
.
lists
))
switch
(
cdd_item
)
{
switch
(
cdd_item
)
{
case
'NP_ID_CARD_F'
:
// 承租人身份证正面
case
'NP_ID_CARD_F'
:
// 承租人身份证正面
vm
.
idCardFront
=
res
.
lists
[
0
].
url
vm
.
idCardFront
=
res
.
lists
[
0
].
url
alert
(
res
.
lists
[
0
].
url
)
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
)
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
...
@@ -756,10 +755,10 @@ export default {
...
@@ -756,10 +755,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
)
// 先删除之前识别的图片
// 身份证正面图片已修改,重新上传
// 身份证正面图片已修改,重新上传
...
@@ -832,6 +831,10 @@ export default {
...
@@ -832,6 +831,10 @@ 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
)
})
}
}
})
})
},
},
...
...
src/pages/userBind/org/enterprise.vue
View file @
70991d5a
...
@@ -1612,10 +1612,10 @@ export default {
...
@@ -1612,10 +1612,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
)
// 先删除之前识别的图片
var
list
=
[]
var
list
=
[]
...
@@ -1718,6 +1718,10 @@ export default {
...
@@ -1718,6 +1718,10 @@ export default {
vm
.
save_picture
(
list
)
vm
.
save_picture
(
list
)
vm
.
LaEditFlag
=
false
// 置为false,防止再次保存重复上传,只有重新识别才会重新上传
vm
.
LaEditFlag
=
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