sqcxjlInfo.vue 4.87 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="查询用途:" label-width="90px">{{ 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>
        <el-col>
          <lb-table :column="dyjlcolumns" :data="form.dyjlList" :maxHeight="200" heightNumSetting :pagination="false">
          </lb-table>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>

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

export default {
  components: {},
  // props: {
  //   value: { type: Boolean, default: false },
  // },
  props: ["formData"],

  created () {
    // debugger;
    // alert(this.formData.sqcxBsm);
  },

  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";

/deep/.el-form-item {
  margin-bottom: 0 !important;
}

.sqcxjlInfo {
  max-height: 85vh;
  overflow-y: auto;
}
</style>