index.js 1.88 KB
/*
 * @Description:
 * @Autor: renchao
 * @LastEditTime: 2023-05-11 10:02:44
 */
import filter from '@/utils/filter.js'
class data extends filter {
  constructor() {
    super()
  }
  columns () {
    return [
      // {
      //   prop: 'sjlx',
      //   label: '数据类型',
      //   width: 90,
      //   render: (h, scope) => {
      //     return (
      //       <div>
      //         <span v-show={scope.row.sjlx == 1}>ftp上传</span>
      //         <span v-show={scope.row.sjlx == 2}>业务库抽取</span>
      //         <span v-show={scope.row.sjlx == 3}>存量数据</span>
      //       </div>
      //     )
      //   }
      // },
      {
        prop: "djlx",
        label: "登记类型",
        minWidth: 200,
      },
      {
        prop: "bdcdyh",
        label: "不动产单元号",
        width: 240
      },
      {
        prop: 'qlr',
        label: '权利人',
        width: 190
      },
      {
        prop: 'qlrzjh',
        label: '证件号',
        width: 80
      },
      {
        prop: "qzhm",
        label: "权证号码",
        width: 190,
      },
      {
        prop: "ywr",
        label: "义务人",
        width: 190,
      },
      {
        prop: "zl",
        label: "坐落",
        minWidth: 150,
      },
     
     
      {
        prop: "djsj",
        label: "登记时间",
        minWidth: 130,
      },
      {
        prop: "gdsj",
        label: "归档时间",
        minWidth: 130,
      },
      {
        prop: "ajh",
        minWidth: 110,
        label: "归档状态",
        render: (h, scope) => {
          if (scope.row.ajh == null) {
            return (
              <div>
                未归档
              </div>
            )
          } else {
            return (
              <div>
                已归档
              </div>
            )
          }

        }
      }
    ]
  }
}
export default new data()