Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
f088244b
提交
f088244b
编写于
8月 05, 2019
作者:
zhentian.jia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
uat评测bug
上级
f6236ec2
变更
8
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
32 行增加
和
9 行删除
+32
-9
question.png
src/assets/image/question.png
+0
-0
common.scss
src/style/common.scss
+5
-0
env-config.js
src/utils/env-config.js
+4
-2
fetch.js
src/utils/fetch.js
+1
-1
operation.js
src/utils/operation.js
+11
-3
export-download.vue
src/views/learning/export-download.vue
+4
-1
item-crowd-analysis.vue
src/views/learning/item-crowd-analysis.vue
+1
-0
item-list.vue
src/views/learning/item-list.vue
+6
-2
未找到文件。
src/assets/image/question.png
查看替换文件 @
f6236ec2
浏览文件 @
f088244b
6.3 KB
|
W:
|
H:
4.5 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/style/common.scss
浏览文件 @
f088244b
...
...
@@ -231,3 +231,8 @@ html,body{
.el-breadcrumb__inner.is-link
:hover
{
color
:
#449284
!
important
;
}
.el-radio-button__orig-radio
:checked
+
.el-radio-button__inner
{
background-color
:
#449284
!
important
;
border-color
:
#449284
!
important
;
}
\ No newline at end of file
src/utils/env-config.js
浏览文件 @
f088244b
...
...
@@ -10,8 +10,9 @@ 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/',
baseUrl
:
'https://uat-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"
,
...
...
@@ -26,8 +27,9 @@ 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/',
reportUrl
:
'https://uat-sc-report.yunqueyi.com/'
,
},
dev
:
{
baseUrl
:
'https://dev-sc.yunqueyi.com/'
,
...
...
src/utils/fetch.js
浏览文件 @
f088244b
...
...
@@ -54,7 +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'
]
=
'
6F0F3B3F0EB24A14AA025FA47CD43770
'
;
}
else
{
config
.
headers
[
'token'
]
=
localStorage
.
getItem
(
'storageToken'
)
}
...
...
src/utils/operation.js
浏览文件 @
f088244b
...
...
@@ -336,7 +336,8 @@ export function getPicOption(title, legendData, colorData, seriesData) {
let
option
=
{
title
:
{
text
:
title
,
x
:
"center"
x
:
"center"
,
top
:
"3%"
,
},
tooltip
:
{
trigger
:
'item'
,
...
...
@@ -344,17 +345,24 @@ export function getPicOption(title, legendData, colorData, seriesData) {
},
legend
:
{
orient
:
"vertical"
,
top
:
"3%"
,
left
:
"left"
,
data
:
legendData
},
grid
:
{
left
:
"30%"
,
right
:
"0%"
,
bottom
:
"10%"
,
containLabel
:
true
},
color
:
colorData
,
backgroundColor
:
'#F3F3F3'
,
series
:
[
{
name
:
""
,
type
:
"pie"
,
//
radius: "55%",
center
:
[
"50%"
,
"6
0
%"
],
radius
:
"55%"
,
center
:
[
"50%"
,
"6
5
%"
],
data
:
seriesData
,
}
]
...
...
src/views/learning/export-download.vue
浏览文件 @
f088244b
...
...
@@ -91,9 +91,12 @@ export default {
if
(
vm
.
tableData
[
i
].
status
==
1
)
{
vm
.
tableData
[
i
].
buttonText
=
"下载"
;
vm
.
tableData
[
i
].
buttonStatus
=
false
;
}
else
{
}
else
if
(
vm
.
tableData
[
i
].
status
==
0
)
{
vm
.
tableData
[
i
].
buttonText
=
"刷新"
;
vm
.
tableData
[
i
].
buttonStatus
=
false
;
}
else
if
(
vm
.
tableData
[
i
].
status
==
2
)
{
vm
.
tableData
[
i
].
buttonText
=
"刷新"
;
vm
.
tableData
[
i
].
buttonStatus
=
true
;
}
}
},
...
...
src/views/learning/item-crowd-analysis.vue
浏览文件 @
f088244b
...
...
@@ -261,6 +261,7 @@ export default {
.crowd-radio
{
position
:
relative
;
left
:
50%
;
margin-top
:
25px
;
margin-left
:
-119px
;
.is-active
{
.el-radio-button__inner
{
...
...
src/views/learning/item-list.vue
浏览文件 @
f088244b
...
...
@@ -220,6 +220,7 @@ export default {
created
()
{
vm
=
this
;
this
.
projectId
=
vm
.
getUrlSearch
(
window
.
location
.
href
,
"id"
);
this
.
projectName
=
vm
.
getUrlSearch
(
window
.
location
.
href
,
"projectName"
);
this
.
curmbThird
=
vm
.
getUrlSearch
(
window
.
location
.
href
,
"projectName"
);
this
.
getDisplay
();
// this.getRegionOption();
...
...
@@ -228,9 +229,10 @@ export default {
commonUtil
.
resizeHeight
();
},
methods
:
{
getDisplay
()
{
getDisplay
(
type
)
{
let
req
=
{
projectId
:
vm
.
projectId
,
projectName
:
vm
.
projectName
,
};
openLoading
(
vm
);
vm
.
reportGET
(
"report/portal/display"
,
req
).
then
(
res
=>
{
...
...
@@ -241,7 +243,8 @@ export default {
vm
.
roleType
=
res
.
data
.
roleType
;
vm
.
displayExam
=
res
.
data
.
existExam
;
vm
.
flag
=
res
.
data
.
flag
;
}
if
(
type
!=
2
)
{
vm
.
getRegionOption
();
}
});
...
...
@@ -424,6 +427,7 @@ export default {
},
closeSearch
()
{
vm
.
dialogUpdate
=
false
;
vm
.
getDisplay
(
2
);
vm
.
search
();
},
search
()
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录