Blame view

src/views/sqcx/jtfc/components/printView.vue 5.05 KB
1 2 3
<!--
 * @Description: 不动产查询证明打印模板
 * @Autor: renchao
4
 * @LastEditTime: 2023-07-03 10:44:15
5 6 7 8 9 10
-->
<template>
  <div class="printView" style="width:100%;padding:20px">
    <h1 style="color: red;
      text-align: center;
      font-size: 38px;">城固县不动产登记交易服务中心</h1>
11 12
    <p style="width:100%;border-bottom: 1px solid red;margin-top: 20px;
      margin-bottom: 10px;"></p>
13 14 15 16
    <h2 style="font-size: 36px;
      text-align: center;">不动产登记信息查询证明</h2>
    <h5 style=" text-align: center;
      margin-top: 20px;
17
      font-size: 18px;">查询证明编号: {{form.djSqcxDO.cxbh}}</h5>
18
    <p v-if="form.cxjgList.length>0" style="text-indent: 2em;
19 20 21
      margin-top: 15px;
      line-height: 24px;
      font-size: 18px;">根据《不动产登记暂行条例》和《不动产登记资料查询暂行办法》
22 23
      有关规定,经线上查询不动产登记信息系统,权利人: {{form.cxjgList[0].qlrmc}}
      ,证件号:{{form.cxjgList[0].zjhm}},截止{{newDatez}}
24 25 26 27 28 29 30
      ,名下不动产登记信息查询结果如下:</p>
    <table style=" border-collapse: collapse;
      width: 100%;
      margin-top: 20px;margin-left:20px">
      <thead>
        <tr>
          <th style="background-color: #f2f2f2;
31
      text-align: center;height:36px">权利人</th>
32
          <th style="background-color: #f2f2f2;
33
      text-align: center;height:36px">证号</th>
34
          <th style="background-color: #f2f2f2;
35
      text-align: center;height:36px">坐落</th>
36
          <th style="background-color: #f2f2f2;
37
      text-align: center;height:36px">面积</th>
38
          <th style="background-color: #f2f2f2;
39
      text-align: center;height:36px">共有人</th>
40
          <th style="background-color: #f2f2f2;
41
      text-align: center;height:36px">状态</th>
42 43 44
        </tr>
      </thead>
      <tbody>
45
        <tr v-for="(item,index) in form.cxjgList" :key="index">
46
          <td style="border: 1px solid #ccc;
47 48 49
            text-align: center;
            padding: 8px;
            text-align: left;">{{ item.qlrmc }}</td>
50
          <td style="border: 1px solid #ccc;
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
            text-align: center;
            padding: 8px;
            text-align: left;">{{ item.zjhm }}</td>
          <td style="border: 1px solid #ccc;
            text-align: center;
            padding: 8px;
            text-align: left;">{{ item.fdzl }}</td>
          <td style="border: 1px solid #ccc;
            text-align: center;
            padding: 8px;
            text-align: left;">{{ item.fwmj }}</td>
          <td style="border: 1px solid #ccc;
            text-align: center;
            padding: 8px;
            text-align: left;">{{ item.gyr }}</td>
          <td style="border: 1px solid #ccc;
            text-align: center;
            padding: 8px;
            text-align: left;" v-if="item.dyzt != '0' && item.cfzt != '0'">抵押、查封</td>
          <td style="border: 1px solid #ccc;
            text-align: center;
            padding: 8px;
            text-align: left;" v-if="item.dyzt != '0'">抵押</td>
          <td style="border: 1px solid #ccc;
            text-align: center;
            padding: 8px;
            text-align: left;" v-if="item.cfzt != '0'">查封</td>
78 79 80 81 82 83 84 85 86 87
        </tr>
      </tbody>
    </table>
    <h6 style="font-size: 28px;
      margin-top: 20px;
      font-weight: 100;">特此证明。</h6>
    <div>
      <img :src="qrcodeImage" alt="QR Code">
    </div>
    <ul style="text-align: right;
88
      line-height: 36px;
89 90
      font-size: 18px;">
      <li style="list-style: none;">城固县不动产登记交易服务中心</li>
91
      <li style="list-style: none;">{{newDate}}</li>
92 93
    </ul>
    <ol style="margin-left: 20px;
94
      line-height: 36px;">
95 96 97 98 99 100 101 102 103 104
      <p>说明:</p>
      <li>该查询结果仅显示权利人在当前查询时间点不动产(房产)登记有关情况(“/”表示未查询到不动产登记信息);</li>
      <li>该查询结果包含权利人不动产预告登记信息。查询范围为本市中心城区及开发区内的不动产登记信息;</li>
      <li>本次查询由系统终端自动检索,因数据采集处理误差而造成查询结果于实际登记信息不相符的,以我中心登记簿记载信息为准;</li>
      <li>查询人应当妥善保管不动产登记查询结果,因操作不当,导致查询结果泄露,有关责任概由查询人承担。</li>
    </ol>
  </div>
</template>
<script>
  import QRCode from 'qrcode';
105
  import { getNewDate } from '@/utils/util'
106
  export default {
107 108 109 110 111 112
    props: {
      form: {
        type: Object,
        default: () => ({})
      }
    },
113 114 115
    data () {
      return {
        qrcodeImage: '',
116 117
        newDate: getNewDate(),
        newDatez: getNewDate(2)
118 119
      }
    },
120 121 122 123 124 125 126 127 128 129 130 131 132 133
    watch: {
      "form.djSqcxDO.cxbh": {
        handler: function (val) {
          if (val) {
            QRCode.toDataURL(val)
              .then(url => {
                this.qrcodeImage = url
              })
              .catch(error => {
                console.error(error);
              })
          }
        },
        immediate: true
134 135 136 137
      }
    }
  }
</script>