|
@@ -0,0 +1,221 @@
|
|
|
+<div class="report">
|
|
|
+ <div class="top">
|
|
|
+ <el-button type="primary" plain @click="download">导出PDF</el-button>
|
|
|
+ </div>
|
|
|
+ <div id="print-part">
|
|
|
+ <div class="page page0">
|
|
|
+ <img src="@/images/report-math/start-main.png">
|
|
|
+ <h1>初中数学学科</h1>
|
|
|
+ <h2>诊断报告</h2>
|
|
|
+ <h3>[Mathematics · Diagnostic Report]</h3>
|
|
|
+ </div>
|
|
|
+ <div class="page page1">
|
|
|
+ <div class="decorate">
|
|
|
+ <img v-for="count in 16" :key="count" src="@/images/report-math/circle.png">
|
|
|
+ </div>
|
|
|
+ <div class="note-back">
|
|
|
+ <div class="line">
|
|
|
+ <img src="@/images/report-math/flower.png">
|
|
|
+ <img src="@/images/report-math/pic1.png">
|
|
|
+ <i></i>
|
|
|
+ <div>
|
|
|
+ <label>姓名</label>
|
|
|
+ <span></span>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <label>年级</label>
|
|
|
+ <span></span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="page size2 page2">
|
|
|
+ <div class="decorate">
|
|
|
+ <img v-for="count in 16" :key="count" src="@/images/report-math/circle.png">
|
|
|
+ </div>
|
|
|
+ <div class="note-back">
|
|
|
+ <p class="title-label">第一部分 词汇诊断</p>
|
|
|
+ <p class="title-button">1.核心词汇</p>
|
|
|
+ <div>
|
|
|
+ <div class="charpter" v-for="(item,index) in charpterList" ::key="index">
|
|
|
+ <div v-if="index==0 || index==3">
|
|
|
+ <p>代数</p>
|
|
|
+ <p>几何</p>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <label>{{item.grade}}</label>
|
|
|
+ <div>
|
|
|
+ <span v-for="data in item.section">
|
|
|
+ <em :style="{'background': wordColorMap[data.colorType1],'opacity':data.colorType1}"></em>
|
|
|
+ <em :style="{'background': wordColorMap[data.colorType2],'opacity':data.colorType2}"></em>
|
|
|
+ <p>{{data.name}}</p>
|
|
|
+ </span>
|
|
|
+ <i></i>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <div>
|
|
|
+ <p class="small-title">
|
|
|
+ <img src="@/images/report-math/pic2.png">
|
|
|
+ <span>角平分线</span>
|
|
|
+ </p>
|
|
|
+ <img src="@/images/report-math/pic8.png">
|
|
|
+ </div>
|
|
|
+ <img src="@/images/report-math/pic9.png">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="page size2 page3">
|
|
|
+ <div class="decorate">
|
|
|
+ <img v-for="count in 16" :key="count" src="@/images/report-math/circle.png">
|
|
|
+ </div>
|
|
|
+ <div class="note-back">
|
|
|
+ <p class="title-button">2.最近所学的三个单元词汇掌握情况</p>
|
|
|
+ <p class="small-title">
|
|
|
+ <img src="@/images/report-math/pic2.png">
|
|
|
+ <span>单元名称</span>
|
|
|
+ </p>
|
|
|
+ <div v-for="item in latestSec" class="latest-section">
|
|
|
+ <div :style="{'width':(100 - item.number) + '%'}">
|
|
|
+ <p>{{item.name}}</p>
|
|
|
+ <p>《{{item.content}}》</p>
|
|
|
+ </div>
|
|
|
+ <div :style="{'width':item.number + '%','background':secColorMap[item.level]}">
|
|
|
+ <p :style="{'color':secColorMap[item.level]}">{{item.number}}%</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <p class="small-title">
|
|
|
+ <img src="@/images/report-math/pic2.png">
|
|
|
+ <span>近三单元词汇</span>
|
|
|
+ </p>
|
|
|
+ <img src="@/images/report-math/pic10.png">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="page page4">
|
|
|
+ <div class="decorate">
|
|
|
+ <img v-for="count in 16" :key="count" src="@/images/report-math/circle.png">
|
|
|
+ </div>
|
|
|
+ <div class="note-back">
|
|
|
+ <p class="title-label">第二部分 学科思维步骤分解诊断</p>
|
|
|
+ <p class="title-button">四个步骤的评价</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="page page5">
|
|
|
+ <div class="decorate">
|
|
|
+ <img v-for="count in 16" :key="count" src="@/images/report-math/circle.png">
|
|
|
+ </div>
|
|
|
+ <div class="note-back">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="page page6">
|
|
|
+ <div class="decorate">
|
|
|
+ <img v-for="count in 16" :key="count" src="@/images/report-math/circle.png">
|
|
|
+ </div>
|
|
|
+ <div class="note-back">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="page page7">
|
|
|
+ <div class="decorate">
|
|
|
+ <img v-for="count in 16" :key="count" src="@/images/report-math/circle.png">
|
|
|
+ </div>
|
|
|
+ <div class="note-back">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="page page8">
|
|
|
+ <div class="decorate">
|
|
|
+ <img v-for="count in 16" :key="count" src="@/images/report-math/circle.png">
|
|
|
+ </div>
|
|
|
+ <div class="note-back">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="page page9">
|
|
|
+ <div class="decorate">
|
|
|
+ <img v-for="count in 16" :key="count" src="@/images/report-math/circle.png">
|
|
|
+ </div>
|
|
|
+ <div class="note-back">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="page page10">
|
|
|
+ <div class="decorate">
|
|
|
+ <img v-for="count in 16" :key="count" src="@/images/report-math/circle.png">
|
|
|
+ </div>
|
|
|
+ <div class="note-back">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="page page11">
|
|
|
+ <div class="decorate">
|
|
|
+ <img v-for="count in 16" :key="count" src="@/images/report-math/circle.png">
|
|
|
+ </div>
|
|
|
+ <div class="note-back">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="page page12">
|
|
|
+ <div class="decorate">
|
|
|
+ <img v-for="count in 16" :key="count" src="@/images/report-math/circle.png">
|
|
|
+ </div>
|
|
|
+ <div class="note-back">
|
|
|
+ <p class="title-label">第三部分 连续思维步骤</p>
|
|
|
+ <div>
|
|
|
+ <div>
|
|
|
+ <img src="@/images/report-math/dec1.png">
|
|
|
+ <label>代数问题</label>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <div v-for="item in calcQueList" :style="directionMap[item.direcType]"
|
|
|
+ :class="{'back1':item.colorType == 1,'back2':item.colorType == 2}">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <div>
|
|
|
+ <img src="@/images/report-math/dec2.png">
|
|
|
+ <label>几何问题</label>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <div v-for="item in geoQueList" :style="directionMap[item.direcType]"
|
|
|
+ :class="{'back1':item.colorType == 1,'back2':item.colorType == 2}">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <div>
|
|
|
+ <img src="@/images/report-math/dec3.png">
|
|
|
+ <label>应用问题</label>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <div v-for="item in appQueList" :style="directionMap[item.direcType]"
|
|
|
+ :class="{'back1':item.colorType == 1,'back2':item.colorType == 2}">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- <div class="page page13">
|
|
|
+ <div class="decorate">
|
|
|
+ <img v-for="count in 16" :key="count" src="@/images/report-math/circle.png">
|
|
|
+ </div>
|
|
|
+ <div class="note-back">
|
|
|
+ </div>
|
|
|
+ </div> -->
|
|
|
+ <!-- <div class="page page14">
|
|
|
+ <div class="decorate">
|
|
|
+ <img v-for="count in 16" :key="count" src="@/images/report-math/circle.png">
|
|
|
+ </div>
|
|
|
+ <div class="note-back">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="page page15">
|
|
|
+ <div class="decorate">
|
|
|
+ <img v-for="count in 16" :key="count" src="@/images/report-math/circle.png">
|
|
|
+ </div>
|
|
|
+ <div class="note-back">
|
|
|
+ </div>
|
|
|
+ </div> -->
|
|
|
+ </div>
|
|
|
+ <canvas id="singleCanvas" width="1240" height="1754">
|
|
|
+ </canvas>
|
|
|
+</div>
|