sqcxjlInfodata.js 2.39 KB
import filter from '@/utils/filter.js'
let vm = null

const sendThis = (_this) => {
  vm = _this
}
class data extends filter {
  constructor() {
    super()
  }
  cxjgcolumns () {
    return [
      {
        prop: 'qszt',
        label: '权属状态',
        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>
          }
        }
      },
      {
        prop: 'bdcqzh',
        label: '不动产权证号',
      },
      {
        prop: 'djsj',
        label: '登记时间',
      },
      {
        prop: 'wqhth',
        label: '合同号',
      },
      {
        prop: 'wqsj',
        label: '网签时间',
      },
      {
        prop: 'bdcdyh',
        label: '不动产单元号',
      },
      {
        prop: 'gyfs',
        label: '共有方式',
      },
      {
        prop: 'qlrmc',
        label: '权利人',
      },
      {
        prop: 'zjhm',
        label: '证件号',
      },
      {
        prop: 'zl',
        label: '房地坐落',
      },
      {
        prop: 'fwmj',
        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>
          )
        }
      }
    ]
  }
  sqrcolumns () {
    return [
      {
        prop: 'sqrxm',
        label: '姓名/名称',
      },
      {
        prop: 'sqrzjlxmc',
        label: '证件种类',
      },
      {
        prop: 'sqrzjhm',
        label: '证件号',
      },
      {
        prop: 'lxdh',
        label: '联系电话',
      },
    ]
  }

  qlrcolumns () {
    return [
      {
        prop: 'sqrxm',
        label: '姓名/名称',
      },
      {
        prop: 'sqrzjlxmc',
        label: '证件种类',
      },
      {
        prop: 'sqrzjhm',
        label: '证件号',
      },
      {
        prop: 'lxdh',
        label: '联系电话',
      },
    ]
  }

}



let datas = new data()

export {
  datas,
  sendThis
}