Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-cooperation-cme
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-cooperation-cme
提交
207b4314
提交
207b4314
编写于
6月 28, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
CME二期埋点
上级
b0e8edf6
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
41 行增加
和
17 行删除
+41
-17
cell-list-detail.vue
src/components/business/cell-list-detail.vue
+12
-12
coop-list-item.vue
src/components/business/coop-list-item.vue
+4
-5
I-card-item.vue
src/components/cme/I-card-item.vue
+3
-0
card-banner.vue
src/components/cme/card-banner.vue
+4
-0
I-credit-detail.vue
src/views/I-credit-detail.vue
+3
-0
merge-detail copy.vue
src/views/merge-detail copy.vue
+1
-0
merge-detail.vue
src/views/merge-detail.vue
+14
-0
未找到文件。
src/components/business/cell-list-detail.vue
浏览文件 @
207b4314
...
...
@@ -96,11 +96,11 @@ const actionMap = {
23
:
"去复习"
};
const
sendBuriedDataMap
=
{
11
:
"211012
"
,
12
:
"211013"
,
21
:
"
211009
"
,
22
:
"
211010
"
,
23
:
"
211011
"
// 11: "8824
",
//
12: "211013",
21
:
"
8821
"
,
22
:
"
8822
"
,
23
:
"
8823
"
}
export
default
{
name
:
"cell-list-item"
,
...
...
@@ -167,6 +167,13 @@ export default {
// 跳转到考试或课程 type 1: 考试; 2: 课程
// 如果是考试,将根据appVersion判断是新考试还是老考试,如果是301或之前的,都是老考试
gotoExamOrCourse
(
item
)
{
// 埋点:去学习、继续学习、复习、去考试、重考
let
actionCode
=
sendBuriedDataMap
[
item
.
status
];
if
(
actionCode
)
{
this
.
$sendBuriedData
({
component_tag
:
`882#
${
actionCode
}
#
${
this
.
projectId
}
`
});
}
let
appVersion
=
getAppVersion
(
this
.
userInfo
.
appVersion
);
if
(
item
.
useFlag
==
2
)
return
;
if
(
window
.
__isWeb
)
{
...
...
@@ -185,13 +192,6 @@ export default {
}
else
if
(
item
.
type
==
2
)
{
this
.
gotoCourse
(
item
.
id
);
}
// 埋点:去学习、继续学习、复习、去考试、重考
let
actionCode
=
sendBuriedDataMap
[
item
.
status
];
if
(
actionCode
)
{
this
.
$sendBuriedData
({
component_tag
:
`211#
${
actionCode
}
#
${
this
.
projectId
}
`
});
}
},
// 跳转到课程
...
...
src/components/business/coop-list-item.vue
浏览文件 @
207b4314
...
...
@@ -111,6 +111,10 @@ export default {
}
}
,
coopDetails
(
item
)
{
this
.
$sendBuriedData
({
component_tag
:
`880#8803#${item.id
}
#${item.name
}
`
//'210#210002#0#'+item.projectName
}
);
let
appVersion
=
this
.
userInfo
.
appVersion
;
let
appVersionNum
=
appVersion
.
split
(
'.'
).
join
(
''
);
console
.
log
(
'appVersionNum'
,
appVersionNum
);
...
...
@@ -150,11 +154,6 @@ export default {
}
else
{
rocNative
.
gotoLogin
();
}
this
.
$sendBuriedData
({
component_tag
:
`210#210002#${item.id
}
#${item.name
}
`
//'210#210002#0#'+item.projectName
}
);
}
,
goToPage
(
item
)
{
...
...
src/components/cme/I-card-item.vue
浏览文件 @
207b4314
...
...
@@ -42,6 +42,9 @@ export default {
methods
:
{
// 跳转I类学习详情(介绍)页面
jumpToCardList
()
{
this
.
$sendBuriedData
({
component_tag
:
"880#8802"
});
let
appVersion
=
this
.
userInfo
.
appVersion
;
let
appVersionNum
=
appVersion
.
split
(
'.'
).
join
(
''
);
console
.
log
(
'appVersionNum'
,
appVersionNum
);
...
...
src/components/cme/card-banner.vue
浏览文件 @
207b4314
...
...
@@ -30,6 +30,10 @@ export default {
// 跳转到学习卡列表页面
jumpToCardList
()
{
// 如果没有登录,则要去登录页面
// 打开页面埋点
this
.
$sendBuriedData
({
component_tag
:
"880#8801"
});
let
appVersion
=
this
.
userInfo
.
appVersion
;
let
appVersionNum
=
appVersion
.
split
(
'.'
).
join
(
''
);
console
.
log
(
'appVersionNum'
,
appVersionNum
);
...
...
src/views/I-credit-detail.vue
浏览文件 @
207b4314
...
...
@@ -72,6 +72,9 @@ export default {
// 判断用户是否购买过I类学习卡
isBuy
(
cardType
)
{
this
.
$sendBuriedData
({
component_tag
:
`881#8811`
});
this
.
showLoading
=
true
;
let
param
=
{
cardType
:
cardType
,
...
...
src/views/merge-detail copy.vue
浏览文件 @
207b4314
...
...
@@ -311,6 +311,7 @@ export default {
// 第一次跳转弹框,点击时调用相应接口
handlerEJAction
()
{
this
.
isShowEJDialog
=
false
;
this
.
jumpToExamAction
();
this
.
firstIntoExamAction
();
...
...
src/views/merge-detail.vue
浏览文件 @
207b4314
...
...
@@ -324,6 +324,9 @@ export default {
// 点击“参与考试”
beforeJumpToExam
()
{
this
.
$sendBuriedData
({
component_tag
:
`882#8824`
});
// 如果是首次,则弹出弹框
if
(
this
.
project
.
firstIntoExam
)
{
this
.
isShowEJDialog
=
true
;
...
...
@@ -335,6 +338,9 @@ export default {
// 第一次跳转弹框,点击时调用相应接口
handlerEJAction
()
{
this
.
$sendBuriedData
({
component_tag
:
`883#8831`
});
this
.
isShowEJDialog
=
false
;
this
.
isBuy
(
2
);
// this.jumpToExamAction();
...
...
@@ -363,6 +369,10 @@ export default {
// 跳转II类学习详情页面(中华医学会项目详情页面)
jumpToCardList
()
{
this
.
$sendBuriedData
({
component_tag
:
`885#8851`
});
this
.
showLoading
=
false
;
this
.
isShowPopup
=
false
;
// 判断版本号,如果小于3.4.0,则只做提示
...
...
@@ -445,6 +455,10 @@ export default {
// 跳转到原生的购买页面
confirm
()
{
this
.
$sendBuriedData
({
component_tag
:
`885#8852`
});
this
.
isShowPopup
=
false
;
let
pageUrl
=
this
.
project
.
examBtnUrl
;
let
paramList
=
[
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录