Blame view

src/views/sqcx/dydjb/components/dydjbInfo.vue 3.11 KB
1
<template>
蔡俊立 committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
  <div class="jtfccx-edit">
      <div class="jtfccx-edit-con">
        <b class="title"></b>
        <b class="title">房屋状况</b>
        <lb-table :column="fwColumns" key="fwzk" :data="resultData.hdetailList" :maxHeight="200" heightNumSetting
          :pagination="false">
        </lb-table>
        <b class="title">土地状况</b>
        <lb-table :column="tdColumns" key="tdzk" :data="resultData.zdjbxxDetail" :maxHeight="200" heightNumSetting
          :pagination="false">
        </lb-table>
        <b class="title">权属状况</b>
        <lb-table :column="qszkColumns" key="qszk" :data="resultData.qsxxDetail" :maxHeight="200" heightNumSetting
          :pagination="false">
        </lb-table>
        <b class="title">抵押登记</b>
        <lb-table :column="diyaColumns" key="dydj" :data="resultData.dyaqDetail" :maxHeight="200" heightNumSetting
          :pagination="false">
        </lb-table>
        <b class="title">预告登记</b>
        <lb-table :column="ygdjColumns" key="ygdj" :data="resultData.ygdjDetail" :maxHeight="200" heightNumSetting
          :pagination="false">
        </lb-table>
        <b class="title">查封状况</b>
        <lb-table :column="cfdjColumns" key="cfdj" :data="resultData.cfdjDetail" :maxHeight="200" heightNumSetting
          :pagination="false">
        </lb-table>
        <b class="title">异议登记</b>
        <lb-table :column="yydjColumns" key="yydj" :data="resultData.yydjDetail" :maxHeight="200" heightNumSetting
          :pagination="false">
        </lb-table>
      </div>
    </div>
35
</template>
36

任超 committed
37
<script>
蔡俊立 committed
38
import { datas, sendThis } from "./infodata";
39
import { getFwmxInfo } from "@/api/jtfc.js";
40
export default {
蔡俊立 committed
41
  props: {
蔡俊立 committed
42 43 44 45
    formData: {
      type: Object,
      default: () => {},
    },
蔡俊立 committed
46
  },
任超 committed
47
  data () {
48 49 50 51 52
    return {
      ruleForm: {
        cxsj: "",
        bdcdyh: "",
      },
蔡俊立 committed
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
      //房屋列表字段
      fwColumns: datas.fwCol(),
      //土地列表字段
      tdColumns: datas.tdCol(),
      //权属状况列表字段
      qszkColumns: datas.columns(),
      //抵押登记列表字段
      diyaColumns: datas.diyaCol(),
      //预告登记列表字段
      ygdjColumns: datas.ygdjCol(),
      //查封登记列表字段
      cfdjColumns: datas.cfdjCol(),
      //异议登记列表字段
      yydjColumns: datas.yydjCol(),
      form: {},
      resultData: {},
69 70
    };
  },
蔡俊立 committed
71 72 73 74 75
  mounted () {
    if(this.formData){
      this.getDetailInfo()
    }
  },
蔡俊立 committed
76
  methods: {
yuanbo committed
77 78 79 80 81
    /**
     * @description: setResult
     * @param {*} data
     * @author: renchao
     */
蔡俊立 committed
82 83
    setResult(data){
      this.resultData = data
蔡俊立 committed
84
    },
yuanbo committed
85 86 87 88
    /**
     * @description: getDetailInfo
     * @author: renchao
     */
蔡俊立 committed
89 90 91 92 93 94 95
    getDetailInfo(){
      this.$startLoading();
      getFwmxInfo({ sqcxBsm: this.formData.bsmSqcx }).then((res) => {
        this.$endLoading();
        if (res.code == 200) {
            this.resultData = res.result
        }
96
      })
蔡俊立 committed
97
    }
98
  }
99 100
};
</script>
任超 committed
101
<style scoped lang="scss">
102 103 104
@import "~@/styles/mixin.scss";

.table1 {
任超 committed
105
  border-spacing: 0;
106 107 108 109 110 111 112 113 114
  border-collapse: collapse;
  width: 100%;
}

.table1 td {
  border: 1px solid #acbed1;
  height: 30px;
}
</style>