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
e19c9d08
Commit
e19c9d08
authored
Jun 28, 2022
by
caimeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改审批
parent
8412a4b6
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
139 additions
and
150 deletions
+139
-150
approval.vue
src/components/approval.vue
+114
-127
detail.vue
src/views/approval/detail.vue
+15
-4
list.vue
src/views/approval/list.vue
+10
-19
No files found.
src/components/approval.vue
View file @
e19c9d08
This diff is collapsed.
Click to expand it.
src/views/approval/detail.vue
View file @
e19c9d08
<
template
>
<div
v-if=
'detail!==null'
class=
'page'
>
<!--用户基础信息-->
<template
v-if=
'detail.clientDetail!==null'
>
<user-base-info
:base-info=
'detail.clientDetail'
/>
...
...
@@ -27,6 +26,8 @@
<pre-plead
/>
</
template
>
<!-- 审批操作 -->
<Approval
:item=
'item'
/>
</div>
</template>
...
...
@@ -38,6 +39,11 @@
name
:
'ApprovalDetail'
,
data
()
{
return
{
// 审批相关
visible
:
false
,
item
:
null
,
creditNo
:
''
,
detail
:
null
}
...
...
@@ -46,7 +52,6 @@
const
{
query
}
=
this
.
$route
if
(
query
&&
query
.
creditNo
)
{
this
.
creditNo
=
query
.
creditNo
await
this
.
init
()
}
},
...
...
@@ -56,9 +61,15 @@
const
result
=
await
API
.
initApproveDetail
({
creditNo
})
this
.
detail
=
result
.
result
;
this
.
detail
=
result
.
result
// 判断是否有审批
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
approval
)
{
this
.
visible
=
true
this
.
item
=
result
.
result
}
console
.
log
(
'审批详情'
,
this
.
detail
)
console
.
log
(
'审批详情'
,
this
.
detail
)
}
}
}
...
...
src/views/approval/list.vue
View file @
e19c9d08
...
...
@@ -159,17 +159,6 @@
/>
</
template
>
<!--审批-->
<
template
v-if=
'ApprovalVisible'
>
<Approval
:dialog-visible=
'ApprovalVisible'
:item=
'ApprovalItem'
@
handleClose=
'()=>
{
this.ApprovalVisible = false;
this.fetchData()
}'
@callback='fetchData' />
</
template
>
</div>
</template>
...
...
@@ -195,11 +184,7 @@
item
:
null
,
// 审批相关
ApprovalVisible
:
false
,
ApprovalItem
:
null
,
checkList
:
[
'授信编号'
,
'客户信息'
,
'对应BD'
,
'商户区域'
,
'申请金额(元)'
,
'授信金额(元)'
,
'审批状态'
,
'申请时间'
],
checkList
:
[
'授信编号'
,
'客户信息'
,
'对应BD'
,
'商户区域'
,
'申请金额(元)'
,
'授信金额(元)'
,
'审批状态'
,
'申请时间'
],
columns
:
[
{
order
:
1
,
...
...
@@ -289,7 +274,7 @@
if
(
result
.
success
)
{
console
.
log
(
result
,
'当前的用户状态'
)
const
{
userDutyState
}
=
result
.
result
this
.
isOnLine
=
userDutyState
===
'ONLINE'
;
this
.
isOnLine
=
userDutyState
===
'ONLINE'
}
},
onSearch
()
{
...
...
@@ -345,8 +330,14 @@
},
// 审批
handleApproval
(
row
)
{
this
.
ApprovalItem
=
row
this
.
ApprovalVisible
=
true
const
{
creditNo
}
=
row
this
.
$router
.
push
({
path
:
'/approval/detail'
,
query
:
{
creditNo
,
approval
:
'approval'
}
})
},
// 转派
handleReassignment
(
row
)
{
...
...
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