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
984df504
Commit
984df504
authored
Jun 26, 2023
by
郑娟
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev20230131_android' into dev20230131_ios
parents
36b9e6b7
93720f1d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
4 deletions
+30
-4
accessory-info.vue
src/pages/userBindNew/np/accessory-info.vue
+12
-0
enclosure.vue
src/pages/userBindNew/org/enclosure.vue
+18
-4
No files found.
src/pages/userBindNew/np/accessory-info.vue
View file @
984df504
...
...
@@ -898,6 +898,9 @@ export default {
let
url
=
process
.
env
.
ocrPath
+
'/baidu/ocr/house'
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsPopup
.
hideLoading
()
if
(
res
.
result
.
error_msg
)
{
hlsPopup
.
showLongCenter
(
res
.
result
.
error_msg
)
}
let
result
=
res
.
result
.
data
vm
.
hauseInfo
[
index
].
house_owner
=
result
.
house_owner
.
word
vm
.
hauseInfo
[
index
].
public_situation
=
result
.
public_situation
.
word
...
...
@@ -912,6 +915,7 @@ export default {
vm
.
hauseInfo
[
index
].
land_number
=
result
.
land_number
.
word
vm
.
hauseInfo
[
index
].
land_get_method
=
result
.
land_get_method
.
word
vm
.
hauseInfo
[
index
].
land_use_limit
=
result
.
land_use_limit
.
word
vm
.
$forceUpdate
()
})
},
carIdentify
(
fileUrl
,
index
)
{
...
...
@@ -920,6 +924,9 @@ export default {
let
url
=
process
.
env
.
ocrPath
+
'/baidu/ocr/vehicleLicense'
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsPopup
.
hideLoading
()
if
(
res
.
result
.
error_msg
)
{
hlsPopup
.
showLongCenter
(
res
.
result
.
error_msg
)
}
let
result
=
res
.
result
.
words_result
vm
.
carInfo
[
index
].
vehicle_identify_num
=
result
.
车辆识别代号
.
words
vm
.
carInfo
[
index
].
address
=
result
.
住址
.
words
...
...
@@ -932,6 +939,7 @@ export default {
vm
.
carInfo
[
index
].
regist_date
=
result
.
注册日期
.
words
vm
.
carInfo
[
index
].
plate_number
=
result
.
号牌号码
.
words
vm
.
carInfo
[
index
].
success
=
res
.
success
vm
.
$forceUpdate
()
})
},
estateIdentify
(
fileUrl
,
index
)
{
...
...
@@ -940,6 +948,9 @@ export default {
let
url
=
process
.
env
.
ocrPath
+
'/baidu/ocr/houseRight'
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsPopup
.
hideLoading
()
if
(
res
.
result
.
error_msg
)
{
hlsPopup
.
showLongCenter
(
res
.
result
.
error_msg
)
}
let
result
=
res
.
result
.
data
vm
.
propertyInfo
[
index
].
right_person
=
result
.
right_person
.
word
vm
.
propertyInfo
[
index
].
public_situation
=
result
.
public_situation
.
word
...
...
@@ -951,6 +962,7 @@ export default {
vm
.
propertyInfo
[
index
].
house_area
=
result
.
house_area
.
word
vm
.
propertyInfo
[
index
].
land_use_limit
=
result
.
land_use_limit
.
word
vm
.
propertyInfo
[
index
].
right_others
=
result
.
right_others
.
word
vm
.
$forceUpdate
()
})
},
takePicture
(
ocrType
,
type
,
index
)
{
...
...
src/pages/userBindNew/org/enclosure.vue
View file @
984df504
...
...
@@ -15,9 +15,10 @@
</h-header>
<h-content>
<div
v-for=
"(list, index) in cddItemList"
:key=
"index"
class=
"card2"
>
<div
style=
"display:flex"
>
<div
style=
"display:flex
;position:relative
"
>
<span
class=
"descript-color"
>
{{
list
.
description
}}
</span>
<span
@
click=
"addFile(list.cdd_item)"
>
添加
</span>
<Icon
v-if=
"['HOUSE_CARD','CAR_CARD','REAL_EST_CERTIFICATE'].indexOf(list.cdd_item) !==-1"
style=
"position: absolute;right: 45px;top: 5px;"
name=
"add-o"
size=
"20px"
color=
"blue"
@
click=
"addFile(list.cdd_item)"
/>
<!--
<Icon
name=
"add-o"
size=
"0.4rem"
color=
"blue"
@
click=
"addFile(list.cdd_item)"
style=
"margin-left: 20px;line-height: 0.36rem;padding-top: 0.12rem"
/>
-->
</div>
<div
class=
"img-content"
>
<!-- 房产 -->
...
...
@@ -391,13 +392,14 @@
</h-view>
</
template
>
<
script
>
import
{
Collapse
,
CollapseItem
}
from
'vant'
import
{
Collapse
,
CollapseItem
,
Icon
}
from
'vant'
import
'vant/lib/collapse/style'
import
'vant/lib/collapse-item/style'
import
'vant/lib/icon/style'
export
default
{
components
:
{
Collapse
,
CollapseItem
},
Collapse
,
CollapseItem
,
Icon
},
data
()
{
return
{
activeNames_h
:
[
0
],
...
...
@@ -1042,6 +1044,9 @@ export default {
let
url
=
process
.
env
.
ocrPath
+
'/baidu/ocr/house'
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsPopup
.
hideLoading
()
if
(
res
.
result
.
error_msg
)
{
hlsPopup
.
showLongCenter
(
res
.
result
.
error_msg
)
}
let
result
=
res
.
result
.
data
vm
.
hauseInfo
[
index
].
house_owner
=
result
.
house_owner
.
word
vm
.
hauseInfo
[
index
].
public_situation
=
result
.
public_situation
.
word
...
...
@@ -1056,6 +1061,7 @@ export default {
vm
.
hauseInfo
[
index
].
land_number
=
result
.
land_number
.
word
vm
.
hauseInfo
[
index
].
land_get_method
=
result
.
land_get_method
.
word
vm
.
hauseInfo
[
index
].
land_use_limit
=
result
.
land_use_limit
.
word
vm
.
$forceUpdate
()
})
},
// 行驶证识别
...
...
@@ -1065,6 +1071,9 @@ export default {
let
url
=
process
.
env
.
ocrPath
+
'/baidu/ocr/vehicleLicense'
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsPopup
.
hideLoading
()
if
(
res
.
result
.
error_msg
)
{
hlsPopup
.
showLongCenter
(
res
.
result
.
error_msg
)
}
let
result
=
res
.
result
.
words_result
vm
.
carInfo
[
index
].
vehicle_identify_num
=
result
.
车辆识别代号
.
words
vm
.
carInfo
[
index
].
address
=
result
.
住址
.
words
...
...
@@ -1078,6 +1087,7 @@ export default {
vm
.
carInfo
[
index
].
regist_date
=
result
.
注册日期
.
words
vm
.
carInfo
[
index
].
words_result_num
=
res
.
result
.
words_result_num
vm
.
carInfo
[
index
].
success
=
res
.
success
vm
.
$forceUpdate
()
})
},
// 不动产证识别
...
...
@@ -1087,6 +1097,9 @@ export default {
let
url
=
process
.
env
.
ocrPath
+
'/baidu/ocr/houseRight'
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsPopup
.
hideLoading
()
if
(
res
.
result
.
error_msg
)
{
hlsPopup
.
showLongCenter
(
res
.
result
.
error_msg
)
}
let
result
=
res
.
result
.
data
vm
.
propertyInfo
[
index
].
right_person
=
result
.
right_person
.
word
vm
.
propertyInfo
[
index
].
public_situation
=
result
.
public_situation
.
word
...
...
@@ -1098,6 +1111,7 @@ export default {
vm
.
propertyInfo
[
index
].
house_area
=
result
.
house_area
.
word
vm
.
propertyInfo
[
index
].
land_use_limit
=
result
.
land_use_limit
.
word
vm
.
propertyInfo
[
index
].
right_others
=
result
.
right_others
.
word
vm
.
$forceUpdate
()
})
},
loadItemList
(
flag
)
{
...
...
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