bdcqljqtsx.vue
2.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<template>
<div class="bdcqljqtsx">
<div class="content">
<div class="title">不动产权利及其他事项<br />登记信息</div>
<div>
不动产单元号:
<div class="underline">{{ info.bdcdyh }}</div>
</div>
<br /><br /><br />
<div>
<div class="underline">{{ info.qllx }}</div>
登记 共
<div class="underline">{{ info.total }}</div>
条
</div>
<br /><br />
<div>
抵押权登记 共
<div class="underline">{{ info.dyaq }}</div>
条
</div>
<br />
<div>
地役权登记 共
<div class="underline">{{ info.dyiq }}</div>
条
</div>
<br />
<div>
预告登记 共
<div class="underline">{{ info.ygdj }}</div>
条
</div>
<br />
<div>
异议登记 共
<div class="underline">{{ info.yydj }}</div>
条
</div>
<br />
<div>
查封登记 共
<div class="underline">{{ info.cfdj }}</div>
条
</div>
<br />
</div>
</div>
</template>
<script>
import { mapGetters } from "vuex";
export default {
name: "bdcqljqtsx",
data() {
return {
info: {
bdcdyh: "",
qllx: "",
dyaq: 0,
dyiq: 0,
ygdj: 0,
yydj: 0,
cfdj: 0,
total: 0,
},
};
},
computed: {
...mapGetters(["djbxx"]),
},
mounted() {
this.info.bdcdyh = this.djbxx.qlname.bdcdyh;
this.info.qllx = this.djbxx.qlname.qllx;
this.djbxx.qlname.djbPrintModelList.forEach((item) => {
console.log("this.info.total", this.info.total);
this.info.total += Number(item.xh);
if (item.djlxPrint == "抵押权") {
this.info.dyaq = Number(item.xh);
} else if (item.djlxPrint == "地役权") {
this.info.dyiq = Number(item.xh);
} else if (item.djlxPrint == "预告") {
this.info.ygdj = Number(item.xh);
} else if (item.djlxPrint == "异议") {
this.info.yydj = Number(item.xh);
} else if (item.djlxPrint == "查封") {
this.info.cfdj = Number(item.xh);
}
});
},
};
</script>
<style lang="scss" scoped>
.bdcqljqtsx {
width: 100%;
height: 100%;
background: #fff;
.content {
width: 50%;
height: 100%;
margin: 0 auto;
text-align: right;
color: #333;
font-family: "Arial Negreta", "Arial Normal", "Arial", sans-serif;
font-weight: 700;
font-size: 18px;
line-height: 16px;
.title {
font-size: 32px;
text-align: center;
padding: 40px 0;
line-height: 34px;
}
.underline {
font-size: 14px;
font-weight: normal;
text-decoration: underline;
display: inline-block;
}
}
}
</style>