Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xt-whp
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
yaqizhang
xt-whp
Commits
3310334f
Commit
3310334f
authored
Oct 25, 2021
by
jianqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
应急物资
parent
03251c42
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
107 additions
and
104 deletions
+107
-104
qyMapone.vue
dcit-hcsystem-hcsystem-master/src/views/qyMap/qyMapone.vue
+107
-104
No files found.
dcit-hcsystem-hcsystem-master/src/views/qyMap/qyMapone.vue
View file @
3310334f
...
...
@@ -106,7 +106,8 @@ export default {
return
{
tableData
:[],
enterpriseRegNum
:
""
,
enterpriseCheckIngNum
:
""
enterpriseCheckIngNum
:
""
,
company
:[
"aa"
,
"bb"
]
}
},
...
...
@@ -271,7 +272,6 @@ export default {
},
inPieChart
(){
// 基于准备好的dom,初始化echarts实例
var
myChart3
=
echarts
.
init
(
document
.
getElementById
(
'main3'
));
// let that=this;
// var getData1 = [];
// var getData2 = [];
...
...
@@ -307,10 +307,8 @@ export default {
that
,
`/enterpriseInfo/enterpriseRiskInfo`
,{},
function
(
res
)
{
that
.
Risk
=
res
.
data
;
console
.
log
(
res
.
data
);
console
.
log
(
that
.
Risk
);
});
var
myChart3
=
echarts
.
init
(
document
.
getElementById
(
'main3'
));
// 绘制图表
myChart3
.
setOption
({
title
:
{
...
...
@@ -351,7 +349,8 @@ export default {
color
:
'#fff'
,
},
},
data
:
[
'测试隐患'
,
'测试隐患'
,
'测试隐患'
,
'测试隐患'
,
'测试隐患'
,
'测试隐患'
,
'测试隐患'
,
'测试隐患'
,
'测试隐患'
,
'测试隐患'
,
'测试隐患'
],
//data: ['测试隐患', '测试隐患', '测试隐患', '测试隐患', '测试隐患', '测试隐患', '测试隐患', '测试隐患', '测试隐患', '测试隐患', '测试隐患'],
data
:
res
.
data
.
company
,
axisPointer
:
{
type
:
'shadow'
}
...
...
@@ -393,16 +392,18 @@ export default {
{
name
:
'隐患'
,
type
:
'bar'
,
data
:
[
400
,
1300
,
700
,
1000
,
1500
,
1800
,
200
,
300
,
2000
,
1000
,
1300
]
// data: [
// 400, 1300, 700, 1000, 1500, 1800, 200, 300, 2000, 1000, 1300
// ]
data
:
res
.
data
.
trouble
,
},
{
name
:
'风险控制'
,
type
:
'line'
,
// symbol:'circle',
symbolSize
:
6
,
data
:
[
1000
,
1300
,
1450
,
1600
,
1700
,
1800
,
1850
,
1800
,
1700
,
1600
,
1500
],
//data: [1000,1300, 1450, 1600, 1700, 1800, 1850, 1800, 1700, 1600, 1500],
data
:
res
.
data
.
risk
,
itemStyle
:
{
normal
:
{
color
:
'#00D7FE'
,
//改变折线点的颜色
lineStyle
:{
color
:
'#00D7FE'
}
//改变折线颜色
},
...
...
@@ -410,6 +411,8 @@ export default {
}
]
})
});
}
}
}
...
...
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