Blame view

src/views/zhcx/jdcx/jdcxdata.js 2.16 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
        width: '80',
任超 committed
25
        render: (h, scope) => {
蔡俊立 committed
26 27 28 29 30 31
          if(scope.row.cfgqzt == '1'){
            return <div class='suspend'>查封挂起</div>
          }
          if(scope.row.yygqzt == '1'){
            return <div class='suspend'>异议挂起</div>
          }
liangyifan committed
32 33
          switch (scope.row.lczt) {
            case '1':
蔡俊立 committed
34
              return <div class='allow'>进行中</div>
liangyifan committed
35
            case '2':
蔡俊立 committed
36
              return <div class='prohibit'>已结束</div>
liangyifan committed
37
            case '3':
蔡俊立 committed
38
              return <div class='allow'>进行中</div>
liangyifan committed
39
          }
任超 committed
40
        }
41 42
      },
      {
任超 committed
43 44 45 46
        label: "办理状态",
        render: (h, scope) => {
          return (
            <div>
liangyifan committed
47
              <span>{scope.row.blStatus}</span>
任超 committed
48 49 50
            </div>
          )
        }
51 52 53
      },
      {
        label: "业务号",
任超 committed
54 55 56
        render: (h, scope) => {
          return (
            <div>
57
              <el-link type="primary" onClick={() => { vm.openDialog(scope.row) }}>{scope.row.ywh}</el-link>
任超 committed
58 59 60
            </div>
          )
        }
61 62 63 64 65 66 67
      },
      {
        prop: "sqywmc",
        label: "申请业务名称",
      },
      {
        label: "权利人",
蔡俊立 committed
68 69 70 71 72 73 74
        render: (h, scope) => {
          return (
            <div>
              <span>{scope.row.qlrmcStr}</span>
            </div>
          )
        }
75 76 77
      },
      {
        label: "义务人",
蔡俊立 committed
78 79 80 81 82 83 84
        render: (h, scope) => {
          return (
            <div>
              <span>{scope.row.ywrmcStr}</span>
            </div>
          )
        }
85 86
      },
      {
蔡俊立 committed
87
        prop: "zlStr",
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
        label: "坐落",
      },
      {
        prop: "slsj",
        label: "受理时间",
        sortable: 'custom'
      },
      {
        prop: "slry",
        label: "受理人员",
      }
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}