123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441 |
- <template>
- <div>
- <el-button class="box1" @click="daochu">导出</el-button>
- <div class="word" id="contents">
- <p
- style="
- text-align: center;
- color: black;
- font-size: 18pt;
- font-weight: 600;
- font-family: 'heiti';
- "
- >
- 食堂食谱表
- </p>
- <p
- style="
- font-size: 16px;
- font-weight: 500;
- margin-left: 10px;
- color: black;
- font-family: 'fangsong';
- "
- >
- 使用时间:{{ message.startTime }}——{{ message.endTime }}
- </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;
- margin-left: -20px;
- "
- width="960"
- bordercolor="black"
- >
- <colgroup>
- <col width="51" />
- <col width="58" />
- <col width="125" />
- <col width="130" />
- <col width="128" />
- <col width="130" />
- <col width="121" span="3" />
- </colgroup>
- <tbody style="font-size: 15px;font-weight: 500;">
- <tr height="45" class="JR_tr" style="font-family: 'fangsong'">
- <td colspan="2" align="center" class="JR_left" style="font-family: 'fangsong'">时间</td>
- <td width="111" align="center" class="JR_left" style="font-family: 'fangsong'">星期一</td>
- <td width="111" align="center" class="JR_left" style="font-family: 'fangsong'">星期二</td>
- <td width="111" align="center" class="JR_left" style="font-family: 'fangsong'">星期三</td>
- <td width="111" align="center" class="JR_left" style="font-family: 'fangsong'">星期四</td>
- <td width="111" align="center" class="JR_left" style="font-family: 'fangsong'">星期五</td>
- <td width="111" align="center" class="JR_left" style="font-family: 'fangsong'">星期六</td>
- <td width="111" align="center" class="JR_left" style="font-family: 'fangsong'">星期天</td>
- </tr>
- <tr height="45" class="JR_tr" style="font-family: 'fangsong'">
- <td width="99" rowspan="4" align="center" class="JR_left" style="font-family: 'fangsong'">早餐</td>
- <td width="70" rowspan="2" align="center" class="JR_left" style="font-family: 'fangsong'">主食</td>
- <td
- align="center"
- style="white-space: normal; height: 45"
- class="JR_right"
- >
- 炊事员:{{ message.cookbookRegistrations[0].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[6].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[12].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[18].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[24].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[30].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[36].peopleNames }}
- </td>
- </tr>
- <tr height="45" class="JR_tr" style="font-family: 'fangsong'">
- <td align="center" style="white-space: normal">
- {{ message.cookbookRegistrations[0].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal">
- {{ message.cookbookRegistrations[6].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal">
- {{ message.cookbookRegistrations[12].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal">
- {{ message.cookbookRegistrations[18].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal">
- {{ message.cookbookRegistrations[24].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal">
- {{ message.cookbookRegistrations[30].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal">
- {{ message.cookbookRegistrations[36].cookcategoryNames }}
- </td>
- </tr>
- <tr height="45" class="JR_tr" style="font-family: 'fangsong'">
- <td width="70" rowspan="2" align="center" class="JR_left" style="font-family: 'fangsong'">副食</td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[1].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[7].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[13].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[19].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[25].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[31].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[37].peopleNames }}
- </td>
- </tr>
- <tr height="45" class="JR_tr" style="font-family: 'fangsong'">
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[1].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[7].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[13].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[19].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[25].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[31].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[37].cookcategoryNames }}
- </td>
- </tr>
- <tr height="45" class="JR_tr" style="font-family: 'fangsong'">
- <td width="99" rowspan="4" align="center" class="JR_left" style="font-family: 'fangsong'">午餐</td>
- <td width="70" rowspan="2" align="center" class="JR_left" style="font-family: 'fangsong'">主食</td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[2].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[8].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[14].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[20].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[26].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[32].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[38].peopleNames }}
- </td>
- </tr>
- <tr height="45" class="JR_tr" style="font-family: 'fangsong'">
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[2].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[8].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[14].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[20].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[26].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[32].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[38].cookcategoryNames }}
- </td>
- </tr>
- <tr height="45" class="JR_tr" style="font-family: 'fangsong'">
- <td width="70" rowspan="2" align="center" class="JR_left" style="font-family: 'fangsong'">副食</td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[3].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[9].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[15].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[21].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[27].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[33].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[39].peopleNames }}
- </td>
- </tr>
- <tr height="45" class="JR_tr" style="font-family: 'fangsong'">
- <td align="center" style="white-space: normal">
- {{ message.cookbookRegistrations[3].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal">
- {{ message.cookbookRegistrations[9].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal">
- {{ message.cookbookRegistrations[15].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal">
- {{ message.cookbookRegistrations[21].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal">
- {{ message.cookbookRegistrations[27].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal">
- {{ message.cookbookRegistrations[33].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal">
- {{ message.cookbookRegistrations[39].cookcategoryNames }}
- </td>
- </tr>
- <tr height="45" class="JR_tr" style="font-family: 'fangsong'">
- <td width="99" rowspan="4" align="center" class="JR_left" style="font-family: 'fangsong'">晚餐</td>
- <td width="70" rowspan="2" align="center" class="JR_left" style="font-family: 'fangsong'">主食</td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[4].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[10].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[16].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[22].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[28].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[34].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[40].peopleNames }}
- </td>
- </tr>
- <tr height="45" class="JR_tr" style="font-family: 'fangsong'">
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[4].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[10].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[16].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[22].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[28].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[34].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[40].cookcategoryNames }}
- </td>
- </tr>
- <tr height="45" class="JR_tr" style="font-family: 'fangsong'">
- <td width="70" rowspan="2" align="center" class="JR_left" style="font-family: 'fangsong'">副食</td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[5].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[11].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[17].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[23].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[29].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[35].peopleNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- 炊事员:{{ message.cookbookRegistrations[41].peopleNames }}
- </td>
- </tr>
- <tr height="45" class="JR_tr" style="font-family: 'fangsong'">
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[5].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[11].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[17].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[23].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[29].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[35].cookcategoryNames }}
- </td>
- <td align="center" style="white-space: normal" class="JR_right">
- {{ message.cookbookRegistrations[41].cookcategoryNames }}
- </td>
- </tr>
- </tbody>
- <tr
- class="aaa"
- style="
- border: none;
- color: black;
- font-size: 16px;
- font-weight: 500;
- line-height: 30px;
- width: 960px;
- font-family: 'fangsong'
- "
- >
- <td
- colspan="4"
- align="left"
- style="border: none; line-height: 45px; width: 360px"
- >
- 单位领导:
- </td>
- <td
- colspan="3"
- align="left"
- style="border: none; line-height: 45px; width: 360px"
- >
- 经委会:
- </td>
- <td colspan="3" align="left" style="border: none; line-height: 45px">
- 制表:
- </td>
- </tr>
- </table>
- <!-- <div
- style="width: 100%; height: 50px; margin-top: 20px; color: black"
- class="bottom"
- >
- <span style="margin-left: 30px">单位领导:</span>
- <span style="margin-left: 35%">经委会:</span>
- <span style="margin-left: 318px">制表:</span>
- </div> -->
- </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{width: 120px;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}.bottom {font-size: 14px;display: flex;justify-content:center;}",
- };
- },
- methods: {
- daochu() {
- lookWord(this.title, "#contents", this.style, true);
- },
- },
- };
- </script>
- <style scoped>
- tbody {
- border: black;
- color: black;
- 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;
- }
- .bottom {
- font-size: 14px;
- display: flex;
- justify-content: center;
- }
- </style>
|