Blame view

src/views/ywbl/ybx/ybxdata.js 3.18 KB
1 2 3
/*
 * @Description: 
 * @Autor: renchao
4
 * @LastEditTime: 2023-10-11 10:52:08
5
 */
jiaozeping@pashanhoo.com committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
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',
任超 committed
21 22 23 24 25 26 27 28
        width: '50',
        render: (h, scope) => {
          return (
            <div>
              {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
            </div>
          )
        }
jiaozeping@pashanhoo.com committed
29 30
      },
      {
蔡俊立 committed
31
        prop: "ywlymc",
jiaozeping@pashanhoo.com committed
32
        label: "业务来源",
33
        width: '100',
jiaozeping@pashanhoo.com committed
34 35 36
      },
      {
        label: "流程状态",
蔡俊立 committed
37
        width: '80',
蔡俊立 committed
38
        render: (h, scope) => {
39
          if (scope.row.cfgqzt == '1') {
蔡俊立 committed
40 41
            return <div class='suspend'>查封挂起</div>
          }
42
          if (scope.row.yygqzt == '1') {
蔡俊立 committed
43 44
            return <div class='suspend'>异议挂起</div>
          }
蔡俊立 committed
45 46
          switch (scope.row.lczt) {
            case '1':
蔡俊立 committed
47
              return <div class='allow'>进行中</div>
蔡俊立 committed
48
            case '2':
蔡俊立 committed
49
              return <div class='prohibit'>已结束</div>
蔡俊立 committed
50 51 52 53
            case '3':
              return <span>进行中</span>
          }
        }
jiaozeping@pashanhoo.com committed
54 55 56
      },
      {
        label: "业务号",
57
        width: '100',
58
        render: (h, scope) => {
59
          return <el-link type="primary" onClick={() => { vm.ywhClick(scope.row) }}>{this.joinItem(scope.row.ywh)}</el-link>
60
        }
jiaozeping@pashanhoo.com committed
61 62 63 64
      },
      {
        prop: "sqywmc",
        label: "申请业务名称",
65
        width: '200'
jiaozeping@pashanhoo.com committed
66 67
      },
      {
68 69 70 71 72
        prop: "djqxmc",
        label: "登记情形",
        width: '200'
      },
      {
jiaozeping@pashanhoo.com committed
73
        label: "权利人",
74 75 76 77
        width: '120',
        render: (h, scope) => {
          return (
            <div>
78 79
              <el-tooltip effect="dark" content={this.joinItem(scope.row.qlrmc)} placement="top" popper-class="tooltip-width ">
                <span class="ellipsis-table"> {this.joinItem(scope.row.qlrmc)}</span>
80 81 82 83
              </el-tooltip>
            </div>
          )
        }
jiaozeping@pashanhoo.com committed
84 85 86
      },
      {
        label: "义务人",
87 88 89 90
        width: '120',
        render: (h, scope) => {
          return (
            <div>
91 92
              <el-tooltip effect="dark" content={this.joinItem(scope.row.ywrmc)} placement="top" popper-class="tooltip-width">
                <span class="ellipsis-table"> {this.joinItem(scope.row.ywrmc)}</span>
93 94 95 96
              </el-tooltip>
            </div>
          )
        }
jiaozeping@pashanhoo.com committed
97 98 99
      },
      {
        label: "坐落",
100
        minWidth: '150',
101 102 103 104 105 106 107
        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>
          )
        }
jiaozeping@pashanhoo.com committed
108 109 110 111
      },
      {
        prop: "slsj",
        label: "受理时间",
任超 committed
112
        width: '140',
jiaozeping@pashanhoo.com committed
113 114 115 116 117
        sortable: 'custom'
      },
      {
        prop: "slry",
        label: "受理人员",
118
        width: '80'
jiaozeping@pashanhoo.com committed
119 120
      },
      {
liangyifan committed
121
        label: "转出时间",
任超 committed
122
        width: '140',
蔡俊立 committed
123
        sortable: 'custom',
任超 committed
124
        prop: 'outstepdate'
jiaozeping@pashanhoo.com committed
125 126 127 128 129 130 131 132 133
      }
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}