Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Y
yishuju-ui
Project
Project
Details
Activity
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
何远江
yishuju-ui
Commits
009c4713
Commit
009c4713
authored
Jan 21, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
稽核管理
parent
fe3afc22
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
801 additions
and
189 deletions
+801
-189
audit.js
src/api/audit.js
+13
-0
property.js
src/api/property.js
+5
-0
callDrawer.vue
src/views/property/audit-manage/components/callDrawer.vue
+514
-0
index.vue
src/views/property/audit-manage/index.vue
+227
-187
index.vue
src/views/property/case-detail/index.vue
+42
-2
No files found.
src/api/audit.js
0 → 100644
View file @
009c4713
import
request
from
'@/utils/http/index'
;
// 稽核列表
export
const
getAuditPage
=
(
params
)
=>
{
return
request
.
get
(
'/audit/page'
,
params
);
};
// 发起稽核
export
const
saveAudit
=
(
params
)
=>
{
return
request
.
post
(
'/audit/save'
,
params
);
};
// 稽核审核
export
const
auditAudit
=
(
params
)
=>
{
return
request
.
post
(
'/audit/audit'
,
params
);
};
src/api/property.js
View file @
009c4713
...
...
@@ -27,6 +27,11 @@ export const getByStages = (id) => {
return
request
.
get
(
'/Loan/getByStages?borrowerId='
+
id
);
};
// 根据借款人查询所有的联系人
export
const
getGuarantors
=
(
id
)
=>
{
return
request
.
get
(
'/Loan/getGuarantors?borrowerId='
+
id
);
};
// 根据借款人查询所有的还款记录
export
const
getRepayRecords
=
(
id
)
=>
{
return
request
.
get
(
'/Loan/getRepayRecords?borrowerId='
+
id
);
...
...
src/views/property/audit-manage/components/callDrawer.vue
0 → 100644
View file @
009c4713
This diff is collapsed.
Click to expand it.
src/views/property/audit-manage/index.vue
View file @
009c4713
This diff is collapsed.
Click to expand it.
src/views/property/case-detail/index.vue
View file @
009c4713
...
...
@@ -17,7 +17,7 @@
<el-button
type=
"primary"
@
click=
"reduce"
>
减免申请
</el-button>
<el-button
type=
"primary"
@
click=
"split"
>
分期申请
</el-button>
</div>
<div
class=
"detail-steps"
>
<div
class=
"detail-steps"
style=
"display:none;"
>
<el-steps
:active=
"activeStep"
>
<el-step
:title=
"item.title"
...
...
@@ -59,7 +59,7 @@
<div
class=
"box-content"
>
<ProTable
:config=
"relationConfig"
:data=
"
detail?.borrower?.guarantors
"
:data=
"
guarantorData
"
:showPagination=
"false"
:showToolBar=
"false"
/>
...
...
@@ -230,12 +230,15 @@
getByStages
,
listByBorrower
,
getRepayRecords
,
getGuarantors
}
from
'@/api/property'
;
import
{
Picture
,
Download
}
from
'@element-plus/icons-vue'
;
import
{
saveAudit
}
from
'@/api/audit'
;
import
{
inject
}
from
'vue'
;
const
envs
=
getAppEnvConfig
();
const
returnData
=
ref
([]);
const
recordData
=
ref
([]);
const
guarantorData
=
ref
([]);
const
reduceData
=
ref
([]);
const
splitData
=
ref
([]);
const
srcList
=
ref
([]);
...
...
@@ -479,6 +482,25 @@
},
},
},
{
field
:
'code'
,
title
:
''
,
slots
:
{
default
:
({
row
,
rowIndex
})
=>
{
return
(
<>
<
ElButton
type
=
"primary"
onClick
=
{()
=>
audit
(
row
)}
>
{
/* <ElButton type="primary" onClick={() => callTelephone(row)}> */
}
发起稽核
<
/ElButton
>
<
/
>
);
},
},
}
],
toolbarConfig
:
{
enabled
:
false
},
});
...
...
@@ -740,6 +762,13 @@
}
});
};
const
getGuarantorsList
=
(
borrowerId
)
=>
{
getGuarantors
(
borrowerId
).
then
((
res
)
=>
{
if
(
res
.
result
&&
res
.
result
)
{
guarantorData
.
value
=
res
.
result
;
}
});
};
const
onCellCase
=
({
row
,
rowIndex
})
=>
{
console
.
log
(
'row.borrower.id'
,
row
);
...
...
@@ -755,6 +784,15 @@
caseDetailRef
.
value
?.
setAllRowExpand
(
true
);
}
};
const
audit
=
(
row
)
=>
{
saveAudit
({
trackRecord
:
{
id
:
row
.
id
}
}).
then
(
res
=>
{
})
}
const
reduceConfig
=
reactive
({
columns
:
[
{
...
...
@@ -868,8 +906,10 @@
onBeforeMount
(
async
()
=>
{
const
id
=
JSON
.
parse
(
route
.
query
.
id
);
const
{
result
}
=
await
getCredit
(
id
);
console
.
log
(
'result'
,
result
)
detail
.
value
=
result
;
if
(
detail
.
value
?.
borrower
?.
id
)
{
getGuarantorsList
(
detail
.
value
?.
borrower
?.
id
)
getTrackRecordList
(
detail
.
value
?.
borrower
?.
id
);
listByBorrower
(
detail
.
value
?.
borrower
?.
id
).
then
((
res
)
=>
{
if
(
res
.
result
&&
res
.
result
)
{
...
...
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