Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
gh
/
data-view
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit aa909b8b
authored
Jul 05, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
折线图
1 parent
51eb5eda
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
10 deletions
src/components/lineOptions.js
src/views/afterSales/efficient.vue
src/views/afterSales/file.vue
src/views/afterSales/keep.vue
src/views/afterSales/lost.vue
src/views/afterSales/sadayasu.vue
src/components/lineOptions.js
View file @
aa909b8
...
@@ -4,7 +4,6 @@ function getLineOptions(obj) {
...
@@ -4,7 +4,6 @@ function getLineOptions(obj) {
tooltip
:
{
tooltip
:
{
trigger
:
'axis'
,
trigger
:
'axis'
,
borderWidth
:
0
,
borderWidth
:
0
,
show
:
true
,
backgroundColor
:
'rgba(68,68,68,0.80)'
,
backgroundColor
:
'rgba(68,68,68,0.80)'
,
textStyle
:
{
textStyle
:
{
color
:
'#FFFFFF'
,
color
:
'#FFFFFF'
,
...
...
src/views/afterSales/efficient.vue
View file @
aa909b8
...
@@ -84,13 +84,13 @@ export default {
...
@@ -84,13 +84,13 @@ export default {
Object
.
keys
(
topTempList
).
forEach
(
item
=>
{
Object
.
keys
(
topTempList
).
forEach
(
item
=>
{
topList
.
push
({
topList
.
push
({
label
:
item
,
label
:
item
,
value
:
topTempList
[
item
]
?
this
.
numAddSymbol
(
topTempList
[
item
]
)
:
'- -'
value
:
topTempList
[
item
]
.
num
?
this
.
numAddSymbol
(
topTempList
[
item
].
num
)
:
'- -'
})
})
})
})
Object
.
keys
(
lastTempList
).
forEach
(
item
=>
{
Object
.
keys
(
lastTempList
).
forEach
(
item
=>
{
lastList
.
push
({
lastList
.
push
({
label
:
item
,
label
:
item
,
value
:
lastTempList
[
item
]
?
this
.
numAddSymbol
(
lastTempList
[
item
]
)
:
'- -'
value
:
lastTempList
[
item
]
.
num
?
this
.
numAddSymbol
(
lastTempList
[
item
].
num
)
:
'- -'
})
})
})
})
this
.
dataList
.
push
({
this
.
dataList
.
push
({
...
...
src/views/afterSales/file.vue
View file @
aa909b8
...
@@ -86,13 +86,13 @@ export default {
...
@@ -86,13 +86,13 @@ export default {
Object
.
keys
(
topTempList
).
forEach
(
item
=>
{
Object
.
keys
(
topTempList
).
forEach
(
item
=>
{
topList
.
push
({
topList
.
push
({
label
:
item
,
label
:
item
,
value
:
topTempList
[
item
]
?
this
.
numAddSymbol
(
topTempList
[
item
]
)
:
'- -'
value
:
topTempList
[
item
]
.
num
?
this
.
numAddSymbol
(
topTempList
[
item
].
num
)
:
'- -'
})
})
})
})
Object
.
keys
(
lastTempList
).
forEach
(
item
=>
{
Object
.
keys
(
lastTempList
).
forEach
(
item
=>
{
lastList
.
push
({
lastList
.
push
({
label
:
item
,
label
:
item
,
value
:
lastTempList
[
item
]
?
this
.
numAddSymbol
(
lastTempList
[
item
]
)
:
'- -'
value
:
lastTempList
[
item
]
.
num
?
this
.
numAddSymbol
(
lastTempList
[
item
].
num
)
:
'- -'
})
})
})
})
this
.
dataList
.
push
({
this
.
dataList
.
push
({
...
...
src/views/afterSales/keep.vue
View file @
aa909b8
...
@@ -56,7 +56,7 @@ export default {
...
@@ -56,7 +56,7 @@ export default {
]
]
}
}
},
},
mounted
()
{},
mounted
()
{
},
methods
:
{
methods
:
{
init
(
val
)
{
init
(
val
)
{
this
.
isEmpty
=
true
this
.
isEmpty
=
true
...
@@ -101,13 +101,13 @@ export default {
...
@@ -101,13 +101,13 @@ export default {
Object
.
keys
(
topTempList
).
forEach
(
item
=>
{
Object
.
keys
(
topTempList
).
forEach
(
item
=>
{
topList
.
push
({
topList
.
push
({
label
:
item
,
label
:
item
,
value
:
topTempList
[
item
]
?
this
.
numAddSymbol
(
topTempList
[
item
]
)
:
'- -'
value
:
topTempList
[
item
]
.
num
?
this
.
numAddSymbol
(
topTempList
[
item
].
num
)
:
'- -'
})
})
})
})
Object
.
keys
(
lastTempList
).
forEach
(
item
=>
{
Object
.
keys
(
lastTempList
).
forEach
(
item
=>
{
lastList
.
push
({
lastList
.
push
({
label
:
item
,
label
:
item
,
value
:
lastTempList
[
item
]
?
this
.
numAddSymbol
(
lastTempList
[
item
]
)
:
'- -'
value
:
lastTempList
[
item
]
.
num
?
this
.
numAddSymbol
(
lastTempList
[
item
].
num
)
:
'- -'
})
})
})
})
this
.
dataList
.
push
({
this
.
dataList
.
push
({
...
...
src/views/afterSales/lost.vue
View file @
aa909b8
...
@@ -102,13 +102,13 @@ export default {
...
@@ -102,13 +102,13 @@ export default {
Object
.
keys
(
topTempList
).
forEach
(
item
=>
{
Object
.
keys
(
topTempList
).
forEach
(
item
=>
{
topList
.
push
({
topList
.
push
({
label
:
item
,
label
:
item
,
value
:
topTempList
[
item
]
?
this
.
numAddSymbol
(
topTempList
[
item
]
)
:
'- -'
value
:
topTempList
[
item
]
.
num
?
this
.
numAddSymbol
(
topTempList
[
item
].
num
)
:
'- -'
})
})
})
})
Object
.
keys
(
lastTempList
).
forEach
(
item
=>
{
Object
.
keys
(
lastTempList
).
forEach
(
item
=>
{
lastList
.
push
({
lastList
.
push
({
label
:
item
,
label
:
item
,
value
:
lastTempList
[
item
]
?
this
.
numAddSymbol
(
lastTempList
[
item
]
)
:
'- -'
value
:
lastTempList
[
item
]
.
num
?
this
.
numAddSymbol
(
lastTempList
[
item
].
num
)
:
'- -'
})
})
})
})
this
.
dataList
.
push
({
this
.
dataList
.
push
({
...
...
src/views/afterSales/sadayasu.vue
View file @
aa909b8
Write
Preview
Markdown
is supported
Attach a file
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 post a comment