Blame view

src/views/sqcx/sqcxjl/components/sqcxjlInfodata.js 2.41 KB
1 2 3 4 5 6 7 8 9 10
import filter from '@/utils/filter.js'
let vm = null

const sendThis = (_this) => {
  vm = _this
}
class data extends filter {
  constructor() {
    super()
  }
jiaozeping@pashanhoo.com committed
11
  cxjgcolumns() {
12 13 14 15
    return [
      {
        prop: 'qszt',
        label: '权属状态',
jiaozeping@pashanhoo.com committed
16 17 18 19 20 21 22 23 24 25 26 27
        render: (h, scope) => {
          switch (scope.row.qszt) {
            case '0':
              return <div>临时</div>
            case '1':
              return <div>现势</div>
            case '2':
              return <div>历史</div>
            case '3':
              return <div>终止</div>
          }
        }
28 29 30 31 32 33 34 35 36 37
      },
      {
        prop: 'bdcqzh',
        label: '不动产权证号',
      },
      {
        prop: 'djsj',
        label: '登记时间',
      },
      {
jiaozeping@pashanhoo.com committed
38
        prop: 'wqhth',
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
        label: '合同号',
      },
      {
        prop: 'wqsj',
        label: '网签时间',
      },
      {
        prop: 'bdcdyh',
        label: '不动产单元号',
      },
      {
        prop: 'gyfs',
        label: '共有方式',
      },
      {
jiaozeping@pashanhoo.com committed
54
        prop: 'qlrmc',
55 56 57
        label: '权利人',
      },
      {
jiaozeping@pashanhoo.com committed
58
        prop: 'zjhm',
59 60 61
        label: '证件号',
      },
      {
jiaozeping@pashanhoo.com committed
62
        prop: 'zl',
63 64 65
        label: '房地坐落',
      },
      {
jiaozeping@pashanhoo.com committed
66
        prop: 'fwmj',
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
        label: '建筑面积(㎡)',
      },
      {
        prop: 'fwyt',
        label: '房屋用途',
      },
      {

        label: '登记状态',
        width: '150',
        align: 'center',
        fixed: 'right',
        render: (h, scope) => {
          return (
            <div>
              <el-button type="text" icon="el-icon-edit-outline" onClick={() => { this.editClick(scope) }}>抵押</el-button>
            </div>
          )
        }
      }
    ]
  }
jiaozeping@pashanhoo.com committed
89
  sqrcolumns() {
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
    return [
      {
        prop: 'sqrxm',
        label: '姓名/名称',
      },
      {
        prop: 'sqrzjlxmc',
        label: '证件种类',
      },
      {
        prop: 'sqrzjhm',
        label: '证件号',
      },
      {
        prop: 'lxdh',
        label: '联系电话',
      },
    ]
  }

jiaozeping@pashanhoo.com committed
110
  qlrcolumns() {
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
    return [
      {
        prop: 'sqrxm',
        label: '姓名/名称',
      },
      {
        prop: 'sqrzjlxmc',
        label: '证件种类',
      },
      {
        prop: 'sqrzjhm',
        label: '证件号',
      },
      {
        prop: 'lxdh',
        label: '联系电话',
      },
    ]
  }

}



let datas = new data()

export {
  datas,
  sendThis
}