diyaq.js 1.52 KB
import filter from '@/utils/filter.js'
let vm = null

const sendThis = (_this) => {
  vm = _this
}
class data extends filter {
  constructor() {
    super()
  }
  columns () {
    return [
      {
        type: 'selection',
        label: '全选'
      },
      {
        label: '序号',
        type: 'index',
        width: '50',
        render: (h, scope) => {
          return (
            <div>
              {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
            </div>
          )
        }
      },
      {
        prop: "status",
        label: "状态",
      },
      {
        prop: "bdcqzh",
        label: "不动产证明号",
      },
      {
        prop: "bdcdyh",
        label: "不动产单元号",
      },
      {
        prop: "dyfs",
        label: "抵押方式",
        render: (h, scope) => {
          switch (scope.row.dyfs) {
            case '1':
              return <span>一般抵押</span>
            case '2':
              return <span>最高额抵押</span>
          }
        }
      },
      {
        prop: "qlrmc",
        label: "抵押权人",
      },
      {
        prop: "ywrmc",
        label: "抵押人",
      },
      {
        prop: "dyje",
        label: "抵押金额(万元)",
      },
      {
        prop: "dymj",
        label: "抵押面积",
      },
      {
        prop: "dyqx",
        label: "债务履行期限",
      },
      {
        prop: "zl",
        label: "坐落",
      }
    ]
  }


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