jdcxdata.js 3.11 KB
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: '60',
        render: (h, scope) => {
          return (
            <div>
              {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
            </div>
          )
        }
      },
      {
        prop: "ywlymc",
        label: "业务来源",
        minWidth: '100'
      },
      {
        label: "流程状态",
        width: '90',
        render: (h, scope) => {
          if (scope.row.ajzt == '4') {
            return <div class='prohibit'>不予登记</div>
          }
          if (scope.row.ajzt == '5') {
            return <div class='prohibit'>用户撤回</div>
          }
          if (scope.row.cfgqzt == '1') {
            return <div class='suspend'>查封挂起</div>
          }
          if (scope.row.yygqzt == '1') {
            return <div class='suspend'>异议挂起</div>
          }
          if (scope.row.jssj != null) {
            return <div class='prohibit'>已结束</div>
          } else {
            return <div class='allow'>进行中</div>
          }
        }
      },
      {
        label: "在办环节",
        minWidth: '100',
        render: (h, scope) => {
          if ((scope.row.zbhj != '' && scope.row.zbhj != null) || (scope.row.userName != '' && scope.row.userName != null))
            return (
              <div>
                <span>{scope.row.zbhj}{scope.row.userName}</span>
              </div>
            )
        }
      },
      {
        label: "业务号",
        minWidth: '100',
        render: (h, scope) => {
          return (
            <div>
              <el-link type="primary" onClick={() => { vm.openDialog(scope.row) }}>{scope.row.ywh}</el-link>
            </div>
          )
        }
      },
      {
        prop: "sqywmc",
        label: "申请业务名称",
        minWidth: '150',
      },
      {
        prop: "djqxmc",
        label: "登记情形",
        minWidth: '150',
      },
      {
        prop: "bdcdyh",
        label: "不动产单元号",
        minWidth: '150',
      },
      {
        prop: "qlrmc",
        label: "权利人",
        width: '120',
      },
      {
        prop: "ywrmc",
        label: "义务人",
        width: '120',
      },
      {
        label: "坐落",
        minWidth: '150',
        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>
          )
        }
      },
      {
        prop: "slsj",
        label: "受理时间",
        width: '140',
        sortable: 'custom'
      },
      {
        prop: "slry",
        label: "受理人员",
      },
      {
        prop: "jssj",
        label: "结束时间",
        width: '140',
        sortable: 'custom'
      },
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}