Blame view

src/views/sqcx/sqcxjl/components/sqcxjlInfodata.js 2.83 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()
  }
任超 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
        label: '建筑面积(㎡)',
      },
      {
        prop: 'fwyt',
        label: '房屋用途',
      },
      {

        label: '登记状态',
        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>
          )
        }
      }
    ]
  }
任超 committed
88
  sqrcolumns () {
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
    return [
      {
        prop: 'sqrxm',
        label: '姓名/名称',
      },
      {
        prop: 'sqrzjlxmc',
        label: '证件种类',
      },
      {
        prop: 'sqrzjhm',
        label: '证件号',
      },
      {
        prop: 'lxdh',
        label: '联系电话',
      },
    ]
  }

任超 committed
109
  qlrcolumns () {
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
    return [
      {
        prop: 'sqrxm',
        label: '姓名/名称',
      },
      {
        prop: 'sqrzjlxmc',
        label: '证件种类',
      },
      {
        prop: 'sqrzjhm',
        label: '证件号',
      },
      {
        prop: 'lxdh',
        label: '联系电话',
      },
    ]
  }
129 130 131 132
  dyjlcolumns () {
    return [
      {
        label: '打印类型',
蔡俊立 committed
133 134 135 136 137 138 139 140
        render: (h, scope) => {
          switch (scope.row.dylx) {
            case '1':
              return <div>房产结果</div>
            case '2':
              return <div>无房证明</div>
          }
        }
141 142
      },
      {
蔡俊立 committed
143
        prop: 'dyr',
144 145 146
        label: '打印人员',
      },
      {
蔡俊立 committed
147
        prop: 'dysj',
148 149 150 151
        label: '打印时间',
      }
    ]
  }
152 153 154 155 156 157 158 159 160 161
}



let datas = new data()

export {
  datas,
  sendThis
}