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
c2395584
Commit
c2395584
authored
Dec 16, 2019
by
786817560
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ren' into develop
parents
2405eddc
f7776573
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
70 additions
and
42 deletions
+70
-42
my-info.vue
src/pages/myInfo/my-info.vue
+3
-1
bankInfo.vue
src/pages/userBindNew/org/bankInfo.vue
+3
-3
baseInfo.vue
src/pages/userBindNew/org/baseInfo.vue
+1
-1
enclosure.vue
src/pages/userBindNew/org/enclosure.vue
+35
-12
invoice.vue
src/pages/userBindNew/org/invoice.vue
+28
-25
No files found.
src/pages/myInfo/my-info.vue
View file @
c2395584
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-11-07 17:48:53
* @Date: 2019-11-07 17:48:53
* @LastEditTime: 2019-12-1
1 15:25:51
* @LastEditTime: 2019-12-1
6 17:31:46
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -650,6 +650,7 @@ export default {
...
@@ -650,6 +650,7 @@ export default {
params
:
{
params
:
{
bp_id
:
this
.
bp_id
,
bp_id
:
this
.
bp_id
,
user_bp_name
:
this
.
user_bp_name
,
user_bp_name
:
this
.
user_bp_name
,
bp_class
:
vm
.
user_bp_class
,
},
},
})
})
}
}
...
@@ -675,6 +676,7 @@ export default {
...
@@ -675,6 +676,7 @@ export default {
isAGENT
:
this
.
isAGENT
,
isAGENT
:
this
.
isAGENT
,
status
:
'APPROVED'
,
status
:
'APPROVED'
,
isMultiRole
:
this
.
isMultiRole
,
isMultiRole
:
this
.
isMultiRole
,
bp_class
:
vm
.
user_bp_class
,
},
},
})
})
}
}
...
...
src/pages/userBindNew/org/bankInfo.vue
View file @
c2395584
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @Author: your name
* @Author: your name
* @Date: 2019-09-24 21:29:35
* @Date: 2019-09-24 21:29:35
* @LastEditTime: 2019-12-1
1 19:26:10
* @LastEditTime: 2019-12-1
6 17:53:17
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -180,8 +180,8 @@ export default {
...
@@ -180,8 +180,8 @@ export default {
this
.
showModalValue
=
true
this
.
showModalValue
=
true
},
},
sendList
(
a
)
{
sendList
(
a
)
{
this
.
$emit
(
'getList'
,
a
)
this
.
sendFlag
(
)
this
.
sendFlag
(
false
)
this
.
bank_lists
=
a
},
},
changeBgImg
(
item
)
{
changeBgImg
(
item
)
{
if
(
item
.
bank_full_name
.
indexOf
(
'农业银行'
)
!==
-
1
)
{
if
(
item
.
bank_full_name
.
indexOf
(
'农业银行'
)
!==
-
1
)
{
...
...
src/pages/userBindNew/org/baseInfo.vue
View file @
c2395584
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @Author: your name
* @Author: your name
* @Date: 2019-09-19 09:31:19
* @Date: 2019-09-19 09:31:19
* @LastEditTime: 2019-12-16 1
6:22:55
* @LastEditTime: 2019-12-16 1
7:42:13
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
...
src/pages/userBindNew/org/enclosure.vue
View file @
c2395584
...
@@ -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-16 1
6:32:08
* @LastEditTime: 2019-12-16 1
7:55:43
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -135,7 +135,7 @@
...
@@ -135,7 +135,7 @@
</item>
</item>
</list-item>
</list-item>
</div>
</div>
<!-- 不动产 -->
<!--
<div
v-if=
"list.cdd_item==='REAL_EST_CERTIFICATE'"
>
<!--
<div
v-if=
"list.cdd_item==='REAL_EST_CERTIFICATE'"
>
<div
v-if=
"!propertyImg"
class=
"card-upload plus"
@
click=
"ocrShow(list.cdd_item, '')"
>
<div
v-if=
"!propertyImg"
class=
"card-upload plus"
@
click=
"ocrShow(list.cdd_item, '')"
>
<img
src=
"@/assets/userBind/camera.png"
class=
"upload-btn"
>
<img
src=
"@/assets/userBind/camera.png"
class=
"upload-btn"
>
...
@@ -250,50 +250,46 @@
...
@@ -250,50 +250,46 @@
<input
<input
slot=
"content"
slot=
"content"
v-model=
"carInfo.vehicle_identify_num"
v-model=
"carInfo.vehicle_identify_num"
readonly
placeholder=
"识别行驶证自动填充"
placeholder=
"识别行驶证自动填充"
>
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
住址
</div>
<div
slot=
"name"
>
住址
</div>
<input
slot=
"content"
v-model=
"carInfo.address"
readonly
placeholder=
"识别行驶证自动填充"
>
<input
slot=
"content"
v-model=
"carInfo.address"
placeholder=
"识别行驶证自动填充"
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
品牌型号
</div>
<div
slot=
"name"
>
品牌型号
</div>
<input
<input
slot=
"content"
slot=
"content"
v-model=
"carInfo.brand_model_number"
v-model=
"carInfo.brand_model_number"
readonly
placeholder=
"识别行驶证自动填充"
placeholder=
"识别行驶证自动填充"
>
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
发证日期"
</div>
<div
slot=
"name"
>
发证日期"
</div>
<input
slot=
"content"
v-model=
"carInfo.start_date"
readonly
placeholder=
"识别行驶证自动填充"
>
<input
slot=
"content"
v-model=
"carInfo.start_date"
placeholder=
"识别行驶证自动填充"
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
车辆类型
</div>
<div
slot=
"name"
>
车辆类型
</div>
<input
<input
slot=
"content"
slot=
"content"
v-model=
"carInfo.vehicle_type"
v-model=
"carInfo.vehicle_type"
readonly
placeholder=
"识别行驶证自动填充"
placeholder=
"识别行驶证自动填充"
>
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
所有人
</div>
<div
slot=
"name"
>
所有人
</div>
<input
slot=
"content"
v-model=
"carInfo.owner"
readonly
placeholder=
"识别行驶证自动填充"
>
<input
slot=
"content"
v-model=
"carInfo.owner"
placeholder=
"识别行驶证自动填充"
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
使用性质
</div>
<div
slot=
"name"
>
使用性质
</div>
<input
slot=
"content"
v-model=
"carInfo.use_nature"
readonly
placeholder=
"识别行驶证自动填充"
>
<input
slot=
"content"
v-model=
"carInfo.use_nature"
placeholder=
"识别行驶证自动填充"
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
发动机号码
</div>
<div
slot=
"name"
>
发动机号码
</div>
<input
<input
slot=
"content"
slot=
"content"
v-model=
"carInfo.engine_number"
v-model=
"carInfo.engine_number"
readonly
placeholder=
"识别行驶证自动填充"
placeholder=
"识别行驶证自动填充"
>
>
</item>
</item>
...
@@ -302,7 +298,6 @@
...
@@ -302,7 +298,6 @@
<input
<input
slot=
"content"
slot=
"content"
v-model=
"carInfo.plate_number"
v-model=
"carInfo.plate_number"
readonly
placeholder=
"识别行驶证自动填充"
placeholder=
"识别行驶证自动填充"
>
>
</item>
</item>
...
@@ -311,7 +306,6 @@
...
@@ -311,7 +306,6 @@
<input
<input
slot=
"content"
slot=
"content"
v-model=
"carInfo.regist_date"
v-model=
"carInfo.regist_date"
readonly
placeholder=
"识别行驶证自动填充"
placeholder=
"识别行驶证自动填充"
>
>
</item>
</item>
...
@@ -370,6 +364,7 @@ export default {
...
@@ -370,6 +364,7 @@ export default {
isApproved
:
false
,
isApproved
:
false
,
isUploadCar
:
false
,
isUploadCar
:
false
,
isUploadHouse
:
false
,
isUploadHouse
:
false
,
isProperty
:
false
,
carAttachmentId
:
''
,
// 车辆证id
carAttachmentId
:
''
,
// 车辆证id
houseAttachmentId
:
''
,
// 房产证id
houseAttachmentId
:
''
,
// 房产证id
cddItemList
:
[],
// 资料清单列表
cddItemList
:
[],
// 资料清单列表
...
@@ -627,6 +622,10 @@ export default {
...
@@ -627,6 +622,10 @@ export default {
vm
.
isUploadCar
=
true
vm
.
isUploadCar
=
true
vm
.
carImg
=
imgdata
vm
.
carImg
=
imgdata
vm
.
carCardIdentify
(
imgdata
)
vm
.
carCardIdentify
(
imgdata
)
}
else
if
(
ocrType
===
'REAL_EST_CERTIFICATE'
)
{
vm
.
isProperty
=
true
vm
.
propertyImg
=
imgdata
vm
.
propertyIdentify
(
imgdata
)
}
}
}
}
}
}
...
@@ -655,6 +654,10 @@ export default {
...
@@ -655,6 +654,10 @@ export default {
vm
.
carImg
=
imgUrl
[
0
]
vm
.
carImg
=
imgUrl
[
0
]
vm
.
isUploadCar
=
true
vm
.
isUploadCar
=
true
vm
.
carCardIdentify
(
imgUrl
[
0
])
vm
.
carCardIdentify
(
imgUrl
[
0
])
}
else
if
(
ocrType
===
'REAL_EST_CERTIFICATE'
)
{
vm
.
isProperty
=
true
vm
.
propertyImg
=
imgUrl
[
0
]
vm
.
propertyIdentify
(
imgUrl
[
0
])
}
}
}
}
}
}
...
@@ -708,6 +711,26 @@ export default {
...
@@ -708,6 +711,26 @@ export default {
vm
.
carInfo
.
success
=
res
.
success
vm
.
carInfo
.
success
=
res
.
success
})
})
},
},
// 不动产证识别
propertyIdentify
(
fileUrl
)
{
let
vm
=
this
hlsPopup
.
showLoading
(
'正在识别'
)
let
url
=
process
.
env
.
ocrPath
+
'/baidu/ocr/houseRight'
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsPopup
.
hideLoading
()
let
result
=
res
.
result
.
data
vm
.
propertyInfo
.
right_person
=
result
.
right_person
.
word
vm
.
propertyInfo
.
public_situation
=
result
.
public_situation
.
word
vm
.
propertyInfo
.
house_located
=
result
.
house_located
.
word
vm
.
propertyInfo
.
real_unit_number
=
result
.
real_unit_number
.
word
vm
.
propertyInfo
.
right_type
=
result
.
right_type
.
word
vm
.
propertyInfo
.
right_property
=
result
.
right_property
.
word
vm
.
propertyInfo
.
house_purpose
=
result
.
house_purpose
.
word
vm
.
propertyInfo
.
house_area
=
result
.
house_area
.
word
vm
.
propertyInfo
.
land_use_limit
=
result
.
land_use_limit
.
word
vm
.
propertyInfo
.
right_others
=
result
.
right_others
.
word
})
},
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'
...
...
src/pages/userBindNew/org/invoice.vue
View file @
c2395584
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @Author: your name
* @Author: your name
* @Date: 2019-09-20 09:35:11
* @Date: 2019-09-20 09:35:11
* @LastEditTime: 2019-12-1
3 11:12:08
* @LastEditTime: 2019-12-1
6 17:42:00
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -215,31 +215,34 @@ export default {
...
@@ -215,31 +215,34 @@ export default {
})
})
},
},
verified
()
{
verified
()
{
console
.
log
(
'bpid'
,
this
.
$route
.
params
.
bp_id
)
// console.log('bpid', this.$route.params.bp_id)
this
.
$router
.
push
({
// this.$router.push({
name
:
'Enclosure'
,
// name: 'Enclosure',
params
:
{
// params: {
bp_id
:
this
.
bp_id
,
// bp_id: this.bp_id,
},
// },
})
// let vm = this
// let url = process.env.basePath + 'bp_invoice_save'
// let param = {
// bp_id: '',
// bp_class: '',
// ...vm.invoiceInfo,
// }
// delete param.taxpayer_type_n
// delete param.invoice_kind_n
// vm.hlsPopup.showLoading('请稍候')
// vm.hlsHttp.post(url, param).then(function (res) {
// vm.hlsPopup.hideLoading()
// if (res.result === 'S') {
// vm.$router.push({
// name: 'Enclosure',
// })
// }
// })
// })
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_invoice_save'
let
param
=
{
bp_id
:
vm
.
bp_id
,
bp_class
:
'ORG'
,
...
vm
.
invoiceInfo
,
}
delete
param
.
taxpayer_type_n
delete
param
.
invoice_kind_n
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
$router
.
push
({
name
:
'Enclosure'
,
params
:
{
bp_id
:
vm
.
bp_id
,
},
})
}
})
},
},
},
},
}
}
...
...
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