Blame view

src/views/ywbl/dbx/dbxdata.js 2.76 KB
1 2 3
/*
 * @Description: 
 * @Autor: renchao
4
 * @LastEditTime: 2023-05-24 15:06:24
5
 */
任超 committed
6 7 8 9 10 11 12 13 14 15
import filter from '@/utils/filter.js'
let vm = null

const sendThis = (_this) => {
  vm = _this
}
class data extends filter {
  constructor() {
    super()
  }
16
  columns () {
任超 committed
17 18 19 20
    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>
          )
        }
任超 committed
29 30
      },
      {
1  
liangyifan committed
31
        prop: "ywlymc",
任超 committed
32
        label: "业务来源",
任超 committed
33
        width: '100'
任超 committed
34 35 36
      },
      {
        label: "流程状态",
任超 committed
37
        width: '80',
liangyifan committed
38
        render: (h, scope) => {
xiaomiao committed
39
          if (scope.row.cfgqzt == '1') {
蔡俊立 committed
40 41
            return <div class='suspend'>查封挂起</div>
          }
xiaomiao committed
42
          if (scope.row.yygqzt == '1') {
蔡俊立 committed
43 44
            return <div class='suspend'>异议挂起</div>
          }
45 46 47 48 49 50 51 52 53
          return <div class='allow'>进行中</div>
          // switch (scope.row.lczt) {
          //   case '1':
          //     return <div class='allow'>进行中</div>
          //   case '2':
          //     return <div class='prohibit'>已结束</div>
          //   case '3':
          //     return <div class='allow'>进行中</div>
          // }
liangyifan committed
54
        }
任超 committed
55 56 57 58
      },
      {
        prop: "zbhj",
        label: "在办环节",
1  
jiaozeping@pashanhoo.com committed
59
        width: '80'
任超 committed
60 61
      },
      {
liangyifan committed
62 63
        label: '业务号',
        align: 'center',
任超 committed
64
        width: '100',
liangyifan committed
65
        render: (h, scope) => {
任超 committed
66
          return <el-button type="text" onClick={() => { vm.ywhClick(scope.row) }}>{scope.row.ywh}</el-button>
liangyifan committed
67 68 69
        }
      },
      {
任超 committed
70 71
        prop: "sqywmc",
        label: "申请业务名称",
任超 committed
72
        width: '220'
任超 committed
73 74
      },
      {
75 76
        prop: "bdcdyh",
        label: "不动产单元号",
77
        width: '170',
78 79 80
      },
      {
        prop: "qlrmc",
任超 committed
81
        label: "权利人",
82
        width: '120',
任超 committed
83 84
      },
      {
85
        prop: "ywrmc",
任超 committed
86
        label: "义务人",
87
        width: '120',
任超 committed
88 89 90 91
      },
      {
        prop: "zl",
        label: "坐落",
92
        minWidth: '130',
93
        showOverflowTooltip: true
任超 committed
94 95 96 97
      },
      {
        prop: "slsj",
        label: "受理时间",
liangyifan committed
98
        sortable: 'custom',
任超 committed
99
        width: '140'
任超 committed
100 101 102 103
      },
      {
        prop: "slry",
        label: "受理人员",
任超 committed
104
        width: '80'
任超 committed
105 106 107
      },
      {
        label: "转入时间",
1  
liangyifan committed
108
        sortable: 'custom',
任超 committed
109
        prop: 'fromstepdate',
110
        width: '140'
任超 committed
111
      },
112 113 114 115 116 117 118
      // {
      //   label: '操作',
      //   width: '80',
      //   render: (h, scope) => {
      //     return <el-button type="text" icon="el-icon-delete" onClick={() => { vm.del(scope.row) }}>删除</el-button>
      //   }
      // }
任超 committed
119 120 121 122 123 124 125 126
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}