|
@@ -1,6 +1,62 @@
|
|
|
<template>
|
|
|
<div id="studentProjectWord">
|
|
|
+ <div class="coverImg">
|
|
|
+ <div class="ProNumber">项目编号:{{ downWordData.ProjectNo }}</div>
|
|
|
+
|
|
|
+ <div
|
|
|
+ class="onePage"
|
|
|
+ >
|
|
|
+ <div class="titSchool">深圳技师学院</div>
|
|
|
+ <div class="title">2024年校级学生创新创业训练计划项目申报书</div>
|
|
|
+ <div class="basicInformation">
|
|
|
+ <span>项目名称</span>
|
|
|
+ <div class="line">{{ downWordData.projectName }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="basicInformation">
|
|
|
+ <span>申请人</span>
|
|
|
+ <div class="line">{{ downWordData.applyParsonName }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="basicInformation" style="color: red">
|
|
|
+ <span>指导教师</span>
|
|
|
+ <div class="line" style="position: relative">
|
|
|
+ <span
|
|
|
+ v-for="(item, index) in downWordData.teacherS"
|
|
|
+ :key="index"
|
|
|
+ >{{ item.name }}</span
|
|
|
+ >
|
|
|
+ <span style="position: absolute; right: -100px"
|
|
|
+ >{{ downWordData.teacherS.length }}(人)</span
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="basicInformation">
|
|
|
+ <span>申请部门</span>
|
|
|
+ <div class="line">{{ downWordData.dp }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="basicInformation">
|
|
|
+ <span>申请日期</span>
|
|
|
+ <div class="line">{{ formattedDate }}</div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div
|
|
|
+ style="
|
|
|
+ font-size: 22px;
|
|
|
+ font-family: \4eff\5b8b;
|
|
|
+ font-weight: bold;
|
|
|
+ margin-bottom: 10px;
|
|
|
+ "
|
|
|
+ >
|
|
|
+ 创新创业学院制
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ style="font-size: 22px; font-family: \4eff\5b8b; font-weight: bold"
|
|
|
+ >
|
|
|
+ {{ nowTime }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<table border="1" cellspacing="0" class="pdfTable" style="width: 80%;">
|
|
|
+
|
|
|
<div class="pdfTit">
|
|
|
<div class="school">深圳技师学院</div>
|
|
|
<div class="wordTitle">2024年校级学生创新创业训练计划项目申报书</div>
|
|
@@ -603,6 +659,7 @@
|
|
|
<div class="chapter_upload_l_i3"></div>
|
|
|
<div class="titName">{{ item.fileName }}</div>
|
|
|
</div>
|
|
|
+
|
|
|
<!-- <div
|
|
|
class="fileBoxRight"
|
|
|
v-if="![1, 2].includes($store.state.userInfo.type)"
|
|
@@ -629,6 +686,8 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div v-if="downWordData.promotion!=-1" style="width: 95%;margin: 10px 0; display: flex;justify-content: end;">2024年4月16日</div>
|
|
|
+
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
@@ -668,6 +727,7 @@
|
|
|
|
|
|
<script>
|
|
|
import beUpload from "@/components/tool/beUpload";
|
|
|
+import { getNowDate } from "@/components/tool/Date.js";
|
|
|
|
|
|
// import {downloadPDF} from '@/components/tool/pdf'
|
|
|
|
|
@@ -676,9 +736,11 @@ export default {
|
|
|
props: ["reversedMessage", "downWordData", "signData", "download"],
|
|
|
components: {
|
|
|
beUpload,
|
|
|
+ getNowDate
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ nowTime: getNowDate(1),
|
|
|
accept: "*",
|
|
|
progress: {
|
|
|
value: 0,
|
|
@@ -701,6 +763,13 @@ export default {
|
|
|
},
|
|
|
computed: {
|
|
|
//经费总合
|
|
|
+ formattedDate() {
|
|
|
+ const date = new Date(this.downWordData.btime);
|
|
|
+ const year = date.getFullYear();
|
|
|
+ const month = ('0' + (date.getMonth() + 1)).slice(-2); // 月份从0开始,所以加1
|
|
|
+ const day = ('0' + date.getDate()).slice(-2);
|
|
|
+ return `${year}年${month}月${day}日`;
|
|
|
+ }
|
|
|
},
|
|
|
mounted() {
|
|
|
|
|
@@ -720,7 +789,61 @@ export default {
|
|
|
// padding: 0 40px;
|
|
|
font-size: 18px !important;
|
|
|
// font-family: 'FangSong';
|
|
|
-
|
|
|
+ .ProNumber{
|
|
|
+ position: absolute;
|
|
|
+ right: 0;
|
|
|
+ top: 30px;
|
|
|
+ // font-size: 25px;
|
|
|
+ // width: 100% !important;
|
|
|
+ }
|
|
|
+ .onePage {
|
|
|
+ // height: 300px;
|
|
|
+ width: 100%;
|
|
|
+ text-align: center;
|
|
|
+ .titSchool {
|
|
|
+ font-weight: 600;
|
|
|
+ font-size: 35px;
|
|
|
+ margin-bottom: 30px;
|
|
|
+ font-family: \6977\4f53;
|
|
|
+ }
|
|
|
+ .title {
|
|
|
+ font-weight: 600;
|
|
|
+ font-size: 32px;
|
|
|
+ margin-bottom: 30px;
|
|
|
+ font-family: \9ed1\4f53;
|
|
|
+ margin-bottom: 100px;
|
|
|
+ }
|
|
|
+ .line {
|
|
|
+ width: 300px;
|
|
|
+ border-bottom: 1px black solid;
|
|
|
+ }
|
|
|
+ .basicInformation {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ font-size: 22px;
|
|
|
+ font-family: \4eff\5b8b;
|
|
|
+ font-weight: bold;
|
|
|
+ margin-bottom: 50px;
|
|
|
+
|
|
|
+ span {
|
|
|
+ width: 100px;
|
|
|
+ text-align: justify;
|
|
|
+ text-align-last: justify;
|
|
|
+ /*兼容ie*/
|
|
|
+ text-justify: distribute-all-lines;
|
|
|
+ margin-right: 10px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .coverImg{
|
|
|
+ height: 100vh;
|
|
|
+ width: 80%;
|
|
|
+ display: flex;
|
|
|
+ position: relative;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
#title {
|
|
|
width: 100%;
|
|
|
line-height: 40px;
|