Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-professional-exam
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Culm
pica-professional-exam
提交
a95dcbf4
提交
a95dcbf4
编写于
12月 25, 2019
作者:
huangwensu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
路由跳转改为原生跳转
上级
2a14c838
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
46 行增加
和
32 行删除
+46
-32
coop-list-item.vue
src/components/business/coop-list-item.vue
+12
-1
cme-step.vue
src/components/cme/cme-step.vue
+17
-27
common-navbar.vue
src/components/common/common-navbar.vue
+1
-2
merge-detail.vue
src/views/merge-detail.vue
+16
-2
未找到文件。
src/components/business/coop-list-item.vue
浏览文件 @
a95dcbf4
...
...
@@ -123,7 +123,18 @@ export default {
},
coopDetails
(
item
)
{
if
(
this
.
userMobile
)
{
this
.
$router
.
push
({
path
:
'/coop'
,
query
:
{
id
:
item
.
id
}});
let
paramList
=
[
{
"key"
:
"pageUrl"
,
"value"
:
getWebPageUrl
(
`coop?id=
${
item
.
id
}
`
),
"type"
:
4
,
"seqNo"
:
1
}
];
rocNative
.
dispatchEventByModuleCode
({
modeCode
:
'M300'
,
jsonString
:
paramList
});
}
else
{
rocNative
.
gotoLogin
();
}
...
...
src/components/cme/cme-step.vue
浏览文件 @
a95dcbf4
...
...
@@ -26,6 +26,7 @@
</div>
</
template
>
<
script
>
import
{
getWebPageUrl
}
from
'@/utils/index'
;
export
default
{
props
:
{
currentProgress
:
{
...
...
@@ -43,6 +44,10 @@ export default {
creditId
:
{
type
:
Number
,
default
:
0
},
certificateUrl
:
{
type
:
String
,
default
:
""
}
},
data
()
{
...
...
@@ -96,33 +101,18 @@ export default {
},
// 审核
verifyResult
()
{
if
(
this
.
currentProgress
==
3
)
{
// 审核中
// let paramList = [
// {
// "key":"pageUrl",
// "value": url,
// "type":4,
// "seqNo":1
// },{
// "key":"showTitle",
// "value": false,
// "type":1,
// "seqNo":2
// },{
// "key":"title",
// "value": '',
// "type":1,
// "seqNo":3
// }
// ];
// this.$rocNative.dispatchEventByModuleCode({
// modeCode: 'M300',
// jsonString: paramList
// });
this
.
$router
.
push
({
path
:
'/credit-detail'
,
query
:
{
flag
:
false
,
id
:
this
.
creditId
}});
}
else
if
(
this
.
currentProgress
==
4
)
{
// 审核失败
this
.
$router
.
push
({
path
:
'/credit-detail'
,
query
:
{
flag
:
true
,
id
:
this
.
creditId
}});
}
let
paramList
=
[
{
"key"
:
"pageUrl"
,
"value"
:
getWebPageUrl
(
`credit-detail?id=
${
this
.
creditId
}
`
),
"type"
:
4
,
"seqNo"
:
1
}
];
rocNative
.
dispatchEventByModuleCode
({
modeCode
:
'M300'
,
jsonString
:
paramList
});
},
// 获得学分--下载证书
getScore
()
{
...
...
src/components/common/common-navbar.vue
浏览文件 @
a95dcbf4
...
...
@@ -108,8 +108,7 @@ export default {
// } else {
// rocNative.goBack();
// }
this
.
$router
.
back
(
-
1
);
//rocNative.goBack();
rocNative
.
goBack
();
},
//分享
goShare
()
{
...
...
src/views/merge-detail.vue
浏览文件 @
a95dcbf4
...
...
@@ -33,6 +33,7 @@
:studyProgress=
"project.studyProgress"
:credit=
"project.credit"
:creditId=
"project.creditId"
:certificateUrl=
"project.certificateUrl"
@
applicationCredit=
"applicationCredit"
/>
<!-- 简介和目录 -->
<div
class=
"intro-catalogue-container"
>
...
...
@@ -100,7 +101,8 @@ import ItemIntro from "@/components/cme/item-intro";
import
ItemLeader
from
"@/components/cme/item-leader"
;
import
TeacterIntro
from
"@/components/cme/teacter-intro"
;
import
CommonDialog
from
"@/components/cme/common-dialog"
;
import
{
getWebPageUrl
}
from
'@/utils/index'
;
import
{
mapGetters
,
mapActions
}
from
"vuex"
;
import
vueFilters
from
'@/utils/filter'
;
...
...
@@ -132,6 +134,7 @@ export default {
studyProgress
:
"0%"
,
// 学习进度
subject
:
""
,
// 学科
status
:
0
,
// 项目状态 1是参加中 5是进行中 10是已结束
certificateUrl
:
""
// 证书url
},
projectLeader
:
{},
doctorList
:
[],
...
...
@@ -279,7 +282,18 @@ export default {
};
_this
.
NEW_POST
(
"cme/credit/applyCheck"
,
param
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
this
.
$router
.
push
({
path
:
'/credit-edit'
,
query
:
{}});
let
paramList
=
[
{
"key"
:
"pageUrl"
,
"value"
:
getWebPageUrl
(
`credit-edit`
),
"type"
:
4
,
"seqNo"
:
1
}
];
rocNative
.
dispatchEventByModuleCode
({
modeCode
:
'M300'
,
jsonString
:
paramList
});
}
else
if
(
res
.
code
==
"219004"
||
res
.
code
==
"219005"
)
{
// 未加入机构 219004 未身份认证 219005 不在申请范围 219012
let
params
=
{
__funcName
:
"__checkPermissions"
,
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录