bdcqljqtsx.vue 2.75 KB
<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>