sqcxjlInfo.vue 4.76 KB
<template>
  <div class="sqcxjlInfo">
    <el-form :model="form" boder label-width="130px">
      <el-row>
        <el-col :span="24" style="margin-bottom: 15px">
          <div class="slxx_title title-block">
            查询情况
            <div class="triangle"></div>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="6">
          <el-form-item label="查询来源:" label-width="90px">{{ form.djSqcxDO.cxly }}
          </el-form-item>
        </el-col>
        <el-col :span="6">
          <el-form-item label="查询类型:">{{ form.djSqcxDO.cxlx }}
          </el-form-item>
        </el-col>
        <el-col :span="6">
          <el-form-item label="查询人员:" label-width="90px">{{ form.djSqcxDO.cxr }}
          </el-form-item>
        </el-col>
        <el-col :span="6">
          <el-form-item label="查询时间:">{{ form.djSqcxDO.cxsj }}
          </el-form-item>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="6">
          <el-form-item label="查询编号:" label-width="90px">{{ form.djSqcxDO.cxbh }}
          </el-form-item>
        </el-col>
        <el-col :span="6">
          <el-form-item label="查询用途:">{{ form.djSqcxDO.cxyt }}
          </el-form-item>
        </el-col>
        <el-col :span="6">
          <el-form-item label="与产权人的关系:">{{ form.djSqcxDO.ycqrgxmc }}
          </el-form-item>
        </el-col>
        <el-col :span="6">
          <el-form-item label="不动产权证号:">{{ form.djSqcxDO.bdcqzh }}
          </el-form-item>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="24" style="margin-bottom: 15px">
          <div class="slxx_title title-block">
            申请人
            <div class="triangle"></div>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <lb-table :column="sqrData.columns" border :data="form.sqrList" :maxHeight="200" heightNumSetting
            :pagination="false">
          </lb-table>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="24" style="margin-bottom: 15px">
          <div class="slxx_title title-block">
            权利人
            <div class="triangle"></div>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <lb-table :column="qlrData.columns" border :data="form.qlrList" :maxHeight="200" heightNumSetting
            :pagination="false">
          </lb-table>
        </el-col>
      </el-row>

      <el-row>
        <el-col :span="24" style="margin-bottom: 15px">
          <div class="slxx_title title-block">
            查询结果
            <div class="triangle"></div>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <lb-table :column="cxjgData.columns" :data="form.cxjgList" :maxHeight="200" heightNumSetting
            :pagination="false">
          </lb-table>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="24" style="margin-bottom: 15px">
          <div class="slxx_title title-block">
            打印记录
            <div class="triangle"></div>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <lb-table :column="dyjlcolumns" :data="form.dyjlList" :maxHeight="200" heightNumSetting :pagination="false">
        </lb-table>
      </el-row>
    </el-form>
  </div>
</template>

<script>
  import { getJtfcInfo } from "@/api/jtfc.js";
  import { datas, sendThis } from "./sqcxjlInfodata";

  export default {
    props: ["formData"],
    data () {
      return {
        form: {},
        ruleForm: {
          cxyt: "",
          ycyrgx: 1,
          cxlx: "1", //查询类型 1:房产查询 2:登记簿查询
        },

        sqrData: {
          columns: datas.sqrcolumns(),
          data: [],
        },

        cxjgData: {
          columns: datas.cxjgcolumns(),
          data: [],
        },

        qlrData: {
          columns: datas.qlrcolumns(),
          data: [],
        },
        dyjlcolumns: datas.dyjlcolumns(),
      };
    },

    mounted () {
      sendThis(this);
      var sqcxBsm = this.formData.sqcxBsm;

      getJtfcInfo({ sqcxBsm: sqcxBsm })
        .then((res) => {
          if (res.code == 200) {
            this.form = res.result;
            this.sqrData.data = res.result.sqxx;
            this.qlrData.data = res.result.qlrxx;
            this.cxjgData.data = res.result.djSqcxCxjgDOList;
            this.cxbh = res.result.djSqcxDO.cxbh;
          }
        })
        .catch((error) => {
          console.log(error);
        });
    },
    methods: {},
  };
</script>
<style scoped lang="scss">
  @import "~@/styles/mixin.scss";
  .sqcxjlInfo {
    height: 82vh;
    overflow-y: scroll;
  }
  /deep/.el-form-item {
    margin-bottom: 0 !important;
  }
</style>