<template>
  <div>
    <el-button class="box1" @click="daochu">导出</el-button>
    <div class="word" id="contents">
      <p
        style="
          font-size: 16pt;
          font-weight: 600;
          margin-botttom: 30px;
          color: black;
          text-align: center;
          font-family: 'heiti'
        "
      >
        《军人委员会工作记录本》
      </p>
      <table
        border="1"
        style="
          border-collapse: collapse;
          border: none;
          mso-border-left-alt: 0.5pt solid windowtext;
          mso-border-top-alt: 0.5pt solid windowtext;
          mso-border-right-alt: 0.5pt solid windowtext;
          mso-border-bottom-alt: 0.5pt solid windowtext;
          mso-border-insideh: 0.5pt solid windowtext;
          mso-border-insidev: 0.5pt solid windowtext;
          mso-padding-alt: 0pt 0pt 0pt 0pt;
        "
        width="500"
        align="center"
        bordercolor="black"
      >
        <tbody style="font-size: 16px;font-weight: 500;">
          <tr class="JR_tr">
            <th class="" colspan="2" style="font-family: 'kaiti'">
              <p align="center" style="font-size: 18px;font-weight: 500;font-family: 'kaiti'">军人委员会会议</p>
            </th>
          </tr>
          <tr class="JR_tr">
            <td
              align="center"
              width="120"
              class="JR_left"
              style="border-right: 0;font-family: 'kaiti'"
              
            >
              <p align="center">&nbsp;&nbsp;&nbsp;&nbsp;时 &nbsp;间：</p>
            </td>
            <td align="left" class="JR_right" style="border-left: 0;font-family: 'fangsong'">
              <p>{{ message.convokeTime }}</p>
            </td>
          </tr>
          <tr class="JR_tr">
            <td class="JR_left" style="border-right: 0;font-family: 'kaiti'">
              <p align="center">&nbsp;&nbsp;&nbsp;&nbsp;地 &nbsp;点：</p>
            </td>
            <td align="left" class="JR_right" style="border-left: 0;font-family: 'fangsong'">
              <p>{{ message.address }}</p>
            </td>
          </tr>
          <tr class="JR_tr">
            <td class="JR_left" style="border-right: 0;font-family: 'kaiti'">
              <p align="center">&nbsp;&nbsp;&nbsp;&nbsp;主持人：</p>
            </td>
            <td align="left" class="JR_right" style="border-left: 0;font-family: 'fangsong'">
              <p>{{ message.compereRen }}</p>
            </td>
          </tr>
          <tr class="JR_tr">
            <td class="JR_left" style="border-right: 0;font-family: 'kaiti'">
              <p align="center">&nbsp;&nbsp;&nbsp;&nbsp;参加人：</p>
            </td>
            <td align="left" class="JR_right" style="border-left: 0;font-family: 'fangsong'">
              <p>{{ message.joinId }}</p>
            </td>
          </tr>
          <tr class="JR_tr">
            <td class="JR_left" style="border-right: 0;font-family: 'kaiti'">
              <p align="center">&nbsp;&nbsp;&nbsp;&nbsp;列席人：</p>
            </td>
            <td align="left" class="JR_right" style="border-left: 0;font-family: 'fangsong'">
              <p>{{ message.peopleIds }}</p>
            </td>
          </tr>
          <tr class="JR_tr">
            <td class="JR_left" style="border-right: 0;font-family: 'kaiti'">
              <p align="center">&nbsp;&nbsp;&nbsp;&nbsp;缺席人：</p>
            </td>
            <td align="left" class="JR_right" style="border-left: 0;font-family: 'fangsong'">
              <p>{{ message.absentIds }}</p>
            </td>
          </tr>
          <tr class="JR_tr">
            <td class="JR_left" style="border-right: 0;font-family: 'kaiti'">
              <p align="center">&nbsp;&nbsp;&nbsp;&nbsp;记录人：</p>
            </td>
            <td align="left" class="JR_right" style="border-left: 0;font-family: 'fangsong'">
              <p>{{ message.peopleJiLu }}</p>
            </td>
          </tr>
          <tr class="JR_tr">
            <td class="JR_left" style="border-right: 0;font-family: 'kaiti'">
              <p align="center">&nbsp;&nbsp;&nbsp;议 &nbsp;题：</p>
            </td>
            <td
              align="left"
              class="JR_right"
              style="border-left: 0;font-family: 'fangsong'"
              v-html="message.title"
            >
              <!-- <p>{{ message.title }}</p> -->
            </td>
          </tr>

          <tr class="JR_tr">
            <td class="JR_left" style="border-right: 0;font-family: 'kaiti'">
              <p align="center">&nbsp;&nbsp; 内 &nbsp;容：</p>
            </td>
            <td class="TableData" style="border-left: 0"></td>
          </tr>
          <tr align="left" class="JR_tr">
            <td
              colspan="2"
              class="JR_right"
              v-html="message.contents"
              style="
                text-indent: 30px;
                padding: 0px 10px;
                border: 1px solid black;
                font-family: 'fangsong'
              "
            ></td>
          </tr>

          <tr class="JR_tr">
            <td colspan="2" class="TableData" style="border: 1px solid black">
              <p
                class="JR_bottom"
                style="text-align: right; padding-right: 80px;font-family: 'fangsong'"
              >
                主持人：
              </p>
            </td>
          </tr>
          <tr class="JR_tr">
            <td colspan="2" class="TableData" style="border: 1px solid black">
              <p
                class="JR_bottom"
                style="text-align: right; padding-right: 80px;font-family: 'fangsong'"
              >
                记录人：
              </p>
            </td>
          </tr>
          <tr class="JR_tr">
            <td colspan="2" class="" style="border: 1px solid black">
              <p style="text-align: right; padding-right: 80px;font-family: 'fangsong'">时间：</p>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
</template>
<script>
import { lookWord } from "@/utils/look_word.js";
import "@/utils/lodJs.js";
export default {
  name: "bdgleven",
  props: ["message"],
  data() {
    return {
      title: "军人委员会",
      style:
        ".JR_tr {height: 40px;};.JR_left{text-align:center;font-size: 1.331em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.331em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right}",
    };
  },
  methods: {
    daochu() {
      lookWord(this.title, "#contents", this.style);
    },
  },
};
</script>
<style scoped>
tbody {
  color: #fff;
  text-align: center;
}
tr:last-child {
  border-bottom: 1px solid;
}
.box1 {
  position: absolute;
  right: 30px;
  top: 80px;
  border: 1px solid rgb(129, 130, 131);
  border-radius: 5px;
}
</style>