Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-professional-exam
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Culm
pica-professional-exam
提交
9f03cc32
提交
9f03cc32
编写于
7月 14, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
新需求部分改动
上级
f54e9e4c
变更
3
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
645 行增加
和
7 行删除
+645
-7
cell-list-detail copy.vue
src/components/business/cell-list-detail copy.vue
+607
-0
cell-list-detail.vue
src/components/business/cell-list-detail.vue
+35
-7
merge-detail.vue
src/views/merge-detail.vue
+3
-0
未找到文件。
src/components/business/cell-list-detail copy.vue
0 → 100644
浏览文件 @
9f03cc32
此差异已折叠。
点击以展开。
src/components/business/cell-list-detail.vue
浏览文件 @
9f03cc32
...
...
@@ -33,13 +33,12 @@
</div>
<span
@
click=
"gotoExamOrCourse(item)"
v-show=
"hasBindCard"
class=
"text-action"
:class=
"
{'text-action-no': item.useFlag == 2}"
>
{{
getActionText
(
item
.
status
)
}}
</span>
<
img
@
click=
"toastToBuy"
class=
"key"
v-show=
"!hasBindCard"
src=
"../../images/cme/phrase2/key.png"
alt=
""
>
<
!--
<img
@
click=
"toastToBuy"
class=
"key"
v-show=
"!hasBindCard"
src=
"../../images/cme/phrase2/key.png"
alt=
""
>
--
>
<div
class=
"foot-line"
v-if=
"index+1
<
portalModule
.
contentList
.
length
&&
portalModule
.
contentList
[
index
].
templetId =
=
portalModule
.
contentList
[
index
+
1
].
templetId
"
>
</div>
...
...
@@ -117,6 +116,10 @@ export default {
courseRequire
:
{
type
:
Number
|
String
,
default
:
0
,
},
limitTimes
:
{
type
:
Number
|
String
,
default
:
0
,
}
},
computed
:
{
...
...
@@ -154,11 +157,11 @@ export default {
}
let
appVersion
=
getAppVersion
(
this
.
userInfo
.
appVersion
);
if
(
item
.
useFlag
==
2
)
return
;
if
(
window
.
__isWeb
)
{
// this.$refs.toastTitle.toast("请您下载App");
Toast
(
'请您下载App'
);
return
;
}
//
if (window.__isWeb) {
//
// this.$refs.toastTitle.toast("请您下载App");
//
Toast('请您下载App');
//
return;
//
}
if
(
item
.
type
==
1
)
{
if
(
appVersion
<=
300
)
{
// this.$refs.toastTitle.toast("请您下载新版本App");
...
...
@@ -174,6 +177,19 @@ export default {
// 跳转到课程
gotoCourse
:
function
(
courseId
)
{
let
appVersion
=
getAppVersion
(
this
.
userInfo
.
appVersion
);
// 弹框提示下载新版本可以试看
if
(
appVersion
<
343
)
{
this
.
$dialog
.
confirm
({
className
:
'con-dialog'
,
showCancelButton
:
false
,
message
:
'升级最新版本可试看课程'
,
confirmButtonText
:
'我知道了'
,
}).
then
(
res
=>
{
})
return
;
}
let
paramList
=
[]
paramList
=
[
{
...
...
@@ -200,6 +216,18 @@ export default {
type
:
4
,
seqNo
:
1
},
{
key
:
"limitTimes"
,
value
:
this
.
limitTimes
-
0
,
type
:
4
,
seqNo
:
1
},
{
key
:
"hasBindCard"
,
value
:
this
.
hasBindCard
?
1
:
0
,
type
:
4
,
seqNo
:
1
},
];
rocNative
.
dispatchEventByModuleCode
({
modeCode
:
"M200"
,
...
...
src/views/merge-detail.vue
浏览文件 @
9f03cc32
...
...
@@ -91,6 +91,7 @@
:detailNum=
"detailNum"
:courseRequire=
"courseRequire"
:hasBindCard=
"hasBindCard"
:limitTimes=
"limitTimes"
/>
</div>
</div>
...
...
@@ -239,6 +240,7 @@ export default {
// currentProgress>1时考试按钮显示并可用
},
hasBindCard
:
false
,
// 是否绑定过学习卡或激活过 没有绑定,则显示绑定按钮
limitTimes
:
60
,
projectLeader
:
{},
doctorList
:
[],
from
:
"inner"
,
...
...
@@ -937,6 +939,7 @@ export default {
// 如果 hasBindCard 为false,则获取卡信息 0:未绑卡 1:已绑卡
_this
.
hasBindCard
=
res
.
data
.
cardStatus
==
0
?
false
:
true
;
_this
.
limitTimes
=
res
.
data
.
trySeeTime
||
60
;
if
(
!
_this
.
hasBindCard
)
{
_this
.
preJumper
();
}
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录