dbxdata.js 3.45 KB
/*
 * @Description: 
 * @Autor: renchao
 * @LastEditTime: 2024-01-26 16:16:51
 */
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: '50',
        render: (h, scope) => {
          return (
            <div>
              {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
            </div>
          )
        }
      },
      {
        prop: "ywlymc",
        label: "业务来源",
        minWidth: '100'
      },
      {
        label: "流程状态",
        minWidth: '80',
        render: (h, scope) => {
          if (scope.row.cfgqzt == '1') {
            return <div class='suspend'>查封挂起</div>
          }
          if (scope.row.yygqzt == '1') {
            return <div class='suspend'>异议挂起</div>
          }
          return <div class='allow'>进行中</div>
        }
      },
      {
        prop: "zbhj",
        label: "在办环节",
        width: '80',
        render: (h, scope) => {
          if (scope.row.stepnum > 1) {
            return <span><span class="back">退</span>{scope.row.zbhj}</span>
          } else {
            return <span>{scope.row.zbhj}</span>
          }
        }
      },
      {
        label: '业务号',
        align: 'center',
        width: '110',
        render: (h, scope) => {
          return (
            <el-link type="primary" onClick={() => { vm.ywhClick(scope.row) }}>{this.joinItem(scope.row.ywh)}</el-link>
          )
        }
      },
      {
        prop: "sqywmc",
        label: "申请业务名称",
        width: '200'
      },
      {
        prop: "djqxmc",
        label: "登记情形",
        width: '200'
      },
      {
        prop: "bdcdyh",
        label: "不动产单元号",
        minWidth: '150',
      },
      {
        label: "权利人",
        width: '120',
        render: (h, scope) => {
          return (
            <div>
              <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>
              </el-tooltip>
            </div>
          )
        }
      },
      {
        label: "义务人",
        width: '120',
        render: (h, scope) => {
          return (
            <div>
              <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>
              </el-tooltip>
            </div>
          )
        }
      },
      {
        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: "受理时间",
        sortable: 'custom',
        width: '140'
      },
      {
        prop: "slry",
        label: "受理人员",
        width: '80'
      },
      {
        label: "转入时间",
        sortable: 'custom',
        prop: 'fromstepdate',
        width: '140'
      }
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}