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
52f2db65
Commit
52f2db65
authored
Dec 12, 2019
by
786817560
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'12/12'
parent
2e3084a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
312 additions
and
9 deletions
+312
-9
entry-info.vue
src/pages/contractSigning/entry-info.vue
+4
-1
enclosure.vue
src/pages/userBindNew/org/enclosure.vue
+308
-8
No files found.
src/pages/contractSigning/entry-info.vue
View file @
52f2db65
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-12-
05 19:37:21
* @LastEditTime: 2019-12-
12 17:34:09
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -227,6 +227,9 @@ export default {
...
@@ -227,6 +227,9 @@ export default {
}
else
if
(
this
.
hlsUtil
.
isBankAccount
(
this
.
bank_lists
.
bank_account_num
))
{
}
else
if
(
this
.
hlsUtil
.
isBankAccount
(
this
.
bank_lists
.
bank_account_num
))
{
this
.
bank_card_flag
=
false
this
.
bank_card_flag
=
false
this
.
hlsPopup
.
showLongCenter
(
'请输入正确银行卡号!'
)
this
.
hlsPopup
.
showLongCenter
(
'请输入正确银行卡号!'
)
}
else
if
(
this
.
bank_lists
.
bank_full_name
!==
'农业银行'
)
{
this
.
bank_card_flag
=
false
this
.
hlsPopup
.
showLongCenter
(
'请您识别农业银行卡!'
)
}
else
{
}
else
{
this
.
bank_card_flag
=
true
this
.
bank_card_flag
=
true
}
}
...
...
src/pages/userBindNew/org/enclosure.vue
View file @
52f2db65
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Description: 附件信息
* @Description: 附件信息
* @Author: your name
* @Author: your name
* @Date: 2019-09-20 09:35:11
* @Date: 2019-09-20 09:35:11
* @LastEditTime: 2019-12-12 1
7:23:31
* @LastEditTime: 2019-12-12 1
9:58:04
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<img
src=
"@/assets/userBind/camera.png"
class=
"upload-btn"
>
<img
src=
"@/assets/userBind/camera.png"
class=
"upload-btn"
>
</div>
</div>
<!-- 通过 -->
<!-- 通过 -->
<div
v-if=
"isApproved"
class=
"card-upload"
>
<div
v-if=
"
houseImg&&
isApproved"
class=
"card-upload"
>
<img
:src=
"houseImg"
@
click=
"showBigPicture(houseImg)"
>
<img
:src=
"houseImg"
@
click=
"showBigPicture(houseImg)"
>
</div>
</div>
<!-- 未通过 -->
<!-- 未通过 -->
...
@@ -31,6 +31,122 @@
...
@@ -31,6 +31,122 @@
<img
:src=
"houseImg"
@
click=
"ocrShow(list.cdd_item, '')"
>
<img
:src=
"houseImg"
@
click=
"ocrShow(list.cdd_item, '')"
>
</div>
</div>
</div>
</div>
<div
v-if=
"list.cdd_item==='HOUSE_CARD'"
>
<list-item
:item-height=
"44"
class=
"card-Info"
>
<item>
<div
slot=
"name"
>
房屋所有权人
</div>
<input
slot=
"content"
v-model=
"hauseInfo.house_owner"
readonly
placeholder=
"识别房产证自动填充"
>
</item>
<item>
<div
slot=
"name"
>
共有情况
</div>
<input
slot=
"content"
v-model=
"hauseInfo.public_situation"
readonly
placeholder=
"识别房产证自动填充"
>
</item>
<item>
<div
slot=
"name"
>
房屋坐落
</div>
<input
slot=
"content"
v-model=
"hauseInfo.house_located"
readonly
placeholder=
"识别房产证自动填充"
>
</item>
<item>
<div
slot=
"name"
>
登记时间
</div>
<input
slot=
"content"
v-model=
"hauseInfo.regist_date"
readonly
placeholder=
"识别房产证自动填充"
>
</item>
<item>
<div
slot=
"name"
>
房屋性质
</div>
<input
slot=
"content"
v-model=
"hauseInfo.house_property"
readonly
placeholder=
"识别房产证自动填充"
>
</item>
<item>
<div
slot=
"name"
>
规划用途
</div>
<input
slot=
"content"
v-model=
"hauseInfo.plan_purpose"
readonly
placeholder=
"识别房产证自动填充"
>
</item>
<item>
<div
slot=
"name"
>
总层数
</div>
<input
slot=
"content"
v-model=
"hauseInfo.house_layers"
readonly
placeholder=
"识别房产证自动填充"
>
</item>
<item>
<div
slot=
"name"
>
建筑面积
</div>
<input
slot=
"content"
v-model=
"hauseInfo.built_area"
readonly
placeholder=
"识别房产证自动填充"
>
</item>
<item>
<div
slot=
"name"
>
套内建筑面积
</div>
<input
slot=
"content"
v-model=
"hauseInfo.built_in_area"
readonly
placeholder=
"识别房产证自动填充"
>
</item>
<item>
<div
slot=
"name"
>
其他
</div>
<input
slot=
"content"
v-model=
"hauseInfo.others"
readonly
placeholder=
"识别房产证自动填充"
>
</item>
<item>
<div
slot=
"name"
>
地号
</div>
<input
slot=
"content"
v-model=
"hauseInfo.land_number"
readonly
placeholder=
"识别房产证自动填充"
>
</item>
<item
:proportion=
"[1,1]"
>
<div
slot=
"name"
>
土地使用权取得方式
</div>
<input
slot=
"content"
v-model=
"hauseInfo.land_get_method"
readonly
placeholder=
"识别房产证自动填充"
>
</item>
<item>
<div
slot=
"name"
>
土地使用年限
</div>
<input
slot=
"content"
v-model=
"hauseInfo.land_use_limit"
readonly
placeholder=
"识别房产证自动填充"
>
</item>
</list-item>
</div>
<!-- 车辆 -->
<!-- 车辆 -->
<div
v-if=
"list.cdd_item==='CAR_CARD'"
>
<div
v-if=
"list.cdd_item==='CAR_CARD'"
>
<div
v-if=
"!carImg"
class=
"card-upload plus"
@
click=
"ocrShow(list.cdd_item, '')"
>
<div
v-if=
"!carImg"
class=
"card-upload plus"
@
click=
"ocrShow(list.cdd_item, '')"
>
...
@@ -45,6 +161,80 @@
...
@@ -45,6 +161,80 @@
<img
:src=
"carImg"
@
click=
"ocrShow(list.cdd_item, '')"
>
<img
:src=
"carImg"
@
click=
"ocrShow(list.cdd_item, '')"
>
</div>
</div>
</div>
</div>
<div
v-if=
"list.cdd_item==='CAR_CARD'"
>
<list-item
:item-height=
"44"
class=
"card-Info"
>
<item>
<div
slot=
"name"
>
车辆识别代号
</div>
<input
slot=
"content"
v-model=
"carInfo.vehicle_identify_num"
readonly
placeholder=
"识别行驶证自动填充"
>
</item>
<item>
<div
slot=
"name"
>
住址
</div>
<input
slot=
"content"
v-model=
"carInfo.address"
readonly
placeholder=
"识别行驶证自动填充"
>
</item>
<item>
<div
slot=
"name"
>
品牌型号
</div>
<input
slot=
"content"
v-model=
"carInfo.brand_model_number"
readonly
placeholder=
"识别行驶证自动填充"
>
</item>
<item>
<div
slot=
"name"
>
发证日期"
</div>
<input
slot=
"content"
v-model=
"carInfo.start_date"
readonly
placeholder=
"识别行驶证自动填充"
>
</item>
<item>
<div
slot=
"name"
>
车辆类型
</div>
<input
slot=
"content"
v-model=
"carInfo.vehicle_type"
readonly
placeholder=
"识别行驶证自动填充"
>
</item>
<item>
<div
slot=
"name"
>
所有人
</div>
<input
slot=
"content"
v-model=
"carInfo.owner"
readonly
placeholder=
"识别行驶证自动填充"
>
</item>
<item>
<div
slot=
"name"
>
使用性质
</div>
<input
slot=
"content"
v-model=
"carInfo.use_nature"
readonly
placeholder=
"识别行驶证自动填充"
>
</item>
<item>
<div
slot=
"name"
>
发动机号码
</div>
<input
slot=
"content"
v-model=
"carInfo.engine_number"
readonly
placeholder=
"识别行驶证自动填充"
>
</item>
<item>
<div
slot=
"name"
>
号牌号码
</div>
<input
slot=
"content"
v-model=
"carInfo.plate_number"
readonly
placeholder=
"识别行驶证自动填充"
>
</item>
<item>
<div
slot=
"name"
>
注册日期
</div>
<input
slot=
"content"
v-model=
"carInfo.regist_date"
readonly
placeholder=
"识别行驶证自动填充"
>
</item>
</list-item>
</div>
<!-- 其他 -->
<!-- 其他 -->
<div
v-if=
"list.cdd_item==='ASSETS_CARD'"
>
<div
v-if=
"list.cdd_item==='ASSETS_CARD'"
>
<!--待上传图片列表-->
<!--待上传图片列表-->
...
@@ -102,6 +292,37 @@ export default {
...
@@ -102,6 +292,37 @@ export default {
cddItemList
:
[],
// 资料清单列表
cddItemList
:
[],
// 资料清单列表
dowload_list
:
[],
// 下载图片列表
dowload_list
:
[],
// 下载图片列表
upload_list
:
[],
// 上传图片列表
upload_list
:
[],
// 上传图片列表
carInfo
:
{
bp_id
:
this
.
$route
.
params
.
bp_id
,
vehicle_identify_num
:
''
,
address
:
''
,
brand_model_number
:
''
,
start_date
:
''
,
vehicle_type
:
''
,
owner
:
''
,
use_nature
:
''
,
engine_number
:
''
,
plate_number
:
''
,
regist_date
:
''
,
words_result_num
:
''
,
success
:
''
,
},
hauseInfo
:
{
bp_id
:
this
.
$route
.
params
.
bp_id
,
house_owner
:
''
,
public_situation
:
''
,
house_located
:
''
,
regist_date
:
''
,
house_property
:
''
,
plan_purpose
:
''
,
house_layers
:
''
,
built_area
:
''
,
built_in_area
:
''
,
others
:
''
,
land_number
:
''
,
land_get_method
:
''
,
land_use_limit
:
''
,
},
}
}
},
},
watch
:
{},
watch
:
{},
...
@@ -114,18 +335,87 @@ export default {
...
@@ -114,18 +335,87 @@ export default {
vm
.
isApproved
=
window
.
localStorage
.
isApproved
vm
.
isApproved
=
window
.
localStorage
.
isApproved
vm
.
bp_id
=
vm
.
$route
.
params
.
bp_id
vm
.
bp_id
=
vm
.
$route
.
params
.
bp_id
vm
.
loadItemList
()
vm
.
loadItemList
()
vm
.
houseQuery
()
vm
.
carQuery
()
}
}
})
})
},
},
created
()
{},
created
()
{},
methods
:
{
methods
:
{
verified
()
{
// 房产证信息查询
this
.
$router
.
push
({
houseQuery
()
{
name
:
'BankInfo'
,
let
vm
=
this
params
:
{
let
url
=
process
.
env
.
basePath
+
'bp_house_info_query'
bp_id
:
this
.
bp_id
,
let
param
=
{
},
bp_id
:
vm
.
bp_id
,
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
Object
.
assign
(
vm
.
hauseInfo
,
res
.
info
)
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
// 行驶证信息查询
carQuery
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_vehicleLicense_query'
let
param
=
{
bp_id
:
vm
.
bp_id
,
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
Object
.
assign
(
vm
.
carInfo
,
res
.
info
)
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
})
},
// 行驶证信息保存
saveCarInfo
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_vehicleLicense_save'
let
param
=
{
master
:
vm
.
carInfo
,
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
$router
.
push
({
name
:
'BankInfo'
,
params
:
{
bp_id
:
vm
.
bp_id
,
},
})
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
// 房产证信息保存
saveHouseInfo
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_house_info_save'
let
param
=
{
master
:
vm
.
hauseInfo
,
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
saveCarInfo
()
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
verified
()
{
let
vm
=
this
let
vm
=
this
if
(
vm
.
isUploadHouse
)
{
if
(
vm
.
isUploadHouse
)
{
vm
.
houseFlag
=
true
vm
.
houseFlag
=
true
...
@@ -163,6 +453,7 @@ export default {
...
@@ -163,6 +453,7 @@ export default {
vm
.
save_picture
(
list
)
vm
.
save_picture
(
list
)
vm
.
isUploadCar
=
false
// 置为false,防止再次保存重复上传,只有重新识别才会重新上传
vm
.
isUploadCar
=
false
// 置为false,防止再次保存重复上传,只有重新识别才会重新上传
}
}
vm
.
saveHouseInfo
()
},
},
// 房产证/车辆证识别
// 房产证/车辆证识别
ocrShow
(
ocrType
,
type
)
{
ocrShow
(
ocrType
,
type
)
{
...
@@ -193,9 +484,11 @@ export default {
...
@@ -193,9 +484,11 @@ export default {
if
(
ocrType
===
'HOUSE_CARD'
)
{
if
(
ocrType
===
'HOUSE_CARD'
)
{
vm
.
isUploadHouse
=
true
vm
.
isUploadHouse
=
true
vm
.
houseImg
=
imgdata
vm
.
houseImg
=
imgdata
vm
.
houseCardIdentify
(
imgdata
)
}
else
if
(
ocrType
===
'CAR_CARD'
)
{
}
else
if
(
ocrType
===
'CAR_CARD'
)
{
vm
.
isUploadCar
=
true
vm
.
isUploadCar
=
true
vm
.
carImg
=
imgdata
vm
.
carImg
=
imgdata
vm
.
carCardIdentify
(
imgdata
)
}
}
}
}
}
}
...
@@ -219,9 +512,11 @@ export default {
...
@@ -219,9 +512,11 @@ export default {
if
(
ocrType
===
'HOUSE_CARD'
)
{
if
(
ocrType
===
'HOUSE_CARD'
)
{
vm
.
houseImg
=
imgUrl
[
0
]
vm
.
houseImg
=
imgUrl
[
0
]
vm
.
isUploadHouse
=
true
vm
.
isUploadHouse
=
true
vm
.
houseCardIdentify
(
imgUrl
[
0
])
}
else
if
(
ocrType
===
'CAR_CARD'
)
{
}
else
if
(
ocrType
===
'CAR_CARD'
)
{
vm
.
carImg
=
imgUrl
[
0
]
vm
.
carImg
=
imgUrl
[
0
]
vm
.
isUploadCar
=
true
vm
.
isUploadCar
=
true
vm
.
carCardIdentify
(
imgUrl
[
0
])
}
}
}
}
}
}
...
@@ -230,7 +525,12 @@ export default {
...
@@ -230,7 +525,12 @@ export default {
}
}
vm
.
hlsUtil
.
takePicture
(
cameraoptions
,
success
,
error
)
vm
.
hlsUtil
.
takePicture
(
cameraoptions
,
success
,
error
)
},
},
// 房产证识别
houseCardIdentify
()
{},
// 行驶证识别
carCardIdentify
()
{
},
loadItemList
()
{
loadItemList
()
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'prj_cdd_check_list'
let
url
=
process
.
env
.
basePath
+
'prj_cdd_check_list'
...
...
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