| | |
| | | <template> |
| | | <div id="app"> |
| | | <div id="app" style="margin:auto"> |
| | | <div class="report"> |
| | | <el-image :src="require('@/assets/report/page1.jpg')"></el-image> |
| | | <div class="word" style="left: 23.5%;top: 68.6%;font-size: 0.8rem;color: #313157">【{{ data.questionnaireTaker }}】</div> |
| | | <div class="word" style="left: 27%;top: 71.2%;font-size: 0.8rem;color: #313157">【{{ data.reportGenerationDate }}】</div> |
| | | <div class="word" style="left: 25%;top: 68.6%;font-size: 0.8rem;color: #313157">{{ data.questionnaireTaker }}</div> |
| | | <div class="word" style="left: 28.5%;top: 71.2%;font-size: 0.8rem;color: #313157">{{ data.reportGenerationDate }}</div> |
| | | </div> |
| | | <div class="report"> |
| | | <el-image :src="require('@/assets/report/page2.png')"></el-image> |
| | |
| | | <div class="word" style="left: 80%;top: 6.3%;font-size: 0.8rem;color: #E8497D">{{ data.PR_Dim06 }}</div> |
| | | <div class="word" style="left: 80%;top: 9.3%;font-size: 0.8rem;color: #62BEA4">{{ data.PR_Dim07 }}</div> |
| | | <div class="word" style="left: 80%;top: 12.3%;font-size: 0.8rem;color: #4976BA">{{ data.PR_Dim08 }}</div> |
| | | <div class="word career" style="left: 14%;top: 36.3%;font-size: 0.6rem;font-weight: bold;line-height:25px"> |
| | | <div class="word career" style="left: 14%;top: 36%;font-size: 0.6rem;font-weight: bold;line-height:1rem"> |
| | | 1.{{data.occ1H}}<br> |
| | | 2.{{data.occ2H}}<br> |
| | | 3.{{data.occ3H}}<br> |
| | |
| | | 9.{{data.occ9H}}<br> |
| | | 10.{{data.occ10H}} |
| | | </div> |
| | | <div class="word career" style="left: 14%;top: 72%;font-size: 0.6rem;font-weight: bold;line-height:25px"> |
| | | <div class="word career" style="left: 14%;top: 71%;font-size: 0.6rem;font-weight: bold;line-height:1rem"> |
| | | 1.{{data.occ1L}}<br> |
| | | 2.{{data.occ2L}}<br> |
| | | 3.{{data.occ3L}}<br> |
| | |
| | | |
| | | .career { |
| | | display: inline-block; |
| | | width: 260px; |
| | | width: 72%; |
| | | /*超出部分隐藏*/ |
| | | overflow: hidden; |
| | | /*overflow: hidden;*/ |
| | | /*文本不换行*/ |
| | | white-space: nowrap; |
| | | /*white-space: nowrap;*/ |
| | | /*超出不封用三个省略号代替*/ |
| | | text-overflow: ellipsis; |
| | | /*text-overflow: ellipsis;*/ |
| | | } |
| | | |
| | | #app { |