bdcqljqtsx.vue 2.82 KB
<!--
 * @Description:
 * @Autor: renchao
 * @LastEditTime: 2023-11-08 14:12:17
-->
<template>
  <div class="bdcqljqtsx">
    <el-button class="print" v-print="printObj">打印</el-button>
    <div class="content" v-if="qlxxList.ztqlmc" id="box">
      <div class="title">不动产权利及其他事项<br />登记信息</div>
      <div style="text-align:center">
        不动产单元号:
        <div class="underline">{{ propsParam.bdcdyh }}</div>
      </div>
      <br /><br /><br />
      <div class="detail">
        <div class="underline">{{ qlxxList.ztqlmc }}</div>
        登记 共
        <div class="underline">{{ qlxxList.ztql.total }}</div>

      </div>
      <br /><br />
      <div class="detail">
        抵押权登记 共
        <div class="underline">{{ qlxxList.diyaq.total }}</div>

      </div>
      <br />
      <div class="detail">
        地役权登记 共
        <div class="underline">{{ qlxxList.diyiq.total }}</div>

      </div>
      <br />
      <div class="detail">
        预告登记 共
        <div class="underline">{{ qlxxList.ygdj.total }}</div>

      </div>
      <br />
      <div class="detail">
        异议登记 共
        <div class="underline">{{ qlxxList.yydj.total }}</div>

      </div>
      <br />
      <div class="detail">
        查封登记 共
        <div class="underline">{{ qlxxList.cfdj.total }}</div>

      </div>
      <br />
    </div>
  </div>
</template>

<script>
  import { getBdcqljqtsx } from "@/api/djbDetail.js";
  export default {
    name: "bdcqljqtsx",
    data () {
      return {
        printObj: {
          id: "box",
          //其他配置项,
        },
        //传递参数
        propsParam: this.$attrs,
        qlxxList: "",
      };
    },
    mounted () {
      getBdcqljqtsx({
        bdcdyid: this.propsParam.bdcdyid,
        bdcdyh: this.propsParam.bdcdyh,
      }).then((res) => {
        if (res.code === 200) {
          this.qlxxList = res.result;
        }
      });
    },
  };
</script>

<style lang="scss" scoped>
  .detail {
    margin-right: 19%;
  }
  .bdcqljqtsx {
    width: 100%;
    height: 100%;
    background: #fff;
    position: relative;
    .print {
      // background-color: #0079fe;
      z-index: 10;
      position: absolute;
      left: 11px;
      top: 5px;
    }
  }
  .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: 15px;
      font-weight: normal;
      text-decoration: underline;
      display: inline-block;
    }
  }
</style>