Blame view

src/views/zhcx/jdcx/jdcxdata.js 1.88 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
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',
        width: '50'
      },
      {
liangyifan committed
19
        prop: "ywlymc",
20 21 22 23
        label: "业务来源",
      },
      {
        label: "流程状态",
任超 committed
24
        render: (h, scope) => {
liangyifan committed
25 26 27 28
          switch (scope.row.lczt) {
            case '1':
              return <span>进行中</span>
            case '2':
1  
liangyifan committed
29
              return <span>已结束</span>
liangyifan committed
30 31 32
            case '3':
              return <span>进行中</span>
          }
任超 committed
33
        }
34 35
      },
      {
任超 committed
36 37 38 39
        label: "办理状态",
        render: (h, scope) => {
          return (
            <div>
liangyifan committed
40
              <span>{scope.row.blStatus}</span>
任超 committed
41 42 43
            </div>
          )
        }
44 45 46
      },
      {
        label: "业务号",
任超 committed
47 48 49
        render: (h, scope) => {
          return (
            <div>
50
              <el-link type="primary" onClick={() => { vm.openDialog(scope.row) }}>{scope.row.ywh}</el-link>
任超 committed
51 52 53
            </div>
          )
        }
54 55 56 57 58 59 60
      },
      {
        prop: "sqywmc",
        label: "申请业务名称",
      },
      {
        label: "权利人",
蔡俊立 committed
61 62 63 64 65 66 67
        render: (h, scope) => {
          return (
            <div>
              <span>{scope.row.qlrmcStr}</span>
            </div>
          )
        }
68 69 70
      },
      {
        label: "义务人",
蔡俊立 committed
71 72 73 74 75 76 77
        render: (h, scope) => {
          return (
            <div>
              <span>{scope.row.ywrmcStr}</span>
            </div>
          )
        }
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
      },
      {
        prop: "zl",
        label: "坐落",
      },
      {
        prop: "slsj",
        label: "受理时间",
        sortable: 'custom'
      },
      {
        prop: "slry",
        label: "受理人员",
      }
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}