Blame view

src/views/sqcx/sqcxjl/sqcxjldata.js 1.78 KB
jiaozeping@pashanhoo.com committed
1 2 3 4 5 6 7 8 9 10
import filter from '@/utils/filter.js'
let vm = null

const sendThis = (_this) => {
  vm = _this
}
class data extends filter {
  constructor() {
    super()
  }
田浩浩 committed
11
  columns() {
jiaozeping@pashanhoo.com committed
12 13 14 15 16 17 18
    return [
      {
        label: '序号',
        type: 'index',
        width: '50'
      },
      {
田浩浩 committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
        label: "查询来源",
        render: (h, scope) => {
          switch (scope.row.cxly) {
            case '1':
              return <div>办事大厅</div>
            case '2':
              return <div>自助查询机</div>
            case '3':
              return <div>政务一体化平台</div>
            case '4':
              return <div>互联网</div>
            case '5':
              return <div>微信公众号</div>
          }
        }
      },
      {
任超 committed
36
        label: "查询类型",
37 38 39 40 41
        render: (h, scope) => {
          switch (scope.row.cxlx) {
            case '1':
              return <div>家庭房产</div>
            case '2':
田浩浩 committed
42
              return <div>房屋明细</div>
43 44
          }
        }
jiaozeping@pashanhoo.com committed
45
      },
任超 committed
46
      {
任超 committed
47
        label: "查询编号",
任超 committed
48
        prop: "cxbh"
jiaozeping@pashanhoo.com committed
49 50
      },
      {
任超 committed
51 52
        prop: "cxsj",
        label: "查询时间",
jiaozeping@pashanhoo.com committed
53 54
      },
      {
55
        prop: "cxr",
任超 committed
56
        label: "受理人员",
jiaozeping@pashanhoo.com committed
57 58
      },
      {
59
        prop: "sqrxm",
任超 committed
60
        label: "申请人",
jiaozeping@pashanhoo.com committed
61 62
      },
      {
田浩浩 committed
63
        prop: "ycqrgxmc",
田浩浩 committed
64
        label: "与产权人的关系",
jiaozeping@pashanhoo.com committed
65 66
      },
      {
67
        prop: "qlrxm",
任超 committed
68
        label: "权利人",
jiaozeping@pashanhoo.com committed
69 70
      },
      {
liangyifan committed
71
        prop: "cxyt",
任超 committed
72
        label: "查询用途",
任超 committed
73 74
      },
      {
75
        label: "操作",
任超 committed
76
        width: 80,
任超 committed
77
        render: (h, scope) => {
78
          return <el-button type="text" icon='el-icon-view' onClick={() => { vm.handleViewClick(scope) }}>查看</el-button>
任超 committed
79
        }
任超 committed
80
      }
jiaozeping@pashanhoo.com committed
81 82 83 84 85 86 87 88
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}