sqcxjlInfo.vue 3.63 KB
<template>
  <div >
    <el-form :model="ruleForm" label-width="120px">
      <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="8">
          <el-form-item label="查询用途" label-width="90px">
            <el-input v-model="ruleForm.cxyt" class="width200px"></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="16">
          <el-form-item label="与产权人的关系">
            <el-radio-group v-model="ruleForm.ycyrgx">
              <el-radio :label="1">房屋权利人</el-radio>
              <el-radio :label="2">产权利害关系人</el-radio>
              <el-radio :label="3">委托人</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
      </el-row>

      <el-row>
        <el-col>
          <lb-table
            :column="sqrData.columns"
            border
            :data="sqrData.data"
            :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="qlrData.data"
            :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>
          <p>查询编号:202200409</p>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <lb-table
            border
            :column="cxjgData.columns"
            :data="cxjgData.data"
            :maxHeight="200"
            heightNumSetting
            :pagination="false"
          >
          </lb-table>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>

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

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

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

  data() {
    return {
      ruleForm: {
        cxyt: "",
        ycyrgx: 1,
        cxlx: "1", //查询类型 1:房产查询 2:登记簿查询
      },

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

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

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

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

    getJtfcInfo({ sqcxBsm: sqcxBsm })
      .then((res) => {
        if (res.code == 200) {
          this.sqrData.data = res.result.sqxx;
          this.qlrData.data = res.result.qlrxx;
          this.cxjgData.data = res.result.djSqcxCxjgDOList;

        }
      })
      .catch((error) => {
        console.log(error);
      });
  },

  methods: {},
};
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";

</style>