|
@@ -2,23 +2,90 @@
|
|
|
<div class="box">
|
|
|
<el-button class="box1" @click="daochu">导出</el-button>
|
|
|
<div class="word" id="contents">
|
|
|
- <div class="title" style=" font-size: 16pt;font-weight: 600;text-align: center;margin-bottom: 10px;">
|
|
|
+ <div
|
|
|
+ class="title"
|
|
|
+ style="
|
|
|
+ font-size: 16pt;
|
|
|
+ font-weight: 600;
|
|
|
+ text-align: center;
|
|
|
+ margin-bottom: 10px;
|
|
|
+ "
|
|
|
+ >
|
|
|
《{{ title }}》
|
|
|
</div>
|
|
|
- <table>
|
|
|
+ <table
|
|
|
+ border="0"
|
|
|
+ style="
|
|
|
+ width: 585px;
|
|
|
+ color: black;
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 500;
|
|
|
+ border: 0;
|
|
|
+ "
|
|
|
+ id="b1"
|
|
|
+ >
|
|
|
+ <tr style="border: 0; font-family: '宋体'">
|
|
|
+ <td style="border: 0; width: 173px" align="center">
|
|
|
+ {{ message.blogDate | dataFormats }}
|
|
|
+ </td>
|
|
|
+ <td style="border: 0; font-family: '宋体'" align="left">
|
|
|
+ <span>{{ message.week }}</span>
|
|
|
+ 天气:<span>{{ message.weather }}</span>
|
|
|
+ </td>
|
|
|
+ <td
|
|
|
+ style="border: 0; font-family: '宋体'; width: 127px"
|
|
|
+ align="center"
|
|
|
+ >
|
|
|
+ 值班员:
|
|
|
+ <span>{{ message.peopleName }}</span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+
|
|
|
+ <table
|
|
|
+ style="
|
|
|
+ margin-bottom: 30px;
|
|
|
+ border-collapse: collapse;
|
|
|
+ table-layout: fixed;
|
|
|
+ text-align: center;
|
|
|
+ color: black !important;
|
|
|
+ "
|
|
|
+ id="b2"
|
|
|
+ >
|
|
|
<tr class="JR_tr" align="center" style="font-family: '宋体'">
|
|
|
- <td colspan="2" rowspan="2" class="JR_left" style="font-family: '宋体'">
|
|
|
+ <td
|
|
|
+ colspan="2"
|
|
|
+ rowspan="2"
|
|
|
+ class="JR_left"
|
|
|
+ style="font-family: '宋体'"
|
|
|
+ >
|
|
|
实力
|
|
|
</td>
|
|
|
- <td colspan="6" height="33" style="letter-spacing: 10px; font-family: '宋体'" class="JR_left">
|
|
|
+ <td
|
|
|
+ colspan="6"
|
|
|
+ height="33"
|
|
|
+ style="letter-spacing: 10px; font-family: '宋体'"
|
|
|
+ class="JR_left"
|
|
|
+ >
|
|
|
编制人数
|
|
|
</td>
|
|
|
- <td colspan="6" style="letter-spacing: 10px; font-family: '宋体'" class="JR_left">
|
|
|
+ <td
|
|
|
+ colspan="6"
|
|
|
+ style="letter-spacing: 10px; font-family: '宋体'"
|
|
|
+ class="JR_left"
|
|
|
+ >
|
|
|
现有人数
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="JR_tr" align="center">
|
|
|
- <td class="JR_left" height="33" width="46" style="font-family: '宋体'">干部</td>
|
|
|
+ <td
|
|
|
+ class="JR_left"
|
|
|
+ height="33"
|
|
|
+ width="46"
|
|
|
+ style="font-family: '宋体'"
|
|
|
+ >
|
|
|
+ 干部
|
|
|
+ </td>
|
|
|
<td class="JR_left" width="46" style="font-family: '仿宋_GB2312'">
|
|
|
{{ message.orgcadre }}
|
|
|
</td>
|
|
@@ -64,15 +131,30 @@
|
|
|
况
|
|
|
</p>
|
|
|
</td>
|
|
|
- <td rowspan="2" width="51" class="JR_left" style="font-family: '宋体'">
|
|
|
+ <td
|
|
|
+ rowspan="2"
|
|
|
+ width="51"
|
|
|
+ class="JR_left"
|
|
|
+ style="font-family: '宋体'"
|
|
|
+ >
|
|
|
区<br />
|
|
|
分
|
|
|
</td>
|
|
|
- <td colspan="9" rowspan="2" style="letter-spacing: 20px; font-family: '宋体'" class="JR_left"
|
|
|
- align="center">
|
|
|
+ <td
|
|
|
+ colspan="9"
|
|
|
+ rowspan="2"
|
|
|
+ style="letter-spacing: 20px; font-family: '宋体'"
|
|
|
+ class="JR_left"
|
|
|
+ align="center"
|
|
|
+ >
|
|
|
内容
|
|
|
</td>
|
|
|
- <td colspan="3" class="JR_left" height="22" style="font-family: '宋体'">
|
|
|
+ <td
|
|
|
+ colspan="3"
|
|
|
+ class="JR_left"
|
|
|
+ height="22"
|
|
|
+ style="font-family: '宋体'"
|
|
|
+ >
|
|
|
人数
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -82,11 +164,22 @@
|
|
|
<td class="JR_left" width="52" style="font-family: '宋体'">到课率</td>
|
|
|
</tr>
|
|
|
<tr v-for="(item, i) in message.contextData" :key="i + ' '">
|
|
|
- <td height="88">{{item.dateline}}</td>
|
|
|
- <td align="left" colspan="9" v-html="aaa(item.contents)"></td>
|
|
|
- <td>{{item.shouldArrive}}</td>
|
|
|
- <td>{{item.realTo}}</td>
|
|
|
- <td>{{bbb(item.percentage)}}</td>
|
|
|
+ <td height="88">{{ item.dateline }}</td>
|
|
|
+ <td align="left" colspan="9">
|
|
|
+ <p v-html="aaa(item.contents)" style="margin-left: 7px"></p>
|
|
|
+ </td>
|
|
|
+ <td>{{ item.shouldArrive }}</td>
|
|
|
+ <td>{{ item.realTo }}</td>
|
|
|
+ <td>{{ bbb(item.percentage) }}</td>
|
|
|
+ </tr>
|
|
|
+ <tr v-for="(item, i) in meiShuJu" :key="i + ' '">
|
|
|
+ <td height="88">{{ item.dateline }}</td>
|
|
|
+ <td align="left" colspan="9">
|
|
|
+ <p style="margin-left: 7px"></p>
|
|
|
+ </td>
|
|
|
+ <td></td>
|
|
|
+ <td></td>
|
|
|
+ <td></td>
|
|
|
</tr>
|
|
|
<!-- 公差勤务 -->
|
|
|
<tr class="JR_tr" height="45">
|
|
@@ -95,8 +188,13 @@
|
|
|
公差勤务
|
|
|
</p>
|
|
|
</td>
|
|
|
- <td align="left" style="font-family: '仿宋_GB2312'" colspan="12" class="JR_right" v-html="message.tolerance">
|
|
|
- </td>
|
|
|
+ <td
|
|
|
+ align="left"
|
|
|
+ style="font-family: '仿宋_GB2312'"
|
|
|
+ colspan="12"
|
|
|
+ class="JR_right"
|
|
|
+ v-html="message.tolerance"
|
|
|
+ ></td>
|
|
|
</tr>
|
|
|
<!-- 人员装备变动 -->
|
|
|
<tr class="JR_tr" height="61">
|
|
@@ -106,14 +204,19 @@
|
|
|
装备变动
|
|
|
</p>
|
|
|
</td>
|
|
|
- <td align="left" style="font-family: '仿宋_GB2312'" colspan="12" class="JR_right" height="56"
|
|
|
- v-html="message.transfer">
|
|
|
- </td>
|
|
|
+ <td
|
|
|
+ align="left"
|
|
|
+ style="font-family: '仿宋_GB2312'"
|
|
|
+ colspan="12"
|
|
|
+ class="JR_right"
|
|
|
+ height="56"
|
|
|
+ v-html="message.transfer"
|
|
|
+ ></td>
|
|
|
</tr>
|
|
|
<!-- 武器装备检查情况 -->
|
|
|
<tr class="JR_tr" height="207">
|
|
|
<td rowspan=":count($xlian)" colspan="2" class="JR_left">
|
|
|
- <p align="center" style="font-family: '宋体';">
|
|
|
+ <p align="center" style="font-family: '宋体'">
|
|
|
武 、 <br />
|
|
|
器 内 <br />
|
|
|
装 务 <br />
|
|
@@ -125,11 +228,25 @@
|
|
|
纪 况<br />
|
|
|
</p>
|
|
|
</td>
|
|
|
- <td align="left" style="font-family: '仿宋_GB2312'" colspan="12" class="JR_right" v-html="message.internal">
|
|
|
- </td>
|
|
|
+ <td
|
|
|
+ align="left"
|
|
|
+ style="font-family: '仿宋_GB2312'"
|
|
|
+ colspan="12"
|
|
|
+ class="JR_right"
|
|
|
+ v-html="message.internal"
|
|
|
+ ></td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
- <table>
|
|
|
+
|
|
|
+ <table
|
|
|
+ style="
|
|
|
+ border-collapse: collapse;
|
|
|
+ table-layout: fixed;
|
|
|
+ text-align: center;
|
|
|
+ color: black !important;
|
|
|
+ "
|
|
|
+ id="b2"
|
|
|
+ >
|
|
|
<!-- 查铺查哨 -->
|
|
|
<tr class="JR_tr" style="font-family: '宋体'">
|
|
|
<td :rowspan="chapu.rowspan" class="JR_left" width="57">
|
|
@@ -153,12 +270,20 @@
|
|
|
<span align="center" style="font-family: '宋体'">卫兵姓名</span>
|
|
|
</td>
|
|
|
<td class="JR_left" colspan="8" width="280">
|
|
|
- <span align="center" style="letter-spacing: 10px; font-family: '宋体'">
|
|
|
+ <span
|
|
|
+ align="center"
|
|
|
+ style="letter-spacing: 10px; font-family: '宋体'"
|
|
|
+ >
|
|
|
检 查 情 况
|
|
|
</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
- <tr v-for="(item, index) in message.inspect" :key="index + ' '" class="JR_tr" style="font-family: '仿宋'">
|
|
|
+ <tr
|
|
|
+ v-for="(item, index) in message.inspect"
|
|
|
+ :key="index + ' '"
|
|
|
+ class="JR_tr"
|
|
|
+ style="font-family: '仿宋'"
|
|
|
+ >
|
|
|
<td class="JR_right" height="33">
|
|
|
<span align="center">{{ item.peopleName }}</span>
|
|
|
</td>
|
|
@@ -175,17 +300,17 @@
|
|
|
<span align="center">{{ item.dialogue }}</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
- <tr v-for="index in chapu.list" :key="index + ''" class="JR_tr" style="font-family: '仿宋'">
|
|
|
- <td class="JR_right" height="33">
|
|
|
- </td>
|
|
|
- <td class="JR_right">
|
|
|
- </td>
|
|
|
- <td class="JR_right">
|
|
|
- </td>
|
|
|
- <td class="JR_right" colspan="2">
|
|
|
- </td>
|
|
|
- <td class="JR_right" colspan="8">
|
|
|
- </td>
|
|
|
+ <tr
|
|
|
+ v-for="index in chapu.list"
|
|
|
+ :key="index + ''"
|
|
|
+ class="JR_tr"
|
|
|
+ style="font-family: '仿宋'"
|
|
|
+ >
|
|
|
+ <td class="JR_right" height="33"></td>
|
|
|
+ <td class="JR_right"></td>
|
|
|
+ <td class="JR_right"></td>
|
|
|
+ <td class="JR_right" colspan="2"></td>
|
|
|
+ <td class="JR_right" colspan="8"></td>
|
|
|
</tr>
|
|
|
<tr class="JR_tr" style="font-family: '宋体'">
|
|
|
<td class="JR_left" rowspan="4">
|
|
@@ -197,7 +322,9 @@
|
|
|
</p>
|
|
|
</td>
|
|
|
<td class="JR_left" height="26">
|
|
|
- <span align="center" style="font-family: '宋体';height:20px">职务</span>
|
|
|
+ <span align="center" style="font-family: '宋体'; height: 20px"
|
|
|
+ >职务</span
|
|
|
+ >
|
|
|
</td>
|
|
|
<td class="JR_left">
|
|
|
<p align="center" style="font-family: '宋体'">交班者</p>
|
|
@@ -233,7 +360,7 @@
|
|
|
</td>
|
|
|
<td class="JR_right" colspan="8">
|
|
|
<span align="center">
|
|
|
- {{message.dutyinfoa}}
|
|
|
+ {{ message.dutyinfoa }}
|
|
|
</span>
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -249,13 +376,18 @@
|
|
|
{{ message.dutyd }}
|
|
|
</p>
|
|
|
</td>
|
|
|
- <td class="JR_left" rowspan="2" colspan="2" style="font-family: '仿宋'">
|
|
|
+ <td
|
|
|
+ class="JR_left"
|
|
|
+ rowspan="2"
|
|
|
+ colspan="2"
|
|
|
+ style="font-family: '仿宋'"
|
|
|
+ >
|
|
|
<div style="margin-bottom: 10px">交接时间</div>
|
|
|
时 分
|
|
|
</td>
|
|
|
<td class="JR_right" colspan="8">
|
|
|
<span align="center" style="仿宋">
|
|
|
- {{message.dutyinfoc}}
|
|
|
+ {{ message.dutyinfoc }}
|
|
|
</span>
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -273,7 +405,7 @@
|
|
|
</td>
|
|
|
<td class="JR_right" colspan="8" style="font-family: '仿宋'">
|
|
|
<span align="center">
|
|
|
- {{message.dutyinfoe}}
|
|
|
+ {{ message.dutyinfoe }}
|
|
|
</span>
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -302,23 +434,45 @@
|
|
|
<span align="center" style="font-family: '宋体'">时 间</span>
|
|
|
</td>
|
|
|
<td class="JR_left" colspan="8">
|
|
|
- <span align="center" style="letter-spacing: 3px; font-family: '宋体'">
|
|
|
+ <span
|
|
|
+ align="center"
|
|
|
+ style="letter-spacing: 3px; font-family: '宋体'"
|
|
|
+ >
|
|
|
病 号 及 处 理 情 况
|
|
|
</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="JR_tr" align="center">
|
|
|
- <td class="JR_left" width="42" height="23" style="font-family: '宋体'">
|
|
|
+ <td
|
|
|
+ class="JR_left"
|
|
|
+ width="42"
|
|
|
+ height="23"
|
|
|
+ style="font-family: '宋体'"
|
|
|
+ >
|
|
|
来队
|
|
|
</td>
|
|
|
- <td class="JR_left" width="38" height="23" style="font-family: '宋体'">
|
|
|
+ <td
|
|
|
+ class="JR_left"
|
|
|
+ width="38"
|
|
|
+ height="23"
|
|
|
+ style="font-family: '宋体'"
|
|
|
+ >
|
|
|
离队
|
|
|
</td>
|
|
|
- <td style="font-family: '仿宋'" class="JR_right" colspan="8" :rowspan="qinshu.rowspan - 1"
|
|
|
- v-html="message.invalid">
|
|
|
- </td>
|
|
|
+ <td
|
|
|
+ style="font-family: '仿宋'"
|
|
|
+ class="JR_right"
|
|
|
+ colspan="8"
|
|
|
+ :rowspan="qinshu.rowspan - 1"
|
|
|
+ v-html="message.invalid"
|
|
|
+ ></td>
|
|
|
</tr>
|
|
|
- <tr style="font-family: '仿宋'" class="JR_tr" v-for="(item1, i) in message.kinsfolk" :key="i + ' '">
|
|
|
+ <tr
|
|
|
+ style="font-family: '仿宋'"
|
|
|
+ class="JR_tr"
|
|
|
+ v-for="(item1, i) in message.kinsfolk"
|
|
|
+ :key="i + ' '"
|
|
|
+ >
|
|
|
<td class="JR_right" height="33">
|
|
|
<span align="center">{{ item1.peopleName }}</span>
|
|
|
</td>
|
|
@@ -336,18 +490,18 @@
|
|
|
<span align="center">{{ item1.leaveDate }}</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
- <tr style="font-family: '仿宋'" class="JR_tr" v-for="i in qinshu.list" :key="i + ' '">
|
|
|
- <td class="JR_right" height="33">
|
|
|
- </td>
|
|
|
- <td class="JR_right">
|
|
|
- </td>
|
|
|
+ <tr
|
|
|
+ style="font-family: '仿宋'"
|
|
|
+ class="JR_tr"
|
|
|
+ v-for="i in qinshu.list"
|
|
|
+ :key="i + ' '"
|
|
|
+ >
|
|
|
+ <td class="JR_right" height="33"></td>
|
|
|
+ <td class="JR_right"></td>
|
|
|
|
|
|
- <td class="JR_right">
|
|
|
- </td>
|
|
|
- <td class="JR_right">
|
|
|
- </td>
|
|
|
- <td class="JR_right">
|
|
|
- </td>
|
|
|
+ <td class="JR_right"></td>
|
|
|
+ <td class="JR_right"></td>
|
|
|
+ <td class="JR_right"></td>
|
|
|
</tr>
|
|
|
<tr class="JR_tr" align="center" style="font-family: '宋体'">
|
|
|
<td :rowspan="qingjia.rowspan" class="JR_left">
|
|
@@ -363,12 +517,14 @@
|
|
|
假
|
|
|
</span>
|
|
|
</td>
|
|
|
- <td class="JR_left" style="font-family: '宋体'" height="36">姓 名</td>
|
|
|
+ <td class="JR_left" style="font-family: '宋体'" height="36">
|
|
|
+ 姓 名
|
|
|
+ </td>
|
|
|
<td class="JR_left" style="font-family: '宋体'">职 务</td>
|
|
|
<td class="JR_left" colspan="2" style="font-family: '宋体'">
|
|
|
事 由
|
|
|
</td>
|
|
|
- <td class="JR_left" colspan="2" style="font-family: '宋体'">
|
|
|
+ <td class="JR_left" colspan="1" style="font-family: '宋体'">
|
|
|
时数或 <br />
|
|
|
天 数
|
|
|
</td>
|
|
@@ -389,7 +545,12 @@
|
|
|
时(天)数
|
|
|
</td>
|
|
|
</tr>
|
|
|
- <tr class="JR_tr" style="font-family: '仿宋'" v-for="(item, i) in message.bdglLeaves" :key="i+' '">
|
|
|
+ <tr
|
|
|
+ class="JR_tr"
|
|
|
+ style="font-family: '仿宋'"
|
|
|
+ v-for="(item, i) in message.bdglLeaves"
|
|
|
+ :key="i + ' '"
|
|
|
+ >
|
|
|
<td class="JR_right">
|
|
|
<p align="center">{{ item.peopleName }}</p>
|
|
|
</td>
|
|
@@ -401,7 +562,7 @@
|
|
|
<td class="JR_right" colspan="2">
|
|
|
<p align="center">{{ item.leaveReason }}</p>
|
|
|
</td>
|
|
|
- <td class="JR_right" colspan="2">
|
|
|
+ <td class="JR_right" colspan="1">
|
|
|
<p align="center">{{ time[i] }}</p>
|
|
|
</td>
|
|
|
<td class="JR_right" colspan="2">
|
|
@@ -417,29 +578,32 @@
|
|
|
<p align="center">{{ guiTime[i] }}</p>
|
|
|
</td>
|
|
|
</tr>
|
|
|
- <tr class="JR_tr" height="30" style="font-family: '仿宋'" v-for="i in qingjia.list" :key="i+' '">
|
|
|
- <td class="JR_right">
|
|
|
- </td>
|
|
|
+ <tr
|
|
|
+ class="JR_tr"
|
|
|
+ height="30"
|
|
|
+ style="font-family: '仿宋'"
|
|
|
+ v-for="i in qingjia.list"
|
|
|
+ :key="i + ' '"
|
|
|
+ >
|
|
|
+ <td class="JR_right"></td>
|
|
|
<td class="JR_right">
|
|
|
- <p align="center">
|
|
|
- </p>
|
|
|
- </td>
|
|
|
- <td class="JR_right" colspan="2">
|
|
|
- </td>
|
|
|
- <td class="JR_right" colspan="2">
|
|
|
- </td>
|
|
|
- <td class="JR_right" colspan="2">
|
|
|
- </td>
|
|
|
- <td class="JR_right" colspan="2">
|
|
|
- </td>
|
|
|
- <td class="JR_right" colspan="2">
|
|
|
- </td>
|
|
|
- <td class="JR_right" colspan="3">
|
|
|
- </td>
|
|
|
+ <p align="center"></p>
|
|
|
+ </td>
|
|
|
+ <td class="JR_right" colspan="2"></td>
|
|
|
+ <td class="JR_right" colspan="1"></td>
|
|
|
+ <td class="JR_right" colspan="2"></td>
|
|
|
+ <td class="JR_right" colspan="2"></td>
|
|
|
+ <td class="JR_right" colspan="2"></td>
|
|
|
+ <td class="JR_right" colspan="3"></td>
|
|
|
</tr>
|
|
|
<!-- 上级通知 -->
|
|
|
<tr class="JR_tr">
|
|
|
- <td class="JR_left" width="101" height="255" style="font-family: '宋体'">
|
|
|
+ <td
|
|
|
+ class="JR_left"
|
|
|
+ width="101"
|
|
|
+ height="255"
|
|
|
+ style="font-family: '宋体'"
|
|
|
+ >
|
|
|
<span align="center" style="font-family: '宋体'">
|
|
|
上 <br />
|
|
|
级 <br />
|
|
@@ -457,8 +621,39 @@
|
|
|
项
|
|
|
</span>
|
|
|
</td>
|
|
|
- <td class="JR_right" align="left" colspan="15" style="white-space: normal; font-family: '仿宋'"
|
|
|
- v-html="message.notice"></td>
|
|
|
+ <td
|
|
|
+ class="JR_right"
|
|
|
+ align="left"
|
|
|
+ colspan="15"
|
|
|
+ style="white-space: normal; font-family: '仿宋'"
|
|
|
+ v-html="message.notice"
|
|
|
+ ></td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+
|
|
|
+ <table
|
|
|
+ id="b1"
|
|
|
+ border="none"
|
|
|
+ style="
|
|
|
+ width: 600px;
|
|
|
+ color: black;
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 500;
|
|
|
+ border: none;
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <tr style="border: none; font-family: '宋体'">
|
|
|
+ <td style="border: none" align="center" width="264">
|
|
|
+ <p style="border: none; font-family: '宋体'">
|
|
|
+ 连队首长签字: {{ message.sz }}
|
|
|
+ </p>
|
|
|
+ </td>
|
|
|
+ <td style="border: none; width: 172px"></td>
|
|
|
+ <td style="border: none; font-family: '宋体'" align="center">
|
|
|
+ <p style="border: none; font-family: '宋体'; margin-left: 30px">
|
|
|
+ {{ message.blogDate | dataFormaty }}
|
|
|
+ </p>
|
|
|
+ </td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</div>
|
|
@@ -466,7 +661,7 @@
|
|
|
</template>
|
|
|
<script>
|
|
|
// import '@/utils/jquery.wordexport.js'
|
|
|
-import exportWord from '@/utils/exportWord.js'
|
|
|
+import exportWord from "@/utils/exportWord.js";
|
|
|
export default {
|
|
|
name: "bdgleven",
|
|
|
props: ["message"],
|
|
@@ -476,11 +671,11 @@ export default {
|
|
|
title: "连队要事日记",
|
|
|
chapu: {
|
|
|
rowspan: 0,
|
|
|
- list: 0
|
|
|
+ list: 0,
|
|
|
},
|
|
|
qinshu: {
|
|
|
rowspan: 0,
|
|
|
- list: 0
|
|
|
+ list: 0,
|
|
|
},
|
|
|
week: "",
|
|
|
qinshu2: 0,
|
|
@@ -489,17 +684,18 @@ export default {
|
|
|
guiTime: [],
|
|
|
qingjia: {
|
|
|
rowspan: 0,
|
|
|
- list: 0
|
|
|
+ list: 0,
|
|
|
},
|
|
|
xlist: {},
|
|
|
+ meiShuJu: [],
|
|
|
faith: {
|
|
|
- fileName: "连队要事日记",//文档名
|
|
|
- fileType: ".doc",//文档类型 经测试 可以doc xls html 其他的自己去试
|
|
|
+ fileName: "连队要事日记", //文档名
|
|
|
+ fileType: ".doc", //文档类型 经测试 可以doc xls html 其他的自己去试
|
|
|
// header: '测试页眉',//页眉标题
|
|
|
// footer: '测试页脚',//页脚标题
|
|
|
- direction: '', //默认或不填写为纵向,Horizontal 为横向
|
|
|
- dom: '#contents', // dom节点
|
|
|
- dev: 'margin:102.0pt 73.8pt 102.0pt 73.8pt;',
|
|
|
+ direction: "", //默认或不填写为纵向,Horizontal 为横向
|
|
|
+ dom: "#contents", // dom节点
|
|
|
+ dev: "margin:80.0pt 62.3pt 102.0pt 62.3pt;",
|
|
|
style: `table {
|
|
|
border-collapse: collapse;
|
|
|
table-layout: fixed;
|
|
@@ -508,7 +704,7 @@ export default {
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
|
|
|
- td {
|
|
|
+ #b2 td {
|
|
|
border: 1px solid !important;
|
|
|
padding: 0;
|
|
|
border-bottom: 1px solid !important;
|
|
@@ -516,8 +712,8 @@ export default {
|
|
|
|
|
|
.JR_left{font-size: 1em; font-family: '楷体_GB2312';}
|
|
|
.JR_right{ font-size: 1em; font-family: 仿宋_GB2312_GB2312;}
|
|
|
- `
|
|
|
- }
|
|
|
+ `,
|
|
|
+ },
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -527,41 +723,57 @@ export default {
|
|
|
this.qinshu2 = this.qinshus2();
|
|
|
this.xunlian();
|
|
|
this.qingjias();
|
|
|
- this.xunlians()
|
|
|
- },
|
|
|
- mounted() {
|
|
|
+ this.xunlians();
|
|
|
},
|
|
|
+ mounted() {},
|
|
|
|
|
|
methods: {
|
|
|
daochu() {
|
|
|
- exportWord(this.faith)
|
|
|
+ exportWord(this.faith);
|
|
|
},
|
|
|
- aaa(raw){
|
|
|
- if(raw !=""||raw !=null){
|
|
|
- return raw =null
|
|
|
- }else{
|
|
|
- return raw.replaceAll(',','<br/>')
|
|
|
+ aaa(raw) {
|
|
|
+ if (raw != "" || raw != null) {
|
|
|
+ return raw.replaceAll(",", "<br/>");
|
|
|
+ } else {
|
|
|
+ return (raw = null);
|
|
|
}
|
|
|
-
|
|
|
},
|
|
|
- bbb(raw){
|
|
|
- if(raw !=""||raw !=null){
|
|
|
- return raw =null
|
|
|
- }else{
|
|
|
- return raw.replace('.00','')
|
|
|
+ bbb(raw) {
|
|
|
+ if (raw != "" || raw != null) {
|
|
|
+ return raw.replace(".00", "");
|
|
|
+ } else {
|
|
|
+ return (raw = null);
|
|
|
}
|
|
|
},
|
|
|
- xunlians(){
|
|
|
- console.log(this.message.contextData);
|
|
|
+ xunlians() {
|
|
|
+ if (this.message.contextData) {
|
|
|
+ } else {
|
|
|
+ this.number = 6;
|
|
|
+ this.meiShuJu = [
|
|
|
+ {
|
|
|
+ dateline: "早晨",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ dateline: "上午",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ dateline: "下午",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ dateline: "晚上",
|
|
|
+ },
|
|
|
+ ];
|
|
|
+ }
|
|
|
+ // console.log(this.message.contextData);
|
|
|
+ // console.log(this.message.contextData.早晨);
|
|
|
// const a = this.message.contextData.早晨 !== null && this.message.contextData.早晨 !== "",
|
|
|
// b = this.message.contextData.上午 !== null && this.message.contextData.上午 !== "",
|
|
|
// c = this.message.contextData.下午 !== null && this.message.contextData.下午 !== "",
|
|
|
// d = this.message.contextData.晚上 !== null && this.message.contextData.晚上 !== ""
|
|
|
- // console.log(a);
|
|
|
- // console.log(b);
|
|
|
- // console.log(c);
|
|
|
- // console.log(d );
|
|
|
-
|
|
|
+ // console.log(a);
|
|
|
+ // console.log(b);
|
|
|
+ // console.log(c);
|
|
|
+ // console.log(d );
|
|
|
// this.xlist.早晨 = this.message.contextData.早晨
|
|
|
// this.xlist.上午 = this.message.contextData.上午
|
|
|
// this.xlist.下午 = this.message.contextData.下午
|
|
@@ -571,32 +783,32 @@ export default {
|
|
|
chapus() {
|
|
|
if (this.message.inspect != null) {
|
|
|
if (this.message.inspect.length >= 2) {
|
|
|
- this.chapu.rowspan = this.message.inspect.length + 1
|
|
|
- this.chapu.list = 0
|
|
|
+ this.chapu.rowspan = this.message.inspect.length + 1;
|
|
|
+ this.chapu.list = 0;
|
|
|
} else {
|
|
|
- this.chapu.rowspan = (2 - this.message.inspect.length) + this.message.inspect.length + 1
|
|
|
- this.chapu.list = (2 - this.message.inspect.length)
|
|
|
+ this.chapu.rowspan =
|
|
|
+ 2 - this.message.inspect.length + this.message.inspect.length + 1;
|
|
|
+ this.chapu.list = 2 - this.message.inspect.length;
|
|
|
}
|
|
|
} else {
|
|
|
- this.chapu.rowspan = 3
|
|
|
- this.chapu.list = 2
|
|
|
+ this.chapu.rowspan = 3;
|
|
|
+ this.chapu.list = 2;
|
|
|
}
|
|
|
-
|
|
|
},
|
|
|
qinshus() {
|
|
|
if (this.message.kinsfolk != null) {
|
|
|
if (this.message.kinsfolk.length >= 3) {
|
|
|
- this.qinshu.rowspan = 2 + this.message.kinsfolk.length
|
|
|
- this.qinshu.list = 0
|
|
|
+ this.qinshu.rowspan = 2 + this.message.kinsfolk.length;
|
|
|
+ this.qinshu.list = 0;
|
|
|
} else {
|
|
|
- this.qinshu.rowspan = (3 - this.message.kinsfolk.length) + this.message.kinsfolk.length + 2
|
|
|
- this.qinshu.list = (3 - this.message.kinsfolk.length)
|
|
|
+ this.qinshu.rowspan =
|
|
|
+ 3 - this.message.kinsfolk.length + this.message.kinsfolk.length + 2;
|
|
|
+ this.qinshu.list = 3 - this.message.kinsfolk.length;
|
|
|
}
|
|
|
} else {
|
|
|
- this.qinshu.rowspan = 5
|
|
|
- this.qinshu.list = 3
|
|
|
+ this.qinshu.rowspan = 5;
|
|
|
+ this.qinshu.list = 3;
|
|
|
}
|
|
|
-
|
|
|
},
|
|
|
|
|
|
qinshus2() {
|
|
@@ -618,14 +830,18 @@ export default {
|
|
|
if (this.message.bdglLeaves != null) {
|
|
|
if (this.message.bdglLeaves.length >= 7) {
|
|
|
this.qingjia.rowspan = this.message.bdglLeaves.length + 1;
|
|
|
- this.qingjia.list = 0
|
|
|
+ this.qingjia.list = 0;
|
|
|
} else {
|
|
|
- this.qingjia.rowspan = (7 - this.message.bdglLeaves.length) + this.message.bdglLeaves.length + 1
|
|
|
- this.qingjia.list = 7 - this.message.bdglLeaves.length
|
|
|
+ this.qingjia.rowspan =
|
|
|
+ 7 -
|
|
|
+ this.message.bdglLeaves.length +
|
|
|
+ this.message.bdglLeaves.length +
|
|
|
+ 1;
|
|
|
+ this.qingjia.list = 7 - this.message.bdglLeaves.length;
|
|
|
}
|
|
|
} else {
|
|
|
this.qingjia.rowspan = 8;
|
|
|
- this.qingjia.list = 7
|
|
|
+ this.qingjia.list = 7;
|
|
|
}
|
|
|
},
|
|
|
/*
|
|
@@ -705,26 +921,22 @@ export default {
|
|
|
letter-spacing: 19px;
|
|
|
}
|
|
|
|
|
|
-table {
|
|
|
- border-collapse: collapse;
|
|
|
- table-layout: fixed;
|
|
|
- text-align: center;
|
|
|
- color: black !important;
|
|
|
- margin-bottom: 30px;
|
|
|
-}
|
|
|
-
|
|
|
.el-dialog__wrapper .el-dialog__body td {
|
|
|
border: 1px solid !important;
|
|
|
padding: 0;
|
|
|
border-bottom: 1px solid !important;
|
|
|
}
|
|
|
+#b1 td {
|
|
|
+ padding: 0;
|
|
|
+ border: 0 !important;
|
|
|
+}
|
|
|
|
|
|
.box1 {
|
|
|
position: absolute;
|
|
|
- right: 30px;
|
|
|
- top: 80px;
|
|
|
- border: 1px solid rgb(129, 130, 131);
|
|
|
- border-radius: 5px;
|
|
|
+ right: 30px;
|
|
|
+ top: 80px;
|
|
|
+ border: 1px solid rgb(129, 130, 131);
|
|
|
+ border-radius: 5px;
|
|
|
}
|
|
|
|
|
|
.distinguish {
|