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
提交
fa5d1b44
提交
fa5d1b44
编写于
12月 26, 2019
作者:
huangwensu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
添加申请学分提示框
上级
71f0e77a
变更
4
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
343 行增加
和
276 行删除
+343
-276
cme-step.vue
src/components/cme/cme-step.vue
+317
-256
delete.png
src/images/cme/delete.png
+0
-0
hand.png
src/images/cme/hand.png
+0
-0
merge-detail.vue
src/views/merge-detail.vue
+26
-20
未找到文件。
src/components/cme/cme-step.vue
浏览文件 @
fa5d1b44
...
@@ -23,10 +23,21 @@
...
@@ -23,10 +23,21 @@
<span
:class=
"
{'actived': step4}">4
</span>
<span
:class=
"
{'actived': step4}">4
</span>
<p
:class=
"
{'actived': step4}">申请成功
</p>
<p
:class=
"
{'actived': step4}">申请成功
</p>
</div>
</div>
<!-- 申请学分提示框 -->
<div
class=
"apply-score-content"
v-if=
"showTip"
>
<div
class=
"lm"
>
<img
src=
"../../images/cme/hand.png"
/>
</div>
<div
class=
"title"
>
恭喜您完成该项目学习及考试,快去申请学分
</div>
<div
class=
"line"
></div>
<div
class=
"rm"
@
click=
"closeTip"
>
<img
src=
"../../images/cme/delete.png"
/>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getWebPageUrl
}
from
'@/utils/index'
;
import
{
getWebPageUrl
}
from
"@/utils/index"
;
export
default
{
export
default
{
props
:
{
props
:
{
currentProgress
:
{
currentProgress
:
{
...
@@ -56,61 +67,68 @@ export default {
...
@@ -56,61 +67,68 @@ export default {
step2
:
true
,
step2
:
true
,
step3
:
false
,
step3
:
false
,
step4
:
false
,
step4
:
false
,
progressText
:
"审核中"
progressText
:
"审核中"
,
}
showTip
:
false
};
},
},
watch
:
{
watch
:
{
currentProgress
(
n
,
o
)
{
// currentProgress(n,o) {
if
(
o
==
1
)
{
// 项目学习
// if(n == 1) { // 项目学习
this
.
step1
=
true
;
// this.step1 = true;
this
.
step2
=
false
;
// this.step2 = false;
this
.
step3
=
false
;
// this.step3 = false;
this
.
step4
=
false
;
// this.step4 = false;
}
else
if
(
o
==
2
)
{
// 申请学分
// }else if(n == 2) { // 申请学分
this
.
step1
=
false
;
// this.step1 = false;
this
.
step2
=
true
;
// this.step2 = true;
this
.
step3
=
false
;
// this.step3 = false;
this
.
step4
=
false
;
// this.step4 = false;
}
else
if
(
o
==
3
)
{
// 学分审核
// this.showTip = true;
this
.
step1
=
false
;
// setInterval(() => {
this
.
step2
=
false
;
// this.showTip = false;
this
.
step3
=
true
;
// },5000)
this
.
step4
=
false
;
// }else if(n == 3) { // 学分审核
this
.
progressText
=
"审核中"
;
// this.step1 = false;
}
else
if
(
o
==
4
)
{
// 审核失败
// this.step2 = false;
this
.
step1
=
false
;
// this.step3 = true;
this
.
step2
=
false
;
// this.step4 = false;
this
.
step3
=
true
;
// this.progressText = "审核中";
this
.
step4
=
false
;
// }else if(n == 4) { // 审核失败
this
.
progressText
=
"审核失败"
;
// this.step1 = false;
}
else
if
(
o
==
5
)
{
// 申请成功
// this.step2 = false;
this
.
step1
=
false
;
// this.step3 = true;
this
.
step2
=
false
;
// this.step4 = false;
this
.
step3
=
false
;
// this.progressText = "审核失败";
this
.
step4
=
true
;
// }else if(n == 5) { // 申请成功
}
// this.step1 = false;
}
// this.step2 = false;
},
// this.step3 = false;
created
()
{
// this.step4 = true;
// }
// }
},
},
created
()
{},
methods
:
{
methods
:
{
// 立即申请
// 立即申请
applyFor
()
{
applyFor
()
{
this
.
$emit
(
"applicationCredit"
);
this
.
$emit
(
"applicationCredit"
);
},
},
// 关闭提示
closeTip
()
{
this
.
showTip
=
false
;
},
// 审核
// 审核
verifyResult
()
{
verifyResult
()
{
let
paramList
=
[
let
paramList
=
[
{
{
"key"
:
"pageUrl"
,
key
:
"pageUrl"
,
"value"
:
getWebPageUrl
(
`cme/#/credit-detail?id=
${
this
.
creditId
}
`
),
value
:
getWebPageUrl
(
`cme/#/credit-detail?id=
${
this
.
creditId
}
`
),
"type"
:
4
,
type
:
4
,
"seqNo"
:
1
seqNo
:
1
}
}
];
];
rocNative
.
dispatchEventByModuleCode
({
rocNative
.
dispatchEventByModuleCode
({
modeCode
:
'M300'
,
modeCode
:
"M300"
,
jsonString
:
paramList
jsonString
:
paramList
});
});
},
},
...
@@ -119,7 +137,8 @@ export default {
...
@@ -119,7 +137,8 @@ export default {
let
paramList
=
[
let
paramList
=
[
{
{
key
:
"className"
,
key
:
"className"
,
value
:
"com.picahealth.yunque.activitys.honor.CheckCertificatesActivity###YQWebView"
,
value
:
"com.picahealth.yunque.activitys.honor.CheckCertificatesActivity###YQWebView"
,
type
:
4
,
type
:
4
,
seqNo
:
1
seqNo
:
1
},
},
...
@@ -154,14 +173,14 @@ export default {
...
@@ -154,14 +173,14 @@ export default {
});
});
}
}
}
}
}
}
;
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
@import
"../../style/mixin"
;
@import
"../../style/mixin"
;
.step-content
{
.step-content
{
position
:
relative
;
position
:
relative
;
height
:
px2rem
(
110px
);
height
:
px2rem
(
110px
);
background
:rgba
(
248
,
249
,
250
,
1
)
;
background
:
rgba
(
248
,
249
,
250
,
1
);
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
justify-content
:
flex-start
;
justify-content
:
flex-start
;
...
@@ -178,7 +197,7 @@ export default {
...
@@ -178,7 +197,7 @@ export default {
line-height
:
px2rem
(
17px
);
line-height
:
px2rem
(
17px
);
border-radius
:
50%
;
border-radius
:
50%
;
background
:
#676869
;
background
:
#676869
;
border
:
2px
solid
rgba
(
255
,
255
,
255
,
1
);
border
:
2px
solid
rgba
(
255
,
255
,
255
,
1
);
color
:
#fff
;
color
:
#fff
;
font-size
:
px2rem
(
12px
);
font-size
:
px2rem
(
12px
);
font-weight
:
700
;
font-weight
:
700
;
...
@@ -199,7 +218,7 @@ export default {
...
@@ -199,7 +218,7 @@ export default {
top
:
px2rem
(
60px
);
top
:
px2rem
(
60px
);
width
:
px2rem
(
75px
);
width
:
px2rem
(
75px
);
height
:
px2rem
(
3px
);
height
:
px2rem
(
3px
);
background
:
#DADDE
1
;
background
:
#dadde
1
;
}
}
.step-one-line
{
.step-one-line
{
left
:
px2rem
(
56px
);
left
:
px2rem
(
56px
);
...
@@ -210,7 +229,9 @@ export default {
...
@@ -210,7 +229,9 @@ export default {
.step-three-line
{
.step-three-line
{
right
:
px2rem
(
56px
);
right
:
px2rem
(
56px
);
}
}
.step-one-line.actived
,
.step-two-line.actived
,
.step-three-line.actived
{
.step-one-line.actived
,
.step-two-line.actived
,
.step-three-line.actived
{
background
:
#449284
;
background
:
#449284
;
}
}
.step-text
{
.step-text
{
...
@@ -240,7 +261,8 @@ export default {
...
@@ -240,7 +261,8 @@ export default {
.step2-text
{
.step2-text
{
left
:
px2rem
(
106px
);
left
:
px2rem
(
106px
);
}
}
.step2-text
:after
,
.step3-text
:after
{
.step2-text
:after
,
.step3-text
:after
{
content
:
""
;
content
:
""
;
width
:
px2rem
(
0px
);
width
:
px2rem
(
0px
);
height
:
px2rem
(
0px
);
height
:
px2rem
(
0px
);
...
@@ -254,7 +276,7 @@ export default {
...
@@ -254,7 +276,7 @@ export default {
.step3-text
{
.step3-text
{
left
:
px2rem
(
207px
);
left
:
px2rem
(
207px
);
}
}
.step3-text
:after
{
.step3-text
:after
{
content
:
""
;
content
:
""
;
width
:
px2rem
(
0px
);
width
:
px2rem
(
0px
);
height
:
px2rem
(
0px
);
height
:
px2rem
(
0px
);
...
@@ -268,7 +290,7 @@ export default {
...
@@ -268,7 +290,7 @@ export default {
.step4-text
{
.step4-text
{
right
:
px2rem
(
20px
);
right
:
px2rem
(
20px
);
}
}
.step4-text
:after
{
.step4-text
:after
{
content
:
""
;
content
:
""
;
width
:
px2rem
(
0px
);
width
:
px2rem
(
0px
);
height
:
px2rem
(
0px
);
height
:
px2rem
(
0px
);
...
@@ -279,5 +301,44 @@ export default {
...
@@ -279,5 +301,44 @@ export default {
top
:
px2rem
(
20px
);
top
:
px2rem
(
20px
);
right
:
px2rem
(
20px
);
right
:
px2rem
(
20px
);
}
}
.apply-score-content
{
display
:
flex
;
position
:
absolute
;
left
:
px2rem
(
105px
);
top
:
px2rem
(
-42px
);
background
:
#000
;
opacity
:
0
.6
;
width
:
px2rem
(
236px
);
height
:
px2rem
(
51px
);
border-radius
:
px2rem
(
6px
);
.title
{
font-size
:
px2rem
(
12px
);
color
:
rgba
(
255
,
255
,
255
,
1
);
margin
:
px2rem
(
7px
)
px2rem
(
11px
)
0
px2rem
(
0px
);
width
:
px2rem
(
133px
);
}
.lm
{
width
:
px2rem
(
41px
);
img
{
display
:
inline-block
;
width
:
px2rem
(
20px
);
padding
:
0
0
px2rem
(
7px
)
px2rem
(
15px
);
}
}
.line
{
width
:
px2rem
(
1px
);
height
:
px2rem
(
51px
);
background
:
#fff
;
opacity
:
0
.18
;
}
.rm
{
width
:
px2rem
(
41px
);
img
{
display
:
inline-block
;
width
:
px2rem
(
15px
);
padding
:
0
px2rem
(
15px
)
px2rem
(
7px
);
}
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
src/images/cme/delete.png
0 → 100644
浏览文件 @
fa5d1b44
407 字节
src/images/cme/hand.png
0 → 100644
浏览文件 @
fa5d1b44
835 字节
src/views/merge-detail.vue
浏览文件 @
fa5d1b44
...
@@ -75,6 +75,7 @@
...
@@ -75,6 +75,7 @@
</div>
</div>
</div>
</div>
<Loading
v-show=
"showLoading"
/>
<Loading
v-show=
"showLoading"
/>
<!-- 弹框 -->
<CommonDialog
<CommonDialog
:isShowDialog=
"isShowDialog"
:isShowDialog=
"isShowDialog"
:isSingle=
"isSingle"
:isSingle=
"isSingle"
...
@@ -113,6 +114,7 @@ import vueFilters from "@/utils/filter";
...
@@ -113,6 +114,7 @@ import vueFilters from "@/utils/filter";
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
premissionFlag
:
false
,
isSingle
:
false
,
isSingle
:
false
,
dialogContent
:
""
,
// 弹框内容
dialogContent
:
""
,
// 弹框内容
confirmBtnText
:
""
,
// 弹框按钮
confirmBtnText
:
""
,
// 弹框按钮
...
@@ -216,7 +218,6 @@ export default {
...
@@ -216,7 +218,6 @@ export default {
// _this.getProjectParticularsV2();
// _this.getProjectParticularsV2();
_this
.
getUserInfo
();
_this
.
getUserInfo
();
};
};
_this
.
permission
();
// 提示是否有机构和在申请范围内
},
},
mounted
()
{
mounted
()
{
window
.
addEventListener
(
"scroll"
,
this
.
scrollFun
);
window
.
addEventListener
(
"scroll"
,
this
.
scrollFun
);
...
@@ -256,6 +257,26 @@ export default {
...
@@ -256,6 +257,26 @@ export default {
this
.
tabFlag
=
true
;
this
.
tabFlag
=
true
;
}
}
},
},
// token是否失效校验
checkToken
()
{
let
_this
=
this
;
let
param
=
{
token
:
_this
.
userInfo
.
userToken
,
setEntry
:
true
};
this
.
GET
(
"campaign/admin/task/checkToken"
,
param
).
then
(
res
=>
{
if
(
res
.
code
!==
"000000"
)
{
//未登录 跳转登录页
console
.
log
(
"跳登录"
);
rocNative
.
gotoLogin
();
}
else
{
if
(
!
_this
.
premissionFlag
)
{
_this
.
premissionFlag
=
true
;
_this
.
permission
();
// 提示是否有机构和在申请范围内
}
}
});
},
//(判断是否加入机构,是否为认证用户,是否在申请范围内)
//(判断是否加入机构,是否为认证用户,是否在申请范围内)
permission
()
{
permission
()
{
let
_this
=
this
;
let
_this
=
this
;
...
@@ -346,21 +367,6 @@ export default {
...
@@ -346,21 +367,6 @@ export default {
this
.
isBlack
=
true
;
this
.
isBlack
=
true
;
this
.
bgColor
=
"#fff"
;
this
.
bgColor
=
"#fff"
;
},
},
// token是否失效校验
checkToken
()
{
let
_this
=
this
;
let
param
=
{
token
:
_this
.
userInfo
.
userToken
,
setEntry
:
true
};
this
.
GET
(
"campaign/admin/task/checkToken"
,
param
).
then
(
res
=>
{
if
(
res
.
code
!==
"000000"
)
{
//未登录 跳转登录页
console
.
log
(
"跳登录"
);
rocNative
.
gotoLogin
();
}
});
},
// 获取项目详情
// 获取项目详情
getProjectParticularsV2
()
{
getProjectParticularsV2
()
{
let
_this
=
this
;
let
_this
=
this
;
...
@@ -387,10 +393,10 @@ export default {
...
@@ -387,10 +393,10 @@ export default {
_this
.
projectLeader
=
res
.
data
.
projectLeader
;
_this
.
projectLeader
=
res
.
data
.
projectLeader
;
_this
.
doctorList
=
res
.
data
.
doctorList
;
_this
.
doctorList
=
res
.
data
.
doctorList
;
if
(
_this
.
project
.
currentProgress
==
2
)
{
if
(
_this
.
project
.
currentProgress
==
2
)
{
this
.
dialogContent
=
//
this.dialogContent =
"恭喜您已经完成该项目学习及考试,快去申请学分吧"
;
//
"恭喜您已经完成该项目学习及考试,快去申请学分吧";
this
.
confirmBtnText
=
"立即申请"
;
//
this.confirmBtnText = "立即申请";
this
.
isShowDialog
=
true
;
//
this.isShowDialog = true;
}
}
//_this.projectStatus = res.data.projectStatus;
//_this.projectStatus = res.data.projectStatus;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录