|
@@ -142,7 +142,7 @@
|
|
|
</tr>
|
|
|
<!-- 训练、教育或者执行其他任务情况 -->
|
|
|
<tr class="JR_tr" height="20" align="center">
|
|
|
- <td rowspan="6" class="JR_left">
|
|
|
+ <td :rowspan="number" class="JR_left">
|
|
|
<p align="center" style="margin: 0 15px; font-family: 'songti'">
|
|
|
训 <br />
|
|
|
练 <br />
|
|
@@ -211,11 +211,11 @@
|
|
|
align="center"
|
|
|
v-if="
|
|
|
message.weekworkRegisters == null ||
|
|
|
- message.weekworkRegisters.length == 0
|
|
|
+ (message.weekworkRegisters.length < 4 || message.weekworkRegisters.length == 0)
|
|
|
"
|
|
|
>
|
|
|
<td class="JR_left" height="70" style="font-family: 'songti'">
|
|
|
- 早晨
|
|
|
+
|
|
|
</td>
|
|
|
<td class="JR_right" colspan="9"></td>
|
|
|
<td class="JR_right"></td>
|
|
@@ -228,11 +228,11 @@
|
|
|
align="center"
|
|
|
v-if="
|
|
|
message.weekworkRegisters == null ||
|
|
|
- message.weekworkRegisters.length == 0
|
|
|
+ (message.weekworkRegisters.length < 3 || message.weekworkRegisters.length == 0)
|
|
|
"
|
|
|
>
|
|
|
<td class="JR_left" height="70" style="font-family: 'songti'">
|
|
|
- 上午
|
|
|
+
|
|
|
</td>
|
|
|
<td class="JR_right" colspan="9"></td>
|
|
|
<td class="JR_right"></td>
|
|
@@ -245,11 +245,11 @@
|
|
|
align="center"
|
|
|
v-if="
|
|
|
message.weekworkRegisters == null ||
|
|
|
- message.weekworkRegisters.length == 0
|
|
|
+ (message.weekworkRegisters.length < 2 || message.weekworkRegisters.length == 0)
|
|
|
"
|
|
|
>
|
|
|
<td class="JR_left" height="70" style="font-family: 'songti'">
|
|
|
- 下午
|
|
|
+
|
|
|
</td>
|
|
|
<td class="JR_right" colspan="9"></td>
|
|
|
<td class="JR_right"></td>
|
|
@@ -262,11 +262,11 @@
|
|
|
align="center"
|
|
|
v-if="
|
|
|
message.weekworkRegisters == null ||
|
|
|
- message.weekworkRegisters.length == 0
|
|
|
+ (message.weekworkRegisters.length < 1 || message.weekworkRegisters.length == 0)
|
|
|
"
|
|
|
>
|
|
|
<td class="JR_left" height="70" style="font-family: 'songti'">
|
|
|
- 晚上
|
|
|
+
|
|
|
</td>
|
|
|
<td class="JR_right" colspan="9"></td>
|
|
|
<td class="JR_right"></td>
|
|
@@ -360,8 +360,8 @@
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr
|
|
|
- v-for="(item, i) in message.inspect"
|
|
|
- :key="i"
|
|
|
+ v-for="(item, index) in message.inspect"
|
|
|
+ :key="index"
|
|
|
class="JR_tr"
|
|
|
style="font-family: 'fangsong'"
|
|
|
>
|
|
@@ -806,6 +806,7 @@ export default {
|
|
|
qinshu: 4,
|
|
|
week: "",
|
|
|
qinshu2: 3,
|
|
|
+ number: 6,
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -813,6 +814,7 @@ export default {
|
|
|
this.qinshu = this.qinshus();
|
|
|
this.week = this.getWeek(this.message.blogDate);
|
|
|
this.qinshu2 = this.qinshus2();
|
|
|
+ this.xunlian();
|
|
|
},
|
|
|
methods: {
|
|
|
daochu() {
|
|
@@ -825,16 +827,21 @@ export default {
|
|
|
if (this.message.kinsfolk != null) {
|
|
|
return this.message.kinsfolk.length + 2;
|
|
|
}
|
|
|
- return (this.message.kinsfolk.length = 4);
|
|
|
+ return 4;
|
|
|
},
|
|
|
|
|
|
qinshus2() {
|
|
|
if (this.message.kinsfolk != null) {
|
|
|
return this.message.kinsfolk.length + 1;
|
|
|
}
|
|
|
- return (this.message.kinsfolk.length = 3);
|
|
|
+ return 3;
|
|
|
+ },
|
|
|
+ xunlian(){
|
|
|
+ if (this.message.weekworkRegisters.length > 4){
|
|
|
+ console.log(123456789);
|
|
|
+ this.number += (this.message.weekworkRegisters.length - 4)
|
|
|
+ }
|
|
|
},
|
|
|
-
|
|
|
/*
|
|
|
获取当前星期几
|
|
|
*/
|