Blame view

src/views/zhcx/jdcx/jdcxdata.js 2.39 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: "在办环节",
42
        minWidth: '100',
任超 committed
43
        render: (h, scope) => {
44 45 46 47 48 49
          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
50
        }
51 52 53
      },
      {
        label: "业务号",
54
        minWidth: '100',
任超 committed
55 56 57
        render: (h, scope) => {
          return (
            <div>
58
              <el-link type="primary" onClick={() => { vm.openDialog(scope.row) }}>{scope.row.ywh}</el-link>
任超 committed
59 60 61
            </div>
          )
        }
62 63 64 65
      },
      {
        prop: "sqywmc",
        label: "申请业务名称",
66
        minWidth: '150',
67 68
      },
      {
69 70
        prop: "bdcdyh",
        label: "不动产单元号",
71
        minWidth: '150',
72 73 74
      },
      {
        prop: "qlrmc",
75
        label: "权利人",
76
        width: '120',
77 78
      },
      {
79
        prop: "ywrmc",
80
        label: "义务人",
81
        width: '120',
82 83
      },
      {
84
        prop: "zl",
85
        label: "坐落",
86 87
        minWidth: '150',
        showOverflowTooltip: true
88
      },    
89 90 91
      {
        prop: "slsj",
        label: "受理时间",
92
        width: '140',
93 94 95
        sortable: 'custom'
      },
      {
96 97 98 99
        prop: "slry",
        label: "受理人员",
      },
      {
100 101 102 103 104
        prop: "jssj",
        label: "结束时间",
        width: '140',
        sortable: 'custom'
      },
105 106 107 108 109 110 111 112
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}