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
e107e186
Commit
e107e186
authored
Nov 13, 2023
by
14699
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix-20231102
parent
6d01bd25
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
157 additions
and
65 deletions
+157
-65
function-list.vue
src/pages/functionCenter/function-list.vue
+10
-10
myBindUser.vue
src/pages/myInfo/myBindUser.vue
+133
-48
list.vue
src/pages/overTimeQuery/list.vue
+4
-4
plans.vue
src/pages/overTimeQuery/plans.vue
+3
-3
index.js
src/router/index.js
+7
-0
No files found.
src/pages/functionCenter/function-list.vue
View file @
e107e186
...
...
@@ -146,7 +146,7 @@
<img
src=
"@/assets/functionCenter/in@2x.png"
alt=
""
>
</div>
</div>
<
!--
<
div
class=
"info-content"
>
<div
class=
"info-content"
>
<div
class=
"add-name"
>
<img
src=
"@/assets/functionCenter/con-que@2x.png"
alt=
""
>
<div
class=
"name-title"
>
逾期信息查询
</div>
...
...
@@ -155,15 +155,15 @@
<img
src=
"@/assets/functionCenter/in@2x.png"
alt=
""
>
</div>
</div>
<div
class=
"info-content"
>
<div
class=
"add-name"
>
<img
src=
"@/assets/functionCenter/con-que@2x.png"
alt=
""
>
<div
class=
"name-title"
>
延期申请
</div
>
</div
>
<div
class=
"add-content"
@
click=
"goOvertimeApply"
>
<img
src=
"@/assets/functionCenter/in@2x.png"
alt=
""
>
</div
>
</div>
-->
<!--
<div
class=
"info-content"
>
--
>
<!--
<div
class=
"add-name"
>
--
>
<!--
<img
src=
"@/assets/functionCenter/con-que@2x.png"
alt=
""
>
--
>
<!--
<div
class=
"name-title"
>
延期申请
</div>
--
>
<!--
</div>
--
>
<!--
<div
class=
"add-content"
@
click=
"goOvertimeApply"
>
--
>
<!--
<img
src=
"@/assets/functionCenter/in@2x.png"
alt=
""
>
--
>
<!--
</div>
--
>
<!--
</div>
-->
</div>
</h-content>
...
...
src/pages/myInfo/myBindUser.vue
View file @
e107e186
...
...
@@ -98,50 +98,135 @@ export default {
async
face
(
item
)
{
let
vm
=
this
let
register
=
[
'NP_NO'
,
'ORG_NO'
,
'ORG_L_NO'
,
'ORG_AUTH_NO'
]
if
(
register
.
includes
(
item
.
bp_identity
))
{
// 人脸识别之前要确认是否已经在别的渠道已经绑定。
let
res
=
await
vm
.
getNpCertificationUrl
(
item
)
if
(
res
)
{
hlsPopup
.
showLongCenter
(
item
.
bp_identity
===
'ORG_NO'
?
'请联系业务人员协助认证'
:
'认证已通过'
)
return
vm
.
getList
()
}
vm
.
showPopupList
()
// if (register.includes(item.bp_identity)) {
// // 人脸识别之前要确认是否已经在别的渠道已经绑定。
// let res = await vm.getNpCertificationUrl(item)
// if (res) {
// hlsPopup.showLongCenter(item.bp_identity === 'ORG_NO' ? '请联系业务人员协助认证' : '认证已通过')
// return vm.getList()
// }
// // 正式进行人脸识别
// let url = process.env.basePath + 'bp_query'
// let param = { bp_id: item.bp_id }
// hlsPopup.showLoading('请稍候')
// vm.hlsHttp.post(url, param).then((result) => {
// hlsPopup.hideLoading()
// if (result.result === 'S') {
// let data = result.lists[0]
// cordova.plugins.IdCardPlugin.idCardIdentify(
// {
// idNum: data.id_card_no,
// idName: data.bp_name,
// phoneNum: window.localStorage.user_phone,
// },
// async function (suc) {
// let success = JSON.parse(suc)
// if (success.code === 1) {
// let res = await vm.getNpCertificationUrl(item)
// hlsPopup.showLongCenter(res ? '绑定成功!' : '绑定失败!')
// if (res) vm.getList()
// }
// },
// function (reason) {
// let error = JSON.parse(reason)
// vm.hlsPopup.showLongCenter('认证失败: ' + error.message)
// }
// )
// } else {
// vm.hlsPopup.showLongCenter(result.message)
// }
// })
// } else {
// hlsPopup.showLongCenter('认证已通过')
// }
},
// 正式进行人脸识别
let
url
=
process
.
env
.
basePath
+
'bp_query'
let
param
=
{
bp_id
:
item
.
bp_id
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
((
result
)
=>
{
hlsPopup
.
hideLoading
()
if
(
result
.
result
===
'S'
)
{
let
data
=
result
.
lists
[
0
]
cordova
.
plugins
.
IdCardPlugin
.
idCardIdentify
(
{
idNum
:
data
.
id_card_no
,
idName
:
data
.
bp_name
,
phoneNum
:
window
.
localStorage
.
user_phone
,
},
async
function
(
suc
)
{
let
success
=
JSON
.
parse
(
suc
)
if
(
success
.
code
===
1
)
{
let
res
=
await
vm
.
getNpCertificationUrl
(
item
)
hlsPopup
.
showLongCenter
(
res
?
'绑定成功!'
:
'绑定失败!'
)
if
(
res
)
vm
.
getList
()
}
},
function
(
reason
)
{
let
error
=
JSON
.
parse
(
reason
)
vm
.
hlsPopup
.
showLongCenter
(
'认证失败: '
+
error
.
message
)
}
)
}
else
{
vm
.
hlsPopup
.
showLongCenter
(
result
.
message
)
showPopupList
()
{
let
vm
=
this
let
popList
=
[{
code
:
'AUTH'
,
code_name
:
'个人实名认证/企业认证'
,
},
{
code
:
'FORGET'
,
code_name
:
'忘记PIN码'
,
},
{
code
:
'QUERY'
,
code_name
:
'查询认证状态'
,
},
{
code
:
'ACTIVE'
,
code_name
:
'人工审核激活账户'
,
}]
vm
.
hlsPopup
.
selectList
({
list
:
popList
,
code
:
'code'
,
object
:
{},
returnItem
:
(
index
,
obj
)
=>
{
vm
.
goAuthManage
(
obj
.
code
)
},
})
},
goAuthManage
(
code
)
{
if
(
code
===
'AUTH'
)
{
cordova
.
plugins
.
IdCardPlugin
.
registerNotary
(
async
function
(
suc
)
{
console
.
log
(
suc
)
let
success
=
JSON
.
parse
(
suc
)
console
.
log
(
success
)
},
function
(
reason
)
{
console
.
log
(
reason
)
let
error
=
JSON
.
parse
(
reason
)
console
.
log
(
error
)
},
'331081199412227815'
,
'毛嘉诚'
,
'331081199412227815'
,
false
)
}
else
if
(
code
===
'FORGET'
)
{
cordova
.
plugins
.
IdCardPlugin
.
forgetPINNotary
(
async
function
(
suc
)
{
console
.
log
(
suc
)
let
success
=
JSON
.
parse
(
suc
)
console
.
log
(
success
)
},
function
(
reason
)
{
console
.
log
(
reason
)
let
error
=
JSON
.
parse
(
reason
)
console
.
log
(
error
)
}
})
}
else
{
hlsPopup
.
showLongCenter
(
'认证已通过'
)
)
}
else
if
(
code
===
'QUERY'
)
{
cordova
.
plugins
.
IdCardPlugin
.
haveUser
(
async
function
(
suc
)
{
console
.
log
(
suc
)
let
success
=
JSON
.
parse
(
suc
)
console
.
log
(
success
)
},
function
(
reason
)
{
console
.
log
(
reason
)
let
error
=
JSON
.
parse
(
reason
)
console
.
log
(
error
)
},
'331081199412227815'
)
}
else
if
(
code
===
'ACTIVE'
)
{
cordova
.
plugins
.
IdCardPlugin
.
activeUserNotary
(
async
function
(
suc
)
{
console
.
log
(
suc
)
let
success
=
JSON
.
parse
(
suc
)
console
.
log
(
success
)
},
function
(
reason
)
{
console
.
log
(
reason
)
let
error
=
JSON
.
parse
(
reason
)
console
.
log
(
error
)
},
'331081199412227815'
)
}
},
// 获取个人认证url
async
getNpCertificationUrl
(
item
)
{
let
vm
=
this
...
...
@@ -254,14 +339,14 @@ export default {
// 自己添加认证文字
let
register
=
{
NP_NO
:
'
个人待
认证'
,
NP_YES
:
'
个人认证通过
'
,
ORG_YES
:
'
企业认证通过
'
,
ORG_NO
:
'
企业待
认证'
,
ORG_L_NO
:
'
法人待
认证'
,
ORG_L_YES
:
'
法人认证通过
'
,
ORG_AUTH_NO
:
'
授权人待
认证'
,
ORG_AUTH_YES
:
'
授权人认证通过
'
,
NP_NO
:
'
电签
认证'
,
NP_YES
:
'
查询认证状态
'
,
ORG_YES
:
'
查询认证状态
'
,
ORG_NO
:
'
电签
认证'
,
ORG_L_NO
:
'
电签
认证'
,
ORG_L_YES
:
'
查询认证状态
'
,
ORG_AUTH_NO
:
'
电签
认证'
,
ORG_AUTH_YES
:
'
查询认证状态
'
,
}
query
.
lists
=
query
.
lists
.
map
(
item
=>
{
...
...
src/pages/overTimeQuery/list.vue
View file @
e107e186
...
...
@@ -36,15 +36,15 @@
</div>
<div
class=
"center"
>
<div><span>
合同履约情况
</span>
<p>
{{
item
.
bp_name
}}
</p>
<p>
{{
item
.
con_overdue_status
}}
</p>
</div>
<div><span>
逾期租金(元)
</span>
<p>
{{
item
.
int_rate_n
}}
</p>
<p>
{{
parseFloat
(
item
.
finance_amount
).
toFixed
(
2
)
|
currency
}}
</p>
</div>
<div><span>
逾期利息(元)
</span>
<p>
{{
item
.
lease_times
}}
期
</p>
<p>
{{
parseFloat
(
item
.
finance_amount
).
toFixed
(
2
)
|
currency
}}
</p>
</div>
<div><span>
逾期天数
(元)
</span>
<div><span>
逾期天数
</span>
<p
class=
"bold"
>
{{
parseFloat
(
item
.
finance_amount
).
toFixed
(
2
)
|
currency
}}
</p>
</div>
...
...
src/pages/overTimeQuery/plans.vue
View file @
e107e186
...
...
@@ -72,7 +72,7 @@
<
script
>
export
default
{
name
:
'
RepayPlan
'
,
name
:
'
overTimeQueryDetail
'
,
components
:
{
},
data
()
{
...
...
@@ -92,7 +92,7 @@ export default {
watch
:
{},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
if
(
from
.
name
===
'
Repa
yDetail'
)
{
if
(
from
.
name
===
'
overTimeQuer
yDetail'
)
{
vm
.
repayPlan
()
}
})
...
...
@@ -134,7 +134,7 @@ export default {
},
repayPlan
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'
con_equip_cashflow_query
'
let
url
=
$config
.
basePath
+
'
app_financial_repayment_plan
'
let
param
=
{
contract_id
:
vm
.
$route
.
params
.
contract_id
,
}
...
...
src/router/index.js
View file @
e107e186
...
...
@@ -160,6 +160,7 @@ const customerAccessDetail = resolve => require.ensure([], () => { resolve(requi
// 逾期查询
const
overTimeQueryList
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/overTimeQuery/list'
))
},
'overTimeQuery'
)
const
overTimeQueryDetail
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/overTimeQuery/detail'
))
},
'overTimeQuery'
)
const
overTimeQueryPlans
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/overTimeQuery/plans'
))
},
'overTimeQueryPlans'
)
const
overTimeApplyList
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/overTimeApply/list'
))
},
'overTimeApply'
)
const
overTimeApplyDetail
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/overTimeApply/detail'
))
},
'overTimeApply'
)
...
...
@@ -403,6 +404,12 @@ export default new Router({
path
:
'/over-time-query-detail'
,
component
:
overTimeQueryDetail
,
name
:
'overTimeQueryDetail'
,
meta
:
{
keepAlive
:
true
},
},
{
path
:
'/over-time-query-plans'
,
component
:
overTimeQueryPlans
,
name
:
'overTimeQueryPlans'
,
meta
:
{
keepAlive
:
false
},
},
{
...
...
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