Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
丽
丽人贷管理后台
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
百灵美选
丽人贷管理后台
Commits
da215ce0
Commit
da215ce0
authored
Jul 20, 2022
by
caimeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
7月20日发布打包上线
1. 审批打开新页面 2. 通讯录不用弹框,用页面打开 3. 添加是否首次授信字段
parent
28ebbfd4
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
165 additions
and
41 deletions
+165
-41
approval.vue
src/components/approval.vue
+3
-1
user-base-info.vue
src/components/user-base-info.vue
+10
-26
index.js
src/router/index.js
+10
-1
list.vue
src/views/approval/list.vue
+12
-5
contacts.vue
src/views/contact/contacts.vue
+107
-0
approval.vue
src/views/credit/approval.vue
+8
-2
audit.vue
src/views/loan/audit.vue
+8
-4
list.vue
src/views/loan/list.vue
+7
-2
No files found.
src/components/approval.vue
View file @
da215ce0
...
@@ -337,7 +337,9 @@
...
@@ -337,7 +337,9 @@
})
})
},
},
onBack
()
{
onBack
()
{
this
.
$router
.
back
()
//this.$router.back()
window
.
close
()
}
}
}
}
...
...
src/components/user-base-info.vue
View file @
da215ce0
...
@@ -46,7 +46,8 @@
...
@@ -46,7 +46,8 @@
<el-descriptions-item
label-class-name=
'labelCls'
label=
'客户GPS'
>
{{
baseInfo
.
lat
}}
,
{{
baseInfo
.
lng
}}
<el-descriptions-item
label-class-name=
'labelCls'
label=
'客户GPS'
>
{{
baseInfo
.
lat
}}
,
{{
baseInfo
.
lng
}}
</el-descriptions-item>
</el-descriptions-item>
<!--
<el-descriptions-item
label-class-name=
'labelCls'
label=
'首次授信'
>
{{
baseInfo
.
isFirstCredit
}}
</el-descriptions-item>
-->
<el-descriptions-item
label-class-name=
'labelCls'
label=
'首次授信'
>
{{
baseInfo
.
isFirstCredit
?
'是'
:
'否'
}}
</el-descriptions-item>
<el-descriptions-item
label-class-name=
'labelCls'
label=
'BD用户名'
>
{{
baseInfo
.
loginName
}}
</el-descriptions-item>
<el-descriptions-item
label-class-name=
'labelCls'
label=
'BD用户名'
>
{{
baseInfo
.
loginName
}}
</el-descriptions-item>
<el-descriptions-item
label-class-name=
'labelCls'
label=
'办单模式'
>
{{
baseInfo
.
orderProcessingMode
}}
<el-descriptions-item
label-class-name=
'labelCls'
label=
'办单模式'
>
{{
baseInfo
.
orderProcessingMode
}}
</el-descriptions-item>
</el-descriptions-item>
...
@@ -55,49 +56,32 @@
...
@@ -55,49 +56,32 @@
</el-descriptions>
</el-descriptions>
<!-- 更多联系人的弹框 -->
<template
v-if=
'visible'
>
<com-contacts
@
handleClose=
'visible = false'
:visible=
'visible'
:item=
'linkers'
/>
</
template
>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
ComContacts
from
'@/components/com-contacts'
export
default
{
export
default
{
name
:
'UserBaseInfo'
,
name
:
'UserBaseInfo'
,
components
:
{
ComContacts
},
props
:
{
props
:
{
baseInfo
:
{
baseInfo
:
{
type
:
Object
,
type
:
Object
,
require
:
true
require
:
true
},
},
contacts
:
{
type
:
Array
,
require
:
false
},
isLoan
:
{
isLoan
:
{
type
:
Boolean
,
type
:
Boolean
,
require
:
false
require
:
false
}
}
},
},
data
()
{
return
{
visible
:
false
,
linkers
:
[]
}
},
methods
:
{
methods
:
{
handleContact
()
{
handleContact
()
{
this
.
linkers
=
this
.
contacts
const
{
creditNo
,
creditType
}
=
this
.
baseInfo
this
.
visible
=
true
this
.
$router
.
push
({
path
:
'/credit/contact'
,
query
:
{
creditNo
,
creditType
}
})
}
}
}
}
}
}
...
...
src/router/index.js
View file @
da215ce0
...
@@ -139,7 +139,16 @@ export const asyncRoutes = [
...
@@ -139,7 +139,16 @@ export const asyncRoutes = [
title
:
'授信详情'
title
:
'授信详情'
},
},
hidden
:
true
hidden
:
true
},
{
path
:
'contact'
,
name
:
'contact'
,
component
:
()
=>
import
(
'@/views/contact/contacts'
),
meta
:
{
noKeepAlive
:
true
,
title
:
'联系人列表'
},
hidden
:
true
},
},
{
{
path
:
'pre-detail'
,
path
:
'pre-detail'
,
...
...
src/views/approval/list.vue
View file @
da215ce0
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
{{
row
.
realName
}}
<br
/>
{{
row
.
mobile
}}
{{
row
.
realName
}}
<br
/>
{{
row
.
mobile
}}
</span>
</span>
<span
v-else-if=
'item.label==="授信类型"'
>
<span
v-else-if=
'item.label==="授信类型"'
>
<el-tag
v-if=
'row.creditTypeStr==="提额授信"'
effect=
"plain"
size=
'mini'
>
{{
row
.
creditTypeStr
}}
</el-tag>
<el-tag
v-if=
'row.creditTypeStr==="提额授信"'
effect=
'plain'
size=
'mini'
>
{{
row
.
creditTypeStr
}}
</el-tag>
<el-tag
v-else
size=
'mini'
>
{{
row
.
creditTypeStr
}}
</el-tag>
<el-tag
v-else
size=
'mini'
>
{{
row
.
creditTypeStr
}}
</el-tag>
</span>
</span>
<span
v-else-if=
'item.label==="授信状态"'
>
<span
v-else-if=
'item.label==="授信状态"'
>
...
@@ -189,7 +189,7 @@
...
@@ -189,7 +189,7 @@
item
:
null
,
item
:
null
,
checkList
:
[
'授信编号'
,
'客户
信息'
,
'对应BD'
,
'商户区域'
,
'申请金额(元)'
,
'授信金额(元)'
,
'授信类型'
,
'审批状态'
,
'申请时间'
],
checkList
:
[
'授信编号'
,
'客户
姓名'
,
'手机号码'
,
'对应BD'
,
'商户区域'
,
'申请金额(元)'
,
'授信金额(元)'
,
'授信类型'
,
'审批状态'
,
'申请时间'
],
columns
:
[
columns
:
[
{
{
order
:
1
,
order
:
1
,
...
@@ -198,9 +198,14 @@
...
@@ -198,9 +198,14 @@
},
},
{
{
order
:
2
,
order
:
2
,
label
:
'客户
信息
'
,
label
:
'客户
姓名
'
,
prop
:
'realName'
prop
:
'realName'
},
},
{
order
:
2
,
label
:
'手机号码'
,
prop
:
'mobile'
},
{
{
order
:
3
,
order
:
3
,
label
:
'对应BD'
,
label
:
'对应BD'
,
...
@@ -344,13 +349,15 @@
...
@@ -344,13 +349,15 @@
// 审批
// 审批
handleApproval
(
row
)
{
handleApproval
(
row
)
{
const
{
creditNo
}
=
row
const
{
creditNo
}
=
row
this
.
$router
.
push
({
let
routeUrl
=
this
.
$router
.
resolve
({
path
:
'/approval/detail'
,
path
:
'/approval/detail'
,
query
:
{
query
:
{
creditNo
,
creditNo
,
approval
:
'approval'
approval
:
'approval'
}
}
})
})
window
.
open
(
routeUrl
.
href
,
'_blank'
)
},
},
// 转派
// 转派
handleReassignment
(
row
)
{
handleReassignment
(
row
)
{
...
...
src/views/contact/contacts.vue
0 → 100644
View file @
da215ce0
<!-- 预授信申述 -->
<
template
>
<div
v-if=
'detail!==null'
class=
'page'
>
<block-header
:title=
'title'
/>
<!--表格-->
<el-table
ref=
'tableSort'
border
:data=
'list'
style=
'width: 100%'
>
<el-table-column
v-for=
'(item, index) in finallyColumns'
:key=
'index'
align=
'center'
:label=
'item.label'
:sortable=
'item.sortable'
:width=
'item.width'
:fixed=
'!!item.fixed'
:show-overflow-tooltip=
'!!item.overflow'
>
<template
#
default=
'
{ row }'>
<template
v-if=
'item.label==="号码"'
>
<span>
{{
row
.
linkPhone
[
0
]
}}
</span>
</
template
>
<span
v-else
>
{{ row[item.prop] }}
</span>
</template>
</el-table-column>
</el-table>
</div>
</template>
<
script
>
import
API
from
'@/server/api'
import
_
from
'lodash'
export
default
{
name
:
'Contacts'
,
data
()
{
return
{
creditNo
:
''
,
creditType
:
''
,
title
:
'通讯录'
,
detail
:
null
,
list
:
[],
listLoading
:
true
,
checkList
:
[
'姓名'
,
'号码'
],
columns
:
[
{
order
:
1
,
label
:
'姓名'
,
prop
:
'linker'
},
{
order
:
2
,
label
:
'号码'
,
prop
:
'linkPhone'
}
]
}
},
computed
:
{
finallyColumns
()
{
let
finallyArray
=
[]
this
.
checkList
.
forEach
((
checkItem
)
=>
{
finallyArray
.
push
(
this
.
columns
.
filter
((
item
)
=>
item
.
label
===
checkItem
)[
0
]
)
})
return
_
.
sortBy
(
finallyArray
,
(
item
)
=>
item
.
order
)
}
},
async
created
()
{
const
{
query
}
=
this
.
$route
if
(
query
&&
query
.
creditNo
)
{
this
.
creditNo
=
query
.
creditNo
this
.
creditType
=
query
.
creditType
await
this
.
init
()
}
},
methods
:
{
async
init
()
{
const
creditNo
=
this
.
creditNo
const
creditType
=
this
.
creditType
const
result
=
await
API
.
creditDetail
({
creditNo
,
creditType
})
this
.
detail
=
result
.
result
const
{
linkPhoneList
,
clientDetail
}
=
result
.
result
this
.
list
=
linkPhoneList
this
.
title
=
'客户『'
+
clientDetail
.
realName
+
'』的通讯录列表'
}
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
.com-approval
{
//position: relative;
margin-top
:
15px
;
}
</
style
>
src/views/credit/approval.vue
View file @
da215ce0
...
@@ -183,7 +183,7 @@
...
@@ -183,7 +183,7 @@
item
:
null
,
item
:
null
,
checkList
:
[
'授信编号'
,
'授信类型'
,
'客户
信息
'
,
'对应BD'
,
'商户区域'
,
'申请金额(元)'
,
'授信金额(元)'
,
'审批状态'
,
'审批结果'
,
'创建时间'
],
checkList
:
[
'授信编号'
,
'授信类型'
,
'客户
姓名'
,
'手机号码
'
,
'对应BD'
,
'商户区域'
,
'申请金额(元)'
,
'授信金额(元)'
,
'审批状态'
,
'审批结果'
,
'创建时间'
],
columns
:
[
columns
:
[
{
{
order
:
1
,
order
:
1
,
...
@@ -199,9 +199,15 @@
...
@@ -199,9 +199,15 @@
{
{
order
:
3
,
order
:
3
,
width
:
115
,
width
:
115
,
label
:
'客户
信息
'
,
label
:
'客户
姓名
'
,
prop
:
'realName'
prop
:
'realName'
},
},
{
order
:
3
,
width
:
115
,
label
:
'手机号码'
,
prop
:
'mobile'
},
{
{
order
:
4
,
order
:
4
,
width
:
80
,
width
:
80
,
...
...
src/views/loan/audit.vue
View file @
da215ce0
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
visible
:
false
,
visible
:
false
,
item
:
null
,
item
:
null
,
checkList
:
[
'订单编号'
,
'项目名称'
,
'客户
信息
'
,
'借款金额'
,
'借款期数'
,
'BD姓名'
,
'商户区域'
,
'创建时间'
,
'借款状态'
,
'资金渠道'
],
checkList
:
[
'订单编号'
,
'项目名称'
,
'客户
姓名'
,
'手机号码
'
,
'借款金额'
,
'借款期数'
,
'BD姓名'
,
'商户区域'
,
'创建时间'
,
'借款状态'
,
'资金渠道'
],
columns
:
[
columns
:
[
{
{
order
:
1
,
order
:
1
,
...
@@ -139,10 +139,14 @@
...
@@ -139,10 +139,14 @@
},
},
{
{
order
:
3
,
order
:
3
,
width
:
110
,
label
:
'客户姓名'
,
label
:
'客户信息'
,
prop
:
'realName'
prop
:
'realName'
},
},
{
order
:
3
,
label
:
'手机号码'
,
prop
:
'mobile'
},
{
{
order
:
5
,
order
:
5
,
label
:
'借款金额'
,
label
:
'借款金额'
,
...
@@ -252,7 +256,7 @@
...
@@ -252,7 +256,7 @@
},
},
// 稽核审批
// 稽核审批
handleAudit
(
row
)
{
handleAudit
(
row
)
{
console
.
log
(
row
,
'点击了'
)
console
.
log
(
row
,
'点击了'
)
this
.
visible
=
true
this
.
visible
=
true
this
.
item
=
row
this
.
item
=
row
}
}
...
...
src/views/loan/list.vue
View file @
da215ce0
...
@@ -158,7 +158,7 @@
...
@@ -158,7 +158,7 @@
payChannelApiResponses
:
[],
payChannelApiResponses
:
[],
checkList
:
[
'订单编号'
,
'项目名称'
,
'客户
信息
'
,
'借款金额'
,
'借款期数'
,
'BD姓名'
,
'商户区域'
,
'创建时间'
,
'放款状态'
,
'资金渠道'
],
checkList
:
[
'订单编号'
,
'项目名称'
,
'客户
姓名'
,
'手机号码
'
,
'借款金额'
,
'借款期数'
,
'BD姓名'
,
'商户区域'
,
'创建时间'
,
'放款状态'
,
'资金渠道'
],
columns
:
[
columns
:
[
{
{
order
:
1
,
order
:
1
,
...
@@ -172,9 +172,14 @@
...
@@ -172,9 +172,14 @@
},
},
{
{
order
:
3
,
order
:
3
,
label
:
'客户
信息
'
,
label
:
'客户
姓名
'
,
prop
:
'realName'
prop
:
'realName'
},
},
{
order
:
3
,
label
:
'手机号码'
,
prop
:
'mobile'
},
{
{
order
:
5
,
order
:
5
,
label
:
'借款金额'
,
label
:
'借款金额'
,
...
...
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