Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
599b6641
提交
599b6641
编写于
7月 30, 2019
作者:
zhentian.jia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix bug
上级
3ad0a7f2
变更
5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
22 行增加
和
9 行删除
+22
-9
env-config.js
src/utils/env-config.js
+4
-2
fetch.js
src/utils/fetch.js
+1
-2
item-examination-analysis.vue
src/views/learning/item-examination-analysis.vue
+15
-3
item-list.vue
src/views/learning/item-list.vue
+1
-1
name-list.vue
src/views/learning/name-list.vue
+1
-1
未找到文件。
src/utils/env-config.js
浏览文件 @
599b6641
...
...
@@ -10,7 +10,8 @@ export const envConfig = {
// 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://dev-sc.yunqueyi.com/',
baseUrl
:
'https://test1-sc.yunqueyi.com/'
,
apiUrl
:
'https://dev-api.yunqueyi.com/'
,
qiniuFileUrl
:
"https://dev-sc.yunqueyi.com/contents/admin/qiniu/token1"
,
qiniuResourceUrl
:
"https://test1-videos.yunqueyi.com"
,
...
...
@@ -25,7 +26,8 @@ export const envConfig = {
workApiSrc
:
'https://dev-work.yunqueyi.com'
,
// reportUrl: 'http://10.177.15.150:10401/',
// reportUrl: 'http://192.168.140.13:10401/',
reportUrl
:
'https://dev-sc-report.yunqueyi.com/'
,
// reportUrl: 'https://dev-sc-report.yunqueyi.com/',
reportUrl
:
'https://test1-sc-report.yunqueyi.com/'
,
},
dev
:
{
baseUrl
:
'https://dev-sc.yunqueyi.com/'
,
...
...
src/utils/fetch.js
浏览文件 @
599b6641
...
...
@@ -54,8 +54,7 @@ service.interceptors.request.use(config => {
}
if
(
process
.
env
.
BUILD_ENV
==
"development"
){
// 本地开发环境
// console.log('环境变量>>>> ', process.env.BUILD_ENV);
config
.
headers
[
'token'
]
=
'2CD0420B09584AFAA2B6CFD85252E1AB'
;
// config.headers['token'] = '874879EF8F0F477F85D8FF1A9BFEC634';
config
.
headers
[
'token'
]
=
'E5F82EDD958941C29BCDDDED410ACDB3'
;
}
else
{
config
.
headers
[
'token'
]
=
localStorage
.
getItem
(
'storageToken'
)
}
...
...
src/views/learning/item-examination-analysis.vue
浏览文件 @
599b6641
...
...
@@ -17,8 +17,8 @@
<el-table-column
prop=
"examName"
label=
"考试名"
min-width=
"150"
align=
"center"
></el-table-column>
<el-table-column
prop=
"examUserCount"
label=
"参与考试人数"
min-width=
"100"
align=
"center"
></el-table-column>
<el-table-column
prop=
"userCountForPassExam"
label=
"通过考试人数"
min-width=
"80"
align=
"center"
></el-table-column>
<el-table-column
prop=
"userCountList[0]"
label=
"成绩优秀人数"
min-width=
"80"
align=
"center"
></el-table-column>
<el-table-column
prop=
"userCountList[1]"
label=
"成绩合格人数"
min-width=
"80"
align=
"center"
></el-table-column>
<el-table-column
v-if=
"showGood"
prop=
"userCountList[0]"
label=
"成绩优秀人数"
min-width=
"80"
align=
"center"
></el-table-column>
<el-table-column
v-if=
"showPass"
prop=
"userCountList[1]"
label=
"成绩合格人数"
min-width=
"80"
align=
"center"
></el-table-column>
<el-table-column
label=
"操作"
fixed=
"right"
align=
"center"
min-width=
"100"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"goPage(scope.row)"
>
查看名单
</el-button>
...
...
@@ -88,6 +88,8 @@ export default {
totalRows
:
0
,
//数据总数
pageNo
:
1
,
//当前是第几页
pageSize
:
10
,
//页面总数
showGood
:
false
,
showPass
:
false
,
};
},
created
()
{
...
...
@@ -164,6 +166,16 @@ export default {
closeLoading
(
vm
);
if
(
res
.
code
==
"000000"
)
{
vm
.
tableData
=
res
.
data
.
list
;
if
(
res
.
data
.
list
[
0
].
userCountList
==
null
)
{
vm
.
showGood
=
false
;
vm
.
showPass
=
false
;
}
else
if
(
res
.
data
.
list
[
0
].
userCountList
.
length
==
1
){
vm
.
showGood
=
true
;
vm
.
showPass
=
false
;
}
else
{
vm
.
showGood
=
true
;
vm
.
showPass
=
true
;
}
}
});
...
...
@@ -175,7 +187,7 @@ export default {
let
routerData
=
{};
routerData
=
this
.
dialogData
;
routerData
.
projectId
=
vm
.
projectId
;
routerData
.
tableType
=
1
;
routerData
.
tableType
=
2
;
routerData
.
examId
=
data
.
examId
;
routerData
.
ids
=
operationData
.
getIds
(
vm
.
formInline
,
vm
.
organizationList
,
checkAll
);
routerData
.
type
=
operationData
.
getSearchType
(
vm
.
formInline
,
checkAll
),
...
...
src/views/learning/item-list.vue
浏览文件 @
599b6641
...
...
@@ -21,7 +21,7 @@
<el-select
size=
"small"
v-model=
"formInline.organization"
placeholder=
"请选择
发布状态
"
placeholder=
"请选择
机构
"
@
change=
"changeOrganization"
multiple
collapse-tags
...
...
src/views/learning/name-list.vue
浏览文件 @
599b6641
...
...
@@ -53,7 +53,7 @@
<el-table-column
prop=
"addressName"
label=
"地区"
align=
"center"
></el-table-column>
<el-table-column
v-if=
"tableType == 1"
prop=
"learnStatus"
label=
"参与课程状态"
align=
"center"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
learnStatus
|
joinStatus
}}
</span>
<span>
{{
scope
.
row
.
learnStatus
}}
</span>
</
template
>
</el-table-column>
<el-table-column
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录