Blame view

src/views/zhcx/jdcx/jdcxdata.js 2.37 KB
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()
  }
11
  columns() {
12 13 14 15 16 17 18
    return [
      {
        label: '序号',
        type: 'index',
        width: '50'
      },
      {
liangyifan committed
19
        prop: "ywlymc",
20
        label: "业务来源",
21
        minWidth: '100'
22 23 24
      },
      {
        label: "流程状态",
蔡俊立 committed
25
        width: '80',
任超 committed
26
        render: (h, scope) => {
27
          if (scope.row.cfgqzt == '1') {
蔡俊立 committed
28 29
            return <div class='suspend'>查封挂起</div>
          }
30
          if (scope.row.yygqzt == '1') {
蔡俊立 committed
31 32
            return <div class='suspend'>异议挂起</div>
          }
33 34 35 36
          if (scope.row.jssj != null) {
            return <div class='prohibit'>已结束</div>
          } else {
            return <div class='allow'>进行中</div>
liangyifan committed
37
          }
任超 committed
38
        }
39 40
      },
      {
41
        label: "在办环节",
任超 committed
42
        render: (h, scope) => {
43 44 45 46 47 48
          if ((scope.row.zbhj != '' && scope.row.zbhj != null) || (scope.row.userName != '' && scope.row.userName != null))
            return (
              <div>
                <span>{scope.row.zbhj}{scope.row.userName}</span>
              </div>
            )
任超 committed
49
        }
50 51 52
      },
      {
        label: "业务号",
53
        minWidth: '100',
任超 committed
54 55 56
        render: (h, scope) => {
          return (
            <div>
57
              <el-link type="primary" onClick={() => { vm.openDialog(scope.row) }}>{scope.row.ywh}</el-link>
任超 committed
58 59 60
            </div>
          )
        }
61 62 63 64
      },
      {
        prop: "sqywmc",
        label: "申请业务名称",
65
        minWidth: '150',
66 67
      },
      {
68 69
        prop: "bdcdyh",
        label: "不动产单元号",
70
        minWidth: '150',
71 72 73
      },
      {
        prop: "qlrmc",
74
        label: "权利人",
75
        width: '120',
76 77
      },
      {
78
        prop: "ywrmc",
79
        label: "义务人",
80
        width: '120',
81 82
      },
      {
83
        prop: "zl",
84
        label: "坐落",
85 86
        minWidth: '150',
        showOverflowTooltip: true
87
      },    
88 89 90
      {
        prop: "slsj",
        label: "受理时间",
91
        width: '140',
92 93 94
        sortable: 'custom'
      },
      {
95 96 97 98
        prop: "slry",
        label: "受理人员",
      },
      {
99 100 101 102 103
        prop: "jssj",
        label: "结束时间",
        width: '140',
        sortable: 'custom'
      },
104 105 106 107 108 109 110 111
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}