zslqcx.js 1.96 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: "领取状态",
        width: '80',
        render: (h, scope) => {
          return (
            <div>
              {
                scope.row.bsmFz ?
                  <div class='allow'>已领取</div> :
                  <div class='prohibit'>未领取</div>
              }
            </div>
          )
        }
      },
      {
        prop: "lzrxm",
        label: "领取人",
        width: '100'
      },
      {
        prop: "fzsj",
        label: "领取时间",
        width: '140'
      },
      {
        prop: "ywh",
        label: "业务号",
        width: '100'
      },

      {
        prop: "ysxlh",
        label: "印刷序列号",
        width: '100'
      },
      {
        label: "权利类型",
        prop: "qllx",
      },
      {
        prop: "bdcqzh",
        label: "不动产权证号",
        minWidth: '120'
      },
      {
        prop: "qlr",
        label: "权利人",
        minWidth: '100'
      },
      {
        prop: "ywr",
        label: "义务人",
      },

      {
        prop: "bdcdyh",
        label: "不动产单元号",
        minWidth: '110'
      },
      {
        prop: "zl",
        label: "坐落"
      },
      {
        label: "证书内容",
        width: '80',
        render: (h, scope) => {
          return (
            <el-button type="text" icon="el-icon-view" onClick={() => { vm.openDialog(scope.row) }}>查看</el-button>
          )
        }
      },
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}