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
3cd882d6
Commit
3cd882d6
authored
Mar 15, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
2610d357
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
66 additions
and
28 deletions
+66
-28
dataScreen.js
src/api/dataScreen.js
+9
-0
china.json
src/views/data-screen/assets/china.json
+2
-2
ChinaMapChart.vue
src/views/data-screen/components/ChinaMapChart.vue
+27
-9
index.scss
src/views/data-screen/index.scss
+20
-17
index.vue
src/views/data-screen/index.vue
+6
-0
Customer.vue
src/views/infoGather/customerGather/components/Customer.vue
+2
-0
No files found.
src/api/dataScreen.js
0 → 100644
View file @
3cd882d6
import
request
from
'@/utils/http/index'
;
// 分布地图(调解中心分布/案员分布)
export
const
getMapByTenant
=
(
params
)
=>
{
return
request
.
get
(
'/Loan/getMapByTenant'
,
params
);
};
// 保存客户
// export const saveCustomer = (data) => {
// return request.post('/customer/save', data);
// };
\ No newline at end of file
src/views/data-screen/assets/china.json
View file @
3cd882d6
...
@@ -8557,7 +8557,7 @@
...
@@ -8557,7 +8557,7 @@
"type": "Feature",
"type": "Feature",
"properties": {
"properties": {
"adcode": 150000,
"adcode": 150000,
"name": "内蒙古",
"name": "内蒙古
自治区
",
"center": [
"center": [
111.670801,
111.670801,
40.818311
40.818311
...
@@ -93664,7 +93664,7 @@
...
@@ -93664,7 +93664,7 @@
"type": "Feature",
"type": "Feature",
"properties": {
"properties": {
"adcode": 640000,
"adcode": 640000,
"name": "宁夏",
"name": "宁夏
回族自治区
",
"center": [
"center": [
106.278179,
106.278179,
38.46637
38.46637
src/views/data-screen/components/ChinaMapChart.vue
View file @
3cd882d6
...
@@ -6,13 +6,30 @@
...
@@ -6,13 +6,30 @@
</div>
</div>
</
template
>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
setup
>
import
echarts
,
{
ECOption
}
from
"@/components/ECharts/config"
;
import
echarts
from
"@/components/ECharts/config"
;
import
ECharts
from
"@/components/ECharts/index.vue"
;
import
ECharts
from
"@/components/ECharts/index.vue"
;
import
mapJson
from
"../assets/china.json"
;
import
mapJson
from
"../assets/china.json"
;
import
{
getMapByTenant
}
from
'@/api/dataScreen'
;
import
{
reactive
,
ref
}
from
'vue'
;
const
mapData
=
ref
([]);
echarts
.
registerMap
(
"china"
,
mapJson
as
Parameters
<
typeof
echarts
.
registerMap
>
[
1
]);
echarts
.
registerMap
(
"china"
,
mapJson
);
getMapByTenant
().
then
(
res
=>
{
mapData
.
value
=
[]
if
(
res
.
result
)
{
res
.
result
.
forEach
(
element
=>
{
const
findindex
=
mapData
.
value
.
findIndex
(
item
=>
item
.
name
===
element
.
province
)
if
(
findindex
===
-
1
)
{
mapData
.
value
.
push
({
name
:
element
.
province
})
}
});
}
}).
catch
(()
=>
{
mapData
.
value
=
[]
})
// var geoCoordMap = {
// var geoCoordMap = {
// 台湾: [121.5135, 25.0308],
// 台湾: [121.5135, 25.0308],
// 哈尔滨: [127.9688, 45.368],
// 哈尔滨: [127.9688, 45.368],
...
@@ -335,7 +352,7 @@ var mapData = [{
...
@@ -335,7 +352,7 @@ var mapData = [{
devicesUseLv
:
'0%'
,
devicesUseLv
:
'0%'
,
}
}
];
];
const
option
:
ECOption
=
{
const
option
=
{
tooltip
:
{
tooltip
:
{
show
:
true
,
show
:
true
,
formatter
:
function
(
params
)
{
formatter
:
function
(
params
)
{
...
@@ -394,8 +411,9 @@ const option: ECOption = {
...
@@ -394,8 +411,9 @@ const option: ECOption = {
type
:
"map"
,
type
:
"map"
,
map
:
'china'
,
map
:
'china'
,
aspectScale
:
0.75
,
aspectScale
:
0.75
,
top
:
100
,
selectedMode
:
false
,
zoom
:
1.3
,
top
:
125
,
zoom
:
1.53
,
label
:
{
label
:
{
normal
:
{
normal
:
{
show
:
false
,
show
:
false
,
...
@@ -405,7 +423,7 @@ const option: ECOption = {
...
@@ -405,7 +423,7 @@ const option: ECOption = {
emphasis
:
{
emphasis
:
{
show
:
true
,
show
:
true
,
fontSize
:
"14"
,
fontSize
:
"14"
,
color
:
"rgba(
0,0,0,0.7
)"
color
:
"rgba(
255,255,255,1
)"
}
}
},
},
itemStyle
:
{
itemStyle
:
{
...
@@ -416,7 +434,7 @@ const option: ECOption = {
...
@@ -416,7 +434,7 @@ const option: ECOption = {
borderColor
:
"rgba(255,255,255,0.3)"
borderColor
:
"rgba(255,255,255,0.3)"
},
},
emphasis
:
{
emphasis
:
{
areaColor
:
"#
29f5
fa"
,
areaColor
:
"#
0196
fa"
,
// shadowOffsetX: 0,
// shadowOffsetX: 0,
// shadowOffsetY: 0,
// shadowOffsetY: 0,
// borderWidth: 0
// borderWidth: 0
...
...
src/views/data-screen/index.scss
View file @
3cd882d6
...
@@ -109,7 +109,8 @@
...
@@ -109,7 +109,8 @@
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
justify-content
:
space-between
;
justify-content
:
space-between
;
width
:
394px
;
width
:
500px
;
background
:
#100c47
6b
;
height
:
100%
;
height
:
100%
;
margin-right
:
40px
;
margin-right
:
40px
;
.dataScreen-top
,
.dataScreen-top
,
...
@@ -122,19 +123,13 @@
...
@@ -122,19 +123,13 @@
}
}
.dataScreen-top
{
.dataScreen-top
{
height
:
37%
;
height
:
37%
;
background
:
url("./images/dataScreen-main-lt.png")
no-repeat
;
background-size
:
100%
100%
;
}
}
.dataScreen-center
{
.dataScreen-center
{
height
:
30%
;
height
:
30%
;
background
:
url("./images/dataScreen-main-lc.png")
no-repeat
;
background-size
:
100%
100%
;
}
}
.dataScreen-bottom
{
.dataScreen-bottom
{
height
:
27%
;
height
:
27%
;
margin-bottom
:
0
;
margin-bottom
:
0
;
background
:
url("./images/dataScreen-main-lb.png")
no-repeat
;
background-size
:
100%
100%
;
}
}
}
}
.dataScreen-ct
{
.dataScreen-ct
{
...
@@ -144,12 +139,27 @@
...
@@ -144,12 +139,27 @@
justify-content
:
space-between
;
justify-content
:
space-between
;
height
:
100%
;
height
:
100%
;
margin-right
:
40px
;
margin-right
:
40px
;
.dataScreen-Number
{
height
:
90px
;
text-align
:
center
;
position
:
relative
;
margin-top
:
58px
;
}
.number-box
{
height
:
90px
;
width
:
120px
;
background-color
:
rgba
(
255
,
255
,
255
,
0
.1
);
border
:
1px
solid
rgba
(
255
,
255
,
255
,
0
.2
);
border-radius
:
10px
;
}
.number-title
{
color
:
#05e8fe
;
}
.dataScreen-map
{
.dataScreen-map
{
position
:
relative
;
position
:
relative
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
flex
:
1
;
flex
:
1
;
width
:
100%
;
width
:
100%
;
margin-top
:
78px
;
.dataScreen-map-title
{
.dataScreen-map-title
{
position
:
absolute
;
position
:
absolute
;
top
:
10px
;
top
:
10px
;
...
@@ -203,16 +213,15 @@
...
@@ -203,16 +213,15 @@
width
:
100%
;
width
:
100%
;
height
:
252px
;
height
:
252px
;
padding-top
:
54px
;
padding-top
:
54px
;
background
:
url("./images/dataScreen-main-cb.png")
no-repeat
;
background-size
:
100%
100%
;
}
}
}
}
.dataScreen-rg
{
.dataScreen-rg
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
justify-content
:
space-between
;
justify-content
:
space-between
;
width
:
394
px
;
width
:
500
px
;
height
:
100%
;
height
:
100%
;
background
:
#100c47
6b
;
.dataScreen-top
,
.dataScreen-top
,
.dataScreen-center
,
.dataScreen-center
,
.dataScreen-bottom
{
.dataScreen-bottom
{
...
@@ -223,19 +232,13 @@
...
@@ -223,19 +232,13 @@
}
}
.dataScreen-top
{
.dataScreen-top
{
height
:
37%
;
height
:
37%
;
background
:
url("./images/dataScreen-main-rt.png")
no-repeat
;
background-size
:
100%
100%
;
}
}
.dataScreen-center
{
.dataScreen-center
{
height
:
30%
;
height
:
30%
;
background
:
url("./images/dataScreen-main-rc.png")
no-repeat
;
background-size
:
100%
100%
;
}
}
.dataScreen-bottom
{
.dataScreen-bottom
{
height
:
27%
;
height
:
27%
;
margin-bottom
:
0
;
margin-bottom
:
0
;
background
:
url("./images/dataScreen-main-rb.png")
no-repeat
;
background-size
:
100%
100%
;
}
}
}
}
.dataScreen-main-title
{
.dataScreen-main-title
{
...
...
src/views/data-screen/index.vue
View file @
3cd882d6
...
@@ -45,6 +45,12 @@
...
@@ -45,6 +45,12 @@
</div>
</div>
</div>
</div>
<div
class=
"dataScreen-ct"
>
<div
class=
"dataScreen-ct"
>
<div
class=
"dataScreen-Number"
>
<div
class=
"number-box"
>
<p
class=
"number-title text-lg pt-3"
>
案人总数
</p>
<p
class=
" text-xl text-white pt-2"
>
1222
<span
class=
" text-base text-gray-400"
>
件
</span></p>
</div>
</div>
<div
class=
"dataScreen-map"
>
<div
class=
"dataScreen-map"
>
<div
class=
"dataScreen-map-title"
>
调解中心分布点
</div>
<div
class=
"dataScreen-map-title"
>
调解中心分布点
</div>
<!--
<vue3-seamless-scroll
<!--
<vue3-seamless-scroll
...
...
src/views/infoGather/customerGather/components/Customer.vue
View file @
3cd882d6
...
@@ -426,6 +426,8 @@ const handleQuery = () => {
...
@@ -426,6 +426,8 @@ const handleQuery = () => {
}
}
getDebtInfo
(
form
.
value
.
idCard
).
then
(
res
=>
{
getDebtInfo
(
form
.
value
.
idCard
).
then
(
res
=>
{
if
(
res
.
result
)
{
if
(
res
.
result
)
{
res
.
result
.
creditCard
=
res
.
result
.
creditCard
||
[]
res
.
result
.
lending
=
res
.
result
.
lending
||
[]
form
.
value
=
res
.
result
form
.
value
=
res
.
result
cardConfig
.
data
=
res
.
result
.
creditCard
cardConfig
.
data
=
res
.
result
.
creditCard
creditArr
.
value
=
res
.
result
.
lending
creditArr
.
value
=
res
.
result
.
lending
...
...
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