123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- <template>
- <div>
- <el-button class="box1" @click="daochu">导出</el-button>
- <div id="contents">
- <p
- style="
- text-align: center;
- margin-top: 10px;
- font-size: 20px;
- font-weight: 600;
- color: black;
- "
- id="qTitle"
- >
- 20XX年X月份第X周工作安排表
- </p>
- <div style="width: 100%; height: 30px; margin-top: 10px; color: black">
- <span style="margin-left: 5%">连值班领导:顶级分类 </span>
- <span style="margin-left: 25%">电话: </span>
- <span style="margin-left: 20%" id="qtime"
- >(2022年03月09日-2022年03月09日)</span
- >
- </div>
- <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="940"
- align="center"
- bordercolor="black"
- >
- <tbody>
- <tr class="JR_tr">
- <td align="center" valign="center" colspan="3" class="JR_left">
- <p align="center">日期</p>
- </td>
- <td valign="center" class="JR_left">
- <p align="center">内容</p>
- </td>
- <td valign="center" class="JR_left">
- <p align="center">负责单位</p>
- </td>
- <td valign="center" class="JR_left">
- <p align="center">参加人员</p>
- </td>
- <td valign="center" class="JR_left">
- <p align="center">地点</p>
- </td>
- <td valign="center" class="JR_left">
- <p align="center">时间</p>
- </td>
- </tr>
- <tr
- class="JR_tr"
- v-for="(item, i) in message.bdglWeekworkRegisterList"
- :key="i"
- style="text-align: center; height: 45px"
- >
- <td style="text-align: center" rowspan="2" class="JR_right">
- {{ item.week }}
- </td>
- <td style="text-align: center" rowspan="2" class="JR_right">
- {{ item.time }}
- </td>
- <td style="text-align: center" rowspan="2" class="JR_right">
- {{ item.dateline }}
- </td>
- <td style="text-align: center" rowspan="2" class="JR_right">
- {{ item.contents }}
- </td>
- <td style="text-align: center" rowspan="2" class="JR_right">
- {{ item.unitId1 }}
- </td>
- <td style="text-align: center" rowspan="2" class="JR_right">
- {{ item.peopleIds }}
- </td>
- <td style="text-align: center" rowspan="2" class="JR_right">
- {{ item.address }}
- </td>
- <td style="text-align: center" rowspan="2" class="JR_right">
- {{ item.startTime }}—{{ item.endTime }}
- </td>
- </tr>
- <tr></tr>
- <tr class="JR_tr">
- <td valign="center" class="JR_left">
- <p align="center">备注</p>
- </td>
- <td valign="center" colspan="7" class="JR_right">
- {{ message.remark }}
- </td>
- </tr>
- </tbody>
- </table>
- <!-- <p >军事主官:顶级分类 政治主官:顶级分类 时间:2022-03-09 </p> -->
- <div style="width: 100%; height: 50px; margin-top: 10px; color: black">
- <span style="margin-left: 30px">军事主官:顶级分类 </span>
- <span style="margin-left: 30%">政治主官:顶级分类 </span>
- <span style="margin-left: 232px">时间:2022-03-09</span>
- </div>
- </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:
- ".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, 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>
|