addjtfcdata.js 1.59 KB
/*
 * @Description: 
 * @Autor: renchao
 * @LastEditTime: 2023-06-14 14:48:35
 */
import filter from '@/utils/filter.js'
class data extends filter {
  constructor() {
    super()
  }
  columns () {
    return [
      {
        prop: 'qszt',
        label: '权属状态',
      },
      {
        prop: 'bdcqzh',
        width: '110',
        label: '不动产权证号',
      },
      {
        prop: 'djsj',
        label: '登记时间',
      },
      {
        prop: 'wqhth',
        label: '合同号',
      },
      {
        prop: 'wqsj',
        label: '网签时间',
      },
      {
        prop: 'bdcdyh',
        width: '110',
        label: '不动产单元号',
      },
      {
        prop: 'gyfs',
        label: '共有方式',
      },
      {
        prop: 'qlrmc',
        label: '权利人',
      },
      {
        prop: 'zjhm',
        label: '证件号',
      },
      {
        prop: 'fdzl',
        label: '房地坐落',
      },
      {
        prop: 'fwmj',
        width: '120',
        label: '建筑面积(㎡)',
      },
      {
        prop: 'fwyt',
        label: '房屋用途',
      },
      {

        label: '登记状态',
        align: 'center',
        fixed: 'right',
        render: (h, scope) => {
          if (scope.row.dyzt != '0' && scope.row.cfzt != '0') {
            return <div>抵押、查封</div>
          }
          if (scope.row.dyzt != '0') {
            return <div>抵押</div>
          }
          if (scope.row.cfzt != '0') {
            return <div>查封</div>
          }
        }
      }
    ]
  }
}
let datas = new data()
export {
  datas
}