zslqcx.js 1.8 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) => {
          return (
            <div>
              {
                scope.row.enabled == '1' ?
                  <div class='allow'>已领取</div> :
                  <div class='prohibit'>未领取</div>
              }
            </div>
          )
        }
      },
      {
        label: "证书类容",
        render: (h, scope) => {
          return (
            <div>
              <el-link type="primary" onClick={() => { vm.openDialog(scope) }}>查看</el-link>
            </div>
          )
        }
      },
      {
        label: "权利类型",
        render: (h, scope) => {
          return (
            <div>
              {this.dicStatus(scope.row.qllx, 'A8')}
            </div>
          )
        }
      },
      {
        prop: "bdcqzh",
        label: "不动产权证号",
      },
      {
        prop: "ysxlh",
        label: "印刷序列号",
      },
      {
        prop: "lqr",
        label: "领取人",
      },
      {
        prop: "lqsj",
        label: "领取时间",
      },
      {
        prop: "ywh",
        label: "业务号"
      },
      {
        prop: "bdcdyh",
        label: "不动产单元号"
      },
      {
        prop: "zl",
        label: "坐落"
      },
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}