Blame view

src/views/sqcx/dydjb/dydjbdata.js 1.51 KB
jiaozeping@pashanhoo.com committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
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'
      },
      {
liangyifan committed
19
        label: "查询类型",
20 21 22 23 24 25 26 27
        render: (h, scope) => {
          switch (scope.row.cxlx) {
            case '1':
              return <div>家庭房产</div>
            case '2':
              return <div>登记簿</div>
          }
        }
jiaozeping@pashanhoo.com committed
28 29
      },
      {
liangyifan committed
30 31
        prop: "cxbh",
        label: "查询编号",
jiaozeping@pashanhoo.com committed
32 33
      },
      {
liangyifan committed
34 35
        prop: "cxsj",
        label: "查询时间",
jiaozeping@pashanhoo.com committed
36 37
      },
      {
38
        prop: "cxr",
liangyifan committed
39
        label: "受理人员",
jiaozeping@pashanhoo.com committed
40 41
      },
      {
42
        prop: "sqrxm",
liangyifan committed
43
        label: "申请人",
jiaozeping@pashanhoo.com committed
44 45
      },
      {
liangyifan committed
46
        label: "与权利人的关系",
47 48 49 50 51 52 53 54 55 56
        render: (h, scope) => {
          switch (scope.row.ycyrgx) {
            case '1':
              return <div>权利人</div>
            case '2':
              return <div>产权利害关系人</div>
            case '3':
              return <div>委托人</div>
          }
        }
jiaozeping@pashanhoo.com committed
57 58
      },
      {
59
        prop: "qlrxm",
liangyifan committed
60
        label: "权利人",
jiaozeping@pashanhoo.com committed
61
      },
62 63
      {
        label: "操作",
任超 committed
64
        width: 100,
65 66 67 68 69
        render: (h, scope) => {
          return <el-button type="text" icon='el-icon-view' onClick={() => { vm.dydjbClick(scope) }}>打印登记薄</el-button>
        }
      },

jiaozeping@pashanhoo.com committed
70 71 72 73 74 75 76 77 78 79
    ]
  }


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