Blame view

src/views/ywbl/ywsq/javascript/diyaq.js 1.52 KB
jiaozeping@pashanhoo.com committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
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',
任超 committed
20 21 22 23 24 25 26 27
        width: '50',
        render: (h, scope) => {
          return (
            <div>
              {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
            </div>
          )
        }
jiaozeping@pashanhoo.com committed
28 29 30 31 32 33
      },
      {
        prop: "status",
        label: "状态",
      },
      {
蔡俊立 committed
34
        prop: "bdcqzh",
田浩浩 committed
35
        label: "不动产证明号",
jiaozeping@pashanhoo.com committed
36 37 38 39 40 41
      },
      {
        prop: "bdcdyh",
        label: "不动产单元号",
      },
      {
田浩浩 committed
42 43
        prop: "dyfs",
        label: "抵押方式",
蔡俊立 committed
44 45 46 47 48 49 50 51
        render: (h, scope) => {
          switch (scope.row.dyfs) {
            case '1':
              return <span>一般抵押</span>
            case '2':
              return <span>最高额抵押</span>
          }
        }
田浩浩 committed
52 53
      },
      {
蔡俊立 committed
54
        prop: "qlrmc",
田浩浩 committed
55
        label: "抵押权人",
jiaozeping@pashanhoo.com committed
56 57
      },
      {
蔡俊立 committed
58
        prop: "ywrmc",
田浩浩 committed
59
        label: "抵押人",
jiaozeping@pashanhoo.com committed
60 61
      },
      {
田浩浩 committed
62 63
        prop: "dyje",
        label: "抵押金额(万元)",
jiaozeping@pashanhoo.com committed
64 65
      },
      {
田浩浩 committed
66 67 68 69
        prop: "dymj",
        label: "抵押面积",
      },
      {
蔡俊立 committed
70
        prop: "dyqx",
田浩浩 committed
71
        label: "债务履行期限",
jiaozeping@pashanhoo.com committed
72 73 74 75
      },
      {
        prop: "zl",
        label: "坐落",
田浩浩 committed
76
      }
jiaozeping@pashanhoo.com committed
77 78 79 80 81 82 83 84
    ]
  }


}
let datas = new data()
export {
  datas,
任超 committed
85
  sendThis
jiaozeping@pashanhoo.com committed
86
}