Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-chart-show-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-chart-show-pc
Commits
2561cbe5
提交
2561cbe5
authored
4月 01, 2021
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化样式
上级
299e3dce
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
46 行增加
和
10 行删除
+46
-10
monthRevenueTrend.vue
src/components/chart/chart210323/monthRevenueTrend.vue
+7
-4
nowApply.vue
src/components/chart/chart210323/nowApply.vue
+3
-0
nowIncome2.vue
src/components/chart/chart210323/nowIncome2.vue
+4
-0
weekRevenueForecast.vue
src/components/chart/chart210323/weekRevenueForecast.vue
+7
-3
yearApply.vue
src/components/chart/chart210323/yearApply.vue
+4
-1
yearIncome.vue
src/components/chart/chart210323/yearIncome.vue
+3
-0
yearRankingApply.vue
src/components/chart/chart210323/yearRankingApply.vue
+3
-0
chart-210323.vue
src/pages/chart/chart-210323.vue
+15
-2
没有找到文件。
src/components/chart/chart210323/monthRevenueTrend.vue
浏览文件 @
2561cbe5
...
...
@@ -22,6 +22,9 @@ export default {
},
beforeMount
()
{
this
.
getData
()
setInterval
(()
=>
{
this
.
getData
()
},
5
*
60
*
1000
)
},
methods
:
{
formatter
(
num
)
{
...
...
@@ -99,14 +102,14 @@ export default {
this
.
option
=
{
legend
:
{
top
:
'bottom'
,
itemWidth
:
1
3
,
itemHeight
:
1
3
,
itemWidth
:
1
0
,
itemHeight
:
1
0
,
icon
:
'rect'
,
textStyle
:
{
color
:
'#fff'
,
fontSize
:
1
6
}
textStyle
:
{
color
:
'#fff'
,
fontSize
:
1
4
}
},
// tooltip: { trigger: 'axis', axisPointer: {} },
grid
:
{
top
:
'
8
%'
,
top
:
'
12
%'
,
left
:
'3%'
,
right
:
'5%'
,
bottom
:
'20%'
,
...
...
src/components/chart/chart210323/nowApply.vue
浏览文件 @
2561cbe5
...
...
@@ -32,6 +32,9 @@ export default {
},
mounted
()
{
this
.
getData
()
setInterval
(()
=>
{
this
.
getData
()
},
5
*
60
*
1000
)
},
methods
:
{
getData
(
n
)
{
...
...
src/components/chart/chart210323/nowIncome2.vue
浏览文件 @
2561cbe5
...
...
@@ -80,6 +80,10 @@ export default {
$
(
'#scroll-set-h'
).
height
(
countH
)
this
.
$nextTick
(()
=>
{
this
.
getData
(
Math
.
round
(
countH
/
35
))
// setTimeout(() => {
// this.getData(Math.round(countH / 35))
// // this.getData()
// }, 5 * 60 * 1000)
setInterval
(()
=>
{
this
.
getData
(
Math
.
round
(
countH
/
35
))
},
60
*
1000
)
...
...
src/components/chart/chart210323/weekRevenueForecast.vue
浏览文件 @
2561cbe5
...
...
@@ -22,6 +22,10 @@ export default {
},
beforeMount
()
{
this
.
getData
()
setInterval
(()
=>
{
// this.getData()
this
.
getData
()
},
5
*
60
*
1000
)
},
methods
:
{
formatter
(
num
)
{
...
...
@@ -123,10 +127,10 @@ export default {
this
.
option
=
{
legend
:
{
top
:
'bottom'
,
itemWidth
:
1
3
,
itemHeight
:
1
3
,
itemWidth
:
1
0
,
itemHeight
:
1
0
,
icon
:
'rect'
,
textStyle
:
{
color
:
'#fff'
,
fontSize
:
1
6
}
textStyle
:
{
color
:
'#fff'
,
fontSize
:
1
4
}
},
// tooltip: { trigger: 'axis', axisPointer: {} },
grid
:
{
...
...
src/components/chart/chart210323/yearApply.vue
浏览文件 @
2561cbe5
...
...
@@ -27,6 +27,9 @@ export default {
},
mounted
()
{
this
.
getData
()
setInterval
(()
=>
{
this
.
getData
()
},
5
*
60
*
1000
)
},
methods
:
{
getData
()
{
...
...
@@ -53,7 +56,7 @@ export default {
name
:
'访问来源'
,
type
:
'pie'
,
data
:
data
,
radius
:
'
7
0%'
,
radius
:
'
6
0%'
,
label
:
{
formatter
:
'{b} {d}%'
},
...
...
src/components/chart/chart210323/yearIncome.vue
浏览文件 @
2561cbe5
...
...
@@ -42,6 +42,9 @@ export default {
},
mounted
()
{
this
.
getData
()
setTimeout
(()
=>
{
this
.
getData
()
},
5
*
60
*
1000
)
},
methods
:
{
getData
()
{
...
...
src/components/chart/chart210323/yearRankingApply.vue
浏览文件 @
2561cbe5
...
...
@@ -29,6 +29,9 @@ export default {
},
mounted
()
{
this
.
getData
()
setInterval
(()
=>
{
this
.
getData
()
},
5
*
60
*
1000
)
},
methods
:
{
getData
()
{
...
...
src/pages/chart/chart-210323.vue
浏览文件 @
2561cbe5
...
...
@@ -142,8 +142,9 @@ export default {
setInterval
(()
=>
{
this
.
time
=
this
.
getCurrentTime
()
},
1000
)
setTimeout
(()
=>
{
this
.
$router
.
go
(
0
)
setInterval
(()
=>
{
// this.$router.go(0)
this
.
getData
()
},
5
*
60
*
1000
)
},
methods
:
{
...
...
@@ -165,7 +166,19 @@ export default {
return
String
(
num
).
replace
(
/
\d{1,3}(?=(\d{3})
+
(\.
|$
))
/g
,
'$&,'
)
},
getData
()
{
this
.
monthlyIncomeData
=
{
data
:
[
{
value
:
0
,
itemStyle
:
{
color
:
'#34A6D2'
}
}
],
projectName
:
[
''
]
}
action
.
Chart210323
.
getMonthProjectIncome
().
then
(
res
=>
{
// this.monthlyIncomeData = []
res
.
data
.
sell_data
.
map
(
item
=>
{
// 营收数据遍历
this
.
monthlyIncomeData
.
data
.
push
(
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论