Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-annual-summary
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-annual-summary
提交
20a524b7
提交
20a524b7
编写于
2月 04, 2021
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
样式及控制台
上级
31c8b5eb
变更
4
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
31 行增加
和
28 行删除
+31
-28
card-5.vue
src/components/annual-summary/card-5.vue
+1
-0
card-6.vue
src/components/annual-summary/card-6.vue
+4
-1
main.js
src/main.js
+1
-1
detail.vue
src/views/annual-summary/detail.vue
+25
-26
未找到文件。
src/components/annual-summary/card-5.vue
浏览文件 @
20a524b7
...
@@ -76,6 +76,7 @@ export default {
...
@@ -76,6 +76,7 @@ export default {
}
}
.num {
.num {
color: #FF8054;
color: #FF8054;
font-weight: 700;
}
}
}
}
}
}
...
...
src/components/annual-summary/card-6.vue
浏览文件 @
20a524b7
...
@@ -2,7 +2,10 @@
...
@@ -2,7 +2,10 @@
<div
class=
"card-6-wrapper"
>
<div
class=
"card-6-wrapper"
>
<Logo
imgType=
"2"
></Logo>
<Logo
imgType=
"2"
></Logo>
<div
class=
"bgi-wrapper"
>
<div
class=
"bgi-wrapper"
>
<img
class=
"bg"
<img
class=
"ani bg"
swiper-animate-effect=
""
swiper-animate-duration=
"1s"
swiper-animate-delay=
"3s"
src=
"https://file.yunqueyi.com/h5/images/asimg/env-back.png"
alt
/>
src=
"https://file.yunqueyi.com/h5/images/asimg/env-back.png"
alt
/>
</div>
</div>
<section
<section
...
...
src/main.js
浏览文件 @
20a524b7
...
@@ -19,7 +19,7 @@ Vue.prototype.$callApp = callApp;
...
@@ -19,7 +19,7 @@ Vue.prototype.$callApp = callApp;
// Vue.prototype.clipboard = clipboard;
// Vue.prototype.clipboard = clipboard;
const
envList
=
[
'dev'
,
'test'
,
'uat'
];
const
envList
=
[
'dev'
,
'test'
];
const
{
BUILD_ENV
}
=
process
.
env
;
const
{
BUILD_ENV
}
=
process
.
env
;
if
(
envList
.
indexOf
(
BUILD_ENV
)
!=
-
1
)
{
if
(
envList
.
indexOf
(
BUILD_ENV
)
!=
-
1
)
{
const
VConsole
=
require
(
'vconsole'
);
const
VConsole
=
require
(
'vconsole'
);
...
...
src/views/annual-summary/detail.vue
浏览文件 @
20a524b7
...
@@ -180,6 +180,30 @@ export default {
...
@@ -180,6 +180,30 @@ export default {
methods
:
{
methods
:
{
...
mapActions
([
"setUserInfo"
,
"setBackBDText"
]),
...
mapActions
([
"setUserInfo"
,
"setBackBDText"
]),
// 获取数据
initData
()
{
let
param
=
{
token
:
this
.
token
||
"46377F8580DA48C4AD3A4DFDEF33C3D0"
,
yearType
:
"2020"
,
setEntry
:
true
};
this
.
showLoading
=
true
;
this
.
GET
(
`stats/year/end/report/app`
,
param
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
this
.
handlerDate
(
res
.
data
||
{});
this
.
handle4DBText
();
this
.
$forceUpdate
();
this
.
$nextTick
(()
=>
{
setTimeout
(()
=>
{
this
.
showLoading
=
false
;
this
.
initSwiper
();
},
100
);
});
}
else
{
Toast
(
res
.
message
);
}
});
},
// 先构造埋点的基础数据
// 先构造埋点的基础数据
handle4DBText
()
{
handle4DBText
()
{
let
anualData
=
this
.
anualData
;
let
anualData
=
this
.
anualData
;
...
@@ -236,31 +260,6 @@ export default {
...
@@ -236,31 +260,6 @@ export default {
}
}
},
},
// 获取数据
initData
()
{
let
param
=
{
token
:
this
.
token
||
"1C6B1E90B51248AEA7F28C118828074B"
,
yearType
:
"2020"
,
setEntry
:
true
};
this
.
showLoading
=
true
;
this
.
GET
(
`stats/year/end/report/app`
,
param
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
this
.
handlerDate
(
res
.
data
||
{});
this
.
handle4DBText
();
this
.
$forceUpdate
();
this
.
$nextTick
(()
=>
{
setTimeout
(()
=>
{
this
.
showLoading
=
false
;
this
.
initSwiper
();
},
100
);
});
}
else
{
Toast
(
res
.
message
);
}
});
},
// 对数据进行处理
// 对数据进行处理
handlerDate
(
anualData
)
{
handlerDate
(
anualData
)
{
let
learnTime4Show
=
0
,
let
learnTime4Show
=
0
,
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录