Blame view

src/views/ywbl/ybx/ybxdata.js 3.02 KB
1 2 3
/*
 * @Description: 
 * @Autor: renchao
1  
renchao@pashanhoo.com committed
4
 * @LastEditTime: 2023-09-18 11:07:59
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: '90',
58
        render: (h, scope) => {
任超 committed
59
          return <el-button type="text" onClick={() => { vm.ywhClick(scope.row) }}>{scope.row.ywh}</el-button>
60
        }
jiaozeping@pashanhoo.com committed
61 62 63 64
      },
      {
        prop: "sqywmc",
        label: "申请业务名称",
65
        minWidth: '200'
jiaozeping@pashanhoo.com committed
66 67 68
      },
      {
        label: "权利人",
69 70 71 72 73 74 75 76 77 78
        width: '120',
        render: (h, scope) => {
          return (
            <div>
              <el-tooltip effect="dark" content={scope.row.qlrmc} placement="top" popper-class="tooltip-width ">
                <span class="ellipsis-table"> {scope.row.qlrmc}</span>
              </el-tooltip>
            </div>
          )
        }
jiaozeping@pashanhoo.com committed
79 80 81
      },
      {
        label: "义务人",
82 83 84 85
        width: '120',
        render: (h, scope) => {
          return (
            <div>
1  
renchao@pashanhoo.com committed
86
              <el-tooltip effect="dark" content={scope.row.ywrmc} placement="top" popper-class="tooltip-width">
87 88 89 90 91
                <span class="ellipsis-table"> {scope.row.ywrmc}</span>
              </el-tooltip>
            </div>
          )
        }
jiaozeping@pashanhoo.com committed
92 93 94
      },
      {
        label: "坐落",
95
        minWidth: '150',
96 97 98 99 100 101 102
        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
103 104 105 106
      },
      {
        prop: "slsj",
        label: "受理时间",
任超 committed
107
        width: '140',
jiaozeping@pashanhoo.com committed
108 109 110 111 112
        sortable: 'custom'
      },
      {
        prop: "slry",
        label: "受理人员",
113
        width: '80'
jiaozeping@pashanhoo.com committed
114 115
      },
      {
liangyifan committed
116
        label: "转出时间",
任超 committed
117
        width: '140',
蔡俊立 committed
118
        sortable: 'custom',
任超 committed
119
        prop: 'outstepdate'
jiaozeping@pashanhoo.com committed
120 121 122 123 124 125 126 127 128
      }
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}