Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SURPRISED
Project
Project
Details
Activity
Releases
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
华国豪
SURPRISED
Commits
70d54492
Commit
70d54492
authored
Dec 17, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
6279386f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
3 deletions
+27
-3
testpage.html
html/testpage.html
+27
-3
No files found.
html/testpage.html
View file @
70d54492
...
...
@@ -121,11 +121,15 @@
<p><span
class=
"red year6"
></span>
年,您的客户来自哪里
</p>
</div>
<div
class=
"line_box"
>
<div
class=
"xianlu margint-20"
>
<div
class=
"xianlu"
>
<div
id=
"xianluEchart"
>
</div>
</div>
<div
class=
"nianling margint-20"
>
<div
class=
"nianling"
>
<div
id=
"nianlingEchart"
>
</div>
</div>
</div>
</div>
...
...
@@ -140,6 +144,7 @@
<script
type=
"text/javascript"
src=
"../js/md5.js"
></script>
<script
type=
"text/javascript"
src=
"../js/mian.js"
></script>
<script
type=
"text/javascript"
src=
"../js/layer/layer.js"
></script>
<script
type=
"text/javascript"
src=
"https://www.echartsjs.com/zh/dist/echarts-gl.min.js"
></script>
<script
type=
"text/javascript"
>
var
str
=
location
.
href
,
param
=
str
.
substr
(
str
.
indexOf
(
"?"
)
+
1
),
...
...
@@ -190,6 +195,19 @@
TextContentList
=
dataObj
.
evaluateList
.
TextContentList
createDM
()
}
//客户
var
LineOrder
=
{
LineName
:
[],
TotalGuest
:
[]
}
if
(
dataObj
.
LineOrder
.
length
)
{
dataObj
.
LineOrder
.
map
(
x
=>
{
LineOrder
.
LineName
.
push
(
x
.
LineName
)
LineOrder
.
TotalGuest
.
push
(
x
.
TotalGuest
)
})
creatEchart
(
LineOrder
)
}
}
else
{
layer
.
msg
(
res
.
message
)
}
...
...
@@ -356,6 +374,12 @@
obj
.
style
.
left
=
run
+
'px'
;
},
20
)
}
var
myChart1
=
echarts
.
init
(
document
.
getElementById
(
'xianluEchart'
));
var
myChart2
=
echarts
.
init
(
document
.
getElementById
(
'nianlingEchart'
));
function
creatEchart
(
data
){
myChart1
.
setOption
(
option
);
}
</script>
</body>
...
...
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