Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
7981163f
提交
7981163f
编写于
8月 05, 2019
作者:
zhentian.jia
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'dev-learning-report-0627' into 'release'
Dev learning report 0627 See merge request !64
上级
c1effdab
77841eb0
变更
8
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
55 行增加
和
24 行删除
+55
-24
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
+13
-4
export-download.vue
src/views/learning/export-download.vue
+4
-1
item-crowd-analysis.vue
src/views/learning/item-crowd-analysis.vue
+3
-1
item-list.vue
src/views/learning/item-list.vue
+25
-15
未找到文件。
src/assets/image/question.png
查看替换文件 @
c1effdab
浏览文件 @
7981163f
6.3 KB
|
W:
|
H:
4.5 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/style/common.scss
浏览文件 @
7981163f
...
...
@@ -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
浏览文件 @
7981163f
...
...
@@ -11,7 +11,8 @@ export const envConfig = {
// 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://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"
,
...
...
@@ -27,7 +28,8 @@ export const envConfig = {
// reportUrl: 'http://10.177.15.150:10401/',
// reportUrl: 'http://192.168.140.13:10401/',
// reportUrl: 'https://dev-sc-report.yunqueyi.com/',
reportUrl
:
'https://test1-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
浏览文件 @
7981163f
...
...
@@ -54,7 +54,7 @@ service.interceptors.request.use(config => {
}
if
(
process
.
env
.
BUILD_ENV
==
"development"
){
// 本地开发环境
// console.log('环境变量>>>> ', process.env.BUILD_ENV);
config
.
headers
[
'token'
]
=
'
E5F82EDD958941C29BCDDDED410ACDB3
'
;
config
.
headers
[
'token'
]
=
'
6F0F3B3F0EB24A14AA025FA47CD43770
'
;
}
else
{
config
.
headers
[
'token'
]
=
localStorage
.
getItem
(
'storageToken'
)
}
...
...
src/utils/operation.js
浏览文件 @
7981163f
...
...
@@ -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
,
}
]
...
...
@@ -365,7 +373,8 @@ export function getBarOption(xAxisData, seriesData) {
let
option
=
{
title
:
{
text
:
"用户年龄发布"
,
x
:
"center"
x
:
"center"
,
top
:
"3%"
,
},
color
:
[
'#3398DB'
],
backgroundColor
:
'#F3F3F3'
,
...
...
src/views/learning/export-download.vue
浏览文件 @
7981163f
...
...
@@ -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
浏览文件 @
7981163f
...
...
@@ -261,6 +261,7 @@ export default {
.crowd-radio
{
position
:
relative
;
left
:
50%
;
margin-top
:
25px
;
margin-left
:
-119px
;
.is-active
{
.el-radio-button__inner
{
...
...
@@ -291,7 +292,8 @@ export default {
border
:
1px
solid
#dedede
;
.title
{
position
:
relative
;
margin
:
10px
auto
;
margin
:
15px
auto
10px
auto
;
font-size
:
18px
;
text-align
:
center
;
font-weight
:
bold
;
}
...
...
src/views/learning/item-list.vue
浏览文件 @
7981163f
...
...
@@ -206,6 +206,7 @@ export default {
dialogVisible
:
false
,
dialogUpdate
:
false
,
displayExam
:
2
,
flag
:
1
,
};
},
computed
:
{
...
...
@@ -219,17 +220,19 @@ 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
();
//
this.getRegionOption();
},
mounted
:
function
()
{
commonUtil
.
resizeHeight
();
},
methods
:
{
getDisplay
()
{
getDisplay
(
type
)
{
let
req
=
{
projectId
:
vm
.
projectId
,
projectName
:
vm
.
projectName
,
};
openLoading
(
vm
);
vm
.
reportGET
(
"report/portal/display"
,
req
).
then
(
res
=>
{
...
...
@@ -239,6 +242,10 @@ export default {
vm
.
showOriginal
=
res
.
data
.
status
;
vm
.
roleType
=
res
.
data
.
roleType
;
vm
.
displayExam
=
res
.
data
.
existExam
;
vm
.
flag
=
res
.
data
.
flag
;
}
if
(
type
!=
2
)
{
vm
.
getRegionOption
();
}
});
},
...
...
@@ -354,19 +361,21 @@ export default {
},
//获取地区
getRegionOption
()
{
// this.optionsRegion = operationData.getRegionOption();
let
req
=
{};
openLoading
(
vm
);
vm
.
GET
(
"basic-data/position/provinces"
,
req
).
then
(
res
=>
{
closeLoading
(
vm
);
if
(
res
.
code
==
"000000"
)
{
this
.
optionsRegion
=
operationData
.
setRegionOption
(
res
.
data
.
provinceList
);
// console.log("this.optionsRegion", this.optionsRegion);
}
});
if
(
vm
.
flag
==
2
&&
vm
.
roleType
==
"L1"
)
{
this
.
optionsRegion
=
[{
id
:
11
,
provinceId
:
330
,
provinceName
:
"浙江省"
,
value
:
330
,
label
:
"浙江省"
}]
}
else
{
let
req
=
{};
openLoading
(
vm
);
vm
.
GET
(
"basic-data/position/provinces"
,
req
).
then
(
res
=>
{
closeLoading
(
vm
);
if
(
res
.
code
==
"000000"
)
{
this
.
optionsRegion
=
operationData
.
setRegionOption
(
res
.
data
.
provinceList
);
// console.log("this.optionsRegion", this.optionsRegion);
}
});
}
},
getOrganizationList
()
{
this
.
organizationList
=
[
...
...
@@ -418,6 +427,7 @@ export default {
},
closeSearch
()
{
vm
.
dialogUpdate
=
false
;
vm
.
getDisplay
(
2
);
vm
.
search
();
},
search
()
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录