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
0c27cdf6
Commit
0c27cdf6
authored
Jul 04, 2022
by
caimeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
7月4日修改bug1
parent
566093f0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
approval.vue
src/components/approval.vue
+7
-7
approval.vue
src/views/credit/approval.vue
+5
-4
No files found.
src/components/approval.vue
View file @
0c27cdf6
...
@@ -251,6 +251,7 @@
...
@@ -251,6 +251,7 @@
const
{
capitalCode
,
loanSign
}
=
item
const
{
capitalCode
,
loanSign
}
=
item
if
(
capitalCode
===
'FENGSHENGBUSINESS'
)
{
if
(
capitalCode
===
'FENGSHENGBUSINESS'
)
{
this
.
$refs
[
'dForm'
].
clearValidate
(
'perAllotAmount'
)
this
.
$refs
[
'dForm'
].
clearValidate
(
'perAllotAmount'
)
this
.
form
.
perAllotAmount
=
this
.
manualAmount
;
}
}
this
.
form
.
capitalCode
=
capitalCode
this
.
form
.
capitalCode
=
capitalCode
this
.
form
.
loanSign
=
loanSign
this
.
form
.
loanSign
=
loanSign
...
@@ -277,7 +278,11 @@
...
@@ -277,7 +278,11 @@
creditAmount
creditAmount
})
})
if
(
result
.
success
)
{
if
(
result
.
success
)
{
this
.
hasRisk
=
true
this
.
hasRisk
=
true
;
this
.
$message
({
type
:
'success'
,
message
:
'授信结果正在查询,请刷新页面查看'
})
}
}
}
else
{
}
else
{
await
this
.
initRiskResult
()
await
this
.
initRiskResult
()
...
@@ -299,7 +304,6 @@
...
@@ -299,7 +304,6 @@
},
},
onSubmit
(
formName
)
{
onSubmit
(
formName
)
{
console
.
log
(
this
.
item
,
this
.
form
,
'数据呢'
)
this
.
$refs
[
formName
].
validate
(
async
(
valid
)
=>
{
this
.
$refs
[
formName
].
validate
(
async
(
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
this
.
$confirm
(
'是否确认提交?'
,
'提示'
,
{
this
.
$confirm
(
'是否确认提交?'
,
'提示'
,
{
...
@@ -308,15 +312,11 @@
...
@@ -308,15 +312,11 @@
type
:
'warning'
type
:
'warning'
}).
then
(
async
(
res
)
=>
{
}).
then
(
async
(
res
)
=>
{
console
.
log
(
res
,
'是啥'
)
const
form
=
this
.
form
const
form
=
this
.
form
if
(
this
.
handleRisk
&&
form
.
capitalCode
===
'FENGSHENGBUSINESS'
)
{
if
(
this
.
manualAmount
&&
form
.
capitalCode
===
'FENGSHENGBUSINESS'
)
{
form
.
perAllotAmount
=
this
.
manualAmount
form
.
perAllotAmount
=
this
.
manualAmount
}
}
form
.
userId
=
this
.
user
.
userId
form
.
userId
=
this
.
user
.
userId
console
.
log
(
form
,
'表单数据'
)
const
result
=
await
API
.
approveSubmit
({
const
result
=
await
API
.
approveSubmit
({
...
form
...
form
})
})
...
...
src/views/credit/approval.vue
View file @
0c27cdf6
...
@@ -48,7 +48,8 @@
...
@@ -48,7 +48,8 @@
</el-form-item>
</el-form-item>
<template
v-if=
'searchData!==null'
>
<template
v-if=
'searchData!==null'
>
<el-form-item
prop=
'creditResult'
label=
'审批结果'
>
<el-form-item
prop=
'creditResult'
label=
'审批结果'
>
<el-select
:popper-append-to-body=
'false'
v-model=
'queryForm.creditResult'
clearable
placeholder=
'请选择审批结果'
>
<el-select
:popper-append-to-body=
'false'
v-model=
'queryForm.creditResult'
clearable
placeholder=
'请选择审批结果'
>
<el-option
<el-option
v-for=
'(item,index) in searchData.creditStatusResultResponseList'
v-for=
'(item,index) in searchData.creditStatusResultResponseList'
:label=
'item.creditResultStr'
:label=
'item.creditResultStr'
...
@@ -111,7 +112,7 @@
...
@@ -111,7 +112,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==="审批状态"'
>
...
@@ -140,7 +141,7 @@
...
@@ -140,7 +141,7 @@
>
>
<
template
#
default=
'{ row }'
>
<
template
#
default=
'{ row }'
>
<el-button
type=
'text'
@
click=
'handleDetail(row)'
>
详情
</el-button>
<el-button
type=
'text'
@
click=
'handleDetail(row)'
>
详情
</el-button>
<template
v-if=
'row.creditResult==="REJECT" && row.appealNum
<
1
'
>
<template
v-if=
'row.creditResult==="REJECT" && row.appealNum
<
1
&&
row
.
creditType
!==
"
ADD_CREDIT
"
'
>
<el-button
type=
'text'
@
click=
'handlePlead(row)'
>
申诉
</el-button>
<el-button
type=
'text'
@
click=
'handlePlead(row)'
>
申诉
</el-button>
</
template
>
</
template
>
</template>
</template>
...
@@ -293,7 +294,7 @@
...
@@ -293,7 +294,7 @@
},
},
// 预授信详情
// 预授信详情
handleDetail
(
row
)
{
handleDetail
(
row
)
{
const
{
creditNo
,
creditType
}
=
row
const
{
creditNo
,
creditType
}
=
row
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/credit/approvalDetail'
,
path
:
'/credit/approvalDetail'
,
query
:
{
query
:
{
...
...
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