jtfcdata.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',
        render: (h, scope) => {
          return (
            <div>
              {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
            </div>
          )
        }
      },
      {
        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: "申请人",
      },
      {
        prop: "ycyrgxmc",
        label: "与产权人的关系",
      },
      {
        prop: "qlrxm",
        label: "权利人",
      },
      {
        prop: "cxyt",
        label: "查询用途"
      },
      {
        label: "操作",
        width: 80,
        render: (h, scope) => {
          return <el-button type="text" icon='el-icon-view' onClick={() => { vm.handleViewClick(scope) }}>查看</el-button>
        }
      }
    ]
  }

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