Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
x-learn
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
x-learn
Commits
2a77ecad
提交
2a77ecad
authored
12月 07, 2021
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update:代码提交
上级
02a3f2f2
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
20 行增加
和
14 行删除
+20
-14
ExamData.vue
src/modules/teacher/data/exam/views/ExamData.vue
+20
-14
没有找到文件。
src/modules/teacher/data/exam/views/ExamData.vue
浏览文件 @
2a77ecad
<
template
>
<
template
>
<vue-html2pdf
<vue-html2pdf
pdf-format=
"a1"
pdf-format=
"a1"
:show-layout=
"false"
:show-layout=
"false"
:float-layout=
"false"
:float-layout=
"false"
:enable-download=
"true"
:enable-download=
"true"
:preview-modal=
"false"
:preview-modal=
"false"
:manual-pagination=
"true"
:manual-pagination=
"true"
:paginate-elements-by-height=
"500"
:paginate-elements-by-height=
"500"
filename=
"file"
filename=
"file"
pdf-content-width=
"100%"
pdf-content-width=
"100%"
ref=
"html2Pdf"
ref=
"html2Pdf"
>
>
<section
slot=
"pdf-content"
>
<section
slot=
"pdf-content"
>
<div
class=
"container"
>
<div
class=
"container"
>
<el-row
type=
"flex"
class=
"row-bg"
justify=
"space-between"
style=
"margin-bottom: 30px"
>
<el-row
type=
"flex"
class=
"row-bg"
justify=
"space-between"
style=
"margin-bottom: 30px"
>
<el-col
<el-col
><h1
style=
"padding-left: 0px; font-size: 30px"
>
><h1
style=
"padding-left: 0px; font-size: 30px"
>
{{
$route
.
query
.
examination_name
}}
<span
style=
"color: #c01540; font-size: 14px"
>
*部分数据未进行评价
</span>
{{
$route
.
query
.
examination_name
}}
<span
style=
"color: #c01540; font-size: 14px"
>
*部分数据未进行评价
</span>
</h1>
</h1>
</el-col>
</el-col>
<el-col
:span=
"10"
>
<el-col
:span=
"10"
>
<el-select
v-model=
"value"
placeholder=
"请选择"
>
<el-select
v-model=
"value"
placeholder=
"请选择"
@
change=
"refreshPage"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
<el-option
v-for=
"item in dataInfo.class_map"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
</el-option>
</el-select>
</el-select>
<el-button
type=
"text"
style=
"margin-left: 30px"
@
click=
"$refs.html2Pdf.generatePdf()"
>
导出pdf
</el-button>
<el-button
type=
"text"
style=
"margin-left: 30px"
@
click=
"$refs.html2Pdf.generatePdf()"
>
导出pdf
</el-button>
</el-col>
</el-col>
...
@@ -40,6 +42,8 @@
...
@@ -40,6 +42,8 @@
:chapter_id=
"$route.query.chapter_id"
:chapter_id=
"$route.query.chapter_id"
:type=
"$route.query.type"
:type=
"$route.query.type"
:dataInfo=
"dataInfo.need_check_num"
:dataInfo=
"dataInfo.need_check_num"
ref=
"scoreRankingRef"
:classValue=
"value"
/></el-col>
/></el-col>
<el-col
:span=
"11"
<el-col
:span=
"11"
><TitleData
><TitleData
...
@@ -48,6 +52,8 @@
...
@@ -48,6 +52,8 @@
:chapter_id=
"$route.query.chapter_id"
:chapter_id=
"$route.query.chapter_id"
:type=
"$route.query.type"
:type=
"$route.query.type"
:dataInfo=
"dataInfo.need_check_num"
:dataInfo=
"dataInfo.need_check_num"
ref=
"titleDataRef"
:classValue=
"value"
/></el-col>
/></el-col>
</el-row>
</el-row>
<el-row
:gutter=
"10"
class=
"row-bg"
>
<el-row
:gutter=
"10"
class=
"row-bg"
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论