Blame view

src/views/zhcx/jdcx/jdcxdata.js 3.11 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
    return [
      {
        label: '序号',
        type: 'index',
16 17 18 19 20 21 22 23
        width: '50',
        render: (h, scope) => {
          return (
            <div>
              {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
            </div>
          )
        }
24 25
      },
      {
liangyifan committed
26
        prop: "ywlymc",
27
        label: "业务来源",
28
        minWidth: '100'
29 30 31
      },
      {
        label: "流程状态",
蔡俊立 committed
32
        width: '80',
任超 committed
33
        render: (h, scope) => {
34 35 36 37 38 39
          if (scope.row.ajzt == '4') {
            return <div class='prohibit'>不予登记</div>
          }
          if (scope.row.ajzt == '5') {
            return <div class='prohibit'>用户撤回</div>
          }
40
          if (scope.row.cfgqzt == '1') {
蔡俊立 committed
41 42
            return <div class='suspend'>查封挂起</div>
          }
43
          if (scope.row.yygqzt == '1') {
蔡俊立 committed
44 45
            return <div class='suspend'>异议挂起</div>
          }
46 47 48 49
          if (scope.row.jssj != null) {
            return <div class='prohibit'>已结束</div>
          } else {
            return <div class='allow'>进行中</div>
liangyifan committed
50
          }
任超 committed
51
        }
52 53
      },
      {
54
        label: "在办环节",
55
        minWidth: '100',
任超 committed
56
        render: (h, scope) => {
57 58 59 60 61 62
          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
63
        }
64 65 66
      },
      {
        label: "业务号",
67
        minWidth: '100',
任超 committed
68 69 70
        render: (h, scope) => {
          return (
            <div>
71
              <el-link type="primary" onClick={() => { vm.openDialog(scope.row) }}>{scope.row.ywh}</el-link>
任超 committed
72 73 74
            </div>
          )
        }
75 76 77 78
      },
      {
        prop: "sqywmc",
        label: "申请业务名称",
79
        minWidth: '150',
80 81 82 83 84
      },
      {
        prop: "djqxmc",
        label: "登记情形",
        minWidth: '150',
85 86
      },
      {
87 88
        prop: "bdcdyh",
        label: "不动产单元号",
89
        minWidth: '150',
90 91 92
      },
      {
        prop: "qlrmc",
93
        label: "权利人",
94
        width: '120',
95 96
      },
      {
97
        prop: "ywrmc",
98
        label: "义务人",
99
        width: '120',
100 101 102
      },
      {
        label: "坐落",
103
        minWidth: '150',
104 105 106 107 108 109 110 111
        render: (h, scope) => {
          return (
            <el-tooltip effect="dark" content={scope.row.zl} placement="top" popper-class="tooltip-width ">
              <span class="ellipsis-table"> {scope.row.zl}</span>
            </el-tooltip>
          )
        }
      },
112 113 114
      {
        prop: "slsj",
        label: "受理时间",
115
        width: '140',
116 117 118
        sortable: 'custom'
      },
      {
119 120 121 122
        prop: "slry",
        label: "受理人员",
      },
      {
123 124 125 126 127
        prop: "jssj",
        label: "结束时间",
        width: '140',
        sortable: 'custom'
      },
128 129 130 131 132 133 134 135
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}