markeractivityWordShow.vue 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  1. <template>
  2. <div id="MarkeractivityWord">
  3. <div id="title">
  4. <div class="school">深圳技师学院</div>
  5. <div class="wordTitle">创客专项资金及项目申请表({{wordData['type']==0?'创客活动':"个人创客"}})</div>
  6. <div class="date">申请日期:{{wordData.applicationDate}}</div>
  7. </div>
  8. <table border="1" cellspacing="0" class="table">
  9. <tr id="one" v-if="wordData['type']==0">
  10. <td colspan="4"><span class="jc">关联项目</span></td>
  11. <td colspan="12" v-text="wordData['ProjectName']"></td>
  12. </tr>
  13. <tr id="two">
  14. <td colspan="4"><span class="活动名称"><span class="jc">活动名称</span></span></td>
  15. <td colspan="5" v-text="wordData['activityName']"></td>
  16. <td colspan="3"><span class="jc">预算经费</span></td>
  17. <td @click="goto('#fund')" colspan="4" v-text="total"></td>
  18. </tr>
  19. <tr id="three">
  20. <td colspan="4"><span class="jc">项目负责人</span></td><td colspan="3" v-text="wordData['pro_leader']"></td>
  21. <td colspan="2"><span class="jc">所在部门</span></td><td colspan="3" v-text="wordData['collegeName']"></td>
  22. <td colspan="2"><span class="jc">联系电话</span></td><td colspan="3" v-text="wordData['tel']"></td>
  23. </tr>
  24. <tr id="four">
  25. <td colspan="4"><span class="jc">活动时间</span></td>
  26. <td colspan="5" v-text="wordData['activityTime'][0].split(' ')[0]+' 至 '+wordData['activityTime'][1].split(' ')[0]"></td>
  27. <td colspan="3"><span class="jc">参与学生人数</span></td><td colspan="5" v-text="wordData['student']"></td>
  28. </tr>
  29. <tr id="five">
  30. <td colspan="2" :rowspan="wordData['member'].length+1"><p>活</p> <p>动</p> <p>指</p> <p>导</p> <p>老</p> <p>师</p></td><td colspan="2">姓名</td><td colspan="3">工作单位/部门</td><td colspan="9">项目分工</td>
  31. </tr>
  32. <tr v-for="(item,index) in wordData['member']" :key="index+'b'">
  33. <td colspan="2" style="border-left: none;" v-text="item['name']"></td>
  34. <td colspan="3" v-text="item['collage']"></td>
  35. <td colspan="10" v-text="item['work']"></td>
  36. </tr>
  37. <tr class="textLeft" id="six">
  38. <td colspan="2"><p>活动</p><br> <p>计划</p></td><td style="text-align: left;vertical-align: top;height: 200px;" colspan="15" v-text="wordData['activityPlan']"></td>
  39. </tr>
  40. <tr class="textLeft" id="seven">
  41. <td colspan="2"><p>预期</p><br><p>目标</p> </td><td colspan="15" style="text-align: left;vertical-align: top;height: 200px;" v-text="wordData['expectations']"></td>
  42. </tr>
  43. <tr class="textLeft" id="nine">
  44. <td colspan="2"><p>活动受</p><br> <p>众面</p></td><td style="text-align: left;vertical-align: top;height: 200px;" colspan="15" >
  45. <p>参与学生范围:</p>
  46. <span v-text="wordData['eventAudience']"></span>
  47. </td>
  48. </tr>
  49. <!-- <tr class="textLeft">
  50. <td colspan="15" style="text-align: left;border-left: none;">
  51. <p>二、创新点</p>
  52. <el-input
  53. type="textarea"
  54. :rows="6"
  55. style="width: 100%;"
  56. resize="none"
  57. v-model="input">
  58. </el-input>
  59. </td>
  60. </tr> -->
  61. <tr class="textLeft" id="ten">
  62. <td colspan="2"><p>经费</p><br><p>支出</p> <br><p>计划</p></td><td colspan="15" style="text-align: left;vertical-align: top;height: 200px;" v-text="wordData['fundingPlan']"></td>
  63. </tr>
  64. <tr id="fund">
  65. <td rowspan="14"><p>预</p> <p>算</p> <p>经</p> <p>费</p></td>
  66. </tr>
  67. <tr>
  68. <td rowspan="4" style="border-left: none;">总经费</td><td rowspan="4" colspan="2" >{{total}}元</td>
  69. </tr>
  70. <tr>
  71. <td colspan="12" style="border-left: none;">经费月支出计划 (元)</td>
  72. </tr>
  73. <tr>
  74. <td style="border-left: none;">第1个月</td><td>第2个月</td><td>第3个月</td><td>第4个月</td><td>第5个月</td><td>第6个月</td><td>第7个月</td><td>第8个月</td><td>第9个月</td><td>第10个月</td><td>第11个月</td><td>第12个月</td>
  75. </tr>
  76. <tr>
  77. <td v-for="(item,index) in wordData['expenditureMothPlan']" :key="index" style="border-left: none;" v-text="wordData['expenditureMothPlan'][index]"></td>
  78. </tr>
  79. <tr>
  80. <td colspan="4" style="border-left: none;">支出类别</td><td colspan="4">支出项目</td><td colspan="2">金额(元)</td><td colspan="5">备注</td>
  81. </tr>
  82. <tr>
  83. <td rowspan="4" colspan="4" style="border-left: none;">直接经费</td>
  84. <td colspan="4">小型仪器设备费</td>
  85. <td colspan="2" v-text="wordData['fund']['device']"></td>
  86. <td colspan="5">
  87. 项目开展所需的小型专用仪器设备、工具、配件购置或租赁费用。
  88. </td>
  89. </tr>
  90. <tr>
  91. <td colspan="4" style="border-left: none;">材料费</td>
  92. <td colspan="2" v-text="wordData['fund']['Material']"></td>
  93. <td colspan="5">项目开展需消耗的各种原材料、辅助材料等低值易耗品的采购费用。</td>
  94. </tr>
  95. <tr>
  96. <td colspan="4" style="border-left: none;">测试化验加工费</td>
  97. <td colspan="2" v-text="wordData['fund']['processing']"></td>
  98. <td colspan="5">项目开展过程中支付给外单位的检验、测试、化验、计算、分析及加工费等费用。</td>
  99. </tr>
  100. <tr>
  101. <td colspan="4" style="border-left: none;">项目协作费</td>
  102. <td colspan="2" v-text="wordData['fund']['Collaboration']"></td>
  103. <td colspan="5">按合同规定支付给协作单位的费用</td>
  104. </tr>
  105. <tr>
  106. <td rowspan="4" colspan="4" style="border-left: none;">间接经费</td>
  107. <td colspan="4">项目成果鉴定费</td>
  108. <td colspan="2" v-text="wordData['fund']['APPRAISAL']"></td>
  109. <td colspan="5">学术会务费、评审费、鉴定费、成果集制作费等费用。</td>
  110. </tr>
  111. <tr>
  112. <td colspan="4" style="border-left: none;">参展参赛费</td>
  113. <td colspan="2" v-text="wordData['fund']['entery']"></td>
  114. <td colspan="5">参加创客展会、竞赛等所需的报名费、展位费、布展费、宣传推广费及差旅费等费用。</td>
  115. </tr>
  116. <tr>
  117. <td colspan="4" style="border-left: none;">创客交流活动费</td>
  118. <td colspan="2" v-text="wordData['fund']['activities']"></td>
  119. <td colspan="5">创客交流活动中支付给校外专家的指导费、咨询费、授课费等费用。</td>
  120. </tr>
  121. <tr>
  122. <td colspan="4" style="border-left: none;">论文版面费</td>
  123. <td colspan="2" v-text="wordData['fund']['Transaction']"></td>
  124. <td colspan="5">论文版面费、专利及其他知识产权事务等费用。</td>
  125. </tr>
  126. <tr class="textLeft">
  127. <td><p>所在部</p> <p>门意见</p></td><td colspan="15" style="height: 200px;">
  128. <div style="text-align: right;font-size: 18px;width: 80%;margin-bottom: 20px;">负责人签章:</div>
  129. <div style="text-align: right;font-size: 18px;width: 90%;">年&nbsp;&nbsp;&nbsp; 月 &nbsp;&nbsp;&nbsp;日</div>
  130. </td>
  131. </tr>
  132. <tr>
  133. <td v-for="(item,index) in 16" :key="index+'c'" style="border: none;"></td>
  134. </tr>
  135. </table>
  136. <div class="notes">
  137. <span>备注:</span>
  138. <span>如表格不够可顺延或另附页。</span>
  139. <!-- <div style="width: 300px;margin: 20px auto;display: flex;justify-content: space-between;">
  140. <el-button @click="applyButton" style="width: 120px;margin: 20px auto;" type="primary">提交活动</el-button>
  141. <el-button style="width: 120px;margin: 20px auto;" type="primary">下载表单</el-button>
  142. </div> -->
  143. </div>
  144. </div>
  145. </template>
  146. <script>
  147. export default {
  148. props:['wordData','total'],
  149. data() {
  150. return {
  151. }
  152. },
  153. methods: {
  154. goto(str){
  155. document.querySelector(str).scrollIntoView({ behavior: "smooth" });
  156. },
  157. },
  158. computed:{ //经费总合
  159. },
  160. mounted(){
  161. }
  162. };
  163. </script>
  164. <style lang="less" scoped>
  165. #MarkeractivityWord{
  166. width: 100%;
  167. display: flex;
  168. flex-direction: column;
  169. align-items: center;
  170. background-color: #ffff;
  171. margin: 0;
  172. padding: 40px 100px;
  173. box-sizing:border-box;
  174. #title{
  175. width: 100%;
  176. display: flex;
  177. flex-direction: column;
  178. align-items: center;
  179. position: relative;
  180. // margin-top: 40px;
  181. .school{
  182. font-size: 2.5em;
  183. font-weight: 500;
  184. letter-spacing: 20px;
  185. }
  186. .wordTitle{
  187. font-size: 2em;
  188. letter-spacing: .15em;
  189. margin-bottom:40px ;
  190. }
  191. .date{
  192. font-size: 1em;
  193. position: absolute;
  194. bottom: 0;
  195. right: 100px;
  196. font-weight: bold;
  197. }
  198. }
  199. .table{
  200. border: none;
  201. border-top: solid 1px black;
  202. tr{
  203. position: relative;
  204. td{
  205. border: none;
  206. border-bottom: solid 1px black;
  207. border-right: solid 1px black;
  208. height: 50px;
  209. text-align: center;
  210. line-height: 30px;
  211. width: 80px;
  212. box-sizing: border-box;
  213. padding: 5px;
  214. &:nth-child(1){
  215. border-left: solid 1px black;
  216. }
  217. p{
  218. font-weight: 600;
  219. }
  220. :deep(.el-select .el-input .el-select__caret){
  221. display: none;
  222. }
  223. :deep(.el-textarea__inner){
  224. // padding: 0;
  225. border: none ;
  226. border-radius: 0px;
  227. text-align: center;
  228. font-size: 16px;
  229. }
  230. :deep(.el-input__inner){
  231. border: none ;
  232. &::-webkit-outer-spin-button,&::-webkit-inner-spin-button{
  233. -webkit-appearance: none !important;
  234. }
  235. &[type='number'] {
  236. -moz-appearance: textfield;
  237. }
  238. border-radius: 0px;
  239. text-align: center;
  240. font-size: 16px;
  241. }
  242. }
  243. }
  244. .textLeft{
  245. :deep(.el-textarea__inner){
  246. // padding: 0;
  247. border: none ;
  248. border-radius: 0px;
  249. text-align: left !important;
  250. font-size: 16px;
  251. }
  252. }
  253. }
  254. .notes{
  255. width: 100%;
  256. display: flex;
  257. flex-direction:column;
  258. }
  259. }
  260. .operate{
  261. right:-85px;
  262. width:85px;
  263. height: 50px;
  264. display:flex;
  265. justify-content:space-between;
  266. align-items:center;
  267. position:absolute;
  268. .el-button{
  269. max-width:10px;
  270. display:flex;
  271. justify-content:center;
  272. align-items:center;
  273. margin-left:10px;
  274. }
  275. }
  276. .jc{
  277. font-weight: 600;
  278. }
  279. </style>