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
0b0f088b
Commit
0b0f088b
authored
Jun 26, 2023
by
郑娟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
附件清单OCR识别错误增加提示
parent
4b76ae84
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
1 deletion
+19
-1
uat.env.js
config/uat.env.js
+1
-1
accessory-info.vue
src/pages/userBindNew/np/accessory-info.vue
+9
-0
enclosure.vue
src/pages/userBindNew/org/enclosure.vue
+9
-0
No files found.
config/uat.env.js
View file @
0b0f088b
...
@@ -11,5 +11,5 @@ module.exports = {
...
@@ -11,5 +11,5 @@ module.exports = {
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="'
,
appId
:
'"com.xcmg.app.dev"'
,
appId
:
'"com.xcmg.app.dev"'
,
currentVersion
:
'"4.1.
7
"'
currentVersion
:
'"4.1.
9
"'
}
}
src/pages/userBindNew/np/accessory-info.vue
View file @
0b0f088b
...
@@ -898,6 +898,9 @@ export default {
...
@@ -898,6 +898,9 @@ export default {
let
url
=
process
.
env
.
ocrPath
+
'/baidu/ocr/house'
let
url
=
process
.
env
.
ocrPath
+
'/baidu/ocr/house'
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsPopup
.
hideLoading
()
hlsPopup
.
hideLoading
()
if
(
res
.
result
.
error_msg
)
{
hlsPopup
.
showLongCenter
(
res
.
result
.
error_msg
)
}
let
result
=
res
.
result
.
data
let
result
=
res
.
result
.
data
vm
.
hauseInfo
[
index
].
house_owner
=
result
.
house_owner
.
word
vm
.
hauseInfo
[
index
].
house_owner
=
result
.
house_owner
.
word
vm
.
hauseInfo
[
index
].
public_situation
=
result
.
public_situation
.
word
vm
.
hauseInfo
[
index
].
public_situation
=
result
.
public_situation
.
word
...
@@ -920,6 +923,9 @@ export default {
...
@@ -920,6 +923,9 @@ export default {
let
url
=
process
.
env
.
ocrPath
+
'/baidu/ocr/vehicleLicense'
let
url
=
process
.
env
.
ocrPath
+
'/baidu/ocr/vehicleLicense'
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsPopup
.
hideLoading
()
hlsPopup
.
hideLoading
()
if
(
res
.
result
.
error_msg
)
{
hlsPopup
.
showLongCenter
(
res
.
result
.
error_msg
)
}
let
result
=
res
.
result
.
words_result
let
result
=
res
.
result
.
words_result
vm
.
carInfo
[
index
].
vehicle_identify_num
=
result
.
车辆识别代号
.
words
vm
.
carInfo
[
index
].
vehicle_identify_num
=
result
.
车辆识别代号
.
words
vm
.
carInfo
[
index
].
address
=
result
.
住址
.
words
vm
.
carInfo
[
index
].
address
=
result
.
住址
.
words
...
@@ -940,6 +946,9 @@ export default {
...
@@ -940,6 +946,9 @@ export default {
let
url
=
process
.
env
.
ocrPath
+
'/baidu/ocr/houseRight'
let
url
=
process
.
env
.
ocrPath
+
'/baidu/ocr/houseRight'
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsPopup
.
hideLoading
()
hlsPopup
.
hideLoading
()
if
(
res
.
result
.
error_msg
)
{
hlsPopup
.
showLongCenter
(
res
.
result
.
error_msg
)
}
let
result
=
res
.
result
.
data
let
result
=
res
.
result
.
data
vm
.
propertyInfo
[
index
].
right_person
=
result
.
right_person
.
word
vm
.
propertyInfo
[
index
].
right_person
=
result
.
right_person
.
word
vm
.
propertyInfo
[
index
].
public_situation
=
result
.
public_situation
.
word
vm
.
propertyInfo
[
index
].
public_situation
=
result
.
public_situation
.
word
...
...
src/pages/userBindNew/org/enclosure.vue
View file @
0b0f088b
...
@@ -1044,6 +1044,9 @@ export default {
...
@@ -1044,6 +1044,9 @@ export default {
let
url
=
process
.
env
.
ocrPath
+
'/baidu/ocr/house'
let
url
=
process
.
env
.
ocrPath
+
'/baidu/ocr/house'
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsPopup
.
hideLoading
()
hlsPopup
.
hideLoading
()
if
(
res
.
result
.
error_msg
)
{
hlsPopup
.
showLongCenter
(
res
.
result
.
error_msg
)
}
let
result
=
res
.
result
.
data
let
result
=
res
.
result
.
data
vm
.
hauseInfo
[
index
].
house_owner
=
result
.
house_owner
.
word
vm
.
hauseInfo
[
index
].
house_owner
=
result
.
house_owner
.
word
vm
.
hauseInfo
[
index
].
public_situation
=
result
.
public_situation
.
word
vm
.
hauseInfo
[
index
].
public_situation
=
result
.
public_situation
.
word
...
@@ -1067,6 +1070,9 @@ export default {
...
@@ -1067,6 +1070,9 @@ export default {
let
url
=
process
.
env
.
ocrPath
+
'/baidu/ocr/vehicleLicense'
let
url
=
process
.
env
.
ocrPath
+
'/baidu/ocr/vehicleLicense'
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsPopup
.
hideLoading
()
hlsPopup
.
hideLoading
()
if
(
res
.
result
.
error_msg
)
{
hlsPopup
.
showLongCenter
(
res
.
result
.
error_msg
)
}
let
result
=
res
.
result
.
words_result
let
result
=
res
.
result
.
words_result
vm
.
carInfo
[
index
].
vehicle_identify_num
=
result
.
车辆识别代号
.
words
vm
.
carInfo
[
index
].
vehicle_identify_num
=
result
.
车辆识别代号
.
words
vm
.
carInfo
[
index
].
address
=
result
.
住址
.
words
vm
.
carInfo
[
index
].
address
=
result
.
住址
.
words
...
@@ -1089,6 +1095,9 @@ export default {
...
@@ -1089,6 +1095,9 @@ export default {
let
url
=
process
.
env
.
ocrPath
+
'/baidu/ocr/houseRight'
let
url
=
process
.
env
.
ocrPath
+
'/baidu/ocr/houseRight'
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsPopup
.
hideLoading
()
hlsPopup
.
hideLoading
()
if
(
res
.
result
.
error_msg
)
{
hlsPopup
.
showLongCenter
(
res
.
result
.
error_msg
)
}
let
result
=
res
.
result
.
data
let
result
=
res
.
result
.
data
vm
.
propertyInfo
[
index
].
right_person
=
result
.
right_person
.
word
vm
.
propertyInfo
[
index
].
right_person
=
result
.
right_person
.
word
vm
.
propertyInfo
[
index
].
public_situation
=
result
.
public_situation
.
word
vm
.
propertyInfo
[
index
].
public_situation
=
result
.
public_situation
.
word
...
...
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