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
提交
f4ed0604
提交
f4ed0604
编写于
9月 21, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
调用有没有绑定卡
上级
4e0b92ff
变更
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
2 行增加
和
9 行删除
+2
-9
merge-detail.vue
src/views/merge-detail.vue
+2
-9
未找到文件。
src/views/merge-detail.vue
浏览文件 @
f4ed0604
...
@@ -809,7 +809,6 @@ export default {
...
@@ -809,7 +809,6 @@ export default {
this
.
NEW_GET
(
`cme/project/
${
_this
.
projectId
}
/info`
,
param
).
then
(
res
=>
{
this
.
NEW_GET
(
`cme/project/
${
_this
.
projectId
}
/info`
,
param
).
then
(
res
=>
{
// _this.showLoading = false;
// _this.showLoading = false;
if
(
res
.
code
==
"000000"
)
{
if
(
res
.
code
==
"000000"
)
{
console
.
log
(
111111
);
if
(
videoUrl
)
{
if
(
videoUrl
)
{
_this
.
limitTimes
=
this
.
$route
.
query
.
trySeeTime
||
300000
;
_this
.
limitTimes
=
this
.
$route
.
query
.
trySeeTime
||
300000
;
_this
.
videoOptions
.
mp4
=
videoUrl
;
_this
.
videoOptions
.
mp4
=
videoUrl
;
...
@@ -819,23 +818,16 @@ export default {
...
@@ -819,23 +818,16 @@ export default {
_this
.
videoOptions
.
mp4
=
res
.
data
.
attachmentUrl
;
_this
.
videoOptions
.
mp4
=
res
.
data
.
attachmentUrl
;
_this
.
videoOptions
.
trySeeTime
=
res
.
data
.
trySeeTime
||
300000
;
_this
.
videoOptions
.
trySeeTime
=
res
.
data
.
trySeeTime
||
300000
;
}
}
console
.
log
(
222222
);
_this
.
hasBindCard
=
res
.
data
.
cardStatus
==
0
?
false
:
true
;
_this
.
hasBindCard
=
res
.
data
.
cardStatus
==
0
?
false
:
true
;
if
(
_this
.
hasBindCard
)
{
if
(
_this
.
hasBindCard
)
{
_this
.
videoOptions
.
trySeeTime
=
300000
;
_this
.
videoOptions
.
trySeeTime
=
300000
;
_this
.
videoOptions
.
autoplay
=
false
;
_this
.
videoOptions
.
autoplay
=
false
;
// 如果没有绑定卡,则查询是否有未绑定的卡
// 如果没有绑定卡,则查询是否有未绑定的卡
}
else
{
_this
.
hasNoUsedCardAction
();
}
}
console
.
log
(
33333
);
let
mp4Url
=
_this
.
videoOptions
.
mp4
;
let
mp4Url
=
_this
.
videoOptions
.
mp4
;
// 判断是否是mp4
// 判断是否是mp4
if
(
mp4Url
.
lastIndexOf
(
'.mp4'
)
>
0
)
{
if
(
mp4Url
.
lastIndexOf
(
'.mp4'
)
>
0
)
{
_this
.
bannerType
=
2
;
_this
.
bannerType
=
2
;
// // TODO test
// _this.videoOptions.mp4 += 2;
}
else
{
}
else
{
if
(
res
.
data
.
attachmentType
==
2
)
{
if
(
res
.
data
.
attachmentType
==
2
)
{
_this
.
videoOptions
.
mp4
=
res
.
data
.
attachmentUrl
;
_this
.
videoOptions
.
mp4
=
res
.
data
.
attachmentUrl
;
...
@@ -914,12 +906,13 @@ export default {
...
@@ -914,12 +906,13 @@ export default {
// 如果 hasBindCard 为false,则获取卡信息 0:未绑卡 1:已绑卡
// 如果 hasBindCard 为false,则获取卡信息 0:未绑卡 1:已绑卡
if
(
!
_this
.
hasBindCard
)
{
if
(
!
_this
.
hasBindCard
)
{
_this
.
preJumper
();
_this
.
preJumper
();
_this
.
hasNoUsedCardAction
();
}
}
// 请求成功后统计,获取项目名
// 请求成功后统计,获取项目名
this
.
$sendBuriedData
({
this
.
$sendBuriedData
({
component_tag
:
`882#88201#
${
_this
.
projectId
}
#
${
_this
.
project
.
projectName
}
`
component_tag
:
`882#88201#
${
_this
.
projectId
}
#
${
_this
.
project
.
projectName
}
`
});
});
}
}
});
});
},
},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录