123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255 |
- <template>
- <div>
- <el-button class="box1" @click="daochu">导出</el-button>
- <div id="contents">
- <p
- style="
- text-align: center;
- margin-top: 10px;
- font-size: 16pt;
- font-weight: 600;
- color: black;
- font-family: 'heiti';
- "
- id="qTitle"
- >
- 《周工作安排表》
- </p>
- <!-- <div style="width: 100%; height: 30px; margin-top: 10px; color: black">
- <span style="margin-left: 5%"
- >连值班领导:{{ message.peopleName }} </span
- >
- <span style="margin-left: 25%">电话:{{ message.phone }} </span>
- <span style="margin-left: 20%" id="qtime"
- >{{ message.startTime }}———{{ message.endTime }}</span
- >
- </div> -->
- <table
- class="b1"
- 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="930"
- align="center"
- bordercolor="black"
- >
- <tr
- class="JR_tr"
- style="
- border: none;
- color: black;
- font-size: 16px;
- font-weight: 500;
- line-height: 30px;
- width: 930px;
- font-family: 'kaiti';
- "
- >
- <td
- class="JR_left"
- colspan="3"
- align="left"
- style="border: none; line-height: 45px"
- >
- 连值班领导:{{ message.peopleName }}
- </td>
- <td
- class="JR_left"
- colspan="1"
- align="left"
- style="border: none; line-height: 45px; padding-left: 27px"
- >
- 电话:{{ message.phone }}
- </td>
- <td
- class="JR_left"
- colspan="4"
- align="left"
- style="border: none; line-height: 45px; padding-left:36px;text-align:right"
- >
- {{ message.startTime | dataFormaty }}—{{
- message.endTime | dataFormaty
- }}
- </td>
- </tr>
- <tbody style="font-size: 16px; font-weight: 500">
- <tr
- class="JR_tr"
- style="font-size: 16px; font-weight: 500; font-family: 'heiti'"
- >
- <td align="center" valign="center" colspan="3" class="JR_left">
- <p align="center" style="font-family: 'heiti'">日期</p>
- </td>
- <td valign="center" class="JR_left">
- <p align="center" style="font-family: 'heiti'">内容</p>
- </td>
- <td valign="center" class="JR_left">
- <p align="center" style="font-family: 'heiti'">负责单位</p>
- </td>
- <td valign="center" class="JR_left">
- <p align="center" style="font-family: 'heiti'">参加人员</p>
- </td>
- <td valign="center" class="JR_left">
- <p align="center" style="font-family: 'heiti'">地点</p>
- </td>
- <td valign="center" class="JR_left">
- <p align="center" style="font-family: 'heiti'">时间</p>
- </td>
- </tr>
- <tr
- class="JR_tr"
- v-for="(item, i) in message.bdglWeekworkRegisterList"
- :key="i"
- style="text-align: center; height: 45px; font-family: 'fangsong'"
- >
- <td style="text-align: center;width:80px" rowspan="1" class="JR_right">
- {{ item.week }}
- </td>
- <td style="text-align: center;width:100px" rowspan="1" class="JR_right">
- {{ item.time }}
- </td>
- <td style="text-align: center;width:70px" rowspan="1" class="JR_right">
- {{ item.dateline }}
- </td>
- <td style="text-align: center" rowspan="1" class="JR_right">
- {{ item.contents }}
- </td>
- <td style="text-align: center;width:110px" rowspan="1" class="JR_right">
- {{ item.unitId1 }}
- </td>
- <td style="text-align: center;width:60px" rowspan="1" class="JR_right">
- {{ item.peopleIds }}
- </td>
- <td style="text-align: center;width:60px" rowspan="1" class="JR_right">
- {{ item.address }}
- </td>
- <td style="text-align: center;width:110px" rowspan="1" class="JR_right">
- {{ item.startTime }}—{{ item.endTime }}
- </td>
- </tr>
- <tr class="JR_tr">
- <td valign="center" class="JR_left" style="font-family: 'songti'">
- <p align="center">备注</p>
- </td>
- <td
- valign="center"
- colspan="7"
- class="JR_right"
- style="font-family: 'fangsong'"
- >
- {{ message.remark }}
- </td>
- </tr>
- </tbody>
- <tr
- style="
- border: none;
- color: black;
- font-size: 16px;
- font-weight: 500;
- line-height: 30px;
- width: 930px;
- font-family: 'fangsong';
- "
- >
- <td
- class="JR_left"
- colspan="3"
- align="left"
- style="
- border: none;
- line-height: 70px;
- width: 360px;
- font-family: 'fangsong';
- padding-left: 19px;
- "
- >
- 军事主官:{{ message.people1Name }}
- </td>
- <td
- colspan="1"
- style="
- border: none;
- line-height: 45px;
- width: 360px;
- font-family: 'fangsong';
- "
- ></td>
- <td
- class="JR_left"
- colspan="3"
- align="left"
- style="
- border: none;
- line-height: 45px;
- width: 360px;
- font-family: 'fangsong';
- "
- >
- 政治主官:{{ message.people2Name }}
- </td>
- <td
- class="JR_left"
- colspan="3"
- align="left"
- style="border: none; line-height: 45px; font-family: 'fangsong'"
- >
- <!-- 时间: {{ message.startTime | dataFormaty }}—{{
- message.endTime | dataFormaty
- }} -->
- </td>
- </tr>
- </table>
- </div>
- </div>
- </template>
- <script>
- //引入lookWord
- import { lookWord } from "@/utils/look_word.js";
- import "@/utils/lodJs.js";
- export default {
- name: "bdgleven",
- props: ["message"],
- data() {
- return {
- title: "周工作安排表",
- style:
- ".b1{width:860px !important};.JR_tr {height: 40px;};.JR_left{text-align:center;font-size: 1.231em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.131em; 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, true);
- },
- },
- };
- </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>
|