bdgldrill.vue 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  1. <template>
  2. <div>
  3. <el-button class="box1" @click="daochu">导出</el-button>
  4. <div class="word" id="contents">
  5. <!-- <div class="fTitle">大队连务会记录本</div> -->
  6. <p
  7. style="
  8. font-size: 16pt;
  9. font-weight: 600;
  10. margin-botttom: 30px;
  11. color: black;
  12. font-family: 'heiti'
  13. "
  14. >
  15. 《军事训练登记簿》
  16. </p>
  17. <p
  18. style="
  19. font-size: 16pt;
  20. font-weight: 600;
  21. color: black;
  22. text-align: center;
  23. margin-bottom: 5px;
  24. font-family: 'heiti'
  25. "
  26. >
  27. <span class="a1">月</span> 日军事训练登记表
  28. </p>
  29. <table
  30. border="1"
  31. style="
  32. border-collapse: collapse;
  33. border: none;
  34. mso-border-left-alt: 0.5pt solid windowtext;
  35. mso-border-top-alt: 0.5pt solid windowtext;
  36. mso-border-right-alt: 0.5pt solid windowtext;
  37. mso-border-bottom-alt: 0.5pt solid windowtext;
  38. mso-border-insideh: 0.5pt solid windowtext;
  39. mso-border-insidev: 0.5pt solid windowtext;
  40. mso-padding-alt: 0pt 0pt 0pt 0pt;
  41. margin-left: -20px;
  42. "
  43. width="960"
  44. bordercolor="black"
  45. >
  46. <tbody style="font-size: 16px;font-weight: 500;">
  47. <tr class="JR_tr">
  48. <th width="101" nowrap="" rowspan="2" class="JR_left">
  49. <p align="center" style="margin: 20px 0;font-family: 'heiti'">训练类别</p>
  50. </th>
  51. <th width="113" nowrap="" rowspan="2" class="JR_left">
  52. <p align="center" style="margin: 20px 0;font-family: 'heiti'">训练内容</p>
  53. </th>
  54. <th width="120" rowspan="2" class="JR_left">
  55. <p align="center" style="margin: 20px 0;font-family: 'heiti'">训练时间</p>
  56. </th>
  57. <th width="85" nowrap="" rowspan="2" class="JR_left">
  58. <p align="center" style="margin: 20px 0;font-family: 'heiti'">训练地点</p>
  59. </th>
  60. <th width="114" nowrap="" colspan="2" class="JR_left">
  61. <p align="center" style="margin: 5px 0;font-family: 'heiti'">参训兵力</p>
  62. </th>
  63. <th width="68" rowspan="2" class="JR_left">
  64. <p align="center" style="margin: 20px 0;font-family: 'heiti'">参训率</p>
  65. </th>
  66. <th width="115" nowrap="" rowspan="2" class="JR_left">
  67. <p align="center" style="margin: 20px 0;font-family: 'heiti'">效果(成绩)</p>
  68. </th>
  69. <th width="104" nowrap="" rowspan="2" class="JR_left">
  70. <p align="center" style="margin: 20px 0;font-family: 'heiti'">消耗</p>
  71. </th>
  72. <th width="70" nowrap="" rowspan="2" class="JR_left">
  73. <p align="center" style="margin: 20px 0;font-family: 'heiti'">备注</p>
  74. </th>
  75. </tr>
  76. <tr class="JR_tr">
  77. <th width="57" nowrap="" class="JR_left">
  78. <p align="center" style="font-family: 'heiti'">应训</p>
  79. </th>
  80. <th width="57" class="JR_left"><p align="center" style="font-family: 'heiti'">实训</p></th>
  81. </tr>
  82. <tr class="JR_tr">
  83. <td width="101" class="JR_right">
  84. <p align="center" style="margin: 10px 0;font-family: 'fangsong'">
  85. {{ message.project }}
  86. <!-- <span style="display: none">111</span> -->
  87. </p>
  88. </td>
  89. <td width="113" class="JR_right">
  90. <p align="center" style="font-family: 'fangsong'">{{ message.contents }}</p>
  91. </td>
  92. <!--<td width="85"><p align="center">2021-12-15</p></td>-->
  93. <td width="85" class="JR_right">
  94. <p align="center" style="margin: 10px 0;font-family: 'fangsong'">
  95. {{ message.drillTime }}
  96. <!-- <span style="display: none"></span> -->
  97. </p>
  98. </td>
  99. <td width="85" class="JR_right">
  100. <p align="center" style="margin: 10px 0;font-family: 'fangsong'">{{ message.address }}</p>
  101. </td>
  102. <td width="57" class="JR_right">
  103. <p align="center" style="margin: 10px 0;font-family: 'fangsong'">{{ message.oughtTo }}</p>
  104. </td>
  105. <td width="57" class="JR_right">
  106. <p align="center" style="margin: 10px 0;font-family: 'fangsong'">{{ message.actual }}</p>
  107. </td>
  108. <td width="68" nowrap="" class="JR_right">
  109. <p align="center" style="margin: 10px 0;font-family: 'fangsong'">
  110. {{ message.probability }}
  111. </p>
  112. </td>
  113. <td width="104" nowrap="" class="JR_right">
  114. <p align="center" style="margin: 10px 0;font-family: 'fangsong'">{{ message.result }}</p>
  115. </td>
  116. <td width="104" nowrap="" class="JR_right">
  117. <p align="center" style="margin: 10px 0;font-family: 'fangsong'">{{ message.expend }}</p>
  118. </td>
  119. <td width="83" nowrap="" class="JR_right">
  120. <p align="center" style="margin: 10px 0;font-family: 'fangsong'">{{ message.remark }}</p>
  121. </td>
  122. </tr>
  123. <tr class="JR_tr">
  124. <td width="101" height="45px" class="JR_right">
  125. <p align="center" style="margin: 10px 0">
  126. <span style="display: none">111</span>
  127. </p>
  128. </td>
  129. <td width="113" class="JR_right">
  130. <p align="center" style="margin: 10px 0"></p>
  131. </td>
  132. <!--<td width="85"><p align="center">2021-12-15</p></td>-->
  133. <td width="85" class="JR_right">
  134. <p align="center" style="margin: 10px 0"></p>
  135. </td>
  136. <td width="85" class="JR_right">
  137. <p align="center" style="margin: 10px 0"></p>
  138. </td>
  139. <td width="57" class="JR_right">
  140. <p align="center" style="margin: 10px 0"></p>
  141. </td>
  142. <td width="57" class="JR_right">
  143. <p align="center" style="margin: 10px 0"></p>
  144. </td>
  145. <td width="68" nowrap="" class="JR_right">
  146. <p align="center" style="margin: 10px 0"></p>
  147. </td>
  148. <td width="104" nowrap="" class="JR_right">
  149. <p align="center" style="margin: 10px 0"></p>
  150. </td>
  151. <td width="104" nowrap="" class="JR_right">
  152. <p align="center" style="margin: 10px 0"></p>
  153. </td>
  154. <td width="83" nowrap="" class="JR_right">
  155. <p align="center" style="margin: 10px 0"></p>
  156. </td>
  157. </tr>
  158. <tr class="JR_tr">
  159. <td width="101" height="45px" class="JR_right">
  160. <p align="center" style="margin: 10px 0">
  161. <span style="display: none">111</span>
  162. </p>
  163. </td>
  164. <td width="113" class="JR_right">
  165. <p align="center" style="margin: 10px 0"></p>
  166. </td>
  167. <!--<td width="85"><p align="center">2021-12-15</p></td>-->
  168. <td width="85" class="JR_right">
  169. <p align="center" style="margin: 10px 0"></p>
  170. </td>
  171. <td width="85" class="JR_right">
  172. <p align="center" style="margin: 10px 0"></p>
  173. </td>
  174. <td width="57" class="JR_right">
  175. <p align="center" style="margin: 10px 0"></p>
  176. </td>
  177. <td width="57" class="JR_right">
  178. <p align="center" style="margin: 10px 0"></p>
  179. </td>
  180. <td width="68" nowrap="" class="JR_right">
  181. <p align="center" style="margin: 10px 0"></p>
  182. </td>
  183. <td width="104" nowrap="" class="JR_right">
  184. <p align="center" style="margin: 10px 0"></p>
  185. </td>
  186. <td width="104" nowrap="" class="JR_right">
  187. <p align="center" style="margin: 10px 0"></p>
  188. </td>
  189. <td width="83" nowrap="" class="JR_right">
  190. <p align="center" style="margin: 10px 0"></p>
  191. </td>
  192. </tr>
  193. <tr class="JR_tr">
  194. <td width="101" height="45px" class="JR_right">
  195. <p align="center" style="margin: 10px 0">
  196. <span style="display: none">111</span>
  197. </p>
  198. </td>
  199. <td width="113"><p align="center" style="margin: 10px 0"></p></td>
  200. <!--<td width="85"><p align="center">2021-12-15</p></td>-->
  201. <td width="85" class="JR_right">
  202. <p align="center" style="margin: 10px 0"></p>
  203. </td>
  204. <td width="85" class="JR_right">
  205. <p align="center" style="margin: 10px 0"></p>
  206. </td>
  207. <td width="57" class="JR_right">
  208. <p align="center" style="margin: 10px 0"></p>
  209. </td>
  210. <td width="57" class="JR_right">
  211. <p align="center" style="margin: 10px 0"></p>
  212. </td>
  213. <td width="68" nowrap="" class="JR_right">
  214. <p align="center" style="margin: 10px 0"></p>
  215. </td>
  216. <td width="104" nowrap="" class="JR_right">
  217. <p align="center" style="margin: 10px 0"></p>
  218. </td>
  219. <td width="104" nowrap="" class="JR_right">
  220. <p align="center" style="margin: 10px 0"></p>
  221. </td>
  222. <td width="83" nowrap="" class="JR_right">
  223. <p align="center" style="margin: 10px 0"></p>
  224. </td>
  225. </tr>
  226. </tbody>
  227. </table>
  228. <div
  229. style="
  230. font-size: 14pt;
  231. font-weight: 900;
  232. margin: 10px 50px 20px 700px;
  233. color: black;
  234. font-family: 'heiti'
  235. "
  236. >
  237. 军事主管:{{message.peopleName}}
  238. </div>
  239. </div>
  240. </div>
  241. </template>
  242. <script>
  243. import { lookWord } from "@/utils/look_word.js";
  244. import "@/utils/lodJs.js";
  245. export default {
  246. name: "bdgleven",
  247. props: ["message"],
  248. data() {
  249. return {
  250. title: "军事训练登记簿",
  251. style:
  252. ".JR_tr {height: 40px;};.JR_left{font-size: 1.331em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.331em; font-family: 仿宋_GB2312;};.JR_bottom{ font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right},",
  253. };
  254. },
  255. methods: {
  256. daochu() {
  257. lookWord(this.title, "#contents", this.style, true);
  258. },
  259. },
  260. };
  261. </script>
  262. <style scoped>
  263. tbody {
  264. color: #fff;
  265. text-align: center;
  266. }
  267. tr:last-child {
  268. border-bottom: 1px solid;
  269. }
  270. .a1 {
  271. margin-right: 30px;
  272. }
  273. .box1 {
  274. position: absolute;
  275. right: 30px;
  276. top: 80px;
  277. border: 1px solid rgb(129, 130, 131);
  278. border-radius: 5px;
  279. }
  280. </style>