bdglmeeting.vue 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. <template>
  2. <div>
  3. <el-button class="box1" @click="daochu">导出</el-button>
  4. <div class="word" id="contents">
  5. <p
  6. style="
  7. font-size: 16pt;
  8. font-weight: 600;
  9. margin-botttom: 30px;
  10. color: black;
  11. text-align: center;
  12. font-family: 'heiti'
  13. "
  14. >
  15. 《团支部工作记录本》
  16. </p>
  17. <table
  18. border="1"
  19. style="
  20. border-collapse: collapse;
  21. border: none;
  22. mso-border-left-alt: 0.5pt solid windowtext;
  23. mso-border-top-alt: 0.5pt solid windowtext;
  24. mso-border-right-alt: 0.5pt solid windowtext;
  25. mso-border-bottom-alt: 0.5pt solid windowtext;
  26. mso-border-insideh: 0.5pt solid windowtext;
  27. mso-border-insidev: 0.5pt solid windowtext;
  28. mso-padding-alt: 0pt 0pt 0pt 0pt;
  29. "
  30. width="600"
  31. align="center"
  32. bordercolor="black"
  33. class="size"
  34. >
  35. <tbody style="font-size: 16px;font-weight: 500;">
  36. <tr class="JR_tr">
  37. <th class="" colspan="2" >
  38. <h4 align="center" style="font-size: 18px;font-weight: 500;font-family: 'kaiti'">
  39. 团支部委员会会议
  40. </h4>
  41. </th>
  42. </tr>
  43. <tr class="JR_tr">
  44. <td
  45. width="110"
  46. class="JR_left"
  47. style="border-right: 1px dashed #fff;font-family: 'kaiti'"
  48. >
  49. <p align="center">&nbsp;&nbsp;时 &nbsp;间:</p>
  50. </td>
  51. <td
  52. class="JR_right"
  53. align="left"
  54. style="border-left: 1px dashed #999; padding-left: 20px;font-family: 'fangsong'"
  55. >
  56. <p>{{ message.convokeTime }}</p>
  57. </td>
  58. </tr>
  59. <tr class="JR_tr">
  60. <td class="JR_left" style="border-right: 1px dashed #fff;font-family: 'kaiti'">
  61. <p align="center">&nbsp;&nbsp;地 &nbsp;点:</p>
  62. </td>
  63. <td
  64. class="JR_right"
  65. align="left"
  66. style="border-left: 1px dashed #999; padding-left: 20px;font-family: 'fangsong'"
  67. >
  68. <p>{{ message.address }}</p>
  69. </td>
  70. </tr>
  71. <tr class="JR_tr">
  72. <td class="JR_left" style="border-right: 1px dashed #fff;font-family: 'kaiti'">
  73. <p align="center">&nbsp;&nbsp;主持人:</p>
  74. </td>
  75. <td
  76. class="JR_right"
  77. align="left"
  78. style="border-left: 1px dashed #999; padding-left: 20px;font-family: 'fangsong'"
  79. >
  80. <p>{{ message.compereRen }}</p>
  81. </td>
  82. </tr>
  83. <tr class="JR_tr">
  84. <td class="JR_left" style="border-right: 1px dashed #fff;font-family: 'kaiti'">
  85. <p align="center">&nbsp;&nbsp;参加人:</p>
  86. </td>
  87. <td
  88. class="JR_right"
  89. align="left"
  90. style="border-left: 1px dashed #999; padding-left: 20px;font-family: 'fangsong'"
  91. >
  92. <p>{{ message.joinId }}</p>
  93. </td>
  94. </tr>
  95. <tr class="JR_tr">
  96. <td class="JR_left" style="border-right: 1px dashed #fff;font-family: 'kaiti'">
  97. <p align="center">&nbsp;&nbsp;列席人:</p>
  98. </td>
  99. <td
  100. class="JR_right"
  101. align="left"
  102. style="border-left: 1px dashed #999; padding-left: 20px;font-family: 'fangsong'"
  103. >
  104. <p>{{ message.peopleIds }}</p>
  105. </td>
  106. </tr>
  107. <tr class="JR_tr">
  108. <td class="JR_left" style="border-right: 1px dashed #fff;font-family: 'kaiti'">
  109. <p align="center">&nbsp;&nbsp;缺席人:</p>
  110. </td>
  111. <td
  112. class="JR_right"
  113. align="left"
  114. style="border-left: 1px dashed #999; padding-left: 20px;font-family: 'fangsong'"
  115. >
  116. <p>{{ message.absentIds }}</p>
  117. </td>
  118. </tr>
  119. <tr class="JR_tr">
  120. <td class="JR_left" style="border-right: 1px dashed #fff;font-family: 'kaiti'">
  121. <p align="center">&nbsp;&nbsp;记录人:</p>
  122. </td>
  123. <td
  124. class="JR_right"
  125. align="left"
  126. style="border-left: 1px dashed #999; padding-left: 20px;font-family: 'fangsong'"
  127. >
  128. <p>{{ message.peopleJiLu }}</p>
  129. </td>
  130. </tr>
  131. <tr class="JR_tr">
  132. <td class="JR_left" style="border-right: 1px dashed #fff;font-family: 'kaiti'">
  133. <p align="center">&nbsp;&nbsp;议 &nbsp;题:</p>
  134. </td>
  135. <td
  136. class="JR_right"
  137. align="left"
  138. style="border-left: 1px dashed #999; padding-left: 20px;font-family: 'fangsong'"
  139. v-html="message.title"
  140. >
  141. <!-- <p>{{ message.title }}</p> -->
  142. </td>
  143. </tr>
  144. <tr class="JR_tr">
  145. <td class="JR_left" style="border-right: none;font-family: 'kaiti'">
  146. <p align="center">&nbsp; 内 &nbsp;容:</p>
  147. </td>
  148. <td
  149. align="left"
  150. style="border-left: none; padding-left: 20px;font-family: 'fangsong'"
  151. class="JR_right"
  152. v-html="message.contents"
  153. ></td>
  154. </tr>
  155. </tbody>
  156. </table>
  157. <table
  158. border="1"
  159. style="
  160. border-collapse: collapse;
  161. border: none;
  162. mso-border-left-alt: 0.5pt solid windowtext;
  163. mso-border-top-alt: 0.5pt solid windowtext;
  164. mso-border-right-alt: 0.5pt solid windowtext;
  165. mso-border-bottom-alt: 0.5pt solid windowtext;
  166. mso-border-insideh: 0.5pt solid windowtext;
  167. mso-border-insidev: 0.5pt solid windowtext;
  168. mso-padding-alt: 0pt 0pt 0pt 0pt;
  169. "
  170. width="600"
  171. align="center"
  172. bordercolor="black"
  173. class="size"
  174. border-top="none"
  175. >
  176. <tbody>
  177. <tr class="JR_tr">
  178. <td
  179. colspan="2"
  180. class="JR_bottom"
  181. style="
  182. border-top: none;
  183. border-right: none;
  184. border-left: 1px solid black;
  185. font-family: 'heiti';
  186. "
  187. >
  188. <p style="text-align: right">主持人:</p>
  189. </td>
  190. <td style="width: 100px; border-top: none; border-left: none"></td>
  191. </tr>
  192. <tr class="JR_tr">
  193. <td
  194. colspan="2"
  195. class="JR_bottom"
  196. style="
  197. border-right: none;
  198. border-left: 1px solid black;
  199. font-family: 'heiti';
  200. "
  201. >
  202. <p style="text-align: right">记录人:</p>
  203. </td>
  204. <td style="width: 100px; border-left: none"></td>
  205. </tr>
  206. <tr class="JR_tr">
  207. <td
  208. colspan="2"
  209. class="JR_bottom"
  210. style="
  211. border-right: none;
  212. border-left: 1px solid black;
  213. font-family: 'heiti';
  214. "
  215. >
  216. <!--<p style=" text-align:right;padding-right: 10px;">    年  月  日</p>-->
  217. <p style="text-align: right">时间:</p>
  218. </td>
  219. <td style="width: 100px; border-left: none"></td>
  220. </tr>
  221. </tbody>
  222. </table>
  223. </div>
  224. </div>
  225. </template>
  226. <script>
  227. import { lookWord } from "@/utils/look_word.js";
  228. import "@/utils/lodJs.js";
  229. export default {
  230. name: "bdgleven",
  231. props: ["message"],
  232. data() {
  233. return {
  234. title: "团支部工作记录本",
  235. style:
  236. ".size{width:99%};.JR_tr {height: 40px;};.JR_left{border-right:none;width: 120px;font-size: 1.331em; font-family: '楷体_GB2312';};.JR_right{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right}",
  237. };
  238. },
  239. methods: {
  240. daochu() {
  241. lookWord(this.title, "#contents", this.style);
  242. },
  243. },
  244. };
  245. </script>
  246. <style scoped>
  247. tbody {
  248. color: #fff;
  249. text-align: center;
  250. }
  251. tr:last-child {
  252. border-bottom: 1px solid;
  253. }
  254. .box1 {
  255. position: absolute;
  256. right: 30px;
  257. top: 80px;
  258. border: 1px solid rgb(129, 130, 131);
  259. border-radius: 5px;
  260. }
  261. </style>