Blame view

src/views/ywbl/dbx/dbxdata.js 3.26 KB
1 2 3
/*
 * @Description: 
 * @Autor: renchao
4
 * @LastEditTime: 2023-08-28 15:48:06
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: "业务来源",
33
        minWidth: '100'
任超 committed
34 35 36
      },
      {
        label: "流程状态",
37
        minWidth: '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: "在办环节",
yangwei committed
51 52 53 54
        width: '80',
        render: (h, scope) => {
          if (scope.row.stepnum > 1) {
            return <span><span class="back">退</span>{scope.row.zbhj}</span>
55
          } else {
yangwei committed
56 57 58
            return <span>{scope.row.zbhj}</span>
          }
        }
任超 committed
59 60
      },
      {
liangyifan committed
61 62
        label: '业务号',
        align: 'center',
63
        minWidth: '100',
liangyifan committed
64
        render: (h, scope) => {
任超 committed
65
          return <el-button type="text" onClick={() => { vm.ywhClick(scope.row) }}>{scope.row.ywh}</el-button>
liangyifan committed
66 67 68
        }
      },
      {
任超 committed
69 70
        prop: "sqywmc",
        label: "申请业务名称",
71
        minWidth: '200'
任超 committed
72 73
      },
      {
74 75
        prop: "bdcdyh",
        label: "不动产单元号",
76
        minWidth: '150',
77 78
      },
      {
任超 committed
79
        label: "权利人",
80
        width: '120',
81 82 83 84 85 86 87 88 89
        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>
          )
        }
任超 committed
90 91 92
      },
      {
        label: "义务人",
93
        width: '120',
94 95 96 97 98 99 100 101 102
        render: (h, scope) => {
          return (
            <div>
              <el-tooltip effect="dark" content={scope.row.ywrmc} placement="top" popper-class="tooltip-width ">
                <span class="ellipsis-table"> {scope.row.ywrmc}</span>
              </el-tooltip>
            </div>
          )
        }
任超 committed
103 104 105
      },
      {
        label: "坐落",
106
        minWidth: '150',
107 108 109 110 111 112 113
        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>
          )
        }
任超 committed
114 115 116 117
      },
      {
        prop: "slsj",
        label: "受理时间",
liangyifan committed
118
        sortable: 'custom',
任超 committed
119
        width: '140'
任超 committed
120 121 122 123
      },
      {
        prop: "slry",
        label: "受理人员",
124
        width: '80'
任超 committed
125 126 127
      },
      {
        label: "转入时间",
1  
liangyifan committed
128
        sortable: 'custom',
任超 committed
129
        prop: 'fromstepdate',
130
        width: '140'
131
      }
任超 committed
132 133 134 135 136 137 138 139
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}