Blame view

src/views/ywbl/dbx/dbxdata.js 2.52 KB
1 2 3
/*
 * @Description: 
 * @Autor: renchao
4
 * @LastEditTime: 2023-08-08 14:32:47
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
          return <div class='allow'>进行中</div>
liangyifan committed
46
        }
任超 committed
47 48 49 50
      },
      {
        prop: "zbhj",
        label: "在办环节",
1  
jiaozeping@pashanhoo.com committed
51
        width: '80'
任超 committed
52 53
      },
      {
liangyifan committed
54 55
        label: '业务号',
        align: 'center',
任超 committed
56
        width: '100',
liangyifan committed
57
        render: (h, scope) => {
任超 committed
58
          return <el-button type="text" onClick={() => { vm.ywhClick(scope.row) }}>{scope.row.ywh}</el-button>
liangyifan committed
59 60 61
        }
      },
      {
任超 committed
62 63
        prop: "sqywmc",
        label: "申请业务名称",
任超 committed
64
        width: '220'
任超 committed
65 66
      },
      {
67 68
        prop: "bdcdyh",
        label: "不动产单元号",
69
        width: '170',
70 71 72
      },
      {
        prop: "qlrmc",
任超 committed
73
        label: "权利人",
74
        width: '120',
75
        showOverflowTooltip: true
任超 committed
76 77
      },
      {
78
        prop: "ywrmc",
任超 committed
79
        label: "义务人",
80
        width: '120',
81
        showOverflowTooltip: true
任超 committed
82 83 84 85
      },
      {
        prop: "zl",
        label: "坐落",
86
        minWidth: '130',
87
        showOverflowTooltip: true
任超 committed
88 89 90 91
      },
      {
        prop: "slsj",
        label: "受理时间",
liangyifan committed
92
        sortable: 'custom',
任超 committed
93
        width: '140'
任超 committed
94 95 96 97
      },
      {
        prop: "slry",
        label: "受理人员",
任超 committed
98
        width: '80'
任超 committed
99 100 101
      },
      {
        label: "转入时间",
1  
liangyifan committed
102
        sortable: 'custom',
任超 committed
103
        prop: 'fromstepdate',
104
        width: '140'
任超 committed
105
      },
106 107 108 109 110 111 112
      // {
      //   label: '操作',
      //   width: '80',
      //   render: (h, scope) => {
      //     return <el-button type="text" icon="el-icon-delete" onClick={() => { vm.del(scope.row) }}>删除</el-button>
      //   }
      // }
任超 committed
113 114 115 116 117 118 119 120
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}