Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
4b59324f
提交
4b59324f
编写于
12月 13, 2019
作者:
zhentian.jia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
样式改回
上级
0450f22b
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
27 行增加
和
16 行删除
+27
-16
chartData.js
src/utils/learning/chartData.js
+10
-10
item-data-all.vue
src/views/learning/item-data-all.vue
+4
-3
item-list.vue
src/views/learning/item-list.vue
+13
-3
未找到文件。
src/utils/learning/chartData.js
浏览文件 @
4b59324f
...
...
@@ -243,7 +243,7 @@ export function certificateOption(xAxisData, seriesJoin, seriesCert, seriesRate,
type
:
"bar"
,
data
:
seriesJoin
,
label
:
{
//
show: true,
show
:
true
,
position
:
"top"
,
rotate
:
-
90
,
offset
:
[
-
5
,
-
15
]
...
...
@@ -255,7 +255,7 @@ export function certificateOption(xAxisData, seriesJoin, seriesCert, seriesRate,
type
:
"bar"
,
data
:
seriesCert
,
label
:
{
//
show: true,
show
:
true
,
position
:
"top"
,
rotate
:
-
90
,
offset
:
[
-
5
,
-
15
]
...
...
@@ -267,7 +267,7 @@ export function certificateOption(xAxisData, seriesJoin, seriesCert, seriesRate,
yAxisIndex
:
1
,
data
:
seriesRate
,
label
:
{
//
show: true,
show
:
true
,
position
:
"top"
,
formatter
:
"{c}%"
//这是关键,在需要的地方加上就行了
}
...
...
@@ -339,7 +339,7 @@ export function durationOption(xAxisData, seriesData) {
barWidth
:
18
,
data
:
seriesData
,
label
:
{
//
show: true,
show
:
true
,
position
:
"top"
,
formatter
:
"{c}"
,
//这是关键,在需要的地方加上就行了
rotate
:
-
90
,
...
...
@@ -416,7 +416,7 @@ export function educationEffect(xAxisData, seriesBefore, seriesAfter) {
barWidth
:
18
,
data
:
seriesBefore
,
label
:
{
//
show: true,
show
:
true
,
position
:
"top"
,
formatter
:
"{c}%"
,
rotate
:
-
90
,
...
...
@@ -429,7 +429,7 @@ export function educationEffect(xAxisData, seriesBefore, seriesAfter) {
barWidth
:
18
,
data
:
seriesAfter
,
label
:
{
//
show: true,
show
:
true
,
position
:
"top"
,
formatter
:
"{c}%"
,
rotate
:
-
90
,
...
...
@@ -516,7 +516,7 @@ export function knowledgeEffect(xAxisData, seriesBefore, seriesAfter) {
barWidth
:
18
,
data
:
seriesBefore
,
label
:
{
//
show: true,
show
:
true
,
position
:
"top"
,
formatter
:
"{c}%"
,
//这是关键,在需要的地方加上就行了
rotate
:
-
90
,
...
...
@@ -529,7 +529,7 @@ export function knowledgeEffect(xAxisData, seriesBefore, seriesAfter) {
barWidth
:
18
,
data
:
seriesAfter
,
label
:
{
//
show: true,
show
:
true
,
position
:
"top"
,
formatter
:
"{c}%"
,
//这是关键,在需要的地方加上就行了
rotate
:
-
90
,
...
...
@@ -613,7 +613,7 @@ export function examTimes(xAxisData, seriesData) {
barWidth
:
17
,
data
:
seriesData
,
label
:
{
//
show: true,
show
:
true
,
position
:
"top"
,
formatter
:
"{c}"
,
rotate
:
-
90
,
...
...
@@ -694,7 +694,7 @@ export function examScore(xAxisData, seriesData) {
barWidth
:
17
,
data
:
seriesData
,
label
:
{
//
show: true,
show
:
true
,
position
:
"top"
,
formatter
:
"{c}"
,
rotate
:
-
90
,
...
...
src/views/learning/item-data-all.vue
浏览文件 @
4b59324f
...
...
@@ -1010,12 +1010,13 @@ export default {
// }
.box-card
{
position
:
relative
;
background-color
:
#
e3efed
;
background-color
:
#
F1F7F6
;
color
:
#449284
;
width
:
32%
;
margin-right
:
2%
;
height
:
106px
;
float
:
left
;
border-radius
:
2px
;
.notice
{
position
:
absolute
;
z-index
:
999
;
...
...
@@ -1066,13 +1067,13 @@ export default {
height
:
106px
;
text-align
:
left
;
font-size
:
14px
;
padding
:
2
3px
0
0
29px
;
padding
:
3
3px
0
0
29px
;
p
{
height
:
14px
;
line-height
:
14px
;
}
.should
{
margin-top
:
28
px
;
margin-top
:
12
px
;
}
}
}
...
...
src/views/learning/item-list.vue
浏览文件 @
4b59324f
...
...
@@ -116,9 +116,9 @@
</div>
</el-form>
<div
class=
"button-group"
>
<el-button
v-if=
"roleType == 1 || roleType == 2"
type=
"default"
size=
"small"
@
click=
"changeDate"
>
数据修改
</el-button>
<el-button
type=
"default"
size=
"small"
@
click=
"exportPDF"
>
导出PDF
</el-button>
<el-button
type=
"default"
size=
"small"
:disabled=
"exportStatus"
@
click=
"exportExcel"
>
导出明细
</el-button>
<el-button
class=
""
v-if=
"roleType == 1 || roleType == 2"
type=
"default"
size=
"small"
@
click=
"changeDate"
>
数据修改
</el-button>
<el-button
class=
""
type=
"default"
size=
"small"
@
click=
"exportPDF"
>
导出PDF
</el-button>
<el-button
class=
""
type=
"default"
size=
"small"
:disabled=
"exportStatus"
@
click=
"exportExcel"
>
导出明细
</el-button>
</div>
<div
class=
"item-tab"
></div>
<el-tabs
class=
"item-list-tabs"
ref=
"tabs"
id=
"item-list-tabs"
v-model=
"activeName"
@
tab-click=
"handleClick"
:before-leave=
"beforeLeave"
>
...
...
@@ -968,6 +968,9 @@ export default {
border
:
1px
solid
#449284
;
color
:
#449284
;
}
.el-button
:hover
{
background
:
#F1F7F6
;
}
}
.col-text
{
font-size
:
12px
;
...
...
@@ -983,6 +986,13 @@ export default {
border
:
1px
solid
#449284
;
color
:
#449284
;
}
.is-disabled
{
color
:
#449284
;
background
:
#F1F7F6
;
}
.el-button
:hover
{
background
:
#F1F7F6
;
}
}
.choose
{
font-size
:
12px
;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录