|
@@ -2,7 +2,7 @@
|
|
<div class="clan">
|
|
<div class="clan">
|
|
<el-page-header @back="$router.go(-1)" style="margin-bottom: 15px;">
|
|
<el-page-header @back="$router.go(-1)" style="margin-bottom: 15px;">
|
|
<template v-slot:content>
|
|
<template v-slot:content>
|
|
- <h4>系谱管理</h4>
|
|
|
|
|
|
+ <h3>系谱管理</h3>
|
|
</template>
|
|
</template>
|
|
</el-page-header>
|
|
</el-page-header>
|
|
<!-- rowspan="2" -->
|
|
<!-- rowspan="2" -->
|
|
@@ -21,7 +21,7 @@
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
<td class="title">性 别</td>
|
|
<td class="title">性 别</td>
|
|
- <td>{{ self.gender==0?'母':'公' }}</td>
|
|
|
|
|
|
+ <td>{{ self.gender==0?'母':self.gender==1?'公':'' }}</td>
|
|
<td class="title">出 生 日 期</td>
|
|
<td class="title">出 生 日 期</td>
|
|
<td>{{ self.birthday.substr(0,10) }}</td>
|
|
<td>{{ self.birthday.substr(0,10) }}</td>
|
|
</tr>
|
|
</tr>
|
|
@@ -118,7 +118,8 @@
|
|
<td>{{ father.twelveWeight }}</td>
|
|
<td>{{ father.twelveWeight }}</td>
|
|
<td>{{ father.twFourWeight }}</td>
|
|
<td>{{ father.twFourWeight }}</td>
|
|
<td>{{ father.twelveHair }}</td>
|
|
<td>{{ father.twelveHair }}</td>
|
|
- <td>{{ father.deliverRank }}</td>
|
|
|
|
|
|
+ <!-- <td>{{ father.deliverRank }}</td> -->
|
|
|
|
+ <td>{{ calc_seedSheedLevel(father.deliverRank) }}</td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
<td class="title">母</td>
|
|
<td class="title">母</td>
|
|
@@ -130,7 +131,8 @@
|
|
<td>{{ mother.twelveWeight }}</td>
|
|
<td>{{ mother.twelveWeight }}</td>
|
|
<td>{{ mother.twFourWeight }}</td>
|
|
<td>{{ mother.twFourWeight }}</td>
|
|
<td>{{ mother.twelveHair }}</td>
|
|
<td>{{ mother.twelveHair }}</td>
|
|
- <td>{{ mother.deliverRank }}</td>
|
|
|
|
|
|
+ <!-- <td>{{ mother.deliverRank }}</td> -->
|
|
|
|
+ <td>{{ calc_seedSheedLevel(mother.deliverRank) }}</td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
<td class="title">父父</td>
|
|
<td class="title">父父</td>
|
|
@@ -142,7 +144,8 @@
|
|
<td>{{ fatherFather.twelveWeight }}</td>
|
|
<td>{{ fatherFather.twelveWeight }}</td>
|
|
<td>{{ fatherFather.twFourWeight }}</td>
|
|
<td>{{ fatherFather.twFourWeight }}</td>
|
|
<td>{{ fatherFather.twelveHair }}</td>
|
|
<td>{{ fatherFather.twelveHair }}</td>
|
|
- <td>{{ fatherFather.deliverRank }}</td>
|
|
|
|
|
|
+ <!-- <td>{{ fatherFather.deliverRank }}</td> -->
|
|
|
|
+ <td>{{ calc_seedSheedLevel(fatherFather.deliverRank) }}</td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
<td class="title">父母</td>
|
|
<td class="title">父母</td>
|
|
@@ -154,7 +157,8 @@
|
|
<td>{{ fatherMother.twelveWeight }}</td>
|
|
<td>{{ fatherMother.twelveWeight }}</td>
|
|
<td>{{ fatherMother.twFourWeight }}</td>
|
|
<td>{{ fatherMother.twFourWeight }}</td>
|
|
<td>{{ fatherMother.twelveHair }}</td>
|
|
<td>{{ fatherMother.twelveHair }}</td>
|
|
- <td>{{ fatherMother.deliverRank }}</td>
|
|
|
|
|
|
+ <!-- <td>{{ fatherMother.deliverRank }}</td> -->
|
|
|
|
+ <td>{{ calc_seedSheedLevel(fatherMother.deliverRank) }}</td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
<td class="title">母父</td>
|
|
<td class="title">母父</td>
|
|
@@ -166,7 +170,8 @@
|
|
<td>{{ motherFather.twelveWeight }}</td>
|
|
<td>{{ motherFather.twelveWeight }}</td>
|
|
<td>{{ motherFather.twFourWeight }}</td>
|
|
<td>{{ motherFather.twFourWeight }}</td>
|
|
<td>{{ motherFather.twelveHair }}</td>
|
|
<td>{{ motherFather.twelveHair }}</td>
|
|
- <td>{{ motherFather.deliverRank }}</td>
|
|
|
|
|
|
+ <!-- <td>{{ motherFather.deliverRank }}</td> -->
|
|
|
|
+ <td>{{ calc_seedSheedLevel(motherFather.deliverRank) }}</td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
<td class="title">母母</td>
|
|
<td class="title">母母</td>
|
|
@@ -178,7 +183,8 @@
|
|
<td>{{ motherMother.twelveWeight }}</td>
|
|
<td>{{ motherMother.twelveWeight }}</td>
|
|
<td>{{ motherMother.twFourWeight }}</td>
|
|
<td>{{ motherMother.twFourWeight }}</td>
|
|
<td>{{ motherMother.twelveHair }}</td>
|
|
<td>{{ motherMother.twelveHair }}</td>
|
|
- <td>{{ motherMother.deliverRank }}</td>
|
|
|
|
|
|
+ <!-- <td>{{ motherMother.deliverRank }}</td> -->
|
|
|
|
+ <td>{{ calc_seedSheedLevel(motherMother.deliverRank) }}</td>
|
|
</tr>
|
|
</tr>
|
|
</table>
|
|
</table>
|
|
</section>
|
|
</section>
|
|
@@ -200,7 +206,14 @@ export default {
|
|
fatherMother: {},
|
|
fatherMother: {},
|
|
mother: {},
|
|
mother: {},
|
|
motherFather: {},
|
|
motherFather: {},
|
|
- motherMother: {}
|
|
|
|
|
|
+ motherMother: {},
|
|
|
|
+ aa: this.$store.state["seedSheedLevel"],
|
|
|
|
+ calc_seedSheedLevel(id) {
|
|
|
|
+ let obj = this.$store.state["seedSheedLevel"].find(item => {
|
|
|
|
+ return item.value == id;
|
|
|
|
+ });
|
|
|
|
+ if (obj) return obj.label;
|
|
|
|
+ }
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|