Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
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
常超
founder_vue
Commits
de7fb0cc
Commit
de7fb0cc
authored
Jul 13, 2021
by
liyuhang19990520
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏数据修改以及首页跳转
parent
149c9ad7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
69 additions
and
71 deletions
+69
-71
src/views/index/kshData.vue
+69
-71
No files found.
src/views/index/kshData.vue
View file @
de7fb0cc
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2021-07-11 15:04:34
* @Date: 2021-07-11 15:04:34
* @LastEditTime: 2021-07-1
2 17:51:25
* @LastEditTime: 2021-07-1
3 10:00:23
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\index\kshData.vue
* @FilePath: \founder_vue\src\views\index\kshData.vue
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<div
class=
"timer"
>
<div
class=
"timer"
>
<span>
{{
date
}}
</span>
<span>
{{
date
}}
</span>
<span
class=
"vertical"
>
|
</span>
<span
class=
"vertical"
>
|
</span>
<p
style=
"cursor: pointer"
>
<p
style=
"cursor: pointer"
@
click=
"goHome"
>
<img
src=
"~@/assets/img/homeLogo.png"
alt=
""
/>
<img
src=
"~@/assets/img/homeLogo.png"
alt=
""
/>
<span>
首页
</span>
<span>
首页
</span>
</p>
</p>
...
@@ -186,46 +186,42 @@ export default {
...
@@ -186,46 +186,42 @@ export default {
},
},
data2
:
[
data2
:
[
{
{
name
:
"
Adidas
"
,
name
:
"
无业
"
,
value
:
2242
4
,
value
:
1827
4
,
},
},
{
{
name
:
"
Nike
"
,
name
:
"
务工
"
,
value
:
10131
,
value
:
39285
,
},
},
{
{
name
:
"
Pumas
"
,
name
:
"
务农
"
,
value
:
15252
,
value
:
24215
,
},
},
{
{
name
:
"
Convers
"
,
name
:
"
其他
"
,
value
:
20232
,
value
:
15125
,
},
},
],
],
data3
:
[
data3
:
[
{
{
name
:
"
first
"
,
name
:
"
大学及以上
"
,
value
:
1121
,
value
:
22516
,
},
},
{
{
name
:
"
second
"
,
name
:
"
高中
"
,
value
:
2424
,
value
:
35150
,
},
},
{
{
name
:
"
third
"
,
name
:
"
初中
"
,
value
:
313
,
value
:
25116
,
},
},
{
{
name
:
"
fourth
"
,
name
:
"
小学及以下
"
,
value
:
4131
,
value
:
11415
,
},
},
{
{
name
:
"fifth"
,
name
:
"其他"
,
value
:
52323
,
value
:
16128
,
},
{
name
:
"sixth"
,
value
:
62223
,
},
},
],
],
data4
:
[
1400
,
2380
,
4360
,
5340
,
3320
,
3300
,
4280
,
5260
,
1240
,
2320
],
data4
:
[
1400
,
2380
,
4360
,
5340
,
3320
,
3300
,
4280
,
5260
,
1240
,
2320
],
...
@@ -243,15 +239,27 @@ export default {
...
@@ -243,15 +239,27 @@ export default {
],
],
ydata
:
[
ydata
:
[
"盗窃汽车"
,
"盗窃汽车"
,
"盗窃汽车"
,
"盗窃摩托车"
,
"盗窃汽车"
,
"盗窃其他机动车"
,
"盗窃汽车"
,
"盗窃自行车"
,
"盗窃汽车"
,
"盗窃电动自行车"
,
"盗窃汽车"
,
"盗窃电动自行车电瓶"
,
"盗窃汽车"
,
"盗窃其他非机动车"
,
"盗窃汽车"
,
"随窃"
,
"盗窃汽车"
,
"盗窃车辆燃油"
,
"盗窃汽车"
,
"盗窃车辆配件"
,
],
areaYData
:
[
"广州"
,
"上海"
,
"北京"
,
"云南"
,
"山东"
,
"河北"
,
"四川"
,
"湖北"
,
"陕西"
,
"内蒙"
,
],
],
highRiskData
:
[
80
,
80
,
97
,
53
,
95
,
26
,
72
,
55
],
highRiskData
:
[
80
,
80
,
97
,
53
,
95
,
26
,
72
,
55
],
highRiskX
:
[
highRiskX
:
[
...
@@ -308,44 +316,20 @@ export default {
...
@@ -308,44 +316,20 @@ export default {
ajtjList
:
[
ajtjList
:
[
{
{
id
:
"maFaCount"
,
id
:
"maFaCount"
,
title
:
"发案数
:
"
,
title
:
"发案数
据
"
,
value
:
null
,
value
:
242367
,
color
:
"#FF
E45C
"
,
color
:
"#FF
7336
"
,
type
:
"up"
,
type
:
"up"
,
num
:
null
,
num
:
null
,
},
},
{
{
id
:
"maPaCount"
,
id
:
"maPaCount"
,
title
:
"破案数
:
"
,
title
:
"破案数
据
"
,
value
:
1251
,
value
:
215578
,
color
:
"#43E1FF"
,
color
:
"#43E1FF"
,
type
:
"up"
,
type
:
"up"
,
num
:
null
,
num
:
null
,
},
},
{
id
:
"maWpCount"
,
title
:
"命案未破数:"
,
value
:
2135
,
color
:
"#FFE45C"
,
type
:
"down"
,
num
:
null
,
},
{
id
:
"maJaPaCount"
,
title
:
"积案破案数:"
,
value
:
3124
,
color
:
"#43E1FF"
,
type
:
"down"
,
num
:
null
,
},
{
id
:
"maZdswCount"
,
title
:
"重大伤亡命案数:"
,
value
:
5123
,
color
:
"#FF5816"
,
type
:
"down"
,
num
:
null
,
},
],
],
};
};
},
},
...
@@ -369,7 +353,7 @@ export default {
...
@@ -369,7 +353,7 @@ export default {
this
.
aside_highRisk
(
this
.
highRiskX
,
this
.
highRiskData
);
this
.
aside_highRisk
(
this
.
highRiskX
,
this
.
highRiskData
);
//发破案态势统计
//发破案态势统计
this
.
setAside_solveacase
(
this
.
setAside_solveacase
(
this
.
yd
ata
,
this
.
areaYD
ata
,
this
.
data4
,
this
.
data4
,
this
.
data5
,
this
.
data5
,
this
.
colorList
this
.
colorList
...
@@ -431,6 +415,17 @@ export default {
...
@@ -431,6 +415,17 @@ export default {
},
},
},
},
},
},
legend
:
{
right
:
85
,
top
:
26
,
textStyle
:
{
color
:
"#fff"
,
},
itemWidth
:
12
,
itemHeight
:
10
,
itemWidth
:
14
,
itemGap
:
17
,
},
grid
:
{
grid
:
{
top
:
"24%"
,
top
:
"24%"
,
left
:
"10%"
,
left
:
"10%"
,
...
@@ -504,11 +499,11 @@ export default {
...
@@ -504,11 +499,11 @@ export default {
},
},
},
},
itemStyle
:
{
itemStyle
:
{
color
:
"#
000
"
,
color
:
"#
28DBF1
"
,
borderColor
:
"#28DBF1
"
,
// borderColor: "#000
",
borderWidth
:
2
,
// borderWidth: 3
,
},
},
data
:
[
4
,
7
,
5
,
4
],
//data.values
data
:
[
4
2626
,
91880
,
80880
,
84200
],
//data.values
},
},
{
{
name
:
"女性"
,
name
:
"女性"
,
...
@@ -529,11 +524,11 @@ export default {
...
@@ -529,11 +524,11 @@ export default {
},
},
},
},
itemStyle
:
{
itemStyle
:
{
color
:
"#
000
"
,
color
:
"#
EAC42E
"
,
borderColor
:
"#EAC42E"
,
//
borderColor: "#EAC42E",
borderWidth
:
2
,
//
borderWidth: 2,
},
},
data
:
[
3
,
5
,
4
,
2
],
//data.values
data
:
[
29140
,
49140
,
59278
,
54233
],
//data.values
},
},
],
],
});
});
...
@@ -1230,6 +1225,9 @@ export default {
...
@@ -1230,6 +1225,9 @@ export default {
},
0
);
},
0
);
return
totalPrice
;
return
totalPrice
;
},
},
goHome
(){
this
.
$router
.
push
(
'/home'
)
}
},
},
};
};
</
script
>
</
script
>
...
...
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