提交 2a77ecad authored 作者: matian's avatar matian

update:代码提交

上级 02a3f2f2
<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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论