selectFwbjDybgSplitMerge.js 3.69 KB
/*
 * @Description:
 * @Autor: renchao
 * @LastEditTime: 2023-09-07 09:50:26
 */
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: "status",
        label: "状态",
        minWidth: '120',
        render: (h, scope) => {
          return (
            <div>
              <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
              <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
            </div>
          )
        }
      },
      {
        label: "不动产证明号",
        width: '150',
        render: (h, scope) => {
          return (
            <el-tooltip effect="dark" content={scope.row.bdcqzh} placement="top" popper-class="tooltip-width">
              <span class="ellipsis-table"> {scope.row.bdcqzh}</span>
            </el-tooltip>
          )
        }
      },
      {
        prop: "bdcdyh",
        label: "不动产单元号",
        minWidth: '150'
      },
      {
        prop: "dyfs",
        label: "抵押方式",
        render: (h, scope) => {
          switch (scope.row.dyfs) {
            case '1':
              return <span>一般抵押</span>
            case '2':
              return <span>最高额抵押</span>
          }
        }
      },
      {
        label: "抵押权人",
        minWidth: '130',
        render: (h, scope) => {
          return (
            <el-tooltip effect="dark" content={scope.row.qlrmc} placement="top" popper-class="tooltip-width ">
              <span class="ellipsis-table"> {scope.row.qlrmc}</span>
            </el-tooltip>
          )
        }
      },
      {
        label: "抵押权人证件号",
        minWidth: '130',
        render: (h, scope) => {
          return (
            <el-tooltip effect="dark" content={scope.row.qlrzjhm} placement="top" popper-class="tooltip-width ">
              <span class="ellipsis-table"> {scope.row.qlrzjhm}</span>
            </el-tooltip>
          )
        }
      },
      {
        prop: "ywrmc",
        label: "抵押人",
      },
      {
        label: "抵押人证件号",
        minWidth: '130',
        render: (h, scope) => {
          return (
            <el-tooltip effect="dark" content={scope.row.ywrzjhm} placement="top" popper-class="tooltip-width ">
              <span class="ellipsis-table"> {scope.row.ywrzjhm}</span>
            </el-tooltip>
          )
        }
      },
      {
        prop: "dyje",
        label: "抵押金额(万元)",
      },
      {
        prop: "dymj",
        label: "抵押面积",
      },
      {
        prop: "dyqx",
        label: "债务履行期限",
      },
      {
        label: "坐落",
        minWidth: '130',
        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>
          )
        }
      },
      {
        label: '操作',
        width: '100',
        render: (h, scope) => {
          return (
            <div>
              <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openDialog(scope.row) }}>登记薄</el-button>
            </div>
          )
        }
      }
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}