sqcxjldata.js 1.54 KB
import filter from '@/utils/filter.js'
let vm = null

const sendThis = (_this) => {
  vm = _this
}
class data extends filter {
  constructor() {
    super()
  }
  columns () {
    return [
      {
        label: '序号',
        type: 'index',
        width: '50'
      },
      {
        label: "查询类型",
        render: (h, scope) => {
          switch (scope.row.cxlx) {
            case '1':
              return <div>家庭房产</div>
            case '2':
              return <div>登记簿</div>
          }
        }
      },
      {
        label: "查询编号",
        prop: "cxbh"
      },
      {
        prop: "cxsj",
        label: "查询时间",
      },
      {
        prop: "cxr",
        label: "受理人员",
      },
      {
        prop: "sqrxm",
        label: "申请人",
      },
      {
        label: "与权利人的关系",
        render: (h, scope) => {
          switch (scope.row.ycyrgx) {
            case '1':
              return <div>权利人</div>
            case '2':
              return <div>产权利害关系人</div>
            case '3':
              return <div>委托人</div>
          }
        }
      },
      {
        prop: "qlrxm",
        label: "权利人",
      },
      {
        prop: "cxyt",
        label: "查询用途",
      },
      {
        label: "查询编号",
        render: (h, scope) => {
          return <el-button type="text" icon='el-icon-view' onClick={() => { vm.handleView() }}>查看</el-button>
        }
      },
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}