lpcxdata.js 1.46 KB
/*
 * @Description: 
 * @Autor: renchao
 * @LastEditTime: 2023-10-19 10:31:31
 */
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: "qymc",
        label: "企业名称",
      },
      {
        prop: "xmmc",
        label: "项目名称",
      },
      {
        prop: "jzwmc",
        label: "建筑物名称",
      },
      {
        prop: "zrzh",
        label: "自然幢号",
      },
      {
        prop: "zl",
        label: "坐落",
      },
      {
        prop: "showFwyt",
        label: "用途",
      },
      {
        prop: "zydmj",
        label: "面积(㎡)",
      },
      {
        prop: "zts",
        label: "总套数",
      },
      {
        prop: "zcs",
        label: "总层数",
      },
      {
        label: '操作',
        width: '80',
        align: 'center',
        render: (h, scope) => {
          return <el-button type="text" icon="el-icon-film" onClick={() => { vm.openlpbClick(scope) }}>楼盘表</el-button>
        }
      }
    ]
  }
}
let datas = new data()
export {
  datas,
  sendThis
}