dydjbdata.js 1.5 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>
          }
        }
      },
      {
        prop: "cxbh",
        label: "查询编号",
      },
      {
        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: "权利人",
      },
      {
        label: "操作",
        width: 100,
        render: (h, scope) => {
          return <el-button type="text" icon='el-icon-view' onClick={() => { vm.dydjbClick(scope) }}>查看</el-button>
        }
      },

    ]
  }


}
let datas = new data()
export {
  datas,
  sendThis
}