Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-annual-summary
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-annual-summary
提交
2483b5a6
提交
2483b5a6
编写于
7月 27, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
查找当前课程后面的有没有考试
上级
1457f765
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
17 行增加
和
16 行删除
+17
-16
cell-list-detail.vue
src/components/business/cell-list-detail.vue
+4
-4
env-config.js
src/utils/env-config.js
+9
-9
fetch.js
src/utils/fetch.js
+2
-2
merge-detail.vue
src/views/merge-detail.vue
+2
-1
未找到文件。
src/components/business/cell-list-detail.vue
浏览文件 @
2483b5a6
...
@@ -180,7 +180,7 @@ export default {
...
@@ -180,7 +180,7 @@ export default {
let
currentExam
=
{};
let
currentExam
=
{};
// 查找当前课程后面的有没有考试
// 查找当前课程后面的有没有考试
for
(
let
i
=
index
;
i
<
contentList
.
length
;
i
++
)
{
for
(
let
i
=
index
;
i
<
contentList
.
length
;
i
++
)
{
if
(
contentList
[
i
].
type
==
1
)
{
if
(
contentList
[
i
].
type
==
1
&&
contentList
[
i
].
status
!=
14
)
{
hasExam
=
true
;
hasExam
=
true
;
currentExam
=
contentList
[
i
];
currentExam
=
contentList
[
i
];
break
;
break
;
...
@@ -192,9 +192,9 @@ export default {
...
@@ -192,9 +192,9 @@ export default {
let
hasNoLearningCourse
=
false
;
let
hasNoLearningCourse
=
false
;
// 查找本模块中是否还有没有学习完的课程,排除当前这个
// 查找本模块中是否还有没有学习完的课程,排除当前这个
for
(
let
i
=
0
;
i
<
contentList
.
length
;
i
++
)
{
for
(
let
j
=
0
;
j
<
contentList
.
length
;
j
++
)
{
if
(
i
==
index
)
continue
;
if
(
j
==
index
)
continue
;
if
(
contentList
[
i
].
type
==
2
&&
contentList
[
i
].
status
!=
14
)
{
if
(
contentList
[
j
].
type
==
2
&&
(
contentList
[
j
].
status
==
21
||
contentList
[
j
].
status
==
22
)
)
{
hasNoLearningCourse
=
true
;
hasNoLearningCourse
=
true
;
break
;
break
;
}
}
...
...
src/utils/env-config.js
浏览文件 @
2483b5a6
...
@@ -7,11 +7,11 @@ export const envConfig = {
...
@@ -7,11 +7,11 @@ export const envConfig = {
// baseUrl: 'https://dev-sc.yunqueyi.com/',
// baseUrl: 'https://dev-sc.yunqueyi.com/',
// baseUrl: 'http://10.177.15.180:10202/',
// baseUrl: 'http://10.177.15.180:10202/',
// baseUrl: 'http://192.168.140.14:10201/',
// baseUrl: 'http://192.168.140.14:10201/',
apiUrl
:
'https://dev-api.yunqueyi.com/'
,
//
apiUrl: 'https://dev-api.yunqueyi.com/',
webPageUrl
:
'https://dev-phome.yunqueyi.com/'
,
//
webPageUrl: 'https://dev-phome.yunqueyi.com/',
baseUrl
:
'https://dev-sc.yunqueyi.com/'
,
//
baseUrl: 'https://dev-sc.yunqueyi.com/',
hactiveUrl
:
'https://dev-hactive.yunqueyi.com'
,
// //
hactiveUrl: 'https://dev-hactive.yunqueyi.com',
// http://dev-hactive.yunqueyi.com/message_push/#/study-card
// http://dev-hactive.yunqueyi.com/message_push/#/study-card
// baseUrl: 'https://test1-sc.yunqueyi.com/',
// baseUrl: 'https://test1-sc.yunqueyi.com/',
...
@@ -19,10 +19,10 @@ export const envConfig = {
...
@@ -19,10 +19,10 @@ export const envConfig = {
// webPageUrl: 'https://test1-phome.yunqueyi.com/'
// webPageUrl: 'https://test1-phome.yunqueyi.com/'
// hactiveUrl: 'https://dev-hactive.yunqueyi.com',
// hactiveUrl: 'https://dev-hactive.yunqueyi.com',
//
baseUrl: 'https://uat-sc.yunqueyi.com/',
baseUrl
:
'https://uat-sc.yunqueyi.com/'
,
//
apiUrl: 'https://uat-api.yunqueyi.com/',
apiUrl
:
'https://uat-api.yunqueyi.com/'
,
// webPageUrl: 'https://uat-phome.yunqueyi.com/'
webPageUrl
:
'https://uat-phome.yunqueyi.com/'
,
//
hactiveUrl: 'https://uat-hactive.yunqueyi.com',
hactiveUrl
:
'https://uat-hactive.yunqueyi.com'
,
// baseUrl: 'https://sc.yunqueyi.com/',
// baseUrl: 'https://sc.yunqueyi.com/',
// apiUrl: 'https://api.yunqueyi.com/',
// apiUrl: 'https://api.yunqueyi.com/',
...
...
src/utils/fetch.js
浏览文件 @
2483b5a6
...
@@ -15,9 +15,9 @@ service.interceptors.request.use(config => {
...
@@ -15,9 +15,9 @@ service.interceptors.request.use(config => {
if
(
config
.
data
&&
config
.
data
.
setEntry
)
{
if
(
config
.
data
&&
config
.
data
.
setEntry
)
{
config
.
headers
[
'sysCode'
]
=
config
.
data
.
sysCode
||
10
config
.
headers
[
'sysCode'
]
=
config
.
data
.
sysCode
||
10
if
(
config
.
data
.
token
){
if
(
config
.
data
.
token
){
config
.
headers
[
'token'
]
=
config
.
data
.
token
||
'
891F256CC48A4D57905F79C8F7628A74
'
config
.
headers
[
'token'
]
=
config
.
data
.
token
||
'
47993ED00ECB46CE8D31ECF3AE34B4AA
'
if
(
process
.
env
.
BUILD_ENV
==
"development"
){
// 本地开发环境
if
(
process
.
env
.
BUILD_ENV
==
"development"
){
// 本地开发环境
config
.
headers
[
'token'
]
=
config
.
data
.
token
||
'
891F256CC48A4D57905F79C8F7628A74
'
;
config
.
headers
[
'token'
]
=
config
.
data
.
token
||
'
47993ED00ECB46CE8D31ECF3AE34B4AA
'
;
}
}
delete
config
.
data
.
setEntry
;
delete
config
.
data
.
setEntry
;
delete
config
.
data
.
token
;
delete
config
.
data
.
token
;
...
...
src/views/merge-detail.vue
浏览文件 @
2483b5a6
...
@@ -683,9 +683,10 @@ export default {
...
@@ -683,9 +683,10 @@ export default {
getProjectInfoById
()
{
getProjectInfoById
()
{
let
_this
=
this
;
let
_this
=
this
;
let
param
=
{
let
param
=
{
token
:
_this
.
userInfo
.
userToken
||
this
.
token
,
token
:
_this
.
userInfo
.
userToken
||
this
.
token
||
'47993ED00ECB46CE8D31ECF3AE34B4AA'
,
setEntry
:
true
setEntry
:
true
};
};
console
.
log
(
'getProjectInfoById'
,
param
);
_this
.
showLoading
=
true
;
_this
.
showLoading
=
true
;
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"
)
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录