fwsyq.js 5.55 KB
/*
 * @Description:
 * @Autor: renchao
 * @LastEditTime: 2024-03-25 13:57:19
 */
import filter from '@/utils/filter.js'
let vm = null

const sendThis = (_this) => {
  vm = _this
}
class data extends filter {
  constructor() {
    super()
  }
  zrzcolumns () {
    return [
      {
        label: '序号',
        type: 'index',
        width: '50',
        render: (h, scope) => {
          return (
            <div>
              {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
            </div>
          )
        }
      },
      {
        label: "状态",
        render: (h, scope) => {
          return (
            <div>
              <span v-show={scope.row.qqzt == 1}>已确权</span>
              <span v-show={scope.row.qqzt == 0}>未确权</span>
            </div>
          )
        }
      },
      {
        prop: "tdzh",
        width: '150',
        label: "土地证号",
      },
      {
        width: '120',
        label: "权利类型",
        render: (h, scope) => {
          return (
            <el-tooltip effect="dark" content={scope.row.qllxmc} placement="top" popper-class="tooltip-width">
              <span class="ellipsis-table"> {scope.row.qllxmc}</span>
            </el-tooltip>
          )
        }
      },
      {
        prop: "xmmc",
        label: "项目名称",
      },
      {
        label: "自然幢号",
        width: '90',
        render: (h, scope) => {
          return (
            <el-tooltip effect="dark" content={scope.row.zrzh} placement="top" popper-class="tooltip-width">
              <span class="ellipsis-table"> {scope.row.zrzh}</span>
            </el-tooltip>
          )
        }
      },
      {
        prop: "jzwmc",
        label: "建筑物名称",
        minWidth: '80'
      },
      {
        label: "土地/房屋性质",
        minWidth: '100',
        render: (h, scope) => {
          return (
            <div>
              {(scope.row.showQlxz) + (' / ') + (scope.row.fwxzmc)}
            </div>
          )
        }
      },
      {
        label: "面积",
        render: (h, scope) => {
          return (
            <div>
              {(scope.row.zdmj) + (' / ') + (scope.row.scjzmj)}
            </div>
          )
        }
      },
      {
        label: "土地/房屋用途",
        minWidth: '170',
        render: (h, scope) => {
          return (
            <div>
              {(scope.row.showTdyt) + (' / ') + (scope.row.showFwyt)}
            </div>
          )
        }
      },
      {
        prop: "zcs",
        label: "总层数",
        width: '70',
      },
      {
        prop: "zts",
        label: "总套数",
        width: '70',
      },
      {
        label: "自然幢坐落",
        minWidth: '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>
          )
        }

      },
      {
        label: '操作',
        width: '120',
        align: 'center',
        render: (h, scope) => {
          return (
            <div>
              <el-button type="text" icon="el-icon-film" onClick={(event) => { event.stopPropagation(); vm.handleLpbClick(scope.row) }}>楼盘表</el-button>
            </div>
          )
        }
      }
    ]
  }
  dzcolumns () {
    return [
      {
        type: 'selection',
        label: '全选',
        width: '50'
      },
      {
        label: '序号',
        type: 'index',
        width: '50',
        render: (h, scope) => {
          return (
            <div>
              {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
            </div>
          )
        }
      },
      {
        label: "状态",
        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>
          )
        }
      },
      {
        prop: "tdzh",
        width: '150',
        label: "土地证号",
      },
      {
        prop: "qllxmc",
        width: '120',
        label: "权利类型",
      },
      {
        prop: "bdcdyh",    
        label: "不动产单元号",
      },
      {
        prop: "xmmc",
        label: "项目名称",
      },
      {
        label: "土地/房屋性质",
        render: (h, scope) => {
          return (
            <div>
              {(scope.row.showQlxz) + (' / ') + (scope.row.fwxzmc)}
            </div>
          )
        }
      },
      {
        label: "土地/房屋面积",
        render: (h, scope) => {
          return (
            <div>
              {(scope.row.zdmj) + (' / ') + (scope.row.dzmj)}
            </div>
          )
        }
      },
      {
        label: "土地/房屋用途",
        render: (h, scope) => {
          return (
            <div>
              {(scope.row.showTdyt) + (' / ') + (scope.row.showFwyt)}
            </div>
          )
        }
      },
      {
        prop: "zl",
        label: "多幢坐落",
      },
      {
        label: '操作',
        width: '120',
        align: 'center',
        fixed: 'right',
        render: (h, scope) => {
          return (
            <div>
              <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.dzlist(scope.row) }}>自然幢</el-button>
            </div>
          )
        }
      },
    ]
  }

}
let datas = new data()
export {
  datas,
  sendThis
}