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
c015a3a2
Commit
c015a3a2
authored
Oct 23, 2019
by
786817560
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'银行卡识别'
parent
a88d17c0
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
77 additions
and
28 deletions
+77
-28
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+10
-3
contract-signing.vue
src/pages/contractSigning/contract-signing.vue
+6
-6
entry-info.vue
src/pages/contractSigning/entry-info.vue
+58
-17
enterprise.vue
src/pages/userBind/org/enterprise.vue
+3
-2
No files found.
src/pages/contractSigning/contract-detail.vue
View file @
c015a3a2
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-2
2 17:22:03
* @LastEditTime: 2019-10-2
3 13:51:34
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -126,7 +126,7 @@
...
@@ -126,7 +126,7 @@
<img
src=
"@/assets/constractSigning/read.png"
alt=
""
class=
"read"
>
<img
src=
"@/assets/constractSigning/read.png"
alt=
""
class=
"read"
>
</div>
</div>
<div
slot=
"content"
class=
"in-all"
>
<div
slot=
"content"
class=
"in-all"
>
<div
@
click=
"entryInfo"
><img
src=
"@/assets/constractSigning/scan.png"
alt=
""
></div>
<div
v-show=
"confirm_status === 'SUBMIT'"
@
click=
"entryInfo"
><img
src=
"@/assets/constractSigning/scan.png"
alt=
""
></div>
<div
@
click=
"goContractContent('农行代扣授权书')"
><img
src=
"@/assets/constractSigning/detail.png"
alt=
""
></div>
<div
@
click=
"goContractContent('农行代扣授权书')"
><img
src=
"@/assets/constractSigning/detail.png"
alt=
""
></div>
</div>
</div>
...
@@ -177,7 +177,7 @@ export default {
...
@@ -177,7 +177,7 @@ export default {
check2
:
Check2
,
check2
:
Check2
,
uncheck1
:
unCheck1
,
uncheck1
:
unCheck1
,
uncheck2
:
unCheck2
,
uncheck2
:
unCheck2
,
confirm_status
:
this
.
$route
.
params
.
confirm_status
,
confirm_status
:
''
,
}
}
},
},
computed
:
{},
computed
:
{},
...
@@ -186,11 +186,15 @@ export default {
...
@@ -186,11 +186,15 @@ export default {
if
(
from
.
name
===
'ContractSigning'
)
{
if
(
from
.
name
===
'ContractSigning'
)
{
next
(
vm
=>
{
next
(
vm
=>
{
vm
.
project_id
=
vm
.
$route
.
params
.
project_id
vm
.
project_id
=
vm
.
$route
.
params
.
project_id
vm
.
confirm_status
=
vm
.
$route
.
params
.
confirm_status
vm
.
conditionQuery
()
vm
.
conditionQuery
()
})
})
}
}
next
()
next
()
},
},
activated
()
{
// console.log('...........', this.$route.params.confirm_status)
},
methods
:
{
methods
:
{
// 合同商务条件查询
// 合同商务条件查询
conditionQuery
()
{
conditionQuery
()
{
...
@@ -230,6 +234,9 @@ export default {
...
@@ -230,6 +234,9 @@ export default {
entryInfo
()
{
entryInfo
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'EntryInfo'
,
name
:
'EntryInfo'
,
params
:
{
project_id
:
this
.
project_id
,
},
})
})
},
},
inSure
()
{
inSure
()
{
...
...
src/pages/contractSigning/contract-signing.vue
View file @
c015a3a2
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-2
2 16:43:01
* @LastEditTime: 2019-10-2
3 11:01:35
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
<p
class=
"incoming-num"
>
进件号
</p>
<p
class=
"incoming-num"
>
进件号
</p>
<p
class=
"code"
>
{{
item
.
project_number
}}
</p>
<p
class=
"code"
>
{{
item
.
project_number
}}
</p>
</div>
</div>
<div
class=
"details"
@
click=
"goDetails(item.project_id,item.confirm_status)"
>
<div
class=
"details"
@
click=
"goDetails(item.project_id,item.con
_con
firm_status)"
>
<div
class=
"option"
>
<div
class=
"option"
>
<p
class=
"name"
>
承租人
</p>
<p
class=
"name"
>
承租人
</p>
<p
class=
"full-name normal"
>
{{
item
.
bp_name
}}
</p>
<p
class=
"full-name normal"
>
{{
item
.
bp_name
}}
</p>
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
<p
class=
"incoming-num"
>
进件号
</p>
<p
class=
"incoming-num"
>
进件号
</p>
<p
class=
"code"
>
{{
item
.
project_number
}}
</p>
<p
class=
"code"
>
{{
item
.
project_number
}}
</p>
</div>
</div>
<div
class=
"details"
@
click=
"goDetails(item.project_id)"
>
<div
class=
"details"
@
click=
"goDetails(item.project_id
,item.con_confirm_status
)"
>
<div
class=
"option"
>
<div
class=
"option"
>
<p
class=
"name"
>
承租人
</p>
<p
class=
"name"
>
承租人
</p>
<p
class=
"full-name normal"
>
{{
item
.
bp_name
}}
</p>
<p
class=
"full-name normal"
>
{{
item
.
bp_name
}}
</p>
...
@@ -101,7 +101,7 @@ export default {
...
@@ -101,7 +101,7 @@ export default {
},
},
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
if
(
from
.
name
===
'
HomePage
'
)
{
if
(
from
.
name
===
'
MyInfo
'
)
{
next
(
vm
=>
{
next
(
vm
=>
{
vm
.
contractList
()
vm
.
contractList
()
})
})
...
@@ -118,8 +118,8 @@ export default {
...
@@ -118,8 +118,8 @@ export default {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
res
)
console
.
log
(
res
)
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
submitLists
=
res
.
lists
.
filter
(
item
=>
item
.
confirm_status
===
'SUBMIT'
)
vm
.
submitLists
=
res
.
lists
.
filter
(
item
=>
item
.
con
_con
firm_status
===
'SUBMIT'
)
vm
.
approvedLists
=
res
.
lists
.
filter
(
item
=>
item
.
confirm_status
===
'APPROVED'
)
vm
.
approvedLists
=
res
.
lists
.
filter
(
item
=>
item
.
con
_con
firm_status
===
'APPROVED'
)
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
...
...
src/pages/contractSigning/entry-info.vue
View file @
c015a3a2
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-2
2 20:03:19
* @LastEditTime: 2019-10-2
3 13:47:58
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: /c:\Users\slice\Desktop\xg\new-pro\hls-xcmg-vue-app\src\pages\contractSigning\entry-info.vue
-->
-->
<
template
>
<
template
>
<h-view
id=
"entry-info"
class=
"public-style"
>
<h-view
id=
"entry-info"
class=
"public-style"
>
...
@@ -19,29 +18,31 @@
...
@@ -19,29 +18,31 @@
<div
class=
"info"
>
<div
class=
"info"
>
<div
class=
"info-header"
>
<div
class=
"info-header"
>
<p>
请上传银行卡照片
</p>
<p>
请上传银行卡照片
</p>
<div
class=
"bank-pic"
>
<div
v-if=
"!bankImg"
class=
"bank-pic"
>
<img
v-if=
"!bankImg"
src=
"@/assets/constractSigning/bank.png"
alt=
""
@
click=
"ocrShow('bankCard', '')"
>
<img
src=
"@/assets/constractSigning/bank.png"
alt=
""
@
click=
"ocrShow('bankCard', '')"
>
<img
v-if=
"bankImg"
:src=
"bankImg"
alt=
""
@
click=
"ocrShow('bankCard', '')"
>
</div>
<div
v-if=
"bankImg"
class=
"bank-pic2"
>
<img
:src=
"bankImg"
alt=
""
@
click=
"ocrShow('bankCard', '')"
>
</div>
</div>
</div>
</div>
<list-item
:item-height=
"44"
class=
"info-center"
>
<list-item
:item-height=
"44"
class=
"info-center"
>
<item>
<item>
<div
slot=
"name"
>
银行卡卡号
</div>
<div
slot=
"name"
>
银行卡卡号
</div>
<input
<input
slot=
"content"
v-model=
"bank_lists.bank_account_num"
type=
"text"
placeholder=
"上传银行卡自动填充"
slot=
"content"
v-model=
"bank_lists
[0]
.bank_account_num"
type=
"text"
placeholder=
"上传银行卡自动填充"
readonly
>
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
账户名称
</div>
<div
slot=
"name"
>
账户名称
</div>
<input
slot=
"content"
type=
"text"
placeholder=
"请输入账户名称"
>
<input
slot=
"content"
v-model=
"bank_lists[0].bank_account_name"
type=
"text"
placeholder=
"请输入账户名称"
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
银行名称
</div>
<div
slot=
"name"
>
银行名称
</div>
<input
slot=
"content"
v-model=
"bank_lists.bank_full_name"
type=
"text"
placeholder=
"请输入银行名称"
>
<input
slot=
"content"
v-model=
"bank_lists
[0]
.bank_full_name"
type=
"text"
placeholder=
"请输入银行名称"
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
支行名称
</div>
<div
slot=
"name"
>
支行名称
</div>
<input
slot=
"content"
type=
"text"
placeholder=
"请输入支行名称"
>
<input
slot=
"content"
v-model=
"bank_lists[0].bank_branch_name"
type=
"text"
placeholder=
"请输入支行名称"
>
</item>
</item>
</list-item>
</list-item>
...
@@ -49,7 +50,7 @@
...
@@ -49,7 +50,7 @@
</h-content>
</h-content>
<bottom-tab>
<bottom-tab>
<tab-button
class=
"footer"
>
<tab-button
class=
"footer"
@
click
.
native=
"cardAdd"
>
保存
保存
</tab-button>
</tab-button>
</bottom-tab>
</bottom-tab>
...
@@ -76,10 +77,20 @@ export default {
...
@@ -76,10 +77,20 @@ export default {
uncheck2
:
unCheck2
,
uncheck2
:
unCheck2
,
res
:
''
,
res
:
''
,
name
:
''
,
name
:
''
,
bank_lists
:
{
// bank_lists: {
// bank_full_name: '', // 银行名称
// bank_account_num: '', // 卡号
// 'bank_account_name': '',
// 'bank_branch_name': '',
// },
bank_lists
:
[
{
bank_full_name
:
''
,
// 银行名称
bank_full_name
:
''
,
// 银行名称
bank_account_num
:
''
,
// 卡号
bank_account_num
:
''
,
// 卡号
bank_account_name
:
''
,
bank_branch_name
:
''
,
},
},
],
}
}
},
},
computed
:
{},
computed
:
{},
...
@@ -156,11 +167,29 @@ export default {
...
@@ -156,11 +167,29 @@ export default {
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsUtil
.
baiduOcr
(
fileUrl
,
url
,
function
(
res
)
{
hlsPopup
.
hideLoading
()
hlsPopup
.
hideLoading
()
let
result
=
res
.
result
.
result
let
result
=
res
.
result
.
result
vm
.
bank_lists
.
bank_account_num
=
result
.
bank_card_number
.
replace
(
/
\s
*/g
,
''
)
// 卡号
vm
.
bank_lists
[
0
]
.
bank_account_num
=
result
.
bank_card_number
.
replace
(
/
\s
*/g
,
''
)
// 卡号
vm
.
bank_lists
.
bank_full_name
=
result
.
bank_name
// 银行名称
vm
.
bank_lists
[
0
]
.
bank_full_name
=
result
.
bank_name
// 银行名称
// vm.bank_lists.bank_card_type = result.bank_card_type
// vm.bank_lists.bank_card_type = result.bank_card_type
})
})
},
},
cardAdd
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'con_bank_save'
let
param
=
{
master
:
{
project_id
:
vm
.
$route
.
params
.
project_id
,
bank_lists
:
vm
.
bank_lists
,
},
}
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
'银行信息录入'
,
res
)
// if (res.result === 'S') {
// vm.conditionInfo = res.info
// } else {
// hlsPopup.showLongCenter(res.message)
// }
})
},
},
},
}
}
</
script
>
</
script
>
...
@@ -205,6 +234,18 @@ export default {
...
@@ -205,6 +234,18 @@ export default {
margin: 14px auto 0;
margin: 14px auto 0;
line-height: 145px;
line-height: 145px;
}
}
.bank-pic2 {
border: 1px dashed #DCDCDD;
border-radius: 2px;
width: 172px;
height: 120px;
// text-align: center;
// margin: 14px auto 0;
// line-height: 145px;
img {
width: 100%;
}
}
img{
img{
height: 45px;
height: 45px;
...
...
src/pages/userBind/org/enterprise.vue
View file @
c015a3a2
...
@@ -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-10-
12 09:42:44
* @LastEditTime: 2019-10-
23 11:25:05
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -725,7 +725,8 @@ export default {
...
@@ -725,7 +725,8 @@ export default {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
'银行卡查询'
,
res
)
console
.
log
(
'银行卡查询'
,
res
)
vm
.
getBankList
=
[...
vm
.
getBankList
,
...
res
.
lists
]
// vm.getBankList = [...vm.getBankList, ...res.lists]
vm
.
getBankList
=
[...
res
.
lists
]
})
})
}
}
})
})
...
...
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