Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
9e7230e9
提交
9e7230e9
编写于
1月 08, 2020
作者:
zhentian.jia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
CME项目中:项目范围只能为可学
上级
ec9733ef
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
15 行增加
和
4 行删除
+15
-4
env-config.js
src/utils/env-config.js
+2
-2
edit-cme.vue
src/views/education/edit-cme.vue
+13
-2
未找到文件。
src/utils/env-config.js
浏览文件 @
9e7230e9
...
...
@@ -6,14 +6,14 @@ export const envConfig = {
// // baseUrl: 'http://10.177.15.180:10202/',
// // baseUrl: 'http://192.168.140.14:10201/',
//
baseUrl: 'https://test1-sc.yunqueyi.com/',
baseUrl
:
'https://test1-sc.yunqueyi.com/'
,
// baseUrl: 'https://uat-sc.yunqueyi.com/',
// baseUrl: 'http://10.177.15.150:10401/',
// baseUrl: 'http://10.177.15.150:11905/',
// baseUrl: 'https://dev-sc.yunqueyi.com/',
// baseUrl: 'https://test1-sc.yunqueyi.com/',
// baseUrl: 'https://sc.yunqueyi.com/',
baseUrl
:
'https://uat-sc.yunqueyi.com/'
,
//
baseUrl: 'https://uat-sc.yunqueyi.com/',
apiUrl
:
'https://uat-api.yunqueyi.com/'
,
qiniuFileUrl
:
"https://uat-sc.yunqueyi.com/contents/admin/qiniu/token1"
,
qiniuResourceUrl
:
"https://test1-videos.yunqueyi.com"
,
...
...
src/views/education/edit-cme.vue
浏览文件 @
9e7230e9
...
...
@@ -331,7 +331,7 @@
<el-radio-group
size=
"small"
v-model=
"formData.learnableFlag"
:disabled=
"show
NoticeTyp
e()"
:disabled=
"show
Learnabl
e()"
>
<el-radio
:label=
"1"
>
允许项目范围外人员可学(不发证)
</el-radio>
<el-radio
:label=
"2"
>
不允许项目范围外人员可学
</el-radio>
...
...
@@ -1559,8 +1559,9 @@ export default {
(this.peopleLevel = vm.getUrlSearch(window.location.href, "
level
"));
if(this.projectType == 2) {
//
用cme的rules
//
CME情况下
this.rules = this.rules2;
this.formData.learnableFlag = 1;
}
this.changeOnStep(this.active);
this.getComponentInfo();
...
...
@@ -1742,6 +1743,7 @@ export default {
};
if(vm.projectType == 2) {
vm.formData.learnableFlag = 1;
vm.initCreditTip();
}
this.beforeCreditId = editData.projectData.creditId;
...
...
@@ -3378,6 +3380,15 @@ export default {
}
return
true
;
},
//判断可学情况展示
showLearnable
()
{
if
(
this
.
projectStatus
==
''
||
this
.
projectStatus
==
1
||
this
.
projectStatus
==
2
)
{
if
(
this
.
peopleLevel
!=
'L3'
&&
this
.
projectType
!=
2
)
{
return
false
;
}
}
return
true
;
},
//判断通知展示问题
showAllowType
()
{
if
(
this
.
peopleLevel
==
'L3'
||
this
.
peopleLevel
==
'L0'
)
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录