Blame view

src/views/ywbl/dbx/dbxdata.js 3.45 KB
1 2 3
/*
 * @Description: 
 * @Autor: renchao
4
 * @LastEditTime: 2023-09-25 10:58:15
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) => {
65
          return (
66 67
            <el-link type="primary" onClick={() => { vm.ywhClick(scope.row) }}>{this.joinItem(scope.row.ywh)}</el-link>
          )
liangyifan committed
68 69 70
        }
      },
      {
任超 committed
71 72
        prop: "sqywmc",
        label: "申请业务名称",
73
        width: '200'
任超 committed
74 75
      },
      {
76 77 78 79 80
        prop: "djqxmc",
        label: "登记情形",
        width: '200'
      },
      {
81 82
        prop: "bdcdyh",
        label: "不动产单元号",
83
        minWidth: '150',
84 85
      },
      {
任超 committed
86
        label: "权利人",
87
        width: '120',
88 89 90
        render: (h, scope) => {
          return (
            <div>
91 92
              <el-tooltip effect="dark" content={this.joinItem(scope.row.qlrmc)} placement="top" popper-class="tooltip-width ">
                <span class="ellipsis-table"> {this.joinItem(scope.row.qlrmc)}</span>
93 94 95 96
              </el-tooltip>
            </div>
          )
        }
任超 committed
97 98 99
      },
      {
        label: "义务人",
100
        width: '120',
101 102 103
        render: (h, scope) => {
          return (
            <div>
104 105
              <el-tooltip effect="dark" content={this.joinItem(scope.row.ywrmc)} placement="top" popper-class="tooltip-width ">
                <span class="ellipsis-table"> {this.joinItem(scope.row.ywrmc)}</span>
106 107 108 109
              </el-tooltip>
            </div>
          )
        }
任超 committed
110 111 112
      },
      {
        label: "坐落",
113
        minWidth: '150',
114 115 116 117 118 119 120
        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
121 122 123 124
      },
      {
        prop: "slsj",
        label: "受理时间",
liangyifan committed
125
        sortable: 'custom',
任超 committed
126
        width: '140'
任超 committed
127 128 129 130
      },
      {
        prop: "slry",
        label: "受理人员",
131
        width: '80'
任超 committed
132 133 134
      },
      {
        label: "转入时间",
1  
liangyifan committed
135
        sortable: 'custom',
任超 committed
136
        prop: 'fromstepdate',
137
        width: '140'
138
      }
任超 committed
139 140 141 142 143 144 145 146
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}