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
98fcf58a
Commit
98fcf58a
authored
Mar 14, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户报告临时提交
parent
4a4db135
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
457 additions
and
152 deletions
+457
-152
customer.js
src/api/customer.js
+8
-0
index.ts
src/components/ECharts/config/index.ts
+4
-1
ChinaMapChart.vue
src/views/data-screen/components/ChinaMapChart.vue
+400
-145
index.scss
src/views/data-screen/index.scss
+1
-1
index.vue
src/views/infoGather/customerGather/index.vue
+35
-3
dangerReportDetail.vue
...infoGather/dangerReport/components/dangerReportDetail.vue
+9
-2
No files found.
src/api/customer.js
View file @
98fcf58a
...
@@ -27,3 +27,11 @@ export const saveContract = (data) => {
...
@@ -27,3 +27,11 @@ export const saveContract = (data) => {
export
const
flowStatusByIds
=
(
data
)
=>
{
export
const
flowStatusByIds
=
(
data
)
=>
{
return
request
.
get
(
'/Contract/flowStatusByIds'
,
data
);
return
request
.
get
(
'/Contract/flowStatusByIds'
,
data
);
};
};
// 发起客户报告
export
const
sendReport
=
(
id
)
=>
{
return
request
.
get
(
'/customerReport/sendReport?customerId='
+
id
);
};
// 根据id获取客户详情
export
const
getByIdcustomerReport
=
(
id
)
=>
{
return
request
.
get
(
'/customerReport/getById?id='
+
id
);
};
\ No newline at end of file
src/components/ECharts/config/index.ts
View file @
98fcf58a
import
*
as
echarts
from
"echarts/core"
;
import
*
as
echarts
from
"echarts/core"
;
import
{
BarChart
,
LineChart
,
LinesChart
,
PieChart
,
ScatterChart
,
RadarChart
,
GaugeChart
}
from
"echarts/charts"
;
import
{
BarChart
,
LineChart
,
LinesChart
,
PieChart
,
ScatterChart
,
RadarChart
,
GaugeChart
,
MapChart
}
from
"echarts/charts"
;
import
{
import
{
TitleComponent
,
TitleComponent
,
TooltipComponent
,
TooltipComponent
,
...
@@ -8,6 +8,7 @@ import {
...
@@ -8,6 +8,7 @@ import {
TransformComponent
,
TransformComponent
,
LegendComponent
,
LegendComponent
,
PolarComponent
,
PolarComponent
,
VisualMapComponent
,
GeoComponent
,
GeoComponent
,
ToolboxComponent
,
ToolboxComponent
,
DataZoomComponent
DataZoomComponent
...
@@ -53,6 +54,7 @@ echarts.use([
...
@@ -53,6 +54,7 @@ echarts.use([
EffectScatterChart
,
EffectScatterChart
,
TitleComponent
,
TitleComponent
,
TooltipComponent
,
TooltipComponent
,
VisualMapComponent
,
GridComponent
,
GridComponent
,
DatasetComponent
,
DatasetComponent
,
TransformComponent
,
TransformComponent
,
...
@@ -63,6 +65,7 @@ echarts.use([
...
@@ -63,6 +65,7 @@ echarts.use([
DataZoomComponent
,
DataZoomComponent
,
BarChart
,
BarChart
,
LineChart
,
LineChart
,
MapChart
,
LinesChart
,
LinesChart
,
PieChart
,
PieChart
,
ScatterChart
,
ScatterChart
,
...
...
src/views/data-screen/components/ChinaMapChart.vue
View file @
98fcf58a
This diff is collapsed.
Click to expand it.
src/views/data-screen/index.scss
View file @
98fcf58a
.dataScreen-container
{
.dataScreen-container
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
background
:
#
00204b
;
background
:
#
140f59
;
.dataScreen-content
{
.dataScreen-content
{
position
:
fixed
;
position
:
fixed
;
top
:
50%
;
top
:
50%
;
...
...
src/views/infoGather/customerGather/index.vue
View file @
98fcf58a
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
>
新建网贷
&
信用贷
</el-button
>
新建网贷
&
信用贷
</el-button
>
-->
>
-->
<el-button
type=
"primary"
@
click=
"pushCustomer()"
>
新建客户
</el-button>
<el-button
type=
"primary"
@
click=
"pushCustomer()"
>
新建客户
</el-button>
<
el-button
type=
"primary"
>
发起风控审核
</el-button
>
<
!--
<el-button
type=
"primary"
>
发起风控审核
</el-button>
--
>
</
template
>
</
template
>
</ProTable>
</ProTable>
</div>
</div>
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<
script
setup
lang=
"jsx"
name=
"platformManage"
>
<
script
setup
lang=
"jsx"
name=
"platformManage"
>
import
{
ref
,
reactive
,
onMounted
}
from
'vue'
;
import
{
ref
,
reactive
,
onMounted
}
from
'vue'
;
import
{
Plus
,
Delete
,
Edit
,
Setting
}
from
'@element-plus/icons-vue'
;
import
{
Plus
,
Delete
,
Edit
,
Setting
}
from
'@element-plus/icons-vue'
;
import
{
getCustomerPage
}
from
'@/api/customer'
;
import
{
getCustomerPage
,
sendReport
}
from
'@/api/customer'
;
import
{
ElMessageBox
,
ElMessage
,
ElButton
,
ElTag
}
from
'element-plus'
;
import
{
ElMessageBox
,
ElMessage
,
ElButton
,
ElTag
}
from
'element-plus'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
useRouter
}
from
'vue-router'
;
...
@@ -59,6 +59,22 @@
...
@@ -59,6 +59,22 @@
query
:
{
id
:
44
},
//这里不能直接写成 query: JSON.stringify(item)
query
:
{
id
:
44
},
//这里不能直接写成 query: JSON.stringify(item)
});
});
};
};
const
send
=
async
(
e
,
row
)
=>
{
e
.
stopPropagation
()
await
ElMessageBox
.
confirm
(
`是否分起客户名称为
${
row
.
name
}
,身份证号为
${
row
.
idCard
}
,创建时间为
${
row
.
createTime
}
的风控审核?`
,
'提示'
,
{
confirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
});
sendReport
(
row
.
id
).
then
(
res
=>
{
if
(
res
.
success
)
{
router
.
push
({
path
:
'/infoGather/dangerReport/dangerReportDetail'
,
query
:
res
.
result
?
{
id
:
res
.
result
.
id
}:
{},
//这里不能直接写成 query: JSON.stringify(item)
});
}
})
}
const
onCellClick
=
({
row
,
rowIndex
})
=>
{
const
onCellClick
=
({
row
,
rowIndex
})
=>
{
pushCustomer
(
row
)
pushCustomer
(
row
)
}
}
...
@@ -67,7 +83,7 @@
...
@@ -67,7 +83,7 @@
onCheckboxAll
:
onCheckboxAll
,
onCheckboxAll
:
onCheckboxAll
,
onCellClick
:
onCellClick
,
onCellClick
:
onCellClick
,
columns
:
[
columns
:
[
{
type
:
'checkbox'
,
width
:
60
,
fixed
:
'left'
},
//
{ type: 'checkbox', width: 60,fixed: 'left' },
{
field
:
'name'
,
title
:
'客户名称'
,
search
:
{
labelWidth
:
85
,
el
:
'input'
}
},
{
field
:
'name'
,
title
:
'客户名称'
,
search
:
{
labelWidth
:
85
,
el
:
'input'
}
},
{
{
field
:
'createTime'
,
field
:
'createTime'
,
...
@@ -89,6 +105,22 @@
...
@@ -89,6 +105,22 @@
{
field
:
'reserveWorkUnit'
,
title
:
'预留工作单位'
,
search
:
{
labelWidth
:
85
,
el
:
'input'
}
},
{
field
:
'reserveWorkUnit'
,
title
:
'预留工作单位'
,
search
:
{
labelWidth
:
85
,
el
:
'input'
}
},
{
field
:
'reserveAddress'
,
title
:
'预留家庭地址'
,
search
:
{
labelWidth
:
85
,
el
:
'input'
}
},
{
field
:
'reserveAddress'
,
title
:
'预留家庭地址'
,
search
:
{
labelWidth
:
85
,
el
:
'input'
}
},
{
field
:
'remark'
,
title
:
'备注'
,
search
:
{
labelWidth
:
85
,
el
:
'input'
}
},
{
field
:
'remark'
,
title
:
'备注'
,
search
:
{
labelWidth
:
85
,
el
:
'input'
}
},
{
field
:
'code'
,
title
:
'操作'
,
width
:
100
,
slots
:
{
default
:
({
row
,
rowIndex
})
=>
{
return
(
<>
<
ElButton
type
=
"primary"
onClick
=
{(
e
)
=>
send
(
e
,
row
)}
>
发起风控审核
<
/ElButton
>
<
/
>
);
},
},
},
],
],
});
});
...
...
src/views/infoGather/dangerReport/components/dangerReportDetail.vue
View file @
98fcf58a
...
@@ -266,6 +266,7 @@
...
@@ -266,6 +266,7 @@
import
{
ElButton
,
ElTag
,
ElMessage
}
from
'element-plus'
;
import
{
ElButton
,
ElTag
,
ElMessage
}
from
'element-plus'
;
import
{
useRoute
}
from
'vue-router'
;
import
{
useRoute
}
from
'vue-router'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
getByIdcustomerReport
}
from
'@/api/customer'
;
import
{
ref
,
reactive
,
onBeforeMount
}
from
'vue'
;
import
{
ref
,
reactive
,
onBeforeMount
}
from
'vue'
;
const
form
=
ref
({
const
form
=
ref
({
status
:
''
status
:
''
...
@@ -313,10 +314,16 @@ const cancel = () => {
...
@@ -313,10 +314,16 @@ const cancel = () => {
});
});
}
}
const
query
=
async
(
type
)
=>
{
const
query
=
async
(
type
)
=>
{
const
id
=
JSON
.
parse
(
route
.
query
.
id
);
getByIdcustomerReport
(
route
.
query
.
id
).
then
(
res
=>
{
if
(
res
.
success
)
{
form
.
value
=
res
.
result
}
})
}
}
onBeforeMount
(
async
()
=>
{
onBeforeMount
(
async
()
=>
{
if
(
route
.
query
.
id
)
{
query
()
query
()
}
})
})
const
cardConfig
=
reactive
({
const
cardConfig
=
reactive
({
minHeight
:
200
,
minHeight
:
200
,
...
...
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