sqcxjlInfodata.js 3.64 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>
          }
        }
      },
      {
        width: '130',
        label: '不动产权证号',
        render: (h, scope) => {
          return (
            <el-tooltip effect="dark" content={scope.row.bdcqzh} placement="top" popper-class="tooltip-width ">
              <span class="ellipsis-table"> {scope.row.bdcqzh}</span>
            </el-tooltip>
          )
        }
      },
      {
        prop: 'djsj',
        label: '登记时间',
      },
      {
        prop: 'wqhth',
        label: '合同号',
      },
      {
        prop: 'wqsj',
        label: '网签时间',
      },
      {
        width: '130',
        label: '不动产单元号',
        render: (h, scope) => {
          return (
            <el-tooltip effect="dark" content={scope.row.bdcdyh} placement="top" popper-class="tooltip-width ">
              <span class="ellipsis-table"> {scope.row.bdcdyh}</span>
            </el-tooltip>
          )
        }
      },
      {
        prop: 'gyfs',
        label: '共有方式',
      },
      {
        prop: 'qlrmc',
        label: '权利人',
      },
      {
        prop: 'zjhm',
        label: '证件号',
      },
      {
        label: '房地坐落',
        width: '100',
        render: (h, scope) => {
          return (
            <el-tooltip effect="dark" content={scope.row.zl} placement="top" popper-class="tooltip-width ">
              <span class="ellipsis-table"> {scope.row.zl}</span>
            </el-tooltip>
          )
        }
      },
      {
        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: '联系电话',
      },
    ]
  }
  dyjlcolumns () {
    return [
      {
        label: '打印类型',
        render: (h, scope) => {
          switch (scope.row.dylx) {
            case '1':
              return <div>房产结果</div>
            case '2':
              return <div>无房证明</div>
          }
        }
      },
      {
        prop: 'dyr',
        label: '打印人员',
      },
      {
        prop: 'dysj',
        label: '打印时间',
      }
    ]
  }
}



let datas = new data()

export {
  datas,
  sendThis
}