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
524a0269
Commit
524a0269
authored
Mar 14, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
风控报告
parent
98fcf58a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
152 additions
and
379 deletions
+152
-379
customer.js
src/api/customer.js
+12
-0
Customer.vue
src/views/infoGather/customerGather/components/Customer.vue
+4
-4
index.vue
src/views/infoGather/customerGather/index.vue
+3
-3
dangerReportDetail.vue
...infoGather/dangerReport/components/dangerReportDetail.vue
+97
-326
index.vue
src/views/infoGather/dangerReport/index.vue
+36
-46
No files found.
src/api/customer.js
View file @
524a0269
...
...
@@ -35,3 +35,15 @@ export const sendReport = (id) => {
export
const
getByIdcustomerReport
=
(
id
)
=>
{
return
request
.
get
(
'/customerReport/getById?id='
+
id
);
};
// 客户报告风控审核列表
export
const
getriskPage
=
(
params
)
=>
{
return
request
.
get
(
'/customerReport/riskPage'
,
params
);
};
// 客户报告列表
export
const
getcustomerReportPage
=
(
params
)
=>
{
return
request
.
get
(
'/customerReport/page'
,
params
);
};
// 客户报告风控审核列表
export
const
getlegalPage
=
(
params
)
=>
{
return
request
.
get
(
'/customerReport/legalPage'
,
params
);
};
\ No newline at end of file
src/views/infoGather/customerGather/components/Customer.vue
View file @
524a0269
...
...
@@ -21,15 +21,15 @@
<tbody>
<tr>
<td
class=
"label"
>
录入人
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.inputUserName"
placeholder=
""
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.inputUserName"
placeholder=
""
disabled
/></td>
<td
class=
"label"
>
推荐人
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.referee"
placeholder=
""
/></td>
</tr>
<tr>
<td
class=
"label"
>
部门
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.inputOrg"
placeholder=
""
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.inputOrg"
placeholder=
""
disabled
/></td>
<td
class=
"label"
>
角色
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.inputRole"
placeholder=
""
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.inputRole"
placeholder=
""
disabled
/></td>
</tr>
<tr>
<td
class=
"label"
>
姓名
</td>
...
...
@@ -386,7 +386,7 @@ const form = ref({
"remark"
:
""
,
"creditCard"
:
[],
lending
:
[],
inputUserName
:
''
,
inputUserName
:
userStore
.
userInfo
.
username
,
inputUser
:
userStore
.
userInfo
,
"inputOrg"
:
""
,
"inputRole"
:
""
,
...
...
src/views/infoGather/customerGather/index.vue
View file @
524a0269
<
template
>
<div
class=
"table-box"
>
<ProTable
ref=
"proTable"
:config=
"config"
:api=
"getCustomerPage"
:paramCallback=
"paramCallback"
:selectdList=
"selectdList"
>
<ProTable
ref=
"proTable"
:config=
"config"
:api=
"getCustomerPage"
:paramCallback=
"paramCallback"
>
<template
#
left_buttons
>
<!--
<el-button
type=
"primary"
:disabled=
"!selectdList || selectdList.length
<
1
"
@
click=
"pushCreditcard"
>
新建信用卡
</el-button>
-->
<!--
<el-button
type=
"primary"
@
click=
"pushCredit"
>
新建信用卡
</el-button>
...
...
@@ -69,7 +69,7 @@
sendReport
(
row
.
id
).
then
(
res
=>
{
if
(
res
.
success
)
{
router
.
push
({
path
:
'/infoGather/dangerReport/
dangerReportDetail'
,
name
:
'
dangerReportDetail'
,
query
:
res
.
result
?
{
id
:
res
.
result
.
id
}:
{},
//这里不能直接写成 query: JSON.stringify(item)
});
}
...
...
@@ -95,7 +95,7 @@
},
},
{
field
:
'
createBy
'
,
field
:
'
inputUserName
'
,
title
:
'创建人'
,
search
:
{
el
:
'input'
,
labelWidth
:
85
,
props
:
{
clearable
:
true
}
},
},
...
...
src/views/infoGather/dangerReport/components/dangerReportDetail.vue
View file @
524a0269
This diff is collapsed.
Click to expand it.
src/views/infoGather/dangerReport/index.vue
View file @
524a0269
<
template
>
<div
class=
"table-box"
>
<div
class=
" bg-white pt-2 pl-2"
>
<
!--
<
div
class=
" bg-white pt-2 pl-2"
>
<el-tabs
v-model=
"activeName"
class=
"demo-tabs"
@
tab-click=
"handleClick"
>
<el-tab-pane
:label=
"item.label"
...
...
@@ -16,8 +16,8 @@
</
template
>
</el-tab-pane>
</el-tabs>
</div>
<ProTable
ref=
"proTable"
:config=
"config"
:api=
"
getPlatformPage
"
:paramCallback=
"paramCallback"
>
</div>
-->
<ProTable
ref=
"proTable"
:config=
"config"
:api=
"
func
"
:paramCallback=
"paramCallback"
>
</ProTable>
</div>
</template>
...
...
@@ -25,13 +25,15 @@
<
script
setup
lang=
"jsx"
name=
"platformManage"
>
import
{
ref
,
reactive
,
onMounted
}
from
'vue'
;
import
{
Plus
,
Delete
,
Edit
,
Setting
}
from
'@element-plus/icons-vue'
;
import
{
getPlatformPage
,
deletePlatforms
}
from
'@/api/platform'
;
import
{
getByStagesTotal
}
from
'@/api/property'
;
import
{
getcustomerReportPage
,
getriskPage
,
getlegalPage
}
from
'@/api/customer'
;
import
{
ElMessageBox
,
ElMessage
,
ElButton
,
ElTag
}
from
'element-plus'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
useRoute
}
from
'vue-router'
;
const
tabs
=
ref
([]);
import
{
useDict
}
from
'@/hooks/useDict'
;
const
{
PhoneResultStatus
,
ReduceType
,
FlowStatus
,
FollowStatus
,
AuditStatus
,
CaseStatus
}
=
useDict
(
"PhoneResultStatus"
,
"ReduceType"
,
"FlowStatus"
,
"FollowStatus"
,
"AuditStatus"
,
"CaseStatus"
);
const
route
=
useRoute
();
const
proTable
=
ref
(
null
);
const
selectdList
=
ref
([]);
...
...
@@ -39,6 +41,15 @@
selectdList
.
value
=
row
.
records
;
};
const
router
=
useRouter
();
const
func
=
()
=>
{
if
(
route
.
fullPath
.
includes
(
'infoGather/dangerReport'
))
{
return
getcustomerReportPage
}
else
if
(
route
.
fullPath
.
includes
(
'/business-approval/riskManager'
))
{
return
getriskPage
}
else
if
(
route
.
fullPath
.
includes
(
'/business-approval/legalManager'
))
{
return
getlegalPage
}
}
const
activeName
=
ref
(
'pending'
);
const
paramCallback
=
(
param
)
=>
{
const
obj
=
JSON
.
parse
(
JSON
.
stringify
(
param
));
...
...
@@ -47,26 +58,6 @@
if
(
obj
[
'createTime'
][
1
])
obj
[
'createTimeEnd'
]
=
obj
[
'createTime'
][
1
];
delete
obj
[
'createTime'
];
}
setTimeout
(()
=>
{
const
arr
=
JSON
.
parse
(
JSON
.
stringify
(
FlowStatus
.
value
))
getByStagesTotal
({...
obj
,
flowStatus
:
null
}).
then
(
res
=>
{
if
(
res
.
success
)
{
arr
.
forEach
(
item
=>
{
const
tt
=
res
.
result
.
find
(
v
=>
v
.
flowStatus
===
item
.
value
)
if
(
tt
)
{
item
[
'msg'
]
=
tt
.
number
}
else
{
item
[
'msg'
]
=
0
}
})
tabs
.
value
=
arr
}
else
{
tabs
.
value
=
arr
}
}).
catch
(
e
=>
{
tabs
.
value
=
arr
})
},
(
FlowStatus
.
value
&&
FlowStatus
.
value
.
length
)
?
100
:
1000
)
return
obj
;
};
const
onCheckboxAll
=
(
flag
)
=>
{
...
...
@@ -82,31 +73,30 @@
query
:
row
?
{
id
:
row
.
id
}:
{},
//这里不能直接写成 query: JSON.stringify(item)
});
};
const
pushCredit
=
()
=>
{
const
onCellClick
=
({
row
,
rowIndex
})
=>
{
if
(
route
.
fullPath
.
includes
(
'infoGather/dangerReport'
))
{
router
.
push
({
path
:
'/infoGather/customerGather/Credit
'
,
query
:
{
id
:
44
},
//这里不能直接写成 query: JSON.stringify(item)
name
:
'dangerReportDetail
'
,
query
:
row
?
{
id
:
row
.
id
}:
{}
});
};
}
else
if
(
route
.
fullPath
.
includes
(
'/business-approval/riskManager'
))
{
router
.
push
({
name
:
'riskReportDetail'
,
query
:
row
?
{
id
:
row
.
id
}:
{}
});
}
else
if
(
route
.
fullPath
.
includes
(
'/business-approval/legalManager'
))
{
router
.
push
({
name
:
'legalReportDetail'
,
query
:
row
?
{
id
:
row
.
id
}:
{}
});
}
}
const
config
=
reactive
({
onCheckboxChange
:
onCheckboxChange
,
onCheckboxAll
:
onCheckboxAll
,
onCellClick
:
onCellClick
,
columns
:
[
{
field
:
'id'
,
title
:
'客户ID'
,
slots
:
{
default
:
({
row
,
rowIndex
})
=>
{
return
(
<>
<
div
onClick
=
{()
=>
pushCustomer
(
row
)}
className
=
" text-blue-400 cursor-pointer inline-block"
>
{
row
.
id
}
<
/div
>
<
/
>
);
},
}
},
{
field
:
'createTime'
,
title
:
'创建日期'
,
...
...
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