提交 ea384f5b 编写于 作者: guangjun.yang's avatar guangjun.yang

未绑定有学习

上级 43905072
...@@ -921,12 +921,14 @@ export default { ...@@ -921,12 +921,14 @@ export default {
this.NEW_GET(`cme/project/${_this.projectId}/info`, param).then(res => { this.NEW_GET(`cme/project/${_this.projectId}/info`, param).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
_this.hasBindCard = res.data.cardStatus == 0 ? false : true; _this.hasBindCard = res.data.cardStatus == 0 ? false : true;
_this.limitTimes = res.data.trySeeTime;
// 先设置视频URL再显示视频组件 ------------ BEGIN // 先设置视频URL再显示视频组件 ------------ BEGIN
// 首先使用配置中的参数中的获取视频地址及视频时间 // 首先使用配置中的参数中的获取视频地址及视频时间
if(videoUrl) { if(videoUrl) {
_this.videoOptions.mp4 = videoUrl; _this.videoOptions.mp4 = videoUrl;
this.limitTimes = this.$route.query.trySeeTime || 300000; _this.limitTimes = this.$route.query.trySeeTime || 300000;
_this.videoOptions.trySeeTime = this.$route.query.trySeeTime || 300000;
} else { } else {
_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;
...@@ -1019,7 +1021,6 @@ export default { ...@@ -1019,7 +1021,6 @@ export default {
}, 800); }, 800);
// 如果 hasBindCard 为false,则获取卡信息 0:未绑卡 1:已绑卡 // 如果 hasBindCard 为false,则获取卡信息 0:未绑卡 1:已绑卡
_this.limitTimes = res.data.trySeeTime;
if (!_this.hasBindCard) { if (!_this.hasBindCard) {
_this.preJumper(); _this.preJumper();
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册