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 a18f6225
authored
Jul 05, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev_v1.0.0' of
http://192.168.3.233:8090/gh/data-view
into dev_v1.0.0
2 parents
3014c221
a6d7829c
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
35 additions
and
35 deletions
src/components/PieChart.vue
src/components/ViewTitle.vue
src/views/afterSales/efficient.vue
src/views/afterSales/file.vue
src/views/afterSales/first.vue
src/views/afterSales/keep.vue
src/views/afterSales/lost.vue
src/views/afterSales/sadayasu.vue
src/views/salesData/flow.vue
src/components/PieChart.vue
View file @
a18f622
...
...
@@ -36,7 +36,7 @@ export default {
},
colors
:
{
type
:
Array
,
default
:
()
=>
[
'#4FA0FF'
,
'#FF6E76'
,
'#7CFFB2'
,
'#FDF006'
,
'#EB6001'
,
'#F5AA01'
,
'#BF98FF'
,
'#
4FA0FF
'
]
default
:
()
=>
[
'#4FA0FF'
,
'#FF6E76'
,
'#7CFFB2'
,
'#FDF006'
,
'#EB6001'
,
'#F5AA01'
,
'#BF98FF'
,
'#
58D9F9
'
]
},
size
:
{
type
:
String
,
...
...
src/components/ViewTitle.vue
View file @
a18f622
<
template
>
<div
class=
"content flex"
>
<div
class=
"logo user-select"
>
<img
src=
"@/assets/images/logo.svg"
alt=
"logo"
/>
<img
src=
"@/assets/images/logo.svg"
alt=
"logo"
/>
</div>
<div
class=
"view-title flex user-select"
>
广汇集团客户池数据大屏
</div>
<div
class=
"time"
>
<div
class=
"top flex"
>
<img
src=
"@/assets/images/time.svg"
class=
"icon"
/>
<div
class=
"now"
>
{{
now
}}
</div>
<img
src=
"@/assets/images/time.svg"
class=
"icon"
/>
<div
class=
"now"
>
{{
now
}}
</div>
</div>
<div
class=
"bottom flex"
>
<div
class=
"merchant"
>
已同步门店数:
68
</div>
数据截止至
{{
yesterday
}}
<div
class=
"merchant"
>
已同步门店数:
160
</div>
数据截止至
{{
yesterday
}}
</div>
</div>
<div
class=
"center-control"
>
...
...
@@ -26,7 +20,7 @@
</div>
</
template
>
<
script
type=
'text/ecmascript-6'
>
<
script
type=
"text/ecmascript-6"
>
export
default
{
name
:
'ViewTitle'
,
data
()
{
...
...
@@ -49,7 +43,7 @@ export default {
}
</
script
>
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
"scss"
>
.content
{
width
:
100%
;
height
:
100%
;
...
...
@@ -77,7 +71,7 @@ export default {
text-align
:
right
;
font-size
:
14px
;
color
:
#ffffff
;
.top{
.top
{
justify-content
:
flex-end
;
}
.icon
{
...
...
@@ -94,7 +88,7 @@ export default {
margin-right
:
10px
;
padding-right
:
10px
;
position
:
relative
;
&::after{
&::after
{
position
:
absolute
;
right
:
0
;
top
:
50%
;
...
...
@@ -115,4 +109,4 @@ export default {
z-index
:
2
;
}
}
</
style
>
\ No newline at end of file
</
style
>
src/views/afterSales/efficient.vue
View file @
a18f622
...
...
@@ -95,8 +95,8 @@ export default {
})
this
.
dataList
.
push
({
num
:
item
.
num
||
0
,
hrate
:
item
.
hrate
||
0
,
trate
:
item
.
trate
||
0
,
hrate
:
item
.
hrate
.
toFixed
(
2
)
||
0
,
trate
:
item
.
trate
.
toFixed
(
2
)
||
0
,
statDate
:
item
.
statDate
,
topList
:
topList
,
lastList
:
lastList
...
...
src/views/afterSales/file.vue
View file @
a18f622
...
...
@@ -97,8 +97,8 @@ export default {
})
this
.
dataList
.
push
({
num
:
item
.
num
||
0
,
hrate
:
item
.
hrate
||
0
,
trate
:
item
.
trate
||
0
,
hrate
:
item
.
hrate
.
toFixed
(
2
)
||
0
,
trate
:
item
.
trate
.
toFixed
(
2
)
||
0
,
statDate
:
item
.
statDate
,
topList
:
topList
,
lastList
:
lastList
...
...
src/views/afterSales/first.vue
View file @
a18f622
...
...
@@ -112,9 +112,9 @@ export default {
})
this
.
dataList
.
push
({
num
:
item
.
num
||
0
,
rate
:
item
.
rate
||
0
,
hrate
:
item
.
hrate
||
0
,
trate
:
item
.
trate
||
0
,
rate
:
item
.
rate
.
toFixed
(
2
)
||
0
,
hrate
:
item
.
hrate
.
toFixed
(
2
)
||
0
,
trate
:
item
.
trate
.
toFixed
(
2
)
||
0
,
statDate
:
item
.
statDate
,
topList
:
topList
,
lastList
:
lastList
...
...
src/views/afterSales/keep.vue
View file @
a18f622
...
...
@@ -112,9 +112,9 @@ export default {
})
this
.
dataList
.
push
({
num
:
item
.
num
||
0
,
rate
:
item
.
rate
||
0
,
hrate
:
item
.
hrate
||
0
,
trate
:
item
.
trate
||
0
,
rate
:
item
.
rate
.
toFixed
(
2
)
||
0
,
hrate
:
item
.
hrate
.
toFixed
(
2
)
||
0
,
trate
:
item
.
trate
.
toFixed
(
2
)
||
0
,
statDate
:
item
.
statDate
,
topList
:
topList
,
lastList
:
lastList
...
...
src/views/afterSales/lost.vue
View file @
a18f622
...
...
@@ -113,9 +113,9 @@ export default {
})
this
.
dataList
.
push
({
num
:
item
.
num
||
0
,
rate
:
item
.
rate
||
0
,
hrate
:
item
.
hrate
||
0
,
trate
:
item
.
trate
||
0
,
rate
:
item
.
rate
.
toFixed
(
2
)
||
0
,
hrate
:
item
.
hrate
.
toFixed
(
2
)
||
0
,
trate
:
item
.
trate
.
toFixed
(
2
)
||
0
,
statDate
:
item
.
statDate
,
topList
:
topList
,
lastList
:
lastList
...
...
src/views/afterSales/sadayasu.vue
View file @
a18f622
...
...
@@ -112,9 +112,9 @@ export default {
})
this
.
dataList
.
push
({
num
:
item
.
num
||
0
,
rate
:
item
.
rate
||
0
,
hrate
:
item
.
hrate
||
0
,
trate
:
item
.
trate
||
0
,
rate
:
item
.
rate
.
toFixed
(
2
)
||
0
,
hrate
:
item
.
hrate
.
toFixed
(
2
)
||
0
,
trate
:
item
.
trate
.
toFixed
(
2
)
||
0
,
statDate
:
item
.
statDate
,
topList
:
topList
,
lastList
:
lastList
...
...
src/views/salesData/flow.vue
View file @
a18f622
...
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2022-06-23 15:05:21
* @LastEditors: huyue
* @LastEditTime: 2022-07-0
4 18:39:00
* @LastEditTime: 2022-07-0
5 17:16:23
-->
<
template
>
<div>
...
...
@@ -21,7 +21,7 @@
</div>
<div
class=
"ranking-content"
>
<div
class=
"ranking-item"
v-for=
"(item, index) in flowData"
:key=
"index"
>
<span>
{{
index
+
1
}}
</span>
<span
class=
"ranking-sort"
>
{{
index
+
1
}}
</span>
<span
class=
"ranking-name"
>
<marquee
:direction=
"directionTimer"
:delay=
"delayTimer"
:text=
"item.brand"
/>
</span>
...
...
@@ -187,6 +187,7 @@ export default {
'mouseover'
,
utils
.
debounce
(
data
=>
{
this
.
getSaleTrans
(
this
.
paramsData
,
data
.
data
.
type
)
this
.
isActive
=
1
}),
1000
/
60
)
...
...
@@ -276,6 +277,11 @@ export default {
align-items
:
center
;
line-height
:
2.1vh
;
height
:
2.1vh
;
.ranking-sort
{
display
:
inline-block
;
width
:
0.3vw
;
text-align
:
center
;
}
.ranking-name
{
width
:
calc
(
100%
-
33%
-
28px
);
}
...
...
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